Lines Matching defs:phys_reg
81 bool getReg(PhysRegIdPtr phys_reg) const
83 assert(phys_reg->flatIndex() < numPhysRegs);
85 if (phys_reg->isFixedMapping()) {
90 bool ready = regScoreBoard[phys_reg->flatIndex()];
92 if (phys_reg->isZeroReg())
99 void setReg(PhysRegIdPtr phys_reg)
101 assert(phys_reg->flatIndex() < numPhysRegs);
103 if (phys_reg->isFixedMapping()) {
110 phys_reg->index(), phys_reg->className());
112 regScoreBoard[phys_reg->flatIndex()] = true;
116 void unsetReg(PhysRegIdPtr phys_reg)
118 assert(phys_reg->flatIndex() < numPhysRegs);
120 if (phys_reg->isFixedMapping()) {
127 if (phys_reg->isZeroReg())
130 regScoreBoard[phys_reg->flatIndex()] = false;