Searched refs:is_subdword (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/amd/compiler/ |
D | aco_validate.cpp | 186 if (instr->operands[i].hasRegClass() && instr->operands[i].regClass().is_subdword()) in validate_ir() 189 if (instr->definitions[0].regClass().is_subdword()) in validate_ir() 200 …(instr->operands[i].hasRegClass() && instr->operands[i].regClass().is_subdword() && !instr->operan… in validate_ir() 203 if (instr->definitions[0].regClass().is_subdword() && !instr->definitions[0].isFixed()) in validate_ir() 224 if (instr->definitions[i].regClass().is_subdword()) in validate_ir() 332 if (!instr->definitions[i].regClass().is_subdword()) in validate_ir() 340 bool is_subdword = false; in validate_ir() local 344 is_subdword |= def.regClass().is_subdword(); in validate_ir() 349 is_subdword |= op.hasRegClass() && op.regClass().is_subdword(); in validate_ir() 354 check(!is_subdword || !has_const_sgpr || program->chip_class >= GFX9, in validate_ir() [all …]
|
D | aco_register_allocation.cpp | 114 if (rc.is_subdword() && operand >= 0) { in DefInfo() 117 } else if (rc.is_subdword()) { in DefInfo() 127 if (!rc.is_subdword()) in DefInfo() 173 if (rc.is_subdword()) in block() 198 if (rc.is_subdword()) in clear() 205 if (op.regClass().is_subdword()) in fill() 216 if (def.regClass().is_subdword()) in fill() 611 uint32_t stride = info.rc.is_subdword() ? DIV_ROUND_UP(info.stride, 4) : info.stride; in get_reg_simple() 707 if (rc.is_subdword()) { in get_reg_simple() 801 …res = {reg, (!var.rc.is_subdword() || (reg.byte() % info.stride == 0)) && !reg_file.test(reg, var.… in get_regs_for_copies() [all …]
|
D | aco_lower_to_hw_instr.cpp | 1085 } else if (def.regClass().is_subdword() && ctx->program->chip_class < GFX8) { in do_copy() 1115 } else if (def.regClass().is_subdword()) { in do_copy() 1202 assert(def.regClass().is_subdword()); in do_swap() 1346 assert(!it->second.def.regClass().is_subdword()); in handle_operands() 1780 RegClass op_rc = def.regClass().is_subdword() ? def.regClass() : in lower_to_hw_instr() 1805 RegClass rc_def = op.regClass().is_subdword() ? op.regClass() : in lower_to_hw_instr() 1820 RegClass rc_op = def.regClass().is_subdword() ? def.regClass() : in lower_to_hw_instr()
|
D | aco_optimizer.cpp | 847 bool is_subdword = false; in label_instruction() local 850 is_subdword = std::any_of(instr->definitions.begin(), instr->definitions.end(), in label_instruction() 851 … [] (const Definition& def) { return def.regClass().is_subdword();}); in label_instruction() 852 is_subdword = is_subdword || std::any_of(instr->operands.begin(), instr->operands.end(), in label_instruction() 854 if (is_subdword && ctx.program->chip_class < GFX9) in label_instruction() 1120 bool is_subdword = std::any_of(vec->operands.begin(), vec->operands.end(), in label_instruction() local 1123 if (accept_subdword || !is_subdword) { in label_instruction()
|
D | aco_lower_phis.cpp | 290 else if (phi->definitions[0].regClass().is_subdword()) in lower_phis()
|
D | aco_ir.h | 293 constexpr bool is_subdword() const { return rc & (1 << 7); } in is_subdword() function 294 constexpr unsigned bytes() const { return ((unsigned) rc & 0x1F) * (is_subdword() ? 1 : 4); } in bytes()
|
D | aco_instruction_selection.cpp | 333 assert(!dst_rc.is_subdword()); in emit_extract_vector() 339 if (dst_rc.is_subdword()) in emit_extract_vector() 1178 if (elems[i].type() == RegType::sgpr && elem_rc.is_subdword()) in visit_alu_instr() 3568 ASSERTED bool is_subdword = elem_size_bytes < 4; in split_store_data() local 3569 assert(!is_subdword || dst_type == RegType::vgpr); in split_store_data() 3598 if (is_subdword && src.type() == RegType::sgpr) in split_store_data()
|