Home
last modified time | relevance | path

Searched refs:getInstructionIndex (Results 1 – 25 of 43) sorted by relevance

12

/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp274 LIS.getInstructionIndex(*Insert))) in getVRegDef()
292 LI.getVNInfoAt(LIS.getInstructionIndex(*Def).getRegSlot()); in hasOneUse()
295 const auto &Result = LI.Query(LIS.getInstructionIndex(*I.getParent())); in hasOneUse()
443 VNInfo *OneUseVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*OneUseInst)); in oneUseDominatesOtherUses()
450 VNInfo *UseVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*UseInst)); in oneUseDominatesOtherUses()
548 LI.removeSegment(LIS.getInstructionIndex(*Def).getRegSlot(), in moveForSingleUse()
549 LIS.getInstructionIndex(*Op.getParent()).getRegSlot(), in moveForSingleUse()
591 IsDead = !LI.liveAt(LIS.getInstructionIndex(Def).getDeadSlot()); in rematerializeCheapDef()
598 SlotIndex Idx = LIS.getInstructionIndex(Def).getRegSlot(); in rematerializeCheapDef()
657 SlotIndex DefIdx = LIS.getInstructionIndex(*Def).getRegSlot(); in moveAndTeeForMultiUse()
DWebAssemblyMemIntrinsicResults.cpp94 SlotIndex FromIdx = LIS.getInstructionIndex(MI).getRegSlot(); in replaceDominatedUses()
108 SlotIndex WhereIdx = LIS.getInstructionIndex(*Where); in replaceDominatedUses()
DWebAssemblyOptimizeLiveIntervals.cpp117 LIS.removeVRegDefAt(LI, LIS.getInstructionIndex(MI).getRegSlot()); in runOnMachineFunction()
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DSIOptimizeExecMaskingPreRA.cpp93 SlotIndex AndIdx = LIS->getInstructionIndex(And).getRegSlot(); in isDefBetween()
94 SlotIndex SelIdx = LIS->getInstructionIndex(Sel).getRegSlot(); in isDefBetween()
189 SlotIndex SelIdx = LIS->getInstructionIndex(*Sel); in optimizeVcndVcmpPair()
219 SlotIndex CmpIdx = LIS->getInstructionIndex(*Cmp); in optimizeVcndVcmpPair()
350 SlotIndex StartIdx = LIS->getInstructionIndex(SaveExecMI); in optimizeElseBranch()
351 SlotIndex EndIdx = LIS->getInstructionIndex(*AndExecMI); in optimizeElseBranch()
DGCNRegPressure.h215 auto SI = SII.getInstructionIndex(*I); in getLiveRegMap()
249 return getLiveRegs(LIS.getInstructionIndex(MI).getDeadSlot(), LIS, in getLiveRegsAfter()
255 return getLiveRegs(LIS.getInstructionIndex(MI).getBaseIndex(), LIS, in getLiveRegsBefore()
DGCNPreRAOptimizations.cpp194 if (SlotIndex::isEarlierInstr(LIS->getInstructionIndex(*Def1), in processReg()
195 LIS->getInstructionIndex(*Def0))) in processReg()
DGCNNSAReassign.cpp307 MinInd = MaxInd = LIS->getInstructionIndex(*MI); in runOnMachineFunction()
333 return LIS->getInstructionIndex(*C.first) < I; in runOnMachineFunction()
336 LIS->getInstructionIndex(*I->first) < MaxInd; ++I) { in runOnMachineFunction()
DGCNRegPressure.cpp185 auto SI = LIS.getInstructionIndex(*MO.getParent()).getBaseIndex(); in getUsedRegMask()
334 ? LIS.getInstructionIndex(*LastTrackedMI).getDeadSlot() in advanceBeforeNext()
335 : LIS.getInstructionIndex(*NextMI).getBaseIndex(); in advanceBeforeNext()
434 const auto &SI = LIS.getInstructionIndex(*LastTrackedMI).getBaseIndex(); in isValid()
DGCNIterativeScheduler.cpp57 OS << LIS->getInstructionIndex(*I); in printRegion()
64 OS << LIS->getInstructionIndex(*I); in printRegion()
69 if (LIS) OS << LIS->getInstructionIndex(*End) << '\t'; in printRegion()
378 auto SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot(); in scheduleRegion()
DSIFormMemoryClauses.cpp338 SlotIndex ClauseLiveInIdx = LIS->getInstructionIndex(MI); in runOnMachineFunction()
340 LIS->getInstructionIndex(*LastClauseInst).getNextIndex(); in runOnMachineFunction()
DSIWholeQuadMode.cpp320 LiveQueryResult UseLRQ = LR.Query(LIS->getInstructionIndex(UseMI)); in markDefs()
403 LiveQueryResult LRQ = LR.Query(LIS->getInstructionIndex(*MI)); in markDefs()
459 const VNInfo *Value = LR.Query(LIS->getInstructionIndex(MI)).valueIn(); in markOperand()
1144 SlotIndex FirstIdx = First != MBBE ? LIS->getInstructionIndex(*First) in prepareInsertion()
1147 Last != MBBE ? LIS->getInstructionIndex(*Last) : LIS->getMBBEndIdx(&MBB); in prepareInsertion()
1167 SlotIndex Next = LIS->getInstructionIndex(*NextI); in prepareInsertion()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DLiveRangeEdit.cpp169 DefIdx = LIS.getInstructionIndex(*RM.OrigMI); in canRematerializeAt()
236 if (!allUsesAvailableAt(DefMI, LIS.getInstructionIndex(*DefMI), in foldAsLoad()
237 LIS.getInstructionIndex(*UseMI))) in foldAsLoad()
271 SlotIndex Idx = LIS.getInstructionIndex(MI).getRegSlot(); in useIsKill()
287 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in eliminateDeadDef()
DRenameIndependentSubregs.cpp189 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); in findComponents()
223 SlotIndex Pos = LIS->getInstructionIndex(*MI); in rewriteOperands()
355 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); in computeMainRangesFixFlags()
360 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()).getDeadSlot(); in computeMainRangesFixFlags()
DLiveIntervals.cpp237 RegMaskSlots.push_back(Indexes->getInstructionIndex(MI).getRegSlot()); in computeRegMasks()
248 Indexes->getInstructionIndex(MBB.back()).getRegSlot()); in computeRegMasks()
472 SlotIndex Idx = getInstructionIndex(UseMI).getRegSlot(); in shrinkToUses()
572 SlotIndex Idx = getInstructionIndex(*UseMI).getRegSlot(); in shrinkToUses()
873 SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
875 LiveRange::Segment S(SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
1463 SlotIndex InstSlot = LIS.getSlotIndexes()->getInstructionIndex(MI); in findLastUseBefore()
1488 SlotIndex Idx = Indexes->getInstructionIndex(*MII); in findLastUseBefore()
1510 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMove()
1534 SlotIndex OldIndex = Indexes->getInstructionIndex(*I, true); in handleMoveIntoNewBundle()
[all …]
DLiveIntervalCalc.cpp37 Indexes.getInstructionIndex(MI).getRegSlot(MO.isEarlyClobber()); in createDeadDef()
189 UseIdx = Indexes->getInstructionIndex(*MI).getRegSlot(isEarlyClobber); in extendToUses()
DRegisterCoalescer.cpp624 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in adjustCopiesBackFrom()
835 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in removeCopyByCommutingDef()
885 SlotIndex UseIdx = LIS->getInstructionIndex(*UseMI); in removeCopyByCommutingDef()
935 SlotIndex UseIdx = LIS->getInstructionIndex(*UseMI).getRegSlot(true); in removeCopyByCommutingDef()
1108 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot(true); in removePartialRedundancy()
1178 SlotIndex InsPosIdx = LIS->getInstructionIndex(*InsPos).getRegSlot(true); in removePartialRedundancy()
1283 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI); in reMaterializeTrivialDef()
1468 SlotIndex CurrIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1494 SlotIndex CurrIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1547 SlotIndex NewMIIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
[all …]
DInlineSpiller.cpp396 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpillInsideBB()
481 SlotIndex Idx = LIS.getInstructionIndex(MI); in eliminateRedundantSpills()
591 SlotIndex UseIdx = LIS.getInstructionIndex(MI).getRegSlot(true); in reMaterializeFor()
797 SlotIndex Idx = LIS.getInstructionIndex(*I).getRegSlot(); in dumpMachineInstrRangeWithSlotIndex()
925 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in foldMemoryOperand()
1108 SlotIndex Idx = LIS.getInstructionIndex(MI).getRegSlot(); in spillAroundUses()
1258 SlotIndex Idx = LIS.getInstructionIndex(Spill); in addToMergeableSpills()
1271 SlotIndex Idx = LIS.getInstructionIndex(Spill); in rmFromMergeableSpills()
1319 SlotIndex PIdx = LIS.getInstructionIndex(*PrevSpill); in rmRedundantSpills()
1320 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills()
DSlotIndexes.cpp187 startIdx = getInstructionIndex(*--Begin); in repairIndexesInRange()
193 endIdx = getInstructionIndex(*End); in repairIndexesInRange()
DRegisterPressure.cpp315 return LIS->getInstructionIndex(*IdxPos).getRegSlot(); in getCurrSlot()
582 SlotIndex SlotIdx = LIS.getInstructionIndex(MI); in detectDeadDefs()
800 SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recede()
866 SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recedeSkipDebugValues()
886 SlotIndex SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recede()
1047 SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot(); in bumpUpwardPressure()
1232 SlotIndex InstSlot = LIS->getInstructionIndex(*MI).getRegSlot(); in findUseBetween()
1288 SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot(); in bumpDownwardPressure()
DStackColoring.cpp784 LLVM_DEBUG(Indexes->getInstructionIndex(MI).print(dbgs())); in collectMarkers()
883 SlotIndex ThisIndex = Indexes->getInstructionIndex(MI); in calculateLiveIntervals()
1062 SlotIndex Index = Indexes->getInstructionIndex(I); in remapInstructions()
1183 SlotIndex Index = Indexes->getInstructionIndex(I); in removeInvalidSlotRanges()
DVirtRegMap.cpp391 SlotIndex BaseIndex = LIS->getInstructionIndex(MI); in readsUndefSubreg()
514 SlotIndex MIIndex = LIS->getInstructionIndex(MI); in subRegLiveThrough()
DSplitKit.h87 Res = LIS.getInstructionIndex(*MII); in getFirstInsertPoint()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp264 unsigned getInstructionIndex(const Instruction *I) { in getInstructionIndex() function in __anonf49e23310111::LargeBlockInfo
468 StoreIndex = LBI.getInstructionIndex(OnlyStore); in rewriteSingleStoreAlloca()
470 if (unsigned(StoreIndex) > LBI.getInstructionIndex(LI)) { in rewriteSingleStoreAlloca()
559 StoresByIndex.push_back(std::make_pair(LBI.getInstructionIndex(SI), SI)); in promoteSingleBlockAlloca()
572 unsigned LoadIdx = LBI.getInstructionIndex(LI); in promoteSingleBlockAlloca()
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DLiveIntervals.h220 SlotIndex getInstructionIndex(const MachineInstr &Instr) const { in getInstructionIndex() function
221 return Indexes->getInstructionIndex(Instr); in getInstructionIndex()
DSlotIndexes.h390 SlotIndex getInstructionIndex(const MachineInstr &MI,
626 : getInstructionIndex(mbb->front()).listEntry();

12