Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRangeList.cpp86 void ConstantRangeList::subtract(const ConstantRange &SubRange) { in subtract() argument
87 if (SubRange.isEmptySet() || empty()) in subtract()
89 assert(!SubRange.isFullSet() && "Do not support full set"); in subtract()
90 assert(SubRange.getLower().slt(SubRange.getUpper())); in subtract()
91 assert(getBitWidth() == SubRange.getBitWidth()); in subtract()
93 if (Ranges.back().getUpper().sle(SubRange.getLower())) in subtract()
95 if (SubRange.getUpper().sle(Ranges.front().getLower())) in subtract()
104 if (SubRange.getUpper().sle(Range.getLower()) || in subtract()
105 Range.getUpper().sle(SubRange.getLower())) { in subtract()
111 } else if (Range.getLower().sle(SubRange.getLower()) && in subtract()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveInterval.h697 class SubRange : public LiveRange {
699 SubRange *Next = nullptr;
703 SubRange(LaneBitmask LaneMask) : LaneMask(LaneMask) {} in SubRange() function
706 SubRange(LaneBitmask LaneMask, const LiveRange &Other, in SubRange() function
715 SubRange *SubRanges = nullptr; ///< Single linked list of subregister live
768 using subrange_iterator = SingleLinkedListIterator<SubRange>;
769 using const_subrange_iterator = SingleLinkedListIterator<const SubRange>;
795 SubRange *createSubRange(BumpPtrAllocator &Allocator, in createSubRange()
797 SubRange *Range = new (Allocator) SubRange(LaneMask); in createSubRange()
804 SubRange *createSubRangeFrom(BumpPtrAllocator &Allocator, in createSubRangeFrom()
[all …]
H A DLiveIntervals.h197 LLVM_ABI void shrinkToUses(LiveInterval::SubRange &SR, Register Reg);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp56 LiveInterval::SubRange *SR;
59 SubRangeInfo(LiveIntervals &LIS, LiveInterval::SubRange &SR, in SubRangeInfo()
167 for (LiveInterval::SubRange &SR : LI.subranges()) { in findComponents()
192 const LiveInterval::SubRange &SR = *SRInfo.SR; in findComponents()
237 const LiveInterval::SubRange &SR = *SRInfo.SR; in rewriteOperands()
276 SmallVector<LiveInterval::SubRange*, 8> SubRanges; in distribute()
279 LiveInterval::SubRange &SR = *SRInfo.SR; in distribute()
298 for (const LiveInterval::SubRange &SR : LI.subranges()) { in subRangeLiveAt()
320 for (const LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
344 for (LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
[all …]
H A DLiveInterval.cpp837 void LiveInterval::freeSubRange(SubRange *S) { in freeSubRange()
838 S->~SubRange(); in freeSubRange()
843 SubRange **NextPtr = &SubRanges; in removeEmptySubRanges()
844 SubRange *I = *NextPtr; in removeEmptySubRanges()
853 SubRange *Next = I->Next; in removeEmptySubRanges()
862 for (SubRange *I = SubRanges, *Next; I != nullptr; I = Next) { in clearSubRanges()
872 static void stripValuesNotDefiningMask(Register Reg, LiveInterval::SubRange &SR, in stripValuesNotDefiningMask()
921 std::function<void(LiveInterval::SubRange &)> Apply, in refineSubRanges()
925 for (SubRange &SR : subranges()) { in refineSubRanges()
931 SubRange *MatchingRange; in refineSubRanges()
[all …]
H A DLiveIntervalCalc.cpp70 [&MO, Indexes, Alloc](LiveInterval::SubRange &SR) { in calculate()
92 for (LiveInterval::SubRange &S : LI.subranges()) { in calculate()
112 for (const LiveInterval::SubRange &SR : LI.subranges()) { in constructMainRangeFromSubranges()
H A DRegisterCoalescer.cpp713 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
750 for (LiveInterval::SubRange &S : IntA.subranges()) { in adjustCopiesBackFrom()
977 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
1004 for (LiveInterval::SubRange &SA : IntA.subranges()) { in removeCopyByCommutingDef()
1019 &ShrinkB](LiveInterval::SubRange &SR) { in removeCopyByCommutingDef()
1033 for (LiveInterval::SubRange &SB : IntB.subranges()) { in removeCopyByCommutingDef()
1207 for (LiveInterval::SubRange &SR : IntB.subranges()) in removePartialRedundancy()
1251 for (LiveInterval::SubRange &SR : IntB.subranges()) { in removePartialRedundancy()
1527 for (LiveInterval::SubRange &SR : DstInt.subranges()) { in reMaterializeTrivialDef()
1581 for (LiveInterval::SubRange &SR : DstInt.subranges()) { in reMaterializeTrivialDef()
[all …]
H A DVirtRegMap.cpp370 std::pair<const LiveInterval::SubRange *, LiveInterval::const_iterator>; in addLiveInsForSubRanges()
375 for (const LiveInterval::SubRange &SR : LI.subranges()) { in addLiveInsForSubRanges()
392 const LiveInterval::SubRange *SR = RangeIterPair.first; in addLiveInsForSubRanges()
470 for (const LiveInterval::SubRange &SR : LI.subranges()) { in readsUndefSubreg()
614 for (const LiveInterval::SubRange &SR : LI.subranges()) { in liveOutUndefPhiLanesForUndefSubregDef()
H A DSplitKit.cpp407 LiveInterval::SubRange &getSubRangeForMaskExact(LaneBitmask LM, in getSubRangeForMaskExact()
412 const LiveInterval::SubRange &getSubRangeForMaskExact(LaneBitmask LM, in getSubRangeForMaskExact()
421 const LiveInterval::SubRange &getSubRangeForMask(LaneBitmask LM, in getSubRangeForMask()
423 for (const LiveInterval::SubRange &S : LI.subranges()) in getSubRangeForMask()
440 for (LiveInterval::SubRange &S : LI.subranges()) { in addDeadDef()
464 for (LiveInterval::SubRange &S : LI.subranges()) in addDeadDef()
583 [Def, &Allocator](LiveInterval::SubRange &SR) { in buildCopy()
658 for (LiveInterval::SubRange &S : OrigLI.subranges()) { in defFromParent()
1332 for (const LiveInterval::SubRange &PS : ParentLI.subranges()) { in extendPHIKillRanges()
1338 LiveInterval::SubRange &S = getSubRangeForMaskExact(PS.LaneMask, LI); in extendPHIKillRanges()
[all …]
H A DLiveRangeEdit.cpp49 for (LiveInterval::SubRange &S : OldLI.subranges()) in createEmptyIntervalFrom()
143 for (LiveInterval::SubRange &SR : li.subranges()) { in allUsesAvailableAt()
271 for (const LiveInterval::SubRange &S : LI.subranges()) { in useIsKill()
H A DLiveIntervals.cpp416 for (const LiveInterval::SubRange &SR : I.subranges()) { in extendSegmentsToUses()
492 for (LiveInterval::SubRange &S : li->subranges()) { in shrinkToUses()
587 void LiveIntervals::shrinkToUses(LiveInterval::SubRange &SR, Register Reg) { in shrinkToUses()
809 for (const LiveInterval::SubRange &SR : LI.subranges()) in addKillFlags()
1080 for (LiveInterval::SubRange &S : LI.subranges()) { in updateAllRanges()
1097 for (LiveInterval::SubRange &S : LI.subranges()) { in updateAllRanges()
1743 [Mask](LiveInterval::SubRange &SR) { in repairIntervalsInRange()
1768 for (LiveInterval::SubRange &S : LI.subranges()) in repairIntervalsInRange()
1794 for (LiveInterval::SubRange &S : LI.subranges()) { in removeVRegDefAt()
H A DLiveRegMatrix.cpp94 for (const LiveInterval::SubRange &S : VRegInterval.subranges()) { in foreachUnit()
H A DMachineVerifier.cpp3002 for (const LiveInterval::SubRange &SR : LI->subranges()) { in checkLiveness()
3104 for (const LiveInterval::SubRange &SR : LI->subranges()) { in checkLiveness()
3888 for (const LiveInterval::SubRange &SR : LI.subranges()) { in verifyLiveInterval()
H A DRegisterPressure.cpp425 for (const LiveInterval::SubRange &SR : LI.subranges()) { in getLanesWithProperty()
H A DRegAllocGreedy.cpp1533 for (const LiveInterval::SubRange &S : VirtReg.subranges()) { in readsLaneSubset()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRangeList.h77 LLVM_ABI void subtract(const ConstantRange &SubRange);
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp335 auto EndsAtI = [I] (LiveInterval::SubRange &S) -> bool { in updateKillFlags()
341 for (LiveInterval::SubRange &S : LI.subranges()) { in updateKillFlags()
515 for (LiveInterval::SubRange &S : LI.subranges()) { in updateDeadFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFormMemoryClauses.cpp362 for (const LiveInterval::SubRange &SR : LI.subranges()) { in run()
H A DGCNSchedStrategy.cpp1686 for (LiveInterval::SubRange &SR : LI.subranges()) { in allUsesAvailableAt()
1964 for (LiveInterval::SubRange &SR : LI.subranges()) in rematerialize()
H A DGCNRegPressure.cpp317 for (const LiveInterval::SubRange &SR : LI.subranges()) { in getLanesWithProperty()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp1641 VFRange SubRange = {VF, MaxVFTimes2}; in buildVPlans() local
1642 if (auto Plan = tryToBuildVPlan(SubRange)) { in buildVPlans()
1649 VF = SubRange.End; in buildVPlans()
H A DLoopVectorize.cpp8335 VFRange SubRange = {VF, MaxVFTimes2}; in buildVPlansWithVPRecipes() local
8337 std::unique_ptr<VPlan>(VPlan0->duplicate()), SubRange, &LVer)) { in buildVPlansWithVPRecipes()
8353 VF = SubRange.End; in buildVPlansWithVPRecipes()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10674 std::optional<IntRange> SubRange = TryGetExprRange( in TryGetExprRange() local
10677 if (!SubRange) in TryGetExprRange()
10681 if (SubRange->Width >= OutputTypeRange.Width) in TryGetExprRange()
10686 return IntRange(SubRange->Width, in TryGetExprRange()
10687 SubRange->NonNegative || OutputTypeRange.NonNegative); in TryGetExprRange()
10910 std::optional<IntRange> SubRange = TryGetExprRange( in TryGetExprRange() local
10913 if (!SubRange) in TryGetExprRange()
10919 return IntRange(std::min(SubRange->Width + 1, MaxWidth), false); in TryGetExprRange()
10928 std::optional<IntRange> SubRange = TryGetExprRange( in TryGetExprRange() local
10931 if (!SubRange) in TryGetExprRange()
[all …]