/external/llvm/lib/IR/ |
ConstantRange.cpp | 76 APInt SMax(CR.getSignedMax()); 77 if (SMax.isMinSignedValue()) 79 return ConstantRange(APInt::getSignedMinValue(W), SMax); 88 APInt SMax(CR.getSignedMax()); 89 if (SMax.isMaxSignedValue()) 91 return ConstantRange(APInt::getSignedMinValue(W), SMax + 1); 691 ConstantRange::smax(const ConstantRange &Other) const { function in class:ConstantRange 692 // X smax Y is: range(smax(X_smin, Y_smin), 693 // smax(X_smax, Y_smax) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
Float2Int.cpp | 218 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(MaxIntegerBW+1); 219 seen(I, validateRange(ConstantRange(SMin, SMax)));
|
InductiveRangeCheckElimination.cpp | 638 APInt SMax = 640 return SE.getSignedRange(S).contains(SMax) && 641 SE.getUnsignedRange(S).contains(SMax); [all...] |
/external/llvm/unittests/IR/ |
ConstantRangeTest.cpp | 432 TEST_F(ConstantRangeTest, SMax) { 433 EXPECT_EQ(Full.smax(Full), Full); 434 EXPECT_EQ(Full.smax(Empty), Empty); 435 EXPECT_EQ(Full.smax(Some), ConstantRange(APInt(16, 0xa), 437 EXPECT_EQ(Full.smax(Wrap), Full); 438 EXPECT_EQ(Full.smax(One), ConstantRange(APInt(16, 0xa), 440 EXPECT_EQ(Empty.smax(Empty), Empty); 441 EXPECT_EQ(Empty.smax(Some), Empty); 442 EXPECT_EQ(Empty.smax(Wrap), Empty); 443 EXPECT_EQ(Empty.smax(One), Empty) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 186 case scSMaxExpr: OpStr = " smax "; break; [all...] |