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.c478 nir_function *ncallee = remap_global(state, call->callee); in clone_call()
722 static nir_function *
723 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) in clone_function()
726 nir_function *nfxn = nir_function_create(ns, fxn->name); in clone_function()
760 foreach_list_typed(nir_function, fxn, node, &s->functions) in nir_shader_clone()
769 nir_function *nfxn = remap_global(&state, fxn); in nir_shader_clone()
Dnir.h163 struct nir_function;
1705 struct nir_function *callee;
3004 struct nir_function *function;
3011 struct nir_function *preamble;
3169 typedef struct nir_function { struct
3186 } nir_function; argument
3741 foreach_list_typed(nir_function, func, node, &(shader)->functions)
3746 nir_function *func = NULL; in nir_shader_get_entrypoint()
3811 nir_function *nir_function_create(nir_shader *shader, const char *name);
3813 nir_function_impl *nir_function_impl_create(nir_function *func);
[all …]
Dnir.c413 nir_function *
416 nir_function *func = ralloc(shader, nir_function); in nir_function_create()
570 nir_function_impl_create(nir_function *function) in nir_function_impl_create()
786 nir_call_instr_create(nir_shader *shader, nir_function *callee) in nir_call_instr_create()
3535 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in nir_remove_non_entrypoints()
Dnir_opt_preamble.c43 nir_function *preamble = nir_function_create(shader, "@preamble"); in nir_shader_get_preamble()
Dnir_serialize.c1724 nir_function *callee = read_object(ctx); in read_call()
1985 read_function_impl(read_ctx *ctx, nir_function *fxn) in read_function_impl()
2009 write_function(write_ctx *ctx, const nir_function *fxn) in write_function()
2048 nir_function *fxn = nir_function_create(ctx->nir, name); in read_function()
Dnir_builder.c53 nir_function *func = nir_function_create(b.shader, "main"); in nir_builder_init_simple_shader()
/third_party/mesa3d/src/intel/compiler/
Dbrw_kernel.c58 builder_init_new_impl(nir_builder *b, nir_function *func) in builder_init_new_impl()
66 implement_atomic_builtin(nir_function *func, nir_intrinsic_op op, in implement_atomic_builtin()
107 implement_sub_group_ballot_builtin(nir_function *func) in implement_sub_group_ballot_builtin()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.h73 void dxil_nir_split_tess_ctrl(nir_shader *nir, nir_function **patch_const_func);
Ddxil_nir.c639 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_ubo_to_temp()
690 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_ubo_to_temp()
736 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_loads_stores_to_dxil()
814 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_atomics_to_dxil()
891 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_deref_ssbo()
956 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_opt_alu_deref_srcs()
1050 foreach_list_typed(nir_function, func, node, &nir->functions) { in dxil_nir_lower_memcpy_deref()
Ddxil_nir_tess.c177 dxil_nir_split_tess_ctrl(nir_shader *nir, nir_function **patch_const_func) in dxil_nir_split_tess_ctrl()
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c111 foreach_list_typed(nir_function, func, node, &nir->functions) { in clc_nir_lower_system_values()
193 foreach_list_typed(nir_function, func, node, &nir->functions) { in clc_nir_lower_kernel_input_loads()
/third_party/mesa3d/src/compiler/spirv/
Dnir_lower_libclc.c40 nir_function *func = NULL; in lower_clc_call_instr()
Dvtn_opencl.c135 static nir_function *mangle_and_find(struct vtn_builder *b, in mangle_and_find()
142 nir_function *found = NULL; in mangle_and_find()
161 nir_function *decl = nir_function_create(b->shader, mname); in mangle_and_find()
185 nir_function *found = mangle_and_find(b, name, const_mask, num_srcs, src_types); in call_mangled_function()
Dnir_load_libclc.c269 nir_function *gfunc = nir_function_create(shader, generic_name); in libclc_add_generic_variants()
Dvtn_cfg.c57 nir_function *func, in glsl_type_add_to_function_params()
200 nir_function *func = in vtn_cfg_handle_prepass_instruction()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c65 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in spirv_to_dxil_nir_prep()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp415 r600_lower_shared_io_impl(nir_function *func) in r600_lower_shared_io_impl()
574 bool has_saturate(const nir_function *func) in has_saturate()
799 struct nir_function *func = (struct nir_function *)exec_list_get_head(&sh->functions); in r600_shader_from_nir()
Dsfn_nir_lower_tess_io.cpp488 nir_function *f = (nir_function *)shader->functions.get_head(); in r600_append_tcs_TF_emission()
Dsfn_shader.cpp469 …const nir_function *func = reinterpret_cast<const nir_function *>(exec_list_get_head_const(&nir->f… in process()
495 bool Shader::scan_shader(const nir_function *func) in scan_shader()
Dsfn_shader.h287 bool scan_shader(const nir_function *impl);
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c804 nir_function *func = (struct nir_function *) in nir_tgsi_scan_shader()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp250 foreach_list_typed_safe(nir_function, function, node, &(shader)->functions){ in glsl_to_nir()
738 nir_function *func = nir_function_create(shader, ir->function_name()); in create_function()
792 nir_function *func = (nir_function *) entry->data; in visit()
1682 nir_function *callee = (nir_function *) entry->data; in visit()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c462 struct nir_function *func = (struct nir_function *)exec_list_get_head_const(&nir->functions); in radv_nir_shader_info_pass()
/third_party/mesa3d/src/panfrost/midgard/
Dcompiler.h260 nir_function *func;

12