Home
last modified time | relevance | path

Searched refs:nir_deref_var (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/compiler/nir/
Dnir_opt_copy_prop_vars.c59 nir_deref_var *deref;
71 nir_deref_var *dst;
91 nir_deref_var *dst_deref) in copy_entry_create()
130 compare_derefs(nir_deref_var *a, nir_deref_var *b) in compare_derefs()
260 nir_deref_var *deref, in lookup_entry_for_deref()
273 nir_deref_var *deref, unsigned components) in mark_aliased_entries_as_read()
283 nir_deref_var *deref, in get_entry_and_kill_aliases()
463 static nir_deref_var *
464 specialize_wildcards(nir_deref_var *deref, in specialize_wildcards()
465 nir_deref_var *guide, in specialize_wildcards()
[all …]
Dnir_split_var_copies.c85 nir_deref_var *dest_head, nir_deref_var *src_head, in split_var_copy_instr()
221 nir_deref_var *dest_head = intrinsic->variables[0]; in split_var_copies_block()
222 nir_deref_var *src_head = intrinsic->variables[1]; in split_var_copies_block()
Dnir_lower_locals_to_regs.c50 const nir_deref_var *deref_var = void_deref; in hash_deref()
67 const nir_deref_var *a_var = void_a; in derefs_equal()
68 const nir_deref_var *b_var = void_b; in derefs_equal()
93 get_reg_for_deref(nir_deref_var *deref, struct locals_to_regs_state *state) in get_reg_for_deref()
125 get_deref_reg_src(nir_deref_var *deref, nir_instr *instr, in get_deref_reg_src()
Dnir_lower_indirect_derefs.c29 nir_deref_var *deref, nir_deref *tail,
34 nir_deref_var *deref, nir_deref *arr_parent, in emit_indirect_load_store()
73 nir_deref_var *deref, nir_deref *tail, in emit_load_store()
125 deref_has_indirect(nir_deref_var *deref) in deref_has_indirect()
Dnir.h888 } nir_deref_var; typedef
918 NIR_DEFINE_CAST(nir_deref_as_var, nir_deref, nir_deref_var, deref, in NIR_DEFINE_CAST() argument
938 nir_deref_var **params;
939 nir_deref_var *return_deref;
1002 nir_deref_var *variables[2];
1235 nir_deref_var *texture;
1258 nir_deref_var *sampler;
2032 nir_deref_var *nir_deref_var_create(void *mem_ctx, nir_variable *var);
2036 typedef bool (*nir_deref_foreach_leaf_cb)(nir_deref_var *deref, void *state);
2037 bool nir_deref_foreach_leaf(nir_deref_var *deref,
[all …]
Dnir_lower_constant_initializers.c28 deref_apply_constant_initializer(nir_deref_var *deref, void *state) in deref_apply_constant_initializer()
54 nir_deref_var deref; in lower_const_initializer()
Dnir_lower_vars_to_ssa.c44 nir_deref_var *deref;
135 get_deref_node(nir_deref_var *deref, struct lower_variables_state *state) in get_deref_node()
275 foreach_deref_node_match(nir_deref_var *deref, in foreach_deref_node_match()
280 nir_deref_var var_deref = *deref; in foreach_deref_node_match()
353 deref_may_be_aliased(nir_deref_var *deref, in deref_may_be_aliased()
670 nir_deref_var *deref = node->deref; in nir_lower_vars_to_ssa_impl()
Dnir_inline_functions.c31 convert_deref_to_param_deref(nir_instr *instr, nir_deref_var **deref, in convert_deref_to_param_deref()
40 nir_deref_var *call_deref; in convert_deref_to_param_deref()
52 nir_deref_var *new_deref = nir_deref_var_clone(call_deref, instr); in convert_deref_to_param_deref()
Dnir.c520 instr->params = ralloc_array(instr, nir_deref_var *, instr->num_params); in nir_call_instr_create()
621 nir_deref_var *
624 nir_deref_var *deref = ralloc(mem_ctx, nir_deref_var); in nir_deref_var_create()
654 nir_deref_var *
655 nir_deref_var_clone(const nir_deref_var *deref, void *mem_ctx) in nir_deref_var_clone()
660 nir_deref_var *ret = nir_deref_var_create(mem_ctx, deref->var); in nir_deref_var_clone()
717 deref_foreach_leaf_build_recur(nir_deref_var *deref, nir_deref *tail, in deref_foreach_leaf_build_recur()
785 deref_foreach_leaf_copy_recur(nir_deref_var *deref, nir_deref *tail, in deref_foreach_leaf_copy_recur()
826 nir_deref_foreach_leaf(nir_deref_var *deref, in nir_deref_foreach_leaf()
829 nir_deref_var copy = *deref; in nir_deref_foreach_leaf()
[all …]
Dnir_lower_var_copies.c79 nir_deref_var *dest_head, nir_deref_var *src_head, in emit_copy_load_store()
Dnir_gather_info.c105 get_io_offset(nir_deref_var *deref) in get_io_offset()
137 try_mask_partial_io(nir_shader *shader, nir_deref_var *deref, bool is_output_read) in try_mask_partial_io()
Dnir_builder.h544 nir_load_deref_var(nir_builder *build, nir_deref_var *deref) in nir_load_deref_var()
575 nir_store_deref_var(nir_builder *build, nir_deref_var *deref, in nir_store_deref_var()
591 nir_copy_deref_var(nir_builder *build, nir_deref_var *dest, nir_deref_var *src) in nir_copy_deref_var()
Dnir_lower_wpos_center.c85 nir_deref_var *dvar = intr->variables[0]; in lower_wpos_center_block()
Dnir_lower_io_arrays_to_elements.c35 get_io_offset(nir_builder *b, nir_deref_var *deref, nir_variable *var, in get_io_offset()
198 deref_has_indirect(nir_builder *b, nir_variable *var, nir_deref_var *deref) in deref_has_indirect()
Dnir_lower_clip_cull_distance_arrays.c93 nir_deref_var *var_ref = intrin->variables[0]; in rewrite_references()
Dnir_opt_constant_folding.c118 constant_fold_deref(nir_instr *instr, nir_deref_var *deref) in constant_fold_deref()
Dnir_clone.c264 static nir_deref_var *
265 clone_deref_var(clone_state *state, const nir_deref_var *dvar, in clone_deref_var()
269 nir_deref_var *ndvar = nir_deref_var_create(ninstr, nvar); in clone_deref_var()
Dnir_lower_samplers_as_deref.c114 lower_deref(nir_deref_var *deref, in lower_deref()
Dnir_lower_drawpixels.c215 nir_deref_var *dvar = intr->variables[0]; in lower_drawpixels_block()
Dnir_opt_copy_propagate.c198 copy_prop_deref_var(nir_instr *instr, nir_deref_var *deref_var) in copy_prop_deref_var()
/external/mesa3d/src/compiler/spirv/
Dvtn_private.h659 nir_deref_var *vtn_nir_deref(struct vtn_builder *b, uint32_t id);
665 nir_deref_var *vtn_pointer_to_deref(struct vtn_builder *b,
671 struct vtn_ssa_value *vtn_local_load(struct vtn_builder *b, nir_deref_var *src);
674 nir_deref_var *dest);
Dvtn_variables.c382 nir_deref_var *
389 nir_deref_var *deref_var; in vtn_pointer_to_deref()
398 deref_var = rzalloc(b, nir_deref_var); in vtn_pointer_to_deref()
471 _vtn_local_load_store(struct vtn_builder *b, bool load, nir_deref_var *deref, in _vtn_local_load_store()
531 nir_deref_var *
544 get_deref_tail(nir_deref_var *deref) in get_deref_tail()
554 vtn_local_load(struct vtn_builder *b, nir_deref_var *src) in vtn_local_load()
576 nir_deref_var *dest) in vtn_local_store()
/external/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_builtin.c73 get_element(const struct gl_builtin_uniform_desc *desc, nir_deref_var *deref) in get_element()
99 get_variable(lower_builtin_state *state, nir_deref_var *deref, in get_variable()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c137 nir_deref_var *deref = nir_deref_var_create(b->shader, idx_var); in build_view_index()
Danv_nir_apply_pipeline_layout.c160 lower_tex_deref(nir_tex_instr *tex, nir_deref_var *deref, in lower_tex_deref()
196 cleanup_tex_deref(nir_tex_instr *tex, nir_deref_var *deref) in cleanup_tex_deref()

12