v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::WasmLoadElimination::HalfState Class Referencefinal
Inheritance diagram for v8::internal::compiler::WasmLoadElimination::HalfState:
Collaboration diagram for v8::internal::compiler::WasmLoadElimination::HalfState:

Public Member Functions

 HalfState (Zone *zone)
 
bool Equals (HalfState const *that) const
 
bool IsEmpty () const
 
void IntersectWith (HalfState const *that)
 
HalfState const * KillField (int field_index, Node *object) const
 
HalfState const * AddField (int field_index, Node *object, Node *value) const
 
FieldOrElementValue LookupField (int field_index, Node *object) const
 
void Print () const
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Types

using InnerMap = PersistentMap<Node*, FieldOrElementValue>
 
template<typename OuterKey >
using OuterMap = PersistentMap<OuterKey, InnerMap>
 
using FieldInfos = OuterMap<int>
 
using ElementInfos = OuterMap<Node*>
 

Static Private Member Functions

template<typename OuterKey >
static void Update (OuterMap< OuterKey > &map, OuterKey outer_key, Node *inner_key, FieldOrElementValue info)
 
static void Print (const FieldInfos &infos)
 
static void Print (const ElementInfos &infos)
 

Private Attributes

Zonezone_
 
FieldInfos fields_
 
ElementInfos elements_
 

Detailed Description

Definition at line 53 of file wasm-load-elimination.h.

Member Typedef Documentation

◆ ElementInfos

◆ FieldInfos

◆ InnerMap

◆ OuterMap

template<typename OuterKey >
using v8::internal::compiler::WasmLoadElimination::HalfState::OuterMap = PersistentMap<OuterKey, InnerMap>
private

Definition at line 76 of file wasm-load-elimination.h.

Constructor & Destructor Documentation

◆ HalfState()

v8::internal::compiler::WasmLoadElimination::HalfState::HalfState ( Zone * zone)
inlineexplicit

Definition at line 55 of file wasm-load-elimination.h.

Member Function Documentation

◆ AddField()

WasmLoadElimination::HalfState const * v8::internal::compiler::WasmLoadElimination::HalfState::AddField ( int field_index,
Node * object,
Node * value ) const

Definition at line 495 of file wasm-load-elimination.cc.

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

◆ Equals()

bool v8::internal::compiler::WasmLoadElimination::HalfState::Equals ( HalfState const * that) const
inline

Definition at line 60 of file wasm-load-elimination.h.

◆ IntersectWith()

void v8::internal::compiler::WasmLoadElimination::HalfState::IntersectWith ( HalfState const * that)

Definition at line 563 of file wasm-load-elimination.cc.

Here is the call graph for this function:

◆ IsEmpty()

bool v8::internal::compiler::WasmLoadElimination::HalfState::IsEmpty ( ) const
inline

Definition at line 63 of file wasm-load-elimination.h.

◆ KillField()

WasmLoadElimination::HalfState const * v8::internal::compiler::WasmLoadElimination::HalfState::KillField ( int field_index,
Node * object ) const

Definition at line 502 of file wasm-load-elimination.cc.

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

◆ LookupField()

WasmLoadElimination::FieldOrElementValue v8::internal::compiler::WasmLoadElimination::HalfState::LookupField ( int field_index,
Node * object ) const

Definition at line 490 of file wasm-load-elimination.cc.

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

◆ Print() [1/3]

void v8::internal::compiler::WasmLoadElimination::HalfState::Print ( ) const

◆ Print() [2/3]

static void v8::internal::compiler::WasmLoadElimination::HalfState::Print ( const ElementInfos & infos)
staticprivate

◆ Print() [3/3]

static void v8::internal::compiler::WasmLoadElimination::HalfState::Print ( const FieldInfos & infos)
staticprivate

◆ Update()

template<typename OuterKey >
static void v8::internal::compiler::WasmLoadElimination::HalfState::Update ( OuterMap< OuterKey > & map,
OuterKey outer_key,
Node * inner_key,
FieldOrElementValue info )
inlinestaticprivate

Definition at line 84 of file wasm-load-elimination.h.

Here is the call graph for this function:

Member Data Documentation

◆ elements_

ElementInfos v8::internal::compiler::WasmLoadElimination::HalfState::elements_
private

Definition at line 96 of file wasm-load-elimination.h.

◆ fields_

FieldInfos v8::internal::compiler::WasmLoadElimination::HalfState::fields_
private

Definition at line 95 of file wasm-load-elimination.h.

◆ zone_

Zone* v8::internal::compiler::WasmLoadElimination::HalfState::zone_
private

Definition at line 94 of file wasm-load-elimination.h.


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