Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/compiler/
Daco_ssa_elimination.cpp174 if (block->linear_succs.size() != 1 || in try_remove_merge_block()
175 !(ctx.program->blocks[block->linear_succs[0]].kind & block_kind_merge)) in try_remove_merge_block()
191 assert(block->linear_succs.size() == 2); in try_remove_invert_block()
193 if (block->linear_succs[0] != block->linear_succs[1]) in try_remove_invert_block()
200 unsigned succ_idx = block->linear_succs[0]; in try_remove_invert_block()
204 pred->linear_succs[0] = succ_idx; in try_remove_invert_block()
215 block->linear_succs.clear(); in try_remove_invert_block()
225 Block& succ = ctx.program->blocks[block->linear_succs[0]]; in try_remove_simple_block()
263 pred.linear_succs[0] = pred.linear_succs[1]; in try_remove_simple_block()
264 pred.linear_succs[1] = succ.index; in try_remove_simple_block()
[all …]
Daco_insert_exec_mask.cpp916 ctx.loop.emplace_back(&ctx.program->blocks[block->linear_succs[0]], num_exec_masks, needs, in add_branch_code()
960 assert(ctx.program->blocks[ctx.program->blocks[block->linear_succs[1]].linear_succs[0]].kind & in add_branch_code()
962 assert(ctx.program->blocks[ctx.program->blocks[block->linear_succs[0]].linear_succs[0]].kind & in add_branch_code()
977 block->linear_succs[1], block->linear_succs[0]); in add_branch_code()
984 branch.target[0] = block->linear_succs[0]; in add_branch_code()
986 branch.target[0] = block->linear_succs[1]; in add_branch_code()
987 branch.target[1] = block->linear_succs[0]; in add_branch_code()
1003 assert(block->linear_succs.size() == 2); in add_branch_code()
1025 block->linear_succs[1], block->linear_succs[0]); in add_branch_code()
1039 block->linear_succs[1], block->linear_succs[0]); in add_branch_code()
[all …]
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.cpp204 for (unsigned succ : block.linear_succs) in print_asm_llvm()
Daco_validate.cpp638 for (unsigned j = 0; j + 1 < block.linear_succs.size(); j++) in validate_ir()
639 check_block(block.linear_succs[j] < block.linear_succs[j + 1], in validate_ir()
648 check_block(program->blocks[pred].linear_succs.size() == 1, in validate_ir()
Daco_statistics.cpp517 block.linear_succs.size() == 1 && in collect_preasm_stats()
Daco_lower_to_hw_instr.cpp2046 block->linear_succs.push_back(discard_block->index); in lower_to_hw_instr()
2242 assert(block->linear_succs[0] == target); in lower_to_hw_instr()
2246 assert(block->linear_succs[1] == target); in lower_to_hw_instr()
2257 assert(block->linear_succs[1] == target); in lower_to_hw_instr()
Daco_ir.h1887 std::vector<unsigned> linear_succs; member
Daco_instruction_selection.cpp11437 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.cpp133 prog->blocks[idx].linear_succs.emplace_back(BB.index); in finish_program()
139 if (block.linear_succs.size() == 0) { in finish_program()
Dtest_optimizer_postRA.cpp378 program->blocks[0].linear_succs.push_back(1);