Searched refs:following_if (Results 1 – 8 of 8) sorted by relevance
288 nir_if *following_if = nir_block_get_following_if(block); in dead_cf_block() local289 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()
183 nir_if *following_if = nir_block_get_following_if(block); in nir_live_ssa_defs_impl() local184 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() local295 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()
269 nir_if *following_if = nir_block_get_following_if(block); in nir_lower_regs_to_ssa_impl() local270 if (following_if) in nir_lower_regs_to_ssa_impl()271 rewrite_if_condition(following_if, &state); in nir_lower_regs_to_ssa_impl()
581 nir_if *following_if = nir_block_get_following_if(block); in spill_ssa_defs_and_lower_shader_calls() local582 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()
855 nir_if *following_if = nir_block_get_following_if(block); in nir_rematerialize_derefs_in_use_blocks_impl() local856 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()
255 nir_if *following_if = nir_block_get_following_if(block); in analyze_boolean_resolves_block() local256 if (following_if) in analyze_boolean_resolves_block()257 src_mark_needs_resolve(&following_if->condition, NULL); in analyze_boolean_resolves_block()
79 nir_if *following_if = nir_block_get_following_if(block); in prune_patch_function_to_intrinsic_and_srcs() local80 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()
189 nir_if *following_if = nir_block_get_following_if(block); in etna_live_defs() local190 if (following_if) in etna_live_defs()191 set_src_live(&following_if->condition, &state); in etna_live_defs()