Home
last modified time | relevance | path

Searched refs:getInstructionFromIndex (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMarkLastScratchLoad.cpp94 MachineInstr *MISegmentEnd = SI->getInstructionFromIndex(Segment.end); in runOnMachineFunction()
100 MISegmentEnd = SI->getInstructionFromIndex(NextSlot); in runOnMachineFunction()
103 MachineInstr *MISegmentStart = SI->getInstructionFromIndex(Segment.start); in runOnMachineFunction()
H A DGCNRegPressure.h303 LiveRegMap[SII.getInstructionFromIndex(SI)][Reg] = in getLiveRegMap()
311 LiveRegMap[SII.getInstructionFromIndex(SI)][Reg] |= S.LaneMask; in getLiveRegMap()
H A DSIWholeQuadMode.cpp377 MachineInstr *MI = LIS->getInstructionFromIndex(Value->def); in markDefs()
1107 MachineInstr *EndMI = LIS->getInstructionFromIndex(S->end.getBaseIndex()); in prepareInsertion()
1121 if (MachineInstr *MI = LIS->getInstructionFromIndex(Idx)) in prepareInsertion()
H A DSIRegisterInfo.cpp3190 MDT.dominates(LIS->getInstructionFromIndex(DefIdx), in findReachingDef()
3191 LIS->getInstructionFromIndex(V->def))) in findReachingDef()
3199 MachineInstr *Def = LIS->getInstructionFromIndex(DefIdx); in findReachingDef()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp402 MachineInstr *FirstMI = LIS.getInstructionFromIndex(LI.beginIndex()); in shouldCoalesce()
403 MachineInstr *LastMI = LIS.getInstructionFromIndex(LI.endIndex()); in shouldCoalesce()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSplitKit.cpp127 if (auto *I = LIS.getInstructionFromIndex(LIP.second)) in computeLastInsertPoint()
148 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
451 const MachineInstr *DefMI = LIS.getInstructionFromIndex(Def); in addDeadDef()
611 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
674 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
691 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
759 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
791 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
839 if (auto *MI = LIS.getInstructionFromIndex(End)) in overlapIntv()
862 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
[all …]
H A DLiveIntervals.cpp543 MachineInstr *MI = getInstructionFromIndex(Def); in computeDeadValues()
557 MachineInstr *MI = getInstructionFromIndex(Def); in computeDeadValues()
744 MachineInstr *MI = getInstructionFromIndex(RI->end); in addKillFlags()
971 if (MachineInstr *MI = getInstructionFromIndex(*SlotI)) in checkRegMaskInterference()
1131 if (MachineInstr *KillMI = LIS.getInstructionFromIndex(OldIdxIn->end)) in handleMoveDown()
1432 if (MachineInstr *KillMI = LIS.getInstructionFromIndex(NewIdx)) in handleMoveUp()
1497 if (MachineInstr *MI = Indexes->getInstructionFromIndex( in findLastUseBefore()
1600 bool isStartValid = getInstructionFromIndex(LII->start); in repairOldRegInRange()
1601 bool isEndValid = getInstructionFromIndex(LII->end); in repairOldRegInRange()
1658 bool isStartValid = getInstructionFromIndex(LII->start); in repairOldRegInRange()
H A DCalcSpillWeights.cpp96 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
122 MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
H A DInlineSpiller.cpp340 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in isSnippet()
468 MachineInstr *DefMI = LIS.getInstructionFromIndex(SrcVNI->def); in hoistSpillInsideBB()
577 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in markValueUsed()
649 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in reMaterializeFor()
691 auto *NewMI = LIS.getInstructionFromIndex(DefIdx); in reMaterializeFor()
696 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
744 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
H A DRegisterCoalescer.cpp660 MachineInstr *ACopyMI = LIS->getInstructionFromIndex(AValNo->def); in adjustCopiesBackFrom()
674 LIS->getInstructionFromIndex(ValS->end.getPrevSlot()); in adjustCopiesBackFrom()
845 MachineInstr *DefMI = LIS->getInstructionFromIndex(AValNo->def); in removeCopyByCommutingDef()
1125 MachineInstr *DefMI = LIS->getInstructionFromIndex(PVal->def); in removePartialRedundancy()
1305 MachineInstr *DefMI = LIS->getInstructionFromIndex(ValNo->def); in reMaterializeTrivialDef()
2306 MachineInstr *MI = LIS->getInstructionFromIndex(SI); in joinReservedPhysReg()
2669 MachineInstr *MI = Indexes->getInstructionFromIndex(Def); in followCopyChain()
2758 DefMI = Indexes->getInstructionFromIndex(VNI->def); in analyzeValue()
2874 Indexes->getInstructionFromIndex(V.OtherVNI->def); in analyzeValue()
3158 MI = Indexes->getInstructionFromIndex(VNI->def); in resolveConflicts()
[all …]
H A DMLRegallocEvictAdvisor.cpp
H A DMLRegAllocEvictAdvisor.cpp743 LIS->getInstructionFromIndex(InputIndex); in tryFindEvictionCandidate()
751 LIS->getInstructionFromIndex(InputIndex); in tryFindEvictionCandidate()
757 LIS->getInstructionFromIndex(InputIndex); in tryFindEvictionCandidate()
H A DLiveDebugVariables.cpp1087 MachineInstr *CopyMI = LIS.getInstructionFromIndex(DstVNI->def); in addDefsFromCopies()
1597 while (!(MI = LIS.getInstructionFromIndex(Idx))) { in findInsertLocation()
1930 if (MachineInstr *Pos = Slots->getInstructionFromIndex(Idx)) { in emitDebugValues()
1940 Pos = Slots->getInstructionFromIndex(Idx); in emitDebugValues()
H A DLiveRangeCalc.cpp214 const MachineInstr *MI = Indexes->getInstructionFromIndex(Use); in findReachingDefs()
H A DLiveRangeEdit.cpp90 MachineInstr *DefMI = LIS.getInstructionFromIndex(OrigVNI->def); in scanRemattable()
H A DLiveInterval.cpp455 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def))) in overlaps()
890 const MachineInstr *MI = Indexes.getInstructionFromIndex(VNI->def); in stripValuesNotDefiningMask()
H A DTwoAddressInstructionPass.cpp933 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleMIBelowKill()
1121 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleKillAboveMI()
H A DMachineScheduler.cpp1596 MachineInstr *DefMI = LIS->getInstructionFromIndex(DefVNI->def); in computeCyclicCriticalPath()
2151 MachineInstr *GlobalDef = LIS->getInstructionFromIndex(GlobalSegment->start); in constrainLocalCopy()
2163 MachineInstr *LastLocalDef = LIS->getInstructionFromIndex(LastLocalVN->def); in constrainLocalCopy()
2178 LIS->getInstructionFromIndex(LocalLI->beginIndex()); in constrainLocalCopy()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervals.h242 MachineInstr *getInstructionFromIndex(SlotIndex index) const { in getInstructionFromIndex() function
243 return Indexes->getInstructionFromIndex(index); in getInstructionFromIndex()
H A DSlotIndexes.h397 MachineInstr* getInstructionFromIndex(SlotIndex index) const { in getInstructionFromIndex() function
516 if (MachineInstr *MI = getInstructionFromIndex(index)) in getMBBFromIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp321 MachineInstr *MI = LIS->getInstructionFromIndex(K); in updateKillFlags()
345 MachineInstr *DefI = LIS->getInstructionFromIndex(NextI->start); in updateKillFlags()
422 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
476 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
493 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
H A DHexagonRegisterInfo.cpp376 if (const MachineInstr *MI = Indexes.getInstructionFromIndex(I)) in shouldCoalesce()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCVSXFMAMutate.cpp118 MachineInstr *AddendMI = LIS->getInstructionFromIndex(AddendValNo->def); in processBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp591 auto *MI = LIS->getInstructionFromIndex(getAVLVNInfo()->def); in getAVLDefMI()
1160 II = LIS->getInstructionFromIndex(Info.getAVLVNInfo()->def); in insertVSETVLI()
1388 MachineInstr *DefMI = LIS->getInstructionFromIndex(Value->def); in needVSETVLIPHI()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp275 return LIS.getInstructionFromIndex(ValNo->def); in getVRegDef()

12