Home
last modified time | relevance | path

Searched refs:following_if (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_dead_cf.c288 nir_if *following_if = nir_block_get_following_if(block); in dead_cf_block() local
289 if (following_if) { in dead_cf_block()
290 if (nir_src_is_const(following_if->condition)) { in dead_cf_block()
291 opt_constant_if(following_if, nir_src_as_bool(following_if->condition)); in dead_cf_block()
295 if (node_is_dead(&following_if->cf_node)) { in dead_cf_block()
296 nir_cf_node_remove(&following_if->cf_node); in dead_cf_block()
Dnir_liveness.c183 nir_if *following_if = nir_block_get_following_if(block); in nir_live_ssa_defs_impl() local
184 if (following_if) in nir_live_ssa_defs_impl()
185 set_src_live(&following_if->condition, block->live_in); in nir_live_ssa_defs_impl()
294 nir_if *following_if = nir_block_get_following_if(start->block); in search_for_use_after_instr() local
295 if (following_if && following_if->condition.is_ssa && in search_for_use_after_instr()
296 following_if->condition.ssa == def) in search_for_use_after_instr()
Dnir_lower_regs_to_ssa.c269 nir_if *following_if = nir_block_get_following_if(block); in nir_lower_regs_to_ssa_impl() local
270 if (following_if) in nir_lower_regs_to_ssa_impl()
271 rewrite_if_condition(following_if, &state); in nir_lower_regs_to_ssa_impl()
Dnir_lower_shader_calls.c581 nir_if *following_if = nir_block_get_following_if(block); in spill_ssa_defs_and_lower_shader_calls() local
582 if (following_if) { in spill_ssa_defs_and_lower_shader_calls()
584 get_phi_builder_def_for_src(&following_if->condition, in spill_ssa_defs_and_lower_shader_calls()
587 nir_if_rewrite_condition(following_if, nir_src_for_ssa(new_def)); in spill_ssa_defs_and_lower_shader_calls()
Dnir_deref.c855 nir_if *following_if = nir_block_get_following_if(block); in nir_rematerialize_derefs_in_use_blocks_impl() local
856 if (following_if) in nir_rematerialize_derefs_in_use_blocks_impl()
857 assert(!nir_src_as_deref(following_if->condition)); in nir_rematerialize_derefs_in_use_blocks_impl()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_analyze_boolean_resolves.c255 nir_if *following_if = nir_block_get_following_if(block); in analyze_boolean_resolves_block() local
256 if (following_if) in analyze_boolean_resolves_block()
257 src_mark_needs_resolve(&following_if->condition, NULL); in analyze_boolean_resolves_block()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_tess.c79 nir_if *following_if = nir_block_get_following_if(block); in prune_patch_function_to_intrinsic_and_srcs() local
80 if (following_if) { in prune_patch_function_to_intrinsic_and_srcs()
81 assert(following_if->condition.is_ssa); in prune_patch_function_to_intrinsic_and_srcs()
82 add_instr_and_srcs_to_set(instr_set, following_if->condition.ssa->parent_instr); in prune_patch_function_to_intrinsic_and_srcs()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_liveness.c189 nir_if *following_if = nir_block_get_following_if(block); in etna_live_defs() local
190 if (following_if) in etna_live_defs()
191 set_src_live(&following_if->condition, &state); in etna_live_defs()