mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove the TargetMachine forwards for TargetSubtargetInfo based
information and update all callers. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -111,18 +111,13 @@ bool AggressiveAntiDepState::IsLive(unsigned Reg)
|
||||
return((KillIndices[Reg] != ~0u) && (DefIndices[Reg] == ~0u));
|
||||
}
|
||||
|
||||
|
||||
|
||||
AggressiveAntiDepBreaker::
|
||||
AggressiveAntiDepBreaker(MachineFunction& MFi,
|
||||
const RegisterClassInfo &RCI,
|
||||
TargetSubtargetInfo::RegClassVector& CriticalPathRCs) :
|
||||
AntiDepBreaker(), MF(MFi),
|
||||
MRI(MF.getRegInfo()),
|
||||
TII(MF.getTarget().getInstrInfo()),
|
||||
TRI(MF.getTarget().getRegisterInfo()),
|
||||
RegClassInfo(RCI),
|
||||
State(nullptr) {
|
||||
AggressiveAntiDepBreaker::AggressiveAntiDepBreaker(
|
||||
MachineFunction &MFi, const RegisterClassInfo &RCI,
|
||||
TargetSubtargetInfo::RegClassVector &CriticalPathRCs)
|
||||
: AntiDepBreaker(), MF(MFi), MRI(MF.getRegInfo()),
|
||||
TII(MF.getTarget().getSubtargetImpl()->getInstrInfo()),
|
||||
TRI(MF.getTarget().getSubtargetImpl()->getRegisterInfo()),
|
||||
RegClassInfo(RCI), State(nullptr) {
|
||||
/* Collect a bitset of all registers that are only broken if they
|
||||
are on the critical path. */
|
||||
for (unsigned i = 0, e = CriticalPathRCs.size(); i < e; ++i) {
|
||||
|
Reference in New Issue
Block a user