Home
last modified time | relevance | path

Searched refs:kHardRegs (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/backend/x86_64/
Dcode_debug.cc34 static const char* kHardRegs[] = { in GetMachineHardRegDebugName() local
40 CHECK_LT(static_cast<unsigned>(r.reg()), std::size(kHardRegs)); in GetMachineHardRegDebugName()
41 return kHardRegs[r.reg()]; in GetMachineHardRegDebugName()
Dcode_emit.cc164 static constexpr Assembler::Register kHardRegs[] = {Assembler::no_register, in GetGReg() local
181 CHECK_LT(static_cast<unsigned>(r.reg()), std::size(kHardRegs)); in GetGReg()
182 return kHardRegs[r.reg()]; in GetGReg()
186 static constexpr Assembler::XMMRegister kHardRegs[] = { in GetXReg() local
205 CHECK_LT(static_cast<unsigned>(r.reg() - kMachineRegXMM0.reg()), std::size(kHardRegs)); in GetXReg()
206 return kHardRegs[r.reg() - kMachineRegXMM0.reg()]; in GetXReg()