Lines Matching refs:IsAdd
7032 bool IsAdd = N->getOpcode() == ISD::UADDO; in ReplaceNodeResults() local
7037 DAG.getNode(IsAdd ? ISD::ADD : ISD::SUB, DL, MVT::i64, LHS, RHS); in ReplaceNodeResults()
7042 if (IsAdd && isOneConstant(RHS)) { in ReplaceNodeResults()
7056 IsAdd ? ISD::SETULT : ISD::SETUGT); in ReplaceNodeResults()
8269 bool IsAdd = N->getOpcode() == RISCVISD::ADD_VL; in combineADDSUB_VLToVWADDSUB_VL() local
8299 WOpc = IsAdd ? RISCVISD::VWADD_W_VL : RISCVISD::VWSUB_W_VL; in combineADDSUB_VLToVWADDSUB_VL()
8301 WOpc = IsAdd ? RISCVISD::VWADDU_W_VL : RISCVISD::VWSUBU_W_VL; in combineADDSUB_VLToVWADDSUB_VL()
8351 bool IsAdd = N->getOpcode() == RISCVISD::VWADD_W_VL || in combineVWADD_W_VL_VWSUB_W_VL() local
8356 if (IsAdd && Op0.getOpcode() == RISCVISD::VMV_V_X_VL && in combineVWADD_W_VL_VWSUB_W_VL()
8701 bool IsAdd = N0.getOpcode() == ISD::ADD; in performSRACombine() local
8702 if ((IsAdd || N0.getOpcode() == ISD::SUB)) { in performSRACombine()
8706 AddC = dyn_cast<ConstantSDNode>(N0.getOperand(IsAdd ? 1 : 0)); in performSRACombine()
8714 Shl = N0.getOperand(IsAdd ? 0 : 1); in performSRACombine()
8734 if (IsAdd) in performSRACombine()