[MCA] Add the ability to compute critical register dependency of an instruction.
This patch adds the methods getCriticalRegDep() and computeCriticalRegDep() to
The goal is to allow users to obtain information about the critical register
dependency that most affects the latency of an instruction.
These methods are currently unused. However, the long term plan is to use them
in order to allow the computation of a critical-path as part of the bottleneck
analysis. So, this is yet another step towards fixing PR37494.