Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h176 static bool isSignBitCheck(ICmpInst::Predicate Pred, const APInt &RHS, in isSignBitCheck() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1373 bool IsSignBit = isSignBitCheck(Pred, *C, UnusedBit); in foldICmpWithDominatingICmp()
1471 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpTruncConstant()
1555 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1842 if (isSignBitCheck(Pred, C, TrueIfNeg)) { in foldICmpAndConstant()
2026 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpOrConstant()
2322 if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) { in foldICmpShlConstant()
2394 isSignBitCheck(Pred, C, TrueIfSigned)) in foldICmpShrConstant()
3216 isSignBitCheck(Pred, *C, TrueIfSigned)) { in foldICmpBitCast()
5971 if (InstCombiner::isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
H A DInstCombineAndOrXor.cpp3311 if (isSignBitCheck(PredL, *LHSC, TrueIfSignedL) && in foldAndOrOfICmps()
3312 isSignBitCheck(PredR, *RHSC, TrueIfSignedR) && in foldAndOrOfICmps()
4006 isSignBitCheck(PredL, *LC, TrueIfSignedL) && in foldXorOfICmps()
4007 isSignBitCheck(PredR, *RC, TrueIfSignedR)) { in foldXorOfICmps()
H A DInstCombineSelect.cpp2390 !InstCombiner::isSignBitCheck(Pred, *C, IsTrueIfSignSet) || in foldSelectToCopysign()
2590 IC.isSignBitCheck(Pred, *C, TrueIfSigned))) in foldSelectWithSRem()
H A DInstCombineAddSub.cpp1331 !isSignBitCheck(Pred, *Thr, ShouldSignext)) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()