Lines Matching defs:CmpInst
198 CmpInst *Ci2 = dyn_cast<CmpInst>(SI2->getCondition());
2058 if (!isa<BinaryOperator>(Inst) && !isa<CmpInst>(Inst))
2094 if (isa<CmpInst>(Curr)) {
2108 if (!Cond || (!isa<CmpInst>(Cond) && !isa<BinaryOperator>(Cond)) ||
2203 if (NewCond->hasOneUse() && isa<CmpInst>(NewCond)) {
2204 CmpInst *CI = cast<CmpInst>(NewCond);
3858 if (CmpInst *Cmp = dyn_cast<CmpInst>(I)) {
4413 ICmpInst *CmpInst = dyn_cast<ICmpInst>(PhiUser);
4414 if (!CmpInst)
4419 if (CmpInst->getParent() != PhiBlock)
4422 Constant *CmpOp1 = dyn_cast<Constant>(CmpInst->getOperand(1));
4431 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(),
4439 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(),
4460 CmpInst->replaceAllUsesWith(RangeCmp);
4467 CmpInst->replaceAllUsesWith(InvertedTableCmp);