Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_opt_dce.c113 nir_if *following_if = nir_block_get_following_if(block); in init_block() local
114 if (following_if) { in init_block()
115 if (following_if->condition.is_ssa && in init_block()
116 !following_if->condition.ssa->parent_instr->pass_flags) in init_block()
117 mark_and_push(worklist, following_if->condition.ssa->parent_instr); in init_block()
Dnir_liveness.c185 nir_if *following_if = nir_block_get_following_if(block); in nir_live_ssa_defs_impl() local
186 if (following_if) in nir_live_ssa_defs_impl()
187 set_src_live(&following_if->condition, block->live_in); in nir_live_ssa_defs_impl()
238 nir_if *following_if = nir_block_get_following_if(start->block); in search_for_use_after_instr() local
239 if (following_if && following_if->condition.is_ssa && in search_for_use_after_instr()
240 following_if->condition.ssa == def) in search_for_use_after_instr()
Dnir_opt_dead_cf.c250 nir_if *following_if = nir_block_get_following_if(block); in dead_cf_block() local
251 if (following_if) { in dead_cf_block()
252 if (!nir_src_is_const(following_if->condition)) in dead_cf_block()
255 opt_constant_if(following_if, nir_src_as_bool(following_if->condition)); in dead_cf_block()
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_deref.c774 nir_if *following_if = nir_block_get_following_if(block); in nir_rematerialize_derefs_in_use_blocks_impl() local
775 if (following_if) in nir_rematerialize_derefs_in_use_blocks_impl()
776 assert(!nir_src_as_deref(following_if->condition)); in nir_rematerialize_derefs_in_use_blocks_impl()
/external/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()
/external/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()