Lines Matching defs:AddC
2162 // binop(shift(ShiftedC1, ShAmt), shift(ShiftedC2, add(ShAmt, AddC))) ->
2163 // shift(binop(ShiftedC1, shift(ShiftedC2, AddC)), ShAmt)
2164 // where both shifts are the same and AddC is a valid shift amount.
2170 Constant *ShiftedC1, *ShiftedC2, *AddC;
2176 m_ImmConstant(AddC))))))
2180 if (!match(AddC,
2201 I.getOpcode(), ShiftedC1, Builder.CreateBinOp(ShiftOp, ShiftedC2, AddC));
2418 const APInt *AddC;
2419 if (match(Op0, m_Add(m_Value(X), m_APInt(AddC)))) {
2424 if (Op0->hasOneUse() && C->isPowerOf2() && (*AddC & (*C - 1)) == 0) {
2425 assert((*C & *AddC) != 0 && "Expected common bit");