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

#include <maglev-code-gen-state.h>

Collaboration diagram for v8::internal::maglev::MaglevCodeGenState:

Public Member Functions

 MaglevCodeGenState (MaglevCompilationInfo *compilation_info, MaglevSafepointTableBuilder *safepoint_table_builder, uint32_t max_block_id)
 
void set_tagged_slots (int slots)
 
void set_untagged_slots (int slots)
 
void PushDeferredCode (DeferredCodeInfo *deferred_code)
 
const std::vector< DeferredCodeInfo * > & deferred_code () const
 
std::vector< DeferredCodeInfo * > TakeDeferredCode ()
 
void PushEagerDeopt (EagerDeoptInfo *info)
 
void PushLazyDeopt (LazyDeoptInfo *info)
 
const std::vector< EagerDeoptInfo * > & eager_deopts () const
 
const std::vector< LazyDeoptInfo * > & lazy_deopts () const
 
void PushHandlerInfo (NodeBase *node)
 
const std::vector< NodeBase * > & handlers () const
 
compiler::NativeContextRef native_context () const
 
compiler::JSHeapBrokerbroker () const
 
MaglevGraphLabellergraph_labeller () const
 
int stack_slots () const
 
int tagged_slots () const
 
uint16_t parameter_count () const
 
MaglevSafepointTableBuildersafepoint_table_builder () const
 
MaglevCompilationInfocompilation_info () const
 
Labelentry_label ()
 
void set_max_deopted_stack_size (uint32_t max_deopted_stack_size)
 
void set_max_call_stack_args_ (uint32_t max_call_stack_args)
 
uint32_t stack_check_offset ()
 
Labelosr_entry ()
 
BasicBlockRealJumpTarget (BasicBlock *block)
 

Private Attributes

MaglevCompilationInfo *const compilation_info_
 
MaglevSafepointTableBuilder *const safepoint_table_builder_
 
std::vector< DeferredCodeInfo * > deferred_code_
 
std::vector< EagerDeoptInfo * > eager_deopts_
 
std::vector< LazyDeoptInfo * > lazy_deopts_
 
std::vector< NodeBase * > handlers_
 
int untagged_slots_ = 0
 
int tagged_slots_ = 0
 
uint32_t max_deopted_stack_size_ = kMaxUInt32
 
uint32_t max_call_stack_args_ = kMaxUInt32
 
Label entry_label_
 
Label osr_entry_
 
std::vector< BasicBlock * > real_jump_target_
 

Detailed Description

Definition at line 33 of file maglev-code-gen-state.h.

Constructor & Destructor Documentation

◆ MaglevCodeGenState()

v8::internal::maglev::MaglevCodeGenState::MaglevCodeGenState ( MaglevCompilationInfo * compilation_info,
MaglevSafepointTableBuilder * safepoint_table_builder,
uint32_t max_block_id )
inline

Definition at line 35 of file maglev-code-gen-state.h.

Member Function Documentation

◆ broker()

compiler::JSHeapBroker * v8::internal::maglev::MaglevCodeGenState::broker ( ) const
inline

Definition at line 69 of file maglev-code-gen-state.h.

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

◆ compilation_info()

MaglevCompilationInfo * v8::internal::maglev::MaglevCodeGenState::compilation_info ( ) const
inline

Definition at line 83 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ deferred_code()

const std::vector< DeferredCodeInfo * > & v8::internal::maglev::MaglevCodeGenState::deferred_code ( ) const
inline

Definition at line 48 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ eager_deopts()

const std::vector< EagerDeoptInfo * > & v8::internal::maglev::MaglevCodeGenState::eager_deopts ( ) const
inline

Definition at line 56 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ entry_label()

Label * v8::internal::maglev::MaglevCodeGenState::entry_label ( )
inline

Definition at line 85 of file maglev-code-gen-state.h.

◆ graph_labeller()

MaglevGraphLabeller * v8::internal::maglev::MaglevCodeGenState::graph_labeller ( ) const
inline

Definition at line 70 of file maglev-code-gen-state.h.

Here is the call graph for this function:

◆ handlers()

const std::vector< NodeBase * > & v8::internal::maglev::MaglevCodeGenState::handlers ( ) const
inline

Definition at line 64 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ lazy_deopts()

const std::vector< LazyDeoptInfo * > & v8::internal::maglev::MaglevCodeGenState::lazy_deopts ( ) const
inline

Definition at line 59 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ native_context()

compiler::NativeContextRef v8::internal::maglev::MaglevCodeGenState::native_context ( ) const
inline

Definition at line 66 of file maglev-code-gen-state.h.

Here is the call graph for this function:

◆ osr_entry()

Label * v8::internal::maglev::MaglevCodeGenState::osr_entry ( )
inline

Definition at line 117 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ parameter_count()

uint16_t v8::internal::maglev::MaglevCodeGenState::parameter_count ( ) const
inline

Definition at line 76 of file maglev-code-gen-state.h.

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

◆ PushDeferredCode()

void v8::internal::maglev::MaglevCodeGenState::PushDeferredCode ( DeferredCodeInfo * deferred_code)
inline

Definition at line 45 of file maglev-code-gen-state.h.

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

◆ PushEagerDeopt()

