Home
last modified time | relevance | path

Searched refs:new_intrin (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_split_load_input.c75 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()
Dlima_nir_split_loads.c42 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/compiler/nir/
Dnir_lower_bit_size.c146 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()