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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 3672   BinaryOperator *BO0 = dyn_cast<BinaryOperator>(Op0);
 3682   if (match(Op0, m_OneUse(m_c_Add(m_Specific(Op1), m_Value(X)))) &&
 3686   if (match(Op1, m_OneUse(m_c_Add(m_Specific(Op0), m_Value(X)))) &&
 3688     return new ICmpInst(Pred, X, Builder.CreateNot(Op0));
 3722   if ((C == Op0 || D == Op0) && NoOp1WrapProblem)
 3722   if ((C == Op0 || D == Op0) && NoOp1WrapProblem)
 3723     return new ICmpInst(Pred, Constant::getNullValue(Op0->getType()),
 3724                         C == Op0 ? D : C);
 3773     return new ICmpInst(CmpInst::ICMP_SGE, Op0, C);
 3778     return new ICmpInst(CmpInst::ICMP_SLT, Op0, C);
 3782     return new ICmpInst(CmpInst::ICMP_SGT, Op0, C);
 3786     return new ICmpInst(CmpInst::ICMP_SLE, Op0, C);
 3807     return new ICmpInst(CmpInst::ICMP_UGT, Op0, C);
 3811     return new ICmpInst(CmpInst::ICMP_ULE, Op0, C);
 3860   if (C == Op0 && NoOp1WrapProblem)
 3861     return new ICmpInst(Pred, D, Constant::getNullValue(Op0->getType()));
 3868   if (C == Op0 && (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_UGE))
 3875   if (C == Op0 && (Pred == ICmpInst::ICMP_ULE || Pred == ICmpInst::ICMP_UGT) &&
 3903            Op0 == BO1->getOperand(1))