Home
last modified time | relevance | path

Searched refs:Upper (Results 1 – 25 of 68) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp375 return Lower.ugt(Upper) && !Upper.isZero(); in isWrappedSet()
544 if (Upper.ult(CR.Upper)) in intersectWith()
553 if (Upper.ult(CR.Upper)) in intersectWith()
570 if (CR.Upper.ult(Upper)) in intersectWith()
598 if (CR.Upper.ult(Upper)) { in intersectWith()
646 if (CR.Upper.ult(Lower) || Upper.ult(CR.Lower)) in unionWith()
651 APInt U = (CR.Upper - 1).ugt(Upper - 1) ? CR.Upper : Upper; in unionWith()
662 if (CR.Upper.ule(Upper) || CR.Lower.uge(Lower)) in unionWith()
667 if (CR.Lower.ule(Upper) && Lower.ule(CR.Upper)) in unionWith()
693 if (CR.Lower.ule(Upper) || Lower.ule(CR.Upper)) in unionWith()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFormat.h169 bool Upper;
176 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U),
187 bool Upper = false) {
189 return FormattedNumber(N, 0, Width, true, Upper, true);
200 bool Upper = false) {
202 return FormattedNumber(N, 0, Width, true, Upper, false);
223 bool Upper; // Show offset and hex bytes as upper case.
231 ByteGroupSize(BGS), Upper(U), ASCII(A) {
241 uint32_t IndentLevel = 0, bool Upper = false) {
243 ByteGroupSize, Upper, false);
[all …]
H A DUnicodeCharRanges.h25 uint32_t Upper; member
32 return Range.Upper < Value;
82 if (I->Upper < I->Lower) { in rangesAreValid()
86 LLVM_DEBUG(dbgs().write_hex(I->Upper) << "\n"); in rangesAreValid()
89 Prev = I->Upper; in rangesAreValid()
H A DNativeFormatting.h22 enum class HexPrintStyle { Upper, Lower, PrefixUpper, PrefixLower }; enumerator
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstantRange.h48 APInt Lower, Upper; variable
70 ConstantRange(APInt Lower, APInt Upper);
84 static ConstantRange getNonEmpty(APInt Lower, APInt Upper) { in getNonEmpty() argument
85 if (Lower == Upper) in getNonEmpty()
87 return ConstantRange(std::move(Lower), std::move(Upper)); in getNonEmpty()
201 const APInt &getUpper() const { return Upper; } in getUpper()
247 if (Upper == Lower + 1) in getSingleElement()
255 if (Lower == Upper + 1) in getSingleMissingElement()
256 return &Upper; in getSingleMissingElement()
289 return Lower == CR.Lower && Upper == CR.Upper;
/llvm-project-15.0.7/llvm/lib/Support/
H A DScaledNumber.cpp33 uint64_t Upper = P1, Lower = P4; in multiply64() local
36 Upper += getU(N) + (NewLower < Lower); in multiply64()
43 if (!Upper) in multiply64()
47 unsigned LeadingZeros = countLeadingZeros(Upper); in multiply64()
50 Upper = Upper << LeadingZeros | Lower >> Shift; in multiply64()
51 return getRounded(Upper, Shift, in multiply64()
H A DNativeFormatting.cpp145 bool Upper = in write_hex() local
146 (Style == HexPrintStyle::Upper || Style == HexPrintStyle::PrefixUpper); in write_hex()
159 *--CurPtr = hexdigit(x, !Upper); in write_hex()
H A Draw_ostream.cpp382 if (FN.Upper && FN.HexPrefix) in operator <<()
384 else if (FN.Upper && !FN.HexPrefix) in operator <<()
385 Style = HexPrintStyle::Upper; in operator <<()
386 else if (!FN.Upper && FN.HexPrefix) in operator <<()
409 HexPrintStyle HPS = FB.Upper ? HexPrintStyle::Upper : HexPrintStyle::Lower; in operator <<()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp30 bool Negative, bool Upper) { in appendNumber() argument
65 : (Upper ? 'A' : 'a') + Digit - 10); in appendNumber()
73 bool Upper) { in appendUnsigned() argument
75 PadWithZero, /*Negative=*/false, Upper); in appendUnsigned()
174 const bool Upper = (*Cur == 'X'); in formatString() local
176 Width, PadWithZero, Upper); in formatString()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DStratifiedSets.h514 auto *Upper = &linksAt(UpperIndex); in tryMergeUpwards() local
515 if (Lower == Upper) in tryMergeUpwards()
521 while (Current->hasAbove() && Current != Upper) { in tryMergeUpwards()
527 if (Current != Upper) in tryMergeUpwards()
530 Upper->setAttrs(Attrs); in tryMergeUpwards()
534 Upper->setBelow(NewBelowIndex); in tryMergeUpwards()
538 Upper->clearBelow(); in tryMergeUpwards()
542 Ptr->remapTo(Upper->Number); in tryMergeUpwards()
H A DValueTracking.cpp508 ConstantInt *Upper = in computeKnownBitsFromRangeMetadata() local
6920 Upper = *C + 1; in setLimitsForBinOp()
6960 Upper = *C + 1; in setLimitsForBinOp()
7002 Upper = Upper + 1; in setLimitsForBinOp()
7024 Upper = *C + 1; in setLimitsForBinOp()
7039 Upper = *C; in setLimitsForBinOp()
7082 Upper = *C + 1; in setLimitsForIntrinsic()
7120 Upper = *C + 1; in setLimitsForIntrinsic()
7127 Upper = *C + 1; in setLimitsForIntrinsic()
7185 Upper = *C + 1; in setLimitsForSelectPattern()
[all …]
H A DDependenceAnalysis.cpp2570 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2684 if (Bound[Level].Upper[Dependence::DVEntry::LT]) in exploreDirections()
2695 if (Bound[Level].Upper[Dependence::DVEntry::EQ]) in exploreDirections()
2706 if (Bound[Level].Upper[Dependence::DVEntry::GT]) in exploreDirections()
2776 Bound[K].Upper[Dependence::DVEntry::ALL] = in findBoundsALL()
2786 Bound[K].Upper[Dependence::DVEntry::ALL] = in findBoundsALL()
2817 Bound[K].Upper[Dependence::DVEntry::EQ] = in findBoundsEQ()
2860 Bound[K].Upper[Dependence::DVEntry::LT] = in findBoundsLT()
2904 Bound[K].Upper[Dependence::DVEntry::GT] = in findBoundsGT()
2998 const SCEV *Sum = Bound[1].Upper[Bound[1].Direction]; in getUpperBound()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/src/
H A Ddevice.cpp152 auto Upper = HDTTMap->upper_bound(HP); in lookupMapping() local
158 if (Upper != HDTTMap->begin()) { in lookupMapping()
159 LR.Entry = std::prev(Upper)->HDTT; in lookupMapping()
166 if (!LR.Flags.IsContained && Upper != HDTTMap->end()) { in lookupMapping()
167 LR.Entry = Upper->HDTT; in lookupMapping()
175 if (Upper != HDTTMap->begin()) { in lookupMapping()
176 LR.Entry = std::prev(Upper)->HDTT; in lookupMapping()
187 Upper != HDTTMap->end()) { in lookupMapping()
188 LR.Entry = Upper->HDTT; in lookupMapping()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp408 if (Lower <= Upper) in pin()
413 Upper = Type.getMaxValue(); in pin()
418 Type.apply(Upper); in pin()
437 Type.apply(Upper); in pin()
454 Type.apply(Upper); in pin()
459 if (Lower <= Upper) in pin()
480 if (Lower <= Upper) { in intersect()
508 Range(ValueFactory.getMinValue(Upper), ValueFactory.getValue(Upper))); in intersect()
853 llvm::APSInt Upper = Point; in deletePoint() local
856 ++Upper; in deletePoint()
[all …]
/llvm-project-15.0.7/llvm/unittests/Support/
H A DNativeFormatTests.cpp88 EXPECT_EQ("0", format_number(0, HexPrintStyle::Upper)); in TEST()
89 EXPECT_EQ("BEEF", format_number(0xbeef, HexPrintStyle::Upper)); in TEST()
90 EXPECT_EQ("DEADBEEF", format_number(0xdeadbeef, HexPrintStyle::Upper)); in TEST()
H A DVirtualFileSystemTest.cpp275 O->pushOverlay(Upper); in TEST()
340 O->pushOverlay(Upper); in TEST()
365 O->pushOverlay(Upper); in TEST()
392 O->pushOverlay(Upper); in TEST()
746 O->pushOverlay(Upper); in TEST()
759 Upper->addDirectory("/dir2"); in TEST()
772 O->pushOverlay(Upper); in TEST()
782 Upper->addDirectory("/dir"); in TEST()
796 Upper->addDirectory("/dir2"); in TEST()
814 O->pushOverlay(Upper); in TEST()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ELFRelocs/
H A DLanai.def16 // Upper 16-bits of a symbolic relocation
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h224 write_hex(Stream, V.Hash, HexPrintStyle::Upper, 8);
233 write_hex(Stream, B, HexPrintStyle::Upper, 2);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp214 llvm::APSInt::compareValues(Upper, From.Upper) >= 0; in contains()
219 llvm::APSInt::compareValues(Upper, Value) >= 0; in contains()
223 llvm::APSInt Upper; member
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dppc64-i128-abi.ll135 ; Upper 64-bits of %a are passed in register 4
141 ; Upper 64-bits of %a are passed in register 3
171 ; Upper 64-bits of %a are passed in register 4
173 ; Upper 64-bits of %b are passed in register 6
178 ; Upper 64-bits of %a are passed in register 3
180 ; Upper 64-bits of %b are passed in register 5
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFuzzyMatch.h44 Upper = 2, // Uppercase letters. enumerator
H A DFuzzyMatch.cpp284 (PatTypeSet == 1 << Lower) || (PatTypeSet == 1 << Upper); in matchBonus()
328 if (!(PatTypeSet & 1 << Upper)) in dumpLast()
/llvm-project-15.0.7/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp52 int64_t Lower, int64_t Upper, Twine Msg);
430 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError() argument
433 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp1276 auto Upper = N->getUpperBound(); in TEST_F() local
1277 ASSERT_TRUE(Upper); in TEST_F()
1326 auto Upper = N->getUpperBound(); in TEST_F() local
1327 ASSERT_TRUE(Upper); in TEST_F()
1364 auto Upper = N->getUpperBound(); in TEST_F() local
1365 ASSERT_TRUE(Upper); in TEST_F()
1406 auto Upper = N->getUpperBound(); in TEST_F() local
1407 ASSERT_TRUE(Upper); in TEST_F()
1458 auto Upper = N->getUpperBound(); in TEST_F() local
1459 ASSERT_TRUE(Upper); in TEST_F()
[all …]
/llvm-project-15.0.7/mlir/test/Transforms/
H A Dparametric-tiling.mlir41 // Upper bound for the inner loop min(%i + %step, %c44).
109 // Upper bound for the inner loop min(%i + %step, %c44).

123