Home
last modified time | relevance | path

Searched refs:LRI (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveIntervalUnion.cpp147 LRI = LR->begin(); in collectInterferingVRegs()
149 LiveUnionI.find(LRI->start); in collectInterferingVRegs()
155 assert(LRI != LREnd && "Reached end of LR"); in collectInterferingVRegs()
158 while (LRI->start < LiveUnionI.stop() && LRI->end > LiveUnionI.start()) { in collectInterferingVRegs()
176 assert(LRI->end <= LiveUnionI.start() && "Expected non-overlap"); in collectInterferingVRegs()
179 LRI = LR->advanceTo(LRI, LiveUnionI.start()); in collectInterferingVRegs()
180 if (LRI == LREnd) in collectInterferingVRegs()
184 if (LRI->start < LiveUnionI.stop()) in collectInterferingVRegs()
188 LiveUnionI.advanceTo(LRI->start); in collectInterferingVRegs()
H A DRegAllocFast.cpp591 LRI->PhysReg = 0; in displacePhysReg()
624 LRI->PhysReg = 0; in freePhysReg()
840 if (LRI != LiveVirtRegs.end() && LRI->PhysReg) { in allocVirtRegUndef()
869 LRI->PhysReg = 0; in defineLiveThroughVirtReg()
881 LRI->LastUse = &MI; in defineLiveThroughVirtReg()
909 if (LRI->PhysReg == 0) in defineVirtReg()
921 if (LRI->Reloaded || LRI->LiveOut) { in defineVirtReg()
931 LRI->LiveOut = false; in defineVirtReg()
973 if (LRI->Error) { in useVirtReg()
981 LRI->LastUse = &MI; in useVirtReg()
[all …]
H A DLivePhysRegs.cpp33 RegisterSet::iterator LRI = LiveRegs.begin(); in removeRegsInMask() local
34 while (LRI != LiveRegs.end()) { in removeRegsInMask()
35 if (MO.clobbersPhysReg(*LRI)) { in removeRegsInMask()
37 Clobbers->push_back(std::make_pair(*LRI, &MO)); in removeRegsInMask()
38 LRI = LiveRegs.erase(LRI); in removeRegsInMask()
40 ++LRI; in removeRegsInMask()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.cpp29 const LanaiRegisterInfo *LRI = STI.getRegisterInfo(); in determineFrameLayout() local
36 LRI->hasStackRealignment(MF) ? MFI.getMaxAlign() : getStackAlign(); in determineFrameLayout()
203 const LanaiRegisterInfo *LRI = in determineCalleeSaves() local
215 if (LRI->hasBasePointer(MF)) { in determineCalleeSaves()
217 SavedRegs.reset(LRI->getBaseRegister()); in determineCalleeSaves()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp594 LockstepReverseIterator &LRI, unsigned &InstNum, unsigned &MemoryInstNum,
634 LockstepReverseIterator &LRI, unsigned &InstNum, unsigned &MemoryInstNum, in analyzeInstructionForSinking() argument
636 auto Insts = *LRI; in analyzeInstructionForSinking()
664 auto &ActivePreds = LRI.getActiveBlocks(); in analyzeInstructionForSinking()
687 LRI.restrictToBlocks(ActivePreds); in analyzeInstructionForSinking()
786 LockstepReverseIterator LRI(Preds); in sinkBB() local
794 while (LRI.isValid()) { in sinkBB()
795 auto Cand = analyzeInstructionForSinking(LRI, InstNum, MemoryInstNum, in sinkBB()
801 --LRI; in sinkBB()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2039 InstructionsToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2041 --LRI; in SinkCommonCodeFromPredecessors()
2052 for (auto *I : *LRI) in SinkCommonCodeFromPredecessors()
2078 LRI.reset(); in SinkCommonCodeFromPredecessors()
2088 InstructionsProfitableToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2089 --LRI; in SinkCommonCodeFromPredecessors()
2107 ++LRI; in SinkCommonCodeFromPredecessors()
2121 ++LRI; in SinkCommonCodeFromPredecessors()
2138 LRI.reset(); in SinkCommonCodeFromPredecessors()
2146 --LRI; in SinkCommonCodeFromPredecessors()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h115 LiveRange::const_iterator LRI; ///< current position in LR variable