Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp237 LIS.getInstructionIndex(*Insert))) in GetVRegDef()
256 LIS.getInstructionIndex(*Def).getRegSlot()); in HasOneUse()
259 const auto &Result = LI.Query(LIS.getInstructionIndex(*I.getParent())); in HasOneUse()
313 LI.getVNInfoAt(LIS.getInstructionIndex(*Def).getRegSlot()) : in IsSafeToMove()
314 LI.getVNInfoBefore(LIS.getInstructionIndex(*Def)); in IsSafeToMove()
316 VNInfo *InsVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*Insert)); in IsSafeToMove()
361 VNInfo *OneUseVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*OneUseInst)); in OneUseDominatesOtherUses()
368 VNInfo *UseVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*UseInst)); in OneUseDominatesOtherUses()
461 LI.removeSegment(LIS.getInstructionIndex(*Def).getRegSlot(), in MoveForSingleUse()
462 LIS.getInstructionIndex(*Op.getParent()).getRegSlot(), in MoveForSingleUse()
[all …]
DWebAssemblyStoreResults.cpp88 SlotIndex FromIdx = LIS.getInstructionIndex(MI).getRegSlot(); in ReplaceDominatedUses()
102 SlotIndex WhereIdx = LIS.getInstructionIndex(*Where); in ReplaceDominatedUses()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp274 LIS.getInstructionIndex(*Insert))) in GetVRegDef()
293 LIS.getInstructionIndex(*Def).getRegSlot()); in HasOneUse()
296 const auto &Result = LI.Query(LIS.getInstructionIndex(*I.getParent())); in HasOneUse()
394 VNInfo *OneUseVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*OneUseInst)); in OneUseDominatesOtherUses()
401 VNInfo *UseVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*UseInst)); in OneUseDominatesOtherUses()
496 LI.removeSegment(LIS.getInstructionIndex(*Def).getRegSlot(), in MoveForSingleUse()
497 LIS.getInstructionIndex(*Op.getParent()).getRegSlot(), in MoveForSingleUse()
535 IsDead = !LI.liveAt(LIS.getInstructionIndex(Def).getDeadSlot()); in RematerializeCheapDef()
541 SlotIndex Idx = LIS.getInstructionIndex(Def).getRegSlot(); in RematerializeCheapDef()
593 SlotIndex DefIdx = LIS.getInstructionIndex(*Def).getRegSlot(); in MoveAndTeeForMultiUse()
DWebAssemblyStoreResults.cpp89 SlotIndex FromIdx = LIS.getInstructionIndex(MI).getRegSlot(); in ReplaceDominatedUses()
103 SlotIndex WhereIdx = LIS.getInstructionIndex(*Where); in ReplaceDominatedUses()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DStrongPHIElimination.cpp185 return LI->getInstructionIndex(LHS) < LI->getInstructionIndex(RHS); in operator ()()
392 SlotIndex LastUseIndex = LI->getInstructionIndex(LastUse->getParent()); in runOnMachineFunction()
575 && LI->getInterval(NewParent).liveAt(LI->getInstructionIndex(*BBI))) { in SplitInterferencesForBasicBlock()
734 SlotIndex PHIIndex = LI->getInstructionIndex(PHI); in InsertCopiesForPHI()
747 SlotIndex PHIIndex = LI->getInstructionIndex(PHI); in InsertCopiesForPHI()
780 SlotIndex DestCopyIndex = LI->getInstructionIndex(CopyInstr); in InsertCopiesForPHI()
792 SlotIndex PHIIndex = LI->getInstructionIndex(PHI); in InsertCopiesForPHI()
DRegisterCoalescer.cpp426 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getDefIndex(); in AdjustCopiesBackFrom()
628 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getDefIndex(); in RemoveCopyByCommutingDef()
698 SlotIndex UseIdx = LIS->getInstructionIndex(UseMI); in RemoveCopyByCommutingDef()
750 SlotIndex UseIdx = LIS->getInstructionIndex(UseMI).getUseIndex(); in RemoveCopyByCommutingDef()
802 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getUseIndex(); in ReMaterializeTrivialDef()
877 SlotIndex Idx = LIS->getInstructionIndex(CopyMI); in eliminateUndefCopy()
902 SlotIndex Idx = LIS->getInstructionIndex(MI); in eliminateUndefCopy()
986 dbgs() << LIS->getInstructionIndex(UseMI) << "\t"; in UpdateRegDefsUses()
1016 SlotIndex DefIdx = LIS->getInstructionIndex(DefMI).getDefIndex(); in RemoveDeadDef()
1026 SlotIndex DefIdx = LIS->getInstructionIndex(CopyMI).getDefIndex(); in RemoveCopyFlag()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveRangeEdit.cpp152 DefIdx = LIS.getInstructionIndex(*RM.OrigMI); in canRematerializeAt()
213 if (!allUsesAvailableAt(DefMI, LIS.getInstructionIndex(*DefMI), in foldAsLoad()
214 LIS.getInstructionIndex(*UseMI))) in foldAsLoad()
245 SlotIndex Idx = LIS.getInstructionIndex(MI).getRegSlot(); in useIsKill()
262 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.cpp230 RegMaskSlots.push_back(Indexes->getInstructionIndex(MI).getRegSlot()); in computeRegMasks()
241 Indexes->getInstructionIndex(MBB.back()).getRegSlot()); in computeRegMasks()
466 SlotIndex Idx = getInstructionIndex(UseMI).getRegSlot(); in shrinkToUses()
565 SlotIndex Idx = getInstructionIndex(*UseMI).getRegSlot(); in shrinkToUses()
872 SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
874 LiveRange::Segment S(SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
1401 SlotIndex InstSlot = LIS.getSlotIndexes()->getInstructionIndex(MI); in findLastUseBefore()
1426 SlotIndex Idx = Indexes->getInstructionIndex(*MII); in findLastUseBefore()
1446 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMove()
1460 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMoveIntoBundle()
[all …]
DInlineSpiller.cpp370 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpillInsideBB()
450 SlotIndex Idx = LIS.getInstructionIndex(MI); in eliminateRedundantSpills()
527 SlotIndex UseIdx = LIS.getInstructionIndex(MI).getRegSlot(true); in reMaterializeFor()
733 SlotIndex Idx = LIS.getInstructionIndex(*I).getRegSlot(); in dumpMachineInstrRangeWithSlotIndex()
828 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in foldMemoryOperand()
966 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in spillAroundUses()
1118 SlotIndex Idx = LIS.getInstructionIndex(Spill); in addToMergeableSpills()
1131 SlotIndex Idx = LIS.getInstructionIndex(Spill); in rmFromMergeableSpills()
1145 Idx = LIS.getInstructionIndex(*MI); in isSpillCandBB()
1176 SlotIndex PIdx = LIS.getInstructionIndex(*PrevSpill); in rmRedundantSpills()
[all …]
DRegisterCoalescer.cpp514 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in adjustCopiesBackFrom()
705 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in removeCopyByCommutingDef()
755 SlotIndex UseIdx = LIS->getInstructionIndex(*UseMI); in removeCopyByCommutingDef()
809 SlotIndex UseIdx = LIS->getInstructionIndex(*UseMI).getRegSlot(true); in removeCopyByCommutingDef()
950 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot(true); in removePartialRedundancy()
1020 SlotIndex InsPosIdx = LIS->getInstructionIndex(*InsPos).getRegSlot(true); in removePartialRedundancy()
1108 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI); in reMaterializeTrivialDef()
1275 SlotIndex CurrIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1301 SlotIndex CurrIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1343 SlotIndex NewMIIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
[all …]
DRegisterPressure.cpp300 return LIS->getInstructionIndex(*IdxPos).getRegSlot(); in getCurrSlot()
566 SlotIndex SlotIdx = LIS.getInstructionIndex(MI); in detectDeadDefs()
785 SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recede()
851 SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recedeSkipDebugValues()
865 SlotIndex SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recede()
1026 SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot(); in bumpUpwardPressure()
1211 SlotIndex InstSlot = LIS->getInstructionIndex(*MI).getRegSlot(); in findUseBetween()
1267 SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot(); in bumpDownwardPressure()
DSlotIndexes.cpp200 startIdx = getInstructionIndex(*Begin); in repairIndexesInRange()
206 endIdx = getInstructionIndex(*End); in repairIndexesInRange()
/external/llvm/lib/CodeGen/
DLiveRangeEdit.cpp130 DefIdx = LIS.getInstructionIndex(*RM.OrigMI); in canRematerializeAt()
191 if (!allUsesAvailableAt(DefMI, LIS.getInstructionIndex(*DefMI), in foldAsLoad()
192 LIS.getInstructionIndex(*UseMI))) in foldAsLoad()
223 SlotIndex Idx = LIS.getInstructionIndex(MI).getRegSlot(); in useIsKill()
240 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in eliminateDeadDef()
DRenameIndependentSubregs.cpp189 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); in findComponents()
224 SlotIndex Pos = LIS->getInstructionIndex(MI); in rewriteOperands()
343 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); in computeMainRangesFixFlags()
348 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()).getDeadSlot(); in computeMainRangesFixFlags()
DLiveIntervalAnalysis.cpp224 RegMaskSlots.push_back(Indexes->getInstructionIndex(MI).getRegSlot()); in computeRegMasks()
235 Indexes->getInstructionIndex(MBB.back()).getRegSlot()); in computeRegMasks()
431 SlotIndex Idx = getInstructionIndex(*UseMI).getRegSlot(); in shrinkToUses()
529 SlotIndex Idx = getInstructionIndex(*UseMI).getRegSlot(); in shrinkToUses()
831 SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
833 LiveRange::Segment S(SlotIndex(getInstructionIndex(startInst).getRegSlot()), in addSegmentToEndOfBlock()
1325 SlotIndex InstSlot = LIS.getSlotIndexes()->getInstructionIndex(MI); in findLastUseBefore()
1350 SlotIndex Idx = Indexes->getInstructionIndex(*MII); in findLastUseBefore()
1370 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMove()
1384 SlotIndex OldIndex = Indexes->getInstructionIndex(MI); in handleMoveIntoBundle()
[all …]
DInlineSpiller.cpp352 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpillInsideBB()
432 SlotIndex Idx = LIS.getInstructionIndex(MI); in eliminateRedundantSpills()
511 SlotIndex UseIdx = LIS.getInstructionIndex(MI).getRegSlot(true); in reMaterializeFor()
704 SlotIndex Idx = LIS.getInstructionIndex(*I).getRegSlot(); in dumpMachineInstrRangeWithSlotIndex()
791 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in foldMemoryOperand()
911 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in spillAroundUses()
1057 SlotIndex Idx = LIS.getInstructionIndex(Spill); in addToMergeableSpills()
1071 SlotIndex Idx = LIS.getInstructionIndex(Spill); in rmFromMergeableSpills()
1086 Idx = LIS.getInstructionIndex(*MI); in isSpillCandBB()
1119 SlotIndex PIdx = LIS.getInstructionIndex(*PrevSpill); in rmRedundantSpills()
[all …]
DRegisterCoalescer.cpp480 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in adjustCopiesBackFrom()
655 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in removeCopyByCommutingDef()
705 SlotIndex UseIdx = LIS->getInstructionIndex(*UseMI); in removeCopyByCommutingDef()
759 SlotIndex UseIdx = LIS->getInstructionIndex(*UseMI).getRegSlot(true); in removeCopyByCommutingDef()
892 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI); in reMaterializeTrivialDef()
1053 SlotIndex CurrIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1092 SlotIndex NewMIIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1106 SlotIndex NewMIIdx = LIS->getInstructionIndex(NewMI); in reMaterializeTrivialDef()
1150 SlotIndex Idx = LIS->getInstructionIndex(*CopyMI); in eliminateUndefCopy()
1193 SlotIndex UseIdx = LIS->getInstructionIndex(MI); in eliminateUndefCopy()
[all …]
DSlotIndexes.cpp158 startIdx = getInstructionIndex(*Begin); in repairIndexesInRange()
164 endIdx = getInstructionIndex(*End); in repairIndexesInRange()
DRegisterPressure.cpp274 return LIS->getInstructionIndex(*IdxPos).getRegSlot(); in getCurrSlot()
541 SlotIndex SlotIdx = LIS.getInstructionIndex(MI); in detectDeadDefs()
760 SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recede()
828 SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recedeSkipDebugValues()
842 SlotIndex SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); in recede()
1005 SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot(); in bumpUpwardPressure()
1190 SlotIndex InstSlot = LIS->getInstructionIndex(*MI).getRegSlot(); in findUseBetween()
1244 SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot(); in bumpDownwardPressure()
/external/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp260 SlotIndex PairedIndex = LIS->getInstructionIndex(*Paired); in mergeRead2Pair()
279 SlotIndex Read2Index = LIS->getInstructionIndex(*Read2); in mergeRead2Pair()
328 SlotIndex PairedIndex = LIS->getInstructionIndex(*Paired); in mergeWrite2Pair()
356 SlotIndex Write2Index = LIS->getInstructionIndex(*Write2); in mergeWrite2Pair()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DGCNRegPressure.h196 return getLiveRegs(LIS.getInstructionIndex(MI).getDeadSlot(), LIS, in getLiveRegsAfter()
202 return getLiveRegs(LIS.getInstructionIndex(MI).getBaseIndex(), LIS, in getLiveRegsBefore()
DGCNIterativeScheduler.cpp74 OS << LIS->getInstructionIndex(*I); in printRegion()
81 OS << LIS->getInstructionIndex(*I); in printRegion()
86 if (LIS) OS << LIS->getInstructionIndex(*End) << '\t'; in printRegion()
400 auto SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot(); in scheduleRegion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp203 unsigned getInstructionIndex(const Instruction *I) { in getInstructionIndex() function in __anonf8a426cf0111::LargeBlockInfo
387 StoreIndex = LBI.getInstructionIndex(OnlyStore); in rewriteSingleStoreAlloca()
389 if (unsigned(StoreIndex) > LBI.getInstructionIndex(LI)) { in rewriteSingleStoreAlloca()
476 StoresByIndex.push_back(std::make_pair(LBI.getInstructionIndex(SI), SI)); in promoteSingleBlockAlloca()
489 unsigned LoadIdx = LBI.getInstructionIndex(LI); in promoteSingleBlockAlloca()
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp194 unsigned getInstructionIndex(const Instruction *I) { in getInstructionIndex() function in __anonf252b8970111::LargeBlockInfo
366 StoreIndex = LBI.getInstructionIndex(OnlyStore); in rewriteSingleStoreAlloca()
368 if (unsigned(StoreIndex) > LBI.getInstructionIndex(LI)) { in rewriteSingleStoreAlloca()
450 StoresByIndex.push_back(std::make_pair(LBI.getInstructionIndex(SI), SI)); in promoteSingleBlockAlloca()
463 unsigned LoadIdx = LBI.getInstructionIndex(LI); in promoteSingleBlockAlloca()

1234