Searched refs:UseMO (Results 1 – 13 of 13) sorted by relevance
165 MachineOperand &UseMO = UI.getOperand(); in OptimizeExtInstr() local199 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() local238 MachineInstr *UseMI = UseMO->getParent(); in OptimizeExtInstr()248 UseMO->setReg(NewVR); in OptimizeExtInstr()
217 MachineOperand &UseMO = UI.getOperand(); in Sink3AddrInstruction() local218 if (!UseMO.isKill()) in Sink3AddrInstruction()220 KillMI = UseMO.getParent(); in Sink3AddrInstruction()313 MachineOperand &UseMO = UI.getOperand(); in isProfitableToReMat() local314 MachineInstr *UseMI = UseMO.getParent(); in isProfitableToReMat()
353 const MachineOperand *UseMO = I->second.first; in BuildSchedGraph() local355 const MachineInstr *UseMI = UseMO->getParent(); in BuildSchedGraph()356 unsigned UseMOIdx = UseMO - &UseMI->getOperand(0); in BuildSchedGraph()
739 MachineOperand &UseMO = UI.getOperand(); in RemoveCopyByCommutingDef() local747 UseMO.setReg(NewReg); in RemoveCopyByCommutingDef()755 UseMO.substPhysReg(NewReg, *TRI); in RemoveCopyByCommutingDef()757 UseMO.setReg(NewReg); in RemoveCopyByCommutingDef()
245 MachineOperand &UseMO = UI.getOperand(); in TailDuplicateAndUpdate() local258 SSAUpdate.RewriteUse(UseMO); in TailDuplicateAndUpdate()
1185 MachineOperand *UseMO = ReMatMI->findRegisterUseOperand(li.reg); in rewriteImplicitOps() local1186 if (UseMO) in rewriteImplicitOps()1187 UseMO->setReg(NewVReg); in rewriteImplicitOps()
201 MachineInstr *UseMO = RI->getParent(); in getLatency() local203 if (UseMO && BlockTrace.isDepInTrace(*Root, *UseMO)) { in getLatency()205 NewRoot, NewRoot->findRegisterDefOperandIdx(MO.getReg()), UseMO, in getLatency()206 UseMO->findRegisterUseOperandIdx(MO.getReg())); in getLatency()
454 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() local528 MachineInstr *UseMI = UseMO->getParent(); in INITIALIZE_PASS_DEPENDENCY()548 UseMO->setReg(NewVR); in INITIALIZE_PASS_DEPENDENCY()
237 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() local1750 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()
1401 MachineOperand &UseMO = getOperand(UseIdx); in tieOperands() local1403 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() local1440 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
748 MachineOperand &UseMO = *UI; in removeCopyByCommutingDef() local750 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()
179 MachineOperand &UseMO = *UI; in tailDuplicateAndUpdate() local180 MachineInstr *UseMI = UseMO.getParent(); in tailDuplicateAndUpdate()192 SSAUpdate.RewriteUse(UseMO); in tailDuplicateAndUpdate()
284 MachineOperand &UseMO = *UI; in processBlock() local285 MachineInstr *UseMI = UseMO.getParent(); in processBlock()292 UseMO.substVirtReg(KilledProdReg, KilledProdSubReg, *TRI); in processBlock()