Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h216 bool isSignBitCheck(ICmpInst::Predicate Pred, const APInt &RHS,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1369 bool IsSignBit = isSignBitCheck(Pred, *C, UnusedBit); in foldICmpWithDominatingICmp()
1482 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpTruncConstant()
1572 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1881 if (isSignBitCheck(Pred, C, TrueIfNeg)) { in foldICmpAndConstant()
2086 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpOrConstant()
2382 if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) { in foldICmpShlConstant()
2475 isSignBitCheck(Pred, C, TrueIfSigned)) in foldICmpShrConstant()
3311 if (isSignBitCheck(Pred, *C, TrueIfSigned) && in foldICmpBitCast()
6300 if (isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
H A DInstCombineSelect.cpp2532 !isSignBitCheck(Pred, *C, IsTrueIfSignSet) || X->getType() != SelType) in foldSelectToCopysign()
2731 isSignBitCheck(Pred, *C, TrueIfSigned))) in foldSelectWithSRem()
2918 !isSignBitCheck(Pred, *C, TrueIfSigned)) in foldSelectWithFCmpToFabs()
H A DInstCombineAndOrXor.cpp3447 if (isSignBitCheck(PredL, *LHSC, TrueIfSignedL) && in foldAndOrOfICmps()
3448 isSignBitCheck(PredR, *RHSC, TrueIfSignedR) && in foldAndOrOfICmps()
4137 isSignBitCheck(PredL, *LC, TrueIfSignedL) && in foldXorOfICmps()
4138 isSignBitCheck(PredR, *RC, TrueIfSignedR)) { in foldXorOfICmps()
H A DInstCombineAddSub.cpp1373 !isSignBitCheck(Pred, *Thr, ShouldSignext)) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp4314 bool llvm::isSignBitCheck(ICmpInst::Predicate Pred, const APInt &RHS, in isSignBitCheck() function in llvm
4786 if (!isSignBitCheck(Pred, *RHS, TrueIfSigned)) in computeKnownFPClassFromCond()
H A DInstructionSimplify.cpp3048 if (isSignBitCheck(Pred, *C, TrueIfSigned)) in simplifyICmpWithConstant()