Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp34 APInt PossibleSumOne = LHS.getMinValue() + RHS.getMinValue() + CarryOne; in computeForAddCarry()
88 APInt MinVal = LHS.getMinValue().uadd_sat(RHS.getMinValue()); in computeForAddSub()
100 APInt MaxVal = LHS.getMaxValue().usub_sat(RHS.getMinValue()); in computeForAddSub()
192 if (LHS.getMinValue().uge(RHS.getMaxValue())) in umax()
194 if (RHS.getMinValue().uge(LHS.getMaxValue())) in umax()
200 KnownBits L = LHS.makeGE(RHS.getMinValue()); in umax()
201 KnownBits R = RHS.makeGE(LHS.getMinValue()); in umax()
231 if (LHS.getMinValue().uge(RHS.getMaxValue())) in abdu()
234 if (RHS.getMinValue().uge(LHS.getMaxValue())) in abdu()
311 unsigned MinShiftAmount = RHS.getMinValue().getLimitedValue(BitWidth); in shl()
[all …]
H A DAPFixedPoint.cpp138 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
474 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DInstructionCost.h63 static CostType getMinValue() { return std::numeric_limits<CostType>::min(); } in getMinValue() function
73 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.h122 APInt getMinValue() const { in getMinValue() function
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h198 APSIntPtr getMinValue(const llvm::APSInt &v) { in getMinValue() function
199 return getValue(APSIntType(v).getMinValue()); in getMinValue()
204 APSIntPtr getMinValue(QualType T) { return getMinValue(getAPSIntType(T)); } in getMinValue() function
208 APSIntPtr getMinValue(APSIntType T) { return getValue(T.getMinValue()); } in getMinValue() function
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()
H A DSValBuilder.h118 virtual const llvm::APSInt *getMinValue(ProgramStateRef state, SVal val) = 0;
/freebsd/contrib/llvm-project/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 DSimpleSValBuilder.cpp87 const llvm::APSInt *getMinValue(ProgramStateRef state, SVal V) override;
1226 const llvm::APSInt *SimpleSValBuilder::getMinValue(ProgramStateRef state, in getMinValue() function in SimpleSValBuilder
H A DProgramState.cpp333 nonloc::ConcreteInt Min(BVF.getMinValue(indexTy)); in assumeInBoundDual()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp27 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp46 : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)), in ConstantRange()
70 return ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1); in fromKnownBits()
74 APInt Lower = Known.getMinValue(), Upper = Known.getMaxValue(); in fromKnownBits()
128 return ConstantRange(APInt::getMinValue(W), std::move(UMax)); in makeAllowedICmpRegion()
137 return getNonEmpty(APInt::getMinValue(W), CR.getUnsignedMax() + 1); in makeAllowedICmpRegion()
294 APIntOps::RoundingUDiv(APInt::getMinValue(BitWidth), V, in makeExactMulNUWRegion()
356 return getNonEmpty(Other.getUnsignedMax(), APInt::getMinValue(BitWidth)); in makeGuaranteedNoWrapRegion()
501 return APInt::getMinValue(getBitWidth()); in getUnsignedMin()
810 APInt Min = APInt::getMinValue(BW); in castOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h312 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() function
313 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBitwiseShiftChecker.cpp178 if (const llvm::APSInt *MinRight = SVB.getMinValue(FoldedState, Right); in checkOvershift()
H A DBuiltinFunctionChecker.cpp158 auto MinValType = llvm::APSInt::getMinValue(BitWidth, IsUnsigned); in checkOverflow()
H A DStdLibraryFunctionsChecker.cpp939 else if (RMin == BVF.getMinValue(ArgT)) { in appendInsideRangeDesc()
966 } else if (RMin == BVF.getMinValue(ArgT)) { in appendOutOfRangeDesc()
1006 const llvm::APSInt &MinusInf = BVF.getMinValue(ArgT); in applyOnOutOfRange()
3714 const RangeInt IntMin = BVF.getMinValue(IntTy)->getLimitedValue(); in initFunctionSummaries()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h312 : APInt::getMinValue(BW)); in getSentinelValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.cpp364 int HexagonMCInstrInfo::getMinValue(MCInstrInfo const &MCII, in getMinValue() function in HexagonMCInstrInfo
577 int32_t MinValue = HexagonMCInstrInfo::getMinValue(MCII, MCI); in isConstExtended()
582 uint32_t MinValue = HexagonMCInstrInfo::getMinValue(MCII, MCI); in isConstExtended()
H A DHexagonMCInstrInfo.h161 int getMinValue(MCInstrInfo const &MCII, MCInst const &MCI);
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h467 int getMinValue(const MachineInstr &MI) const;
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java395 getMinValue() in getMinValue() method in TestBean
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp744 : APInt::getMinValue(NumBits); in isFindIVPattern()
753 APInt::getMinValue(NumBits), APInt::getMaxValue(NumBits) - 1); in isFindIVPattern()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp56 : APInt::getMinValue(BitWidth); in isSafeDecreasingBound()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp617 return ConstantInt::get(C, APInt::getMinValue(BitWidth)); in getIdentityValueForAtomicOp()

12