Home
last modified time | relevance | path

Searched refs:after_block (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/freedreno/ir3/
Dir3_lower_subgroups.c79 struct ir3_block *after_block = ir3_block_create(ir); in split_block() local
81 list_add(&after_block->node, &then_block->node); in split_block()
84 after_block->successors[i] = before_block->successors[i]; in split_block()
85 if (after_block->successors[i]) in split_block()
86 replace_pred(after_block->successors[i], before_block, after_block); in split_block()
91 after_block->physical_successors[i] = in split_block()
93 if (after_block->physical_successors[i]) { in split_block()
94 replace_physical_pred(after_block->physical_successors[i], in split_block()
95 before_block, after_block); in split_block()
100 before_block->successors[1] = after_block; in split_block()
[all …]
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.cc1148 FunctionBlockPtr after_block = nullptr; in ParseIf() local
1151 after_block = MakeFunctionBlock(*this); in ParseIf()
1157 after_block->func_graph()->set_flag(FUNC_GRAPH_FLAG_AFTER_BLOCK, true); in ParseIf()
1167 true_end->Jump(after_block, {}); in ParseIf()
1177 false_end->Jump(after_block, {}); in ParseIf()
1181 if (after_block->prev_blocks().empty()) { in ParseIf()
1182 after_block->SetAsDeadBlock(); in ParseIf()
1184 after_block->Mature(); in ParseIf()
1185 return after_block; in ParseIf()
1193 FunctionBlockPtr after_block = nullptr; in ParseWhile() local
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c258 LLVMBasicBlockRef after_block; in lp_build_loop_end_cond() local
269 after_block = lp_build_insert_new_block(state->gallivm, "loop_end"); in lp_build_loop_end_cond()
271 LLVMBuildCondBr(builder, cond, after_block, state->block); in lp_build_loop_end_cond()
273 LLVMPositionBuilderAtEnd(builder, after_block); in lp_build_loop_end_cond()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c92 midgard_block *temp = ctx->after_block; in schedule_barrier()
93 ctx->after_block = create_empty_block(ctx); in schedule_barrier()
95 list_addtail(&ctx->after_block->base.link, &ctx->blocks); in schedule_barrier()
96 list_inithead(&ctx->after_block->base.instructions); in schedule_barrier()
97 pan_block_add_successor(&ctx->current_block->base, &ctx->after_block->base); in schedule_barrier()
98 ctx->current_block = ctx->after_block; in schedule_barrier()
99 ctx->after_block = temp; in schedule_barrier()
2791 midgard_block *this_block = ctx->after_block; in emit_block_init()
2792 ctx->after_block = NULL; in emit_block_init()
2869 ctx->after_block = create_empty_block(ctx); in emit_if()
[all …]
Dcompiler.h276 midgard_block *after_block; member
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c907 if (ctx->after_block) { in emit_block()
908 ctx->current_block = ctx->after_block; in emit_block()
909 ctx->after_block = NULL; in emit_block()
969 ctx->after_block = agx_create_block(ctx); in emit_if()
973 agx_block_add_successor(end_then, ctx->after_block); in emit_if()
974 agx_block_add_successor(end_else, ctx->after_block); in emit_if()
1001 ctx->after_block = ctx->continue_block; in emit_loop()
1013 ctx->after_block = ctx->break_block; in emit_loop()
Dagx_compiler.h393 agx_block *after_block; member
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c3341 struct qblock *after_block = vir_new_block(c); in ntq_emit_uniform_if() local
3344 else_block = after_block; in ntq_emit_uniform_if()
3393 vir_link_blocks(c->cur_block, after_block); in ntq_emit_uniform_if()
3427 vir_link_blocks(c->cur_block, after_block); in ntq_emit_uniform_if()
3429 vir_set_emit_block(c, after_block); in ntq_emit_uniform_if()
3441 struct qblock *after_block = vir_new_block(c); in ntq_emit_nonuniform_if() local
3444 else_block = after_block; in ntq_emit_nonuniform_if()
3496 vir_uniform_ui(c, after_block->index)); in ntq_emit_nonuniform_if()
3501 vir_uniform_ui(c, after_block->index)), in ntq_emit_nonuniform_if()
3504 vir_link_blocks(c->cur_block, after_block); in ntq_emit_nonuniform_if()
[all …]
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c2930 if (ctx->after_block) { in emit_block()
2931 ctx->current_block = ctx->after_block; in emit_block()
2932 ctx->after_block = NULL; in emit_block()
2970 ctx->after_block = create_empty_block(ctx); in emit_if()
2978 then_branch->branch_target = ctx->after_block; in emit_if()
2979 bi_block_add_successor(end_then_block, ctx->after_block); /* fallthrough */ in emit_if()
2986 then_exit->branch_target = ctx->after_block; in emit_if()
2989 bi_block_add_successor(end_else_block, ctx->after_block); /* fallthrough */ in emit_if()
3007 ctx->after_block = ctx->continue_block; in emit_loop()
3019 ctx->after_block = ctx->break_block; in emit_loop()
Dcompiler.h624 bi_block *after_block; member
/third_party/mesa3d/src/compiler/nir/
Dnir_control_flow.c477 nir_block *after_block = nir_cf_node_as_block(after); in nir_handle_add_jump() local
478 link_blocks(block, after_block, NULL); in nir_handle_add_jump()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1912 struct qblock *after_block = qir_new_block(c); in ntq_emit_if() local
1915 else_block = after_block; in ntq_emit_if()
1954 qir_uniform_ui(c, after_block->index)); in ntq_emit_if()
1957 qir_SF(c, qir_SUB(c, c->execute, qir_uniform_ui(c, after_block->index))); in ntq_emit_if()
1959 qir_link_blocks(c->cur_block, after_block); in ntq_emit_if()
1967 qir_link_blocks(c->cur_block, after_block); in ntq_emit_if()
1969 qir_set_emit_block(c, after_block); in ntq_emit_if()