Home
last modified time | relevance | path

Searched refs:isSignTest (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp157 static bool isSignTest(ICmpInst::Predicate &Pred, const ConstantInt *RHS) { in isSignTest() function
1911 if (isSignTest(pred, RHS) && !Val->isZero() && in visitICmpInstWithInstAndIntCst()
2033 if (isSignTest(pred, RHS) && in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp105 static bool isSignTest(ICmpInst::Predicate &Pred, const APInt &C) { in isSignTest() function
1793 if (isSignTest(Pred, C) && Mul->hasNoSignedWrap()) { in foldICmpMulConstant()
1913 if (isSignTest(Pred, C)) in foldICmpShlConstant()