Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp350 MachineIRBuilder &Builder, MachineInstr &DefMI, MachineOperand &UseMO, in InsertInsnsWithoutSideEffectsBeforeUse() argument
352 MachineOperand &UseMO)> in InsertInsnsWithoutSideEffectsBeforeUse()
354 MachineInstr &UseMI = *UseMO.getParent(); in InsertInsnsWithoutSideEffectsBeforeUse()
360 MachineOperand *PredBB = std::next(&UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
368 Inserter(InsertBB, std::next(InsertPt), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
373 Inserter(InsertBB, InsertBB->getFirstNonPHI(), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
462 MachineOperand &UseMO) { in applyCombineExtendingLoads() argument
465 Observer.changingInstr(*UseMO.getParent()); in applyCombineExtendingLoads()
466 UseMO.setReg(PreviouslyEmitted->getOperand(0).getReg()); in applyCombineExtendingLoads()
467 Observer.changedInstr(*UseMO.getParent()); in applyCombineExtendingLoads()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineCombiner.cpp243 MachineInstr *UseMO = RI->getParent(); in getLatency() local
245 if (UseMO && BlockTrace.isDepInTrace(*Root, *UseMO)) { in getLatency()
247 NewRoot, NewRoot->findRegisterDefOperandIdx(MO.getReg()), UseMO, in getLatency()
248 UseMO->findRegisterUseOperandIdx(MO.getReg())); in getLatency()
DPeepholeOptimizer.cpp500 for (MachineOperand &UseMO : MRI->use_nodbg_operands(SrcReg)) { in INITIALIZE_PASS_DEPENDENCY()
501 MachineInstr *UseMI = UseMO.getParent(); in INITIALIZE_PASS_DEPENDENCY()
511 if (UseSrcSubIdx && UseMO.getSubReg() != SubIdx) in INITIALIZE_PASS_DEPENDENCY()
538 Uses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
542 Uses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
546 ExtendedUses.push_back(&UseMO); in INITIALIZE_PASS_DEPENDENCY()
573 MachineOperand *UseMO = Uses[i]; in INITIALIZE_PASS_DEPENDENCY() local
574 MachineInstr *UseMI = UseMO->getParent(); in INITIALIZE_PASS_DEPENDENCY()
594 UseMO->setReg(NewVR); in INITIALIZE_PASS_DEPENDENCY()
DTwoAddressInstructionPass.cpp265 for (MachineOperand &UseMO : MRI->use_nodbg_operands(SavedReg)) { in sink3AddrInstruction()
266 if (!UseMO.isKill()) in sink3AddrInstruction()
268 KillMI = UseMO.getParent(); in sink3AddrInstruction()
1817 MachineOperand &UseMO = MI.getOperand(i); in eliminateRegSequence() local
1818 Register SrcReg = UseMO.getReg(); in eliminateRegSequence()
1821 if (UseMO.isUndef()) in eliminateRegSequence()
1826 bool isKill = UseMO.isKill(); in eliminateRegSequence()
1831 UseMO.setIsKill(false); in eliminateRegSequence()
1840 .add(UseMO); in eliminateRegSequence()
DMachineInstr.cpp1052 MachineOperand &UseMO = getOperand(UseIdx); in tieOperands() local
1054 assert(UseMO.isUse() && "UseIdx must be a use operand"); in tieOperands()
1056 assert(!UseMO.isTied() && "Use is already tied to another def"); in tieOperands()
1059 UseMO.TiedTo = DefIdx + 1; in tieOperands()
1065 UseMO.TiedTo = TiedMax; in tieOperands()
1090 const MachineOperand &UseMO = getOperand(i); in findTiedOperandIdx() local
1091 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
DRegisterCoalescer.cpp891 MachineOperand &UseMO = *UI; in removeCopyByCommutingDef() local
893 if (UseMO.isUndef()) in removeCopyByCommutingDef()
895 MachineInstr *UseMI = UseMO.getParent(); in removeCopyByCommutingDef()
899 UseMO.setReg(NewReg); in removeCopyByCommutingDef()
908 UseMO.setIsKill(false); in removeCopyByCommutingDef()
910 UseMO.substPhysReg(NewReg, *TRI); in removeCopyByCommutingDef()
912 UseMO.setReg(NewReg); in removeCopyByCommutingDef()
1509 for (MachineOperand &UseMO : MRI->use_operands(SrcReg)) { in reMaterializeTrivialDef()
1510 MachineInstr *UseMI = UseMO.getParent(); in reMaterializeTrivialDef()
1513 UseMO.substPhysReg(DstReg, *TRI); in reMaterializeTrivialDef()
[all …]
DTailDuplicator.cpp218 MachineOperand &UseMO = *UI; in tailDuplicateAndUpdate() local
219 MachineInstr *UseMI = UseMO.getParent(); in tailDuplicateAndUpdate()
231 SSAUpdate.RewriteUse(UseMO); in tailDuplicateAndUpdate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCVSXFMAMutate.cpp285 MachineOperand &UseMO = *UI; in processBlock() local
286 MachineInstr *UseMI = UseMO.getParent(); in processBlock()
293 UseMO.substVirtReg(KilledProdReg, KilledProdSubReg, *TRI); in processBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp296 for (MachineOperand &UseMO : MRI->use_nodbg_operands(Reg->getReg())) { in findSingleRegUse()
298 if (!isSameReg(UseMO, *Reg)) in findSingleRegUse()
303 ResMO = &UseMO; in findSingleRegUse()
304 } else if (ResMO->getParent() != UseMO.getParent()) { in findSingleRegUse()
DSIInstrInfo.h711 const MachineOperand &UseMO, in isInlineConstant() argument
713 assert(UseMO.getParent() == &MI); in isInlineConstant()
714 int OpIdx = MI.getOperandNo(&UseMO); in isInlineConstant()
DSIFoldOperands.cpp462 const MachineOperand &UseMO) { in isUseSafeToFold() argument
463 return !UseMO.isUndef() && !TII->isSDWA(MI); in isUseSafeToFold()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp4115 const MachineOperand &UseMO = UseMI.getOperand(UseIdx); in getOperandLatency() local
4116 if (UseMO.isImplicit()) { in getOperandLatency()
4117 for (MCSuperRegIterator SR(UseMO.getReg(), &HRI); SR.isValid(); ++SR) { in getOperandLatency()