Lines Matching refs:physReg

64       reg = def.physReg();
328 fill_subdword(op.physReg(), op.bytes(), op.tempId());
330 fill(op.physReg(), op.size(), op.tempId());
333 void clear(Operand op) { clear(op.physReg(), op.regClass()); }
338 fill_subdword(def.physReg(), def.bytes(), def.tempId());
340 fill(def.physReg(), def.size(), def.tempId());
343 void clear(Definition def) { clear(def.physReg(), def.regClass()); }
791 def.setFixed(it->second.physReg());
793 ctx.assignments[def.tempId()].reg = def.physReg();
807 other.second.setFixed(it->second.physReg());
808 ctx.assignments[other.second.tempId()].reg = other.second.physReg();
816 op.setFixed(other.second.physReg());
830 ctx.assignments.emplace_back(copy.second.physReg(), copy.second.regClass());
843 PhysReg def_reg = pc.second.physReg();
844 omit_renaming &= def_reg > copy.first.physReg()
845 ? (copy.first.physReg() + copy.first.size() <= def_reg.reg())
846 : (def_reg + pc.second.size() <= copy.first.physReg().reg());
857 op.setFixed(copy.second.physReg());
1253 if (op.isTemp() && op.isFirstKillBeforeDef() && bounds.contains(op.physReg()) &&
1254 !reg_file.test(PhysReg{op.physReg().reg()}, align(op.bytes() + op.physReg().byte(), 4))) {
1258 is_killed_operand[(op.physReg() & 0xff) + i] = true;
1740 if (offset > instr->operands[i].physReg().reg_b)
1743 unsigned reg_lower = instr->operands[i].physReg().reg_b - offset;
1799 if (op.isTemp() && op.physReg().reg_b == reg_win.lo() * 4 + offset2)
1917 return instr->operands[idx].physReg() == reg;
1925 (!instr->operands[!idx].isFixed() || instr->operands[!idx].physReg() != m0);
1959 assert(operand.physReg() != src);
1962 if (register_file.test(operand.physReg(), operand.bytes())) {
1963 PhysRegInterval target{operand.physReg(), operand.size()};
1970 tmp_file.block(operand.physReg(), operand.regClass());
1976 dst = operand.physReg();
2014 prev_phi->definitions[0].setFixed(pc.second.physReg());
2016 ctx.assignments[prev_phi->definitions[0].tempId()] = {pc.second.physReg(),
2073 PhysReg reg = phi->operands[0].physReg();
2075 { return op.isTemp() && (!op.isFixed() || op.physReg() == reg); };
2113 PhysReg reg = op.physReg();
2410 instr->operands[1].isFixed() && instr->operands[1].physReg() == exec)
2561 instr->usesModifiers() || instr->operands[0].physReg().byte() != 0 ||
2562 instr->operands[1].physReg().byte() != 0 || instr->operands[2].physReg().byte() != 0)
2571 if (affinity.assigned && affinity.reg != instr->operands[2].physReg() &&
2612 instr->operands[!literal_idx].physReg() >= 128)
2626 if (affinity.assigned && affinity.reg != instr->operands[!literal_idx].physReg() &&
2774 ctx.war_hint.set(operand.physReg().reg() + j);
2803 instr->definitions[0].setFixed(instr->operands[2].physReg());
2808 instr->definitions[0].setFixed(instr->operands[0].physReg());
2812 instr->definitions[0].setFixed(instr->operands[3].physReg());
2816 instr->definitions[0].setFixed(instr->operands[2].physReg());
2827 adjust_max_used_regs(ctx, definition.regClass(), definition.physReg());
2829 if (register_file.test(definition.physReg(), definition.bytes())) {
2830 const PhysRegInterval def_regs{definition.physReg(), definition.size()};
2868 PhysReg reg = instr->operands[0].physReg();
2882 reg = instr->definitions[i - 1].physReg();
2889 PhysReg reg = instr->operands[i].physReg();
2895 PhysReg reg = instr->operands[0].physReg();
2926 ((definition->getTemp().type() == RegType::vgpr && definition->physReg() >= 256) ||
2927 (definition->getTemp().type() != RegType::vgpr && definition->physReg() < 256)));
2945 if (op.isTemp() && op.physReg().byte() != 0)
2946 add_subdword_operand(ctx, instr, i, op.physReg().byte(), op.regClass());
2964 unsigned reg = parallelcopy[i].first.physReg().reg();
2968 reg = parallelcopy[i].second.physReg().reg();
2997 tmp_file.block(op.physReg(), op.regClass());
3011 ((instr->format == Format::VOPC && !(instr->definitions[0].physReg() == vcc)) ||
3013 !(instr->operands[2].physReg() == vcc)) ||
3020 !(instr->definitions[1].physReg() == vcc)) ||
3024 !(instr->operands[2].physReg() == vcc)));
3044 tmp_file.block(op.physReg(), op.regClass());