Home
last modified time | relevance | path

Searched refs:nir_function (Results 1 – 25 of 48) sorted by relevance

12

/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_functions.c35 nir_function_can_inline(nir_function *function) in nir_function_can_inline()
356 nir_function *func = nir_shader_get_function_for_name(b->shader, ncall->callee->name); in lower_calls_vars_instr()
362 nir_function *new_func; in lower_calls_vars_instr()
393 nir_function *callee, in lower_call_function_impl()
418 nir_function *func = NULL; in function_link_pass()
490 nir_mark_used_functions(struct nir_function *func, struct set *used_funcs);
507 nir_mark_used_functions(struct nir_function *func, struct set *used_funcs) in nir_mark_used_functions()
527 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in nir_cleanup_functions()
533 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in nir_cleanup_functions()
H A Dnir_clone.c418 nir_function *ncallee = remap_global(state, call->callee); in clone_call()
685 nir_function *
686 nir_function_clone(nir_shader *ns, const nir_function *fxn) in nir_function_clone()
688 nir_function *nfxn = nir_function_create(ns, fxn->name); in nir_function_clone()
717 static nir_function *
718 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) in clone_function()
722 nir_function *nfxn = nir_function_clone(ns, fxn); in clone_function()
761 foreach_list_typed(nir_function, fxn, node, &s->functions) in nir_shader_clone()
770 nir_function *nfxn = remap_global(&state, fxn); in nir_shader_clone()
H A Dnir.h162 struct nir_function;
1892 struct nir_function *callee;
3424 struct nir_function *function;
3431 struct nir_function *preamble;
3617 typedef struct nir_function { struct
3659 } nir_function; argument
4435 foreach_list_typed(nir_function, func, node, &(shader)->functions)
4438 foreach_list_typed_safe(nir_function, func, node, &(shader)->functions)
4440 static inline nir_function *
4443 foreach_list_typed(nir_function, func, node, &shader->functions) { in nir_foreach_function_with_impl_first()
[all …]
H A Dnir_sweep.c140 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
172 foreach_list_typed(nir_function, func, node, &nir->functions) { in nir_sweep()
H A Dnir_opt_ray_queries.c219 struct nir_function *func = in nir_opt_ray_query_ranges()
220 (struct nir_function *)exec_list_get_head_const(&shader->functions); in nir_opt_ray_query_ranges()
H A Dnir.c489 nir_function *
492 nir_function *func = ralloc(shader, nir_function); in nir_function_create()
577 nir_function_impl_create(nir_function *function) in nir_function_impl_create()
753 nir_call_instr_create(nir_shader *shader, nir_function *callee) in nir_call_instr_create()
/aosp_15_r20/external/mesa3d/src/compiler/glsl/
H A Dgl_nir_detect_function_recursion.c129 nir_function *sig;
150 get_function(void *mem_ctx, nir_function *function_sig, in get_function()
203 prototype_string(nir_function *sig) in prototype_string()
H A Dglsl_to_nir.cpp622 nir_function *func = nir_function_create(shader, ir->function_name()); in create_function()
681 nir_function *func = (nir_function *) entry->data; in visit()
1659 nir_function *callee = (nir_function *) entry->data; in visit()
/aosp_15_r20/external/mesa3d/src/compiler/rust/
H A Dnir.rs580 pub fn function<'a>(&'a self) -> &'a nir_function { in function() argument
585 impl nir_function { impl
592 pub fn iter_functions(&self) -> ExecListIter<nir_function> { in iter_functions() argument
593 ExecListIter::new(&self.functions, offset_of!(nir_function, node)) in iter_functions()
/aosp_15_r20/external/mesa3d/src/compiler/nir/tests/
H A Dopt_peephole_select.cpp77 nir_function *main = nir_shader_get_function_for_name(bld.shader, "main"); in TEST_F()
128 nir_function *main = nir_shader_get_function_for_name(bld.shader, "main"); in TEST_F()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_sfn.cpp64 struct nir_function *func = in r600_shader_from_nir()
65 (struct nir_function *)exec_list_get_head(&sh->functions); in r600_shader_from_nir()
/aosp_15_r20/external/mesa3d/src/microsoft/clc/
H A Dclc_nir.c103 foreach_list_typed(nir_function, func, node, &nir->functions) { in clc_nir_lower_system_values()
185 foreach_list_typed(nir_function, func, node, &nir->functions) { in clc_nir_lower_kernel_input_loads()
/aosp_15_r20/external/mesa3d/src/intel/compiler/
H A Dbrw_kernel.c66 builder_init_new_impl(nir_function *func) in builder_init_new_impl()
73 implement_atomic_builtin(nir_function *func, nir_atomic_op atomic_op, in implement_atomic_builtin()
107 implement_sub_group_ballot_builtin(nir_function *func) in implement_sub_group_ballot_builtin()
/aosp_15_r20/external/mesa3d/src/compiler/spirv/
H A Dvtn_opencl.c135 static nir_function *mangle_and_find(struct vtn_builder *b, in mangle_and_find()
146 nir_function *found = nir_shader_get_function_for_name(b->shader, mname); in mangle_and_find()
152 nir_function *decl = nir_function_create(b->shader, mname); in mangle_and_find()
176 nir_function *found = mangle_and_find(b, name, const_mask, num_srcs, src_types); in call_mangled_function()
H A Dvtn_cfg.c51 nir_function *func, in glsl_type_add_to_function_params()
267 nir_function *func = in vtn_cfg_handle_prepass_instruction()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_nir_lower_tess_io.cpp471 nir_function *f = (nir_function *)shader->functions.get_head(); in r600_append_tcs_TF_emission()
H A Dsfn_shader.cpp504 const nir_function *func = in process()
505 reinterpret_cast<const nir_function *>(exec_list_get_head_const(&nir->functions)); in process()
528 Shader::scan_shader(const nir_function *func) in scan_shader()
H A Dsfn_shader.h291 bool scan_shader(const nir_function *impl);
/aosp_15_r20/external/mesa3d/src/asahi/clc/
H A Dasahi_clc.c46 nir_function *func = call->callee; in lower_builtins()
530 nir_function *func = in main()
/aosp_15_r20/external/mesa3d/src/microsoft/compiler/
H A Ddxil_nir.h72 void dxil_nir_split_tess_ctrl(nir_shader *nir, nir_function **patch_const_func);
H A Ddxil_nir_tess.c185 dxil_nir_split_tess_ctrl(nir_shader *nir, nir_function **patch_const_func) in dxil_nir_split_tess_ctrl()
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/nir/
H A Dnir_to_tgsi_info.c637 nir_function *func = (struct nir_function *) in nir_tgsi_scan_shader()
/aosp_15_r20/external/mesa3d/src/amd/vulkan/nir/
H A Dradv_nir_lower_cooperative_matrix.c105 struct nir_function *func = (struct nir_function *)exec_list_get_head_const(&shader->functions); in radv_nir_lower_cooperative_matrix()
/aosp_15_r20/external/mesa3d/src/compiler/clc/
H A Dnir_load_libclc.c277 nir_function *gfunc = nir_function_create(shader, generic_name); in libclc_add_generic_variants()
/aosp_15_r20/external/mesa3d/src/nouveau/compiler/
H A Dnak_nir_lower_cf.c426 lower_cf_func(nir_function *func) in lower_cf_func()

12