Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFPRange.cpp20 Upper = APFloat::getInf(Sem, /*Negative=*/true); in makeEmpty()
28 Upper = APFloat::getInf(Sem, /*Negative=*/false); in makeFull()
34 return Lower.isPosInfinity() && Upper.isNegInfinity(); in isNaNOnly()
38 : Lower(Sem, APFloat::uninitialized), Upper(Sem, APFloat::uninitialized) { in ConstantFPRange()
40 Upper = APFloat::getInf(Sem, /*Negative=*/!IsFullSet); in ConstantFPRange()
47 Upper(Value.getSemantics(), APFloat::uninitialized) { in ConstantFPRange()
54 Lower = Upper = Value; in ConstantFPRange()
71 static bool isNonCanonicalEmptySet(const APFloat &Lower, const APFloat &Upper) { in isNonCanonicalEmptySet() argument
72 return strictCompare(Lower, Upper) == APFloat::cmpGreaterThan && in isNonCanonicalEmptySet()
73 !(Lower.isInfinity() && Upper.isInfinity()); in isNonCanonicalEmptySet()
[all …]
H A DConstantRange.cpp47 Upper(Lower) {} in ConstantRange()
50 : Lower(std::move(V)), Upper(Lower + 1) {} in ConstantRange()
53 : Lower(std::move(L)), Upper(std::move(U)) { in ConstantRange()
54 assert(Lower.getBitWidth() == Upper.getBitWidth() && in ConstantRange()
56 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange()
74 APInt Lower = Known.getMinValue(), Upper = Known.getMaxValue(); in fromKnownBits() local
76 Upper.clearSignBit(); in fromKnownBits()
77 return ConstantRange(Lower, Upper + 1); in fromKnownBits()
313 APInt Lower, Upper; in makeExactMulNSWRegion() local
316 Upper = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormat.h171 bool Upper;
178 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U),
189 bool Upper = false) {
191 return FormattedNumber(N, 0, Width, true, Upper, true);
202 bool Upper = false) {
204 return FormattedNumber(N, 0, Width, true, Upper, false);
226 bool Upper; // Show offset and hex bytes as upper case.
234 ByteGroupSize(BGS), Upper(U), ASCII(A) {
245 uint32_t IndentLevel = 0, bool Upper = false) {
247 ByteGroupSize, Upper, false);
[all …]
H A DUnicodeCharRanges.h25 uint32_t Upper; member
32 return Range.Upper < Value;
80 if (I->Upper < I->Lower) { in rangesAreValid()
84 LLVM_DEBUG(dbgs().write_hex(I->Upper) << "\n"); in rangesAreValid()
87 Prev = I->Upper; in rangesAreValid()
H A DNativeFormatting.h23 enum class HexPrintStyle { Upper, Lower, PrefixUpper, PrefixLower }; enumerator
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVRange.h28 LVAddress Upper = 0; variable
36 : Lower(LowerAddress), Upper(UpperAddress), Scope(Scope) {} in LVRangeEntry()
39 RangeType upper() const { return Upper; } in upper()
59 LVAddress Upper = 0; variable
73 LVAddress getUpper() const { return Upper; } in getUpper()
80 Upper = 0; in clear()
H A DLVType.h278 void setBounds(unsigned Lower, unsigned Upper) override { in setBounds() argument
280 UpperBound = Upper; in setBounds()
H A DLVSupport.h124 bool Upper = false) {
125 return format_hex(N, Width, Upper);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h48 APInt Lower, Upper; variable
70 LLVM_ABI 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()
212 const APInt &getUpper() const { return Upper; } in getUpper()
258 if (Upper == Lower + 1) in getSingleElement()
266 if (Lower == Upper + 1) in getSingleMissingElement()
267 return &Upper; in getSingleMissingElement()
303 return Lower == CR.Lower && Upper == CR.Upper;
H A DConstantRangeList.h72 void insert(int64_t Lower, int64_t Upper) { in insert() argument
74 APInt(64, Upper, /*isSigned=*/true))); in insert()
H A DConstantFPRange.h38 APFloat Lower, Upper; variable
142 const APFloat &getUpper() const { return Upper; } in getUpper()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp21 bool PadWithZero, bool Negative, bool Upper) { in appendNumber() argument
56 : (Upper ? 'A' : 'a') + Digit - 10); in appendNumber()
62 bool PadWithZero, bool Upper) { in appendUnsigned() argument
64 Upper); in appendUnsigned()
164 const bool Upper = (*Cur == 'X'); in vappend() local
165 appendUnsigned(UVal, (*Cur == 'u') ? 10 : 16, Width, PadWithZero, Upper); in vappend()
H A Dstring_utils.h36 bool PadWithZero, bool Negative, bool Upper);
38 bool Upper);
/freebsd/contrib/llvm-project/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 = llvm::countl_zero(Upper); in multiply64()
50 Upper = Upper << LeadingZeros | Lower >> Shift; in multiply64()
51 return getRounded(Upper, Shift, in multiply64()
H A DNativeFormatting.cpp143 bool Upper = in write_hex() local
144 (Style == HexPrintStyle::Upper || Style == HexPrintStyle::PrefixUpper); in write_hex()
157 *--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 <<()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp393 bool RangeSet::pin(llvm::APSInt &Lower, llvm::APSInt &Upper) const { in pin()
401 APSIntType::RangeTestResultKind UpperTest = Type.testInRange(Upper, true); in pin()
409 if (Lower <= Upper) in pin()
414 Upper = Type.getMaxValue(); in pin()
419 Type.apply(Upper); in pin()
424 Upper = Type.getMaxValue(); in pin()
433 Upper = Type.getMaxValue(); in pin()
438 Type.apply(Upper); in pin()
443 Upper = Type.getMaxValue(); in pin()
455 Type.apply(Upper); in pin()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVRange.cpp61 if (UpperAddress > Upper) in addEntry()
62 Upper = UpperAddress; in addEntry()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp324 APInt Upper{32, MaxSize}; in makeLIDRangeMetadata() local
326 ConstantRange Range(Lower, Upper); in makeLIDRangeMetadata()
330 MDNode *MaxWorkGroupSizeRange = MDB.createRange(Lower, Upper); in makeLIDRangeMetadata()
H A DAMDGPUAttributor.cpp855 unsigned Upper = getAssumed().getUpper().getZExtValue(); in emitAttributeIfNotDefaultAfterClamp() local
860 if (Upper > Max + 1) in emitAttributeIfNotDefaultAfterClamp()
861 Upper = Max + 1; in emitAttributeIfNotDefaultAfterClamp()
864 if ((Lower == Min && Upper == Max + 1) || (Upper < Lower)) in emitAttributeIfNotDefaultAfterClamp()
871 OS << Lower << ',' << Upper - 1; in emitAttributeIfNotDefaultAfterClamp()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELFRelocs/
H A DLanai.def16 // Upper 16-bits of a symbolic relocation
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h227 write_hex(Stream, V.Hash, HexPrintStyle::Upper, 8);
236 write_hex(Stream, B, HexPrintStyle::Upper, 2);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2643 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2644 LLVM_DEBUG(dbgs() << *Bound[K].Upper[Dependence::DVEntry::ALL] << '\n'); in banerjeeMIVtest()
2757 if (Bound[Level].Upper[Dependence::DVEntry::LT]) in exploreDirections()
2758 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::LT] in exploreDirections()
2768 if (Bound[Level].Upper[Dependence::DVEntry::EQ]) in exploreDirections()
2769 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::EQ] in exploreDirections()
2779 if (Bound[Level].Upper[Dependence::DVEntry::GT]) in exploreDirections()
2780 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::GT] in exploreDirections()
2844 Bound[K].Upper[Dependence::DVEntry::ALL] = nullptr; // Default value = +infinity. in findBoundsALL()
2849 Bound[K].Upper[Dependence::DVEntry::ALL] = in findBoundsALL()
[all …]
H A DValueTracking.cpp440 ConstantInt *Upper = in computeKnownBitsFromRangeMetadata() local
442 ConstantRange Range(Lower->getValue(), Upper->getValue()); in computeKnownBitsFromRangeMetadata()
2783 ConstantInt *Upper = in rangeMetadataExcludesValue() local
2785 ConstantRange Range(Lower->getValue(), Upper->getValue()); in rangeMetadataExcludesValue()
9589 APInt &Upper, const InstrInfoQuery &IIQ, in setLimitsForBinOp() argument
9609 Upper = *C + 1; in setLimitsForBinOp()
9614 Upper = *C - APInt::getSignedMaxValue(Width); in setLimitsForBinOp()
9619 Upper = APInt::getSignedMinValue(Width); in setLimitsForBinOp()
9643 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp()
9647 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRangedConstraintManager.h197 RangeSet intersect(RangeSet What, llvm::APSInt Lower, llvm::APSInt Upper);
394 bool pin(llvm::APSInt &Lower, llvm::APSInt &Upper) const;

1234