Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOpDescriptor.cpp20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
/external/llvm-project/llvm/lib/FuzzMutate/
DOpDescriptor.cpp20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/
Dhlo_utils.cc117 return APInt::getSignedMaxValue(width); in GetScalarLimitOfIntegerType()
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp206 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion()
292 APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion()
379 return APInt::getSignedMaxValue(getBitWidth()); in getSignedMax()
672 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(ResultBitWidth); in castOp()
1568 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow()
1614 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp205 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion()
291 APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion()
378 return APInt::getSignedMaxValue(getBitWidth()); in getSignedMax()
656 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(ResultBitWidth); in castOp()
1455 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow()
1501 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp2279 APInt Mask = APInt::getSignedMaxValue(BitWidth); in isKnownNonZero()
5610 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp()
5614 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp()
5636 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1; in setLimitsForBinOp()
5692 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp()
5767 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForIntrinsic()
5771 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
5791 Lower = *C - APInt::getSignedMaxValue(Width); in setLimitsForIntrinsic()
5792 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
5798 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp2386 APInt Mask = APInt::getSignedMaxValue(BitWidth); in isKnownNonZero()
6315 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp()
6319 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp()
6341 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1; in setLimitsForBinOp()
6397 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp()
6479 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForIntrinsic()
6483 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
6503 Lower = *C - APInt::getSignedMaxValue(Width); in setLimitsForIntrinsic()
6504 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
6510 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
[all …]
/external/llvm/unittests/IR/
DConstantRangeTest.cpp554 ConstantRange SMax = ConstantRange(APInt::getSignedMaxValue(32)); in TEST()
683 APInt::getSignedMaxValue(32) - 4)); in TEST()
690 ConstantRange(APInt::getMinValue(32), APInt::getSignedMaxValue(32) - 4)); in TEST()
/external/llvm/include/llvm/ADT/
DAPSInt.h278 : APInt::getSignedMaxValue(numBits), Unsigned); in getMaxValue()
/external/llvm-project/llvm/include/llvm/ADT/
DAPSInt.h289 : APInt::getSignedMaxValue(numBits), Unsigned); in getMaxValue()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h289 : APInt::getSignedMaxValue(numBits), Unsigned); in getMaxValue()
/external/llvm/lib/IR/
DConstantRange.cpp250 return contains(APInt::getSignedMaxValue(getBitWidth())) && in isSignWrappedSet()
289 APInt SignedMax(APInt::getSignedMaxValue(getBitWidth())); in getSignedMax()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp909 : APInt::getSignedMaxValue(width); in truncSSat()
1278 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu()
2045 : APInt::getSignedMaxValue(BitWidth); in sadd_sat()
2064 : APInt::getSignedMaxValue(BitWidth); in ssub_sat()
2086 : APInt::getSignedMaxValue(BitWidth); in smul_sat()
2105 : APInt::getSignedMaxValue(BitWidth); in sshl_sat()
/external/llvm-project/llvm/lib/Support/
DAPInt.cpp902 : APInt::getSignedMaxValue(width); in truncSSat()
1277 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu()
2044 : APInt::getSignedMaxValue(BitWidth); in sadd_sat()
2063 : APInt::getSignedMaxValue(BitWidth); in ssub_sat()
2085 : APInt::getSignedMaxValue(BitWidth); in smul_sat()
2104 : APInt::getSignedMaxValue(BitWidth); in sshl_sat()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp206 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(MaxIntegerBW+1); in walkBackwards()
DInductiveRangeCheckElimination.cpp610 APInt::getSignedMaxValue(cast<IntegerType>(S->getType())->getBitWidth()); in CanBeSMax()
1338 UpperLimit = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp386 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp379 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in extractRangeChecksFromCond()
727 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) : in isSafeIncreasingBound()
1613 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp394 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp397 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp397 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in extractRangeChecksFromCond()
743 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) : in isSafeIncreasingBound()
1628 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp93 : Min(APInt::getSignedMaxValue(Bits)), in SignedOpRangeGatherer()
1444 ConstantRange SMax = ConstantRange(APInt::getSignedMaxValue(32)); in TEST()
1599 APInt::getSignedMaxValue(32) - 4)); in TEST()
1622 APInt::getSignedMaxValue(32) - 4)); in TEST()
1649 APInt::getSignedMaxValue(32))); in TEST()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp403 return APInt::getSignedMaxValue(BitWidth); in getIdentityValueForAtomicOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp403 return APInt::getSignedMaxValue(BitWidth); in getIdentityValueForAtomicOp()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DLoops.cpp306 return b.getIntegerAttr(intType, APInt::getSignedMaxValue(width)); in getPadValueAttr()

123