Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/compiler/nir/
Dnir_sweep.c124 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
155 foreach_list_typed(nir_function, func, node, &nir->functions) { in nir_sweep()
Dnir_clone.c476 nir_function *ncallee = remap_global(state, call->callee); in clone_call()
705 static nir_function *
706 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) in clone_function()
709 nir_function *nfxn = nir_function_create(ns, fxn->name); in clone_function()
742 foreach_list_typed(nir_function, fxn, node, &s->functions) in nir_shader_clone()
751 nir_function *nfxn = remap_global(&state, fxn); in nir_shader_clone()
Dnir.h106 struct nir_function;
1727 struct nir_function *callee;
3193 struct nir_function *function;
3351 typedef struct nir_function { struct
3367 } nir_function; argument
3843 foreach_list_typed(nir_function, func, node, &(shader)->functions)
3848 nir_function *func = NULL; in nir_shader_get_entrypoint()
3931 nir_function *nir_function_create(nir_shader *shader, const char *name);
3933 nir_function_impl *nir_function_impl_create(nir_function *func);
3966 nir_function *callee);
Dnir.c326 nir_function *
329 nir_function *func = ralloc(shader, nir_function); in nir_function_create()
481 nir_function_impl_create(nir_function *function) in nir_function_impl_create()
697 nir_call_instr_create(nir_shader *shader, nir_function *callee) in nir_call_instr_create()
Dnir_serialize.c1667 nir_function *callee = read_object(ctx); in read_call()
1922 read_function_impl(read_ctx *ctx, nir_function *fxn) in read_function_impl()
1942 write_function(write_ctx *ctx, const nir_function *fxn) in write_function()
1977 nir_function *fxn = nir_function_create(ctx->nir, name); in read_function()
Dnir_lower_double_ops.c578 nir_function *func = NULL; in lower_doubles_instr_to_soft()
Dnir_print.c1538 print_function(nir_function *function, print_state *state) in print_function()
1642 foreach_list_typed(nir_function, func, node, &shader->functions) { in nir_print_shader_annotated()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp129 …const nir_function *func = reinterpret_cast<const nir_function *>(exec_list_get_head_const(&sh->fu… in lower()
586 r600_lower_shared_io_impl(nir_function *func) in r600_lower_shared_io_impl()
745 bool has_saturate(const nir_function *func) in has_saturate()
956 struct nir_function *func = (struct nir_function *)exec_list_get_head(&sh->functions); in r600_shader_from_nir()
Dsfn_nir_lower_tess_io.cpp450 nir_function *f = (nir_function *)shader->functions.get_head(); in r600_append_tcs_TF_emission()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c250 nir_function *entrypoint; in spirv_to_dxil()
251 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in spirv_to_dxil()
/third_party/mesa3d/src/compiler/spirv/
Dnir_lower_libclc.c40 nir_function *func = NULL; in lower_clc_call_instr()
Dvtn_opencl.c134 static nir_function *mangle_and_find(struct vtn_builder *b, in mangle_and_find()
141 nir_function *found = NULL; in mangle_and_find()
160 nir_function *decl = nir_function_create(b->shader, mname); in mangle_and_find()
184 nir_function *found = mangle_and_find(b, name, const_mask, num_srcs, src_types); in call_mangled_function()
Dvtn_cfg.c57 nir_function *func, in glsl_type_add_to_function_params()
174 nir_function *func = in vtn_cfg_handle_prepass_instruction()
Dvtn_private.h270 nir_function *nir_func;
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c127 foreach_list_typed(nir_function, func, node, &nir->functions) { in clc_nir_lower_system_values()
212 foreach_list_typed(nir_function, func, node, &nir->functions) { in clc_nir_lower_kernel_input_loads()
Dclc_compiler.c703 foreach_list_typed(nir_function, func, node, &nir->functions) { in shader_has_double()
890 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in clc_spirv_to_dxil()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c615 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_ubo_to_temp()
666 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_ubo_to_temp()
712 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_loads_stores_to_dxil()
790 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_atomics_to_dxil()
867 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_deref_ssbo()
932 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_opt_alu_deref_srcs()
1027 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_memcpy_deref()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c415 nir_function *func; in nir_tgsi_scan_shader()
818 func = (struct nir_function *)exec_list_get_head_const(&nir->functions); in nir_tgsi_scan_shader()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp238 foreach_list_typed_safe(nir_function, function, node, &(shader)->functions){ in glsl_to_nir()
701 nir_function *func = nir_function_create(shader, ir->function_name()); in create_function()
755 nir_function *func = (nir_function *) entry->data; in visit()
1613 nir_function *callee = (nir_function *) entry->data; in visit()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c603 struct nir_function *func = (struct nir_function *)exec_list_get_head_const(&nir->functions); in radv_nir_shader_info_pass()
/third_party/mesa3d/src/mesa/main/
Dglspirv.c300 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in _mesa_spirv_to_nir()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c399 nir_function *func; in si_nir_scan_shader()
483 func = (struct nir_function *)exec_list_get_head_const(&nir->functions); in si_nir_scan_shader()
/third_party/mesa3d/src/panfrost/midgard/
Dcompiler.h260 nir_function *func;
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c481 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in panvk_per_arch()
/third_party/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp454 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in spirv_to_nir()

12