Home
last modified time | relevance | path

Searched refs:then_list (Results 1 – 25 of 48) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_if.c185 continue_list = &nif->then_list; in opt_peel_loop_initial_if()
189 entry_list = &nif->then_list; in opt_peel_loop_initial_if()
827 nir_cf_reinsert(&tmp, nir_after_cf_list(&nif->then_list)); in opt_if_loop_last_continue()
928 nir_cf_reinsert(&tmp, nir_before_cf_list(&nif->then_list)); in opt_if_simplification()
1316 struct exec_list *list = src_if_then ? &src_if->then_list in simple_merge_if()
1418 progress |= opt_if_cf_list(b, &nif->then_list, in opt_if_cf_list()
1457 progress |= opt_peel_loop_initial_if_cf_list(&nif->then_list); in opt_peel_loop_initial_if_cf_list()
1492 progress |= opt_if_safe_cf_list(b, &nif->then_list); in opt_if_safe_cf_list()
Dnir_lower_memory_model.c209 foreach_list_typed(nir_cf_node, if_node, node, &nif->then_list) in lower_make_visible()
248 foreach_list_typed_reverse(nir_cf_node, if_node, node, &nif->then_list) in lower_make_available()
Dnir_lower_returns.c111 then_progress = lower_returns_in_cf_list(&if_stmt->then_list, state); in lower_returns_in_if()
152 nir_cf_reinsert(&list, nir_after_cf_list(&if_stmt->then_list)); in lower_returns_in_if()
Dnir_loop_analyze.h53 foreach_list_typed_safe(nir_cf_node, node, node, &if_stmt->then_list) { in contains_other_jump()
Dnir_opt_dead_cf.c126 struct exec_list *cf_list = condition ? &if_stmt->then_list in opt_constant_if()
353 progress |= dead_cf_list(&if_stmt->then_list, &then_ends_in_jump); in dead_cf_list()
Dnir_opt_trivial_continues.c87 if (lower_trivial_continues_list(&nif->then_list, at_loop_tail, loop)) in lower_trivial_continues_list()
Dnir_opt_peephole_select.c286 if (nir_cf_list_is_empty_block(&if_stmt->then_list)) in nir_opt_collapse_if()
291 if (exec_list_length(&parent_if->then_list) != 3) in nir_opt_collapse_if()
Dnir_lower_shader_calls.c686 nir_cf_reinsert(&cf_list, nir_before_cf_list(&_if->then_list)); in duplicate_loop_bodies()
841 if (flatten_resume_if_ladder(impl, cursor, &_if->then_list, in flatten_resume_if_ladder()
878 nir_instr_insert(nir_before_cf_list(&_if->then_list), loop_cursor); in flatten_resume_if_ladder()
881 flatten_resume_if_ladder(impl, loop_cursor, &_if->then_list, in flatten_resume_if_ladder()
Dnir_sweep.c68 foreach_list_typed(nir_cf_node, cf_node, node, &iff->then_list) { in sweep_if()
Dnir_inline_functions.c116 nir_cf_reinsert(&body, nir_after_cf_list(&cf->then_list)); in nir_inline_function_impl()
Dnir_opt_dce.c162 progress |= dce_cf_list(&nif->then_list, defs_live, parent_loop); in dce_cf_list()
Dnir_opt_gcm.c111 loop_instr_count += get_loop_instr_count(&if_stmt->then_list); in get_loop_instr_count()
145 gcm_build_block_info(&if_stmt->then_list, state, loop, loop_depth, ~0u); in gcm_build_block_info()
Dnir_control_flow.c644 foreach_list_typed(nir_cf_node, child, node, &if_stmt->then_list) in cleanup_cf_node()
757 foreach_list_typed(nir_cf_node, child, node, &if_stmt->then_list) in relink_jump_halt_cf_node()
Dnir_inline_uniforms.c264 foreach_list_typed(nir_cf_node, nested_node, node, &if_node->then_list) in process_node()
Dnir_to_lcssa.c304 foreach_list_typed(nir_cf_node, nested_node, node, &if_stmt->then_list) in convert_to_lcssa()
Dnir_clone.c571 clone_cf_list(state, &ni->then_list, &i->then_list); in clone_if()
Dnir_opt_copy_prop_vars.c267 foreach_list_typed_safe(nir_cf_node, cf_node, node, &if_stmt->then_list) in gather_vars_written()
1248 foreach_list_typed_safe(nir_cf_node, cf_node, node, &if_stmt->then_list) in copy_prop_vars_cf_node()
Dnir_validate.c1187 collect_blocks(&nir_cf_node_as_if(node)->then_list, state); in collect_blocks()
1336 validate_assert(state, !exec_list_is_empty(&if_stmt->then_list)); in validate_if()
1342 foreach_list_typed(nir_cf_node, cf_node, node, &if_stmt->then_list) { in validate_if()
Dnir_divergence_analysis.c861 progress |= visit_cf_list(&if_stmt->then_list, &then_state); in visit_if()
Dnir_opt_loop_unroll.c926 progress |= process_loops_in_block(sh, &if_stmt->then_list, in process_loops()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp131 if (nir_cf_list_is_empty_block(else_jump ? &nif->then_list : &nif->else_list)) in sanitize_if()
163 progress |= sanitize_cf_list(impl, &nif->then_list); in sanitize_cf_list()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp215 foreach_list_typed(nir_cf_node, n, node, &if_stmt->then_list) in process_if()
218 if (!if_stmt->then_list.is_empty()) { in process_if()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1077 b->cursor = nir_after_cf_list(&if_es_thread->then_list); in add_deferred_attribute_culling()
1353 b->cursor = nir_after_cf_list(&if_es_thread->then_list); in ac_nir_lower_ngg_nogs()
1908 b->cursor = nir_after_cf_list(&if_gs_thread->then_list); in ac_nir_lower_ngg_gs()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c713 b.cursor = nir_after_cf_list(&nif->then_list); in ir3_nir_lower_tess_ctrl()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c670 if (!ppir_emit_cf_list(comp, &if_stmt->then_list)) in ppir_emit_if()

12