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_register_allocation.cpp206 if (rc.is_subdword() && operand >= 0) { in DefInfo()
209 } else if (rc.is_subdword()) { in DefInfo()
219 if (!rc.is_subdword()) in DefInfo()
266 if (rc.is_subdword()) in block()
296 if (rc.is_subdword()) in clear()
304 if (op.regClass().is_subdword()) in fill()
314 if (def.regClass().is_subdword()) in fill()
829 uint32_t stride = info.rc.is_subdword() ? DIV_ROUND_UP(info.stride, 4) : info.stride; in get_reg_simple()
917 if (rc.is_subdword()) { in get_reg_simple()
1018 res = {reg, (!var.rc.is_subdword() || (reg.byte() % info.stride == 0)) && in get_regs_for_copies()
[all …]
Daco_validate.cpp232 instr->operands[i].regClass().is_subdword() && !instr->operands[i].isFixed())) in validate_ir()
235 if (instr->definitions[0].regClass().is_subdword() && !instr->definitions[0].isFixed()) in validate_ir()
258 if (instr->definitions[i].regClass().is_subdword()) in validate_ir()
399 !instr->definitions[0].regClass().is_subdword() || in validate_ir()
416 check(program->chip_class >= GFX9 || !def.regClass().is_subdword(), in validate_ir()
887 if (op.regClass().is_subdword() && in validate_ra()
916 if (def.regClass().is_subdword() && in validate_ra()
1033 if (def.regClass().is_subdword() && def.bytes() < 4) { in validate_ra()
Daco_optimizer_postRA.cpp98 if (def.regClass().is_subdword()) in save_reg_writes()
102 assert(def.size() == dw_size || def.regClass().is_subdword()); in save_reg_writes()
150 if (rc.is_subdword()) in is_clobbered_since()
Daco_lower_to_hw_instr.cpp1194 } else if (def.regClass().is_subdword() && ctx->program->chip_class < GFX8) { in do_copy()
1231 } else if (def.regClass().is_subdword()) { in do_copy()
1327 assert(def.regClass().is_subdword()); in do_swap()
1520 assert(!it->second.def.regClass().is_subdword()); in handle_operands()
1936 RegClass op_rc = def.regClass().is_subdword() in lower_to_hw_instr()
1963 op.regClass().is_subdword() in lower_to_hw_instr()
1978 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.h348 constexpr bool is_subdword() const { return rc & (1 << 7); } in is_subdword() function
349 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.cpp353 assert(!dst_rc.is_subdword()); in emit_extract_vector()
359 if (dst_rc.is_subdword()) in emit_extract_vector()
1338 if (elems[i].type() == RegType::sgpr && elem_rc.is_subdword()) in visit_alu_instr()
4215 ASSERTED bool is_subdword = elem_size_bytes < 4; in split_store_data() local
4216 assert(!is_subdword || dst_type == RegType::vgpr); in split_store_data()
4244 if (is_subdword && src.type() == RegType::sgpr) in split_store_data()
Daco_optimizer.cpp519 [](const Definition& def) { return def.regClass().is_subdword(); }); in pseudo_propagate_temp()