Home
last modified time | relevance | path

Searched refs:SubRange (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DLiveInterval.h693 class SubRange : public LiveRange {
695 SubRange *Next = nullptr;
699 SubRange(LaneBitmask LaneMask) : LaneMask(LaneMask) {} in SubRange() function
702 SubRange(LaneBitmask LaneMask, const LiveRange &Other, in SubRange() function
758 using subrange_iterator = SingleLinkedListIterator<SubRange>;
785 SubRange *createSubRange(BumpPtrAllocator &Allocator, in createSubRange()
787 SubRange *Range = new (Allocator) SubRange(LaneMask); in createSubRange()
794 SubRange *createSubRangeFrom(BumpPtrAllocator &Allocator, in createSubRangeFrom()
797 SubRange *Range = new (Allocator) SubRange(LaneMask, CopyFrom, Allocator); in createSubRangeFrom()
896 void appendSubRange(SubRange *Range) { in appendSubRange()
[all …]
H A DLiveIntervals.h168 void shrinkToUses(LiveInterval::SubRange &SR, Register Reg);
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp69 LiveInterval::SubRange *SR;
72 SubRangeInfo(LiveIntervals &LIS, LiveInterval::SubRange &SR, in SubRangeInfo()
161 for (LiveInterval::SubRange &SR : LI.subranges()) { in findComponents()
186 const LiveInterval::SubRange &SR = *SRInfo.SR; in findComponents()
231 const LiveInterval::SubRange &SR = *SRInfo.SR; in rewriteOperands()
270 SmallVector<LiveInterval::SubRange*, 8> SubRanges; in distribute()
273 LiveInterval::SubRange &SR = *SRInfo.SR; in distribute()
292 for (const LiveInterval::SubRange &SR : LI.subranges()) { in subRangeLiveAt()
314 for (const LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
337 for (LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
H A DLiveInterval.cpp834 void LiveInterval::freeSubRange(SubRange *S) { in freeSubRange()
835 S->~SubRange(); in freeSubRange()
840 SubRange **NextPtr = &SubRanges; in removeEmptySubRanges()
841 SubRange *I = *NextPtr; in removeEmptySubRanges()
850 SubRange *Next = I->Next; in removeEmptySubRanges()
922 for (SubRange &SR : subranges()) { in refineSubRanges()
928 SubRange *MatchingRange; in refineSubRanges()
1035 for (const SubRange &SR : subranges()) in print()
1078 for (const SubRange &SR : subranges()) { in verify()
1375 SmallVector<LiveInterval::SubRange*, 8> SubRanges; in Distribute()
[all …]
H A DLiveIntervalCalc.cpp72 [&MO, Indexes, Alloc](LiveInterval::SubRange &SR) { in calculate()
94 for (LiveInterval::SubRange &S : LI.subranges()) { in calculate()
114 for (const LiveInterval::SubRange &SR : LI.subranges()) { in constructMainRangeFromSubranges()
H A DRegisterCoalescer.cpp711 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
747 for (LiveInterval::SubRange &S : IntA.subranges()) { in adjustCopiesBackFrom()
974 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
1016 &ShrinkB](LiveInterval::SubRange &SR) { in removeCopyByCommutingDef()
1204 for (LiveInterval::SubRange &SR : IntB.subranges()) in removePartialRedundancy()
1233 for (LiveInterval::SubRange &SR : IntB.subranges()) { in removePartialRedundancy()
1880 for (LiveInterval::SubRange &S : LI.subranges()) { in setUndefOnPrunedSubRegUses()
1962 for (LiveInterval::SubRange &S : LI.subranges()) { in joinCopy()
2100 for (LiveInterval::SubRange &S : LI.subranges()) { in joinCopy()
3245 for (LiveInterval::SubRange &S : LI.subranges()) { in pruneSubRegValues()
[all …]
H A DVirtRegMap.cpp300 std::pair<const LiveInterval::SubRange *, LiveInterval::const_iterator>; in addLiveInsForSubRanges()
305 for (const LiveInterval::SubRange &SR : LI.subranges()) { in addLiveInsForSubRanges()
322 const LiveInterval::SubRange *SR = RangeIterPair.first; in addLiveInsForSubRanges()
400 for (const LiveInterval::SubRange &SR : LI.subranges()) { in readsUndefSubreg()
H A DSplitKit.cpp399 LiveInterval::SubRange &getSubRangeForMaskExact(LaneBitmask LM, in getSubRangeForMaskExact()
404 const LiveInterval::SubRange &getSubRangeForMaskExact(LaneBitmask LM, in getSubRangeForMaskExact()
413 const LiveInterval::SubRange &getSubRangeForMask(LaneBitmask LM, in getSubRangeForMask()
415 for (const LiveInterval::SubRange &S : LI.subranges()) in getSubRangeForMask()
432 for (LiveInterval::SubRange &S : LI.subranges()) { in addDeadDef()
456 for (LiveInterval::SubRange &S : LI.subranges()) in addDeadDef()
574 [Def, &Allocator](LiveInterval::SubRange &SR) { in buildCopy()
612 for (LiveInterval::SubRange &S : OrigLI.subranges()) { in defFromParent()
1284 for (const LiveInterval::SubRange &PS : ParentLI.subranges()) { in extendPHIKillRanges()
1290 LiveInterval::SubRange &S = getSubRangeForMaskExact(PS.LaneMask, LI); in extendPHIKillRanges()
[all …]
H A DLiveRangeEdit.cpp48 for (LiveInterval::SubRange &S : OldLI.subranges()) in createEmptyIntervalFrom()
140 for (LiveInterval::SubRange &SR : li.subranges()) { in allUsesAvailableAt()
268 for (const LiveInterval::SubRange &S : LI.subranges()) { in useIsKill()
H A DLiveIntervals.cpp380 for (const LiveInterval::SubRange &SR : I.subranges()) { in extendSegmentsToUses()
457 for (LiveInterval::SubRange &S : li->subranges()) { in shrinkToUses()
556 void LiveIntervals::shrinkToUses(LiveInterval::SubRange &SR, Register Reg) { in shrinkToUses()
771 for (const LiveInterval::SubRange &SR : LI.subranges()) in addKillFlags()
1034 for (LiveInterval::SubRange &S : LI.subranges()) { in updateAllRanges()
1051 for (LiveInterval::SubRange &S : LI.subranges()) { in updateAllRanges()
1708 for (LiveInterval::SubRange &S : LI.subranges()) in repairIntervalsInRange()
1734 for (LiveInterval::SubRange &S : LI.subranges()) { in removeVRegDefAt()
H A DLiveRegMatrix.cpp87 for (const LiveInterval::SubRange &S : VRegInterval.subranges()) { in foreachUnit()
H A DMachineVerifier.cpp2353 for (const LiveInterval::SubRange &SR : LI->subranges()) { in checkLiveness()
2444 for (const LiveInterval::SubRange &SR : LI->subranges()) { in checkLiveness()
3204 for (const LiveInterval::SubRange &SR : LI.subranges()) { in verifyLiveInterval()
H A DRegisterPressure.cpp430 for (const LiveInterval::SubRange &SR : LI.subranges()) { in getLanesWithProperty()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/
H A Dcompare.pass.cpp142 using SubRange = std::ranges::subrange<It>; in test() typedef
144 using R = std::ranges::zip_view<SubRange, SubRange>; in test()
149 auto r = std::views::zip(SubRange(It(a), It(a + 4)), SubRange(It(b), It(b + 5))); in test()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp285 SourceRange SubRange = E->getSubExpr()->IgnoreParenImpCasts()->getSourceRange(); in getBlockMacroRanges() local
286 SourceLocation InnerBegin = SM.getImmediateMacroCallerLoc(SubRange.getBegin()); in getBlockMacroRanges()
287 SourceLocation InnerEnd = SM.getImmediateMacroCallerLoc(SubRange.getEnd()); in getBlockMacroRanges()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dregcoal-subrange-join.mir5 # Without a fix for PR33524 this causes an unreachable in SubRange Join
H A Dcoalescer-subregjoin-fullcopy.mir6 # coalescing. Withough a fix for PR33152 this causes an unreachable in SubRange
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp349 auto EndsAtI = [I] (LiveInterval::SubRange &S) -> bool { in updateKillFlags()
355 for (LiveInterval::SubRange &S : LI.subranges()) { in updateKillFlags()
531 for (LiveInterval::SubRange &S : LI.subranges()) { in updateDeadFlags()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIFormMemoryClauses.cpp363 for (const LiveInterval::SubRange &SR : LI.subranges()) { in runOnMachineFunction()
H A DSIOptimizeExecMaskingPreRA.cpp251 [=](LiveInterval::SubRange &SR) { in optimizeVcndVcmpPair()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7948 VFRange SubRange = {VF, MaxVFPlusOne}; in buildVPlans() local
7949 VPlans.push_back(buildVPlan(SubRange)); in buildVPlans()
7950 VF = SubRange.End; in buildVPlans()
8583 VFRange SubRange = {VF, MaxVFPlusOne}; in buildVPlansWithVPRecipes() local
8585 buildVPlanWithVPRecipes(SubRange, DeadInstructions, SinkAfter)); in buildVPlansWithVPRecipes()
8586 VF = SubRange.End; in buildVPlansWithVPRecipes()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp12209 IntRange SubRange = GetExprRange(C, CE->getSubExpr(), in GetExprRange() local
12214 if (SubRange.Width >= OutputTypeRange.Width) in GetExprRange()
12219 return IntRange(SubRange.Width, in GetExprRange()
12220 SubRange.NonNegative || OutputTypeRange.NonNegative); in GetExprRange()