Home
last modified time | relevance | path

Searched refs:getSignedMinValue (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm/lib/IR/
DConstantRange.cpp79 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()
DInstructions.cpp3514 Lower = APInt::getSignedMinValue(BitWidth); in makeConstantRange()
3526 ++Lower; Upper = APInt::getSignedMinValue(BitWidth); // Min = Next(Max) in makeConstantRange()
3538 Lower = APInt::getSignedMinValue(BitWidth); ++Upper; in makeConstantRange()
3550 Upper = APInt::getSignedMinValue(BitWidth); // Min = Next(Max) in makeConstantRange()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp436 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/
DConstantRange.cpp102 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/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOpDescriptor.cpp21 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/utils/
Dhlo_utils.cc136 return APInt::getSignedMinValue(width); in getScalarLimitOfIntegerType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp908 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/
DValueTracking.cpp5609 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/include/llvm/ADT/
DAPInt.h437 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function
448 return getSignedMinValue(BitWidth); in getSignBit()
DAPSInt.h285 : APInt::getSignedMinValue(numBits), Unsigned); in getMinValue()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h296 : APInt::getSignedMinValue(numBits), Unsigned); in getMinValue()
DAPInt.h549 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function
560 return getSignedMinValue(BitWidth); in getSignMask()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h441 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function
452 return getSignedMinValue(BitWidth); in getSignBit()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp205 APInt SMin = APInt::getSignedMinValue(BW).sextOrSelf(MaxIntegerBW+1); in walkBackwards()
DGuardWidening.cpp598 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp385 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp393 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp401 return APInt::getSignedMinValue(BitWidth); in getIdentityValueForAtomicOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp694 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/mhlo/transforms/
Dmap_mhlo_to_scalar_op.h871 Value smin = makeConstant(APInt::getSignedMinValue(elementType.getWidth()));
911 Value smin = makeConstant(APInt::getSignedMinValue(elementType.getWidth()));
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp1027 APInt Min = Signed ? APInt::getSignedMinValue(BitWidth) : in cannotBeMinInLoop()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1014 APInt Mod = APInt::getSignedMinValue(W+1); in BinomialCoefficient()
1157 return SE->getConstant(APInt::getSignedMinValue(BitWidth) - in getSignedOverflowLimitForStep()
4457 APInt::getSignedMinValue(BitWidth), in getRange()
4535 APInt::getSignedMinValue(BitWidth))); in getRange()
4538 ConstantRange(APInt::getSignedMinValue(BitWidth), in getRange()
4589 ConstantRange(APInt::getSignedMinValue(BitWidth).ashr(NS - 1), in getRange()
8358 FoundRHSLimit = APInt::getSignedMinValue(getTypeSizeInBits(RHS->getType())) - RDiff; in isImpliedCondOperandsViaNoOverflow()
8612 APInt MinValue = APInt::getSignedMinValue(BitWidth); in doesIVOverflowOnGT()
8765 APInt Limit = IsSigned ? APInt::getSignedMinValue(BitWidth) + (MinStride - 1) in howManyGreaterThans()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3563 MinVal = APInt::getSignedMinValue(OperandBitSize); in SimplifySetCC()
3668 C1 == APInt::getSignedMinValue(OperandBitSize)) { in SimplifySetCC()
5073 .multiplicativeInverse(APInt::getSignedMinValue(W + 1)) in prepareUREMEqFold()
5309 .multiplicativeInverse(APInt::getSignedMinValue(W + 1)) in prepareSREMEqFold()
5445 APInt::getSignedMinValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold()
7162 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat()
7204 APInt MinVal = APInt::getSignedMinValue(VTSize); in expandFixedPointMul()
7280 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(VTSize), dl, VT); in expandFixedPointMul()
/external/llvm/lib/Support/
DAPInt.cpp1427 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magic()
1474 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magicu()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1386 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magic()
1433 APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); in magicu()

12