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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 2922       if (match(BOp1, m_APInt(BOC)) && BOC->sgt(1) && BOC->isPowerOf2()) {
 2923         Value *NewRem = Builder.CreateURem(BOp0, BOp1, BO->getName());
 2932     if (match(BOp1, m_APInt(BOC))) {
 2934         Constant *SubC = ConstantExpr::getSub(RHS, cast<Constant>(BOp1));
 2940       if (Value *NegVal = dyn_castNegVal(BOp1))
 2943         return new ICmpInst(Pred, NegVal, BOp1);
 2945         Value *Neg = Builder.CreateNeg(BOp1);
 2954       if (Constant *BOC = dyn_cast<Constant>(BOp1)) {
 2960         return new ICmpInst(Pred, BOp0, BOp1);
 2970         return new ICmpInst(Pred, BOp1, SubC);
 2973         return new ICmpInst(Pred, BOp0, BOp1);
 2979     if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) {
 2983       Constant *NotBOC = ConstantExpr::getNot(cast<Constant>(BOp1));
 2991     if (match(BOp1, m_APInt(BOC))) {
 3002       if (match(BOp1, m_APInt(BOC)) && !BOC->isNullValue()) {
 3014       return new ICmpInst(NewPred, BOp1, BOp0);