Home
last modified time | relevance | path

Searched refs:logical_preds (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_lower_phis.cpp199 for (unsigned i = 0; i < block->logical_preds.size(); i++) { in init_any_pred_defined()
205 for (unsigned succ : program->blocks[block->logical_preds[i]].linear_succs) in init_any_pred_defined()
209 unsigned start = block->logical_preds[0]; in init_any_pred_defined()
259 block->linear_preds.size() == block->logical_preds.size(); in lower_divergent_bool_phi()
260 for (unsigned pred : block->logical_preds) in lower_divergent_bool_phi()
282 unsigned pred = block->logical_preds[i]; in lower_divergent_bool_phi()
292 build_merge_code(program, state, &program->blocks[block->logical_preds[i]], phi->operands[i]); in lower_divergent_bool_phi()
322 Block* pred = &program->blocks[block->logical_preds[i]]; in lower_subdword_phis()
Daco_optimizer_postRA.cpp87 if (!block->logical_preds.empty()) { in reset_block()
91 const unsigned first_logical_pred = block->logical_preds[0]; in reset_block()
92 const std::vector<uint32_t>& logical_preds = block->logical_preds; in reset_block() local
96 std::next(logical_preds.begin()), logical_preds.end(), in reset_block()
Daco_spill.cpp230 instr->opcode == aco_opcode::p_phi ? block->logical_preds[i] : block->linear_preds[i]; in next_uses_per_block()
252 std::vector<unsigned>& preds = temp.is_linear() ? block->linear_preds : block->logical_preds; in next_uses_per_block()
498 assert(block->logical_preds[0] == block_idx - 1); in init_live_in_vars()
615 if (block->logical_preds.size() == 1) { in init_live_in_vars()
616 pred_idx = block->logical_preds[0]; in init_live_in_vars()
642 block->logical_preds.size() == 1) { in init_live_in_vars()
643 pred_idx = block->logical_preds[0]; in init_live_in_vars()
661 pair.first.is_linear() ? block->linear_preds : block->logical_preds; in init_live_in_vars()
704 phi->opcode == aco_opcode::p_phi ? block->logical_preds : block->linear_preds; in init_live_in_vars()
799 if (block->logical_preds.size() == 1) { in add_coupling_code()
[all …]
Daco_dominance.cpp51 for (unsigned pred_idx : block.logical_preds) { in dominator_tree()
Daco_validate.cpp462 check(instr->operands.size() == block.logical_preds.size(), in validate_ir()
711 for (unsigned j = 0; j + 1 < block.logical_preds.size(); j++) in validate_ir()
712 check_block(block.logical_preds[j] < block.logical_preds[j + 1], in validate_ir()
726 for (unsigned pred : block.logical_preds) in validate_ir()
1011 phi_sgpr_ops[block.logical_preds[i]].emplace_back(instr->operands[i].getTemp()); in validate_ra()
Daco_live_var_analysis.cpp232 std::vector<unsigned>& preds = rc.is_linear() ? block->linear_preds : block->logical_preds; in process_live_temps_per_block()
254 insn->opcode == aco_opcode::p_phi ? block->logical_preds : block->linear_preds; in process_live_temps_per_block()
Daco_lower_to_cssa.cpp93 phi->opcode == aco_opcode::p_phi ? block.logical_preds : block.linear_preds; in collect_parallelcopies()
198 ? ctx.program->blocks[block_idx].logical_preds in intersects()
Daco_ssa_elimination.cpp72 phi->opcode == aco_opcode::p_phi ? block.logical_preds : block.linear_preds; in collect_phi_info()
Daco_register_allocation.cpp2035 pc.first.getTemp().is_linear() ? block.linear_preds : block.logical_preds; in get_reg_phi()
2153 std::vector<unsigned>& preds = val.is_linear() ? block->linear_preds : block->logical_preds; in handle_live_in()
2244 phi->opcode == aco_opcode::p_phi ? loop_header.logical_preds : loop_header.linear_preds; in handle_loop_phis()
2335 instr->opcode == aco_opcode::p_phi ? block.logical_preds : block.linear_preds; in init_reg_file()
2720 for (; idx < succ.logical_preds.size(); idx++) { in register_allocation()
2721 if (succ.logical_preds[idx] == block.index) in register_allocation()
Daco_statistics.cpp517 block.logical_preds.empty() && block.linear_preds.size() == 1 && in collect_preasm_stats()
Daco_insert_waitcnt.cpp808 for (unsigned b : current.logical_preds) in insert_wait_states()
Daco_print_ir.cpp834 for (unsigned pred : block->logical_preds) in aco_print_block()
Daco_ir.h1922 std::vector<unsigned> logical_preds; member
Daco_instruction_selection.cpp100 succ->logical_preds.emplace_back(pred_idx); in add_logical_edge()
10103 std::vector<unsigned>& preds = logical ? ctx->block->logical_preds : ctx->block->linear_preds; in visit_phi()
10165 insert_block = ctx->block->logical_preds[i] == then_block ? invert : ctx->block; in visit_phi()
10864 return !ctx->cf_info.has_branch && !ctx->block->logical_preds.empty(); in visit_if()
11796 for (unsigned idx : BB.logical_preds) in cleanup_cfg()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer_postRA.cpp381 program->blocks[1].logical_preds.push_back(0);
Dhelpers.cpp140 for (unsigned idx : BB.logical_preds) in finish_program()