/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 2106 auto Fma3 = B.buildFMA(S32, Fma2, Fma1, Mul, Flags); in legalizeFDIV32() local 2107 auto Fma4 = B.buildFMA(S32, NegDivScale0, Fma3, NumeratorScaled, Flags); in legalizeFDIV32() 2115 .addUse(Fma3.getReg(0)) in legalizeFDIV32() 2166 auto Fma3 = B.buildFMA(S64, Fma1, Fma2, Fma1, Flags); in legalizeFDIV64() local 2167 auto Mul = B.buildMul(S64, DivScale1.getReg(0), Fma3, Flags); in legalizeFDIV64() 2195 .addUse(Fma3.getReg(0)) in legalizeFDIV64()
|
D | SIISelLowering.cpp | 7772 SDValue Fma3 = getFPTernOp(DAG, ISD::FMA, SL, MVT::f32, Fma2, Fma1, Mul, Fma2); in LowerFDIV32() local 7774 SDValue Fma4 = getFPTernOp(DAG, ISD::FMA, SL, MVT::f32, NegDivScale0, Fma3, in LowerFDIV32() 7775 NumeratorScaled, Fma3); in LowerFDIV32() 7802 Fma4, Fma1, Fma3, Scale); in LowerFDIV32() 7833 SDValue Fma3 = DAG.getNode(ISD::FMA, SL, MVT::f64, Fma1, Fma2, Fma1); in LowerFDIV64() local 7834 SDValue Mul = DAG.getNode(ISD::FMUL, SL, MVT::f64, DivScale1, Fma3); in LowerFDIV64() 7869 Fma4, Fma3, Mul, Scale); in LowerFDIV64()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 2216 SDValue Fma3 = DAG.getNode(ISD::FMA, SL, MVT::f32, Fma2, Fma1, Mul); in LowerFDIV32() local 2217 SDValue Fma4 = DAG.getNode(ISD::FMA, SL, MVT::f32, NegDivScale0, Fma3, NumeratorScaled); in LowerFDIV32() 2220 SDValue Fmas = DAG.getNode(AMDGPUISD::DIV_FMAS, SL, MVT::f32, Fma4, Fma1, Fma3, Scale); in LowerFDIV32() 2251 SDValue Fma3 = DAG.getNode(ISD::FMA, SL, MVT::f64, Fma1, Fma2, Fma1); in LowerFDIV64() local 2252 SDValue Mul = DAG.getNode(ISD::FMUL, SL, MVT::f64, DivScale1, Fma3); in LowerFDIV64() 2287 Fma4, Fma3, Mul, Scale); in LowerFDIV64()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 3214 auto Fma3 = B.buildFMA(S32, Fma2, Fma1, Mul, Flags); in legalizeFDIV32() local 3215 auto Fma4 = B.buildFMA(S32, NegDivScale0, Fma3, NumeratorScaled, Flags); in legalizeFDIV32() 3223 .addUse(Fma3.getReg(0)) in legalizeFDIV32() 3273 auto Fma3 = B.buildFMA(S64, Fma1, Fma2, Fma1, Flags); in legalizeFDIV64() local 3274 auto Mul = B.buildFMul(S64, DivScale1.getReg(0), Fma3, Flags); in legalizeFDIV64() 3300 .addUse(Fma3.getReg(0)) in legalizeFDIV64()
|
D | SIISelLowering.cpp | 8449 SDValue Fma3 = getFPTernOp(DAG, ISD::FMA, SL, MVT::f32, in LowerFDIV32() local 8452 SDValue Fma4 = getFPTernOp(DAG, ISD::FMA, SL, MVT::f32, NegDivScale0, Fma3, in LowerFDIV32() 8453 NumeratorScaled, Fma3, Flags); in LowerFDIV32() 8480 {Fma4, Fma1, Fma3, Scale}, Flags); in LowerFDIV32() 8511 SDValue Fma3 = DAG.getNode(ISD::FMA, SL, MVT::f64, Fma1, Fma2, Fma1); in LowerFDIV64() local 8512 SDValue Mul = DAG.getNode(ISD::FMUL, SL, MVT::f64, DivScale1, Fma3); in LowerFDIV64() 8547 Fma4, Fma3, Mul, Scale); in LowerFDIV64()
|