| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | InstructionCost.h | 62 static CostType getMinValue() { return std::numeric_limits<CostType>::min(); } in getMinValue() function 72 static InstructionCost getMin() { return getMinValue(); } in getMin() 105 Result = RHS.Value > 0 ? getMaxValue() : getMinValue(); 123 Result = RHS.Value > 0 ? getMinValue() : getMaxValue(); 143 Result = getMinValue();
|
| H A D | KnownBits.h | 120 APInt getMinValue() const { in getMinValue() function
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 28 APInt PossibleSumOne = LHS.getMinValue() + RHS.getMinValue() + CarryOne; in computeForAddCarry() 122 if (LHS.getMinValue().uge(RHS.getMaxValue())) in umax() 124 if (RHS.getMinValue().uge(LHS.getMaxValue())) in umax() 130 KnownBits L = LHS.makeGE(RHS.getMinValue()); in umax() 131 KnownBits R = RHS.makeGE(LHS.getMinValue()); in umax() 186 APInt MinShiftAmount = RHS.getMinValue(); in shl() 239 APInt MinShiftAmount = RHS.getMinValue(); in lshr() 291 APInt MinShiftAmount = RHS.getMinValue(); in ashr() 349 if (LHS.getMaxValue().ule(RHS.getMinValue())) in ugt() 352 if (LHS.getMinValue().ugt(RHS.getMaxValue())) in ugt()
|
| H A D | APFixedPoint.cpp | 124 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin() 420 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 192 const llvm::APSInt &getMinValue(const llvm::APSInt &v) { in getMinValue() function 193 return getValue(APSIntType(v).getMinValue()); in getMinValue() 200 const llvm::APSInt &getMinValue(QualType T) { in getMinValue() function 201 return getMinValue(getAPSIntType(T)); in getMinValue() 208 const llvm::APSInt &getMinValue(APSIntType T) { in getMinValue() function 209 return getValue(T.getMinValue()); in getMinValue()
|
| H A D | APSIntType.h | 60 llvm::APSInt getMinValue() const LLVM_READONLY { in getMinValue() function 61 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); in getMinValue()
|
| H A D | RangedConstraintManager.h | 339 const llvm::APSInt &getMinValue() const; 356 APSIntType T{getMinValue()}; in containsZero()
|
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | FixedPointString.cpp | 93 FixedPointValueToString(S, APSInt::getMinValue(16, /*Unsigned=*/false), 7); in TEST() 98 FixedPointValueToString(S, APSInt::getMinValue(32, /*Unsigned=*/false), 15); in TEST() 103 FixedPointValueToString(S, APSInt::getMinValue(64, /*Unsigned=*/false), 31); in TEST()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | RangeConstraintManager.cpp | 180 const APSInt Min = Ty.getMinValue(); in unite() 346 const llvm::APSInt &RangeSet::getMinValue() const { in getMinValue() function in RangeSet 384 APSIntType Type(getMinValue()); in pin() 398 APSIntType Type(getMinValue()); in pin() 412 Lower = Type.getMinValue(); in pin() 417 Lower = Type.getMinValue(); in pin() 422 Lower = Type.getMinValue(); in pin() 453 Lower = Type.getMinValue(); in pin() 463 Lower = Type.getMinValue(); in pin() 597 RHS.getMaxValue() < LHS.getMinValue()) in intersect() [all …]
|
| H A D | ProgramState.cpp | 335 nonloc::ConcreteInt Min(BVF.getMinValue(indexTy)); in assumeInBoundDual()
|
| /llvm-project-15.0.7/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 19 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 44 : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)), in ConstantRange() 68 return ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1); in fromKnownBits() 72 APInt Lower = Known.getMinValue(), Upper = Known.getMaxValue(); in fromKnownBits() 115 return ConstantRange(APInt::getMinValue(W), std::move(UMax)); in makeAllowedICmpRegion() 124 return getNonEmpty(APInt::getMinValue(W), CR.getUnsignedMax() + 1); in makeAllowedICmpRegion() 253 APIntOps::RoundingUDiv(APInt::getMinValue(BitWidth), V, in makeExactMulNUWRegion() 319 return getNonEmpty(Other.getUnsignedMax(), APInt::getMinValue(BitWidth)); in makeGuaranteedNoWrapRegion() 433 return APInt::getMinValue(getBitWidth()); in getUnsignedMin() 742 APInt Min = APInt::getMinValue(BW); in castOp()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 290 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() function 291 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantRangeTest.cpp | 398 ConstantRange CR1(APInt(8, 42), APInt::getMinValue(8)); in TEST_F() 1602 ConstantRange(APInt::getMinValue(32), APInt::getMinValue(32) - 5)); in TEST() 1609 ConstantRange(APInt::getMinValue(32) + 5, APInt::getMinValue(32))); in TEST() 1626 APInt::getMinValue(32))); in TEST() 1643 APInt::getMinValue(32))); in TEST() 1652 ConstantRange(APInt::getMinValue(32), APInt::getMaxValue(32))); in TEST() 1659 ConstantRange(APInt::getMinValue(32) + 1, APInt::getMinValue(32))); in TEST() 1820 EXPECT_TRUE(ConstantRange(APInt::getMinValue(32), APInt(32, 100)) in TEST() 1830 EXPECT_TRUE(ConstantRange(APInt(32, 100), APInt::getMinValue(32)) in TEST() 1857 EXPECT_FALSE(ConstantRange(APInt::getMinValue(32) - APInt(32, 100), in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | InferIntRangeInterface.cpp | 61 umin = APInt::getMinValue(width); in fromSigned()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ValueTrackingTest.cpp | 1609 EXPECT_EQ(Known.getMinValue(), 0u); in TEST_F() 1662 EXPECT_EQ(Known.getMinValue(), 544); in TEST_F() 1691 EXPECT_EQ(Known.getMinValue(), 0u); in TEST_F() 1722 EXPECT_EQ(Known.getMinValue(), 544); in TEST_F()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/ |
| H A D | IntegerRangeAnalysis.cpp | 28 APInt umin = APInt::getMinValue(width); in getPessimisticValueState()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | KnownBitsTest.cpp | 401 APInt Max = APInt::getMinValue(Bits); in TEST() 406 EXPECT_EQ(Min, Known.getMinValue()); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCInstrInfo.h | 162 int getMinValue(MCInstrInfo const &MCII, MCInst const &MCI);
|
| H A D | HexagonMCInstrInfo.cpp | 364 int HexagonMCInstrInfo::getMinValue(MCInstrInfo const &MCII, in getMinValue() function in HexagonMCInstrInfo 574 int MinValue = HexagonMCInstrInfo::getMinValue(MCII, MCI); in isConstExtended()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.h | 464 int getMinValue(const MachineInstr &MI) const;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | NarrowingConversionsCheck.cpp | 252 return {llvm::APSInt::getMinValue(TypeSize, IsUnsignedInteger), in createFromType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/ |
| H A D | TosaCanonicalizations.cpp | 365 APInt::getMinValue(inputElementType.getIntOrFloatBitWidth()) in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 443 return APInt::getMinValue(BitWidth); in getIdentityValueForAtomicOp()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 132 BitWidth, WidthKnown.getMinValue().getLimitedValue(BitWidth)); in extractBits()
|