5#ifndef RUNTIME_VM_CONSTANTS_H_
6#define RUNTIME_VM_CONSTANTS_H_
8#if defined(TARGET_ARCH_IA32)
10#elif defined(TARGET_ARCH_X64)
12#elif defined(TARGET_ARCH_ARM)
14#elif defined(TARGET_ARCH_ARM64)
16#elif defined(TARGET_ARCH_RISCV32) || defined(TARGET_ARCH_RISCV64)
19#error Unknown architecture.
58#if defined(TARGET_ARCH_ARM)
59 static const char* FpuSRegisterName(
SRegister reg) {
63 static const char* FpuDRegisterName(
DRegister reg) {
69#if defined(TARGET_ARCH_X64) || defined(TARGET_ARCH_IA32)
89#if !defined(TARGET_ARCH_IA32)
#define RELEASE_ASSERT(cond)
static constexpr intptr_t kCalleeSaveCpuRegisters
static constexpr intptr_t kFpuArgumentRegisters
static constexpr intptr_t kArgumentRegisters
static const char * FpuRegisterName(FpuRegister reg)
static const char * RegisterName(Register reg)
static const char * RegisterAbiName(Register reg)
static constexpr int ShiftForPowerOfTwo(T x)
constexpr bool IsAbiPreservedRegister(Register reg)
static Utils::BitsRange< Register > RegisterRange(uint32_t regs)
static constexpr bool IsCalleeSavedRegister(Register reg)
const char *const fpu_reg_names[kNumberOfFpuRegisters]
const int kNumberOfFpuRegisters
const RegList kAbiPreservedCpuRegs
static constexpr bool IsArgumentRegister(Register reg)
const char *const fpu_d_reg_names[kNumberOfDRegisters]
static constexpr bool IsFpuArgumentRegister(FpuRegister reg)
const char *const cpu_reg_names[kNumberOfCpuRegisters]
const char *const cpu_reg_byte_names[kNumberOfByteRegisters]
static ScaleFactor ToScaleFactor(intptr_t index_scale, bool index_unboxed)
const char *const fpu_s_reg_names[kNumberOfSRegisters]
const char *const cpu_reg_abi_names[kNumberOfCpuRegisters]
static constexpr Register kFunctionTypeArgumentsReg
static constexpr Register kTypeReg
static constexpr Register kScratchReg
static constexpr Register kInstantiatorTypeArgumentsReg
static constexpr Register kResultTypeReg
static constexpr Register kInstantiatorTypeArgumentsReg
static constexpr Register kScratchReg
static constexpr Register kResultTypeReg
static constexpr Register kUninstantiatedTypeArgumentsReg
static constexpr Register kFunctionTypeArgumentsReg