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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 2503   if (match(X, m_APInt(C2)) && *C2 == C && Cmp.isEquality())
 2508   if (match(X, m_APInt(C2)) &&
 2523       return new ICmpInst(ICmpInst::ICMP_SGE, X, Y);
 2527       return new ICmpInst(ICmpInst::ICMP_SGT, X, Y);
 2531       return new ICmpInst(ICmpInst::ICMP_SLT, X, Y);
 2535       return new ICmpInst(ICmpInst::ICMP_SLE, X, Y);
 2538   if (!match(X, m_APInt(C2)))
 2545     return new ICmpInst(ICmpInst::ICMP_EQ, Builder.CreateOr(Y, C - 1), X);
 2550     return new ICmpInst(ICmpInst::ICMP_NE, Builder.CreateOr(Y, C), X);