Searched refs:OneOver2Pi (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 1600 auto OneOver2Pi = B.buildFConstant(Ty, 0.5 / M_PI); in legalizeSinCos() local 1602 auto MulVal = B.buildFMul(Ty, SrcReg, OneOver2Pi, Flags); in legalizeSinCos() 1607 TrigVal = B.buildFMul(Ty, SrcReg, OneOver2Pi, Flags).getReg(0); in legalizeSinCos()
|
D | SIISelLowering.cpp | 7981 SDValue OneOver2Pi = DAG.getConstantFP(0.5 / M_PI, DL, VT); in LowerTrig() local 7984 SDValue MulVal = DAG.getNode(ISD::FMUL, DL, VT, Arg, OneOver2Pi); in LowerTrig() 7987 TrigVal = DAG.getNode(ISD::FMUL, DL, VT, Arg, OneOver2Pi); in LowerTrig()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 2173 auto OneOver2Pi = B.buildFConstant(Ty, 0.5 * numbers::inv_pi); in legalizeSinCos() local 2175 auto MulVal = B.buildFMul(Ty, SrcReg, OneOver2Pi, Flags); in legalizeSinCos() 2180 TrigVal = B.buildFMul(Ty, SrcReg, OneOver2Pi, Flags).getReg(0); in legalizeSinCos()
|
D | SIISelLowering.cpp | 8673 SDValue OneOver2Pi = DAG.getConstantFP(0.5 * numbers::inv_pi, DL, VT); in LowerTrig() local 8676 SDValue MulVal = DAG.getNode(ISD::FMUL, DL, VT, Arg, OneOver2Pi, Flags); in LowerTrig() 8679 TrigVal = DAG.getNode(ISD::FMUL, DL, VT, Arg, OneOver2Pi, Flags); in LowerTrig()
|