v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::CPURegister Class Reference

#include <register-arm64.h>

Inheritance diagram for v8::internal::CPURegister:
Collaboration diagram for v8::internal::CPURegister:

Public Types

enum  RegisterType : int8_t { kRegister , kVRegister , kNoRegister }
 

Public Member Functions

RegisterType type () const
 
int SizeInBits () const
 
int SizeInBytes () const
 
bool Is8Bits () const
 
bool Is16Bits () const
 
bool Is32Bits () const
 
bool Is64Bits () const
 
bool Is128Bits () const
 
bool IsNone () const
 
constexpr bool Aliases (const CPURegister &other) const
 
constexpr bool operator== (const CPURegister &other) const
 
constexpr bool operator!= (const CPURegister &other) const
 
bool IsZero () const
 
bool IsSP () const
 
bool IsRegister () const
 
bool IsVRegister () const
 
bool IsFPRegister () const
 
bool IsW () const
 
bool IsX () const
 
bool IsV () const
 
bool IsB () const
 
bool IsH () const
 
bool IsS () const
 
bool IsD () const
 
bool IsQ () const
 
Register Reg () const
 
VRegister VReg () const
 
Register X () const
 
Register W () const
 
VRegister V () const
 
VRegister B () const
 
VRegister H () const
 
VRegister D () const
 
VRegister S () const
 
VRegister Q () const
 
bool IsSameSizeAndType (const CPURegister &other) const
 
constexpr bool IsEven () const
 
int MaxCode () const
 
- Public Member Functions inherited from v8::internal::RegisterBase< CPURegister, kRegAfterLast >
constexpr bool is_valid () const
 
constexpr int8_t code () const
 
constexpr bool operator== (const RegisterBase< CPURegister, kAfterLastRegister > &other) const
 
constexpr bool operator!= (const RegisterBase< CPURegister, kAfterLastRegister > &other) const
 

Static Public Member Functions

static constexpr CPURegister no_reg ()
 
static constexpr CPURegister Create (int code, int size, RegisterType type)
 
- Static Public Member Functions inherited from v8::internal::RegisterBase< CPURegister, kRegAfterLast >
static constexpr CPURegister no_reg ()
 
static constexpr CPURegister from_code (int8_t code)
 
static const char * GetSpecialRegisterName (int code)
 

Protected Member Functions

constexpr CPURegister (int code, int size, RegisterType type)
 
- Protected Member Functions inherited from v8::internal::RegisterBase< CPURegister, kRegAfterLast >
constexpr RegisterBase (int code)
 

Static Protected Member Functions

static constexpr bool IsValidRegister (int code, int size)
 
static constexpr bool IsValidVRegister (int code, int size)
 
static constexpr bool IsValid (int code, int size, RegisterType type)
 
static constexpr bool IsNone (int code, int size, RegisterType type)
 

Protected Attributes

uint8_t reg_size_
 
RegisterType reg_type_
 

Friends

class RegisterBase
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::RegisterBase< CPURegister, kRegAfterLast >
static constexpr int8_t kCode_no_reg
 
static constexpr int8_t kNumRegisters
 

Detailed Description

Definition at line 97 of file register-arm64.h.

Member Enumeration Documentation

◆ RegisterType

Enumerator
kRegister 
kVRegister 
kNoRegister 

Definition at line 99 of file register-arm64.h.

Constructor & Destructor Documentation

◆ CPURegister()

v8::internal::CPURegister::CPURegister ( int code,
int size,
RegisterType type )
inlineconstexprprotected

Definition at line 212 of file register-arm64.h.

Member Function Documentation

◆ Aliases()

bool v8::internal::CPURegister::Aliases ( const CPURegister & other) const
inlineconstexpr

Definition at line 141 of file register-arm64.h.

Here is the call graph for this function:

◆ B()

VRegister v8::internal::CPURegister::B ( ) const
inline

Definition at line 172 of file assembler-arm64-inl.h.

Here is the call graph for this function:

◆ Create()

static constexpr CPURegister v8::internal::CPURegister::Create ( int code,
int size,
RegisterType type )
inlinestaticconstexpr

Definition at line 105 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ D()

VRegister v8::internal::CPURegister::D ( ) const
inline

Definition at line 187 of file assembler-arm64-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ H()

VRegister v8::internal::CPURegister::H ( ) const
inline

Definition at line 177 of file assembler-arm64-inl.h.

Here is the call graph for this function:

◆ Is128Bits()

bool v8::internal::CPURegister::Is128Bits ( ) const
inline

Definition at line 136 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Is16Bits()

bool v8::internal::CPURegister::Is16Bits ( ) const
inline

Definition at line 124 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Is32Bits()

bool v8::internal::CPURegister::Is32Bits ( ) const
inline

Definition at line 128 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Is64Bits()

bool v8::internal::CPURegister::Is64Bits ( ) const
inline

Definition at line 132 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Is8Bits()

bool v8::internal::CPURegister::Is8Bits ( ) const
inline

Definition at line 120 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsB()

bool v8::internal::CPURegister::IsB ( ) const
inline

Definition at line 171 of file register-arm64.h.

Here is the call graph for this function:

◆ IsD()

bool v8::internal::CPURegister::IsD ( ) const
inline

Definition at line 174 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsEven()

bool v8::internal::CPURegister::IsEven ( ) const
inlineconstexpr

Definition at line 191 of file register-arm64.h.

Here is the call graph for this function:

◆ IsFPRegister()

