reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/InstructionSimplify.cpp
 3189       return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
 3189       return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
 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))
 3225     if (Q.IIQ.getMetadata(RHS_Instr, LLVMContext::MD_range) &&
 3226         Q.IIQ.getMetadata(LHS_Instr, LLVMContext::MD_range)) {
 3253         Q.DL.getTypeSizeInBits(SrcTy) == DstTy->getPrimitiveSizeInBits()) {
 3258                                         Q, MaxRecurse-1))
 3264                                           Q, MaxRecurse-1))
 3276                                           SrcOp, RI->getOperand(0), Q,
 3292                                         SrcOp, Trunc, Q, MaxRecurse-1))
 3336                                           Q, MaxRecurse-1))
 3350           if (Value *V = SimplifyICmpInst(Pred, SrcOp, Trunc, Q, MaxRecurse-1))
 3384                                               Q, MaxRecurse-1))
 3393                                               Q, MaxRecurse-1))
 3404       isKnownNonEqual(LHS, RHS, Q.DL, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) {
 3404       isKnownNonEqual(LHS, RHS, Q.DL, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) {
 3404       isKnownNonEqual(LHS, RHS, Q.DL, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) {
 3404       isKnownNonEqual(LHS, RHS, Q.DL, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) {
 3404       isKnownNonEqual(LHS, RHS, Q.DL, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) {
 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,
 3417     if (auto *C = computePointerICmp(Q.DL, Q.TLI, Q.DT, Pred, Q.AC, Q.CxtI,
 3417     if (auto *C = computePointerICmp(Q.DL, Q.TLI, Q.DT, Pred, Q.AC, Q.CxtI,
 3417     if (auto *C = computePointerICmp(Q.DL, Q.TLI, Q.DT, Pred, Q.AC, Q.CxtI,
 3417     if (auto *C = computePointerICmp(Q.DL, Q.TLI, Q.DT, Pred, Q.AC, Q.CxtI,
 3418                                      Q.IIQ, LHS, RHS))
 3422       if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) ==
 3423               Q.DL.getTypeSizeInBits(CLHS->getType()) &&
 3424           Q.DL.getTypeSizeInBits(CRHS->getPointerOperandType()) ==
 3425               Q.DL.getTypeSizeInBits(CRHS->getType()))
 3426         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,
 3426         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,
 3426         if (auto *C = computePointerICmp(Q.DL, Q.TLI, Q.DT, Pred, Q.AC, Q.CxtI,
 3427                                          Q.IIQ, CLHS->getPointerOperand(),
 3457     if (Value *V = ThreadCmpOverSelect(Pred, LHS, RHS, Q, MaxRecurse))
 3463     if (Value *V = ThreadCmpOverPHI(Pred, LHS, RHS, Q, MaxRecurse))