Lines Matching refs:then_block
706 struct vtn_block *then_block = vtn_block(b, block->branch[2]); in vtn_process_block() local
709 if (then_block == else_block) { in vtn_process_block()
713 block->branch_type = vtn_handle_branch(b, cf_parent, then_block); in vtn_process_block()
716 return then_block; in vtn_process_block()
743 if_stmt->then_type = vtn_handle_branch(b, &if_stmt->node, then_block); in vtn_process_block()
746 &if_stmt->then_body, then_block); in vtn_process_block()
1273 struct vtn_block *then_block = vtn_block(b, block->branch[2]); in vtn_emit_cf_func_unstructured() local
1276 vtn_add_unstructured_block(b, func, &work_list, then_block); in vtn_emit_cf_func_unstructured()
1277 if (then_block == else_block) { in vtn_emit_cf_func_unstructured()
1278 nir_goto(&b->nb, then_block->block); in vtn_emit_cf_func_unstructured()
1281 nir_goto_if(&b->nb, then_block->block, nir_src_for_ssa(cond), in vtn_emit_cf_func_unstructured()