Lines Matching refs:aco_ptr
158 aco_ptr<Instruction>& instr = block->instructions[idx]; in next_uses_per_block()
184 aco_ptr<Instruction>& instr = block->instructions[idx]; in next_uses_per_block()
243 bool should_rematerialize(aco_ptr<Instruction>& instr) in should_rematerialize()
268 aco_ptr<Instruction> do_reload(spill_ctx& ctx, Temp tmp, Temp new_name, uint32_t spill_id) in do_reload()
277 aco_ptr<Instruction> res; in do_reload()
299 …aco_ptr<Pseudo_instruction> reload{create_instruction<Pseudo_instruction>(aco_opcode::p_reload, Fo… in do_reload()
311 for (aco_ptr<Instruction>& instr : block.instructions) { in get_rematerialize_info()
337 aco_ptr<Instruction>& instr = block->instructions[idx]; in local_next_uses()
603 aco_ptr<Instruction>& phi = block->instructions[idx]; in init_live_in_vars()
640 aco_ptr<Instruction>& instr = block->instructions[i]; in init_live_in_vars()
715 aco_ptr<Instruction>& instr = ctx.program->blocks[block_idx].instructions[idx]; in get_demand_before()
716 aco_ptr<Instruction> instr_before(nullptr); in get_demand_before()
729 std::vector<aco_ptr<Instruction>> instructions; in add_coupling_code()
756 …aco_ptr<Instruction> reload = do_reload(ctx, live.first, new_name, ctx.spills_exit[pred_idx][live.… in add_coupling_code()
788 …aco_ptr<Instruction> reload = do_reload(ctx, live.first, new_name, ctx.spills_exit[pred_idx][live.… in add_coupling_code()
801 …std::move_iterator<std::vector<aco_ptr<Instruction>>::iterator>(std::next(block->instructions.begi… in add_coupling_code()
802 … std::move_iterator<std::vector<aco_ptr<Instruction>>::iterator>(block->instructions.end())); in add_coupling_code()
813 for (aco_ptr<Instruction>& phi : block->instructions) { in add_coupling_code()
863 …aco_ptr<Pseudo_instruction> spill{create_instruction<Pseudo_instruction>(aco_opcode::p_spill, Form… in add_coupling_code()
872 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code()
915 …aco_ptr<Pseudo_instruction> spill{create_instruction<Pseudo_instruction>(aco_opcode::p_spill, Form… in add_coupling_code()
924 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code()
931 for (aco_ptr<Instruction>& phi : instructions) { in add_coupling_code()
962 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code()
964 … aco_ptr<Instruction> reload = do_reload(ctx, tmp, new_name, ctx.spills_exit[pred_idx][tmp]); in add_coupling_code()
1002 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code()
1004 …aco_ptr<Instruction> reload = do_reload(ctx, pair.first, new_name, ctx.spills_exit[pred.index][pai… in add_coupling_code()
1034 …aco_ptr<Pseudo_instruction> phi{create_instruction<Pseudo_instruction>(opcode, Format::PSEUDO, pre… in add_coupling_code()
1072 std::vector<aco_ptr<Instruction>>::iterator start = std::next(block->instructions.begin(), idx); in add_coupling_code()
1073 …instructions.insert(instructions.end(), std::move_iterator<std::vector<aco_ptr<Instruction>>::iter… in add_coupling_code()
1074 … std::move_iterator<std::vector<aco_ptr<Instruction>>::iterator>(block->instructions.end())); in add_coupling_code()
1084 std::vector<aco_ptr<Instruction>> instructions; in process_block()
1097 aco_ptr<Instruction>& instr = block->instructions[idx]; in process_block()
1182 …aco_ptr<Pseudo_instruction> spill{create_instruction<Pseudo_instruction>(aco_opcode::p_spill, Form… in process_block()
1191 … aco_ptr<Instruction> reload = do_reload(ctx, pair.second.first, pair.first, pair.second.second); in process_block()
1259 std::vector<aco_ptr<Instruction>>::iterator instr_it = current.instructions.begin(); in spill_block()
1263 aco_ptr<Instruction>& phi = *instr_it; in spill_block()
1294 aco_ptr<Instruction>& instr = *instr_it; in spill_block()
1315 std::vector<aco_ptr<Instruction>>& instructions, in load_scratch_resource()
1513 …aco_ptr<Instruction> destr{create_instruction<Pseudo_instruction>(aco_opcode::p_end_linear_vgpr, F… in assign_spill_slots()
1521 std::vector<aco_ptr<Instruction>>::iterator it = block.instructions.begin(); in assign_spill_slots()
1550 std::vector<aco_ptr<Instruction>>::iterator it; in assign_spill_slots()
1551 std::vector<aco_ptr<Instruction>> instructions; in assign_spill_slots()
1608 …aco_ptr<Pseudo_instruction> create{create_instruction<Pseudo_instruction>(aco_opcode::p_start_line… in assign_spill_slots()
1617 …std::vector<aco_ptr<Instruction>>& instructions = ctx.program->blocks[last_top_level_block_idx].in… in assign_spill_slots()
1627 instructions.emplace_back(aco_ptr<Instruction>(spill)); in assign_spill_slots()
1677 …aco_ptr<Pseudo_instruction> create{create_instruction<Pseudo_instruction>(aco_opcode::p_start_line… in assign_spill_slots()
1686 …std::vector<aco_ptr<Instruction>>& instructions = ctx.program->blocks[last_top_level_block_idx].in… in assign_spill_slots()
1696 instructions.emplace_back(aco_ptr<Instruction>(reload)); in assign_spill_slots()
1721 for (aco_ptr<Instruction>& instr : block.instructions) { in assign_spill_slots()
1736 aco_ptr<Instruction>& pred_instr = pred.instructions[i]; in assign_spill_slots()
1748 …aco_ptr<Instruction> destr{create_instruction<Pseudo_instruction>(aco_opcode::p_end_linear_vgpr, F… in assign_spill_slots()
1754 std::vector<aco_ptr<Instruction>>::iterator it = block.instructions.begin(); in assign_spill_slots()