Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveIntervalAnalysis.cpp162 MachineInstr *firstMI = getInstructionFromIndex(idx); in conflictsWithPhysReg()
165 firstMI = getInstructionFromIndex(idx); in conflictsWithPhysReg()
172 MachineInstr *lastMI = getInstructionFromIndex(lastIdx); in conflictsWithPhysReg()
175 lastMI = getInstructionFromIndex(lastIdx); in conflictsWithPhysReg()
226 MachineInstr *MI = getInstructionFromIndex(index); in conflictsWithAliasRef()
277 MachineInstr *DefMI = getInstructionFromIndex(OldLR->valno->def); in isPartialRedef()
392 assert(getInstructionFromIndex(Start) == 0 && in handleVirtualRegisterDef()
529 if (getInstructionFromIndex(baseIndex) == 0) in handlePhysicalRegisterDef()
615 if (getInstructionFromIndex(baseIndex) == 0) in handleLiveInRegister()
657 assert(getInstructionFromIndex(defIdx) == 0 && in handleLiveInRegister()
[all …]
DSplitKit.cpp463 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
480 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
530 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
562 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
615 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
1000 MachineInstr *MI = LIS.getInstructionFromIndex(LII->valno->def); in deleteRematVictims()
1122 if (LIS.getInstructionFromIndex(BI.FirstInstr)->isCopyLike()) in shouldSplitSingleBlock()
DInlineSpiller.cpp574 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in traceSiblingValue()
655 DefMI = LIS.getInstructionFromIndex(VNI->def); in analyzeSiblingValues()
719 MachineInstr *DefMI = LIS.getInstructionFromIndex(SVI.SpillVNI->def); in hoistSpill()
822 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in markValueUsed()
897 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
947 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
DLiveRangeEdit.cpp64 MachineInstr *DefMI = lis.getInstructionFromIndex(VNI->def); in scanRemattable()
127 RM.OrigMI = lis.getInstructionFromIndex(DefIdx); in canRematerializeAt()
DSplitter.cpp185 assert(ls.lis->getInstructionFromIndex(newDefIdx) == 0 && in applyOutgoing()
523 assert(lis->getInstructionFromIndex(newDefIdx) == 0 && in insertPreHeader()
623 assert(lis->getInstructionFromIndex(newDefIdx) == 0 && in splitEdge()
DRegisterCoalescer.cpp482 LIS->getInstructionFromIndex(ValLR->end.getPrevSlot()); in AdjustCopiesBackFrom()
651 MachineInstr *DefMI = LIS->getInstructionFromIndex(AValNo->def); in RemoveCopyByCommutingDef()
808 MachineInstr *DefMI = LIS->getInstructionFromIndex(ValNo->def); in ReMaterializeTrivialDef()
1445 !CP.isCoalescable(LIS->getInstructionFromIndex(RI->start)))) { in JoinIntervals()
1457 !CP.isCoalescable(LIS->getInstructionFromIndex(LI->start))) { in JoinIntervals()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp280 FirstMI = LIS.getInstructionFromIndex(IntGR128.beginIndex()); in shouldCoalesce()
281 LastMI = LIS.getInstructionFromIndex(IntGRNar.endIndex()); in shouldCoalesce()
283 FirstMI = LIS.getInstructionFromIndex(IntGRNar.beginIndex()); in shouldCoalesce()
284 LastMI = LIS.getInstructionFromIndex(IntGR128.endIndex()); in shouldCoalesce()
/external/llvm/lib/CodeGen/
DCalcSpillWeights.cpp91 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
119 MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
DSplitKit.cpp117 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
459 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
507 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
524 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
574 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
606 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
658 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
1120 MachineInstr *MI = LIS.getInstructionFromIndex(S.valno->def); in deleteRematVictims()
1237 if (LIS.getInstructionFromIndex(BI.FirstInstr)->isCopyLike()) in shouldSplitSingleBlock()
DRegisterCoalescer.cpp516 MachineInstr *ACopyMI = LIS->getInstructionFromIndex(AValNo->def); in adjustCopiesBackFrom()
530 LIS->getInstructionFromIndex(ValS->end.getPrevSlot()); in adjustCopiesBackFrom()
664 MachineInstr *DefMI = LIS->getInstructionFromIndex(AValNo->def); in removeCopyByCommutingDef()
897 MachineInstr *DefMI = LIS->getInstructionFromIndex(ValNo->def); in reMaterializeTrivialDef()
1593 MachineInstr *MI = LIS->getInstructionFromIndex(SI); in joinReservedPhysReg()
1927 MachineInstr *MI = Indexes->getInstructionFromIndex(Def); in followCopyChain()
1998 DefMI = Indexes->getInstructionFromIndex(VNI->def); in analyzeValue()
2343 MI = Indexes->getInstructionFromIndex(VNI->def); in resolveConflicts()
2350 Indexes->getInstructionFromIndex(TaintExtent.front().first); in resolveConflicts()
2363 LastMI = Indexes->getInstructionFromIndex(TaintExtent[TaintNum].first); in resolveConflicts()
[all …]
DLiveIntervalAnalysis.cpp480 MachineInstr *MI = getInstructionFromIndex(Def); in computeDeadValues()
495 MachineInstr *MI = getInstructionFromIndex(Def); in computeDeadValues()
688 MachineInstr *MI = getInstructionFromIndex(RI->end); in addKillFlags()
1023 if (MachineInstr *KillMI = LIS.getInstructionFromIndex(OldIdxIn->end)) in handleMoveDown()
1341 if (MachineInstr *MI = Indexes->getInstructionFromIndex( in findLastUseBefore()
1409 bool isStartValid = getInstructionFromIndex(LII->start); in repairOldRegInRange()
1410 bool isEndValid = getInstructionFromIndex(LII->end); in repairOldRegInRange()
DInlineSpiller.cpp385 MachineInstr *DefMI = LIS.getInstructionFromIndex(SrcVNI->def); in hoistSpillInsideBB()
489 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in markValueUsed()
531 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in reMaterializeFor()
564 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
615 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
/external/llvm/include/llvm/CodeGen/
DLiveIntervalAnalysis.h207 MachineInstr* getInstructionFromIndex(SlotIndex index) const { in getInstructionFromIndex() function
208 return Indexes->getInstructionFromIndex(index); in getInstructionFromIndex()
DSlotIndexes.h431 MachineInstr* getInstructionFromIndex(SlotIndex index) const {
537 if (MachineInstr *MI = getInstructionFromIndex(index))
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSplitKit.cpp145 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
437 const MachineInstr *DefMI = LIS.getInstructionFromIndex(Def); in addDeadDef()
648 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
702 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
719 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
770 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
802 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
855 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
1417 MachineInstr *MI = LIS.getInstructionFromIndex(S.valno->def); in deleteRematVictims()
1568 if (LIS.getInstructionFromIndex(BI.FirstInstr)->isCopyLike()) in shouldSplitSingleBlock()
DCalcSpillWeights.cpp108 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
136 MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
DLiveIntervals.cpp516 MachineInstr *MI = getInstructionFromIndex(Def); in computeDeadValues()
531 MachineInstr *MI = getInstructionFromIndex(Def); in computeDeadValues()
724 MachineInstr *MI = getInstructionFromIndex(RI->end); in addKillFlags()
1065 if (MachineInstr *KillMI = LIS.getInstructionFromIndex(OldIdxIn->end)) in handleMoveDown()
1351 if (MachineInstr *KillMI = LIS.getInstructionFromIndex(NewIdx)) in handleMoveUp()
1417 if (MachineInstr *MI = Indexes->getInstructionFromIndex( in findLastUseBefore()
1490 bool isStartValid = getInstructionFromIndex(LII->start); in repairOldRegInRange()
1491 bool isEndValid = getInstructionFromIndex(LII->end); in repairOldRegInRange()
DRegisterCoalescer.cpp550 MachineInstr *ACopyMI = LIS->getInstructionFromIndex(AValNo->def); in adjustCopiesBackFrom()
564 LIS->getInstructionFromIndex(ValS->end.getPrevSlot()); in adjustCopiesBackFrom()
714 MachineInstr *DefMI = LIS->getInstructionFromIndex(AValNo->def); in removeCopyByCommutingDef()
966 MachineInstr *DefMI = LIS->getInstructionFromIndex(PVal->def); in removePartialRedundancy()
1113 MachineInstr *DefMI = LIS->getInstructionFromIndex(ValNo->def); in reMaterializeTrivialDef()
1922 MachineInstr *MI = LIS->getInstructionFromIndex(SI); in joinReservedPhysReg()
2268 MachineInstr *MI = Indexes->getInstructionFromIndex(Def); in followCopyChain()
2357 DefMI = Indexes->getInstructionFromIndex(VNI->def); in analyzeValue()
2705 MI = Indexes->getInstructionFromIndex(VNI->def); in resolveConflicts()
2712 Indexes->getInstructionFromIndex(TaintExtent.front().first); in resolveConflicts()
[all …]
DInlineSpiller.cpp403 MachineInstr *DefMI = LIS.getInstructionFromIndex(SrcVNI->def); in hoistSpillInsideBB()
506 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in markValueUsed()
547 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in reMaterializeFor()
581 auto *NewMI = LIS.getInstructionFromIndex(DefIdx); in reMaterializeFor()
586 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
640 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
/external/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp349 MachineInstr *MI = LIS->getInstructionFromIndex(K); in updateKillFlags()
371 MachineInstr *DefI = LIS->getInstructionFromIndex(NextI->start); in updateKillFlags()
399 LocalImpDefs.count(LIS->getInstructionFromIndex(S.start)); in removeImpDefSegments()
456 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
491 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
511 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLiveIntervals.h231 MachineInstr* getInstructionFromIndex(SlotIndex index) const { in getInstructionFromIndex() function
232 return Indexes->getInstructionFromIndex(index); in getInstructionFromIndex()
DSlotIndexes.h424 MachineInstr* getInstructionFromIndex(SlotIndex index) const {
534 if (MachineInstr *MI = getInstructionFromIndex(index))
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSlotIndexes.h501 MachineInstr* getInstructionFromIndex(SlotIndex index) const {
510 getInstructionFromIndex(nextNonNull) == 0) {
585 if (MachineInstr *MI = getInstructionFromIndex(index))
DLiveIntervalAnalysis.h200 MachineInstr* getInstructionFromIndex(SlotIndex index) const { in getInstructionFromIndex() function
201 return indexes_->getInstructionFromIndex(index); in getInstructionFromIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp318 MachineInstr *MI = LIS->getInstructionFromIndex(K); in updateKillFlags()
342 MachineInstr *DefI = LIS->getInstructionFromIndex(NextI->start); in updateKillFlags()
419 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
473 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
490 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()

123