Home
last modified time | relevance | path

Searched refs:MOReg (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp198 unsigned MOReg = MO.getReg(); in sink3AddrInstruction() local
199 if (!MOReg) in sink3AddrInstruction()
201 if (MO.isUse() && MOReg != SavedReg) in sink3AddrInstruction()
271 unsigned MOReg = MO.getReg(); in sink3AddrInstruction() local
272 if (!MOReg) in sink3AddrInstruction()
274 if (DefReg == MOReg) in sink3AddrInstruction()
277 if (MO.isKill() || (LIS && isPlainlyKilled(OtherMI, MOReg, LIS))) { in sink3AddrInstruction()
278 if (OtherMI == KillMI && MOReg == SavedReg) in sink3AddrInstruction()
282 else if (UseRegs.count(MOReg)) in sink3AddrInstruction()
803 unsigned MOReg = MO.getReg(); in rescheduleMIBelowKill() local
[all …]
DMachineInstrBundle.cpp297 unsigned MOReg = MO.getReg(); in analyzePhysReg() local
298 if (!MOReg || !TargetRegisterInfo::isPhysicalRegister(MOReg)) in analyzePhysReg()
301 bool IsRegOrSuperReg = MOReg == Reg || TRI->isSubRegister(MOReg, Reg); in analyzePhysReg()
302 bool IsRegOrOverlapping = MOReg == Reg || TRI->regsOverlap(MOReg, Reg); in analyzePhysReg()
DLiveVariables.cpp572 unsigned MOReg = MO.getReg(); in runOnMachineFunction() local
576 UseRegs.push_back(MOReg); in runOnMachineFunction()
579 DefRegs.push_back(MOReg); in runOnMachineFunction()
585 unsigned MOReg = UseRegs[i]; in runOnMachineFunction() local
586 if (TargetRegisterInfo::isVirtualRegister(MOReg)) in runOnMachineFunction()
587 HandleVirtRegUse(MOReg, MBB, MI); in runOnMachineFunction()
588 else if (!MRI->isReserved(MOReg)) in runOnMachineFunction()
589 HandlePhysRegUse(MOReg, MI); in runOnMachineFunction()
598 unsigned MOReg = DefRegs[i]; in runOnMachineFunction() local
599 if (TargetRegisterInfo::isVirtualRegister(MOReg)) in runOnMachineFunction()
[all …]
DMachineInstr.cpp1071 unsigned MOReg = MO.getReg(); in findRegisterUseOperandIdx() local
1072 if (!MOReg) in findRegisterUseOperandIdx()
1074 if (MOReg == Reg || in findRegisterUseOperandIdx()
1076 TargetRegisterInfo::isPhysicalRegister(MOReg) && in findRegisterUseOperandIdx()
1078 TRI->isSubRegister(MOReg, Reg))) in findRegisterUseOperandIdx()
1129 unsigned MOReg = MO.getReg(); in findRegisterDefOperandIdx() local
1130 bool Found = (MOReg == Reg); in findRegisterDefOperandIdx()
1132 TargetRegisterInfo::isPhysicalRegister(MOReg)) { in findRegisterDefOperandIdx()
1134 Found = TRI->regsOverlap(MOReg, Reg); in findRegisterDefOperandIdx()
1136 Found = TRI->isSubRegister(MOReg, Reg); in findRegisterDefOperandIdx()
[all …]
DMachineCSE.cpp314 unsigned MOReg = MO.getReg(); in PhysRegDefsReach() local
315 if (TargetRegisterInfo::isVirtualRegister(MOReg)) in PhysRegDefsReach()
317 if (PhysRefs.count(MOReg)) in PhysRegDefsReach()
DMachineLICM.cpp1024 unsigned MOReg = MO.getReg(); in HasHighOperandLatency() local
1025 if (MOReg != Reg) in HasHighOperandLatency()
/external/llvm/lib/Target/SystemZ/
DSystemZElimCompare.cpp144 if (unsigned MOReg = MO.getReg()) { in getRegReferences() local
145 if (MOReg == Reg || TRI->regsOverlap(MOReg, Reg)) { in getRegReferences()
148 Ref.IndirectUse |= (MOReg != Reg); in getRegReferences()
152 Ref.IndirectDef |= (MOReg != Reg); in getRegReferences()