Lines Matching refs:reload

348       aco_ptr<Pseudo_instruction> reload{
350 reload->operands[0] = Operand::c32(spill_id);
351 reload->definitions[0] = Definition(new_name);
353 return reload;
657 /* If it can be rematerialized, keep the variable spilled if all predecessors do not reload
789 /* variable is spilled at predecessor and live at current block: create reload instruction */
791 aco_ptr<Instruction> reload = do_reload(ctx, live.first, new_name, spills_exit_it->second);
792 instructions.emplace_back(std::move(reload));
824 * create reload instruction */
826 aco_ptr<Instruction> reload =
828 instructions.emplace_back(std::move(reload));
834 /* combine new reload instructions with original block */
981 /* iterate phis for which operands to reload */
1012 /* reload phi operand at end of predecessor block */
1022 aco_ptr<Instruction> reload =
1025 /* reload spilled exec mask directly to exec */
1028 reload->definitions[0] = phi->definitions[0];
1036 pred.instructions.insert(it, std::move(reload));
1040 /* iterate live variables for which to reload */
1041 // TODO: reload at current block if variable is spilled on all predecessors
1074 aco_ptr<Instruction> reload =
1076 pred.instructions.insert(it, std::move(reload));
1180 /* rename and reload operands */
1265 aco_ptr<Instruction> reload =
1267 instructions.emplace_back(std::move(reload));
1293 /* add spill/reload code on incoming control flow edges */
1583 /* after loops, we insert a user if there was a reload inside the loop */
1732 /* reload vgpr */
1800 /* reload sgpr: just add the vgpr temp to operands */
1801 Pseudo_instruction* reload = create_instruction<Pseudo_instruction>(
1803 reload->operands[0] = Operand(vgpr_spill_temps[spill_slot / ctx.wave_size]);
1804 reload->operands[1] = Operand::c32(spill_slot % ctx.wave_size);
1805 reload->definitions[0] = (*it)->definitions[0];
1806 instructions.emplace_back(aco_ptr<Instruction>(reload));