Searched refs:target_number (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_emit.c751 int target_number = ins->branch.target_block; local in function:emit_branch
756 midgard_get_first_tag_from_block(ctx, target_number);
760 * (br_block_idx, target_number) */
769 } else if (target_number > block->base.name) {
772 for (int idx = block->base.name+1; idx < target_number; ++idx) {
781 for (int idx = block->base.name; idx >= target_number; --idx) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/midgard/
H A Dmidgard_compile.c3972 int target_number = ins->branch.target_block; local in function:midgard_compile_shader_nir
3975 int dest_tag = is_discard ? 0 : midgard_get_first_tag_from_block(ctx, target_number);
3977 /* Count up the number of quadwords we're jumping over. That is, the number of quadwords in each of the blocks between (br_block_idx, target_number) */
3998 } else if (target_number > br_block_idx) {
4001 for (int idx = br_block_idx + 1; idx < target_number; ++idx) {
4010 for (int idx = br_block_idx; idx >= target_number; --idx) {

Completed in 18 milliseconds