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

  /external/llvm/lib/Support/
ConstantRange.cpp 72 APInt SMax(CR.getSignedMax());
73 if (SMax.isMinSignedValue())
75 return ConstantRange(APInt::getSignedMinValue(W), SMax);
84 APInt SMax(CR.getSignedMax());
85 if (SMax.isMaxSignedValue())
87 return ConstantRange(APInt::getSignedMinValue(W), SMax + 1);
598 ConstantRange::smax(const ConstantRange &Other) const { function in class:ConstantRange
599 // X smax Y is: range(smax(X_smin, Y_smin),
600 // smax(X_smax, Y_smax)
    [all...]
  /external/llvm/unittests/Support/
ConstantRangeTest.cpp 421 TEST_F(ConstantRangeTest, SMax) {
422 EXPECT_EQ(Full.smax(Full), Full);
423 EXPECT_EQ(Full.smax(Empty), Empty);
424 EXPECT_EQ(Full.smax(Some), ConstantRange(APInt(16, 0xa),
426 EXPECT_EQ(Full.smax(Wrap), Full);
427 EXPECT_EQ(Full.smax(One), ConstantRange(APInt(16, 0xa),
429 EXPECT_EQ(Empty.smax(Empty), Empty);
430 EXPECT_EQ(Empty.smax(Some), Empty);
431 EXPECT_EQ(Empty.smax(Wrap), Empty);
432 EXPECT_EQ(Empty.smax(One), Empty)
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 191 case scSMaxExpr: OpStr = " smax "; break;
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 747 ConstantInt *SMax = ConstantInt::get(X->getContext(),
757 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI));
768 return new ICmpInst(ICmpInst::ICMP_SLT, X, ConstantExpr::getSub(SMax, C));
    [all...]

Completed in 367 milliseconds