Searched refs:new_intrin (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/lima/ir/ |
D | lima_nir_split_load_input.c | 75 nir_intrinsic_instr *new_intrin = nir_intrinsic_instr_create( in lima_nir_split_load_input_instr() local 78 nir_ssa_dest_init(&new_intrin->instr, &new_intrin->dest, in lima_nir_split_load_input_instr() 82 new_intrin->num_components = nir_dest_num_components(alu->dest.dest); in lima_nir_split_load_input_instr() 83 nir_intrinsic_set_base(new_intrin, nir_intrinsic_base(intrin)); in lima_nir_split_load_input_instr() 84 nir_intrinsic_set_component(new_intrin, nir_intrinsic_component(intrin) + swizzle); in lima_nir_split_load_input_instr() 85 nir_intrinsic_set_dest_type(new_intrin, nir_intrinsic_dest_type(intrin)); in lima_nir_split_load_input_instr() 88 nir_src_copy(&new_intrin->src[0], &intrin->src[0]); in lima_nir_split_load_input_instr() 90 nir_builder_instr_insert(b, &new_intrin->instr); in lima_nir_split_load_input_instr() 92 &new_intrin->dest.ssa); in lima_nir_split_load_input_instr()
|
D | lima_nir_split_loads.c | 42 nir_intrinsic_instr *new_intrin = in clone_intrinsic() local 45 assert(new_intrin->dest.is_ssa); in clone_intrinsic() 47 unsigned num_srcs = nir_intrinsic_infos[new_intrin->intrinsic].num_srcs; in clone_intrinsic() 49 assert(new_intrin->src[i].is_ssa); in clone_intrinsic() 52 nir_builder_instr_insert(b, &new_intrin->instr); in clone_intrinsic() 54 return &new_intrin->dest.ssa; in clone_intrinsic()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_global_access.c | 150 nir_intrinsic_instr *new_intrin = nir_intrinsic_instr_create(b->shader, op); in process_instr() local 152 new_intrin->num_components = intrin->num_components; in process_instr() 155 nir_ssa_dest_init(&new_intrin->instr, &new_intrin->dest, intrin->dest.ssa.num_components, in process_instr() 160 new_intrin->src[i] = nir_src_for_ssa(intrin->src[i].ssa); in process_instr() 161 new_intrin->src[num_src] = nir_src_for_ssa(offset ? offset : nir_imm_zero(b, 1, 32)); in process_instr() 162 new_intrin->src[addr_src_idx] = nir_src_for_ssa(addr); in process_instr() 165 nir_intrinsic_set_access(new_intrin, nir_intrinsic_access(intrin)); in process_instr() 167 nir_intrinsic_set_align_mul(new_intrin, nir_intrinsic_align_mul(intrin)); in process_instr() 169 nir_intrinsic_set_align_offset(new_intrin, nir_intrinsic_align_offset(intrin)); in process_instr() 171 nir_intrinsic_set_write_mask(new_intrin, nir_intrinsic_write_mask(intrin)); in process_instr() [all …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_bit_size.c | 146 nir_intrinsic_instr *new_intrin = in lower_intrinsic_instr() local 151 new_intrin->src[0] = nir_src_for_ssa(new_src); in lower_intrinsic_instr() 156 assert(new_intrin->dest.ssa.bit_size == 1); in lower_intrinsic_instr() 162 new_intrin->dest.ssa.bit_size = bit_size; in lower_intrinsic_instr() 165 nir_builder_instr_insert(b, &new_intrin->instr); in lower_intrinsic_instr() 167 nir_ssa_def *res = &new_intrin->dest.ssa; in lower_intrinsic_instr()
|