Home
last modified time | relevance | path

Searched refs:NewRange (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRangeList.cpp37 void ConstantRangeList::insert(const ConstantRange &NewRange) { in insert() argument
38 if (NewRange.isEmptySet()) in insert()
40 assert(!NewRange.isFullSet() && "Do not support full set"); in insert()
41 assert(NewRange.getLower().slt(NewRange.getUpper())); in insert()
43 if (empty() || Ranges.back().getUpper().slt(NewRange.getLower())) { in insert()
44 Ranges.push_back(NewRange); in insert()
48 assert(getBitWidth() == NewRange.getBitWidth()); in insert()
50 if (NewRange.getUpper().slt(Ranges.front().getLower())) { in insert()
51 Ranges.insert(Ranges.begin(), NewRange); in insert()
56 Ranges, NewRange, [](const ConstantRange &a, const ConstantRange &b) { in insert()
[all …]
H A DMetadata.cpp1279 ConstantRange NewRange(Low->getValue(), High->getValue()); in tryMergeRange() local
1284 if (canBeMerged(NewRange, LastRange)) { in tryMergeRange()
1285 ConstantRange Union = LastRange.unionWith(NewRange); in tryMergeRange()
H A DAttributes.cpp1088 ConstantRange NewRange = Range0.unionWith(Range1); in intersectWith() local
1089 if (!NewRange.isFullSet()) in intersectWith()
1090 Intersected.addRangeAttr(NewRange); in intersectWith()
/freebsd/contrib/llvm-project/llvm/lib/Testing/Annotations/
H A DAnnotations.cpp55 const Annotation &NewRange = OpenRanges.back(); in Annotations() local
57 {NewRange.Begin, Code.size(), NewRange.Name, NewRange.Payload}); in Annotations()
58 Ranges[NewRange.Name].push_back(All.size() - 1); in Annotations()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRangeList.h71 LLVM_ABI void insert(const ConstantRange &NewRange);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1466 if (auto NewRange = NewAB.getRange()) { in AddParamAndFnBasicAttributes() local
1468 ExistingRange->intersectWith(*NewRange); in AddParamAndFnBasicAttributes()
1646 Attribute NewRange = AL.getRetAttr(Attribute::Range); in AddReturnAttributes() local
1647 if (NewRange.isValid()) { in AddReturnAttributes()
1649 CBRange.getRange().intersectWith(NewRange.getRange())); in AddReturnAttributes()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveInterval.cpp953 SubRange *NewRange = createSubRange(Allocator, ToApply); in refineSubRanges() local
954 Apply(*NewRange); in refineSubRanges()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.cpp2819 auto setComplexRange = [&](LangOptions::ComplexRangeKind NewRange) { in RenderFloatingPointOptions() argument
2822 if (Range != NewRange) in RenderFloatingPointOptions()
2827 ComplexArithmeticStr(NewRange)); in RenderFloatingPointOptions()
2828 Range = NewRange; in RenderFloatingPointOptions()