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()
174 // beyond LRI. 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 in collectInterferingVRegs()
[all...]
H A DRegAllocFast.cpp732 LiveRegMap::iterator LRI = findLiveVirtReg(VirtReg); in displacePhysReg() local
733 assert(LRI != LiveVirtRegs.end() && "datastructures in sync"); in displacePhysReg()
736 reload(ReloadBefore, VirtReg, LRI->PhysReg); in displacePhysReg()
738 setPhysRegState(LRI->PhysReg, regFree); in displacePhysReg()
739 LRI->PhysReg = 0; in displacePhysReg()
740 LRI->Reloaded = true; in displacePhysReg()
768 LiveRegMap::iterator LRI = findLiveVirtReg(VirtReg); in freePhysReg() local
769 assert(LRI != LiveVirtRegs.end()); in freePhysReg()
770 LLVM_DEBUG(dbgs() << ' ' << printReg(LRI->VirtReg, TRI) << '\n'); in freePhysReg()
771 setPhysRegState(LRI->PhysReg, regFree); in freePhysReg()
[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.cpp643 LockstepReverseIterator &LRI, unsigned &InstNum, unsigned &MemoryInstNum,
683 GVNSink::analyzeInstructionForSinking(LockstepReverseIterator &LRI, in analyzeInstructionForSinking() argument
688 auto Insts = *LRI; in analyzeInstructionForSinking()
710 auto &ActivePreds = LRI.getActiveBlocks(); in analyzeInstructionForSinking()
733 LRI.restrictToBlocks(ActivePreds); in analyzeInstructionForSinking()
835 LockstepReverseIterator LRI(Preds); in sinkBB() local
843 while (LRI.isValid()) { in sinkBB()
844 auto Cand = analyzeInstructionForSinking(LRI, InstNum, MemoryInstNum, in sinkBB()
850 --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.cpp2310 LockstepReverseIterator LRI(UnconditionalPreds); in SinkCommonCodeFromPredecessors() local
2311 while (LRI.isValid() && in SinkCommonCodeFromPredecessors()
2312 canSinkInstructions(*LRI, PHIOperands)) { in SinkCommonCodeFromPredecessors()
2313 LLVM_DEBUG(dbgs() << "SINK: instruction can be sunk: " << *(*LRI)[0] in SinkCommonCodeFromPredecessors()
2315 InstructionsToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2317 --LRI; in SinkCommonCodeFromPredecessors()
2330 auto ProfitableToSinkInstruction = [&](LockstepReverseIterator &LRI) { in SinkCommonCodeFromPredecessors() argument
2332 for (Use &U : (*LRI)[0]->operands()) { in SinkCommonCodeFromPredecessors()
2358 LRI.reset(); in SinkCommonCodeFromPredecessors()
2362 if (!ProfitableToSinkInstruction(LRI)) { in SinkCommonCodeFromPredecessors()
[all …]