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

#include <liftoff-varstate.h>

Collaboration diagram for v8::internal::wasm::LiftoffVarState:

Public Types

enum  Location : uint8_t { kStack , kRegister , kIntConst }
 

Public Member Functions

 LiftoffVarState (ValueKind kind, int offset)
 
 LiftoffVarState (ValueKind kind, LiftoffRegister r, int offset)
 
 LiftoffVarState (ValueKind kind, int32_t i32_const, int offset)
 
bool is_stack () const
 
bool is_gp_reg () const
 
bool is_fp_reg () const
 
bool is_gp_reg_pair () const
 
bool is_fp_reg_pair () const
 
bool is_reg () const
 
bool is_const () const
 
ValueKind kind () const
 
Location loc () const
 
int32_t i32_const () const
 
WasmValue constant () const
 
int offset () const
 
void set_offset (int offset)
 
Register gp_reg () const
 
DoubleRegister fp_reg () const
 
LiftoffRegister reg () const
 
RegClass reg_class () const
 
void MakeStack ()
 
void MakeRegister (LiftoffRegister r)
 
void MakeConstant (int32_t i32_const)
 
void Copy (LiftoffVarState src)
 

Private Attributes

Location loc_
 
ValueKind kind_
 
union { 
 
   LiftoffRegister   reg_ 
 
   int32_t   i32_const_ 
 
};  
 
int spill_offset_
 

Detailed Description

Definition at line 13 of file liftoff-varstate.h.

Member Enumeration Documentation

◆ Location

Enumerator
kStack 
kRegister 
kIntConst 

Definition at line 15 of file liftoff-varstate.h.

Constructor & Destructor Documentation

◆ LiftoffVarState() [1/3]

v8::internal::wasm::LiftoffVarState::LiftoffVarState ( ValueKind kind,
int offset )
inline

Definition at line 17 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ LiftoffVarState() [2/3]

v8::internal::wasm::LiftoffVarState::LiftoffVarState ( ValueKind kind,
LiftoffRegister r,
int offset )
inline

Definition at line 21 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ LiftoffVarState() [3/3]

v8::internal::wasm::LiftoffVarState::LiftoffVarState ( ValueKind kind,
int32_t i32_const,
int offset )
inline

Definition at line 26 of file liftoff-varstate.h.

Here is the call graph for this function:

Member Function Documentation

◆ constant()

WasmValue v8::internal::wasm::LiftoffVarState::constant ( ) const
inline

Definition at line 52 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ Copy()

void v8::internal::wasm::LiftoffVarState::Copy ( LiftoffVarState src)
inline

Definition at line 91 of file liftoff-varstate.h.

◆ fp_reg()

DoubleRegister v8::internal::wasm::LiftoffVarState::fp_reg ( ) const
inline

Definition at line 69 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ gp_reg()

Register v8::internal::wasm::LiftoffVarState::gp_reg ( ) const
inline

Definition at line 68 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ i32_const()

int32_t v8::internal::wasm::LiftoffVarState::i32_const ( ) const
inline

Definition at line 48 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ is_const()

bool v8::internal::wasm::LiftoffVarState::is_const ( ) const
inline

Definition at line 41 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ is_fp_reg()

bool v8::internal::wasm::LiftoffVarState::is_fp_reg ( ) const
inline

Definition at line 37 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ is_fp_reg_pair()

bool v8::internal::wasm::LiftoffVarState::is_fp_reg_pair ( ) const
inline

Definition at line 39 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ is_gp_reg()

bool v8::internal::wasm::LiftoffVarState::is_gp_reg ( ) const
inline

Definition at line 36 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ is_gp_reg_pair()

bool v8::internal::wasm::LiftoffVarState::is_gp_reg_pair ( ) const
inline

Definition at line 38 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ is_reg()

bool v8::internal::wasm::LiftoffVarState::is_reg ( ) const
inline

Definition at line 40 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ is_stack()

bool v8::internal::wasm::LiftoffVarState::is_stack ( ) const
inline

Definition at line 35 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ kind()

ValueKind v8::internal::wasm::LiftoffVarState::kind ( ) const
inline

Definition at line 43 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ loc()

Location v8::internal::wasm::LiftoffVarState::loc ( ) const
inline

Definition at line 45 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ MakeConstant()

void v8::internal::wasm::LiftoffVarState::MakeConstant ( int32_t i32_const)
inline

Definition at line 83 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ MakeRegister()

void v8::internal::wasm::LiftoffVarState::MakeRegister ( LiftoffRegister r)
inline

Definition at line 78 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ MakeStack()

void v8::internal::wasm::LiftoffVarState::MakeStack ( )
inline

Definition at line 76 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ offset()

int v8::internal::wasm::LiftoffVarState::offset ( ) const
inline

Definition at line 59 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ reg()

LiftoffRegister v8::internal::wasm::LiftoffVarState::reg ( ) const
inline

Definition at line 70 of file liftoff-varstate.h.

Here is the caller graph for this function:

◆ reg_class()

RegClass v8::internal::wasm::LiftoffVarState::reg_class ( ) const
inline

Definition at line 74 of file liftoff-varstate.h.

Here is the call graph for this function:

◆ set_offset()

void v8::internal::wasm::LiftoffVarState::set_offset ( int offset)
inline

Definition at line 63 of file liftoff-varstate.h.

Here is the call graph for this function:

Member Data Documentation

◆ [union]

◆ i32_const_

int32_t v8::internal::wasm::LiftoffVarState::i32_const_

Definition at line 109 of file liftoff-varstate.h.

◆ kind_

ValueKind v8::internal::wasm::LiftoffVarState::kind_
private

Definition at line 105 of file liftoff-varstate.h.

◆ loc_

Location v8::internal::wasm::LiftoffVarState::loc_
private

Definition at line 102 of file liftoff-varstate.h.

◆ reg_

LiftoffRegister v8::internal::wasm::LiftoffVarState::reg_

Definition at line 108 of file liftoff-varstate.h.

◆ spill_offset_

int v8::internal::wasm::LiftoffVarState::spill_offset_
private

Definition at line 111 of file liftoff-varstate.h.


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