Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h165 static bool isSignBitCheck(ICmpInst::Predicate Pred, const APInt &RHS, in isSignBitCheck() function
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1409 bool IsSignBit = isSignBitCheck(Pred, *C, UnusedBit); in foldICmpWithDominatingICmp()
1492 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpTruncConstant()
1521 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1813 if (isSignBitCheck(Pred, C, TrueIfNeg)) { in foldICmpAndConstant()
1905 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpOrConstant()
2154 if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) { in foldICmpShlConstant()
2226 isSignBitCheck(Pred, C, TrueIfSigned)) in foldICmpShrConstant()
2971 isSignBitCheck(Pred, *C, TrueIfSigned)) { in foldICmpBitCast()
5318 if (InstCombiner::isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
H A DInstCombineAndOrXor.cpp2907 if (isSignBitCheck(PredL, *LHSC, TrueIfSignedL) && in foldAndOrOfICmps()
2908 isSignBitCheck(PredR, *RHSC, TrueIfSignedR) && in foldAndOrOfICmps()
3511 if (isSignBitCheck(PredL, *LC, TrueIfSignedL) && in foldXorOfICmps()
3512 isSignBitCheck(PredR, *RC, TrueIfSignedR)) { in foldXorOfICmps()
H A DInstCombineAddSub.cpp1227 !isSignBitCheck(Pred, *Thr, ShouldSignext)) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
H A DInstCombineSelect.cpp2346 !InstCombiner::isSignBitCheck(Pred, *C, IsTrueIfSignSet) || in foldSelectToCopysign()