/third_party/mesa3d/src/compiler/nir/ |
D | nir_to_lcssa.c | 47 nir_loop *loop; 59 is_if_use_inside_loop(nir_src *use, nir_loop *loop) in is_if_use_inside_loop() 77 is_use_inside_loop(nir_src *use, nir_loop *loop) in is_use_inside_loop() 93 is_defined_before_loop(nir_ssa_def *def, nir_loop *loop) in is_defined_before_loop() 109 instr_is_invariant(nir_instr *instr, nir_loop *loop); 112 def_is_invariant(nir_ssa_def *def, nir_loop *loop) in def_is_invariant() 127 return def_is_invariant(src->ssa, (nir_loop *)state); in src_is_invariant() 131 phi_is_invariant(nir_phi_instr *instr, nir_loop *loop) in phi_is_invariant() 167 instr_is_invariant(nir_instr *instr, nir_loop *loop) in instr_is_invariant() 286 setup_loop_state(lcssa_state *state, nir_loop *loop) in setup_loop_state() [all …]
|
D | nir_opt_sink.c | 78 static nir_loop * 83 return (nir_loop*)node; in get_innermost_loop() 89 loop_contains_block(nir_loop *loop, nir_block *block) in loop_contains_block() 107 nir_loop *def_loop = NULL; in adjust_block_for_loops() 121 nir_loop *following_loop = nir_cf_node_as_loop(next); in adjust_block_for_loops()
|
D | nir_opt_loop_unroll.c | 50 loop_prepare_for_unroll(nir_loop *loop) in loop_prepare_for_unroll() 106 simple_unroll(nir_loop *loop) in simple_unroll() 238 complex_unroll_loop_body(nir_loop *loop, nir_loop_terminator *unlimit_term, in complex_unroll_loop_body() 339 complex_unroll(nir_loop *loop, nir_loop_terminator *unlimit_term, in complex_unroll() 467 complex_unroll_single_terminator(nir_loop *loop) in complex_unroll_single_terminator() 550 wrapper_unroll(nir_loop *loop) in wrapper_unroll() 652 remove_out_of_bounds_induction_use(nir_shader *shader, nir_loop *loop, in remove_out_of_bounds_induction_use() 718 partial_unroll(nir_shader *shader, nir_loop *loop, unsigned trip_count) in partial_unroll() 755 nir_loop *new_loop = nir_loop_create(shader); in partial_unroll() 831 can_pipeline_loads(nir_loop *loop) in can_pipeline_loads() [all …]
|
D | nir_opt_trivial_continues.c | 36 lower_trivial_continues_block(nir_block *block, nir_loop *loop) in lower_trivial_continues_block() 75 nir_loop *loop) in lower_trivial_continues_list() 95 nir_loop *loop = nir_cf_node_as_loop(cf_node); in lower_trivial_continues_list()
|
D | nir_control_flow.c | 150 nir_loop *loop = nir_cf_node_as_loop(node); in link_block_to_non_block() 289 nir_loop *loop = nir_cf_node_as_loop(parent); in block_add_normal_succs() 309 nir_loop *next_loop = nir_cf_node_as_loop(next); in block_add_normal_succs() 422 static nir_loop * 476 nir_loop *loop = nearest_loop(&block->cf_node); in nir_handle_add_jump() 484 nir_loop *loop = nearest_loop(&block->cf_node); in nir_handle_add_jump() 665 nir_loop *loop = nir_cf_node_as_loop(node); in cleanup_cf_node() 780 nir_loop *loop = nir_cf_node_as_loop(node); in relink_jump_halt_cf_node()
|
D | nir_lower_returns.c | 31 nir_loop *loop; 83 lower_returns_in_loop(nir_loop *loop, struct lower_returns_state *state) in lower_returns_in_loop() 85 nir_loop *parent = state->loop; in lower_returns_in_loop()
|
D | nir_opt_gcm.c | 58 nir_loop *loop; 119 nir_loop *loop = nir_cf_node_as_loop(node); in get_loop_instr_count() 134 nir_loop *loop, unsigned loop_depth, unsigned if_depth, in gcm_build_block_info() 156 nir_loop *loop = nir_cf_node_as_loop(node); in gcm_build_block_info() 502 nir_loop *loop = state->blocks[instr->block->index].loop; in set_block_for_loop_instr()
|
D | nir_opt_if.c | 39 find_continue_block(nir_loop *loop) in find_continue_block() 139 opt_peel_loop_initial_if(nir_loop *loop) in opt_peel_loop_initial_if() 393 opt_split_alu_of_phi(nir_builder *b, nir_loop *loop) in opt_split_alu_of_phi() 624 opt_simplify_bcsel_of_phi(nir_builder *b, nir_loop *loop) in opt_simplify_bcsel_of_phi() 773 opt_if_loop_last_continue(nir_loop *loop, bool aggressive_last_continue) in opt_if_loop_last_continue() 1623 nir_loop *loop = nir_cf_node_as_loop(cf_node); in opt_if_cf_list() 1668 nir_loop *loop = nir_cf_node_as_loop(cf_node); in opt_if_regs_cf_list() 1706 nir_loop *loop = nir_cf_node_as_loop(cf_node); in opt_if_safe_cf_list()
|
D | nir_lower_memory_model.c | 217 nir_loop *loop = nir_cf_node_as_loop(cf_node); in lower_make_visible() 256 nir_loop *loop = nir_cf_node_as_loop(cf_node); in lower_make_available()
|
D | nir_opt_dead_cf.c | 301 nir_loop *following_loop = nir_block_get_following_loop(block); in dead_cf_block() 375 nir_loop *loop = nir_cf_node_as_loop(cur); in dead_cf_list()
|
D | nir_builder.c | 389 nir_loop * 392 nir_loop *loop = nir_loop_create(build->shader); in nir_push_loop() 399 nir_pop_loop(nir_builder *build, nir_loop *loop) in nir_pop_loop()
|
D | nir_sweep.c | 78 sweep_loop(nir_shader *nir, nir_loop *loop) in sweep_loop()
|
D | nir_loop_analyze.c | 69 nir_loop *loop; 1347 initialize_loop_info_state(nir_loop *loop, void *mem_ctx, in initialize_loop_info_state() 1385 nir_loop *loop = nir_cf_node_as_loop(cf_node); in process_loops() 1394 nir_loop *loop = nir_cf_node_as_loop(cf_node); in process_loops()
|
D | nir_clone.c | 591 static nir_loop * 592 clone_loop(clone_state *state, struct exec_list *cf_list, const nir_loop *loop) in clone_loop() 594 nir_loop *nloop = nir_loop_create(state->ns); in clone_loop()
|
D | nir_lower_variable_initializers.c | 175 nir_loop *loop = nir_push_loop(&b); in nir_zero_initialize_shared_memory()
|
D | nir_opt_dce.c | 167 nir_loop *loop = nir_cf_node_as_loop(cf_node); in dce_cf_list()
|
D | nir_lower_multiview.c | 297 nir_loop* loop = nir_push_loop(&b); in nir_lower_multiview()
|
D | nir.h | 2912 } nir_loop; typedef 3095 NIR_DEFINE_CAST(nir_cf_node_as_loop, nir_cf_node, nir_loop, cf_node, in NIR_DEFINE_CAST() 3129 nir_loop_first_block(nir_loop *loop) in nir_loop_first_block() 3136 nir_loop_last_block(nir_loop *loop) in nir_loop_last_block() 3819 nir_loop *nir_loop_create(nir_shader *shader); 4294 nir_loop *nir_block_get_following_loop(nir_block *block); 5426 void nir_convert_loop_to_lcssa(nir_loop *loop);
|
D | nir_inline_uniforms.c | 272 nir_loop *loop = nir_cf_node_as_loop(node); in process_node()
|
D | nir.c | 639 nir_loop * 642 nir_loop *loop = rzalloc(shader, nir_loop); in nir_loop_create() 2021 nir_loop *loop = nir_cf_node_as_loop(node); in nir_cf_node_cf_tree_first() 2048 nir_loop *loop = nir_cf_node_as_loop(node); in nir_cf_node_cf_tree_last() 2088 nir_loop *
|
D | nir_validate.c | 77 nir_loop *loop; 1306 nir_loop *loop = nir_cf_node_as_loop(next); in validate_block() 1368 validate_loop(nir_loop *loop, validate_state *state) in validate_loop() 1384 nir_loop *old_loop = state->loop; in validate_loop()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | lower_returns_tests.cpp | 95 nir_loop *loop = nir_push_loop(&bld); in TEST_F() 165 nir_loop *loop_outer = nir_push_loop(&bld); in TEST_F() 169 nir_loop *loop_inner = nir_push_loop(&bld); in TEST_F()
|
D | dce_tests.cpp | 91 nir_loop *loop = nir_push_loop(&bld); in TEST_F()
|
D | control_flow_tests.cpp | 55 nir_loop *loop = nir_loop_create(b.shader); in TEST_F()
|
D | opt_if_tests.cpp | 148 nir_loop *loop = nir_push_loop(&bld); in TEST_F()
|