Home
last modified time | relevance | path

Searched refs:sopk (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_insert_NOPs.cpp532 SOPK_instruction& sopk = instr->sopk(); in handle_instruction_gfx6() local
533 unsigned offset = (sopk.imm >> 6) & 0x1f; in handle_instruction_gfx6()
534 unsigned size = ((sopk.imm >> 11) & 0x1f) + 1; in handle_instruction_gfx6()
535 unsigned reg = sopk.imm & 0x3f; in handle_instruction_gfx6()
800 const SOPK_instruction& sopk = instr->sopk(); in handle_instruction_gfx10() local
801 if (sopk.definitions[0].physReg() == sgpr_null && sopk.imm == 0) in handle_instruction_gfx10()
Daco_print_ir.cpp279 const SOPK_instruction& sopk = instr->sopk(); in print_instr_format_specific() local
280 fprintf(output, " imm:%d", sopk.imm & 0x8000 ? (sopk.imm - 65536) : sopk.imm); in print_instr_format_specific()
Daco_assembler.cpp123 SOPK_instruction& sopk = instr->sopk(); in emit_instruction() local
135 sopk.imm = (uint16_t)(ctx.subvector_begin_pos - (int)out.size()); in emit_instruction()
146 encoding |= sopk.imm; in emit_instruction()
Daco_opt_value_numbering.cpp207 SOPK_instruction& aK = a->sopk(); in operator ()()
208 SOPK_instruction& bK = b->sopk(); in operator ()()
Daco_statistics.cpp266 return wait_imm(0, 0, 0, instr->sopk().imm); in get_wait_imm()
Daco_ir.h1072 SOPK_instruction& sopk() noexcept in sopk() function
1077 const SOPK_instruction& sopk() const noexcept in sopk() function
Daco_lower_to_hw_instr.cpp1048 bld.sopk(aco_opcode::s_movk_i32, dst, imm & 0xFFFFu); in copy_constant()
1977 bld.sopk(aco_opcode::s_setreg_imm32_b32, Operand::literal32(new_mode.val), (7 << 11) | 1); in emit_set_mode()
2362 bld.sopk(aco_opcode::s_setreg_b32, scratch_lo, (31 << 11) | 20); in lower_to_hw_instr()
2363 bld.sopk(aco_opcode::s_setreg_b32, scratch_hi, (31 << 11) | 21); in lower_to_hw_instr()
Daco_insert_waitcnt.cpp306 imm.vs = std::min<uint8_t>(imm.vs, instr->sopk().imm); in parse_wait_instr()
Daco_spill.cpp340 res->sopk().imm = instr->sopk().imm; in do_reload()
Daco_register_allocation.cpp2634 SOPK_instruction* instr_sopk = &instr->sopk(); in optimize_encoding_sopk()
Daco_optimizer.cpp4711 SOPK_instruction* instr_sopk = &instr->sopk(); in try_convert_sopc_to_sopk()
Daco_instruction_selection.cpp9101 Temp clock = bld.sopk(aco_opcode::s_getreg_b32, bld.def(s1), ((20 - 1) << 11) | 29); in visit_intrinsic()
12182 bld.sopk(aco_opcode::s_getreg_b32, Definition(PhysReg{ttmp8}, s1), in select_trap_handler_shader()
12354 bld.sopk(aco_opcode::s_movk_i32, Definition(vertex_buffers.advance(4), s1), in select_vs_prolog()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrFormats.td63 // Most sopk treat the immediate as a signed 16-bit, however some
DSOPInstructions.td781 //def S_GETREG_REGRD_B32 : SOPK_32 <sopk<0x14, 0x13>, "s_getreg_regrd_b32">;