Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/nir/
Dnir_sweep.c144 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
169 foreach_list_typed(nir_function, func, node, &nir->functions) { in nir_sweep()
Dnir_clone.c486 nir_function *ncallee = remap_global(state, call->callee); in clone_call()
715 static nir_function *
716 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) in clone_function()
719 nir_function *nfxn = nir_function_create(ns, fxn->name); in clone_function()
752 foreach_list_typed(nir_function, fxn, node, &s->functions) in nir_shader_clone()
761 nir_function *nfxn = remap_global(&state, fxn); in nir_shader_clone()
Dnir.h104 struct nir_function;
1632 struct nir_function *callee;
3031 struct nir_function *function;
3182 typedef struct nir_function { struct
3198 } nir_function; argument
3584 foreach_list_typed(nir_function, func, node, &(shader)->functions)
3589 nir_function *func = NULL; in nir_shader_get_entrypoint()
3667 nir_function *nir_function_create(nir_shader *shader, const char *name);
3669 nir_function_impl *nir_function_impl_create(nir_function *func);
3702 nir_function *callee);
Dnir.c263 nir_function *
266 nir_function *func = ralloc(shader, nir_function); in nir_function_create()
392 nir_function_impl_create(nir_function *function) in nir_function_impl_create()
599 nir_call_instr_create(nir_shader *shader, nir_function *callee) in nir_call_instr_create()
Dnir_serialize.c1679 nir_function *callee = read_object(ctx); in read_call()
1930 read_function_impl(read_ctx *ctx, nir_function *fxn) in read_function_impl()
1950 write_function(write_ctx *ctx, const nir_function *fxn) in write_function()
1985 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.c1580 print_function(nir_function *function, print_state *state) in print_function()
1653 foreach_list_typed(nir_function, func, node, &shader->functions) { in nir_print_shader_annotated()
Dnir_validate.c1545 validate_function(nir_function *func, validate_state *state) in validate_function()
1650 foreach_list_typed(nir_function, func, node, &shader->functions) { in nir_validate_shader()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp97 …const nir_function *func = reinterpret_cast<const nir_function *>(exec_list_get_head_const(&sh->fu… in lower()
614 r600_lower_shared_io_impl(nir_function *func) in r600_lower_shared_io_impl()
732 bool has_saturate(const nir_function *func) in has_saturate()
815 …const nir_function *func = reinterpret_cast<const nir_function *>(exec_list_get_head_const(&sel->n… in r600_shader_from_nir()
855 struct nir_function *func = (struct nir_function *)exec_list_get_head(&sh->functions); in r600_shader_from_nir()
Dsfn_nir_lower_tess_io.cpp367 nir_function *f = (nir_function *)shader->functions.get_head(); in r600_append_tcs_TF_emission()
/external/mesa3d/src/compiler/spirv/
Dnir_lower_libclc.c40 nir_function *func = NULL; in lower_clc_call_instr()
Dvtn_opencl.c133 static nir_function *mangle_and_find(struct vtn_builder *b, in mangle_and_find()
140 nir_function *found = NULL; in mangle_and_find()
159 nir_function *decl = nir_function_create(b->shader, mname); in mangle_and_find()
183 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()
117 struct nir_function *callee = vtn_callee->impl->function; in vtn_handle_function_call()
174 nir_function *func = in vtn_cfg_handle_prepass_instruction()
Dspirv_to_nir.c5652 static nir_function *
5654 nir_function *entry_point) in vtn_emit_kernel_entry_point_wrapper()
5663 nir_function *main_entry_point = nir_function_create(b->shader, func_name); in vtn_emit_kernel_entry_point_wrapper()
5848 nir_function *entry_point = b->entry_point->func->impl->function; in spirv_to_nir()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blend_shaders.c149 nir_function *fn = nir_function_create(shader, "main"); in panfrost_create_blend_shader()
/external/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()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c555 struct nir_function *func = in radv_nir_shader_info_pass()
556 (struct nir_function *)exec_list_get_head_const(&nir->functions); in radv_nir_shader_info_pass()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c311 nir_function *func; in si_nir_scan_shader()
391 func = (struct nir_function *)exec_list_get_head_const(&nir->functions); in si_nir_scan_shader()
/external/mesa3d/src/mesa/main/
Dglspirv.c293 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in _mesa_spirv_to_nir()
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp237 foreach_list_typed_safe(nir_function, function, node, &(shader)->functions){ in glsl_to_nir()
699 nir_function *func = nir_function_create(shader, ir->function_name()); in create_function()
753 nir_function *func = (nir_function *) entry->data; in visit()
1628 nir_function *callee = (nir_function *) entry->data; in visit()
/external/mesa3d/src/panfrost/midgard/
Dcompiler.h263 nir_function *func;
/external/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp430 foreach_list_typed_safe(nir_function, func, node, &nir->functions) {
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c137 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in tu_spirv_to_nir()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c548 foreach_list_typed_safe(nir_function, func, node, &nir->functions) { in lvp_shader_compile_to_ir()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c2194 struct nir_function *func; in lp_build_nir_llvm()
2225 func = (struct nir_function *)exec_list_get_head(&nir->functions); in lp_build_nir_llvm()

12