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

#include <reglist-arm64.h>

Collaboration diagram for v8::internal::CPURegList:

Public Member Functions

template<typename... CPURegisters>
 CPURegList (CPURegister reg0, CPURegisters... regs)
 
 CPURegList (int size, RegList list)
 
 CPURegList (int size, DoubleRegList list)
 
 CPURegList (CPURegister::RegisterType type, int size, int first_reg, int last_reg)
 
CPURegister::RegisterType type () const
 
uint64_t bits () const
 
void set_bits (uint64_t new_bits)
 
void Combine (const CPURegList &other)
 
void Remove (const CPURegList &other)
 
void Combine (const CPURegister &other)
 
void Remove (const CPURegister &other1, const CPURegister &other2=NoCPUReg, const CPURegister &other3=NoCPUReg, const CPURegister &other4=NoCPUReg)
 
void Combine (int code)
 
void Remove (int code)
 
void Align ()
 
CPURegister PopLowestIndex ()
 
CPURegister PopHighestIndex ()
 
bool IsEmpty () const
 
bool IncludesAliasOf (const CPURegister &other1, const CPURegister &other2=NoCPUReg, const CPURegister &other3=NoCPUReg, const CPURegister &other4=NoCPUReg) const
 
int Count () const
 
int RegisterSizeInBits () const
 
int RegisterSizeInBytes () const
 
int TotalSizeInBytes () const
 

Static Public Member Functions

static CPURegList GetCalleeSaved (int size=kXRegSizeInBits)
 
static CPURegList GetCalleeSavedV (int size=kDRegSizeInBits)
 
static CPURegList GetCallerSaved (int size=kXRegSizeInBits)
 
static CPURegList GetCallerSavedV (int size=kDRegSizeInBits)
 

Private Member Functions

bool is_valid () const
 

Private Attributes

uint64_t list_
 
int size_
 
CPURegister::RegisterType type_
 

Detailed Description

Definition at line 25 of file reglist-arm64.h.

Constructor & Destructor Documentation

◆ CPURegList() [1/4]

template<typename... CPURegisters>
v8::internal::CPURegList::CPURegList ( CPURegister reg0,
CPURegisters... regs )
inlineexplicit

Definition at line 28 of file reglist-arm64.h.

Here is the call graph for this function:

◆ CPURegList() [2/4]

v8::internal::CPURegList::CPURegList ( int size,
RegList list )
inline

Definition at line 37 of file reglist-arm64.h.

◆ CPURegList() [3/4]

v8::internal::CPURegList::CPURegList ( int size,
DoubleRegList list )
inline

Definition at line 42 of file reglist-arm64.h.

◆ CPURegList() [4/4]

v8::internal::CPURegList::CPURegList ( CPURegister::RegisterType type,
int size,
int first_reg,
int last_reg )
inline

Definition at line 47 of file reglist-arm64.h.

Member Function Documentation

◆ Align()

void v8::internal::CPURegList::Align ( )

◆ bits()

uint64_t v8::internal::CPURegList::bits ( ) const
inline

Definition at line 62 of file reglist-arm64.h.

◆ Combine() [1/3]

void v8::internal::CPURegList::Combine ( const CPURegister & other)
inline

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

Here is the call graph for this function:

◆ Combine() [2/3]

void v8::internal::CPURegList::Combine ( const CPURegList & other)
inline

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

Here is the caller graph for this function:

◆ Combine() [3/3]

void v8::internal::CPURegList::Combine ( int code)
inline

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

Here is the call graph for this function:

◆ Count()

int v8::internal::CPURegList::Count ( ) const
inline

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

Here is the call graph for this function:

◆ GetCalleeSaved()

static CPURegList v8::internal::CPURegList::GetCalleeSaved ( int size = kXRegSizeInBits)
static

◆ GetCalleeSavedV()

static CPURegList v8::internal::CPURegList::GetCalleeSavedV ( int size = kDRegSizeInBits)
static

◆ GetCallerSaved()

static CPURegList v8::internal::CPURegList::GetCallerSaved ( int size = kXRegSizeInBits)
static

◆ GetCallerSavedV()

static CPURegList v8::internal::CPURegList::GetCallerSavedV ( int size = kDRegSizeInBits)
static

◆ IncludesAliasOf()

bool v8::internal::CPURegList::IncludesAliasOf ( const CPURegister & other1,
const CPURegister & other2 = NoCPUReg,
const CPURegister & other3 = NoCPUReg,
const CPURegister & other4 = NoCPUReg ) const
inline

Definition at line 108 of file reglist-arm64.h.

Here is the call graph for this function:

◆ is_valid()

bool v8::internal::CPURegList::is_valid ( ) const
inlineprivate

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

Here is the caller graph for this function:

◆ IsEmpty()

bool v8::internal::CPURegList::IsEmpty ( ) const
inline

Definition at line 106 of file reglist-arm64.h.

Here is the caller graph for this function:

◆ PopHighestIndex()

CPURegister v8::internal::CPURegList::PopHighestIndex ( )
Here is the caller graph for this function:

◆ PopLowestIndex()

CPURegister v8::internal::CPURegList::PopLowestIndex ( )

◆ RegisterSizeInBits()

int v8::internal::CPURegList::RegisterSizeInBits ( ) const
inline

Definition at line 130 of file reglist-arm64.h.

◆ RegisterSizeInBytes()

int v8::internal::CPURegList::RegisterSizeInBytes ( ) const
inline

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

◆ Remove() [1/3]

void v8::internal::CPURegList::Remove ( const CPURegister & other1,
const CPURegister & other2 = NoCPUReg,
const CPURegister & other3 = NoCPUReg,
const CPURegister & other4 = NoCPUReg )
inline

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

Here is the call graph for this function:

◆ Remove() [2/3]

void v8::internal::CPURegList::Remove ( const CPURegList & other)
inline

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

Here is the caller graph for this function:

◆ Remove() [3/3]

void v8::internal::CPURegList::Remove ( int code)
inline

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

Here is the call graph for this function:

◆ set_bits()

void v8::internal::CPURegList::set_bits ( uint64_t new_bits)
inline

Definition at line 64 of file reglist-arm64.h.

◆ TotalSizeInBytes()

int v8::internal::CPURegList::TotalSizeInBytes ( ) const
inline

Definition at line 138 of file reglist-arm64.h.

◆ type()

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

Definition at line 60 of file reglist-arm64.h.

Member Data Documentation

◆ list_

uint64_t v8::internal::CPURegList::list_
private

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

◆ size_

int v8::internal::CPURegList::size_
private

Definition at line 142 of file reglist-arm64.h.

◆ type_

CPURegister::RegisterType v8::internal::CPURegList::type_
private

Definition at line 143 of file reglist-arm64.h.


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