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

#include <liftoff-register.h>

Collaboration diagram for v8::internal::wasm::LiftoffRegister:

Public Member Functions

constexpr LiftoffRegister (Register reg)
 
constexpr LiftoffRegister (DoubleRegister reg)
 
constexpr bool is_pair () const
 
constexpr bool is_gp_pair () const
 
constexpr bool is_fp_pair () const
 
constexpr bool is_gp () const
 
constexpr bool is_fp () const
 
LiftoffRegister low () const
 
LiftoffRegister high () const
 
Register low_gp () const
 
Register high_gp () const
 
DoubleRegister low_fp () const
 
DoubleRegister high_fp () const
 
constexpr Register gp () const
 
constexpr DoubleRegister fp () const
 
constexpr int liftoff_code () const
 
constexpr RegClass reg_class () const
 
bool operator== (const LiftoffRegister other) const
 
bool overlaps (const LiftoffRegister other) const
 

Static Public Member Functions

static LiftoffRegister from_liftoff_code (int code)
 
static LiftoffRegister from_code (RegClass rc, int code)
 
static LiftoffRegister from_external_code (RegClass rc, ValueKind kind, int code)
 
static LiftoffRegister ForPair (Register low, Register high)
 
static LiftoffRegister ForFpPair (DoubleRegister low)
 

Private Types

using storage_t
 

Private Member Functions

constexpr LiftoffRegister (storage_t code)
 

Private Attributes

storage_t code_
 

Static Private Attributes

static constexpr int needed_bits
 

Detailed Description

Definition at line 143 of file liftoff-register.h.

Member Typedef Documentation

◆ storage_t

Initial value:
std::conditional<
needed_bits <= 8, uint8_t,
std::conditional<needed_bits <= 16, uint16_t, uint32_t>::type>::type

Definition at line 147 of file liftoff-register.h.

Constructor & Destructor Documentation

◆ LiftoffRegister() [1/3]

v8::internal::wasm::LiftoffRegister::LiftoffRegister ( Register reg)
inlineexplicitconstexpr

Definition at line 160 of file liftoff-register.h.

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

◆ LiftoffRegister() [2/3]

v8::internal::wasm::LiftoffRegister::LiftoffRegister ( DoubleRegister reg)
inlineexplicitconstexpr

Definition at line 165 of file liftoff-register.h.

Here is the call graph for this function:

◆ LiftoffRegister() [3/3]

v8::internal::wasm::LiftoffRegister::LiftoffRegister ( storage_t code)
inlineexplicitconstexprprivate

Definition at line 326 of file liftoff-register.h.

Member Function Documentation

◆ ForFpPair()

static LiftoffRegister v8::internal::wasm::LiftoffRegister::ForFpPair ( DoubleRegister low)
inlinestatic

Definition at line 233 of file liftoff-register.h.

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

◆ ForPair()

static LiftoffRegister v8::internal::wasm::LiftoffRegister::ForPair ( Register low,
Register high )
inlinestatic

Definition at line 225 of file liftoff-register.h.

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

◆ fp()

DoubleRegister v8::internal::wasm::LiftoffRegister::fp ( ) const
inlineconstexpr

Definition at line 299 of file liftoff-register.h.

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

◆ from_code()

static LiftoffRegister v8::internal::wasm::LiftoffRegister::from_code ( RegClass rc,
int code )
inlinestatic

Definition at line 194 of file liftoff-register.h.

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

◆ from_external_code()

static LiftoffRegister v8::internal::wasm::LiftoffRegister::from_external_code ( RegClass rc,
ValueKind kind,
int code )
inlinestatic

Definition at line 207 of file liftoff-register.h.

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

◆ from_liftoff_code()

static LiftoffRegister v8::internal::wasm::LiftoffRegister::from_liftoff_code ( int code)
inlinestatic

Definition at line 181 of file liftoff-register.h.

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

◆ gp()

Register v8::internal::wasm::LiftoffRegister::gp ( ) const
inlineconstexpr

Definition at line 294 of file liftoff-register.h.

Here is the call graph for this function:

◆ high()

LiftoffRegister v8::internal::wasm::LiftoffRegister::high ( ) const
inline

Definition at line 263 of file liftoff-register.h.

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

◆ high_fp()

DoubleRegister v8::internal::wasm::LiftoffRegister::high_fp ( ) const
inline

Definition at line 288 of file liftoff-register.h.

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

◆ high_gp()

Register v8::internal::wasm::LiftoffRegister::high_gp ( ) const
inline

Definition at line 276 of file liftoff-register.h.

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

◆ is_fp()

bool v8::internal::wasm::LiftoffRegister::is_fp ( ) const
inlineconstexpr

Definition at line 252 of file liftoff-register.h.

Here is the caller graph for this function:

◆ is_fp_pair()

bool v8::internal::wasm::LiftoffRegister::is_fp_pair ( ) const
inlineconstexpr

Definition at line 248 of file liftoff-register.h.

Here is the caller graph for this function:

◆ is_gp()

bool v8::internal::wasm::LiftoffRegister::is_gp ( ) const
inlineconstexpr

Definition at line 251 of file liftoff-register.h.

Here is the caller graph for this function:

◆ is_gp_pair()

bool v8::internal::wasm::LiftoffRegister::is_gp_pair ( ) const
inlineconstexpr

Definition at line 245 of file liftoff-register.h.

Here is the caller graph for this function:

◆ is_pair()

bool v8::internal::wasm::LiftoffRegister::is_pair ( ) const
inlineconstexpr

Definition at line 240 of file liftoff-register.h.

Here is the caller graph for this function:

◆ liftoff_code()

int v8::internal::wasm::LiftoffRegister::liftoff_code ( ) const
inlineconstexpr

Definition at line 304 of file liftoff-register.h.

Here is the caller graph for this function:

◆ low()

LiftoffRegister v8::internal::wasm::LiftoffRegister::low ( ) const
inline

Definition at line 257 of file liftoff-register.h.

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

◆ low_fp()

DoubleRegister v8::internal::wasm::LiftoffRegister::low_fp ( ) const
inline

Definition at line 282 of file liftoff-register.h.

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

◆ low_gp()

Register v8::internal::wasm::LiftoffRegister::low_gp ( ) const
inline

Definition at line 270 of file liftoff-register.h.

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

◆ operator==()

bool v8::internal::wasm::LiftoffRegister::operator== ( const LiftoffRegister other) const
inline

Definition at line 314 of file liftoff-register.h.

Here is the call graph for this function:

◆ overlaps()

bool v8::internal::wasm::LiftoffRegister::overlaps ( const LiftoffRegister other) const
inline

Definition at line 319 of file liftoff-register.h.

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

◆ reg_class()

RegClass v8::internal::wasm::LiftoffRegister::reg_class ( ) const
inlineconstexpr

Definition at line 309 of file liftoff-register.h.

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

Member Data Documentation

◆ code_

storage_t v8::internal::wasm::LiftoffRegister::code_
private

Definition at line 328 of file liftoff-register.h.

◆ needed_bits

int v8::internal::wasm::LiftoffRegister::needed_bits
staticconstexprprivate
Initial value:
=
static constexpr int kBitsPerLiftoffRegCode
static constexpr bool kNeedS128RegPair
static constexpr bool kNeedI64RegPair
static constexpr int kBitsPerRegPair

Definition at line 144 of file liftoff-register.h.


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