Home
last modified time | relevance | path

Searched refs:RCP (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Drcp-pattern.ll8 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[SRC]]
9 ; GCN: buffer_store_dword [[RCP]]
20 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[SRC]]
21 ; GCN: buffer_store_dword [[RCP]]
32 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[SRC]]
33 ; GCN: buffer_store_dword [[RCP]]
44 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[SRC]]
45 ; GCN: buffer_store_dword [[RCP]]
56 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[SRC]]
57 ; GCN: buffer_store_dword [[RCP]]
[all …]
Dfdiv32-to-rcp-folding.ll11 ; GCN-DENORM: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[PRESCALED]]
12 ; GCN-DENORM: v_mul_f32_e32 [[OUT:v[0-9]+]], [[SCALE]], [[RCP]]
31 ; GCN-DENORM: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[PRESCALED]]
32 ; GCN-DENORM: v_mul_f32_e32 [[OUT:v[0-9]+]], [[SCALE]], [[RCP]]
51 ; GCN-DENORM: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[PRESCALED]]
52 ; GCN-DENORM: v_mul_f32_e32 [[OUT:v[0-9]+]], [[SCALE]], [[RCP]]
72 ; GCN-DENORM: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[PRESCALED]]
73 ; GCN-DENORM: v_mul_f32_e32 [[OUT:v[0-9]+]], [[SCALE]], [[RCP]]
336 ; GCN-FLUSH: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[PRESCALED]]
337 ; GCN-FLUSH: v_mul_f32_e32 [[OUT:v[0-9]+]], [[SCALE]], [[RCP]]
[all …]
Drsq.ll53 ; SI-UNSAFE-DAG: v_rcp_f32_e32 [[RCP:v[0-9]+]], [[MUL]]
54 ; SI-UNSAFE-DAG: v_mul_f32_e32 [[RESULT:v[0-9]+]], [[C]], [[RCP]]
99 ; SI-UNSAFE: v_rcp_f64_e64 [[RCP:v\[[0-9]+:[0-9]+\]]], -[[SQRT]]
100 ; SI-UNSAFE: buffer_store_dwordx2 [[RCP]]
131 ; SI-UNSAFE: v_rcp_f64_e64 [[RCP:v\[[0-9]+:[0-9]+\]]], -[[SQRT]]
132 ; SI-UNSAFE: buffer_store_dwordx2 [[RCP]]
Dselect-fabs-fneg-extract-legacy.ll10 ; GCN: v_rcp_legacy_f32_e32 [[RCP:v[0-9]+]], [[X]]
11 ; GCN: v_cndmask_b32_e32 [[SELECT:v[0-9]+]], -2.0, [[RCP]], vcc
Dfdiv.ll102 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], s{{[0-9]+}}
103 ; GCN: v_mul_f32_e32 [[RESULT:v[0-9]+]], s{{[0-9]+}}, [[RCP]]
119 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], s{{[0-9]+}}
120 ; GCN: v_mul_f32_e32 [[RESULT:v[0-9]+]], s{{[0-9]+}}, [[RCP]]
134 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], s{{[0-9]+}}
135 ; GCN: v_mul_f32_e32 [[RESULT:v[0-9]+]], s{{[0-9]+}}, [[RCP]]
149 ; GCN: v_rcp_f32_e32 [[RCP:v[0-9]+]], s{{[0-9]+}}
150 ; GCN: v_mul_f32_e32 [[RESULT:v[0-9]+]], s{{[0-9]+}}, [[RCP]]
Dfdiv.f16.ll190 ; GFX8_9_10: v_rcp_f16_e32 [[RCP:v[0-9]+]], [[RHS]]
191 ; GFX8_9_10: v_mul_f16_e32 [[RESULT:v[0-9]+]], [[LHS]], [[RCP]]
212 ; GFX8_9_10: v_rcp_f16_e32 [[RCP:v[0-9]+]], [[RHS]]
213 ; GFX8_9_10: v_mul_f16_e32 [[RESULT:v[0-9]+]], [[LHS]], [[RCP]]
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Domod_two_writers.test1 RCP temp[0].x, const[1].x___;
2 RCP temp[0].y, const[1]._y__;
/external/llvm/test/CodeGen/AMDGPU/
Dudivrem.ll30 ; SI: v_rcp_iflag_f32_e32 [[RCP:v[0-9]+]]
31 ; SI-DAG: v_mul_hi_u32 [[RCP_HI:v[0-9]+]], [[RCP]]
32 ; SI-DAG: v_mul_lo_i32 [[RCP_LO:v[0-9]+]], [[RCP]]
35 ; SI: v_mul_hi_u32 [[E:v[0-9]+]], {{v[0-9]+}}, [[RCP]]
36 ; SI-DAG: v_add_i32_e32 [[RCP_A_E:v[0-9]+]], vcc, [[E]], [[RCP]]
37 ; SI-DAG: v_subrev_i32_e32 [[RCP_S_E:v[0-9]+]], vcc, [[E]], [[RCP]]
/external/mesa3d/src/gallium/tests/graw/fragment-shader/
Dfrag-cb-1d.sh10 RCP TEMP[1], CONST[0][3].xxxx
Dfrag-rcp.sh12 RCP TEMP[0].x, TEMP[0].xxxx
/external/mesa3d/src/gallium/tests/graw/vertex-shader/
Dvert-cb-1d.sh13 RCP TEMP[1], CONST[0][3].xxxx
Dvert-rcp.sh14 RCP TEMP[0].x, TEMP[0].xxxx
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp688 Value *RCP = Builder.CreateFDiv(ConstantFP::get(F32Ty, 1.0), FB); in expandDivRem24() local
689 Value *FQM = Builder.CreateFMul(FA, RCP); in expandDivRem24()
801 Value *RCP = Builder.CreateFPToUI(RCP_SCALE, I32Ty); in expandDivRem32() local
805 std::tie(RCP_LO, RCP_HI) = getMul64(Builder, RCP, Den); in expandDivRem32()
816 Value *E = getMulHu(Builder, ABS_RCP_LO, RCP); in expandDivRem32()
819 Value *RCP_A_E = Builder.CreateAdd(RCP, E); in expandDivRem32()
822 Value *RCP_S_E = Builder.CreateSub(RCP, E); in expandDivRem32()
DAMDGPULegalizerInfo.cpp1985 auto RCP = B.buildIntrinsic(Intrinsic::amdgcn_rcp, {ResTy}, false) in legalizeFastUnsafeFDIV() local
1988 B.buildFMul(Res, LHS, RCP, Flags); in legalizeFastUnsafeFDIV()
2013 auto RCP = B.buildIntrinsic(Intrinsic::amdgcn_rcp, {S32}, false) in legalizeFDIV16() local
2017 auto QUOT = B.buildFMul(S32, LHSExt, RCP, Flags); in legalizeFDIV16()
2234 auto RCP = B.buildIntrinsic(Intrinsic::amdgcn_rcp, {S32}, false) in legalizeFDIVFastIntrin() local
2238 auto Mul1 = B.buildFMul(S32, LHS, RCP, Flags); in legalizeFDIVFastIntrin()
DAMDGPUISelLowering.cpp527 case AMDGPUISD::RCP: in fnegFoldsIntoOp()
1579 fa, DAG.getNode(AMDGPUISD::RCP, DL, FltVT, fb)); in LowerDIVREM24()
1685 SDValue Rcp = DAG.getNode(AMDGPUISD::RCP, DL, MVT::f32, Mad1); in LowerUDIVREM64()
1869 SDValue RCP = DAG.getNode(AMDGPUISD::URECIP, DL, VT, Den); in LowerUDIVREM() local
1872 SDValue RCP_LO = DAG.getNode(ISD::MUL, DL, VT, RCP, Den); in LowerUDIVREM()
1875 SDValue RCP_HI = DAG.getNode(ISD::MULHU, DL, VT, RCP, Den); in LowerUDIVREM()
1887 SDValue E = DAG.getNode(ISD::MULHU, DL, VT, ABS_RCP_LO, RCP); in LowerUDIVREM()
1890 SDValue RCP_A_E = DAG.getNode(ISD::ADD, DL, VT, RCP, E); in LowerUDIVREM()
1893 SDValue RCP_S_E = DAG.getNode(ISD::SUB, DL, VT, RCP, E); in LowerUDIVREM()
3811 case AMDGPUISD::RCP: in performFNegCombine()
[all …]
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_opcode_tmp.h62 OP11(RCP)
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_opcode_tmp.h42 OP11(RCP)
Dtgsi_info_opcodes.h4 OPCODE(1, 1, REPL, RCP)
/external/mesa3d/src/mesa/program/
Dprogram_lexer.l221 RCP{sat} { return_opcode( 1, SCALAR_OP, RCP, 3); }
/external/mesa3d/docs/relnotes/
D18.2.2.rst57 - st/nine: Clamp RCP when 0*inf!=0
D8.0.4.rst101 - nv50: handle NEG,ABS modifiers for short RCP encoding
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.h255 RCP, enumerator
DAMDGPUISelLowering.cpp1284 fa, DAG.getNode(AMDGPUISD::RCP, DL, FltVT, fb)); in LowerDIVREM24()
1433 SDValue RCP = DAG.getNode(AMDGPUISD::URECIP, DL, VT, Den); in LowerUDIVREM() local
1436 SDValue RCP_LO = DAG.getNode(ISD::MUL, DL, VT, RCP, Den); in LowerUDIVREM()
1439 SDValue RCP_HI = DAG.getNode(ISD::MULHU, DL, VT, RCP, Den); in LowerUDIVREM()
1451 SDValue E = DAG.getNode(ISD::MULHU, DL, VT, ABS_RCP_LO, RCP); in LowerUDIVREM()
1454 SDValue RCP_A_E = DAG.getNode(ISD::ADD, DL, VT, RCP, E); in LowerUDIVREM()
1457 SDValue RCP_S_E = DAG.getNode(ISD::SUB, DL, VT, RCP, E); in LowerUDIVREM()
2826 NODE_NAME_CASE(RCP) in getTargetNodeName()
2908 return DAG.getNode(AMDGPUISD::RCP, SDLoc(Operand), VT, Operand); in getRecipEstimate()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_emit.c68 OP(ffract, FRC, X_X_0), OP(frcp, RCP, X_X_0), OP(frsq, RSQ, X_X_0),
Detnaviv_disasm.c475 OPC(RCP),

123