Lines Matching defs:NegOp1
8233 // Check whether Neg has the form (sub NegC, NegOp1) for some NegC and NegOp1.
8239 SDValue NegOp1 = Neg.getOperand(1);
8257 // (NegC - NegOp1) & Mask == (EltSize - Pos) & Mask
8259 // If NegOp1 == Pos then we need:
8265 // We also need to account for a potential truncation of NegOp1 if the amount
8268 if ((Pos == NegOp1) ||
8269 (NegOp1.getOpcode() == ISD::TRUNCATE && Pos == NegOp1.getOperand(0)))
8272 // Check for cases where Pos has the form (add NegOp1, PosC) for some PosC.
8275 // (NegC - NegOp1) & Mask == (EltSize - (NegOp1 + PosC)) & Mask
8281 else if (Pos.getOpcode() == ISD::ADD && Pos.getOperand(0) == NegOp1) {