Home
last modified time | relevance | path

Searched refs:nir_loop (Results 1 – 25 of 68) sorted by relevance

123

/third_party/mesa3d/src/compiler/nir/
Dnir_to_lcssa.c47 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 …]
Dnir_opt_sink.c78 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()
Dnir_opt_loop_unroll.c50 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 …]
Dnir_opt_trivial_continues.c36 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()
Dnir_control_flow.c150 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()
Dnir_lower_returns.c31 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()
Dnir_opt_gcm.c58 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()
Dnir_opt_if.c39 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()
Dnir_lower_memory_model.c217 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()
Dnir_opt_dead_cf.c301 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()
Dnir_builder.c389 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()
Dnir_sweep.c78 sweep_loop(nir_shader *nir, nir_loop *loop) in sweep_loop()
Dnir_loop_analyze.c69 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()
Dnir_clone.c591 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()
Dnir_lower_variable_initializers.c175 nir_loop *loop = nir_push_loop(&b); in nir_zero_initialize_shared_memory()
Dnir_opt_dce.c167 nir_loop *loop = nir_cf_node_as_loop(cf_node); in dce_cf_list()
Dnir_lower_multiview.c297 nir_loop* loop = nir_push_loop(&b); in nir_lower_multiview()
Dnir.h2912 } 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);
Dnir_inline_uniforms.c272 nir_loop *loop = nir_cf_node_as_loop(node); in process_node()
Dnir.c639 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 *
Dnir_validate.c77 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/
Dlower_returns_tests.cpp95 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()
Ddce_tests.cpp91 nir_loop *loop = nir_push_loop(&bld); in TEST_F()
Dcontrol_flow_tests.cpp55 nir_loop *loop = nir_loop_create(b.shader); in TEST_F()
Dopt_if_tests.cpp148 nir_loop *loop = nir_push_loop(&bld); in TEST_F()

123