Searched refs:linear_succs (Results 1 – 14 of 14) sorted by relevance
175 if (block->linear_succs.size() != 1 || in try_remove_merge_block()176 !(ctx.program->blocks[block->linear_succs[0]].kind & block_kind_merge)) in try_remove_merge_block()192 assert(block->linear_succs.size() == 2); in try_remove_invert_block()194 if (block->linear_succs[0] != block->linear_succs[1]) in try_remove_invert_block()201 unsigned succ_idx = block->linear_succs[0]; in try_remove_invert_block()205 pred->linear_succs[0] = succ_idx; in try_remove_invert_block()216 block->linear_succs.clear(); in try_remove_invert_block()226 Block& succ = ctx.program->blocks[block->linear_succs[0]]; in try_remove_simple_block()264 pred.linear_succs[0] = pred.linear_succs[1]; in try_remove_simple_block()265 pred.linear_succs[1] = succ.index; in try_remove_simple_block()[all …]
753 ctx.loop.emplace_back(&ctx.program->blocks[block->linear_succs[0]], num_exec_masks, in add_branch_code()763 assert(ctx.program->blocks[ctx.program->blocks[block->linear_succs[1]].linear_succs[0]].kind & in add_branch_code()765 assert(ctx.program->blocks[ctx.program->blocks[block->linear_succs[0]].linear_succs[0]].kind & in add_branch_code()780 block->linear_succs[1], block->linear_succs[0]); in add_branch_code()787 branch.target[0] = block->linear_succs[0]; in add_branch_code()789 branch.target[0] = block->linear_succs[1]; in add_branch_code()790 branch.target[1] = block->linear_succs[0]; in add_branch_code()797 assert(block->linear_succs.size() == 2); in add_branch_code()816 block->linear_succs[1], block->linear_succs[0]); in add_branch_code()830 block->linear_succs[1], block->linear_succs[0]); in add_branch_code()[all …]
714 for (unsigned j = 0; j + 1 < block.linear_succs.size(); j++) in validate_ir()715 check_block(block.linear_succs[j] < block.linear_succs[j + 1], in validate_ir()724 check_block(program->blocks[pred].linear_succs.size() == 1, in validate_ir()1171 if (!instr->isBranch() || block.linear_succs.size() != 1) in validate_ra()1184 program->blocks[block.linear_preds[0]].linear_succs.size() == 1) { in validate_ra()
205 for (unsigned succ : program->blocks[block->logical_preds[i]].linear_succs) in init_any_pred_defined()244 for (unsigned succ : program->blocks[j].linear_succs) in init_any_pred_defined()
51 for (unsigned succ : block.linear_succs) in get_referenced_blocks()
518 block.linear_succs.size() == 1 && in collect_preasm_stats()
2141 block->linear_succs.push_back(discard_block->index); in lower_to_hw_instr()2461 assert(block->linear_succs[0] == target); in lower_to_hw_instr()2465 assert(block->linear_succs[1] == target); in lower_to_hw_instr()2476 assert(block->linear_succs[1] == target); in lower_to_hw_instr()
1925 std::vector<unsigned> linear_succs; member
2688 program->blocks[block.linear_preds[0]].linear_succs.size() == 1)) { in register_allocation()
11795 program->blocks[idx].linear_succs.emplace_back(BB.index); in cleanup_cfg()
110 program->blocks[0].linear_succs.push_back(1);162 program->blocks[0].linear_succs.push_back(1);
139 prog->blocks[idx].linear_succs.emplace_back(BB.index); in finish_program()145 if (block.linear_succs.size() == 0) { in finish_program()
378 program->blocks[0].linear_succs.push_back(1);
524 program->blocks[0].linear_succs.push_back(1);