Lines Matching defs:Cmp
81 CmpInst *Cmp = dyn_cast<CmpInst>(V);
82 if (!Cmp)
84 CmpInst::Predicate CPred = Cmp->getPredicate();
85 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1);
1693 CmpInst *Cmp = dyn_cast<CmpInst>(SI->getCondition());
1694 if (!Cmp)
1696 Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1);
1697 if (Pred == Cmp->getPredicate() && LHS == CmpLHS && RHS == CmpRHS)
1698 return Cmp;
1699 if (Pred == CmpInst::getSwappedPredicate(Cmp->getPredicate()) &&
1701 return Cmp;