Lines Matching refs:TRI
45 const TargetRegisterInfo *TRI) { in dumpRegSetPressure() argument
49 dbgs() << TRI->getRegPressureSetName(i) << "=" << SetPressure[i] << '\n'; in dumpRegSetPressure()
58 void RegisterPressure::dump(const TargetRegisterInfo *TRI) const { in dump()
60 dumpRegSetPressure(MaxSetPressure, TRI); in dump()
63 dbgs() << PrintVRegOrUnit(Reg, TRI) << " "; in dump()
67 dbgs() << PrintVRegOrUnit(Reg, TRI) << " "; in dump()
75 dumpRegSetPressure(CurrSetPressure, TRI); in dump()
77 P.dump(TRI); in dump()
80 void PressureDiff::dump(const TargetRegisterInfo &TRI) const { in dump()
85 dbgs() << sep << TRI.getRegPressureSetName(Change.getPSet()) in dump()
163 const TargetRegisterInfo &TRI = *MRI.getTargetRegisterInfo(); in init() local
164 unsigned NumRegUnits = TRI.getNumRegs(); in init()
210 TRI = MF->getSubtarget().getRegisterInfo(); in init()
222 CurrSetPressure.assign(TRI->getNumRegPressureSets(), 0); in init()
299 LiveThruPressure.assign(TRI->getNumRegPressureSets(), 0); in initLiveThru()
324 void collect(const MachineInstr &MI, const TargetRegisterInfo &TRI,
338 const TargetRegisterInfo &TRI; member in __anon281631940111::RegisterOperandsCollector
343 const TargetRegisterInfo &TRI, in RegisterOperandsCollector() argument
346 : RegOpers(RegOpers), TRI(TRI), MRI(MRI), IgnoreDead(IgnoreDead) {} in RegisterOperandsCollector()
381 for (MCRegUnitIterator Units(Reg, &TRI); Units.isValid(); ++Units) { in pushRegUnits()
393 const TargetRegisterInfo &TRI, in collect() argument
396 RegisterOperandsCollector Collector(*this, TRI, MRI, IgnoreDead); in collect()
544 RegOpers.collect(MI, *TRI, *MRI); in recede()
611 RegOpers.collect(*CurrPos, *TRI, *MRI); in advance()
739 RegOpers.collect(*MI, *TRI, *MRI, /*IgnoreDead=*/true); in bumpUpwardPressure()
802 PDiff->dump(*TRI); in getMaxUpwardPressureDelta()
805 dbgs() << "Excess1 " << TRI->getRegPressureSetName(Delta.Excess.getPSet()) in getMaxUpwardPressureDelta()
808 dbgs() << "Critic1 " << TRI->getRegPressureSetName(Delta.CriticalMax.getPSet()) in getMaxUpwardPressureDelta()
811 dbgs() << "CurrMx1 " << TRI->getRegPressureSetName(Delta.CurrentMax.getPSet()) in getMaxUpwardPressureDelta()
814 dbgs() << "Excess2 " << TRI->getRegPressureSetName(Delta2.Excess.getPSet()) in getMaxUpwardPressureDelta()
817 dbgs() << "Critic2 " << TRI->getRegPressureSetName(Delta2.CriticalMax.getPSet()) in getMaxUpwardPressureDelta()
820 dbgs() << "CurrMx2 " << TRI->getRegPressureSetName(Delta2.CurrentMax.getPSet()) in getMaxUpwardPressureDelta()
919 RegOpers.collect(*MI, *TRI, *MRI); in bumpDownwardPressure()