Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_shader_info.c158 struct nir_function *func = in ac_nir_shader_info_pass()
159 (struct nir_function *)exec_list_get_head_const(&nir->functions); in ac_nir_shader_info_pass()
Dac_nir_to_llvm.c5730 struct nir_function *func) in setup_locals()
6756 struct nir_function *func; in ac_nir_translate()
6779 func = (struct nir_function *)exec_list_get_head(&nir->functions); in ac_nir_translate()
/external/mesa3d/src/compiler/nir/
Dnir_sweep.c139 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
170 foreach_list_typed(nir_function, func, node, &nir->functions) { in nir_sweep()
Dnir.h81 struct nir_function;
941 struct nir_function *callee;
1672 struct nir_function *function;
1809 typedef struct nir_function { struct
1824 } nir_function; argument
1947 nir_function *func = exec_node_data(nir_function, func_node, node); in nir_shader_get_entrypoint()
1955 foreach_list_typed(nir_function, func, node, &(shader)->functions)
1990 nir_function *nir_function_create(nir_shader *shader, const char *name);
1992 nir_function_impl *nir_function_impl_create(nir_function *func);
2020 nir_function *callee);
Dnir_clone.c487 nir_function *ncallee = remap_global(state, call->callee); in clone_call()
710 static nir_function *
711 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) in clone_function()
714 nir_function *nfxn = nir_function_create(ns, fxn->name); in clone_function()
751 foreach_list_typed(nir_function, fxn, node, &s->functions) in nir_shader_clone()
760 nir_function *nfxn = remap_global(&state, fxn); in nir_shader_clone()
Dnir_serialize.c786 nir_function *callee = read_object(ctx); in read_call()
1025 read_function_impl(read_ctx *ctx, nir_function *fxn) in read_function_impl()
1054 write_function(write_ctx *ctx, const nir_function *fxn) in write_function()
1083 nir_function *fxn = nir_function_create(ctx->nir, name); in read_function()
Dnir.c195 nir_function *
198 nir_function *func = ralloc(shader, nir_function); in nir_function_create()
309 nir_function_impl_create(nir_function *function) in nir_function_impl_create()
513 nir_call_instr_create(nir_shader *shader, nir_function *callee) in nir_call_instr_create()
Dnir_print.c1115 print_function(nir_function *function, print_state *state) in print_function()
1238 foreach_list_typed(nir_function, func, node, &shader->functions) { in nir_print_shader_annotated()
Dnir_validate.c1119 validate_function(nir_function *func, validate_state *state) in validate_function()
1233 foreach_list_typed(nir_function, func, node, &shader->functions) { in nir_validate_shader()
Dnir_builder.h56 nir_function *func = nir_function_create(build->shader, "main"); in nir_builder_init_simple_shader()
/external/mesa3d/src/compiler/spirv/
Dnir_spirv.h72 nir_function *spirv_to_nir(const uint32_t *words, size_t word_count,
Dspirv2nir.c77 nir_function *func = spirv_to_nir(map, word_count, NULL, 0, in main()
Dvtn_cfg.c64 nir_function *func = in vtn_cfg_handle_prepass_instruction()
Dspirv_to_nir.c1746 struct nir_function *callee = vtn_callee->impl->function; in vtn_handle_function_call()
3779 nir_function *
3869 nir_function *entry_point = b->entry_point->func->impl->function; in spirv_to_nir()
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c203 nir_function *entry_point; in radv_shader_compile_to_nir()
214 entry_point = exec_node_data(nir_function, node, node); in radv_shader_compile_to_nir()
270 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in radv_shader_compile_to_nir()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c158 nir_function *func; in si_nir_scan_shader()
460 func = (struct nir_function *)exec_list_get_head_const(&nir->functions); in si_nir_scan_shader()
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp479 nir_function *func = nir_function_create(shader, ir->function_name()); in create_function()
504 nir_function *func = (nir_function *) entry->data; in visit()
1226 nir_function *callee = (nir_function *) entry->data; in visit()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c149 nir_function *entry_point = in anv_shader_compile_to_nir()
175 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in anv_shader_compile_to_nir()