/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 116 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion() 124 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 250 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() 261 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() 271 return makeExactMulNSWRegion(Other.getSignedMin()) in makeGuaranteedNoWrapRegion() 383 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange 427 return std::max(getSignedMin().getMinSignedBits(), in getMinSignedBits() 1039 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply() 1041 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply() 1059 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax() [all …]
|
D | AsmWriter.cpp | 3199 Out << "[" << Range.getSignedMin() << ", " << Range.getSignedMax() << "]"; in printFunctionSummary()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 115 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion() 123 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 249 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() 260 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() 270 return makeExactMulNSWRegion(Other.getSignedMin()) in makeGuaranteedNoWrapRegion() 382 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange 973 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply() 975 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply() 993 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax() 1015 APInt NewL = APIntOps::smin(getSignedMin(), Other.getSignedMin()); in smin() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 100 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion() 112 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion() 209 APInt SignedMin = Other.getSignedMin(); in makeGuaranteedNoWrapRegion() 303 APInt ConstantRange::getSignedMin() const { in getSignedMin() function in ConstantRange 729 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply() 731 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply() 749 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax() 775 APInt NewL = APIntOps::smin(getSignedMin(), Other.getSignedMin()); in smin()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 191 APInt getSignedMin() const;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ConstantRange.h | 254 APInt getSignedMin() const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 246 APInt getSignedMin() const;
|
/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 144 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F() 145 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F() 146 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F() 147 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 1163 SE->getSignedRange(Step).getSignedMin()); in getSignedOverflowLimitForStep() 1554 getSignedRange(Step).getSignedMin()); in getZeroExtendExpr() 3482 !getSignedRange(RHS).getSignedMin().isMinSignedValue(); in getMinusSCEV() 4652 APIntOps::smin(StartSRange.getSignedMin(), EndSRange.getSignedMin()); in getRangeForAffineAR() 7485 } else if (!getSignedRange(LHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands() 7493 if (!getSignedRange(RHS).getSignedMin().isMinSignedValue()) { in SimplifyICmpOperands() 7560 return getSignedRange(S).getSignedMin().isStrictlyPositive(); in isKnownPositive() 7564 return !getSignedRange(S).getSignedMin().isNegative(); in isKnownNonNegative() 8170 getSignedRange(V).getSignedMin() : getUnsignedRange(V).getUnsignedMin(); in isImpliedCond() 8611 APInt MinRHS = getSignedRange(RHS).getSignedMin(); in doesIVOverflowOnGT() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 507 APInt Min = APIntOps::smin(ValRange.getSignedMin(), Low); in processSwitchInst()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 411 APInt Min = APIntOps::smin(ValRange.getSignedMin(), Low); in ProcessSwitchInst()
|
D | SimplifyIndVar.cpp | 1851 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers()
|
/external/llvm-project/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 302 EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F() 303 EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa)); in TEST_F() 304 EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa)); in TEST_F() 305 EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN)); in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 839 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMin();
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 873 return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMin();
|
/external/llvm-project/polly/lib/Analysis/ |
D | ScopInfo.cpp | 175 V = valFromAPInt(Ctx.get(), Range.getSignedMin(), true); in addRangeBoundsToSet() 753 const auto LB = isWrapping ? Range.getLower() : Range.getSignedMin(); in computeBoundsOnAccessRelation()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1710 NonNegativeUse = RangeInfo->getSignedMin().isNonNegative(); in pushNarrowIVUsers()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2697 return CR && CR->getSignedMin().sge(-1ull << Width) && in isSExtAbsoluteSymbolRef()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2795 return CR->getSignedMin().sge(-1ull << Width) && in isSExtAbsoluteSymbolRef()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | AttributorAttributes.cpp | 385 ROffset = Range.getSignedMin(); in stripAndAccumulateMinimalOffsets()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 5877 getRangeForAffineARHelper(StepSRange.getSignedMin(), StartSRange, in getRangeForAffineAR()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 5978 getRangeForAffineARHelper(StepSRange.getSignedMin(), StartSRange, in getRangeForAffineAR()
|