| /openbsd-src/gnu/llvm/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
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 198 const llvm::APSInt &getMinValue(const llvm::APSInt &v) { in getMinValue() function 199 return getValue(APSIntType(v).getMinValue()); in getMinValue() 206 const llvm::APSInt &getMinValue(QualType T) { in getMinValue() function 207 return getMinValue(getAPSIntType(T)); in getMinValue() 214 const llvm::APSInt &getMinValue(APSIntType T) { in getMinValue() function 215 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()
|
| /openbsd-src/gnu/llvm/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 | 128 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin() 451 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | RangeConstraintManager.cpp | 181 const APSInt Min = Ty.getMinValue(); in unite() 347 const llvm::APSInt &RangeSet::getMinValue() const { in getMinValue() function in RangeSet 385 APSIntType Type(getMinValue()); in pin() 399 APSIntType Type(getMinValue()); in pin() 413 Lower = Type.getMinValue(); in pin() 418 Lower = Type.getMinValue(); in pin() 423 Lower = Type.getMinValue(); in pin() 454 Lower = Type.getMinValue(); in pin() 464 Lower = Type.getMinValue(); in pin() 492 if (What.getMaxValue() < Lower || Upper < What.getMinValue()) in intersect() [all …]
|
| H A D | ProgramState.cpp | 334 nonloc::ConcreteInt Min(BVF.getMinValue(indexTy)); in assumeInBoundDual()
|
| /openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 19 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 45 : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)), in ConstantRange() 69 return ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1); in fromKnownBits() 73 APInt Lower = Known.getMinValue(), Upper = Known.getMaxValue(); in fromKnownBits() 116 return ConstantRange(APInt::getMinValue(W), std::move(UMax)); in makeAllowedICmpRegion() 125 return getNonEmpty(APInt::getMinValue(W), CR.getUnsignedMax() + 1); in makeAllowedICmpRegion() 254 APIntOps::RoundingUDiv(APInt::getMinValue(BitWidth), V, in makeExactMulNUWRegion() 316 return getNonEmpty(Other.getUnsignedMax(), APInt::getMinValue(BitWidth)); in makeGuaranteedNoWrapRegion() 430 return APInt::getMinValue(getBitWidth()); in getUnsignedMin() 739 APInt Min = APInt::getMinValue(BW); in castOp()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 311 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() function 312 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue()
|
| H A D | APInt.h | 196 static APInt getMinValue(unsigned numBits) { return APInt(numBits, 0); } in getMinValue() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCInstrInfo.h | 161 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.h | 465 int getMinValue(const MachineInstr &MI) const;
|
| H A D | HexagonInstrInfo.cpp | 2180 int MinValue = getMinValue(MI); in isConstExtended() 4481 int HexagonInstrInfo::getMinValue(const MachineInstr &MI) const { in getMinValue() function in HexagonInstrInfo
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 443 return APInt::getMinValue(BitWidth); in getIdentityValueForAtomicOp()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 131 BitWidth, WidthKnown.getMinValue().getLimitedValue(BitWidth)); in extractBits()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 1319 return SE->getConstant(APInt::getMinValue(BitWidth) - in getUnsignedOverflowLimitForStep() 5176 const SCEV *N = getConstant(APInt::getMinValue(BitWidth) - in proveNoUnsignedWrapViaInduction() 6493 return ConstantRange::getNonEmpty(KnownEnd.getMinValue(), in getRangeForUnknownRecurrence() 6497 return ConstantRange::getNonEmpty(KnownStart.getMinValue(), in getRangeForUnknownRecurrence() 6509 return ConstantRange::getNonEmpty(KnownEnd.getMinValue(), in getRangeForUnknownRecurrence() 6517 return ConstantRange(KnownStart.getMinValue(), in getRangeForUnknownRecurrence() 6639 ConstantRange(APInt::getMinValue(BitWidth), in getRangeRef() 6852 if (Known.getMinValue() != Known.getMaxValue() + 1) in getRangeRef() 6854 ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1), in getRangeRef() 12666 APInt MinValue = APInt::getMinValue(BitWidth); in canIVOverflowOnGT() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | IntrinsicInst.h | 696 return APInt::getMinValue(numBits); in getSaturationPoint()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LoopUtils.cpp | 1130 APInt::getMinValue(BitWidth); in cannotBeMinInLoop()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | InductiveRangeCheckElimination.cpp | 693 APInt::getMinValue(BitWidth); in isSafeDecreasingBound()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 223 if (KnownAmtBits.getMinValue().uge(BitWidth)) { in simplifyX86immShift()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 5513 Op0Min = Op0Known.getMinValue(); in foldICmpUsingKnownBits() 5515 Op1Min = Op1Known.getMinValue(); in foldICmpUsingKnownBits() 6559 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()
|