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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 2821   if (!match(Cmp.getOperand(1), m_APInt(C)))
 2824   if (auto *BO = dyn_cast<BinaryOperator>(Cmp.getOperand(0))) {
 2827       if (Instruction *I = foldICmpXorConstant(Cmp, BO, *C))
 2831       if (Instruction *I = foldICmpAndConstant(Cmp, BO, *C))
 2835       if (Instruction *I = foldICmpOrConstant(Cmp, BO, *C))
 2839       if (Instruction *I = foldICmpMulConstant(Cmp, BO, *C))
 2843       if (Instruction *I = foldICmpShlConstant(Cmp, BO, *C))
 2848       if (Instruction *I = foldICmpShrConstant(Cmp, BO, *C))
 2852       if (Instruction *I = foldICmpSRemConstant(Cmp, BO, *C))
 2856       if (Instruction *I = foldICmpUDivConstant(Cmp, BO, *C))
 2860       if (Instruction *I = foldICmpDivConstant(Cmp, BO, *C))
 2864       if (Instruction *I = foldICmpSubConstant(Cmp, BO, *C))
 2868       if (Instruction *I = foldICmpAddConstant(Cmp, BO, *C))
 2875     if (Instruction *I = foldICmpBinOpEqualityWithConstant(Cmp, BO, *C))
 2881   if (auto *SI = dyn_cast<SelectInst>(Cmp.getOperand(0))) {
 2885     if (ConstantInt *ConstRHS = dyn_cast<ConstantInt>(Cmp.getOperand(1)))
 2886       if (Instruction *I = foldICmpSelectConstant(Cmp, SI, ConstRHS))
 2890   if (auto *TI = dyn_cast<TruncInst>(Cmp.getOperand(0))) {
 2891     if (Instruction *I = foldICmpTruncConstant(Cmp, TI, *C))
 2895   if (auto *II = dyn_cast<IntrinsicInst>(Cmp.getOperand(0)))
 2896     if (Instruction *I = foldICmpIntrinsicWithConstant(Cmp, II, *C))