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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 2747           match(Op1, m_Zero()))
 2751       if (Pred == ICmpInst::ICMP_SLT && match(Op1, m_One()))
 2755       if (Pred == ICmpInst::ICMP_SGT && match(Op1, m_AllOnes()))
 2764       if (Cmp.isEquality() && match(Op1, m_Zero()))
 2771       (isa<Constant>(Op1) || isa<BitCastInst>(Op1))) {
 2771       (isa<Constant>(Op1) || isa<BitCastInst>(Op1))) {
 2774     if (auto *BC2 = dyn_cast<BitCastInst>(Op1))
 2775       Op1 = BC2->getOperand(0);
 2777     Op1 = Builder.CreateBitCast(Op1, BCSrcOp->getType());
 2777     Op1 = Builder.CreateBitCast(Op1, BCSrcOp->getType());
 2778     return new ICmpInst(Pred, BCSrcOp, Op1);