Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp46 Upper(Lower) {} in ConstantRange()
49 : Lower(std::move(V)), Upper(Lower + 1) {} in ConstantRange()
52 : Lower(std::move(L)), Upper(std::move(U)) { in ConstantRange()
53 assert(Lower.getBitWidth() == Upper.getBitWidth() && in ConstantRange()
55 assert((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && in ConstantRange()
73 APInt Lower = Known.getMinValue(), Upper = Known.getMaxValue(); in fromKnownBits() local
75 Upper.clearSignBit(); in fromKnownBits()
76 return ConstantRange(Lower, Upper + 1); in fromKnownBits()
302 APInt Lower, Upper; in makeExactMulNSWRegion() local
305 Upper = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormat.h170 bool Upper;
177 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U),
188 bool Upper = false) {
190 return FormattedNumber(N, 0, Width, true, Upper, true);
201 bool Upper = false) {
203 return FormattedNumber(N, 0, Width, true, Upper, false);
225 bool Upper; // Show offset and hex bytes as upper case.
233 ByteGroupSize(BGS), Upper(U), ASCII(A) {
244 uint32_t IndentLevel = 0, bool Upper = false) {
246 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
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVRange.h27 LVAddress Upper = 0; variable
35 : Lower(LowerAddress), Upper(UpperAddress), Scope(Scope) {} in LVRangeEntry()
38 RangeType upper() const { return Upper; } in upper()
58 LVAddress Upper = 0; variable
72 LVAddress getUpper() const { return Upper; } in getUpper()
79 Upper = 0; in clear()
H A DLVType.h274 void setBounds(unsigned Lower, unsigned Upper) override { in setBounds() argument
276 UpperBound = Upper; in setBounds()
H A DLVSupport.h104 bool Upper = false) {
105 return format_hex(N, Width, Upper);
/freebsd/contrib/llvm-project/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()
206 const APInt &getUpper() const { return Upper; } in getUpper()
252 if (Upper == Lower + 1) in getSingleElement()
260 if (Lower == Upper + 1) in getSingleMissingElement()
261 return &Upper; in getSingleMissingElement()
297 return Lower == CR.Lower && Upper == CR.Upper;
H A DConstantRangeList.h70 void insert(int64_t Lower, int64_t Upper) { in insert() argument
72 APInt(64, Upper, /*isSigned=*/true))); in insert()
/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.cpp144 bool Upper = in write_hex() local
145 (Style == HexPrintStyle::Upper || Style == HexPrintStyle::PrefixUpper); in write_hex()
158 *--CurPtr = hexdigit(x, !Upper); in write_hex()
H A Draw_ostream.cpp384 if (FN.Upper && FN.HexPrefix) in operator <<()
386 else if (FN.Upper && !FN.HexPrefix) in operator <<()
387 Style = HexPrintStyle::Upper; in operator <<()
388 else if (!FN.Upper && FN.HexPrefix) in operator <<()
411 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/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.h225 write_hex(Stream, V.Hash, HexPrintStyle::Upper, 8);
234 write_hex(Stream, B, HexPrintStyle::Upper, 2);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2633 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2634 LLVM_DEBUG(dbgs() << *Bound[K].Upper[Dependence::DVEntry::ALL] << '\n'); in banerjeeMIVtest()
2747 if (Bound[Level].Upper[Dependence::DVEntry::LT]) in exploreDirections()
2748 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::LT] in exploreDirections()
2758 if (Bound[Level].Upper[Dependence::DVEntry::EQ]) in exploreDirections()
2759 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::EQ] in exploreDirections()
2769 if (Bound[Level].Upper[Dependence::DVEntry::GT]) in exploreDirections()
2770 LLVM_DEBUG(dbgs() << *Bound[Level].Upper[Dependence::DVEntry::GT] in exploreDirections()
2834 Bound[K].Upper[Dependence::DVEntry::ALL] = nullptr; // Default value = +infinity. in findBoundsALL()
2839 Bound[K].Upper[Dependence::DVEntry::ALL] = in findBoundsALL()
[all …]
H A DValueTracking.cpp435 ConstantInt *Upper = in computeKnownBitsFromRangeMetadata() local
437 ConstantRange Range(Lower->getValue(), Upper->getValue()); in computeKnownBitsFromRangeMetadata()
2557 ConstantInt *Upper = in rangeMetadataExcludesValue() local
2559 ConstantRange Range(Lower->getValue(), Upper->getValue()); in rangeMetadataExcludesValue()
9318 APInt &Upper, const InstrInfoQuery &IIQ, in setLimitsForBinOp() argument
9342 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp()
9346 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp()
9355 Upper = *C + 1; in setLimitsForBinOp()
9360 Upper = APInt::getSignedMinValue(Width) + 1; in setLimitsForBinOp()
9373 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 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;
/freebsd/contrib/bmake/unit-tests/
H A Dvarmod-indirect.mk76 .if ${Upper:L:${:Utu}} != "UPPER"
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp698 LVOffset Upper = CurrentEndOffset; in traverseDieAndChildren() local
704 Upper = Child.getOffset(); in traverseDieAndChildren()
708 if (options().getPrintSizes() && Upper) in traverseDieAndChildren()
709 CompileUnit->addSize(Scope, Lower, Upper); in traverseDieAndChildren()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/Disassembler/
H A DARCDisassembler.cpp340 Field Upper = fieldFromInstruction(Insn, 0, 5); in DecodeSOPwithRS12() local
342 Field Result = Sign * ((Upper << 6) + Lower); in DecodeSOPwithRS12()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1147 SDValue Upper = CurDAG->getConstant(UpperVal, DL, VT); in splitLargeImmediate() local
1149 Upper = CurDAG->getNode(Opcode, DL, VT, Op0, Upper); in splitLargeImmediate()
1164 HandleSDNode Handle(Upper); in splitLargeImmediate()
1165 SelectCode(Upper.getNode()); in splitLargeImmediate()
1166 Upper = Handle.getValue(); in splitLargeImmediate()
1170 SDValue Or = CurDAG->getNode(Opcode, DL, VT, Upper, Lower); in splitLargeImmediate()

123