Lines Matching refs:CmpInst
519 Optional<std::pair<uint64_t, CmpInst::Predicate>>
520 tryAdjustICmpImmAndPred(Register RHS, CmpInst::Predicate P, in tryAdjustICmpImmAndPred()
542 case CmpInst::ICMP_SLT: in tryAdjustICmpImmAndPred()
543 case CmpInst::ICMP_SGE: in tryAdjustICmpImmAndPred()
553 P = (P == CmpInst::ICMP_SLT) ? CmpInst::ICMP_SLE : CmpInst::ICMP_SGT; in tryAdjustICmpImmAndPred()
556 case CmpInst::ICMP_ULT: in tryAdjustICmpImmAndPred()
557 case CmpInst::ICMP_UGE: in tryAdjustICmpImmAndPred()
566 P = (P == CmpInst::ICMP_ULT) ? CmpInst::ICMP_ULE : CmpInst::ICMP_UGT; in tryAdjustICmpImmAndPred()
569 case CmpInst::ICMP_SLE: in tryAdjustICmpImmAndPred()
570 case CmpInst::ICMP_SGT: in tryAdjustICmpImmAndPred()
580 P = (P == CmpInst::ICMP_SLE) ? CmpInst::ICMP_SLT : CmpInst::ICMP_SGE; in tryAdjustICmpImmAndPred()
583 case CmpInst::ICMP_ULE: in tryAdjustICmpImmAndPred()
584 case CmpInst::ICMP_UGT: in tryAdjustICmpImmAndPred()
594 P = (P == CmpInst::ICMP_ULE) ? CmpInst::ICMP_ULT : CmpInst::ICMP_UGE; in tryAdjustICmpImmAndPred()
618 std::pair<uint64_t, CmpInst::Predicate> &MatchInfo) { in matchAdjustICmpImmAndPred()
621 auto Pred = static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in matchAdjustICmpImmAndPred()
630 MachineInstr &MI, std::pair<uint64_t, CmpInst::Predicate> &MatchInfo, in applyAdjustICmpImmAndPred()
822 auto Pred = static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in trySwapICmpOperands()
841 auto Pred = static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in applySwapICmpOperands()
845 MI.getOperand(1).setPredicate(CmpInst::getSwappedPredicate(Pred)); in applySwapICmpOperands()
920 static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in lowerVectorFCMP()