Home
last modified time | relevance | path

Searched refs:LIS (Results 1 – 25 of 129) sorted by relevance

123456

/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSILowerControlFlow.cpp264 if (!LIS) { in emitIf()
318 if (LIS) in emitElse()
334 if (!LIS) { in emitElse()
383 if (LIS) in emitIfBreak()
390 if (LIS) { in emitIfBreak()
413 if (LIS) { in emitLoop()
485 if (LIS) in emitEndCf()
490 if (LIS) in emitEndCf()
644 if (LIS) in lowerInitExec()
699 if (!LIS) { in lowerInitExec()
[all …]
H A DSIOptimizeExecMaskingPreRA.cpp33 LiveIntervals *LIS; member in __anon1d184e4a0111::SIOptimizeExecMaskingPreRA
188 LIS->RemoveMachineInstrFromMaps(*And); in optimizeVcndVcmpPair()
200 LIS->InsertMachineInstrInMaps(*Andn2); in optimizeVcndVcmpPair()
214 LIS->RemoveMachineInstrFromMaps(*Cmp); in optimizeVcndVcmpPair()
221 LIS->RemoveMachineInstrFromMaps(*Sel); in optimizeVcndVcmpPair()
285 LiveRange &RegUnit = LIS->getRegUnit(*UI); in optimizeElseBranch()
291 LIS->removeInterval(SavedExecReg); in optimizeElseBranch()
292 LIS->removeInterval(DstReg); in optimizeElseBranch()
312 LIS = &getAnalysis<LiveIntervals>(); in runOnMachineFunction()
430 LIS->removeInterval(SavedExec); in runOnMachineFunction()
[all …]
H A DGCNRegPressure.h112 const LiveIntervals &LIS;
118 GCNRPTracker(const LiveIntervals &LIS_) : LIS(LIS_) {} in GCNRPTracker()
198 const LiveIntervals &LIS,
202 const LiveIntervals &LIS,
212 getLiveRegMap(Range &&R, bool After, LiveIntervals &LIS) { in getLiveRegMap() argument
215 auto &SII = *LIS.getSlotIndexes(); in getLiveRegMap()
227 if (!LIS.hasInterval(Reg)) in getLiveRegMap()
229 auto &LI = LIS.getInterval(Reg); in getLiveRegMap()
251 return getLiveRegs(LIS.getInstructionIndex(MI).getDeadSlot(), LIS, in getLiveRegsAfter()
257 return getLiveRegs(LIS.getInstructionIndex(MI).getBaseIndex(), LIS, in getLiveRegsBefore()
[all …]
H A DSIWholeQuadMode.cpp158 LiveIntervals *LIS; member in __anone9b8e3ff0111::SIWholeQuadMode
727 LIS->InsertMachineInstrInMaps(*Save); in saveSCC()
990 LIS->RemoveMachineInstrFromMaps(MI); in lowerKillI1()
1004 LIS->removeInterval(CndReg); in lowerKillI1()
1082 Last != MBBE ? LIS->getInstructionIndex(*Last) : LIS->getMBBEndIdx(&MBB); in prepareInsertion()
1155 LIS->InsertMachineInstrInMaps(*MI); in toExact()
1171 LIS->InsertMachineInstrInMaps(*MI); in toWQM()
1192 LIS->InsertMachineInstrInMaps(*MI); in toStrictMode()
1215 LIS->InsertMachineInstrInMaps(*MI); in fromStrictMode()
1449 LIS->removeInterval(Reg); in lowerCopyInstrs()
[all …]
H A DGCNRegPressure.cpp24 const LiveIntervals &LIS, in printLivesAt() argument
27 << *LIS.getInstructionFromIndex(SI); in printLivesAt()
31 if (!LIS.hasInterval(Reg)) in printLivesAt()
33 const auto &LI = LIS.getInterval(Reg); in printLivesAt()
215 return getLiveLaneMask(MO.getReg(), SI, LIS, MRI); in getUsedRegMask()
228 auto const UsedMask = getUsedRegMask(MO, MRI, LIS); in collectVirtualRegUses()
249 const auto &LI = LIS.getInterval(Reg); in getLiveLaneMask()
269 if (!LIS.hasInterval(Reg)) in getLiveRegs()
287 LiveRegs = After ? getLiveRegsAfter(MI, LIS) in reset()
288 : getLiveRegsBefore(MI, LIS); in reset()
[all …]
H A DGCNIterativeScheduler.cpp56 if (!I->isDebugInstr() && LIS) in printRegion()
57 OS << LIS->getInstructionIndex(*I); in printRegion()
63 if (!I->isDebugInstr() && LIS) in printRegion()
64 OS << LIS->getInstructionIndex(*I); in printRegion()
69 if (LIS) OS << LIS->getInstructionIndex(*End) << '\t'; in printRegion()
97 printRegion(OS, R->Begin, R->End, LIS, 1); in printRegions()
109 printRegion(OS, R->Begin, R->End, LIS); in printSchedResult()
227 , UPTracker(*LIS) { in GCNIterativeScheduler()
267 GCNUpwardRPTracker RPTracker(*LIS); in getSchedulePressure()
359 assert(LIS != nullptr); in scheduleRegion()
[all …]
H A DSILowerSGPRSpills.cpp45 LiveIntervals *LIS = nullptr; member in __anon19ee7eac0111::SILowerSGPRSpills
83 LiveIntervals *LIS) { in insertCSRSaves() argument
109 if (LIS) { in insertCSRSaves()
113 LIS->InsertMachineInstrInMaps(Inst); in insertCSRSaves()
114 LIS->removeAllRegUnitsForPhysReg(Reg); in insertCSRSaves()
123 LiveIntervals *LIS) { in insertCSRRestores() argument
146 if (LIS) { in insertCSRRestores()
148 LIS->InsertMachineInstrInMaps(Inst); in insertCSRRestores()
149 LIS->removeAllRegUnitsForPhysReg(Reg); in insertCSRRestores()
233 insertCSRSaves(*SaveBlock, CSI, LIS); in spillCalleeSavedRegs()
[all …]
H A DSIFormMemoryClauses.cpp271 LiveIntervals *LIS = &getAnalysis<LiveIntervals>(); in runOnMachineFunction() local
272 SlotIndexes *Ind = LIS->getSlotIndexes(); in runOnMachineFunction()
281 GCNDownwardRPTracker RPT(*LIS); in runOnMachineFunction()
338 SlotIndex ClauseLiveInIdx = LIS->getInstructionIndex(MI); in runOnMachineFunction()
340 LIS->getInstructionIndex(*LastClauseInst).getNextIndex(); in runOnMachineFunction()
354 const LiveInterval &LI = LIS->getInterval(R.first); in runOnMachineFunction()
409 LIS->removeInterval(Reg); in runOnMachineFunction()
410 LIS->createAndComputeVirtRegInterval(Reg); in runOnMachineFunction()
417 LIS->removeInterval(Reg); in runOnMachineFunction()
418 LIS->createAndComputeVirtRegInterval(Reg); in runOnMachineFunction()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp275 LIS.getInstructionIndex(*Insert))) in getVRegDef()
505 if (LIS.shrinkToUses(&LI)) { in shrinkToUses()
523 LIS.handleMove(*Def); in moveForSingleUse()
572 LIS.InsertMachineInstrInMaps(*Clone); in rematerializeCheapDef()
583 shrinkToUses(LI, LIS); in rematerializeCheapDef()
593 LIS.removeInterval(Reg); in rematerializeCheapDef()
594 LIS.RemoveMachineInstrFromMaps(Def); in rematerializeCheapDef()
636 LIS.handleMove(*Def); in moveAndTeeForMultiUse()
655 LiveInterval &LI = LIS.getInterval(Reg); in moveAndTeeForMultiUse()
660 shrinkToUses(LI, LIS); in moveAndTeeForMultiUse()
[all …]
H A DWebAssemblyMemIntrinsicResults.cpp88 LiveIntervals &LIS) { in replaceDominatedUses() argument
91 LiveInterval *FromLI = &LIS.getInterval(FromReg); in replaceDominatedUses()
92 LiveInterval *ToLI = &LIS.getInterval(ToReg); in replaceDominatedUses()
94 SlotIndex FromIdx = LIS.getInstructionIndex(MI).getRegSlot(); in replaceDominatedUses()
109 SlotIndex WhereIdx = LIS.getInstructionIndex(*Where); in replaceDominatedUses()
134 LIS.extendToIndices(*ToLI, Indices); in replaceDominatedUses()
137 LIS.shrinkToUses(FromLI); in replaceDominatedUses()
151 MachineDominatorTree &MDT, LiveIntervals &LIS, in optimizeCall() argument
174 return replaceDominatedUses(MBB, MI, FromReg, ToReg, MRI, MDT, LIS); in optimizeCall()
189 auto &LIS = getAnalysis<LiveIntervals>(); in runOnMachineFunction() local
[all …]
H A DWebAssemblyOptimizeLiveIntervals.cpp75 auto &LIS = getAnalysis<LiveIntervals>(); in runOnMachineFunction() local
91 LIS.splitSeparateComponents(LIS.getInterval(Reg), SplitLIs); in runOnMachineFunction()
112 LiveInterval &LI = LIS.getInterval(MI->getOperand(0).getReg()); in runOnMachineFunction()
113 LIS.removeVRegDefAt(LI, LIS.getInstructionIndex(*MI).getRegSlot()); in runOnMachineFunction()
114 LIS.RemoveMachineInstrFromMaps(*MI); in runOnMachineFunction()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLiveRangeEdit.cpp39 LiveInterval &LI = LIS.createEmptyInterval(VReg); in createEmptyIntervalFrom()
46 LiveInterval &OldLI = LIS.getInterval(OldReg); in createEmptyIntervalFrom()
66 LIS.getInterval(VReg).markNotSpillable(); in createFrom()
151 DefIdx = LIS.getInstructionIndex(*RM.OrigMI); in canRematerializeAt()
182 LIS.removeInterval(Reg); in eraseVirtReg()
321 LiveInterval &LI = LIS.getInterval(Reg); in eliminateDeadDef()
335 LIS.removeVRegDefAt(LI, Idx); in eliminateDeadDef()
376 LIS.RemoveMachineInstrFromMaps(*MI); in eliminateDeadDef()
387 ToShrink.remove(&LIS.getInterval(Reg)); in eliminateDeadDef()
414 if (!LIS.shrinkToUses(LI, &Dead)) in eliminateDeadDefs()
[all …]
H A DSplitKit.cpp61 : LIS(lis), LastInsertPoint(BBNum) {} in InsertPointAnalysis()
68 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); in computeLastInsertPoint()
144 if (LIP == LIS.getMBBEndIdx(&MBB)) in getLastInsertPointIter()
146 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
197 const_cast<LiveIntervals&>(LIS) in analyzeUses()
337 Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
371 : SA(SA), AA(AA), LIS(LIS), VRM(VRM), in SplitEditor()
732 useIntv(LIS.getMBBStartIdx(&MBB), LIS.getMBBEndIdx(&MBB)); in useIntv()
822 assert(LIS.getMBBFromIndex(Start) == LIS.getMBBFromIndex(End) && in overlapIntv()
865 LIS.removeVRegDefAt(*LI, Def); in removeBackCopies()
[all …]
H A DPHIElimination.cpp70 LiveIntervals *LIS; member in __anona4abce8f0111::PHIElimination
205 if (LIS) in runOnMachineFunction()
213 if (LIS) in runOnMachineFunction()
379 if (LIS) { in LowerPHINode()
543 if (LIS) { in LowerPHINode()
605 if (LIS) in LowerPHINode()
708 assert((LV || LIS) && in isLiveIn()
710 if (LIS) in isLiveIn()
711 return LIS->isLiveInToMBB(LIS->getInterval(Reg), MBB); in isLiveIn()
718 assert((LV || LIS) && in isLiveOutPastPHIs()
[all …]
H A DInlineSpiller.cpp88 LiveIntervals &LIS; member in __anon8a293cef0111::HoistSpillHelper
150 IPA(LIS, mf.getNumBlockIDs()) {} in HoistSpillHelper()
161 LiveIntervals &LIS; member in __anon8a293cef0111::InlineSpiller
280 LIS.getInterval(MO.getReg()); in getVDefInterval()
431 getVDefInterval(MI, LIS); in hoistSpillInsideBB()
734 assert(LIS.hasInterval(Reg) && in reMaterializeAll()
765 LIS.RemoveMachineInstrFromMaps(*MI); in coalesceStackAccess()
937 LIS.InsertMachineInstrInMaps(MI); in foldMemoryOperand()
1023 getVDefInterval(MI, LIS); in insertSpill()
1172 LIS.RemoveMachineInstrFromMaps(MI); in spillAll()
[all …]
H A DRegisterCoalescer.cpp131 LiveIntervals *LIS = nullptr; member in __anon5a10f78b0111::RegisterCoalescer
695 LIS->getMBBStartIdx(LIS->getMBBFromIndex(FillerStart)); in adjustCopiesBackFrom()
1687 LIS->shrinkToUses(&DstLI); in eliminateUndefCopy()
1867 LIS->shrinkToUses(&LI); in setUndefOnPrunedSubRegUses()
2328 LiveIntervals *LIS; member in __anon5a10f78b0311::JoinVals
2482 NewVNInfo(newVNInfo), CP(cp), LIS(lis), Indexes(LIS->getSlotIndexes()), in JoinVals()
3775 return LIS->intervalIsInOneMBB(LIS->getInterval(SrcReg)) in isLocalCopy()
3776 || LIS->intervalIsInOneMBB(LIS->getInterval(DstReg)); in isLocalCopy()
3781 if (!LIS->hasInterval(reg)) in lateLiveIntervalUpdate()
3892 if (isLocalCopy(&MI, LIS)) { in copyCoalesceInMBB()
[all …]
H A DRegAllocPBQP.cpp193 LiveIntervals &LIS = G.getMetadata().LIS; in apply() local
310 LiveIntervals &LIS = G.getMetadata().LIS; in apply() local
334 LiveInterval &LI = LIS.getInterval(VReg); in apply()
594 LiveIntervals &LIS = G.getMetadata().LIS; in initializeGraph() local
666 if (LIS.getInterval(VReg).empty()) { in initializeGraph()
695 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM, in spillVReg()
721 LiveIntervals &LIS = G.getMetadata().LIS; in mapPBQPToRegAlloc() local
762 LiveInterval &LI = LIS.getInterval(R); in finalizeAlloc()
826 findVRegIntervalsToAlloc(MF, LIS); in runOnMachineFunction()
876 finalizeAlloc(MF, LIS, VRM); in runOnMachineFunction()
[all …]
H A DTwoAddressInstructionPass.cpp291 if (LIS && Reg.isVirtual() && !LIS->isNotInMIMap(*MI)) { in isPlainlyKilled()
599 if (LIS) in convertInstTo3Addr()
731 if (LIS) { in rescheduleMIBelowKill()
854 if (LIS) { in rescheduleMIBelowKill()
871 if (LIS) { in rescheduleMIBelowKill()
920 if (LIS) { in rescheduleKillAboveMI()
1036 if (LIS) { in rescheduleKillAboveMI()
1429 if (LIS) { in processTiedPairs()
1635 if (LIS) in runOnMachineFunction()
1662 if (LIS) { in eliminateRegSequence()
[all …]
H A DLiveDebugVariables.cpp318 LiveIntervals &LIS);
448 LiveIntervals &LIS);
474 LiveIntervals &LIS);
535 LiveIntervals *LIS; member in __anon80fb5e650411::LDVImpl
797 if (!LIS->hasInterval(Reg)) { in handleDebugValue()
921 LiveIntervals &LIS) { in extendDef() argument
1010 if (!LIS.hasInterval(DstReg)) in addDefsFromCopies()
1120 MRI, LIS); in computeIntervals()
1543 if (!LIS.isNotInMIMap(*I) && in findNextInsertLocation()
1681 MBBEnd = LIS.getMBBEndIdx(&*MBB); in emitDebugValues()
[all …]
H A DRenameIndependentSubregs.cpp74 : ConEQ(LIS), SR(&SR), Index(Index) {} in SubRangeInfo()
104 LiveIntervals *LIS; member in __anonf1172b960111::RenameIndependentSubregs
223 SlotIndex Pos = LIS->getInstructionIndex(*MI); in rewriteOperands()
271 BumpPtrAllocator &Allocator = LIS->getVNInfoAllocator(); in distribute()
303 BumpPtrAllocator &Allocator = LIS->getVNInfoAllocator(); in computeMainRangesFixFlags()
304 const SlotIndexes &Indexes = *LIS->getSlotIndexes(); in computeMainRangesFixFlags()
368 LIS->constructMainRangeFromSubranges(LI); in computeMainRangesFixFlags()
373 LIS->shrinkToUses(&LI); in computeMainRangesFixFlags()
386 LIS = &getAnalysis<LiveIntervals>(); in runOnMachineFunction()
395 if (!LIS->hasInterval(Reg)) in runOnMachineFunction()
[all …]
H A DCalcSpillWeights.cpp41 calculateSpillWeightAndHint(LIS.getInterval(Reg)); in calculateSpillWeightsAndHints()
93 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
113 const LiveInterval &SrcLI = LIS.getInterval(Reg); in isRematerializable()
119 MI = LIS.getInstructionFromIndex(VNI->def); in isRematerializable()
169 const LiveInterval &OrigInt = LIS.getInterval(Original); in weightCalcHelper()
186 MachineBasicBlock *localMBB = LIS.getMBBFromIndex(*End); in weightCalcHelper()
187 assert(localMBB == LIS.getMBBFromIndex(*Start) && in weightCalcHelper()
226 SlotIndex SI = LIS.getInstructionIndex(*MI); in weightCalcHelper()
258 if (Writes && IsExiting && LIS.isLiveOutOfMBB(LI, MBB)) in weightCalcHelper()
310 if (ShouldUpdateLI && LI.isZeroLength(LIS.getSlotIndexes()) && in weightCalcHelper()
[all …]
H A DRegAllocBase.cpp62 LIS = &lis; in init()
78 enqueue(&LIS->getInterval(Reg)); in seedLiveRegs()
95 LIS->removeInterval(VirtReg->reg()); in allocatePhysRegs()
150 assert(LIS->hasInterval(Reg)); in allocatePhysRegs()
152 LiveInterval *SplitVirtReg = &LIS->getInterval(Reg); in allocatePhysRegs()
158 LIS->removeInterval(SplitVirtReg->reg()); in allocatePhysRegs()
173 LIS->RemoveMachineInstrFromMaps(*DeadInst); in postOptimization()
H A DRegisterPressure.cpp239 return &LIS.getInterval(Reg); in getLiveRange()
240 return LIS.getCachedRegUnit(Reg); in getLiveRange()
245 LIS = nullptr; in reset()
281 LIS = lis; in init()
314 return LIS->getMBBEndIdx(MBB); in getCurrSlot()
427 const LiveInterval &LI = LIS.getInterval(RegUnit); in getLanesWithProperty()
583 SlotIndex SlotIdx = LIS.getInstructionIndex(MI); in detectDeadDefs()
586 const LiveRange *LR = getLiveRange(LIS, Reg); in detectDeadDefs()
888 RegOpers.adjustLaneLiveness(*LIS, *MRI, SlotIdx); in recede()
890 RegOpers.detectDeadDefs(MI, *LIS); in recede()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCVSXFMAMutate.cpp67 LiveIntervals *LIS; member
109 SlotIndex FMAIdx = LIS->getInstructionIndex(MI); in processBlock()
192 if (LIS->getInterval(Reg2).Query(FMAIdx).isKill() in processBlock()
196 } else if (LIS->getInterval(Reg3).Query(FMAIdx).isKill() in processBlock()
213 !LIS->getInterval(AddendSrcReg).liveAt(FMAIdx)) in processBlock()
281 LiveInterval &FMAInt = LIS->getInterval(OldFMAReg); in processBlock()
299 LiveInterval &NewFMAInt = LIS->getInterval(KilledProdReg); in processBlock()
308 LIS->getVNInfoAllocator()); in processBlock()
323 LiveRange &AddendSrcRange = LIS->getRegUnit(Unit); in processBlock()
335 LIS->RemoveMachineInstrFromMaps(*AddendMI); in processBlock()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp169 LiveIntervals *LIS = nullptr; member in __anon9850b5cd0111::HexagonExpandCondsets
335 LiveInterval &LI = LIS->getInterval(Reg); in updateKillFlags()
533 LIS->shrinkToUses(S, Reg); in updateDeadFlags()
543 LIS->removeInterval(Reg); in recalculateLiveInterval()
548 LIS->RemoveMachineInstrFromMaps(MI); in removeInstr()
574 LIS->getInterval(R).verify(); in updateLiveness()
713 LIS->InsertMachineInstrInMaps(*TfrT); in split()
714 LIS->InsertMachineInstrInMaps(*TfrF); in split()
899 LIS->InsertMachineInstrInMaps(*NewI); in predicateAt()
1178 LIS->removeInterval(R2.Reg); in coalesceRegisters()
[all …]

123456