Home
last modified time | relevance | path

Searched refs:linear_succs (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_ssa_elimination.cpp175 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 …]
Daco_insert_exec_mask.cpp753 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 …]
Daco_validate.cpp714 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()
Daco_lower_phis.cpp205 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()
Daco_print_asm.cpp51 for (unsigned succ : block.linear_succs) in get_referenced_blocks()
Daco_statistics.cpp518 block.linear_succs.size() == 1 && in collect_preasm_stats()
Daco_lower_to_hw_instr.cpp2141 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()
Daco_ir.h1925 std::vector<unsigned> linear_succs; member
Daco_register_allocation.cpp2688 program->blocks[block.linear_preds[0]].linear_succs.size() == 1)) { in register_allocation()
Daco_instruction_selection.cpp11795 program->blocks[idx].linear_succs.emplace_back(BB.index); in cleanup_cfg()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_insert_nops.cpp110 program->blocks[0].linear_succs.push_back(1);
162 program->blocks[0].linear_succs.push_back(1);
Dhelpers.cpp139 prog->blocks[idx].linear_succs.emplace_back(BB.index); in finish_program()
145 if (block.linear_succs.size() == 0) { in finish_program()
Dtest_optimizer_postRA.cpp378 program->blocks[0].linear_succs.push_back(1);
Dtest_to_hw_instr.cpp524 program->blocks[0].linear_succs.push_back(1);