Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h165 static bool isSignBitCheck(ICmpInst::Predicate Pred, const APInt &RHS, in isSignBitCheck() function
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
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()
5328 if (InstCombiner::isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
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()
DInstCombineAddSub.cpp1227 !isSignBitCheck(Pred, *Thr, ShouldSignext)) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
DInstCombineSelect.cpp2346 !InstCombiner::isSignBitCheck(Pred, *C, IsTrueIfSignSet) || in foldSelectToCopysign()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h119 inline bool isSignBitCheck(ICmpInst::Predicate Pred, const APInt &RHS, in isSignBitCheck() function
DInstCombineCompares.cpp1514 bool IsSignBit = isSignBitCheck(Pred, *C, UnusedBit); in foldICmpWithDominatingICmp()
1574 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
2111 if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) { in foldICmpShlConstant()
4800 if (isSignBitCheck(I.getPredicate(), *RHS, UnusedBit)) in getDemandedBitsLHSMask()
DInstCombineAddSub.cpp1170 !isSignBitCheck(Pred, *Thr, ShouldSignext)) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp129 static bool isSignBitCheck(ICmpInst::Predicate Pred, ConstantInt *RHS, in isSignBitCheck() function
2042 isSignBitCheck(ICI.getPredicate(), RHS, TrueIfSigned)) { in visitICmpInstWithInstAndIntCst()
3329 isSignBit = isSignBitCheck(I.getPredicate(), CI, UnusedBit); in visitICmpInst()