Home
last modified time | relevance | path

Searched refs:getSignedMaxValue (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp21 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantRange.cpp280 MaxValue = APInt::getSignedMaxValue(BitWidth); in makeGuaranteedNoWrapRegion()
332 return contains(APInt::getSignedMaxValue(getBitWidth())) && in isSignWrappedSet()
379 return APInt::getSignedMaxValue(getBitWidth()); in getSignedMax()
603 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(ResultBitWidth); in castOp()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPSInt.h272 : APInt::getSignedMaxValue(numBits), Unsigned); in getMaxValue()
H A DAPInt.h535 static APInt getSignedMaxValue(unsigned numBits) { in getSignedMaxValue() function
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp374 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in extractRangeChecksFromCond()
735 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) : in isSafeIncreasingBound()
1595 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2493 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp()
2497 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp()
2519 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1; in setLimitsForBinOp()
2575 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp()
2653 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForIntrinsic()
2657 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
2677 Lower = *C - APInt::getSignedMaxValue(Width); in setLimitsForIntrinsic()
2678 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
2684 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
2688 Upper = APInt::getSignedMaxValue(Width) - *C + 1; in setLimitsForIntrinsic()
H A DDependenceAnalysis.cpp1535 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest()
1943 APInt TU(APInt::getSignedMaxValue(Bits)); in exactRDIVtest()
H A DScalarEvolution.cpp1316 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) - in getSignedOverflowLimitForStep()
5577 APInt::getSignedMaxValue(BitWidth).ashr(TZ).shl(TZ) + 1); in getRangeRef()
5709 APInt::getSignedMaxValue(BitWidth).ashr(NS - 1) + 1)); in getRangeRef()
10400 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in doesIVOverflowOnLT()
10472 APInt MaxValue = IsSigned ? APInt::getSignedMaxValue(BitWidth) in computeMaxBECountForLT()
H A DValueTracking.cpp2112 APInt Mask = APInt::getSignedMaxValue(BitWidth); in isKnownNonZero()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonAsmBackend.cpp398 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPInt.cpp1197 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu()
1957 : APInt::getSignedMaxValue(BitWidth); in sadd_sat()
1976 : APInt::getSignedMaxValue(BitWidth); in ssub_sat()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp963 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) : in cannotBeMaxInLoop()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DInitPreprocessor.cpp169 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2615 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC()
2704 C1 == APInt::getSignedMaxValue(OperandBitSize)) in SimplifySetCC()
5348 APInt MaxVal = APInt::getSignedMaxValue(BitWidth); in expandAddSubSat()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1105 APInt SMax = APInt::getSignedMaxValue(C.getBitWidth()); in foldICmpAddOpConst()
5159 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
H A DInstCombineCalls.cpp581 Val = APInt::getSignedMaxValue(DstScalarSizeInBits); in simplifyX86pack()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp18629 APInt MaskElt = IsFABS ? APInt::getSignedMaxValue(EltBits) : in LowerFABSorFNEG()
18691 APFloat(Sem, APInt::getSignedMaxValue(EltSizeInBits)), dl, LogicVT); in LowerFCOPYSIGN()
33458 Mask = DAG.getConstant(APInt::getSignedMaxValue(MaskEltsBits), DL, SrcVT); in combineHorizontalMinMaxResult()
35724 Val = APInt::getSignedMaxValue(DstBitsPerElt); in combineVectorPack()
37045 SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOpenMP.cpp11240 : IsSigned ? llvm::APInt::getSignedMaxValue(Size) in actOnOMPReductionKindClause()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp1291 llvm::APInt::getSignedMaxValue(ResultInfo.Width).zextOrSelf(OpWidth); in EmitCheckedMixedSignMultiply()