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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 2745       if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_SLT ||
 2745       if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_SLT ||
 2746            Pred == ICmpInst::ICMP_NE || Pred == ICmpInst::ICMP_SGT) &&
 2746            Pred == ICmpInst::ICMP_NE || Pred == ICmpInst::ICMP_SGT) &&
 2748         return new ICmpInst(Pred, X, ConstantInt::getNullValue(X->getType()));
 2751       if (Pred == ICmpInst::ICMP_SLT && match(Op1, m_One()))
 2752         return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), 1));
 2755       if (Pred == ICmpInst::ICMP_SGT && match(Op1, m_AllOnes()))
 2756         return new ICmpInst(Pred, X,
 2765         return new ICmpInst(Pred, X, ConstantInt::getNullValue(X->getType()));
 2778     return new ICmpInst(Pred, BCSrcOp, Op1);
 2810         return new ICmpInst(Pred, Extract, NewC);