Home
last modified time | relevance | path

Searched defs:nir (Results 1 – 25 of 124) sorted by relevance

12345

/external/mesa3d/src/compiler/nir/
Dnir_sweep.c44 sweep_src_indirect(nir_src *src, void *nir) in sweep_src_indirect()
53 sweep_dest_indirect(nir_dest *dest, void *nir) in sweep_dest_indirect()
62 sweep_block(nir_shader *nir, nir_block *block) in sweep_block()
84 sweep_if(nir_shader *nir, nir_if *iff) in sweep_if()
98 sweep_loop(nir_shader *nir, nir_loop *loop) in sweep_loop()
108 sweep_cf_node(nir_shader *nir, nir_cf_node *cf_node) in sweep_cf_node()
126 sweep_impl(nir_shader *nir, nir_function_impl *impl) in sweep_impl()
144 sweep_function(nir_shader *nir, nir_function *f) in sweep_function()
154 nir_sweep(nir_shader *nir) in nir_sweep()
Dnir_lower_clip_cull_distance_arrays.c41 get_unwrapped_array_length(nir_shader *nir, nir_variable *var) in get_unwrapped_array_length()
60 combine_clip_cull(nir_shader *nir, in combine_clip_cull()
123 nir_lower_clip_cull_distance_arrays(nir_shader *nir) in nir_lower_clip_cull_distance_arrays()
Dnir_lower_patch_vertices.c28 make_uniform(nir_shader *nir, const gl_state_index16 *tokens) in make_uniform()
57 nir_lower_patch_vertices(nir_shader *nir, in nir_lower_patch_vertices()
Dnir_opt_vectorize.c165 instr_try_combine(struct nir_shader *nir, nir_instr *instr1, nir_instr *instr2, in instr_try_combine()
339 vec_instr_stack_push(struct nir_shader *nir, struct util_dynarray *stack, in vec_instr_stack_push()
399 vec_instr_set_add_or_rewrite(struct nir_shader *nir, struct set *instr_set, in vec_instr_set_add_or_rewrite()
422 vec_instr_set_remove(struct nir_shader *nir, struct set *instr_set, in vec_instr_set_remove()
455 vectorize_block(struct nir_shader *nir, nir_block *block, in vectorize_block()
478 nir_opt_vectorize_impl(struct nir_shader *nir, nir_function_impl *impl, in nir_opt_vectorize_impl()
Dnir_lower_mediump_outputs.c30 nir_lower_mediump_outputs(nir_shader *nir) in nir_lower_mediump_outputs()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c35 gather_intrinsic_load_input_info(const nir_shader *nir, in gather_intrinsic_load_input_info()
63 set_writes_memory(const nir_shader *nir, struct radv_shader_info *info) in set_writes_memory()
70 gather_intrinsic_store_output_info(const nir_shader *nir, in gather_intrinsic_store_output_info()
106 gather_push_constant_info(const nir_shader *nir, in gather_push_constant_info()
131 gather_intrinsic_info(const nir_shader *nir, const nir_intrinsic_instr *instr, in gather_intrinsic_info()
259 gather_tex_info(const nir_shader *nir, const nir_tex_instr *instr, in gather_tex_info()
277 gather_info_block(const nir_shader *nir, const nir_block *block, in gather_info_block()
295 gather_info_input_decl_vs(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl_vs()
336 gather_info_input_decl_ps(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl_ps()
389 gather_info_input_decl(const nir_shader *nir, const nir_variable *var, in gather_info_input_decl()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_nir.c162 brw_nir_lower_vs_inputs(nir_shader *nir, in brw_nir_lower_vs_inputs()
288 brw_nir_lower_vue_inputs(nir_shader *nir, in brw_nir_lower_vue_inputs()
341 brw_nir_lower_tes_inputs(nir_shader *nir, const struct brw_vue_map *vue_map) in brw_nir_lower_tes_inputs()
367 brw_nir_lower_fs_inputs(nir_shader *nir, in brw_nir_lower_fs_inputs()
413 brw_nir_lower_vue_outputs(nir_shader *nir) in brw_nir_lower_vue_outputs()
424 brw_nir_lower_tcs_outputs(nir_shader *nir, const struct brw_vue_map *vue_map, in brw_nir_lower_tcs_outputs()
451 brw_nir_lower_fs_outputs(nir_shader *nir) in brw_nir_lower_fs_outputs()
514 brw_nir_optimize(nir_shader *nir, const struct brw_compiler *compiler, in brw_nir_optimize()
744 brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir, in brw_preprocess_nir()
976 brw_vectorize_lower_mem_access(nir_shader *nir, in brw_vectorize_lower_mem_access()
[all …]
Dbrw_nir_lower_cs_intrinsics.c28 nir_shader *nir; member
40 nir_shader *nir = state->nir; in lower_cs_intrinsics_convert_block() local
213 brw_nir_lower_cs_intrinsics(nir_shader *nir) in brw_nir_lower_cs_intrinsics()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp85 st_shader_gather_info(nir_shader *nir, struct gl_program *prog) in st_shader_gather_info()
103 st_nir_assign_vs_in_locations(struct nir_shader *nir) in st_nir_assign_vs_in_locations()
198 nir_shader *nir) in st_nir_assign_uniform_locations()
252 st_nir_opts(nir_shader *nir) in st_nir_opts()
355 nir_shader *nir = prog->nir; in st_nir_preprocess() local
432 nir_shader *nir = prog->nir; in st_glsl_to_nir_post_opts() local
613 st_nir_lower_wpos_ytransform(struct nir_shader *nir, in st_nir_lower_wpos_ytransform()
761 nir_shader *nir = shader->Program->nir; in st_link_nir() local
877 st_nir_assign_varying_locations(struct st_context *st, nir_shader *nir) in st_nir_assign_varying_locations()
912 st_nir_lower_samplers(struct pipe_screen *screen, nir_shader *nir, in st_nir_lower_samplers()
[all …]
Dst_shader_cache.c90 bool nir) in st_serialise_ir_program()
129 bool nir) in st_store_ir_in_disk_cache()
176 struct gl_program *prog, bool nir) in st_deserialise_ir_program()
241 bool nir) in st_load_ir_from_disk_cache()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_emit.c52 #define OPCT(nir, op, src, cond, type) [nir_op_##nir] = { \ argument
58 #define OPC(nir, op, src, cond) OPCT(nir, op, src, cond, F32) argument
59 #define IOPC(nir, op, src, cond) OPCT(nir, op, src, cond, S32) argument
60 #define UOPC(nir, op, src, cond) OPCT(nir, op, src, cond, U32) argument
61 #define OP(nir, op, src) OPC(nir, op, src, TRUE) argument
62 #define IOP(nir, op, src) IOPC(nir, op, src, TRUE) argument
63 #define UOP(nir, op, src) UOPC(nir, op, src, TRUE) argument
/external/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c62 sort_varyings(nir_shader *nir, nir_variable_mode mode) in sort_varyings()
74 fixup_varying_slots(nir_shader *nir, nir_variable_mode mode) in fixup_varying_slots()
115 nir_shader *nir = glsl_to_nir(&local_ctx, prog, stage, nir_options); in load_glsl() local
219 nir_shader *nir = load_glsl(1, filename, stage); in main() local
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c181 static void scan_instruction(const struct nir_shader *nir, struct si_shader_info *info, in scan_instruction()
309 void si_nir_scan_shader(const struct nir_shader *nir, struct si_shader_info *info) in si_nir_scan_shader()
431 void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool first) in si_nir_opts()
510 static void si_nir_lower_color(nir_shader *nir) in si_nir_lower_color()
555 static void si_lower_io(struct nir_shader *nir) in si_lower_io()
644 static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir) in si_lower_nir()
721 struct nir_shader *nir = (struct nir_shader *)nirptr; in si_finalize_nir() local
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c81 sort_varyings(nir_shader *nir, nir_variable_mode mode) in sort_varyings()
93 fixup_varying_slots(nir_shader *nir, nir_variable_mode mode) in fixup_varying_slots()
124 nir_shader *nir = glsl_to_nir(&local_ctx, prog, stage, nir_options); in load_glsl() local
250 nir_shader *nir; in load_spirv() local
369 nir_shader *nir; in main() local
Dir3_gallium.c169 nir_shader *nir; in ir3_shader_create() local
256 nir_shader *nir; in ir3_shader_create_compute() local
312 ir3_screen_finalize_nir(struct pipe_screen *pscreen, void *nir, bool optimize) in ir3_screen_finalize_nir()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp324 setup_vs_output_info(isel_context *ctx, nir_shader *nir, in setup_vs_output_info()
373 setup_vs_variables(isel_context *ctx, nir_shader *nir) in setup_vs_variables()
398 void setup_gs_variables(isel_context *ctx, nir_shader *nir) in setup_gs_variables()
436 setup_tcs_info(isel_context *ctx, nir_shader *nir, nir_shader *vs) in setup_tcs_info()
487 setup_tes_variables(isel_context *ctx, nir_shader *nir) in setup_tes_variables()
507 setup_variables(isel_context *ctx, nir_shader *nir) in setup_variables()
542 setup_nir(isel_context *ctx, nir_shader *nir) in setup_nir()
1163 nir_shader *nir = shaders[i]; in setup_isel_context() local
/external/mesa3d/src/freedreno/ir3/
Dir3_nir.c178 #define OPT(nir, pass, ...) ({ \ argument
184 #define OPT_V(nir, pass, ...) NIR_PASS_V(nir, pass, ##__VA_ARGS__) argument
362 ir3_nir_lower_view_layer_id(nir_shader *nir, bool layer_zero, bool view_zero) in ir3_nir_lower_view_layer_id()
631 ir3_setup_const_state(nir_shader *nir, struct ir3_shader_variant *v, in ir3_setup_const_state()
Dir3_nir_analyze_ubo_ranges.c31 get_ubo_load_range(nir_shader *nir, nir_intrinsic_instr *instr, uint32_t alignment, struct ir3_ubo_… in get_ubo_load_range()
136 gather_ubo_ranges(nir_shader *nir, nir_intrinsic_instr *instr, in gather_ubo_ranges()
364 ir3_nir_analyze_ubo_ranges(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_analyze_ubo_ranges()
420 ir3_nir_lower_ubo_loads(nir_shader *nir, struct ir3_shader_variant *v) in ir3_nir_lower_ubo_loads()
/external/mesa3d/src/freedreno/vulkan/
Dtu_nir_lower_multiview.c18 lower_multiview_mask(nir_shader *nir, uint32_t *mask) in lower_multiview_mask()
74 tu_nir_lower_multiview(nir_shader *nir, uint32_t mask, bool *multi_pos_output, in tu_nir_lower_multiview()
/external/mesa3d/src/panfrost/util/
Dpan_lower_writeout.c37 pan_nir_lower_zs_store(nir_shader *nir) in pan_nir_lower_zs_store()
218 pan_nir_reorder_writeout(nir_shader *nir) in pan_nir_reorder_writeout()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_program.c270 nir_shader *nir = nir_shader_clone(fs, fs->base.ir.nir); in lima_fs_compile_shader() local
298 nir_shader *nir; in lima_create_fs_state() local
457 nir_shader *nir; in lima_create_vs_state() local
/external/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.hpp33 namespace nir { namespace
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.h37 static inline void nir_tgsi_scan_shader(const struct nir_shader *nir, in nir_tgsi_scan_shader()
Dnir_to_tgsi_info.c134 static void gather_intrinsic_load_deref_info(const nir_shader *nir, in gather_intrinsic_load_deref_info()
169 static void scan_instruction(const struct nir_shader *nir, in scan_instruction()
411 void nir_tgsi_scan_shader(const struct nir_shader *nir, in nir_tgsi_scan_shader()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program.c220 iris_lower_storage_image_derefs(nir_shader *nir) in iris_lower_storage_image_derefs()
272 iris_fix_edge_flags(nir_shader *nir) in iris_fix_edge_flags()
381 nir_shader *nir, in iris_setup_uniforms()
798 struct nir_shader *nir, in iris_setup_binding_table()
1112 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_vs() local
1240 const nir_shader *nir = ish->nir; in iris_get_shader_info() local
1297 nir_shader *nir; in iris_compile_tcs() local
1448 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_tes() local
1570 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_gs() local
1686 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_fs() local
[all …]

12345