• 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()
139 unsigned Reg = MO.getReg(); in runOnMachineFunction() local
140 if (!Reg) in runOnMachineFunction()
142 if (!ImpDefRegs.count(Reg)) in runOnMachineFunction()
145 if (CanTurnIntoImplicitDef(MI, Reg, i, ImpDefRegs)) { in runOnMachineFunction()
151 ImpDefRegs.erase(Reg); in runOnMachineFunction()
152 LiveVariables::VarInfo& vi = LV->getVarInfo(Reg); in runOnMachineFunction()
165 MI->addRegisterDefined(Reg); in runOnMachineFunction()
172 if (MOJ.isReg() && MOJ.isUse() && MOJ.getReg() == Reg) in runOnMachineFunction()
175 ImpDefRegs.erase(Reg); in runOnMachineFunction()
195 unsigned Reg = MI->getOperand(0).getReg(); in runOnMachineFunction() local
196 if (TargetRegisterInfo::isPhysicalRegister(Reg) || in runOnMachineFunction()
197 !ImpDefRegs.count(Reg)) { in runOnMachineFunction()
210 for (MachineRegisterInfo::def_iterator DI = MRI->def_begin(Reg), in runOnMachineFunction()
229 for (MachineRegisterInfo::use_iterator UI = MRI->use_begin(Reg), in runOnMachineFunction()
242 if (isUndefCopy(RMI, Reg, ImpDefRegs)) { in runOnMachineFunction()
249 if (RRMO.isReg() && RRMO.getReg() == Reg) { in runOnMachineFunction()
263 LiveVariables::VarInfo& vi = LV->getVarInfo(Reg); in runOnMachineFunction()
270 const TargetRegisterClass* RC = MRI->getRegClass(Reg); in runOnMachineFunction()
275 if (RRMO.isReg() && RRMO.getReg() == Reg) { in runOnMachineFunction()