Lines Matching refs:instr
1784 is_phi(Instruction* instr)
1786 return instr->opcode == aco_opcode::p_phi || instr->opcode == aco_opcode::p_linear_phi;
1790 is_phi(aco_ptr<Instruction>& instr)
1792 return is_phi(instr.get());
1795 memory_sync_info get_sync_info(const Instruction* instr);
1797 bool is_dead(const std::vector<uint16_t>& uses, Instruction* instr);
1801 bool can_use_SDWA(amd_gfx_level gfx_level, const aco_ptr<Instruction>& instr, bool pre_ra);
1802 bool can_use_DPP(const aco_ptr<Instruction>& instr, bool pre_ra, bool dpp8);
1803 /* updates "instr" and returns the old instruction (or NULL if no update was needed) */
1804 aco_ptr<Instruction> convert_to_SDWA(amd_gfx_level gfx_level, aco_ptr<Instruction>& instr);
1805 aco_ptr<Instruction> convert_to_DPP(aco_ptr<Instruction>& instr, bool dpp8);
1806 bool needs_exec_mask(const Instruction* instr);
1816 bool can_swap_operands(aco_ptr<Instruction>& instr, aco_opcode* new_op);
1820 unsigned get_mimg_nsa_dwords(const Instruction* instr);
2247 void perfwarn(Program* program, bool cond, const char* msg, Instruction* instr = NULL);
2266 void aco_print_instr(const Instruction* instr, FILE* output, unsigned flags = 0);
2278 RegisterDemand get_live_changes(aco_ptr<Instruction>& instr);
2279 RegisterDemand get_temp_registers(aco_ptr<Instruction>& instr);
2280 RegisterDemand get_demand_before(RegisterDemand demand, aco_ptr<Instruction>& instr,