/third_party/mesa3d/src/amd/compiler/ |
D | aco_print_ir.cpp | 571 if (dpp.dpp_ctrl <= 0xff) { in print_instr_format_specific() 572 fprintf(output, " quad_perm:[%d,%d,%d,%d]", dpp.dpp_ctrl & 0x3, (dpp.dpp_ctrl >> 2) & 0x3, in print_instr_format_specific() 573 (dpp.dpp_ctrl >> 4) & 0x3, (dpp.dpp_ctrl >> 6) & 0x3); in print_instr_format_specific() 574 } else if (dpp.dpp_ctrl >= 0x101 && dpp.dpp_ctrl <= 0x10f) { in print_instr_format_specific() 575 fprintf(output, " row_shl:%d", dpp.dpp_ctrl & 0xf); in print_instr_format_specific() 576 } else if (dpp.dpp_ctrl >= 0x111 && dpp.dpp_ctrl <= 0x11f) { in print_instr_format_specific() 577 fprintf(output, " row_shr:%d", dpp.dpp_ctrl & 0xf); in print_instr_format_specific() 578 } else if (dpp.dpp_ctrl >= 0x121 && dpp.dpp_ctrl <= 0x12f) { in print_instr_format_specific() 579 fprintf(output, " row_ror:%d", dpp.dpp_ctrl & 0xf); in print_instr_format_specific() 580 } else if (dpp.dpp_ctrl == dpp_wf_sl1) { in print_instr_format_specific() [all …]
|
D | aco_lower_to_hw_instr.cpp | 200 PhysReg vtmp_reg, ReduceOp op, unsigned dpp_ctrl, unsigned row_mask, in emit_int64_dpp_op() argument 215 bld.vop1_dpp(aco_opcode::v_mov_b32, vtmp_def[0], src0[0], dpp_ctrl, row_mask, bank_mask, in emit_int64_dpp_op() 220 dpp_ctrl, row_mask, bank_mask, bound_ctrl); in emit_int64_dpp_op() 223 Operand(vcc, bld.lm), dpp_ctrl, row_mask, bank_mask, bound_ctrl); in emit_int64_dpp_op() 225 bld.vop2_dpp(aco_opcode::v_and_b32, dst[0], src0[0], src1[0], dpp_ctrl, row_mask, bank_mask, in emit_int64_dpp_op() 227 bld.vop2_dpp(aco_opcode::v_and_b32, dst[1], src0[1], src1[1], dpp_ctrl, row_mask, bank_mask, in emit_int64_dpp_op() 230 bld.vop2_dpp(aco_opcode::v_or_b32, dst[0], src0[0], src1[0], dpp_ctrl, row_mask, bank_mask, in emit_int64_dpp_op() 232 bld.vop2_dpp(aco_opcode::v_or_b32, dst[1], src0[1], src1[1], dpp_ctrl, row_mask, bank_mask, in emit_int64_dpp_op() 235 bld.vop2_dpp(aco_opcode::v_xor_b32, dst[0], src0[0], src1[0], dpp_ctrl, row_mask, bank_mask, in emit_int64_dpp_op() 237 bld.vop2_dpp(aco_opcode::v_xor_b32, dst[1], src0[1], src1[1], dpp_ctrl, row_mask, bank_mask, in emit_int64_dpp_op() [all …]
|
D | aco_optimizer_postRA.cpp | 430 dpp->dpp_ctrl = mov->dpp().dpp_ctrl; in try_combine_dpp()
|
D | aco_opt_value_numbering.cpp | 178 return aDPP.pass_flags == bDPP.pass_flags && aDPP.dpp_ctrl == bDPP.dpp_ctrl && in operator ()()
|
D | aco_ir.cpp | 349 dpp->dpp_ctrl = dpp_quad_perm(0, 1, 2, 3); in convert_to_DPP()
|
D | aco_instruction_selection.cpp | 244 uint16_t dpp_ctrl = 0xffff; in emit_masked_swizzle() local 251 dpp_ctrl = dpp_quad_perm(res[0], res[1], res[2], res[3]); in emit_masked_swizzle() 253 dpp_ctrl = dpp_row_rr(8); in emit_masked_swizzle() 255 dpp_ctrl = dpp_row_mirror; in emit_masked_swizzle() 257 dpp_ctrl = dpp_row_half_mirror; in emit_masked_swizzle() 260 if (dpp_ctrl != 0xffff) in emit_masked_swizzle() 261 return bld.vop1_dpp(aco_opcode::v_mov_b32, bld.def(v1), src, dpp_ctrl); in emit_masked_swizzle() 8479 uint16_t dpp_ctrl = 0; in visit_intrinsic() local 8482 case nir_intrinsic_quad_swap_horizontal: dpp_ctrl = dpp_quad_perm(1, 0, 3, 2); break; in visit_intrinsic() 8483 case nir_intrinsic_quad_swap_vertical: dpp_ctrl = dpp_quad_perm(2, 3, 0, 1); break; in visit_intrinsic() [all …]
|
D | aco_optimizer.cpp | 2105 new_dpp->dpp_ctrl = cmp_dpp.dpp_ctrl; in combine_inverse_comparison() 3827 dpp->dpp_ctrl = info.instr->dpp().dpp_ctrl; in select_instruction()
|
D | aco_assembler.cpp | 683 encoding |= dpp.dpp_ctrl << 8; in emit_instruction()
|
D | aco_ir.h | 1411 uint16_t dpp_ctrl; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | VOP1Instructions.td | 290 dpp_ctrl:$dpp_ctrl, row_mask:$row_mask, 838 (i32 (int_amdgcn_mov_dpp i32:$src, timm:$dpp_ctrl, timm:$row_mask, timm:$bank_mask, 840 (V_MOV_B32_dpp $src, $src, (as_i32imm $dpp_ctrl), 846 (i32 (int_amdgcn_update_dpp i32:$old, i32:$src, timm:$dpp_ctrl, timm:$row_mask, 848 (V_MOV_B32_dpp $old, $src, (as_i32imm $dpp_ctrl),
|
D | VOP2Instructions.td | 293 dpp_ctrl:$dpp_ctrl, row_mask:$row_mask, 348 let AsmDPP = "$vdst, vcc, $src0, $src1 $dpp_ctrl$row_mask$bank_mask$bound_ctrl"; 362 let AsmDPP = "$vdst, vcc, $src0, $src1, vcc $dpp_ctrl$row_mask$bank_mask$bound_ctrl"; 381 dpp_ctrl:$dpp_ctrl, row_mask:$row_mask, 397 let AsmDPP = "$vdst, $src0, $src1, vcc $dpp_ctrl$row_mask$bank_mask$bound_ctrl"; 417 dpp_ctrl:$dpp_ctrl, row_mask:$row_mask,
|
D | SIInstrInfo.td | 1082 def dpp_ctrl : NamedOperandU32<"DPPCtrl", NamedMatchClass<"DPPCtrl", 0>>; 1748 (ins dpp_ctrl:$dpp_ctrl, row_mask:$row_mask, 1754 Src0RC:$src0, dpp_ctrl:$dpp_ctrl, row_mask:$row_mask, 1759 dpp_ctrl:$dpp_ctrl, row_mask:$row_mask, 1768 dpp_ctrl:$dpp_ctrl, row_mask:$row_mask, 1773 Src0RC:$src0, Src1RC:$src1, dpp_ctrl:$dpp_ctrl, 1970 string ret = dst#args#" $dpp_ctrl$row_mask$bank_mask$bound_ctrl";
|
D | GCNDPPCombine.cpp | 250 DPPInst.add(*TII->getNamedOperand(MovMI, AMDGPU::OpName::dpp_ctrl)); in createDPPInst()
|
D | VOPInstructions.td | 576 bits<9> dpp_ctrl; 583 let Inst{48-40} = dpp_ctrl;
|
D | SIInstructions.td | 1876 (i64 (int_amdgcn_mov_dpp i64:$src, timm:$dpp_ctrl, timm:$row_mask, timm:$bank_mask, 1878 (V_MOV_B64_DPP_PSEUDO $src, $src, (as_i32imm $dpp_ctrl), 1884 (i64 (int_amdgcn_update_dpp i64:$old, i64:$src, timm:$dpp_ctrl, timm:$row_mask, 1886 (V_MOV_B64_DPP_PSEUDO $old, $src, (as_i32imm $dpp_ctrl),
|
D | SIInstrInfo.cpp | 3698 const MachineOperand *DppCt = getNamedOperand(MI, AMDGPU::OpName::dpp_ctrl); in verifyInstruction()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 3483 enum dpp_ctrl enum 3499 static inline enum dpp_ctrl dpp_quad_perm(unsigned lane0, unsigned lane1, unsigned lane2, in dpp_quad_perm() 3506 static inline enum dpp_ctrl dpp_row_sl(unsigned amount) in dpp_row_sl() 3512 static inline enum dpp_ctrl dpp_row_sr(unsigned amount) in dpp_row_sr() 3519 enum dpp_ctrl dpp_ctrl, unsigned row_mask, unsigned bank_mask, in _ac_build_dpp() argument 3530 (LLVMValueRef[]){old, src, LLVMConstInt(ctx->i32, dpp_ctrl, 0), in _ac_build_dpp() 3539 enum dpp_ctrl dpp_ctrl, unsigned row_mask, unsigned bank_mask, in ac_build_dpp() argument 3557 _ac_build_dpp(ctx, old, src, dpp_ctrl, row_mask, bank_mask, bound_ctrl); in ac_build_dpp() 3562 ret = _ac_build_dpp(ctx, old, src, dpp_ctrl, row_mask, bank_mask, bound_ctrl); in ac_build_dpp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicsAMDGPU.td | 1525 // llvm.amdgcn.mov.dpp.i32 <src> <dpp_ctrl> <row_mask> <bank_mask> <bound_ctrl> 1532 // llvm.amdgcn.update.dpp.i32 <old> <src> <dpp_ctrl> <row_mask> <bank_mask> <bound_ctrl> 1535 // v_mov_b32 <dest> <src> <dpp_ctrl> <row_mask> <bank_mask> <bound_ctrl>
|