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

#include <maglev-compilation-unit.h>

Inheritance diagram for v8::internal::maglev::MaglevCompilationUnit:
Collaboration diagram for v8::internal::maglev::MaglevCompilationUnit:

Public Member Functions

 MaglevCompilationUnit (MaglevCompilationInfo *info, DirectHandle< JSFunction > function)
 
 MaglevCompilationUnit (MaglevCompilationInfo *info, const MaglevCompilationUnit *caller, compiler::SharedFunctionInfoRef shared_function_info, compiler::FeedbackCellRef feedback_cell)
 
 MaglevCompilationUnit (MaglevCompilationInfo *info, const MaglevCompilationUnit *caller, int register_count, uint16_t parameter_count, uint16_t max_arguments)
 
MaglevCompilationInfoinfo () const
 
const MaglevCompilationUnitcaller () const
 
compiler::JSHeapBrokerbroker () const
 
LocalIsolatelocal_isolate () const
 
Zonezone () const
 
int register_count () const
 
uint16_t parameter_count () const
 
uint16_t max_arguments () const
 
bool is_osr () const
 
BytecodeOffset osr_offset () const
 
int inlining_depth () const
 
bool is_inline () const
 
bool has_graph_labeller () const
 
MaglevGraphLabellergraph_labeller () const
 
compiler::SharedFunctionInfoRef shared_function_info () const
 
compiler::BytecodeArrayRef bytecode () const
 
compiler::FeedbackCellRef feedback_cell () const
 
compiler::FeedbackVectorRef feedback () const
 
void RegisterNodeInGraphLabeller (const Node *node)
 
const MaglevCompilationUnitGetTopLevelCompilationUnit () 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
 

Static Public Member Functions

static MaglevCompilationUnitNew (Zone *zone, MaglevCompilationInfo *info, Handle< JSFunction > function)
 
static MaglevCompilationUnitNewInner (Zone *zone, const MaglevCompilationUnit *caller, compiler::SharedFunctionInfoRef shared_function_info, compiler::FeedbackCellRef feedback_cell)
 
static MaglevCompilationUnitNewDummy (Zone *zone, const MaglevCompilationUnit *caller, int register_count, uint16_t parameter_count, uint16_t max_arguments)
 

Private Attributes

MaglevCompilationInfo *const info_
 
const MaglevCompilationUnit *const caller_
 
const compiler::OptionalSharedFunctionInfoRef shared_function_info_
 
const compiler::OptionalBytecodeArrayRef bytecode_
 
const compiler::OptionalFeedbackCellRef feedback_cell_
 
const int register_count_
 
const uint16_t parameter_count_
 
const uint16_t max_arguments_
 
const int inlining_depth_
 

Detailed Description

Definition at line 23 of file maglev-compilation-unit.h.

Constructor & Destructor Documentation

◆ MaglevCompilationUnit() [1/3]

v8::internal::maglev::MaglevCompilationUnit::MaglevCompilationUnit ( MaglevCompilationInfo * info,
DirectHandle< JSFunction > function )

Definition at line 17 of file maglev-compilation-unit.cc.

◆ MaglevCompilationUnit() [2/3]

v8::internal::maglev::MaglevCompilationUnit::MaglevCompilationUnit ( MaglevCompilationInfo * info,
const MaglevCompilationUnit * caller,
compiler::SharedFunctionInfoRef shared_function_info,
compiler::FeedbackCellRef feedback_cell )

Definition at line 26 of file maglev-compilation-unit.cc.

Here is the call graph for this function:

◆ MaglevCompilationUnit() [3/3]

v8::internal::maglev::MaglevCompilationUnit::MaglevCompilationUnit ( MaglevCompilationInfo * info,
const MaglevCompilationUnit * caller,
int register_count,
uint16_t parameter_count,
uint16_t max_arguments )

Definition at line 46 of file maglev-compilation-unit.cc.

Member Function Documentation

◆ broker()

compiler::JSHeapBroker * v8::internal::maglev::MaglevCompilationUnit::broker ( ) const

Definition at line 56 of file maglev-compilation-unit.cc.

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

◆ bytecode()

compiler::BytecodeArrayRef v8::internal::maglev::MaglevCompilationUnit::bytecode ( ) const
inline

Definition at line 74 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ caller()

const MaglevCompilationUnit * v8::internal::maglev::MaglevCompilationUnit::caller ( ) const
inline

Definition at line 58 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ feedback()

compiler::FeedbackVectorRef v8::internal::maglev::MaglevCompilationUnit::feedback ( ) const
inline

Definition at line 78 of file maglev-compilation-unit.h.

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

◆ feedback_cell()

compiler::FeedbackCellRef v8::internal::maglev::MaglevCompilationUnit::feedback_cell ( ) const
inline

Definition at line 75 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ GetTopLevelCompilationUnit()

const MaglevCompilationUnit * v8::internal::maglev::MaglevCompilationUnit::GetTopLevelCompilationUnit ( ) const

Definition at line 77 of file maglev-compilation-unit.cc.

Here is the caller graph for this function:

◆ graph_labeller()

