Home
last modified time | relevance | path

Searched refs:is_subdword (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_validate.cpp234 instr->operands[i].regClass().is_subdword() && !instr->operands[i].isFixed())) in validate_ir()
237 if (instr->definitions[0].regClass().is_subdword() && !instr->definitions[0].isFixed()) in validate_ir()
250 instr->operands[i].regClass().is_subdword() && !instr->operands[i].isFixed()) in validate_ir()
278 if (instr->definitions[i].regClass().is_subdword()) in validate_ir()
420 !instr->definitions[0].regClass().is_subdword() || in validate_ir()
437 check(program->gfx_level >= GFX9 || !def.regClass().is_subdword(), in validate_ir()
603 check(d16 || !instr->definitions[0].regClass().is_subdword(), in validate_ir()
646 check(instr->mimg().d16 || !instr->definitions[0].regClass().is_subdword(), in validate_ir()
961 if (def.regClass().is_subdword() && def.bytes() < 4) { in validate_instr_defs()
1036 if (op.regClass().is_subdword() && in validate_ra()
[all …]
Daco_register_allocation.cpp215 if (rc.is_subdword() && operand >= 0) { in DefInfo()
218 } else if (rc.is_subdword()) { in DefInfo()
228 if (!rc.is_subdword()) in DefInfo()
289 if (rc.is_subdword()) in block()
319 if (rc.is_subdword()) in clear()
327 if (op.regClass().is_subdword()) in fill()
337 if (def.regClass().is_subdword()) in fill()
875 uint32_t stride = info.rc.is_subdword() ? DIV_ROUND_UP(info.stride, 4) : info.stride; in get_reg_simple()
963 if (rc.is_subdword()) { in get_reg_simple()
1051 return {reg, info.rc.is_subdword() || reg.byte() == 0}; in get_reg_for_create_vector_copy()
[all …]
Daco_optimizer_postRA.cpp130 if (def.regClass().is_subdword()) in save_reg_writes()
134 assert(def.size() == dw_size || def.regClass().is_subdword()); in save_reg_writes()
173 if (rc.is_subdword()) in is_clobbered_since()
Daco_lower_to_hw_instr.cpp1237 } else if (def.regClass().is_subdword() && ctx->program->gfx_level < GFX8) { in do_copy()
1280 } else if (def.regClass().is_subdword()) { in do_copy()
1410 assert(def.regClass().is_subdword()); in do_swap()
1619 assert(!it->second.def.regClass().is_subdword()); in handle_operands()
2032 RegClass op_rc = def.regClass().is_subdword() in lower_to_hw_instr()
2059 op.regClass().is_subdword() in lower_to_hw_instr()
2074 RegClass rc_op = def.regClass().is_subdword() in lower_to_hw_instr()
Daco_lower_phis.cpp351 else if (phi->definitions[0].regClass().is_subdword()) in lower_phis()
Daco_ir.h349 constexpr bool is_subdword() const { return rc & (1 << 7); } in is_subdword() function
350 constexpr unsigned bytes() const { return ((unsigned)rc & 0x1F) * (is_subdword() ? 1 : 4); } in bytes()
Daco_print_ir.cpp92 if (rc.is_subdword()) { in print_reg_class()
Daco_instruction_selection.cpp362 assert(!dst_rc.is_subdword()); in emit_extract_vector()
368 if (dst_rc.is_subdword()) in emit_extract_vector()
445 assert(dst.type() == RegType::vgpr || !src_rc.is_subdword()); in expand_vector()
1402 if (elems[i].type() == RegType::sgpr && elem_rc.is_subdword()) in visit_alu_instr()
4729 ASSERTED bool is_subdword = elem_size_bytes < 4; in split_store_data() local
4730 assert(!is_subdword || dst_type == RegType::vgpr); in split_store_data()
4758 if (is_subdword && src.type() == RegType::sgpr) in split_store_data()
Daco_optimizer.cpp552 [](const Definition& def) { return def.regClass().is_subdword(); }); in pseudo_propagate_temp()