/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 79 return ConstantRange(APInt::getSignedMinValue(W), SMax); in makeAllowedICmpRegion() 91 return ConstantRange(APInt::getSignedMinValue(W), SMax + 1); in makeAllowedICmpRegion() 103 return ConstantRange(SMin + 1, APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 115 return ConstantRange(SMin, APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 215 ConstantRange(APInt::getSignedMinValue(BitWidth), in makeGuaranteedNoWrapRegion() 216 APInt::getSignedMinValue(BitWidth) - SignedMax)); in makeGuaranteedNoWrapRegion() 220 Result, ConstantRange(APInt::getSignedMinValue(BitWidth) - SignedMin, in makeGuaranteedNoWrapRegion() 221 APInt::getSignedMinValue(BitWidth))); in makeGuaranteedNoWrapRegion() 251 contains(APInt::getSignedMinValue(getBitWidth())); in isSignWrappedSet() 304 APInt SignedMin(APInt::getSignedMinValue(getBitWidth())); in getSignedMin()
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 103 return ConstantRange(APInt::getSignedMinValue(W), std::move(SMax)); in makeAllowedICmpRegion() 108 return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1); in makeAllowedICmpRegion() 119 return ConstantRange(std::move(SMin) + 1, APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 124 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 205 APInt MinValue = APInt::getSignedMinValue(BitWidth); in makeExactMulNSWRegion() 249 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion() 260 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion() 291 return getNonEmpty(APInt::getSignedMinValue(BitWidth).ashr(ShAmtUMax), in makeGuaranteedNoWrapRegion() 385 return APInt::getSignedMinValue(getBitWidth()); in getSignedMin() 671 APInt SMin = APInt::getSignedMinValue(BW).sextOrSelf(ResultBitWidth); in castOp() [all …]
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 436 APInt::getSignedMinValue(16))); in TEST_F() 439 APInt::getSignedMinValue(16))); in TEST_F() 682 ConstantRange(APInt::getSignedMinValue(32), in TEST() 695 ConstantRange(APInt::getSignedMinValue(32) + 5, in TEST() 696 APInt::getSignedMinValue(32))); in TEST() 708 ConstantRange(APInt::getSignedMinValue(32) + 1, in TEST() 709 APInt::getSignedMinValue(32) - 1)); in TEST() 728 EXPECT_TRUE(ConstantRange(APInt::getSignedMinValue(32), APInt(32, 100)) in TEST() 738 EXPECT_TRUE(ConstantRange(APInt(32, 100), APInt::getSignedMinValue(32)) in TEST() 756 EXPECT_FALSE(ConstantRange(APInt::getSignedMinValue(32) - APInt(32, 100), in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 102 return ConstantRange(APInt::getSignedMinValue(W), std::move(SMax)); in makeAllowedICmpRegion() 107 return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1); in makeAllowedICmpRegion() 118 return ConstantRange(std::move(SMin) + 1, APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 123 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 204 APInt MinValue = APInt::getSignedMinValue(BitWidth); in makeExactMulNSWRegion() 248 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion() 259 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion() 290 return getNonEmpty(APInt::getSignedMinValue(BitWidth).ashr(ShAmtUMax), in makeGuaranteedNoWrapRegion() 384 return APInt::getSignedMinValue(getBitWidth()); in getSignedMin() 655 APInt SMin = APInt::getSignedMinValue(BW).sextOrSelf(ResultBitWidth); in castOp() [all …]
|
/external/llvm-project/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 94 Max(APInt::getSignedMinValue(Bits)) {} in SignedOpRangeGatherer() 346 ConstantRange CR2(APInt(8, 42), APInt::getSignedMinValue(8)); in TEST_F() 1117 APInt::getSignedMinValue(16))); in TEST_F() 1120 APInt::getSignedMinValue(16))); in TEST_F() 1302 EXPECT_EQ(Full.srem(Full), ConstantRange(APInt::getSignedMinValue(16) + 1, in TEST_F() 1303 APInt::getSignedMinValue(16))); in TEST_F() 1307 ConstantRange IntMinMod(APInt::getSignedMinValue(16)); in TEST_F() 1598 ConstantRange(APInt::getSignedMinValue(32), in TEST() 1605 ConstantRange(APInt::getSignedMinValue(32) + 5, in TEST() 1606 APInt::getSignedMinValue(32))); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | OpDescriptor.cpp | 21 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
|
/external/llvm-project/llvm/lib/FuzzMutate/ |
D | OpDescriptor.cpp | 21 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/ |
D | hlo_utils.cc | 109 return APInt::getSignedMinValue(width); in GetScalarLimitOfIntegerType()
|
/external/llvm-project/llvm/lib/Support/ |
D | APInt.cpp | 901 return isNegative() ? APInt::getSignedMinValue(width) in truncSSat() 1229 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magic() 1276 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magicu() 2043 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sadd_sat() 2062 return isNegative() ? APInt::getSignedMinValue(BitWidth) in ssub_sat() 2084 return ResIsNegative ? APInt::getSignedMinValue(BitWidth) in smul_sat() 2103 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sshl_sat()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APInt.cpp | 908 return isNegative() ? APInt::getSignedMinValue(width) in truncSSat() 1230 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magic() 1277 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magicu() 2044 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sadd_sat() 2063 return isNegative() ? APInt::getSignedMinValue(BitWidth) in ssub_sat() 2085 return ResIsNegative ? APInt::getSignedMinValue(BitWidth) in smul_sat() 2104 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sshl_sat()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 5609 Lower = APInt::getSignedMinValue(Width); in setLimitsForBinOp() 5613 Lower = APInt::getSignedMinValue(Width) + *C; in setLimitsForBinOp() 5635 Lower = APInt::getSignedMinValue(Width).ashr(*C); in setLimitsForBinOp() 5691 APInt IntMin = APInt::getSignedMinValue(Width); in setLimitsForBinOp() 5766 Lower = APInt::getSignedMinValue(Width); in setLimitsForIntrinsic() 5770 Lower = APInt::getSignedMinValue(Width) + *C; in setLimitsForIntrinsic() 5787 Lower = APInt::getSignedMinValue(Width); in setLimitsForIntrinsic() 5788 Upper = *C - APInt::getSignedMinValue(Width) + 1; in setLimitsForIntrinsic() 5797 Lower = APInt::getSignedMinValue(Width) - *C; in setLimitsForIntrinsic() 5801 Lower = APInt::getSignedMinValue(Width); in setLimitsForIntrinsic() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 6314 Lower = APInt::getSignedMinValue(Width); in setLimitsForBinOp() 6318 Lower = APInt::getSignedMinValue(Width) + *C; in setLimitsForBinOp() 6340 Lower = APInt::getSignedMinValue(Width).ashr(*C); in setLimitsForBinOp() 6396 APInt IntMin = APInt::getSignedMinValue(Width); in setLimitsForBinOp() 6478 Lower = APInt::getSignedMinValue(Width); in setLimitsForIntrinsic() 6482 Lower = APInt::getSignedMinValue(Width) + *C; in setLimitsForIntrinsic() 6499 Lower = APInt::getSignedMinValue(Width); in setLimitsForIntrinsic() 6500 Upper = *C - APInt::getSignedMinValue(Width) + 1; in setLimitsForIntrinsic() 6509 Lower = APInt::getSignedMinValue(Width) - *C; in setLimitsForIntrinsic() 6513 Lower = APInt::getSignedMinValue(Width); in setLimitsForIntrinsic() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APSInt.h | 296 : APInt::getSignedMinValue(numBits), Unsigned); in getMinValue()
|
D | APInt.h | 549 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function 560 return getSignedMinValue(BitWidth); in getSignMask()
|
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 285 : APInt::getSignedMinValue(numBits), Unsigned); in getMinValue()
|
D | APInt.h | 437 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function 448 return getSignedMinValue(BitWidth); in getSignBit()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APSInt.h | 296 : APInt::getSignedMinValue(numBits), Unsigned); in getMinValue()
|
D | APInt.h | 550 static APInt getSignedMinValue(unsigned numBits) { 561 return getSignedMinValue(BitWidth);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 441 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function 452 return getSignedMinValue(BitWidth); in getSignBit()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 205 APInt SMin = APInt::getSignedMinValue(BW).sextOrSelf(MaxIntegerBW+1); in walkBackwards()
|
D | GuardWidening.cpp | 598 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonAsmBackend.cpp | 385 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
|
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonAsmBackend.cpp | 396 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonAsmBackend.cpp | 393 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAtomicOptimizer.cpp | 401 return APInt::getSignedMinValue(BitWidth); in getIdentityValueForAtomicOp()
|