HomeSort by relevance Sort by last modified time
    Searched defs:SMax (Results 1 - 4 of 4) sorted by null

  /external/llvm/unittests/IR/
ConstantRangeTest.cpp 431 TEST_F(ConstantRangeTest, SMax) {
432 EXPECT_EQ(Full.smax(Full), Full);
433 EXPECT_EQ(Full.smax(Empty), Empty);
434 EXPECT_EQ(Full.smax(Some), ConstantRange(APInt(16, 0xa),
436 EXPECT_EQ(Full.smax(Wrap), Full);
437 EXPECT_EQ(Full.smax(One), ConstantRange(APInt(16, 0xa),
439 EXPECT_EQ(Empty.smax(Empty), Empty);
440 EXPECT_EQ(Empty.smax(Some), Empty);
441 EXPECT_EQ(Empty.smax(Wrap), Empty);
442 EXPECT_EQ(Empty.smax(One), Empty)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
Float2Int.cpp 211 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(MaxIntegerBW+1);
212 seen(I, validateRange(ConstantRange(SMin, SMax)));
InductiveRangeCheckElimination.cpp 631 APInt SMax =
633 return SE.getSignedRange(S).contains(SMax) &&
634 SE.getUnsignedRange(S).contains(SMax);
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 764 ConstantInt *SMax = ConstantInt::get(X->getContext(),
774 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI));
785 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C));
    [all...]

Completed in 126 milliseconds