Lines Matching defs:CmpI
1819 if (auto *CmpI = dyn_cast<CmpInst>(LoadU.getUser())) {
1820 if (!CmpI->isEquality() || !CmpI->isTrueWhenEqual())
1822 for (const Use &CmpU : CmpI->uses()) {
1826 int Idx = CmpI->getOperandUse(0) == LoadU;
1827 Assumption = {CmpI->getOperand(Idx), IntrI};
9412 calculateCmpInst(Attributor &A, CmpInst *CmpI, IntegerRangeState &T,
9415 Value *LHS = CmpI->getOperand(0);
9416 Value *RHS = CmpI->getOperand(1);
9464 ConstantRange::makeAllowedICmpRegion(CmpI->getPredicate(), RHSAARange);
9469 if (LHSAARange.icmp(CmpI->getPredicate(), RHSAARange))
9482 LLVM_DEBUG(dbgs() << "[AAValueConstantRange] " << *CmpI << " after "
9528 } else if (auto *CmpI = dyn_cast<CmpInst>(I)) {
9529 if (!calculateCmpInst(A, CmpI, T, CtxI, QuerriedAAs))
11054 Instruction *CmpI = dyn_cast<Instruction>(&Cmp);
11055 Function *F = CmpI ? CmpI->getFunction() : nullptr;
11066 SimplifyQuery Q(DL, TLI, DT, AC, CmpI);