Home
last modified time | relevance | path

Searched refs:getMinValue (Results 1 – 25 of 36) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DInstructionCost.h62 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 DKnownBits.h120 APInt getMinValue() const { in getMinValue() function
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h198 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 DAPSIntType.h60 llvm::APSInt getMinValue() const LLVM_READONLY { in getMinValue() function
61 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); in getMinValue()
H A DRangedConstraintManager.h339 const llvm::APSInt &getMinValue() const;
356 APSIntType T{getMinValue()}; in containsZero()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DKnownBits.cpp28 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 DAPFixedPoint.cpp128 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 DRangeConstraintManager.cpp181 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 DProgramState.cpp334 nonloc::ConcreteInt Min(BVF.getMinValue(indexTy)); in assumeInBoundDual()
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp19 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantRange.cpp45 : 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 DAPSInt.h311 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() function
312 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue()
H A DAPInt.h196 static APInt getMinValue(unsigned numBits) { return APInt(numBits, 0); } in getMinValue() function
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.h161 int getMinValue(MCInstrInfo const &MCII, MCInst const &MCI);
H A DHexagonMCInstrInfo.cpp364 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 DHexagonInstrInfo.h465 int getMinValue(const MachineInstr &MI) const;
H A DHexagonInstrInfo.cpp2180 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 DAMDGPUAtomicOptimizer.cpp443 return APInt::getMinValue(BitWidth); in getIdentityValueForAtomicOp()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp131 BitWidth, WidthKnown.getMinValue().getLimitedValue(BitWidth)); in extractBits()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolution.cpp1319 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 DIntrinsicInst.h696 return APInt::getMinValue(numBits); in getSaturationPoint()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1130 APInt::getMinValue(BitWidth); in cannotBeMinInLoop()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp693 APInt::getMinValue(BitWidth); in isSafeDecreasingBound()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp223 if (KnownAmtBits.getMinValue().uge(BitWidth)) { in simplifyX86immShift()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5513 Op0Min = Op0Known.getMinValue(); in foldICmpUsingKnownBits()
5515 Op1Min = Op1Known.getMinValue(); in foldICmpUsingKnownBits()
6559 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()

12