Searched refs:else_block (Results 1 - 25 of 26) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp57 bblock_t *const else_block = prev_block; local in function:dead_control_flow_eliminate
60 else_inst->remove(else_block);
101 bblock_t *const else_block = block; local in function:dead_control_flow_eliminate
109 else_inst->remove(else_block);
H A Dbrw_fs_sel_peephole.cpp67 bblock_t *then_block, bblock_t *else_block)
80 foreach_inst_in_block(fs_inst, inst, else_block) {
143 bblock_t *else_block = NULL; local in function:fs_visitor::opt_peephole_sel
147 else_block = child->block;
152 if (else_block == NULL)
155 int movs = count_movs_from_if(then_mov, else_mov, then_block, else_block);
211 else_mov[i]->remove(else_block);
66 count_movs_from_if(fs_inst * then_mov[MAX_MOVS],fs_inst * else_mov[MAX_MOVS],bblock_t * then_block,bblock_t * else_block) argument
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_conditional_discard.c44 nir_block *else_block = nir_if_first_else_block(if_stmt); local in function:nir_opt_conditional_discard_block
47 if (nir_if_last_else_block(if_stmt) != else_block)
49 if (!exec_list_is_empty(&else_block->instr_list))
70 phi_src->pred == else_block)
H A Dnir_opt_peephole_select.c199 nir_block *else_block = nir_if_first_else_block(if_stmt); local in function:nir_opt_peephole_select_block
203 nir_if_last_else_block(if_stmt) != else_block)
216 !block_check_for_allowed_instrs(else_block, &count, limit != 0,
241 nir_foreach_instr_safe(instr, else_block) {
259 assert(src->pred == then_block || src->pred == else_block);
H A Dnir_opt_if.c854 nir_block *else_block = nir_if_last_else_block(nif); local in function:opt_if_loop_last_continue
857 else_ends_in_continue = nir_block_ends_in_continue(else_block);
863 (else_ends_in_continue || nir_block_ends_in_break(else_block)))
973 nir_block *else_block = nir_if_last_else_block(nif); local in function:opt_if_simplification
975 rewrite_phi_predecessor_blocks(nif, then_block, else_block, else_block,
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp59 bblock_t *const else_block = prev_block; local in function:dead_control_flow_eliminate
62 else_inst->remove(else_block);
103 bblock_t *const else_block = block; local in function:dead_control_flow_eliminate
111 else_inst->remove(else_block);
H A Dbrw_fs_sel_peephole.cpp68 bblock_t *then_block, bblock_t *else_block)
81 foreach_inst_in_block(fs_inst, inst, else_block) {
144 bblock_t *else_block = NULL; local in function:fs_visitor::opt_peephole_sel
148 else_block = child->block;
153 if (else_block == NULL)
156 int movs = count_movs_from_if(devinfo, then_mov, else_mov, then_block, else_block);
218 else_mov[i]->remove(else_block);
66 count_movs_from_if(const intel_device_info * devinfo,fs_inst * then_mov[MAX_MOVS],fs_inst * else_mov[MAX_MOVS],bblock_t * then_block,bblock_t * else_block) argument
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_conditional_discard.c47 nir_block *else_block = nir_if_first_else_block(if_stmt); local in function:nir_opt_conditional_discard_block
50 if (nir_if_last_else_block(if_stmt) != else_block)
52 if (!exec_list_is_empty(&else_block->instr_list))
73 phi_src->pred == else_block)
H A Dnir_opt_peephole_select.c406 nir_block *else_block = nir_if_first_else_block(if_stmt); local in function:nir_opt_peephole_select_block
410 nir_if_last_else_block(if_stmt) != else_block)
423 !block_check_for_allowed_instrs(else_block, &count, limit,
446 nir_foreach_instr_safe(instr, else_block) {
464 assert(src->pred == then_block || src->pred == else_block);
H A Dnir_lower_goto_ifs.c162 nir_block *then_block, nir_block *else_block)
168 if (_mesa_set_search(fork->paths[i].reachable, else_block)) {
192 set_path_vars(b, fork->paths[!i].fork, else_block);
238 nir_block *then_block, nir_block *else_block)
241 if (_mesa_set_search(routing->regular.reachable, else_block)) {
243 then_block, else_block);
247 if (_mesa_set_search(routing->brk.reachable, else_block)) {
249 then_block, else_block);
254 if (_mesa_set_search(routing->cont.reachable, else_block)) {
256 then_block, else_block);
161 set_path_vars_cond(nir_builder * b,struct path_fork * fork,nir_src condition,nir_block * then_block,nir_block * else_block) argument
237 route_to_cond(nir_builder * b,struct routes * routing,nir_src condition,nir_block * then_block,nir_block * else_block) argument
[all...]
H A Dnir_opt_if.c789 nir_block *else_block = nir_if_last_else_block(nif); local in function:opt_if_loop_last_continue
792 else_ends_in_continue = nir_block_ends_in_continue(else_block);
798 (else_ends_in_continue || nir_block_ends_in_break(else_block)))
908 nir_block *else_block = nir_if_last_else_block(nif); local in function:opt_if_simplification
910 if (nir_block_ends_in_jump(else_block)) {
921 rewrite_phi_predecessor_blocks(nif, then_block, else_block, else_block,
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/
H A Dlower_returns_tests.cpp110 nir_block *else_block = nir_if_last_else_block(nif); local in function:TEST_F
117 create_one_source_phi(bld.shader, else_block, one);
121 create_one_source_phi(bld.shader, else_block, one);
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_cfg.c754 struct vtn_block *else_block = vtn_block(b, block->branch[3]); local in function:vtn_process_block
755 if (then_block != else_block) {
756 if_stmt->else_type = vtn_handle_branch(b, &if_stmt->node, else_block);
759 &if_stmt->else_body, else_block);
1291 struct vtn_block *else_block = vtn_block(b, block->branch[3]); local in function:vtn_emit_cf_func_unstructured
1294 if (then_block == else_block) {
1297 vtn_add_unstructured_block(b, func, &work_list, else_block);
1299 else_block->block);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dvtn_cfg.c569 struct vtn_block *else_block = local in function:vtn_cfg_walk_blocks
591 if_stmt->else_type = vtn_get_branch_type(b, else_block,
595 if (then_block == else_block) {
613 vtn_cfg_walk_blocks(b, &if_stmt->else_body, else_block,
639 block = else_block;
/xsrc/external/mit/MesaLib.old/dist/src/broadcom/compiler/
H A Dnir_to_vir.c1953 struct qblock *else_block; local in function:ntq_emit_uniform_if
1955 else_block = after_block;
1957 else_block = vir_new_block(c);
1966 vir_link_blocks(c->cur_block, else_block);
1979 vir_set_emit_block(c, else_block);
1999 struct qblock *else_block; local in function:ntq_emit_nonuniform_if
2001 else_block = after_block;
2003 else_block = vir_new_block(c);
2031 vir_uniform_ui(c, else_block->index));
2038 vir_link_blocks(c->cur_block, else_block);
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_instruction_selection_setup.cpp120 nir_block* else_block = nir_if_last_else_block(nif); local in function:aco::__anonb649b1010110::sanitize_if
123 bool else_jump = nir_block_ends_in_jump(else_block) ||
124 !is_block_reachable(impl, nir_if_first_else_block(nif), else_block);
142 nir_block* last_continue_from_blk = else_jump ? then_block : else_block;
/xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/
H A Dnir_to_vir.c3342 struct qblock *else_block; local in function:ntq_emit_uniform_if
3344 else_block = after_block;
3346 else_block = vir_new_block(c);
3380 vir_link_blocks(c->cur_block, else_block);
3397 vir_set_emit_block(c, else_block);
3442 struct qblock *else_block; local in function:ntq_emit_nonuniform_if
3444 else_block = after_block;
3446 else_block = vir_new_block(c);
3474 vir_uniform_ui(c, else_block->index));
3481 vir_link_blocks(c->cur_block, else_block);
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_program.c1908 struct qblock *else_block; local in function:ntq_emit_if
1910 else_block = after_block;
1912 else_block = qir_new_block(c);
1928 qir_uniform_ui(c, else_block->index));
1935 qir_link_blocks(c->cur_block, else_block);
1955 qir_link_blocks(c->cur_block, else_block);
1957 qir_set_emit_block(c, else_block);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_program.c1913 struct qblock *else_block; local in function:ntq_emit_if
1915 else_block = after_block;
1917 else_block = qir_new_block(c);
1933 qir_uniform_ui(c, else_block->index));
1940 qir_link_blocks(c->cur_block, else_block);
1960 qir_link_blocks(c->cur_block, else_block);
1962 qir_set_emit_block(c, else_block);
/xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
H A Dagx_compile.c966 agx_block *else_block = emit_cf_list(ctx, &nif->else_list); local in function:emit_if
972 agx_block_add_successor(first_block, else_block);
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Dnir_to_dxil.c4304 nir_block *else_block = NULL; local in function:emit_if
4307 else_block = nir_if_first_else_block(if_stmt);
4314 else_block ? else_block->index : then_succ))
4323 if (else_block) {
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbifrost_compile.c2970 bi_block *else_block = emit_cf_list(ctx, &nif->else_list); local in function:emit_if
2977 assert(else_block);
2983 then_branch->branch_target = else_block;
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_compile.c2849 midgard_block *else_block = emit_cf_list(ctx, &nif->else_list); local in function:emit_if
2856 assert(else_block);
2872 pan_block_add_successor(&before_block->base, &else_block->base);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/midgard/
H A Dmidgard_compile.c3696 midgard_block *else_block = emit_cf_list(ctx, &nif->else_list); local in function:emit_if
3702 assert(else_block);
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_nir_to_llvm.c4238 nir_block *else_block = local in function:visit_if
4241 ac_build_else(&ctx->ac, else_block->index);

Completed in 60 milliseconds

12