Home
last modified time | relevance | path

Searched refs:nir_src_copy (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_atomics_to_ssbo.c119 nir_src_copy(&new_instr->src[1], &instr->src[0], new_instr); in lower_instr()
127 nir_src_copy(&new_instr->src[1], &instr->src[0], new_instr); in lower_instr()
133 nir_src_copy(&new_instr->src[1], &instr->src[0], new_instr); in lower_instr()
138 nir_src_copy(&new_instr->src[1], &instr->src[0], new_instr); in lower_instr()
139 nir_src_copy(&new_instr->src[2], &instr->src[1], new_instr); in lower_instr()
141 nir_src_copy(&new_instr->src[3], &instr->src[2], new_instr); in lower_instr()
Dnir_lower_io_to_scalar.c52 nir_src_copy(&chan_intr->src[0], &intr->src[0], chan_intr); in lower_load_input_to_scalar()
87 nir_src_copy(&chan_intr->src[1], &intr->src[1], chan_intr); in lower_store_output_to_scalar()
166 nir_src_copy(&ndarr->indirect, &darr->indirect, parent); in clone_deref_array()
216 nir_src_copy(chan_intr->src, intr->src, &chan_intr->instr); in lower_load_to_scalar_early()
Dnir_lower_locals_to_regs.c177 nir_src_copy(src.reg.indirect, &deref_array->indirect, in get_deref_reg_src()
183 nir_src_copy(&add->src[1].src, &deref_array->indirect, add); in get_deref_reg_src()
240 nir_src_copy(&mov->src[0].src, &intrin->src[0], mov); in lower_locals_to_regs_block()
Dnir_opt_peephole_select.c208 nir_src_copy(&sel->src[0].src, &if_stmt->condition, sel); in nir_opt_peephole_select_block()
218 nir_src_copy(&sel->src[idx].src, &src->src, sel); in nir_opt_peephole_select_block()
Dnir_lower_atomics.c133 nir_src_copy(&mul->src[0].src, &deref_array->indirect, mul); in lower_instr()
158 nir_src_copy(&new_instr->src[i + 1], &instr->src[i], new_instr); in lower_instr()
Dnir_lower_subgroups.c88 nir_src_copy(&chan_intrin->src[1], &intrin->src[1], chan_intrin); in lower_read_invocation_to_scalar()
182 nir_src_copy(&ballot->src[0], &intrin->src[0], ballot); in lower_subgroups_intrin()
Dnir_lower_io_arrays_to_elements.c121 nir_src_copy(&ndarr->indirect, &darr->indirect, parent); in create_array_deref()
174 nir_src_copy(&element_intr->src[0], &intr->src[0], in lower_array()
183 nir_src_copy(&element_intr->src[0], &intr->src[0], in lower_array()
Dnir_lower_io.c251 nir_src_copy(&store->src[0], &intrin->src[0], store); in lower_store()
301 nir_src_copy(&atomic->src[i+1], &intrin->src[i], atomic); in lower_atomic()
343 nir_src_copy(&bary_setup->src[0], &intrin->src[0], bary_setup); in lower_interpolate_at()
Dnir_opt_conditional_discard.c99 nir_src_copy(&discard_if->src[0], &cond, discard_if); in nir_opt_conditional_discard_block()
Dnir_lower_phis_to_scalar.c225 nir_src_copy(&mov->src[0].src, &src->src, state->mem_ctx); in lower_phis_to_scalar_block()
Dnir_lower_indirect_derefs.c105 nir_src_copy(&load->src[i], &orig_instr->src[i], load); in emit_load_store()
Dnir.c212 void nir_src_copy(nir_src *dest, const nir_src *src, void *mem_ctx) in nir_src_copy() function
222 nir_src_copy(dest->reg.indirect, src->reg.indirect, mem_ctx); in nir_src_copy()
240 nir_src_copy(dest->reg.indirect, src->reg.indirect, instr); in nir_dest_copy()
250 nir_src_copy(&dest->src, &src->src, &instr->instr); in nir_alu_src_copy()
674 nir_src_copy(&ret->indirect, &deref->indirect, mem_ctx); in deref_array_clone()
Dnir_lower_tex.c221 nir_src_copy(&plane_tex->src[0].src, &tex->src[0].src, plane_tex); in sample_plane()
358 nir_src_copy(&txl->src[src_num].src, &tex->src[i].src, txl); in replace_gradient_with_lod()
Dnir_from_ssa.c555 nir_src_copy(&mov->src[0].src, &src, mov); in emit_copy()
Dnir.h634 void nir_src_copy(nir_src *dest, const nir_src *src, void *instr_or_if);
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir_lower_if_else.c268 nir_src_copy(&sel->src[0].src, &if_stmt->condition, mem_ctx); in lower_if_else_block()
278 nir_src_copy(&sel->src[idx].src, &src->src, mem_ctx); in lower_if_else_block()
Dir3_nir_lower_tg4_to_tex.c71 nir_src_copy(&tex->src[j].src, &tg4->src[j].src, tex); in lower_tg4()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c252 nir_src_copy(&tex->src[i].src, &old_tex->src[i].src, tex); in create_plane_tex_instr_implicit()