• Home
  • Raw
  • Download

Lines Matching refs:definitions

114       encoding |= !instr->definitions.empty() ? instr->definitions[0].physReg() << 16 : 0;  in emit_instruction()
139 encoding |= !instr->definitions.empty() && !(instr->definitions[0].physReg() == scc) in emit_instruction()
140 ? instr->definitions[0].physReg() << 16 in emit_instruction()
154 encoding |= !instr->definitions.empty() ? instr->definitions[0].physReg() << 16 : 0; in emit_instruction()
182 bool soe = instr->operands.size() >= (!instr->definitions.empty() ? 3 : 4); in emit_instruction()
183 bool is_load = !instr->definitions.empty(); in emit_instruction()
189 encoding |= instr->definitions.size() ? instr->definitions[0].physReg() << 15 : 0; in emit_instruction()
231 encoding |= (is_load ? instr->definitions[0].physReg() : instr->operands[2].physReg()) in emit_instruction()
278 encoding |= (0xFF & instr->definitions[0].physReg()) << 17; in emit_instruction()
286 if (!instr->definitions.empty()) in emit_instruction()
287 encoding |= (0xFF & instr->definitions[0].physReg()) << 17; in emit_instruction()
319 encoding |= (0xFF & instr->definitions[0].physReg()); in emit_instruction()
340 encoding |= (0xFF & instr->definitions[0].physReg()) << 18; in emit_instruction()
366 unsigned reg = !instr->definitions.empty() ? instr->definitions[0].physReg() : 0; in emit_instruction()
407 : instr->definitions[0].physReg(); in emit_instruction()
441 : instr->definitions[0].physReg(); in emit_instruction()
480 if (!instr->definitions.empty()) { in emit_instruction()
481 encoding |= (0xFF & instr->definitions[0].physReg()) << 8; /* VDATA */ in emit_instruction()
539 if (!instr->definitions.empty()) in emit_instruction()
540 encoding |= (0xFF & instr->definitions[0].physReg()) << 24; in emit_instruction()
621 if (instr->definitions.size() == 2) in emit_instruction()
622 encoding |= instr->definitions[1].physReg() << 8; in emit_instruction()
623 encoding |= (0xFF & instr->definitions[0].physReg()); in emit_instruction()
655 encoding |= (0xFF & instr->definitions[0].physReg()); in emit_instruction()
699 if (instr->definitions[0].physReg() != vcc) { in emit_instruction()
700 encoding |= instr->definitions[0].physReg() << 8; in emit_instruction()
705 encoding |= sdwa.dst_sel.to_sdwa_sel(instr->definitions[0].physReg().byte()) << 8; in emit_instruction()
707 if (instr->definitions[0].bytes() < 4) /* dst_preserve */ in emit_instruction()
787 } else if ((*it)->definitions.size() && (*it)->definitions[0].physReg() == exec) in fix_exports()
867 Definition def_tmp_lo(branch->definitions[0].physReg(), s1); in emit_long_jump()
868 Operand op_tmp_lo(branch->definitions[0].physReg(), s1); in emit_long_jump()
869 Definition def_tmp_hi(branch->definitions[0].physReg().advance(4), s1); in emit_long_jump()
870 Operand op_tmp_hi(branch->definitions[0].physReg().advance(4), s1); in emit_long_jump()
891 instr.reset(bld.sop1(aco_opcode::s_getpc_b64, branch->definitions[0]).instr); in emit_long_jump()
912 bld.sop1(aco_opcode::s_setpc_b64, Operand(branch->definitions[0].physReg(), s2)).instr); in emit_long_jump()