Home
last modified time | relevance | path

Searched refs:isSignBitCheck (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h165 static bool isSignBitCheck(ICmpInst::Predicate Pred, const APInt &RHS, in isSignBitCheck() function
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1518 bool IsSignBit = isSignBitCheck(Pred, *C, UnusedBit); in foldICmpWithDominatingICmp()
1583 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpTruncConstant()
1610 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1871 if (isSignBitCheck(Pred, C, TrueIfNeg)) { in foldICmpAndConstant()
1949 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpOrConstant()
2208 if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) { in foldICmpShlConstant()
2280 isSignBitCheck(Pred, C, TrueIfSigned)) in foldICmpShrConstant()
3018 isSignBitCheck(Pred, *C, TrueIfSigned)) { in foldICmpBitCast()
5319 if (InstCombiner::isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
H A DInstCombineAndOrXor.cpp2667 if (isSignBitCheck(PredL, *LHSC, TrueIfSignedL) && in foldAndOrOfICmps()
2668 isSignBitCheck(PredR, *RHSC, TrueIfSignedR) && in foldAndOrOfICmps()
3216 if (isSignBitCheck(PredL, *LC, TrueIfSignedL) && in foldXorOfICmps()
3217 isSignBitCheck(PredR, *RC, TrueIfSignedR)) { in foldXorOfICmps()
H A DInstCombineAddSub.cpp1201 !isSignBitCheck(Pred, *Thr, ShouldSignext)) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
H A DInstCombineSelect.cpp2288 !InstCombiner::isSignBitCheck(Pred, *C, IsTrueIfSignSet) || in foldSelectToCopysign()