Home
last modified time | relevance | path

Searched refs:NoOp0WrapProblem (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3792 bool NoOp0WrapProblem = false, NoOp1WrapProblem = false; in visitICmpInst() local
3794 NoOp0WrapProblem = ICmpInst::isEquality(Pred) || in visitICmpInst()
3815 if (NoOp0WrapProblem && ICmpInst::isSigned(Pred) && match(Op1, m_Zero())) in visitICmpInst()
3821 if ((A == Op1 || B == Op1) && NoOp0WrapProblem) in visitICmpInst()
3832 NoOp0WrapProblem && NoOp1WrapProblem && in visitICmpInst()
3859 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SLT && in visitICmpInst()
3864 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGE && in visitICmpInst()
3869 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SLE && in visitICmpInst()
3874 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGT && in visitICmpInst()
3905 if (A && C && NoOp0WrapProblem && NoOp1WrapProblem && in visitICmpInst()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3725 bool NoOp0WrapProblem = false, NoOp1WrapProblem = false; in foldICmpBinOp() local
3727 NoOp0WrapProblem = in foldICmpBinOp()
3751 if ((A == Op1 || B == Op1) && NoOp0WrapProblem) in foldICmpBinOp()
3762 if (A && C && (A == C || A == D || B == C || B == D) && NoOp0WrapProblem && in foldICmpBinOp()
3788 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SLT && in foldICmpBinOp()
3793 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGE && in foldICmpBinOp()
3798 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SLE && match(B, m_One())) in foldICmpBinOp()
3802 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGT && match(B, m_One())) in foldICmpBinOp()
3833 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_ULE && match(B, m_One())) in foldICmpBinOp()
3837 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_UGT && match(B, m_One())) in foldICmpBinOp()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4109 bool NoOp0WrapProblem = false, NoOp1WrapProblem = false; in foldICmpBinOp() local
4111 NoOp0WrapProblem = in foldICmpBinOp()
4135 if ((A == Op1 || B == Op1) && NoOp0WrapProblem) in foldICmpBinOp()
4146 if (A && C && (A == C || A == D || B == C || B == D) && NoOp0WrapProblem && in foldICmpBinOp()
4172 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SLT && in foldICmpBinOp()
4177 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGE && in foldICmpBinOp()
4182 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SLE && match(B, m_One())) in foldICmpBinOp()
4186 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGT && match(B, m_One())) in foldICmpBinOp()
4217 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_ULE && match(B, m_One())) in foldICmpBinOp()
4221 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_UGT && match(B, m_One())) in foldICmpBinOp()
[all …]