bool v8::internal::CPURegister::IsFPRegister ( ) const
inline

Definition at line 159 of file register-arm64.h.

Here is the call graph for this function:

◆ IsH()

bool v8::internal::CPURegister::IsH ( ) const
inline

Definition at line 172 of file register-arm64.h.

Here is the call graph for this function:

◆ IsNone() [1/2]

bool v8::internal::CPURegister::IsNone ( ) const
inline

Definition at line 140 of file register-arm64.h.

Here is the caller graph for this function:

◆ IsNone() [2/2]

static constexpr bool v8::internal::CPURegister::IsNone ( int code,
int size,
RegisterType type )
inlinestaticconstexprprotected

Definition at line 232 of file register-arm64.h.

◆ IsQ()

bool v8::internal::CPURegister::IsQ ( ) const
inline

Definition at line 175 of file register-arm64.h.

Here is the call graph for this function:

◆ IsRegister()

bool v8::internal::CPURegister::IsRegister ( ) const
inline

Definition at line 156 of file register-arm64.h.

Here is the caller graph for this function:

◆ IsS()

bool v8::internal::CPURegister::IsS ( ) const
inline

Definition at line 173 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsSameSizeAndType()

bool v8::internal::CPURegister::IsSameSizeAndType ( const CPURegister & other) const
inline

Definition at line 46 of file assembler-arm64-inl.h.

◆ IsSP()

bool v8::internal::CPURegister::IsSP ( ) const
inline

Definition at line 55 of file assembler-arm64-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsV()

bool v8::internal::CPURegister::IsV ( ) const
inline

Definition at line 170 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsValid()

static constexpr bool v8::internal::CPURegister::IsValid ( int code,
int size,
RegisterType type )
inlinestaticconstexprprotected

Definition at line 227 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsValidRegister()

static constexpr bool v8::internal::CPURegister::IsValidRegister ( int code,
int size )
inlinestaticconstexprprotected

Definition at line 215 of file register-arm64.h.

Here is the caller graph for this function:

◆ IsValidVRegister()

static constexpr bool v8::internal::CPURegister::IsValidVRegister ( int code,
int size )
inlinestaticconstexprprotected

Definition at line 220 of file register-arm64.h.

Here is the caller graph for this function:

◆ IsVRegister()

bool v8::internal::CPURegister::IsVRegister ( ) const
inline

Definition at line 157 of file register-arm64.h.

Here is the caller graph for this function:

◆ IsW()

bool v8::internal::CPURegister::IsW ( ) const
inline

Definition at line 161 of file register-arm64.h.

Here is the call graph for this function:

◆ IsX()

bool v8::internal::CPURegister::IsX ( ) const
inline

Definition at line 162 of file register-arm64.h.

Here is the call graph for this function:

◆ IsZero()

bool v8::internal::CPURegister::IsZero ( ) const
inline

Definition at line 50 of file assembler-arm64-inl.h.

Here is the call graph for this function:

◆ MaxCode()

int v8::internal::CPURegister::MaxCode ( ) const
inline

Definition at line 193 of file register-arm64.h.

Here is the call graph for this function:

◆ no_reg()

static constexpr CPURegister v8::internal::CPURegister::no_reg ( )
inlinestaticconstexpr

Definition at line 101 of file register-arm64.h.

Here is the caller graph for this function:

◆ operator!=()

bool v8::internal::CPURegister::operator!= ( const CPURegister & other) const
inlineconstexpr

Definition at line 149 of file register-arm64.h.

Here is the call graph for this function:

◆ operator==()

bool v8::internal::CPURegister::operator== ( const CPURegister & other) const
inlineconstexpr

Definition at line 145 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Q()

VRegister v8::internal::CPURegister::Q ( ) const
inline

Definition at line 192 of file assembler-arm64-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reg()

Register v8::internal::CPURegister::Reg ( ) const
inline

Definition at line 152 of file assembler-arm64-inl.h.

Here is the call graph for this function:

◆ S()

VRegister v8::internal::CPURegister::S ( ) const
inline

Definition at line 182 of file assembler-arm64-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SizeInBits()

int v8::internal::CPURegister::SizeInBits ( ) const
inline

Definition at line 111 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SizeInBytes()

int v8::internal::CPURegister::SizeInBytes ( ) const
inline

Definition at line 115 of file register-arm64.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ type()

RegisterType v8::internal::CPURegister::type ( ) const
inline

Definition at line 110 of file register-arm64.h.

Here is the caller graph for this function:

◆ V()

VRegister v8::internal::CPURegister::V ( ) const
inline

Definition at line 167 of file assembler-arm64-inl.h.

Here is the call graph for this function:

◆ VReg()

VRegister v8::internal::CPURegister::VReg ( ) const
inline

Definition at line 157 of file assembler-arm64-inl.h.

Here is the call graph for this function:

◆ W()

Register v8::internal::CPURegister::W ( ) const
inline

Definition at line 147 of file assembler-arm64-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ X()

Register v8::internal::CPURegister::X ( ) const
inline

Definition at line 162 of file assembler-arm64-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ RegisterBase

friend class RegisterBase
friend

Definition at line 209 of file register-arm64.h.

Member Data Documentation

◆ reg_size_

uint8_t v8::internal::CPURegister::reg_size_
protected

Definition at line 202 of file register-arm64.h.

◆ reg_type_

RegisterType v8::internal::CPURegister::reg_type_
protected

Definition at line 203 of file register-arm64.h.


The documentation for this class was generated from the following files: