Lines Matching refs:aco_ptr
186 aco_ptr<Instruction>& instr = block->instructions[idx]; in next_uses_per_block()
211 aco_ptr<Instruction>& instr = block->instructions[idx]; in next_uses_per_block()
282 should_rematerialize(aco_ptr<Instruction>& instr) in should_rematerialize()
309 aco_ptr<Instruction>
322 aco_ptr<Instruction> res; in do_reload()
348 aco_ptr<Pseudo_instruction> reload{ in do_reload()
362 for (aco_ptr<Instruction>& instr : block.instructions) { in get_rematerialize_info()
397 aco_ptr<Instruction>& instr = block->instructions[idx]; in update_local_next_uses()
439 aco_ptr<Instruction>& instr = ctx.program->blocks[block_idx].instructions[idx]; in get_demand_before()
440 aco_ptr<Instruction> instr_before(nullptr); in get_demand_before()
453 for (aco_ptr<Instruction>& phi : block.instructions) { in get_live_in_demand()
692 for (aco_ptr<Instruction>& phi : block->instructions) { in init_live_in_vars()
760 std::vector<aco_ptr<Instruction>> instructions; in add_coupling_code()
791 aco_ptr<Instruction> reload = do_reload(ctx, live.first, new_name, spills_exit_it->second); in add_coupling_code()
826 aco_ptr<Instruction> reload = in add_coupling_code()
841 std::move_iterator<std::vector<aco_ptr<Instruction>>::iterator>( in add_coupling_code()
843 std::move_iterator<std::vector<aco_ptr<Instruction>>::iterator>( in add_coupling_code()
855 for (aco_ptr<Instruction>& phi : block->instructions) { in add_coupling_code()
908 aco_ptr<Pseudo_instruction> spill{ in add_coupling_code()
919 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code()
964 aco_ptr<Pseudo_instruction> spill{ in add_coupling_code()
975 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code()
982 for (aco_ptr<Instruction>& phi : instructions) { in add_coupling_code()
1021 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code()
1022 aco_ptr<Instruction> reload = in add_coupling_code()
1072 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code()
1074 aco_ptr<Instruction> reload = in add_coupling_code()
1105 aco_ptr<Pseudo_instruction> phi{ in add_coupling_code()
1146 std::vector<aco_ptr<Instruction>>::iterator start = std::next(block->instructions.begin(), idx); in add_coupling_code()
1148 instructions.end(), std::move_iterator<std::vector<aco_ptr<Instruction>>::iterator>(start), in add_coupling_code()
1149 std::move_iterator<std::vector<aco_ptr<Instruction>>::iterator>(block->instructions.end())); in add_coupling_code()
1158 std::vector<aco_ptr<Instruction>> instructions; in process_block()
1176 aco_ptr<Instruction>& instr = block->instructions[idx]; in process_block()
1255 aco_ptr<Pseudo_instruction> spill{ in process_block()
1265 aco_ptr<Instruction> reload = in process_block()
1334 std::vector<aco_ptr<Instruction>>::iterator instr_it = current.instructions.begin(); in spill_block()
1338 aco_ptr<Instruction>& phi = *instr_it; in spill_block()
1368 aco_ptr<Instruction>& instr = *instr_it; in spill_block()
1390 std::vector<aco_ptr<Instruction>>& instructions, unsigned offset, in load_scratch_resource()
1592 aco_ptr<Instruction> destr{create_instruction<Pseudo_instruction>( in assign_spill_slots()
1601 std::vector<aco_ptr<Instruction>>::iterator it = block.instructions.begin(); in assign_spill_slots()
1630 std::vector<aco_ptr<Instruction>>::iterator it; in assign_spill_slots()
1631 std::vector<aco_ptr<Instruction>> instructions; in assign_spill_slots()
1700 aco_ptr<Pseudo_instruction> create{create_instruction<Pseudo_instruction>( in assign_spill_slots()
1710 std::vector<aco_ptr<Instruction>>& block_instrs = in assign_spill_slots()
1722 instructions.emplace_back(aco_ptr<Instruction>(spill)); in assign_spill_slots()
1784 aco_ptr<Pseudo_instruction> create{create_instruction<Pseudo_instruction>( in assign_spill_slots()
1794 std::vector<aco_ptr<Instruction>>& block_instrs = in assign_spill_slots()
1806 instructions.emplace_back(aco_ptr<Instruction>(reload)); in assign_spill_slots()
1831 for (aco_ptr<Instruction>& instr : block.instructions) { in assign_spill_slots()
1846 aco_ptr<Instruction>& pred_instr = pred.instructions[i]; in assign_spill_slots()
1858 aco_ptr<Instruction> destr{create_instruction<Pseudo_instruction>( in assign_spill_slots()
1865 std::vector<aco_ptr<Instruction>>::iterator it = block.instructions.begin(); in assign_spill_slots()