Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMarkLastScratchLoad.cpp116 MachineInstr *MISegmentEnd = SI->getInstructionFromIndex(Segment.end); in run()
122 MISegmentEnd = SI->getInstructionFromIndex(NextSlot); in run()
125 MachineInstr *MISegmentStart = SI->getInstructionFromIndex(Segment.start); in run()
H A DAMDGPURewriteAGPRCopyMFMA.cpp123 MachineInstr *DefMI = LIS.getInstructionFromIndex(VNI->def); in run()
136 MachineInstr *CopySrcMI = LIS.getInstructionFromIndex(LRQ.valueIn()->def); in run()
H A DGCNRegPressure.h467 LiveRegMap[SII.getInstructionFromIndex(SI)][Reg] = in getLiveRegMap()
475 LiveRegMap[SII.getInstructionFromIndex(SI)][Reg] |= S.LaneMask; in getLiveRegMap()
H A DSIWholeQuadMode.cpp388 MachineInstr *MI = LIS->getInstructionFromIndex(Value->def); in markDefs()
1126 MachineInstr *EndMI = LIS->getInstructionFromIndex(S->end.getBaseIndex()); in prepareInsertion()
1140 if (MachineInstr *MI = LIS->getInstructionFromIndex(Idx)) in prepareInsertion()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSplitKit.cpp126 if (auto *I = LIS.getInstructionFromIndex(LIP.second)) in computeLastInsertPoint()
147 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
450 const MachineInstr *DefMI = LIS.getInstructionFromIndex(Def); in addDeadDef()
594 const MachineInstr *UseMI = LIS.getInstructionFromIndex(UseIdx); in rematWillIncreaseRestriction()
639 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
710 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
727 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
795 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
827 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
875 if (auto *MI = LIS.getInstructionFromIndex(End)) in overlapIntv()
[all …]
H A DLiveIntervals.cpp559 MachineInstr *MI = getInstructionFromIndex(Def); in computeDeadValues()
573 MachineInstr *MI = getInstructionFromIndex(Def); in computeDeadValues()
765 MachineInstr *MI = getInstructionFromIndex(RI->end); in addKillFlags()
1004 if (MachineInstr *MI = getInstructionFromIndex(*SlotI)) in checkRegMaskInterference()
1165 if (MachineInstr *KillMI = LIS.getInstructionFromIndex(OldIdxIn->end)) in handleMoveDown()
1467 if (MachineInstr *KillMI = LIS.getInstructionFromIndex(NewIdx)) in handleMoveUp()
1533 if (MachineInstr *MI = Indexes->getInstructionFromIndex( in findLastUseBefore()
1636 bool isStartValid = getInstructionFromIndex(LII->start); in repairOldRegInRange()
1637 bool isEndValid = getInstructionFromIndex(LII->end); in repairOldRegInRange()
1694 bool isStartValid = getInstructionFromIndex(LII->start); in repairOldRegInRange()
H A DCalcSpillWeights.cpp95 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
121 MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
H A DInlineSpiller.cpp339 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()
666 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in reMaterializeFor()
709 auto *NewMI = LIS.getInstructionFromIndex(DefIdx); in reMaterializeFor()
714 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
762 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
H A DRegisterCoalescer.cpp671 MachineInstr *ACopyMI = LIS->getInstructionFromIndex(AValNo->def); in adjustCopiesBackFrom()
685 LIS->getInstructionFromIndex(ValS->end.getPrevSlot()); in adjustCopiesBackFrom()
858 MachineInstr *DefMI = LIS->getInstructionFromIndex(AValNo->def); in removeCopyByCommutingDef()
1138 MachineInstr *DefMI = LIS->getInstructionFromIndex(PVal->def); in removePartialRedundancy()
1318 MachineInstr *DefMI = LIS->getInstructionFromIndex(ValNo->def); in reMaterializeTrivialDef()
2366 MachineInstr *MI = LIS->getInstructionFromIndex(SI); in joinReservedPhysReg()
2730 MachineInstr *MI = Indexes->getInstructionFromIndex(Def); in followCopyChain()
2819 DefMI = Indexes->getInstructionFromIndex(VNI->def); in analyzeValue()
2935 Indexes->getInstructionFromIndex(V.OtherVNI->def); in analyzeValue()
3219 MI = Indexes->getInstructionFromIndex(VNI->def); in resolveConflicts()
[all …]
H A DMLRegallocEvictAdvisor.cpp
H A DMLRegAllocEvictAdvisor.cpp820 LIS->getInstructionFromIndex(InputIndex); in tryFindEvictionCandidate()
828 LIS->getInstructionFromIndex(InputIndex); in tryFindEvictionCandidate()
834 LIS->getInstructionFromIndex(InputIndex); in tryFindEvictionCandidate()
H A DLiveDebugVariables.cpp1099 MachineInstr *CopyMI = LIS.getInstructionFromIndex(DstVNI->def); in addDefsFromCopies()
1643 while (!(MI = LIS.getInstructionFromIndex(Idx))) { in findInsertLocation()
1974 if (MachineInstr *Pos = Slots->getInstructionFromIndex(Idx)) { in emitDebugValues()
1984 Pos = Slots->getInstructionFromIndex(Idx); in emitDebugValues()
H A DLiveRangeCalc.cpp213 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.cpp935 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleMIBelowKill()
1123 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleKillAboveMI()
H A DMachineScheduler.cpp1847 MachineInstr *DefMI = LIS->getInstructionFromIndex(DefVNI->def); in computeCyclicCriticalPath()
2424 MachineInstr *GlobalDef = LIS->getInstructionFromIndex(GlobalSegment->start); in constrainLocalCopy()
2436 MachineInstr *LastLocalDef = LIS->getInstructionFromIndex(LastLocalVN->def); in constrainLocalCopy()
2451 LIS->getInstructionFromIndex(LocalLI->beginIndex()); in constrainLocalCopy()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervals.h252 MachineInstr *getInstructionFromIndex(SlotIndex index) const { in getInstructionFromIndex() function
253 return Indexes->getInstructionFromIndex(index); in getInstructionFromIndex()
H A DSlotIndexes.h398 MachineInstr* getInstructionFromIndex(SlotIndex index) const { in getInstructionFromIndex() function
517 if (MachineInstr *MI = getInstructionFromIndex(index)) in getMBBFromIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp305 MachineInstr *MI = LIS->getInstructionFromIndex(K); in updateKillFlags()
329 MachineInstr *DefI = LIS->getInstructionFromIndex(NextI->start); in updateKillFlags()
405 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
459 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
476 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
H A DHexagonRegisterInfo.cpp371 if (const MachineInstr *MI = Indexes.getInstructionFromIndex(I)) in shouldCoalesce()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp406 MachineInstr *FirstMI = LIS.getInstructionFromIndex(LI.beginIndex()); in shouldCoalesce()
407 MachineInstr *LastMI = LIS.getInstructionFromIndex(LI.endIndex()); in shouldCoalesce()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCVSXFMAMutate.cpp110 MachineInstr *AddendMI = LIS->getInstructionFromIndex(AddendValNo->def); in processBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp562 auto *MI = LIS->getInstructionFromIndex(getAVLVNInfo()->def); in getAVLDefMI()
1139 II = LIS->getInstructionFromIndex(CurVNI->def); in insertVSETVLI()
1380 MachineInstr *DefMI = LIS->getInstructionFromIndex(Value->def); in needVSETVLIPHI()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp279 return LIS->getInstructionFromIndex(ValNo->def); in getVRegDef()

12