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

#include <node-origin-table.h>

Collaboration diagram for v8::internal::compiler::NodeOrigin:

Public Types

enum  OriginKind { kWasmBytecode , kGraphNode , kJSBytecode }
 

Public Member Functions

 NodeOrigin (const char *phase_name, const char *reducer_name, NodeId created_from)
 
 NodeOrigin (const char *phase_name, const char *reducer_name, OriginKind origin_kind, uint64_t created_from)
 
 NodeOrigin (const NodeOrigin &other) V8_NOEXCEPT=default
 
NodeOriginoperator= (const NodeOrigin &other) V8_NOEXCEPT=default
 
bool IsKnown ()
 
int64_t created_from () const
 
const char * reducer_name () const
 
const char * phase_name () const
 
OriginKind origin_kind () const
 
bool operator== (const NodeOrigin &o) const
 
void PrintJson (std::ostream &out) const
 

Static Public Member Functions

static NodeOrigin Unknown ()
 

Private Member Functions

 NodeOrigin ()
 

Private Attributes

const char * phase_name_
 
const char * reducer_name_
 
OriginKind origin_kind_
 
int64_t created_from_
 

Detailed Description

Definition at line 17 of file node-origin-table.h.

Member Enumeration Documentation

◆ OriginKind

Enumerator
kWasmBytecode 
kGraphNode 
kJSBytecode 

Definition at line 19 of file node-origin-table.h.

Constructor & Destructor Documentation

◆ NodeOrigin() [1/4]

v8::internal::compiler::NodeOrigin::NodeOrigin ( const char * phase_name,
const char * reducer_name,
NodeId created_from )
inline

Definition at line 20 of file node-origin-table.h.

◆ NodeOrigin() [2/4]

v8::internal::compiler::NodeOrigin::NodeOrigin ( const char * phase_name,
const char * reducer_name,
OriginKind origin_kind,
uint64_t created_from )
inline

Definition at line 27 of file node-origin-table.h.

◆ NodeOrigin() [3/4]

v8::internal::compiler::NodeOrigin::NodeOrigin ( const NodeOrigin & other)
default

◆ NodeOrigin() [4/4]

v8::internal::compiler::NodeOrigin::NodeOrigin ( )
inlineprivate

Definition at line 52 of file node-origin-table.h.

Here is the caller graph for this function:

Member Function Documentation

◆ created_from()

int64_t v8::internal::compiler::NodeOrigin::created_from ( ) const
inline

Definition at line 39 of file node-origin-table.h.

Here is the caller graph for this function:

◆ IsKnown()

bool v8::internal::compiler::NodeOrigin::IsKnown ( )
inline

Definition at line 38 of file node-origin-table.h.

Here is the caller graph for this function:

◆ operator=()

NodeOrigin & v8::internal::compiler::NodeOrigin::operator= ( const NodeOrigin & other)
default

◆ operator==()

bool v8::internal::compiler::NodeOrigin::operator== ( const NodeOrigin & o) const
inline

Definition at line 45 of file node-origin-table.h.

◆ origin_kind()

OriginKind v8::internal::compiler::NodeOrigin::origin_kind ( ) const
inline

Definition at line 43 of file node-origin-table.h.

◆ phase_name()

const char * v8::internal::compiler::NodeOrigin::phase_name ( ) const
inline

Definition at line 41 of file node-origin-table.h.

Here is the caller graph for this function:

◆ PrintJson()

void v8::internal::compiler::NodeOrigin::PrintJson ( std::ostream & out) const

Definition at line 14 of file node-origin-table.cc.

Here is the call graph for this function:

◆ reducer_name()

const char * v8::internal::compiler::NodeOrigin::reducer_name ( ) const
inline

Definition at line 40 of file node-origin-table.h.

Here is the caller graph for this function:

◆ Unknown()

static NodeOrigin v8::internal::compiler::NodeOrigin::Unknown ( )
inlinestatic

Definition at line 36 of file node-origin-table.h.

Here is the call graph for this function:

Member Data Documentation

◆ created_from_

int64_t v8::internal::compiler::NodeOrigin::created_from_
private

Definition at line 59 of file node-origin-table.h.

◆ origin_kind_

OriginKind v8::internal::compiler::NodeOrigin::origin_kind_
private

Definition at line 58 of file node-origin-table.h.

◆ phase_name_

const char* v8::internal::compiler::NodeOrigin::phase_name_
private

Definition at line 56 of file node-origin-table.h.

◆ reducer_name_

const char* v8::internal::compiler::NodeOrigin::reducer_name_
private

Definition at line 57 of file node-origin-table.h.


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