Lines Matching refs:reg_code
121 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
122 bool is(Register reg) const { return reg_code == reg.reg_code; }
125 return reg_code;
129 return 1 << reg_code;
132 reg_code = code;
137 int reg_code;
164 bool is_valid() const { return 0 <= reg_code && reg_code < 32; }
165 bool is(SwVfpRegister reg) const { return reg_code == reg.reg_code; }
168 return reg_code;
172 return 1 << reg_code;
180 *m = reg_code & 0x1;
181 *vm = reg_code >> 1;
184 int reg_code;
209 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; }
210 bool is(DwVfpRegister reg) const { return reg_code == reg.reg_code; }
213 return reg_code;
217 return 1 << reg_code;
226 *m = (reg_code & 0x10) >> 4;
227 *vm = reg_code & 0x0F;
230 int reg_code;
242 DwVfpRegister r = { reg_code };
251 return 0 <= reg_code && reg_code < kMaxNumLowRegisters;
253 bool is(DwVfpRegister reg) const { return reg_code == reg.reg_code; }
254 bool is(LowDwVfpRegister reg) const { return reg_code == reg.reg_code; }
257 return reg_code;
261 reg.reg_code = reg_code * 2;
268 reg.reg_code = (reg_code * 2) + 1;
274 int reg_code;
288 return (0 <= reg_code) && (reg_code < kMaxNumRegisters);
290 bool is(QwNeonRegister reg) const { return reg_code == reg.reg_code; }
293 return reg_code;
297 int encoded_code = reg_code << 1;
302 int reg_code;
408 bool is_valid() const { return 0 <= reg_code && reg_code < 16; }
409 bool is(CRegister creg) const { return reg_code == creg.reg_code; }
412 return reg_code;
416 return 1 << reg_code;
420 int reg_code;