Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/compiler/clc/
Dclc.c96 NIR_PASS(progress, s, nir_split_var_copies); in clc_libclc_optimize()
97 NIR_PASS(progress, s, nir_opt_copy_prop_vars); in clc_libclc_optimize()
98 NIR_PASS(progress, s, nir_lower_var_copies); in clc_libclc_optimize()
99 NIR_PASS(progress, s, nir_lower_vars_to_ssa); in clc_libclc_optimize()
100 NIR_PASS(progress, s, nir_copy_prop); in clc_libclc_optimize()
101 NIR_PASS(progress, s, nir_opt_remove_phis); in clc_libclc_optimize()
102 NIR_PASS(progress, s, nir_opt_dce); in clc_libclc_optimize()
103 NIR_PASS(progress, s, nir_opt_if, true); in clc_libclc_optimize()
104 NIR_PASS(progress, s, nir_opt_dead_cf); in clc_libclc_optimize()
105 NIR_PASS(progress, s, nir_opt_cse); in clc_libclc_optimize()
[all …]
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_screen.c189 NIR_PASS(progress, s, nir_copy_prop); in i915_optimize_nir()
190 NIR_PASS(progress, s, nir_opt_algebraic); in i915_optimize_nir()
191 NIR_PASS(progress, s, nir_opt_constant_folding); in i915_optimize_nir()
192 NIR_PASS(progress, s, nir_opt_remove_phis); in i915_optimize_nir()
193 NIR_PASS(progress, s, nir_opt_conditional_discard); in i915_optimize_nir()
194 NIR_PASS(progress, s, nir_opt_dce); in i915_optimize_nir()
195 NIR_PASS(progress, s, nir_opt_dead_cf); in i915_optimize_nir()
196 NIR_PASS(progress, s, nir_opt_cse); in i915_optimize_nir()
197 NIR_PASS(progress, s, nir_opt_find_array_copies); in i915_optimize_nir()
198 NIR_PASS(progress, s, nir_opt_if, true); in i915_optimize_nir()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_program.c124 NIR_PASS(progress, s, nir_lower_alu_to_scalar, NULL, NULL); in lima_program_optimize_vs_nir()
125 NIR_PASS(progress, s, nir_lower_phis_to_scalar, false); in lima_program_optimize_vs_nir()
126 NIR_PASS(progress, s, nir_copy_prop); in lima_program_optimize_vs_nir()
127 NIR_PASS(progress, s, nir_opt_remove_phis); in lima_program_optimize_vs_nir()
128 NIR_PASS(progress, s, nir_opt_dce); in lima_program_optimize_vs_nir()
129 NIR_PASS(progress, s, nir_opt_dead_cf); in lima_program_optimize_vs_nir()
130 NIR_PASS(progress, s, nir_opt_cse); in lima_program_optimize_vs_nir()
131 NIR_PASS(progress, s, nir_opt_peephole_select, 8, true, true); in lima_program_optimize_vs_nir()
132 NIR_PASS(progress, s, nir_opt_algebraic); in lima_program_optimize_vs_nir()
133 NIR_PASS(progress, s, lima_nir_lower_ftrunc); in lima_program_optimize_vs_nir()
[all …]
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c217 NIR_PASS(requires_runtime_data, nir, in spirv_to_dxil()
275 NIR_PASS(progress, nir, nir_copy_prop); in spirv_to_dxil()
276 NIR_PASS(progress, nir, nir_opt_copy_prop_vars); in spirv_to_dxil()
277 NIR_PASS(progress, nir, nir_opt_deref); in spirv_to_dxil()
278 NIR_PASS(progress, nir, nir_opt_dce); in spirv_to_dxil()
279 NIR_PASS(progress, nir, nir_opt_undef); in spirv_to_dxil()
280 NIR_PASS(progress, nir, nir_opt_constant_folding); in spirv_to_dxil()
281 NIR_PASS(progress, nir, nir_opt_cse); in spirv_to_dxil()
284 NIR_PASS(progress, nir, nir_copy_prop); in spirv_to_dxil()
285 NIR_PASS(progress, nir, nir_opt_dce); in spirv_to_dxil()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c571 NIR_PASS(progress, nir, nir_split_array_vars, nir_var_function_temp); in si_nir_opts()
572 NIR_PASS(lower_alu_to_scalar, nir, nir_shrink_vec_array_vars, nir_var_function_temp); in si_nir_opts()
573 NIR_PASS(progress, nir, nir_opt_find_array_copies); in si_nir_opts()
575 NIR_PASS(progress, nir, nir_opt_copy_prop_vars); in si_nir_opts()
576 NIR_PASS(progress, nir, nir_opt_dead_write_vars); in si_nir_opts()
578 NIR_PASS(lower_alu_to_scalar, nir, nir_opt_trivial_continues); in si_nir_opts()
580 NIR_PASS(progress, nir, nir_copy_prop); in si_nir_opts()
581 NIR_PASS(progress, nir, nir_opt_remove_phis); in si_nir_opts()
582 NIR_PASS(progress, nir, nir_opt_dce); in si_nir_opts()
583 NIR_PASS(lower_phis_to_scalar, nir, nir_opt_if, true); in si_nir_opts()
[all …]
Dsi_nir_optim.c198 NIR_PASS(progress, sh, nir_copy_prop); in si_nir_is_output_const_if_tex_is_const()
199 NIR_PASS(progress, sh, nir_opt_remove_phis); in si_nir_is_output_const_if_tex_is_const()
200 NIR_PASS(progress, sh, nir_opt_dce); in si_nir_is_output_const_if_tex_is_const()
201 NIR_PASS(progress, sh, nir_opt_dead_cf); in si_nir_is_output_const_if_tex_is_const()
202 NIR_PASS(progress, sh, nir_opt_algebraic); in si_nir_is_output_const_if_tex_is_const()
203 NIR_PASS(progress, sh, nir_opt_constant_folding); in si_nir_is_output_const_if_tex_is_const()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp270 NIR_PASS(progress, nir, nir_remove_dead_variables, in st_nir_opts()
275 NIR_PASS(progress, nir, nir_opt_copy_prop_vars); in st_nir_opts()
276 NIR_PASS(progress, nir, nir_opt_dead_write_vars); in st_nir_opts()
286 NIR_PASS(progress, nir, nir_copy_prop); in st_nir_opts()
287 NIR_PASS(progress, nir, nir_opt_remove_phis); in st_nir_opts()
288 NIR_PASS(progress, nir, nir_opt_dce); in st_nir_opts()
291 NIR_PASS(progress, nir, nir_copy_prop); in st_nir_opts()
292 NIR_PASS(progress, nir, nir_opt_dce); in st_nir_opts()
294 NIR_PASS(progress, nir, nir_opt_if, false); in st_nir_opts()
295 NIR_PASS(progress, nir, nir_opt_dead_cf); in st_nir_opts()
[all …]
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c870 NIR_PASS(progress, nir, nir_copy_prop); in clc_spirv_to_dxil()
871 NIR_PASS(progress, nir, nir_opt_copy_prop_vars); in clc_spirv_to_dxil()
872 NIR_PASS(progress, nir, nir_opt_deref); in clc_spirv_to_dxil()
873 NIR_PASS(progress, nir, nir_opt_dce); in clc_spirv_to_dxil()
874 NIR_PASS(progress, nir, nir_opt_undef); in clc_spirv_to_dxil()
875 NIR_PASS(progress, nir, nir_opt_constant_folding); in clc_spirv_to_dxil()
876 NIR_PASS(progress, nir, nir_opt_cse); in clc_spirv_to_dxil()
877 NIR_PASS(progress, nir, nir_lower_vars_to_ssa); in clc_spirv_to_dxil()
878 NIR_PASS(progress, nir, nir_opt_algebraic); in clc_spirv_to_dxil()
901 NIR_PASS(progress, nir, nir_copy_prop); in clc_spirv_to_dxil()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c599 NIR_PASS(progress, nir, nir_lower_flrp, 32|64, true); in lvp_shader_compile_to_ir()
600 NIR_PASS(progress, nir, nir_split_array_vars, nir_var_function_temp); in lvp_shader_compile_to_ir()
601 NIR_PASS(progress, nir, nir_shrink_vec_array_vars, nir_var_function_temp); in lvp_shader_compile_to_ir()
602 NIR_PASS(progress, nir, nir_opt_deref); in lvp_shader_compile_to_ir()
603 NIR_PASS(progress, nir, nir_lower_vars_to_ssa); in lvp_shader_compile_to_ir()
605 NIR_PASS(progress, nir, nir_copy_prop); in lvp_shader_compile_to_ir()
606 NIR_PASS(progress, nir, nir_opt_dce); in lvp_shader_compile_to_ir()
607 NIR_PASS(progress, nir, nir_opt_peephole_select, 8, true, true); in lvp_shader_compile_to_ir()
609 NIR_PASS(progress, nir, nir_opt_algebraic); in lvp_shader_compile_to_ir()
610 NIR_PASS(progress, nir, nir_opt_constant_folding); in lvp_shader_compile_to_ir()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp717 NIR_PASS(progress, shader, nir_lower_vars_to_ssa); in optimize_once()
718 NIR_PASS(progress, shader, nir_copy_prop); in optimize_once()
719 NIR_PASS(progress, shader, nir_opt_dce); in optimize_once()
720 NIR_PASS(progress, shader, nir_opt_algebraic); in optimize_once()
721 NIR_PASS(progress, shader, nir_opt_constant_folding); in optimize_once()
722 NIR_PASS(progress, shader, nir_opt_copy_prop_vars); in optimize_once()
724 NIR_PASS(progress, shader, nir_opt_vectorize, NULL, NULL); in optimize_once()
726 NIR_PASS(progress, shader, nir_opt_remove_phis); in optimize_once()
730 NIR_PASS(progress, shader, nir_copy_prop); in optimize_once()
731 NIR_PASS(progress, shader, nir_opt_dce); in optimize_once()
[all …]
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c302 NIR_PASS(progress, nir, nir_lower_regs_to_ssa); in optimise_nir()
307 NIR_PASS(progress, nir, nir_lower_idiv, &idiv_options); in optimise_nir()
317 NIR_PASS(progress, nir, nir_lower_tex, &lower_tex_options); in optimise_nir()
320 NIR_PASS(progress, nir, midgard_nir_lower_fdot2); in optimise_nir()
328 NIR_PASS(progress, nir, midgard_nir_lower_image_bitsize); in optimise_nir()
329 NIR_PASS(progress, nir, midgard_nir_lower_helper_writes); in optimise_nir()
330 NIR_PASS(progress, nir, pan_lower_helper_invocation); in optimise_nir()
331 NIR_PASS(progress, nir, pan_lower_sample_pos); in optimise_nir()
333 NIR_PASS(progress, nir, midgard_nir_lower_algebraic_early); in optimise_nir()
338 NIR_PASS(progress, nir, nir_lower_var_copies); in optimise_nir()
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.c84 NIR_PASS(progress, ctx->s, nir_lower_locals_to_regs); in ir3_context_init()
89 NIR_PASS(progress, ctx->s, nir_opt_algebraic); in ir3_context_init()
90 NIR_PASS(progress, ctx->s, nir_opt_constant_folding); in ir3_context_init()
99 NIR_PASS(progress, ctx->s, ir3_nir_lower_imul); in ir3_context_init()
102 NIR_PASS(progress, ctx->s, nir_opt_algebraic); in ir3_context_init()
103 NIR_PASS(progress, ctx->s, nir_opt_copy_prop_vars); in ir3_context_init()
104 NIR_PASS(progress, ctx->s, nir_opt_dead_write_vars); in ir3_context_init()
105 NIR_PASS(progress, ctx->s, nir_opt_dce); in ir3_context_init()
106 NIR_PASS(progress, ctx->s, nir_opt_constant_folding); in ir3_context_init()
115 NIR_PASS(progress, ctx->s, nir_lower_phis_to_scalar, true); in ir3_context_init()
Dir3_nir.c189 NIR_PASS(this_progress, nir, pass, ##__VA_ARGS__); \
535 NIR_PASS(progress, s, nir_lower_subgroups, in ir3_nir_post_finalize()
547 NIR_PASS(progress, s, ir3_nir_lower_subgroup_id_cs); in ir3_nir_post_finalize()
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c3334 NIR_PASS(progress, nir, nir_lower_regs_to_ssa); in bi_optimize_nir()
3343 NIR_PASS(progress, nir, pan_nir_lower_64bit_intrin); in bi_optimize_nir()
3344 NIR_PASS(progress, nir, pan_lower_helper_invocation); in bi_optimize_nir()
3346 NIR_PASS(progress, nir, nir_lower_int64); in bi_optimize_nir()
3352 NIR_PASS(progress, nir, nir_lower_idiv, &idiv_options); in bi_optimize_nir()
3354 NIR_PASS(progress, nir, nir_lower_tex, &lower_tex_options); in bi_optimize_nir()
3355 NIR_PASS(progress, nir, nir_lower_alu_to_scalar, NULL, NULL); in bi_optimize_nir()
3356 NIR_PASS(progress, nir, nir_lower_load_const_to_scalar); in bi_optimize_nir()
3361 NIR_PASS(progress, nir, nir_lower_var_copies); in bi_optimize_nir()
3362 NIR_PASS(progress, nir, nir_lower_vars_to_ssa); in bi_optimize_nir()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c133 NIR_PASS(progress, shader, nir_split_array_vars, nir_var_function_temp); in radv_optimize_nir()
134 NIR_PASS(progress, shader, nir_shrink_vec_array_vars, nir_var_function_temp); in radv_optimize_nir()
144 NIR_PASS(progress, shader, nir_opt_find_array_copies); in radv_optimize_nir()
147 NIR_PASS(progress, shader, nir_opt_copy_prop_vars); in radv_optimize_nir()
148 NIR_PASS(progress, shader, nir_opt_dead_write_vars); in radv_optimize_nir()
149 NIR_PASS(progress, shader, nir_remove_dead_variables, in radv_optimize_nir()
155 NIR_PASS(progress, shader, nir_copy_prop); in radv_optimize_nir()
156 NIR_PASS(progress, shader, nir_opt_remove_phis); in radv_optimize_nir()
157 NIR_PASS(progress, shader, nir_opt_dce); in radv_optimize_nir()
160 NIR_PASS(progress, shader, nir_copy_prop); in radv_optimize_nir()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_nir_lower_multiview.c82 NIR_PASS(progress, nir, lower_multiview_mask, &mask); in tu_nir_lower_multiview()
110 NIR_PASS(progress, nir, lower_multiview_mask, &mask); in tu_nir_lower_multiview()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c1223 NIR_PASS(progress, nir, nir_lower_var_copies); in agx_optimize_nir()
1224 NIR_PASS(progress, nir, nir_lower_vars_to_ssa); in agx_optimize_nir()
1226 NIR_PASS(progress, nir, nir_copy_prop); in agx_optimize_nir()
1227 NIR_PASS(progress, nir, nir_opt_remove_phis); in agx_optimize_nir()
1228 NIR_PASS(progress, nir, nir_opt_dce); in agx_optimize_nir()
1229 NIR_PASS(progress, nir, nir_opt_dead_cf); in agx_optimize_nir()
1230 NIR_PASS(progress, nir, nir_opt_cse); in agx_optimize_nir()
1231 NIR_PASS(progress, nir, nir_opt_peephole_select, 64, false, true); in agx_optimize_nir()
1232 NIR_PASS(progress, nir, nir_opt_algebraic); in agx_optimize_nir()
1233 NIR_PASS(progress, nir, nir_opt_constant_folding); in agx_optimize_nir()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c2561 NIR_PASS(progress, s, nir_copy_prop); in ntt_optimize_nir()
2562 NIR_PASS(progress, s, nir_opt_algebraic); in ntt_optimize_nir()
2563 NIR_PASS(progress, s, nir_opt_constant_folding); in ntt_optimize_nir()
2564 NIR_PASS(progress, s, nir_opt_remove_phis); in ntt_optimize_nir()
2565 NIR_PASS(progress, s, nir_opt_conditional_discard); in ntt_optimize_nir()
2566 NIR_PASS(progress, s, nir_opt_dce); in ntt_optimize_nir()
2567 NIR_PASS(progress, s, nir_opt_dead_cf); in ntt_optimize_nir()
2568 NIR_PASS(progress, s, nir_opt_cse); in ntt_optimize_nir()
2569 NIR_PASS(progress, s, nir_opt_find_array_copies); in ntt_optimize_nir()
2570 NIR_PASS(progress, s, nir_opt_if, true); in ntt_optimize_nir()
[all …]
Dtgsi_to_nir.c2428 NIR_PASS(progress, nir, nir_copy_prop); in ttn_optimize_nir()
2429 NIR_PASS(progress, nir, nir_opt_remove_phis); in ttn_optimize_nir()
2430 NIR_PASS(progress, nir, nir_opt_dce); in ttn_optimize_nir()
2434 NIR_PASS(progress, nir, nir_copy_prop); in ttn_optimize_nir()
2435 NIR_PASS(progress, nir, nir_opt_dce); in ttn_optimize_nir()
2438 NIR_PASS(progress, nir, nir_opt_if, false); in ttn_optimize_nir()
2439 NIR_PASS(progress, nir, nir_opt_dead_cf); in ttn_optimize_nir()
2440 NIR_PASS(progress, nir, nir_opt_cse); in ttn_optimize_nir()
2441 NIR_PASS(progress, nir, nir_opt_peephole_select, 8, true, true); in ttn_optimize_nir()
2443 NIR_PASS(progress, nir, nir_opt_algebraic); in ttn_optimize_nir()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_nir.c36 NIR_PASS(progress, shader, nir_lower_vars_to_scratch, nir_var_function_temp, 256, in ac_nir_lower_indirect_derefs()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c430 NIR_PASS(progress, s, nir_copy_prop); in optimize_nir()
431 NIR_PASS(progress, s, nir_opt_remove_phis); in optimize_nir()
432 NIR_PASS(progress, s, nir_opt_dce); in optimize_nir()
433 NIR_PASS(progress, s, nir_opt_dead_cf); in optimize_nir()
434 NIR_PASS(progress, s, nir_opt_cse); in optimize_nir()
435 NIR_PASS(progress, s, nir_opt_peephole_select, 8, true, true); in optimize_nir()
436 NIR_PASS(progress, s, nir_opt_algebraic); in optimize_nir()
437 NIR_PASS(progress, s, nir_opt_constant_folding); in optimize_nir()
438 NIR_PASS(progress, s, nir_opt_undef); in optimize_nir()
439 NIR_PASS(progress, s, zink_nir_lower_b2b); in optimize_nir()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c265 NIR_PASS(this_progress, nir, pass, ##__VA_ARGS__); \
1695 NIR_PASS(progress, nir, nir_remove_dead_variables, in st_nir_opts()
1701 NIR_PASS(progress, nir, nir_opt_copy_prop_vars); in st_nir_opts()
1702 NIR_PASS(progress, nir, nir_opt_dead_write_vars); in st_nir_opts()
1711 NIR_PASS(progress, nir, nir_copy_prop); in st_nir_opts()
1712 NIR_PASS(progress, nir, nir_opt_remove_phis); in st_nir_opts()
1713 NIR_PASS(progress, nir, nir_opt_dce); in st_nir_opts()
1716 NIR_PASS(progress, nir, nir_copy_prop); in st_nir_opts()
1717 NIR_PASS(progress, nir, nir_opt_dce); in st_nir_opts()
1719 NIR_PASS(progress, nir, nir_opt_if, false); in st_nir_opts()
[all …]
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c4727 NIR_PASS(progress, s, nir_lower_indirect_derefs, nir_var_function_temp, UINT32_MAX); in optimize_nir()
4728 NIR_PASS(progress, s, nir_lower_alu_to_scalar, NULL, NULL); in optimize_nir()
4729 NIR_PASS(progress, s, nir_copy_prop); in optimize_nir()
4730 NIR_PASS(progress, s, nir_opt_copy_prop_vars); in optimize_nir()
4731 NIR_PASS(progress, s, nir_lower_bit_size, lower_bit_size_callback, (void*)opts); in optimize_nir()
4732 NIR_PASS(progress, s, dxil_nir_lower_8bit_conv); in optimize_nir()
4734 NIR_PASS(progress, s, dxil_nir_lower_16bit_conv); in optimize_nir()
4735 NIR_PASS(progress, s, nir_opt_remove_phis); in optimize_nir()
4736 NIR_PASS(progress, s, nir_opt_dce); in optimize_nir()
4737 NIR_PASS(progress, s, nir_opt_if, true); in optimize_nir()
[all …]
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c1847 NIR_PASS(progress, s, nir_lower_alu_to_scalar, NULL, NULL); in v3d_optimize_nir()
1848 NIR_PASS(progress, s, nir_lower_phis_to_scalar, false); in v3d_optimize_nir()
1849 NIR_PASS(progress, s, nir_copy_prop); in v3d_optimize_nir()
1850 NIR_PASS(progress, s, nir_opt_remove_phis); in v3d_optimize_nir()
1851 NIR_PASS(progress, s, nir_opt_dce); in v3d_optimize_nir()
1852 NIR_PASS(progress, s, nir_opt_dead_cf); in v3d_optimize_nir()
1853 NIR_PASS(progress, s, nir_opt_cse); in v3d_optimize_nir()
1854 NIR_PASS(progress, s, nir_opt_peephole_select, 8, true, true); in v3d_optimize_nir()
1855 NIR_PASS(progress, s, nir_opt_algebraic); in v3d_optimize_nir()
1856 NIR_PASS(progress, s, nir_opt_constant_folding); in v3d_optimize_nir()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1523 NIR_PASS(progress, s, nir_lower_alu_to_scalar, NULL, NULL); in vc4_optimize_nir()
1524 NIR_PASS(progress, s, nir_lower_phis_to_scalar, false); in vc4_optimize_nir()
1525 NIR_PASS(progress, s, nir_copy_prop); in vc4_optimize_nir()
1526 NIR_PASS(progress, s, nir_opt_remove_phis); in vc4_optimize_nir()
1527 NIR_PASS(progress, s, nir_opt_dce); in vc4_optimize_nir()
1528 NIR_PASS(progress, s, nir_opt_dead_cf); in vc4_optimize_nir()
1529 NIR_PASS(progress, s, nir_opt_cse); in vc4_optimize_nir()
1530 NIR_PASS(progress, s, nir_opt_peephole_select, 8, true, true); in vc4_optimize_nir()
1531 NIR_PASS(progress, s, nir_opt_algebraic); in vc4_optimize_nir()
1532 NIR_PASS(progress, s, nir_opt_constant_folding); in vc4_optimize_nir()
[all …]

12