Home
last modified time | relevance | path

Searched refs:LRI (Results 1 – 8 of 8) 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.cpp749 LiveRegMap::iterator LRI = findLiveVirtReg(VirtReg); in displacePhysReg() local
750 assert(LRI != LiveVirtRegs.end() && "datastructures in sync"); in displacePhysReg()
755 reload(ReloadBefore, VirtReg, LRI->PhysReg); in displacePhysReg()
757 setPhysRegState(LRI->PhysReg, regFree); in displacePhysReg()
758 LRI->PhysReg = 0; in displacePhysReg()
759 LRI->Reloaded = true; in displacePhysReg()
787 LiveRegMap::iterator LRI = findLiveVirtReg(VirtReg); in freePhysReg() local
788 assert(LRI != LiveVirtRegs.end()); in freePhysReg()
789 LLVM_DEBUG(dbgs() << ' ' << printReg(LRI->VirtReg, TRI) << '\n'); in freePhysReg()
790 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.cpp27 const LanaiRegisterInfo *LRI = STI.getRegisterInfo(); in determineFrameLayout() local
34 LRI->hasStackRealignment(MF) ? MFI.getMaxAlign() : getStackAlign(); in determineFrameLayout()
195 const LanaiRegisterInfo *LRI = STI.getRegisterInfo(); in determineCalleeSaves() local
206 if (LRI->hasBasePointer(MF)) { in determineCalleeSaves()
208 SavedRegs.reset(LRI->getBaseRegister()); in determineCalleeSaves()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp558 analyzeInstructionForSinking(LockstepReverseIterator<false> &LRI,
599 GVNSink::analyzeInstructionForSinking(LockstepReverseIterator<false> &LRI, in analyzeInstructionForSinking() argument
604 auto Insts = *LRI; in analyzeInstructionForSinking()
626 auto &ActivePreds = LRI.getActiveBlocks(); in analyzeInstructionForSinking()
649 LRI.restrictToBlocks(ActivePreds); in analyzeInstructionForSinking()
751 LockstepReverseIterator<false> LRI(Preds); in sinkBB() local
759 while (LRI.isValid()) { in sinkBB()
760 auto Cand = analyzeInstructionForSinking(LRI, InstNum, MemoryInstNum, in sinkBB()
766 --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.cpp1861 LockstepReverseIterator<true> LRI(Succs); in hoistCommonCodeFromSuccessors() local
1862 while (LRI.isValid()) { in hoistCommonCodeFromSuccessors()
1863 Instruction *I0 = (*LRI)[0]; in hoistCommonCodeFromSuccessors()
1864 if (any_of(*LRI, [I0](Instruction *I) { in hoistCommonCodeFromSuccessors()
1869 --LRI; in hoistCommonCodeFromSuccessors()
2423 LockstepReverseIterator<true> LRI(UnconditionalPreds); in sinkCommonCodeFromPredecessors() local
2424 while (LRI.isValid() && in sinkCommonCodeFromPredecessors()
2425 canSinkInstructions(*LRI, PHIOperands)) { in sinkCommonCodeFromPredecessors()
2426 LLVM_DEBUG(dbgs() << "SINK: instruction can be sunk: " << *(*LRI)[0] in sinkCommonCodeFromPredecessors()
2428 InstructionsToSink.insert_range(*LRI); in sinkCommonCodeFromPredecessors()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDXILResource.cpp854 const auto &[LCI, LRI, LRTI] = LHS; in populateResourceInfos()
861 return std::tie(LRC, LRI, LRTI) < std::tie(RRC, RRI, RRTI); in populateResourceInfos()