[MCA] Refactor the logic that computes the critical memory dependency info. NFCI
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Sun, 26 May 2019 18:41:35 +0000 (18:41 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Sun, 26 May 2019 18:41:35 +0000 (18:41 +0000)
commita549dd25607d2c4bf2d3d15576595e0c017b385e
tree3f7cc9ec083d9b8bd2541f6a7e16f6685162bebd
parent343578759e20958b9c41ab9dedc8b4719e90fdda
[MCA] Refactor the logic that computes the critical memory dependency info. NFCI

CriticalRegDep has been renamed CriticalDependency, and it is now used by class
Instruction to store information about the critical register dependency and the
critical memory dependency. No functional change intendend.

llvm-svn: 361737
llvm/include/llvm/MCA/Instruction.h
llvm/lib/MCA/HardwareUnits/Scheduler.cpp
llvm/lib/MCA/Instruction.cpp
llvm/lib/MCA/Stages/DispatchStage.cpp