Home
last modified time | relevance | path

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

/third_party/mesa3d/src/freedreno/ir3/
Dir3_lower_subgroups.c172 struct ir3_block *after_block = ir3_block_create(ir); in split_block() local
173 list_add(&after_block->node, &before_block->node); in split_block()
176 after_block->successors[i] = before_block->successors[i]; in split_block()
177 if (after_block->successors[i]) in split_block()
178 replace_pred(after_block->successors[i], before_block, after_block); in split_block()
183 after_block->physical_successors[i] = in split_block()
185 if (after_block->physical_successors[i]) { in split_block()
186 replace_physical_pred(after_block->physical_successors[i], in split_block()
187 before_block, after_block); in split_block()
197 list_addtail(&rem_instr->node, &after_block->instr_list); in split_block()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c260 LLVMBasicBlockRef after_block; in lp_build_loop_end_cond() local
271 after_block = lp_build_insert_new_block(state->gallivm, "loop_end"); in lp_build_loop_end_cond()
273 LLVMBuildCondBr(builder, cond, after_block, state->block); in lp_build_loop_end_cond()
275 LLVMPositionBuilderAtEnd(builder, after_block); in lp_build_loop_end_cond()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c89 midgard_block *temp = ctx->after_block; in schedule_barrier()
90 ctx->after_block = create_empty_block(ctx); in schedule_barrier()
92 list_addtail(&ctx->after_block->base.link, &ctx->blocks); in schedule_barrier()
93 list_inithead(&ctx->after_block->base.instructions); in schedule_barrier()
94 pan_block_add_successor(&ctx->current_block->base, &ctx->after_block->base); in schedule_barrier()
95 ctx->current_block = ctx->after_block; in schedule_barrier()
96 ctx->after_block = temp; in schedule_barrier()
2878 midgard_block *this_block = ctx->after_block; in emit_block_init()
2879 ctx->after_block = NULL; in emit_block_init()
2956 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.c1133 if (ctx->after_block) { in emit_block()
1134 ctx->current_block = ctx->after_block; in emit_block()
1135 ctx->after_block = NULL; in emit_block()
1193 ctx->after_block = agx_create_block(ctx); in emit_if()
1197 agx_block_add_successor(end_then, ctx->after_block); in emit_if()
1198 agx_block_add_successor(end_else, ctx->after_block); in emit_if()
1228 ctx->after_block = ctx->continue_block; in emit_loop()
1241 ctx->after_block = ctx->break_block; in emit_loop()
Dagx_compiler.h405 agx_block *after_block; member
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c3874 struct qblock *after_block = vir_new_block(c); in ntq_emit_uniform_if() local
3877 else_block = after_block; in ntq_emit_uniform_if()
3926 vir_link_blocks(c->cur_block, after_block); in ntq_emit_uniform_if()
3960 vir_link_blocks(c->cur_block, after_block); in ntq_emit_uniform_if()
3962 vir_set_emit_block(c, after_block); in ntq_emit_uniform_if()
3974 struct qblock *after_block = vir_new_block(c); in ntq_emit_nonuniform_if() local
3977 else_block = after_block; in ntq_emit_nonuniform_if()
4029 vir_uniform_ui(c, after_block->index)); in ntq_emit_nonuniform_if()
4034 vir_uniform_ui(c, after_block->index)), in ntq_emit_nonuniform_if()
4037 vir_link_blocks(c->cur_block, after_block); in ntq_emit_nonuniform_if()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_control_flow.c478 nir_block *after_block = nir_cf_node_as_block(after); in nir_handle_add_jump() local
479 link_blocks(block, after_block, NULL); in nir_handle_add_jump()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1895 struct qblock *after_block = qir_new_block(c); in ntq_emit_if() local
1898 else_block = after_block; in ntq_emit_if()
1937 qir_uniform_ui(c, after_block->index)); in ntq_emit_if()
1940 qir_SF(c, qir_SUB(c, c->execute, qir_uniform_ui(c, after_block->index))); in ntq_emit_if()
1942 qir_link_blocks(c->cur_block, after_block); in ntq_emit_if()
1950 qir_link_blocks(c->cur_block, after_block); in ntq_emit_if()
1952 qir_set_emit_block(c, after_block); in ntq_emit_if()
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c3911 if (ctx->after_block) { in emit_block()
3912 ctx->current_block = ctx->after_block; in emit_block()
3913 ctx->after_block = NULL; in emit_block()
3951 ctx->after_block = create_empty_block(ctx); in emit_if()
3959 then_branch->branch_target = ctx->after_block; in emit_if()
3960 bi_block_add_successor(end_then_block, ctx->after_block); /* fallthrough */ in emit_if()
3967 then_exit->branch_target = ctx->after_block; in emit_if()
3970 bi_block_add_successor(end_else_block, ctx->after_block); /* fallthrough */ in emit_if()
3988 ctx->after_block = ctx->continue_block; in emit_loop()
4000 ctx->after_block = ctx->break_block; in emit_loop()
Dcompiler.h785 bi_block *after_block; member