Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp25 APInt PossibleSumOne = LHS.getMinValue() + RHS.getMinValue() + CarryOne; in computeForAddCarry()
79 APInt MinVal = LHS.getMinValue().uadd_sat(RHS.getMinValue()); in computeForAddSub()
91 APInt MaxVal = LHS.getMaxValue().usub_sat(RHS.getMinValue()); in computeForAddSub()
183 if (LHS.getMinValue().uge(RHS.getMaxValue())) in umax()
185 if (RHS.getMinValue().uge(LHS.getMaxValue())) in umax()
191 KnownBits L = LHS.makeGE(RHS.getMinValue()); in umax()
192 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.cpp128 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
457 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
/freebsd/contrib/llvm-project/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.h118 APInt getMinValue() const { in getMinValue() function
/freebsd/contrib/llvm-project/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()
H A DSValBuilder.h117 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 DProgramState.cpp347 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.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()
283 APIntOps::RoundingUDiv(APInt::getMinValue(BitWidth), V, in makeExactMulNUWRegion()
345 return getNonEmpty(Other.getUnsignedMax(), APInt::getMinValue(BitWidth)); in makeGuaranteedNoWrapRegion()
490 return APInt::getMinValue(getBitWidth()); in getUnsignedMin()
799 APInt Min = APInt::getMinValue(BW); in castOp()
/freebsd/contrib/llvm-project/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
/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.h466 int getMinValue(const MachineInstr &MI) const;
H A DHexagonInstrInfo.cpp2185 int32_t MinValue = getMinValue(MI); in isConstExtended()
2190 uint32_t MinValue = getMinValue(MI); in isConstExtended()
4511 int HexagonInstrInfo::getMinValue(const MachineInstr &MI) const { in getMinValue() function in HexagonInstrInfo
/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/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp140 BitWidth, WidthKnown.getMinValue().getLimitedValue(BitWidth)); in extractBits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp56 : APInt::getMinValue(BitWidth); in isSafeDecreasingBound()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp941 else if (RMin == BVF.getMinValue(ArgT)) { in appendInsideRangeDesc()
968 } else if (RMin == BVF.getMinValue(ArgT)) { in appendOutOfRangeDesc()
1008 const llvm::APSInt &MinusInf = BVF.getMinValue(ArgT); in applyOnOutOfRange()
3704 const RangeInt IntMin = BVF.getMinValue(IntTy).getLimitedValue(); in initFunctionSummaries()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp635 return ConstantInt::get(C, APInt::getMinValue(BitWidth)); in getIdentityValueForAtomicOp()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp1258 return SE->getConstant(APInt::getMinValue(BitWidth) - in getUnsignedOverflowLimitForStep()
2364 : APInt::getMinValue(NumBits); in willNotOverflow()
5225 const SCEV *N = getConstant(APInt::getMinValue(BitWidth) - in proveNoUnsignedWrapViaInduction()
6503 return ConstantRange::getNonEmpty(KnownEnd.getMinValue(), in getRangeForUnknownRecurrence()
6507 return ConstantRange::getNonEmpty(KnownStart.getMinValue(), in getRangeForUnknownRecurrence()
6519 return ConstantRange::getNonEmpty(KnownEnd.getMinValue(), in getRangeForUnknownRecurrence()
6527 return ConstantRange(KnownStart.getMinValue(), in getRangeForUnknownRecurrence()
6650 ConstantRange(APInt::getMinValue(BitWidth), in getRangeRef()
6879 if (Known.getMinValue() != Known.getMaxValue() + 1) in getRangeRef()
6881 ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1), in getRangeRef()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h806 return APInt::getMinValue(numBits); in getSaturationPoint()

12