reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3185 assert(CmpInst::isIntPredicate(Pred) && "Not an integer compare!"); 3189 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); 3193 Pred = CmpInst::getSwappedPredicate(Pred); 3193 Pred = CmpInst::getSwappedPredicate(Pred); 3202 if (isa<UndefValue>(RHS) && ICmpInst::isEquality(Pred)) 3208 return ConstantInt::get(ITy, CmpInst::isTrueWhenEqual(Pred)); 3210 if (Value *V = simplifyICmpOfBools(Pred, LHS, RHS, Q)) 3213 if (Value *V = simplifyICmpWithZero(Pred, LHS, RHS, Q)) 3216 if (Value *V = simplifyICmpWithConstant(Pred, LHS, RHS, Q.IIQ)) 3232 auto Satisfied_CR = ConstantRange::makeSatisfyingICmpRegion(Pred, RHS_CR); 3237 CmpInst::getInversePredicate(Pred), RHS_CR); 3256 if (Value *V = SimplifyICmpInst(Pred, SrcOp, 3263 if (Value *V = SimplifyICmpInst(Pred, SrcOp, RI->getOperand(0), 3275 if (Value *V = SimplifyICmpInst(ICmpInst::getUnsignedPredicate(Pred), 3291 if (Value *V = SimplifyICmpInst(ICmpInst::getUnsignedPredicate(Pred), 3298 switch (Pred) { 3335 if (Value *V = SimplifyICmpInst(Pred, SrcOp, RI->getOperand(0), 3350 if (Value *V = SimplifyICmpInst(Pred, SrcOp, Trunc, Q, MaxRecurse-1)) 3356 switch (Pred) { 3403 if (ICmpInst::isEquality(Pred) && 3405 return Pred == ICmpInst::ICMP_NE ? getTrue(ITy) : getFalse(ITy); 3408 if (Value *V = simplifyICmpWithBinOp(Pred, LHS, RHS, Q, MaxRecurse)) 3411 if (Value *V = simplifyICmpWithMinMax(Pred, LHS, RHS, Q, MaxRecurse)) 3417 if (auto *C = computePointerICmp(Q.DL, Q.TLI, Q.DT, Pred, Q.AC, Q.CxtI, 3426 if (auto *C = computePointerICmp(Q.DL, Q.TLI, Q.DT, Pred, Q.AC, Q.CxtI, 3435 (ICmpInst::isEquality(Pred) || 3437 Pred == ICmpInst::getSignedPredicate(Pred)))) { 3437 Pred == ICmpInst::getSignedPredicate(Pred)))) { 3449 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); 3457 if (Value *V = ThreadCmpOverSelect(Pred, LHS, RHS, Q, MaxRecurse)) 3463 if (Value *V = ThreadCmpOverPHI(Pred, LHS, RHS, Q, MaxRecurse))