Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.cpp124 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
420 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h185 const llvm::APSInt &getMinValue(const llvm::APSInt &v) { in getMinValue() function
186 return getValue(APSIntType(v).getMinValue()); in getMinValue()
193 const llvm::APSInt &getMinValue(QualType T) { in getMinValue() function
194 return getMinValue(getAPSIntType(T)); in getMinValue()
201 const llvm::APSInt &getMinValue(APSIntType T) { in getMinValue() function
202 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.h269 const llvm::APSInt &getMinValue() const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp163 const llvm::APSInt &RangeSet::getMinValue() const { in getMinValue() function in RangeSet
186 APSIntType Type(getMinValue()); in pin()
200 APSIntType Type(getMinValue()); in pin()
214 Lower = Type.getMinValue(); in pin()
219 Lower = Type.getMinValue(); in pin()
224 Lower = Type.getMinValue(); in pin()
255 Lower = Type.getMinValue(); in pin()
265 Lower = Type.getMinValue(); in pin()
293 if (What.getMaxValue() < Lower || Upper < What.getMinValue()) in intersect()
306 if (What.getMaxValue() < Lower && Upper < What.getMinValue()) in intersect()
[all …]
H A DProgramState.cpp339 nonloc::ConcreteInt Min(BVF.getMinValue(indexTy)); in assumeInBound()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantRange.cpp44 : 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()
97 return ConstantRange(APInt::getMinValue(W), std::move(UMax)); in makeAllowedICmpRegion()
106 return getNonEmpty(APInt::getMinValue(W), CR.getUnsignedMax() + 1); in makeAllowedICmpRegion()
196 APIntOps::RoundingUDiv(APInt::getMinValue(BitWidth), V, in makeExactMulNUWRegion()
263 return getNonEmpty(Other.getUnsignedMax(), APInt::getMinValue(BitWidth)); in makeGuaranteedNoWrapRegion()
378 return APInt::getMinValue(getBitWidth()); in getUnsignedMin()
669 APInt Min = APInt::getMinValue(BW).zextOrSelf(ResultBitWidth); in castOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp19 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPSInt.h294 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() function
295 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue()
H A DAPInt.h547 static APInt getMinValue(unsigned numBits) { return APInt(numBits, 0); }
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DKnownBits.h118 APInt getMinValue() const { in getMinValue() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.h153 int getMinValue(MCInstrInfo const &MCII, MCInst const &MCI);
H A DHexagonMCInstrInfo.cpp357 int HexagonMCInstrInfo::getMinValue(MCInstrInfo const &MCII, in getMinValue() function in HexagonMCInstrInfo
567 int MinValue = HexagonMCInstrInfo::getMinValue(MCII, MCI); in isConstExtended()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h460 int getMinValue(const MachineInstr &MI) const;
H A DHexagonInstrInfo.cpp2094 int MinValue = getMinValue(MI); in isConstExtended()
4403 int HexagonInstrInfo::getMinValue(const MachineInstr &MI) const { in getMinValue() function in HexagonInstrInfo
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp437 return APInt::getMinValue(BitWidth); in getIdentityValueForAtomicOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolution.cpp1299 return SE->getConstant(APInt::getMinValue(BitWidth) - in getUnsignedOverflowLimitForStep()
4548 const SCEV *N = getConstant(APInt::getMinValue(BitWidth) - in proveNoUnsignedWrapViaInduction()
5739 return ConstantRange::getNonEmpty(KnownEnd.getMinValue(), in getRangeForUnknownRecurrence()
5743 return ConstantRange::getNonEmpty(KnownStart.getMinValue(), in getRangeForUnknownRecurrence()
5755 return ConstantRange::getNonEmpty(KnownEnd.getMinValue(), in getRangeForUnknownRecurrence()
5763 return ConstantRange(KnownStart.getMinValue(), in getRangeForUnknownRecurrence()
5802 ConstantRange(APInt::getMinValue(BitWidth), in getRangeRef()
6010 if (Known.getMinValue() != Known.getMaxValue() + 1) in getRangeRef()
6012 ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1), in getRangeRef()
11229 APInt MinValue = APInt::getMinValue(BitWidth); in doesIVOverflowOnGT()
[all …]
H A DConstantFolding.cpp2458 return ConstantInt::get(Ty, APInt::getMinValue(BitWidth)); in ConstantFoldScalarCall2()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1121 APInt::getMinValue(BitWidth); in cannotBeMinInLoop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp696 APInt::getMinValue(BitWidth); in isSafeDecreasingBound()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp222 if (KnownAmtBits.getMinValue().uge(BitWidth)) { in simplifyX86immShift()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5069 Op0Min = Op0Known.getMinValue(); in foldICmpUsingKnownBits()
5071 Op1Min = Op1Known.getMinValue(); in foldICmpUsingKnownBits()
5957 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()
H A DInstCombineCalls.cpp1224 APInt Min = APSInt::getMinValue(BitWidth, !SI->isSigned()); in visitCallInst()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp748 const llvm::APSInt &MinusInf = BVF.getMinValue(T); in applyAsWithinRange()

12