Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/IR/
H A DConstantRangeList.cpp84 void ConstantRangeList::subtract(const ConstantRange &SubRange) { in subtract() argument
85 if (SubRange.isEmptySet() || empty()) in subtract()
87 assert(!SubRange.isFullSet() && "Do not support full set"); in subtract()
88 assert(SubRange.getLower().slt(SubRange.getUpper())); in subtract()
89 assert(getBitWidth() == SubRange.getBitWidth()); in subtract()
91 if (Ranges.back().getUpper().sle(SubRange.getLower())) in subtract()
93 if (SubRange.getUpper().sle(Ranges.front().getLower())) in subtract()
102 if (SubRange.getUpper().sle(Range.getLower()) || in subtract()
103 Range.getUpper().sle(SubRange.getLower())) { in subtract()
109 } else if (Range.getLower().sle(SubRange.getLower()) && in subtract()
[all …]
/src/contrib/llvm-project/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()
338 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(unsigned 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.cpp71 [&MO, Indexes, Alloc](LiveInterval::SubRange &SR) { in calculate()
93 for (LiveInterval::SubRange &S : LI.subranges()) { in calculate()
113 for (const LiveInterval::SubRange &SR : LI.subranges()) { in constructMainRangeFromSubranges()
H A DRegisterCoalescer.cpp701 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
738 for (LiveInterval::SubRange &S : IntA.subranges()) { in adjustCopiesBackFrom()
964 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
991 for (LiveInterval::SubRange &SA : IntA.subranges()) { in removeCopyByCommutingDef()
1006 &ShrinkB](LiveInterval::SubRange &SR) { in removeCopyByCommutingDef()
1020 for (LiveInterval::SubRange &SB : IntB.subranges()) { in removeCopyByCommutingDef()
1194 for (LiveInterval::SubRange &SR : IntB.subranges()) in removePartialRedundancy()
1238 for (LiveInterval::SubRange &SR : IntB.subranges()) { in removePartialRedundancy()
1491 for (LiveInterval::SubRange &SR : DstInt.subranges()) { in reMaterializeTrivialDef()
1524 for (LiveInterval::SubRange &SR : DstInt.subranges()) { in reMaterializeTrivialDef()
[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.cpp408 LiveInterval::SubRange &getSubRangeForMaskExact(LaneBitmask LM, in getSubRangeForMaskExact()
413 const LiveInterval::SubRange &getSubRangeForMaskExact(LaneBitmask LM, in getSubRangeForMaskExact()
422 const LiveInterval::SubRange &getSubRangeForMask(LaneBitmask LM, in getSubRangeForMask()
424 for (const LiveInterval::SubRange &S : LI.subranges()) in getSubRangeForMask()
441 for (LiveInterval::SubRange &S : LI.subranges()) { in addDeadDef()
465 for (LiveInterval::SubRange &S : LI.subranges()) in addDeadDef()
584 [Def, &Allocator](LiveInterval::SubRange &SR) { in buildCopy()
622 for (LiveInterval::SubRange &S : OrigLI.subranges()) { in defFromParent()
1296 for (const LiveInterval::SubRange &PS : ParentLI.subranges()) { in extendPHIKillRanges()
1302 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()
275 for (const LiveInterval::SubRange &S : LI.subranges()) { in useIsKill()
H A DLiveIntervals.cpp400 for (const LiveInterval::SubRange &SR : I.subranges()) { in extendSegmentsToUses()
476 for (LiveInterval::SubRange &S : li->subranges()) { in shrinkToUses()
571 void LiveIntervals::shrinkToUses(LiveInterval::SubRange &SR, Register Reg) { in shrinkToUses()
784 for (const LiveInterval::SubRange &SR : LI.subranges()) in addKillFlags()
1047 for (LiveInterval::SubRange &S : LI.subranges()) { in updateAllRanges()
1064 for (LiveInterval::SubRange &S : LI.subranges()) { in updateAllRanges()
1707 [Mask](LiveInterval::SubRange &SR) { in repairIntervalsInRange()
1732 for (LiveInterval::SubRange &S : LI.subranges()) in repairIntervalsInRange()
1758 for (LiveInterval::SubRange &S : LI.subranges()) { in removeVRegDefAt()
H A DLiveRegMatrix.cpp87 for (const LiveInterval::SubRange &S : VRegInterval.subranges()) { in foreachUnit()
H A DMachineVerifier.cpp2855 for (const LiveInterval::SubRange &SR : LI->subranges()) { in checkLiveness()
2952 for (const LiveInterval::SubRange &SR : LI->subranges()) { in checkLiveness()
3736 for (const LiveInterval::SubRange &SR : LI.subranges()) { in verifyLiveInterval()
H A DRegisterPressure.cpp429 for (const LiveInterval::SubRange &SR : LI.subranges()) { in getLanesWithProperty()
H A DRegAllocGreedy.cpp1397 for (const LiveInterval::SubRange &S : VirtReg.subranges()) { in readsLaneSubset()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveInterval.h694 class SubRange : public LiveRange {
696 SubRange *Next = nullptr;
700 SubRange(LaneBitmask LaneMask) : LaneMask(LaneMask) {} in SubRange() function
703 SubRange(LaneBitmask LaneMask, const LiveRange &Other, in SubRange() function
712 SubRange *SubRanges = nullptr; ///< Single linked list of subregister live
765 using subrange_iterator = SingleLinkedListIterator<SubRange>;
766 using const_subrange_iterator = SingleLinkedListIterator<const SubRange>;
792 SubRange *createSubRange(BumpPtrAllocator &Allocator, in createSubRange()
794 SubRange *Range = new (Allocator) SubRange(LaneMask); in createSubRange()
801 SubRange *createSubRangeFrom(BumpPtrAllocator &Allocator, in createSubRangeFrom()
[all …]
H A DLiveIntervals.h187 void shrinkToUses(LiveInterval::SubRange &SR, Register Reg);
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRangeList.h75 void subtract(const ConstantRange &SubRange);
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFormMemoryClauses.cpp361 for (const LiveInterval::SubRange &SR : LI.subranges()) { in runOnMachineFunction()
/src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp351 auto EndsAtI = [I] (LiveInterval::SubRange &S) -> bool { in updateKillFlags()
357 for (LiveInterval::SubRange &S : LI.subranges()) { in updateKillFlags()
532 for (LiveInterval::SubRange &S : LI.subranges()) { in updateDeadFlags()
/src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7737 VFRange SubRange = {VF, MaxVFTimes2}; in buildVPlans() local
7738 VPlans.push_back(buildVPlan(SubRange)); in buildVPlans()
7739 VF = SubRange.End; in buildVPlans()
8328 VFRange SubRange = {VF, MaxVFTimes2}; in buildVPlansWithVPRecipes() local
8329 if (auto Plan = tryToBuildVPlanWithVPRecipes(SubRange)) { in buildVPlansWithVPRecipes()
8343 VF = SubRange.End; in buildVPlansWithVPRecipes()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp9500 IntRange SubRange = GetExprRange(C, CE->getSubExpr(), in GetExprRange() local
9505 if (SubRange.Width >= OutputTypeRange.Width) in GetExprRange()
9510 return IntRange(SubRange.Width, in GetExprRange()
9511 SubRange.NonNegative || OutputTypeRange.NonNegative); in GetExprRange()