Home
last modified time | relevance | path

Searched refs:logical_preds (Results 1 – 15 of 15) 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_spill.cpp225 instr->opcode == aco_opcode::p_phi ? block->logical_preds[i] : block->linear_preds[i]; in next_uses_per_block()
247 std::vector<unsigned>& preds = temp.is_linear() ? block->linear_preds : block->logical_preds; in next_uses_per_block()
493 assert(block->logical_preds[0] == block_idx - 1); in init_live_in_vars()
610 if (block->logical_preds.size() == 1) { in init_live_in_vars()
611 pred_idx = block->logical_preds[0]; in init_live_in_vars()
637 block->logical_preds.size() == 1) { in init_live_in_vars()
638 pred_idx = block->logical_preds[0]; in init_live_in_vars()
656 pair.first.is_linear() ? block->linear_preds : block->logical_preds; in init_live_in_vars()
699 phi->opcode == aco_opcode::p_phi ? block->logical_preds : block->linear_preds; in init_live_in_vars()
797 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.cpp441 check(instr->operands.size() == block.logical_preds.size(), in validate_ir()
635 for (unsigned j = 0; j + 1 < block.logical_preds.size(); j++) in validate_ir()
636 check_block(block.logical_preds[j] < block.logical_preds[j + 1], in validate_ir()
650 for (unsigned pred : block.logical_preds) in validate_ir()
862 phi_sgpr_ops[block.logical_preds[i]].emplace_back(instr->operands[i].getTemp()); in validate_ra()
Daco_live_var_analysis.cpp216 std::vector<unsigned>& preds = rc.is_linear() ? block->linear_preds : block->logical_preds; in process_live_temps_per_block()
238 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_insert_exec_mask.cpp141 for (unsigned pred_idx : block.logical_preds) in mark_block_wqm()
189 for (unsigned pred_idx : block->logical_preds) { in get_block_needs()
211 for (unsigned pred_idx : block->logical_preds) in get_block_needs()
Daco_register_allocation.cpp2032 pc.first.getTemp().is_linear() ? block.linear_preds : block.logical_preds; in get_regs_for_phis()
2065 std::vector<unsigned>& preds = val.is_linear() ? block->linear_preds : block->logical_preds; in handle_live_in()
2156 phi->opcode == aco_opcode::p_phi ? loop_header.logical_preds : loop_header.linear_preds; in handle_loop_phis()
2247 instr->opcode == aco_opcode::p_phi ? block.logical_preds : block.linear_preds; in init_reg_file()
2480 for (; idx < succ.logical_preds.size(); idx++) { in register_allocation()
2481 if (succ.logical_preds[idx] == block.index) in register_allocation()
Daco_statistics.cpp516 block.logical_preds.empty() && block.linear_preds.size() == 1 && in collect_preasm_stats()
Daco_insert_waitcnt.cpp801 for (unsigned b : current.logical_preds) in insert_wait_states()
Daco_print_ir.cpp809 for (unsigned pred : block->logical_preds) in aco_print_block()
Daco_ir.h1884 std::vector<unsigned> logical_preds; member
Daco_instruction_selection.cpp100 succ->logical_preds.emplace_back(pred_idx); in add_logical_edge()
9851 std::vector<unsigned>& preds = logical ? ctx->block->logical_preds : ctx->block->linear_preds; in visit_phi()
9913 insert_block = ctx->block->logical_preds[i] == then_block ? invert : ctx->block; in visit_phi()
10621 return !ctx->cf_info.has_branch && !ctx->block->logical_preds.empty(); in visit_if()
11438 for (unsigned idx : BB.logical_preds) in cleanup_cfg()
/third_party/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp134 for (unsigned idx : BB.logical_preds) in finish_program()