Home
last modified time | relevance | path

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

/external/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp240 MachineOperand &UseMO = *UI; in processBlock() local
241 MachineInstr *UseMI = UseMO.getParent(); in processBlock()
248 UseMO.setReg(KilledProdReg); in processBlock()
249 UseMO.setSubReg(KilledProdSubReg); in processBlock()
/external/llvm/lib/CodeGen/
DMachineCombiner.cpp199 MachineInstr *UseMO = RI->getParent(); in getLatency() local
201 if (UseMO && BlockTrace.isDepInTrace(Root, UseMO)) { in getLatency()
203 NewRoot, NewRoot->findRegisterDefOperandIdx(MO.getReg()), UseMO, in getLatency()
204 UseMO->findRegisterUseOperandIdx(MO.getReg())); in getLatency()
DPeepholeOptimizer.cpp358 for (MachineOperand &UseMO : MRI->use_nodbg_operands(SrcReg)) { in INITIALIZE_PASS_DEPENDENCY()
359 MachineInstr *UseMI = UseMO.getParent(); in INITIALIZE_PASS_DEPENDENCY()
369 if (UseSrcSubIdx && UseMO.getSubReg() != SubIdx) in INITIALIZE_PASS_DEPENDENCY()
396 Uses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
400 Uses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
404 ExtendedUses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
431 MachineOperand *UseMO = Uses[i]; in INITIALIZE_PASS_DEPENDENCY() local
432 MachineInstr *UseMI = UseMO->getParent(); in INITIALIZE_PASS_DEPENDENCY()
452 UseMO->setReg(NewVR); in INITIALIZE_PASS_DEPENDENCY()
DTwoAddressInstructionPass.cpp237 MachineOperand &UseMO = *UI; in sink3AddrInstruction() local
238 if (!UseMO.isKill()) in sink3AddrInstruction()
240 KillMI = UseMO.getParent(); in sink3AddrInstruction()
1722 MachineOperand &UseMO = MI->getOperand(i); in eliminateRegSequence() local
1723 unsigned SrcReg = UseMO.getReg(); in eliminateRegSequence()
1726 if (UseMO.isUndef()) in eliminateRegSequence()
1731 bool isKill = UseMO.isKill(); in eliminateRegSequence()
1736 UseMO.setIsKill(false); in eliminateRegSequence()
1745 .addOperand(UseMO); in eliminateRegSequence()
DMachineInstr.cpp1236 MachineOperand &UseMO = getOperand(UseIdx); in tieOperands() local
1238 assert(UseMO.isUse() && "UseIdx must be a use operand"); in tieOperands()
1240 assert(!UseMO.isTied() && "Use is already tied to another def"); in tieOperands()
1243 UseMO.TiedTo = DefIdx + 1; in tieOperands()
1249 UseMO.TiedTo = TiedMax; in tieOperands()
1274 const MachineOperand &UseMO = getOperand(i); in findTiedOperandIdx() local
1275 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
DRegisterCoalescer.cpp723 MachineOperand &UseMO = *UI; in removeCopyByCommutingDef() local
725 if (UseMO.isUndef()) in removeCopyByCommutingDef()
727 MachineInstr *UseMI = UseMO.getParent(); in removeCopyByCommutingDef()
731 UseMO.setReg(NewReg); in removeCopyByCommutingDef()
740 UseMO.setIsKill(false); in removeCopyByCommutingDef()
742 UseMO.substPhysReg(NewReg, *TRI); in removeCopyByCommutingDef()
744 UseMO.setReg(NewReg); in removeCopyByCommutingDef()
1031 for (MachineOperand &UseMO : MRI->use_operands(SrcReg)) { in reMaterializeTrivialDef()
1032 MachineInstr *UseMI = UseMO.getParent(); in reMaterializeTrivialDef()
1034 UseMO.setReg(DstReg); in reMaterializeTrivialDef()
DTailDuplication.cpp270 MachineOperand &UseMO = *UI; in TailDuplicateAndUpdate() local
271 MachineInstr *UseMI = UseMO.getParent(); in TailDuplicateAndUpdate()
283 SSAUpdate.RewriteUse(UseMO); in TailDuplicateAndUpdate()