Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveIntervalUnion.cpp146 LRI = LR->begin(); in collectInterferingVRegs()
148 LiveUnionI.find(LRI->start); in collectInterferingVRegs()
154 assert(LRI != LREnd && "Reached end of LR"); in collectInterferingVRegs()
157 while (LRI->start < LiveUnionI.stop() && LRI->end > LiveUnionI.start()) { in collectInterferingVRegs()
175 assert(LRI->end <= LiveUnionI.start() && "Expected non-overlap"); in collectInterferingVRegs()
178 LRI = LR->advanceTo(LRI, LiveUnionI.start()); in collectInterferingVRegs()
179 if (LRI == LREnd) in collectInterferingVRegs()
183 if (LRI->start < LiveUnionI.stop()) in collectInterferingVRegs()
187 LiveUnionI.advanceTo(LRI->start); in collectInterferingVRegs()
H A DRegAllocFast.cpp713 LRI->PhysReg = 0; in displacePhysReg()
746 LRI->PhysReg = 0; in freePhysReg()
962 if (LRI != LiveVirtRegs.end() && LRI->PhysReg) { in allocVirtRegUndef()
994 LRI->PhysReg = 0; in defineLiveThroughVirtReg()
1006 LRI->LastUse = &MI; in defineLiveThroughVirtReg()
1042 if (LRI->Error) { in defineVirtReg()
1058 if (LRI->Reloaded || LRI->LiveOut) { in defineVirtReg()
1085 LRI->LiveOut = false; in defineVirtReg()
1133 if (LRI->Error) { in useVirtReg()
1142 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/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()
200 const LanaiRegisterInfo *LRI = in determineCalleeSaves() local
212 if (LRI->hasBasePointer(MF)) { in determineCalleeSaves()
214 SavedRegs.reset(LRI->getBaseRegister()); in determineCalleeSaves()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp599 LockstepReverseIterator &LRI, unsigned &InstNum, unsigned &MemoryInstNum,
639 GVNSink::analyzeInstructionForSinking(LockstepReverseIterator &LRI, in analyzeInstructionForSinking() argument
644 auto Insts = *LRI; in analyzeInstructionForSinking()
667 auto &ActivePreds = LRI.getActiveBlocks(); in analyzeInstructionForSinking()
690 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/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h115 LiveRange::const_iterator LRI; ///< current position in LR variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2246 while (LRI.isValid() && in SinkCommonCodeFromPredecessors()
2250 InstructionsToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2252 --LRI; in SinkCommonCodeFromPredecessors()
2294 LRI.reset(); in SinkCommonCodeFromPredecessors()
2304 InstructionsProfitableToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2305 --LRI; in SinkCommonCodeFromPredecessors()
2325 ++LRI; in SinkCommonCodeFromPredecessors()
2339 ++LRI; in SinkCommonCodeFromPredecessors()
2358 LRI.reset(); in SinkCommonCodeFromPredecessors()
2366 --LRI; in SinkCommonCodeFromPredecessors()
[all …]