• Home
  • Raw
  • Download

Lines Matching refs:Reg

49                                             unsigned Reg, unsigned OpIdx,  in CanTurnIntoImplicitDef()  argument
62 static bool isUndefCopy(MachineInstr *MI, unsigned Reg, in isUndefCopy() argument
67 if (MO1.getReg() != Reg) in isUndefCopy()
110 unsigned Reg = MI->getOperand(0).getReg(); in runOnMachineFunction() local
111 ImpDefRegs.insert(Reg); in runOnMachineFunction()
112 if (TargetRegisterInfo::isPhysicalRegister(Reg)) { in runOnMachineFunction()
113 for (const unsigned *SS = TRI->getSubRegisters(Reg); *SS; ++SS) in runOnMachineFunction()
128 unsigned Reg = MI->getOperand(0).getReg(); in runOnMachineFunction() local
134 if (TargetRegisterInfo::isVirtualRegister(Reg) && MRI->def_empty(Reg)) in runOnMachineFunction()
135 ImpDefRegs.insert(Reg); in runOnMachineFunction()
145 unsigned Reg = MO.getReg(); in runOnMachineFunction() local
146 if (!Reg) in runOnMachineFunction()
148 if (!ImpDefRegs.count(Reg)) in runOnMachineFunction()
151 if (CanTurnIntoImplicitDef(MI, Reg, i, ImpDefRegs)) { in runOnMachineFunction()
157 ImpDefRegs.erase(Reg); in runOnMachineFunction()
158 LiveVariables::VarInfo& vi = LV->getVarInfo(Reg); in runOnMachineFunction()
171 MI->addRegisterDefined(Reg); in runOnMachineFunction()
178 if (MOJ.isReg() && MOJ.isUse() && MOJ.getReg() == Reg) in runOnMachineFunction()
181 ImpDefRegs.erase(Reg); in runOnMachineFunction()
201 unsigned Reg = MI->getOperand(0).getReg(); in runOnMachineFunction() local
202 if (TargetRegisterInfo::isPhysicalRegister(Reg) || in runOnMachineFunction()
203 !ImpDefRegs.count(Reg)) { in runOnMachineFunction()
216 for (MachineRegisterInfo::def_iterator DI = MRI->def_begin(Reg), in runOnMachineFunction()
235 for (MachineRegisterInfo::use_iterator UI = MRI->use_begin(Reg), in runOnMachineFunction()
248 if (isUndefCopy(RMI, Reg, ImpDefRegs)) { in runOnMachineFunction()
255 if (RRMO.isReg() && RRMO.getReg() == Reg) { in runOnMachineFunction()
269 LiveVariables::VarInfo& vi = LV->getVarInfo(Reg); in runOnMachineFunction()
276 const TargetRegisterClass* RC = MRI->getRegClass(Reg); in runOnMachineFunction()
281 if (RRMO.isReg() && RRMO.getReg() == Reg) { in runOnMachineFunction()