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

Public Member Functions

 RegisterInfo (Register reg, uint32_t equivalence_id, bool materialized, bool allocated)
 
 RegisterInfo (const RegisterInfo &)=delete
 
RegisterInfooperator= (const RegisterInfo &)=delete
 
void AddToEquivalenceSetOf (RegisterInfo *info)
 
void MoveToNewEquivalenceSet (uint32_t equivalence_id, MaterializedInfo materialized, ResetVariableHint reset=ResetVariableHint::kReset)
 
bool IsOnlyMemberOfEquivalenceSet () const
 
bool IsInSameEquivalenceSet (RegisterInfo *info) const
 
RegisterInfoGetAllocatedEquivalent ()
 
RegisterInfoGetMaterializedEquivalent ()
 
RegisterInfoGetMaterializedEquivalentOtherThan (Register reg)
 
RegisterInfoGetEquivalentToMaterialize ()
 
void MarkTemporariesAsUnmaterialized (Register temporary_base)
 
RegisterInfoGetEquivalent ()
 
Register register_value () const
 
bool materialized () const
 
void set_materialized (bool materialized)
 
bool allocated () const
 
void set_allocated (bool allocated)
 
void set_equivalence_id (uint32_t equivalence_id)
 
uint32_t equivalence_id () const
 
bool needs_flush () const
 
void set_needs_flush (bool needs_flush)
 
TypeHint type_hint () const
 
void set_type_hint (TypeHint hint)
 
VariableHint variable_hint () const
 
void set_variable_hint (VariableHint hint)
 
void flush_variable_hint (bool reset_variable_hint)
 
RegisterInfonext () 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 Attributes

Register register_
 
uint32_t equivalence_id_
 
bool materialized_
 
bool allocated_
 
bool needs_flush_
 
TypeHint type_hint_
 
VariableHint variable_hint_
 
RegisterInfonext_
 
RegisterInfoprev_
 

Detailed Description

Definition at line 33 of file bytecode-register-optimizer.cc.

Constructor & Destructor Documentation

◆ RegisterInfo() [1/2]

v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::RegisterInfo ( Register reg,
uint32_t equivalence_id,
bool materialized,
bool allocated )
inline

Definition at line 35 of file bytecode-register-optimizer.cc.

◆ RegisterInfo() [2/2]

v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::RegisterInfo ( const RegisterInfo & )
delete

Member Function Documentation

◆ AddToEquivalenceSetOf()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::AddToEquivalenceSetOf ( RegisterInfo * info)

Definition at line 128 of file bytecode-register-optimizer.cc.

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

◆ allocated()

bool v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::allocated ( ) const
inline

Definition at line 90 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ equivalence_id()

uint32_t v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::equivalence_id ( ) const
inline

Definition at line 95 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ flush_variable_hint()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::flush_variable_hint ( bool reset_variable_hint)
inline

Definition at line 104 of file bytecode-register-optimizer.cc.

◆ GetAllocatedEquivalent()

BytecodeRegisterOptimizer::RegisterInfo * v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::GetAllocatedEquivalent ( )

Definition at line 215 of file bytecode-register-optimizer.cc.

Here is the call graph for this function:

◆ GetEquivalent()

BytecodeRegisterOptimizer::RegisterInfo * v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::GetEquivalent ( )

Definition at line 287 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ GetEquivalentToMaterialize()

BytecodeRegisterOptimizer::RegisterInfo * v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::GetEquivalentToMaterialize ( )

Definition at line 255 of file bytecode-register-optimizer.cc.

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

◆ GetMaterializedEquivalent()

BytecodeRegisterOptimizer::RegisterInfo * v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::GetMaterializedEquivalent ( )

Definition at line 228 of file bytecode-register-optimizer.cc.

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

◆ GetMaterializedEquivalentOtherThan()

BytecodeRegisterOptimizer::RegisterInfo * v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::GetMaterializedEquivalentOtherThan ( Register reg)

Definition at line 241 of file bytecode-register-optimizer.cc.

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

◆ IsInSameEquivalenceSet()

bool v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::IsInSameEquivalenceSet ( RegisterInfo * info) const

Definition at line 209 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ IsOnlyMemberOfEquivalenceSet()

bool v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::IsOnlyMemberOfEquivalenceSet ( ) const

Definition at line 157 of file bytecode-register-optimizer.cc.

◆ MarkTemporariesAsUnmaterialized()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::MarkTemporariesAsUnmaterialized ( Register temporary_base)

Definition at line 273 of file bytecode-register-optimizer.cc.

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

◆ materialized()

bool v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::materialized ( ) const
inline

Definition at line 88 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ MoveToNewEquivalenceSet()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::MoveToNewEquivalenceSet ( uint32_t equivalence_id,
MaterializedInfo materialized,
ResetVariableHint reset = ResetVariableHint::kReset )

Definition at line 145 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ needs_flush()

bool v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::needs_flush ( ) const
inline

Definition at line 97 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ next()

RegisterInfo * v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::next ( ) const
inline

Definition at line 112 of file bytecode-register-optimizer.cc.

◆ operator=()

RegisterInfo & v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::operator= ( const RegisterInfo & )
delete

◆ register_value()

Register v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::register_value ( ) const
inline

Definition at line 87 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ set_allocated()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::set_allocated ( bool allocated)
inline

Definition at line 91 of file bytecode-register-optimizer.cc.

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

◆ set_equivalence_id()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::set_equivalence_id ( uint32_t equivalence_id)
inline

Definition at line 92 of file bytecode-register-optimizer.cc.

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

◆ set_materialized()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::set_materialized ( bool materialized)
inline

Definition at line 89 of file bytecode-register-optimizer.cc.

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

◆ set_needs_flush()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::set_needs_flush ( bool needs_flush)
inline

Definition at line 98 of file bytecode-register-optimizer.cc.

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

◆ set_type_hint()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::set_type_hint ( TypeHint hint)
inline

Definition at line 100 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ set_variable_hint()

void v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::set_variable_hint ( VariableHint hint)
inline

Definition at line 103 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ type_hint()

TypeHint v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::type_hint ( ) const
inline

Definition at line 99 of file bytecode-register-optimizer.cc.

Here is the caller graph for this function:

◆ variable_hint()

VariableHint v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::variable_hint ( ) const
inline

Definition at line 102 of file bytecode-register-optimizer.cc.

Member Data Documentation

◆ allocated_

bool v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::allocated_
private

Definition at line 118 of file bytecode-register-optimizer.cc.

◆ equivalence_id_

uint32_t v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::equivalence_id_
private

Definition at line 116 of file bytecode-register-optimizer.cc.

◆ materialized_

bool v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::materialized_
private

Definition at line 117 of file bytecode-register-optimizer.cc.

◆ needs_flush_

bool v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::needs_flush_
private

Definition at line 119 of file bytecode-register-optimizer.cc.

◆ next_

RegisterInfo* v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::next_
private

Definition at line 124 of file bytecode-register-optimizer.cc.

◆ prev_

RegisterInfo* v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::prev_
private

Definition at line 125 of file bytecode-register-optimizer.cc.

◆ register_

Register v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::register_
private

Definition at line 115 of file bytecode-register-optimizer.cc.

◆ type_hint_

TypeHint v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::type_hint_
private

Definition at line 120 of file bytecode-register-optimizer.cc.

◆ variable_hint_

VariableHint v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo::variable_hint_
private

Definition at line 121 of file bytecode-register-optimizer.cc.


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