Lines Matching refs:MRI
66 HexagonGenPredicate() : MachineFunctionPass(ID), TII(0), TRI(0), MRI(0) { in HexagonGenPredicate()
86 MachineRegisterInfo *MRI; member in __anon7eb497360111::HexagonGenPredicate
115 const TargetRegisterClass *RC = MRI->getRegClass(R); in INITIALIZE_PASS_DEPENDENCY()
210 use_iterator I = MRI->use_begin(Reg.R), E = MRI->use_end(); in processPredicateGPR()
213 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in processPredicateGPR()
236 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in getPredRegFor()
250 unsigned NewPR = MRI->createVirtualRegister(PredRC); in getPredRegFor()
311 const MachineInstr *DefI = MRI->getVRegDef(PR.R); in isScalarPred()
318 if (MRI->getRegClass(PR.R) != PredRC) in isScalarPred()
404 Register NewPR = MRI->createVirtualRegister(PredRC); in convertToPredForm()
417 const TargetRegisterClass *RC = MRI->getRegClass(OutR.R); in convertToPredForm()
418 unsigned NewOutR = MRI->createVirtualRegister(RC); in convertToPredForm()
421 MRI->replaceRegWith(OutR.R, NewOutR); in convertToPredForm()
463 if (MRI->getRegClass(DR.R) != PredRC) in eliminatePredCopies()
465 if (MRI->getRegClass(SR.R) != PredRC) in eliminatePredCopies()
468 MRI->replaceRegWith(DR.R, SR.R); in eliminatePredCopies()
484 MRI = &MF.getRegInfo(); in runOnMachineFunction()