• Home
  • Raw
  • Download

Lines Matching refs:FoldConstantArithmetic

823         if (SDValue OpNode = DAG.FoldConstantArithmetic(Opc, DL, VT, L, R))  in ReassociateOps()
843 if (SDValue OpNode = DAG.FoldConstantArithmetic(Opc, DL, VT, R, L)) in ReassociateOps()
1660 return DAG.FoldConstantArithmetic(ISD::ADD, SDLoc(N), VT, in visitADD()
1874 return DAG.FoldConstantArithmetic(ISD::SUB, SDLoc(N), VT, in visitSUB()
2038 return DAG.FoldConstantArithmetic(ISD::MUL, SDLoc(N), VT, in visitMUL()
2238 return DAG.FoldConstantArithmetic(ISD::SDIV, DL, VT, N0C, N1C); in visitSDIV()
2337 if (SDValue Folded = DAG.FoldConstantArithmetic(ISD::UDIV, DL, VT, in visitUDIV()
2398 if (SDValue Folded = DAG.FoldConstantArithmetic(Opcode, DL, VT, N0C, N1C)) in visitREM()
2691 return DAG.FoldConstantArithmetic(N->getOpcode(), SDLoc(N), VT, N0C, N1C); in visitIMINMAX()
3083 return DAG.FoldConstantArithmetic(ISD::AND, SDLoc(N), VT, N0C, N1C); in visitAND()
3810 return DAG.FoldConstantArithmetic(ISD::OR, SDLoc(N), VT, N0C, N1C); in visitOR()
3843 if (SDValue COR = DAG.FoldConstantArithmetic(ISD::OR, SDLoc(N1), VT, in visitOR()
4156 return DAG.FoldConstantArithmetic(ISD::XOR, SDLoc(N), VT, N0C, N1C); in visitXOR()
4426 if (SDValue C = DAG.FoldConstantArithmetic(ISD::SHL, SDLoc(N), VT, in visitSHL()
4439 return DAG.FoldConstantArithmetic(ISD::SHL, SDLoc(N), VT, N0C, N1C); in visitSHL()
4602 DAG.FoldConstantArithmetic(ISD::SHL, SDLoc(N1), VT, N0C1, N1C)) in visitSHL()
4632 return DAG.FoldConstantArithmetic(ISD::SRA, SDLoc(N), VT, N0C, N1C); in visitSRA()
4778 return DAG.FoldConstantArithmetic(ISD::SRL, SDLoc(N), VT, N0C, N1C); in visitSRL()