• Home
  • Raw
  • Download

Lines Matching refs:RegClass

151       RegClass rc = RegClass(mask.regClass().type(), 1);  in emit_mbcnt()
347 emit_extract_vector(isel_context* ctx, Temp src, uint32_t idx, RegClass dst_rc) in emit_extract_vector()
388 RegClass rc; in emit_split_vector()
396 rc = RegClass(RegType::vgpr, vec_src.bytes() / num_components).as_subdword(); in emit_split_vector()
398 rc = RegClass(vec_src.type(), vec_src.size() / num_components); in emit_split_vector()
422 Temp tmp_dst = bld.tmp(RegClass::get(RegType::vgpr, 2 * num_components)); in expand_vector()
443 RegClass src_rc = RegClass::get(RegType::vgpr, component_bytes); in expand_vector()
444 RegClass dst_rc = RegClass::get(dst.type(), component_bytes); in expand_vector()
563 RegClass rc = RegClass(RegType::vgpr, component_size).as_subdword(); in byte_align_vector()
582 vec = bld.pseudo(aco_opcode::p_as_uniform, bld.def(RegClass(RegType::sgpr, vec.size())), vec); in byte_align_vector()
595 RegClass rc = RegClass::get(RegType::vgpr, (is_16bit ? 2 : 4) * def->num_components); in get_ssa_temp_tex()
652 dst = bld.tmp(RegClass(RegType::vgpr, dst_bits / 8u).as_subdword()); in convert_int()
747 return emit_extract_vector(ctx, vec, 0, RegClass::get(vec.type(), elem_size * size)); in get_alu_src()
762 RegClass elem_rc = elem_size < 4 ? RegClass(vec.type(), elem_size).as_subdword() in get_alu_src()
763 : RegClass(vec.type(), elem_size / 4); in get_alu_src()
775 Temp dst = ctx->program->allocateTmp(RegClass(vec.type(), elem_size * size / 4)); in get_alu_src()
836 return bld.pseudo(aco_opcode::p_create_vector, bld.def(RegClass(ptr.type(), 2)), ptr, in convert_pointer_to_64_bit()
1400 RegClass elem_rc = RegClass::get(RegType::vgpr, instr->dest.dest.ssa.bit_size / 8u); in visit_alu_instr()
2966 RegClass rc = RegClass(src.type(), 1); in visit_alu_instr()
2986 RegClass rc = RegClass(src.type(), 1); in visit_alu_instr()
3041 RegClass rc = RegClass(src.type(), 1); in visit_alu_instr()
3060 RegClass rc = RegClass(src.type(), 1); in visit_alu_instr()
3431 Temp tmp = dst.bytes() == 8 ? bld.tmp(RegClass::get(dst.type(), 4)) : dst; in visit_alu_instr()
3748 src = emit_extract_vector(ctx, src, index / comp, RegClass(src.type(), 1)); in visit_alu_instr()
3780 src = emit_extract_vector(ctx, src, 0u, RegClass(src.type(), 1)); in visit_alu_instr()
4148 RegClass(offset.getTemp().type(), 1))); in emit_load()
4194 tmp[0] = bld.tmp(RegClass::get(reg_type, tmp_size)); in emit_load()
4202 RegClass new_rc = in emit_load()
4203 RegClass::get(reg_type, tmp[0].bytes() / component_size * component_size); in emit_load()
4208 RegClass elem_rc = RegClass::get(reg_type, component_size); in emit_load()
4248 vec->operands[info.num_components] = Operand(RegClass::get(RegType::vgpr, padding_bytes)); in emit_load()
4323 RegClass rc = RegClass::get(RegType::vgpr, size); in lds_load_callback()
4390 RegClass rc(RegType::sgpr, DIV_ROUND_UP(bytes_needed, 4u)); in smem_load_callback()
4448 RegClass rc = RegClass::get(RegType::vgpr, bytes_size); in mubuf_load_callback()
4483 RegClass rc = RegClass::get(RegType::vgpr, bytes_size); in scratch_load_callback()
4646 RegClass rc = RegClass::get(RegType::vgpr, bytes_size); in global_load_callback()
4733 dst[i] = bld.tmp(RegClass::get(dst_type, bytes[i])); in split_store_data()
4768 temps.emplace_back(bld.tmp(RegClass::get(dst_type, elem_size_bytes))); in split_store_data()
5019 dst = bld.tmp(RegClass(reg_type, cnt * dword_size)); in create_vec_from_array()
5032 Temp zero = bld.copy(bld.def(RegClass(reg_type, dword_size)), in create_vec_from_array()
5186 RegClass rc = instr->src[0].ssa->bit_size == 16 ? v2b : v1; in store_output_to_temps()
5631 fetch_dst = bld.tmp(RegClass::get(RegType::vgpr, fetch_bytes)); in visit_load_input()
5912 RegClass rc = dst.size() == 3 ? s1 : s2; in visit_load_push_constant()
6247 tmp = bld.tmp(RegClass::get(RegType::vgpr, num_bytes)); in visit_image_load()
6331 data = emit_extract_vector(ctx, data, 0, RegClass(data.type(), 2)); in visit_image_store()
6404 RegClass rc = d16 ? v2b : v1; in visit_image_store()
6414 data = bld.tmp(RegClass::get(RegType::vgpr, dmask_count * rc.bytes())); in visit_image_store()
7534 RegClass comp_rc = is64bit ? v2 : v1; in visit_access_shared2_amd()
7986 Temp tmp = dst.regClass() == s1 ? bld.tmp(RegClass::get(RegType::vgpr, src.ssa->bit_size / 8)) in emit_addition_uniform_reduce()
8164 reduce->operands[1] = Operand(RegClass(RegType::vgpr, dst.size()).as_linear()); in emit_reduction_instr()
8365 Temp pos1 = bld.tmp(RegClass(sample_pos.type(), 1)); in visit_intrinsic()
8366 Temp pos2 = bld.tmp(RegClass(sample_pos.type(), 1)); in visit_intrinsic()
8376 RegClass rc = RegClass(offset.type(), 1); in visit_intrinsic()
8806 src = emit_extract_vector(ctx, src, 0, RegClass::get(RegType::vgpr, bit_size / 8)); in visit_intrinsic()
8897 bld.def(RegClass::get(tmp.type(), excess_bytes)), def.getTemp()); in visit_intrinsic()
8992 src = emit_extract_vector(ctx, src, 0, RegClass(src.type(), bld.lm.size())); in visit_intrinsic()
9592 RegClass rc = a16 ? v2b : v1; in visit_tex()
9627 RegClass rc = g16 ? v2b : v1; in visit_tex()
9675 tmp_dst = bld.tmp(RegClass::get(RegType::vgpr, bytes)); in visit_tex()
10069 get_phi_operand(isel_context* ctx, nir_ssa_def* ssa, RegClass rc, bool logical) in get_phi_operand()
10146 operands[num_operands++] = Operand(RegClass()); in visit_phi()
10434 RegClass rc = vals[0].regClass(); in create_continue_phis()
11473 Temp write_data = ctx->program->allocateTmp(RegClass(RegType::vgpr, count)); in emit_stream_output()
11589 RegClass type = RegClass(file == AC_ARG_SGPR ? RegType::sgpr : RegType::vgpr, size); in add_startpgm()
12208 RegClass(file == AC_ARG_SGPR ? RegType::sgpr : RegType::vgpr, size)); in get_arg_fixed()