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

  /external/llvm/lib/IR/
ConstantRange.cpp 73 APInt SMax(CR.getSignedMax());
74 if (SMax.isMinSignedValue())
76 return ConstantRange(APInt::getSignedMinValue(W), SMax);
85 APInt SMax(CR.getSignedMax());
86 if (SMax.isMaxSignedValue())
88 return ConstantRange(APInt::getSignedMinValue(W), SMax + 1);
601 ConstantRange::smax(const ConstantRange &Other) const { function in class:ConstantRange
602 // X smax Y is: range(smax(X_smin, Y_smin),
603 // smax(X_smax, Y_smax)
    [all...]
  /external/llvm/unittests/IR/
ConstantRangeTest.cpp 424 TEST_F(ConstantRangeTest, SMax) {
425 EXPECT_EQ(Full.smax(Full), Full);
426 EXPECT_EQ(Full.smax(Empty), Empty);
427 EXPECT_EQ(Full.smax(Some), ConstantRange(APInt(16, 0xa),
429 EXPECT_EQ(Full.smax(Wrap), Full);
430 EXPECT_EQ(Full.smax(One), ConstantRange(APInt(16, 0xa),
432 EXPECT_EQ(Empty.smax(Empty), Empty);
433 EXPECT_EQ(Empty.smax(Some), Empty);
434 EXPECT_EQ(Empty.smax(Wrap), Empty);
435 EXPECT_EQ(Empty.smax(One), Empty)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 778 ConstantInt *SMax = ConstantInt::get(X->getContext(),
788 return new ICmpInst(ICmpInst::ICMP_SGT, X, ConstantExpr::getSub(SMax, CI));
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 191 case scSMaxExpr: OpStr = " smax "; break;
    [all...]

Completed in 1288 milliseconds