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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 3711     D = BO1->getOperand(1);
 3722   if ((C == Op0 || D == Op0) && NoOp1WrapProblem)
 3724                         C == Op0 ? D : C);
 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 &&
 3734       Z = D;
 3735     } else if (A == D) {
 3742       Z = D;
 3744       assert(B == D);
 3772       match(D, m_AllOnes()))
 3777       match(D, m_AllOnes()))
 3781   if (C && NoOp1WrapProblem && Pred == CmpInst::ICMP_SGE && match(D, m_One()))
 3785   if (C && NoOp1WrapProblem && Pred == CmpInst::ICMP_SLT && match(D, m_One()))
 3806   if (C && NoOp1WrapProblem && Pred == CmpInst::ICMP_UGE && match(D, m_One()))
 3810   if (C && NoOp1WrapProblem && Pred == CmpInst::ICMP_ULT && match(D, m_One()))
 3823       if (ConstantInt *C2 = dyn_cast<ConstantInt>(D)) {
 3846   D = nullptr;
 3853     D = BO1->getOperand(1);
 3861     return new ICmpInst(Pred, D, Constant::getNullValue(Op0->getType()));
 3869     return new ICmpInst(Pred, C, D);
 3876       isKnownNonZero(D, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT))
 3877     return new ICmpInst(CmpInst::getFlippedStrictnessPredicate(Pred), C, D);
 3880   if (B && D && B == D && NoOp0WrapProblem && NoOp1WrapProblem)
 3880   if (B && D && B == D && NoOp0WrapProblem && NoOp1WrapProblem)
 3885     return new ICmpInst(Pred, D, B);