• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/

Lines Matching refs:FMA

1651   case ISD::FMA:                return visitFMA(N);
11973 /// Try to perform FMA combining on a given FADD node.
11988 (!LegalOperations || TLI.isOperationLegalOrCustom(ISD::FMA, VT));
12007 // Always prefer FMAD to FMA for precision.
12008 unsigned PreferredFusedOpcode = HasFMAD ? ISD::FMAD : ISD::FMA;
12041 SDValue FMA, E;
12045 FMA = N0;
12050 FMA = N1;
12053 if (FMA && E) {
12054 SDValue A = FMA.getOperand(0);
12055 SDValue B = FMA.getOperand(1);
12056 SDValue C = FMA.getOperand(2).getOperand(0);
12057 SDValue D = FMA.getOperand(2).getOperand(1);
12189 /// Try to perform FMA combining on a given FSUB node.
12203 (!LegalOperations || TLI.isOperationLegalOrCustom(ISD::FMA, VT));
12221 // Always prefer FMAD to FMA for precision.
12222 unsigned PreferredFusedOpcode = HasFMAD ? ISD::FMAD : ISD::FMA;
12513 /// Try to perform FMA combining on a given FMUL node based on the distributive
12536 (!LegalOperations || TLI.isOperationLegalOrCustom(ISD::FMA, VT));
12547 // Always prefer FMAD to FMA for precision.
12548 unsigned PreferredFusedOpcode = HasFMAD ? ISD::FMAD : ISD::FMA;
12567 if (SDValue FMA = FuseFADD(N0, N1, Flags))
12568 return FMA;
12569 if (SDValue FMA = FuseFADD(N1, N0, Flags))
12570 return FMA;
12600 if (SDValue FMA = FuseFSUB(N0, N1, Flags))
12601 return FMA;
12602 if (SDValue FMA = FuseFSUB(N1, N0, Flags))
12603 return FMA;
12780 // FADD -> FMA combines:
12859 // FSUB -> FMA combines:
13001 // FMUL -> FMA combines:
13020 // FMA nodes have flags that propagate to the created nodes.
13024 // Constant fold FMA.
13028 return DAG.getNode(ISD::FMA, DL, VT, N0, N1, N2);
13043 return DAG.getNode(ISD::FMA, DL, VT, NegN0, NegN1, N2, Flags);
13051 // TODO: The FMA node should have flags that propagate to these nodes.
13060 return DAG.getNode(ISD::FMA, SDLoc(N), VT, N1, N0, N2);
13076 return DAG.getNode(ISD::FMA, DL, VT,
13088 // TODO: The FMA node should have flags that propagate to this node.
13095 // TODO: The FMA node should have flags that propagate to this node.
13104 return DAG.getNode(ISD::FMA, DL, VT, N0.getOperand(0),