Lines Matching refs:definitions
116 encoding |= !instr->definitions.empty() ? instr->definitions[0].physReg() << 16 : 0; in emit_instruction()
141 encoding |= !instr->definitions.empty() && !(instr->definitions[0].physReg() == scc) in emit_instruction()
142 ? instr->definitions[0].physReg() << 16 in emit_instruction()
152 encoding |= !instr->definitions.empty() ? instr->definitions[0].physReg() << 16 : 0; in emit_instruction()
180 bool soe = instr->operands.size() >= (!instr->definitions.empty() ? 3 : 4); in emit_instruction()
181 bool is_load = !instr->definitions.empty(); in emit_instruction()
187 encoding |= instr->definitions.size() ? instr->definitions[0].physReg() << 15 : 0; in emit_instruction()
229 encoding |= (is_load ? instr->definitions[0].physReg() : instr->operands[2].physReg()) in emit_instruction()
276 encoding |= (0xFF & instr->definitions[0].physReg()) << 17; in emit_instruction()
284 if (!instr->definitions.empty()) in emit_instruction()
285 encoding |= (0xFF & instr->definitions[0].physReg()) << 17; in emit_instruction()
317 encoding |= (0xFF & instr->definitions[0].physReg()); in emit_instruction()
338 encoding |= (0xFF & instr->definitions[0].physReg()) << 18; in emit_instruction()
364 unsigned reg = !instr->definitions.empty() ? instr->definitions[0].physReg() : 0; in emit_instruction()
405 : instr->definitions[0].physReg(); in emit_instruction()
439 : instr->definitions[0].physReg(); in emit_instruction()
478 if (!instr->definitions.empty()) { in emit_instruction()
479 encoding |= (0xFF & instr->definitions[0].physReg()) << 8; /* VDATA */ in emit_instruction()
540 if (!instr->definitions.empty()) in emit_instruction()
541 encoding |= (0xFF & instr->definitions[0].physReg()) << 24; in emit_instruction()
626 if (instr->definitions.size() == 2) in emit_instruction()
627 encoding |= instr->definitions[1].physReg() << 8; in emit_instruction()
628 encoding |= (0xFF & instr->definitions[0].physReg()); in emit_instruction()
664 encoding |= (0xFF & instr->definitions[0].physReg()); in emit_instruction()
723 if (instr->definitions[0].physReg() != vcc) { in emit_instruction()
724 encoding |= instr->definitions[0].physReg() << 8; in emit_instruction()
729 encoding |= sdwa.dst_sel.to_sdwa_sel(instr->definitions[0].physReg().byte()) << 8; in emit_instruction()
731 if (instr->definitions[0].bytes() < 4) /* dst_preserve */ in emit_instruction()
813 } else if ((*it)->definitions.size() && (*it)->definitions[0].physReg() == exec) { in fix_exports()
899 Definition def_tmp_lo(branch->definitions[0].physReg(), s1); in emit_long_jump()
900 Operand op_tmp_lo(branch->definitions[0].physReg(), s1); in emit_long_jump()
901 Definition def_tmp_hi(branch->definitions[0].physReg().advance(4), s1); in emit_long_jump()
902 Operand op_tmp_hi(branch->definitions[0].physReg().advance(4), s1); in emit_long_jump()
923 instr.reset(bld.sop1(aco_opcode::s_getpc_b64, branch->definitions[0]).instr); in emit_long_jump()
941 bld.sop1(aco_opcode::s_setpc_b64, Operand(branch->definitions[0].physReg(), s2)).instr); in emit_long_jump()