Lines Matching defs:NegOp1
8405 // Check whether Neg has the form (sub NegC, NegOp1) for some NegC and NegOp1.
8411 SDValue NegOp1 = Neg.getOperand(1);
8429 // (NegC - NegOp1) & Mask == (EltSize - Pos) & Mask
8431 // If NegOp1 == Pos then we need:
8437 // We also need to account for a potential truncation of NegOp1 if the amount
8440 if ((Pos == NegOp1) ||
8441 (NegOp1.getOpcode() == ISD::TRUNCATE && Pos == NegOp1.getOperand(0)))
8444 // Check for cases where Pos has the form (add NegOp1, PosC) for some PosC.
8447 // (NegC - NegOp1) & Mask == (EltSize - (NegOp1 + PosC)) & Mask
8453 else if (Pos.getOpcode() == ISD::ADD && Pos.getOperand(0) == NegOp1) {