void v8::internal::maglev::MaglevCodeGenState::PushEagerDeopt ( EagerDeoptInfo * info)
inline

Definition at line 54 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ PushHandlerInfo()

void v8::internal::maglev::MaglevCodeGenState::PushHandlerInfo ( NodeBase * node)
inline

Definition at line 63 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ PushLazyDeopt()

void v8::internal::maglev::MaglevCodeGenState::PushLazyDeopt ( LazyDeoptInfo * info)
inline

Definition at line 55 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ RealJumpTarget()

BasicBlock * v8::internal::maglev::MaglevCodeGenState::RealJumpTarget ( BasicBlock * block)
inline

Definition at line 15 of file maglev-code-gen-state-inl.h.

◆ safepoint_table_builder()

MaglevSafepointTableBuilder * v8::internal::maglev::MaglevCodeGenState::safepoint_table_builder ( ) const
inline

Definition at line 80 of file maglev-code-gen-state.h.

◆ set_max_call_stack_args_()

void v8::internal::maglev::MaglevCodeGenState::set_max_call_stack_args_ ( uint32_t max_call_stack_args)
inline

Definition at line 91 of file maglev-code-gen-state.h.

◆ set_max_deopted_stack_size()

void v8::internal::maglev::MaglevCodeGenState::set_max_deopted_stack_size ( uint32_t max_deopted_stack_size)
inline

Definition at line 87 of file maglev-code-gen-state.h.

◆ set_tagged_slots()

void v8::internal::maglev::MaglevCodeGenState::set_tagged_slots ( int slots)
inline

Definition at line 42 of file maglev-code-gen-state.h.

◆ set_untagged_slots()

void v8::internal::maglev::MaglevCodeGenState::set_untagged_slots ( int slots)
inline

Definition at line 43 of file maglev-code-gen-state.h.

◆ stack_check_offset()

uint32_t v8::internal::maglev::MaglevCodeGenState::stack_check_offset ( )
inline

Definition at line 95 of file maglev-code-gen-state.h.

Here is the call graph for this function:

◆ stack_slots()

int v8::internal::maglev::MaglevCodeGenState::stack_slots ( ) const
inline

Definition at line 73 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

◆ tagged_slots()

int v8::internal::maglev::MaglevCodeGenState::tagged_slots ( ) const
inline

Definition at line 74 of file maglev-code-gen-state.h.

◆ TakeDeferredCode()

std::vector< DeferredCodeInfo * > v8::internal::maglev::MaglevCodeGenState::TakeDeferredCode ( )
inline

Definition at line 51 of file maglev-code-gen-state.h.

Here is the caller graph for this function:

Member Data Documentation

◆ compilation_info_

MaglevCompilationInfo* const v8::internal::maglev::MaglevCodeGenState::compilation_info_
private

Definition at line 122 of file maglev-code-gen-state.h.

◆ deferred_code_

std::vector<DeferredCodeInfo*> v8::internal::maglev::MaglevCodeGenState::deferred_code_
private

Definition at line 125 of file maglev-code-gen-state.h.

◆ eager_deopts_

std::vector<EagerDeoptInfo*> v8::internal::maglev::MaglevCodeGenState::eager_deopts_
private

Definition at line 126 of file maglev-code-gen-state.h.

◆ entry_label_

Label v8::internal::maglev::MaglevCodeGenState::entry_label_
private

Definition at line 136 of file maglev-code-gen-state.h.

◆ handlers_

std::vector<NodeBase*> v8::internal::maglev::MaglevCodeGenState::handlers_
private

Definition at line 128 of file maglev-code-gen-state.h.

◆ lazy_deopts_

std::vector<LazyDeoptInfo*> v8::internal::maglev::MaglevCodeGenState::lazy_deopts_
private

Definition at line 127 of file maglev-code-gen-state.h.

◆ max_call_stack_args_

uint32_t v8::internal::maglev::MaglevCodeGenState::max_call_stack_args_ = kMaxUInt32
private

Definition at line 133 of file maglev-code-gen-state.h.

◆ max_deopted_stack_size_

uint32_t v8::internal::maglev::MaglevCodeGenState::max_deopted_stack_size_ = kMaxUInt32
private

Definition at line 132 of file maglev-code-gen-state.h.

◆ osr_entry_

Label v8::internal::maglev::MaglevCodeGenState::osr_entry_
private

Definition at line 137 of file maglev-code-gen-state.h.

◆ real_jump_target_

std::vector<BasicBlock*> v8::internal::maglev::MaglevCodeGenState::real_jump_target_
private

Definition at line 140 of file maglev-code-gen-state.h.

◆ safepoint_table_builder_

MaglevSafepointTableBuilder* const v8::internal::maglev::MaglevCodeGenState::safepoint_table_builder_
private

Definition at line 123 of file maglev-code-gen-state.h.

◆ tagged_slots_

int v8::internal::maglev::MaglevCodeGenState::tagged_slots_ = 0
private

Definition at line 131 of file maglev-code-gen-state.h.

◆ untagged_slots_

int v8::internal::maglev::MaglevCodeGenState::untagged_slots_ = 0
private

Definition at line 130 of file maglev-code-gen-state.h.


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