MaglevGraphLabeller * v8::internal::maglev::MaglevCompilationUnit::graph_labeller ( ) const

Definition at line 66 of file maglev-compilation-unit.cc.

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

◆ has_graph_labeller()

bool v8::internal::maglev::MaglevCompilationUnit::has_graph_labeller ( ) const

Definition at line 62 of file maglev-compilation-unit.cc.

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

◆ info()

MaglevCompilationInfo * v8::internal::maglev::MaglevCompilationUnit::info ( ) const
inline

Definition at line 57 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ inlining_depth()

int v8::internal::maglev::MaglevCompilationUnit::inlining_depth ( ) const
inline

Definition at line 67 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ is_inline()

bool v8::internal::maglev::MaglevCompilationUnit::is_inline ( ) const
inline

Definition at line 68 of file maglev-compilation-unit.h.

◆ is_osr()

bool v8::internal::maglev::MaglevCompilationUnit::is_osr ( ) const

Definition at line 86 of file maglev-compilation-unit.cc.

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

◆ local_isolate()

LocalIsolate * v8::internal::maglev::MaglevCompilationUnit::local_isolate ( ) const

◆ max_arguments()

uint16_t v8::internal::maglev::MaglevCompilationUnit::max_arguments ( ) const
inline

Definition at line 64 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ New()

static MaglevCompilationUnit * v8::internal::maglev::MaglevCompilationUnit::New ( Zone * zone,
MaglevCompilationInfo * info,
Handle< JSFunction > function )
inlinestatic

Definition at line 25 of file maglev-compilation-unit.h.

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

◆ NewDummy()

static MaglevCompilationUnit * v8::internal::maglev::MaglevCompilationUnit::NewDummy ( Zone * zone,
const MaglevCompilationUnit * caller,
int register_count,
uint16_t parameter_count,
uint16_t max_arguments )
inlinestatic

Definition at line 36 of file maglev-compilation-unit.h.

Here is the call graph for this function:

◆ NewInner()

static MaglevCompilationUnit * v8::internal::maglev::MaglevCompilationUnit::NewInner ( Zone * zone,
const MaglevCompilationUnit * caller,
compiler::SharedFunctionInfoRef shared_function_info,
compiler::FeedbackCellRef feedback_cell )
inlinestatic

Definition at line 29 of file maglev-compilation-unit.h.

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

◆ osr_offset()

BytecodeOffset v8::internal::maglev::MaglevCompilationUnit::osr_offset ( ) const

Definition at line 90 of file maglev-compilation-unit.cc.

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

◆ parameter_count()

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

Definition at line 63 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ register_count()

int v8::internal::maglev::MaglevCompilationUnit::register_count ( ) const
inline

Definition at line 62 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ RegisterNodeInGraphLabeller()

void v8::internal::maglev::MaglevCompilationUnit::RegisterNodeInGraphLabeller ( const Node * node)

Definition at line 71 of file maglev-compilation-unit.cc.

Here is the call graph for this function:

◆ shared_function_info()

compiler::SharedFunctionInfoRef v8::internal::maglev::MaglevCompilationUnit::shared_function_info ( ) const
inline

Definition at line 71 of file maglev-compilation-unit.h.

Here is the caller graph for this function:

◆ zone()

Zone * v8::internal::maglev::MaglevCompilationUnit::zone ( ) const

Definition at line 60 of file maglev-compilation-unit.cc.

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

Member Data Documentation

◆ bytecode_

const compiler::OptionalBytecodeArrayRef v8::internal::maglev::MaglevCompilationUnit::bytecode_
private

Definition at line 89 of file maglev-compilation-unit.h.

◆ caller_

const MaglevCompilationUnit* const v8::internal::maglev::MaglevCompilationUnit::caller_
private

Definition at line 87 of file maglev-compilation-unit.h.

◆ feedback_cell_

const compiler::OptionalFeedbackCellRef v8::internal::maglev::MaglevCompilationUnit::feedback_cell_
private

Definition at line 90 of file maglev-compilation-unit.h.

◆ info_

MaglevCompilationInfo* const v8::internal::maglev::MaglevCompilationUnit::info_
private

Definition at line 86 of file maglev-compilation-unit.h.

◆ inlining_depth_

const int v8::internal::maglev::MaglevCompilationUnit::inlining_depth_
private

Definition at line 94 of file maglev-compilation-unit.h.

◆ max_arguments_

const uint16_t v8::internal::maglev::MaglevCompilationUnit::max_arguments_
private

Definition at line 93 of file maglev-compilation-unit.h.

◆ parameter_count_

const uint16_t v8::internal::maglev::MaglevCompilationUnit::parameter_count_
private

Definition at line 92 of file maglev-compilation-unit.h.

◆ register_count_

const int v8::internal::maglev::MaglevCompilationUnit::register_count_
private

Definition at line 91 of file maglev-compilation-unit.h.

◆ shared_function_info_

const compiler::OptionalSharedFunctionInfoRef v8::internal::maglev::MaglevCompilationUnit::shared_function_info_
private

Definition at line 88 of file maglev-compilation-unit.h.


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