Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPeepholeOptimizer.cpp165 MachineOperand &UseMO = UI.getOperand(); in OptimizeExtInstr() local
199 Uses.push_back(&UseMO); in OptimizeExtInstr()
203 Uses.push_back(&UseMO); in OptimizeExtInstr()
207 ExtendedUses.push_back(&UseMO); in OptimizeExtInstr()
237 MachineOperand *UseMO = Uses[i]; in OptimizeExtInstr() local
238 MachineInstr *UseMI = UseMO->getParent(); in OptimizeExtInstr()
248 UseMO->setReg(NewVR); in OptimizeExtInstr()
DTwoAddressInstructionPass.cpp217 MachineOperand &UseMO = UI.getOperand(); in Sink3AddrInstruction() local
218 if (!UseMO.isKill()) in Sink3AddrInstruction()
220 KillMI = UseMO.getParent(); in Sink3AddrInstruction()
313 MachineOperand &UseMO = UI.getOperand(); in isProfitableToReMat() local
314 MachineInstr *UseMI = UseMO.getParent(); in isProfitableToReMat()
DScheduleDAGInstrs.cpp353 const MachineOperand *UseMO = I->second.first; in BuildSchedGraph() local
355 const MachineInstr *UseMI = UseMO->getParent(); in BuildSchedGraph()
356 unsigned UseMOIdx = UseMO - &UseMI->getOperand(0); in BuildSchedGraph()
DRegisterCoalescer.cpp739 MachineOperand &UseMO = UI.getOperand(); in RemoveCopyByCommutingDef() local
747 UseMO.setReg(NewReg); in RemoveCopyByCommutingDef()
755 UseMO.substPhysReg(NewReg, *TRI); in RemoveCopyByCommutingDef()
757 UseMO.setReg(NewReg); in RemoveCopyByCommutingDef()
DTailDuplication.cpp245 MachineOperand &UseMO = UI.getOperand(); in TailDuplicateAndUpdate() local
258 SSAUpdate.RewriteUse(UseMO); in TailDuplicateAndUpdate()
DLiveIntervalAnalysis.cpp1185 MachineOperand *UseMO = ReMatMI->findRegisterUseOperand(li.reg); in rewriteImplicitOps() local
1186 if (UseMO) in rewriteImplicitOps()
1187 UseMO->setReg(NewVReg); in rewriteImplicitOps()
/external/llvm/lib/CodeGen/
DMachineCombiner.cpp201 MachineInstr *UseMO = RI->getParent(); in getLatency() local
203 if (UseMO && BlockTrace.isDepInTrace(*Root, *UseMO)) { in getLatency()
205 NewRoot, NewRoot->findRegisterDefOperandIdx(MO.getReg()), UseMO, in getLatency()
206 UseMO->findRegisterUseOperandIdx(MO.getReg())); in getLatency()
DPeepholeOptimizer.cpp454 for (MachineOperand &UseMO : MRI->use_nodbg_operands(SrcReg)) { in INITIALIZE_PASS_DEPENDENCY()
455 MachineInstr *UseMI = UseMO.getParent(); in INITIALIZE_PASS_DEPENDENCY()
465 if (UseSrcSubIdx && UseMO.getSubReg() != SubIdx) in INITIALIZE_PASS_DEPENDENCY()
492 Uses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
496 Uses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
500 ExtendedUses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
527 MachineOperand *UseMO = Uses[i]; in INITIALIZE_PASS_DEPENDENCY() local
528 MachineInstr *UseMI = UseMO->getParent(); in INITIALIZE_PASS_DEPENDENCY()
548 UseMO->setReg(NewVR); in INITIALIZE_PASS_DEPENDENCY()
DTwoAddressInstructionPass.cpp237 for (MachineOperand &UseMO : MRI->use_nodbg_operands(SavedReg)) { in sink3AddrInstruction()
238 if (!UseMO.isKill()) in sink3AddrInstruction()
240 KillMI = UseMO.getParent(); in sink3AddrInstruction()
1749 MachineOperand &UseMO = MI.getOperand(i); in eliminateRegSequence() local
1750 unsigned SrcReg = UseMO.getReg(); in eliminateRegSequence()
1753 if (UseMO.isUndef()) in eliminateRegSequence()
1758 bool isKill = UseMO.isKill(); in eliminateRegSequence()
1763 UseMO.setIsKill(false); in eliminateRegSequence()
1772 .addOperand(UseMO); in eliminateRegSequence()
DMachineInstr.cpp1401 MachineOperand &UseMO = getOperand(UseIdx); in tieOperands() local
1403 assert(UseMO.isUse() && "UseIdx must be a use operand"); in tieOperands()
1405 assert(!UseMO.isTied() && "Use is already tied to another def"); in tieOperands()
1408 UseMO.TiedTo = DefIdx + 1; in tieOperands()
1414 UseMO.TiedTo = TiedMax; in tieOperands()
1439 const MachineOperand &UseMO = getOperand(i); in findTiedOperandIdx() local
1440 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
DRegisterCoalescer.cpp748 MachineOperand &UseMO = *UI; in removeCopyByCommutingDef() local
750 if (UseMO.isUndef()) in removeCopyByCommutingDef()
752 MachineInstr *UseMI = UseMO.getParent(); in removeCopyByCommutingDef()
756 UseMO.setReg(NewReg); in removeCopyByCommutingDef()
765 UseMO.setIsKill(false); in removeCopyByCommutingDef()
767 UseMO.substPhysReg(NewReg, *TRI); in removeCopyByCommutingDef()
769 UseMO.setReg(NewReg); in removeCopyByCommutingDef()
1122 for (MachineOperand &UseMO : MRI->use_operands(SrcReg)) { in reMaterializeTrivialDef()
1123 MachineInstr *UseMI = UseMO.getParent(); in reMaterializeTrivialDef()
1125 UseMO.setReg(DstReg); in reMaterializeTrivialDef()
DTailDuplicator.cpp179 MachineOperand &UseMO = *UI; in tailDuplicateAndUpdate() local
180 MachineInstr *UseMI = UseMO.getParent(); in tailDuplicateAndUpdate()
192 SSAUpdate.RewriteUse(UseMO); in tailDuplicateAndUpdate()
/external/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp284 MachineOperand &UseMO = *UI; in processBlock() local
285 MachineInstr *UseMI = UseMO.getParent(); in processBlock()
292 UseMO.substVirtReg(KilledProdReg, KilledProdSubReg, *TRI); in processBlock()