reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 3707     B = BO0->getOperand(1);
 3716   if ((A == Op1 || B == Op1) && NoOp0WrapProblem)
 3717     return new ICmpInst(Pred, A == Op1 ? B : A,
 3727   if (A && C && (A == C || A == D || B == C || B == D) && NoOp0WrapProblem &&
 3727   if (A && C && (A == C || A == D || B == C || B == D) && NoOp0WrapProblem &&
 3733       Y = B;
 3737       Y = B;
 3739     } else if (B == C) {
 3744       assert(B == D);
 3754       match(B, m_AllOnes()))
 3759       match(B, m_AllOnes()))
 3763   if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SLE && match(B, m_One()))
 3767   if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGT && match(B, m_One()))
 3798   if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_ULE && match(B, m_One()))
 3802   if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_UGT && match(B, m_One()))
 3822     if (ConstantInt *C1 = dyn_cast<ConstantInt>(B))
 3844   B = nullptr;
 3849     B = BO0->getOperand(1);
 3858     return new ICmpInst(Pred, Constant::getNullValue(Op1->getType()), B);
 3866     return new ICmpInst(Pred, B, A);
 3872       isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
 3873     return new ICmpInst(CmpInst::getFlippedStrictnessPredicate(Pred), B, A);
 3880   if (B && D && B == D && NoOp0WrapProblem && NoOp1WrapProblem)
 3880   if (B && D && B == D && NoOp0WrapProblem && NoOp1WrapProblem)
 3885     return new ICmpInst(Pred, D, B);