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

#include <machine-graph.h>

Inheritance diagram for v8::internal::compiler::MachineGraph:
Collaboration diagram for v8::internal::compiler::MachineGraph:

Public Member Functions

 MachineGraph (TFGraph *graph, CommonOperatorBuilder *common, MachineOperatorBuilder *machine)
 
 MachineGraph (const MachineGraph &)=delete
 
MachineGraph & operator= (const MachineGraph &)=delete
 
Node * UniqueInt32Constant (int32_t value)
 
Node * UniqueInt64Constant (int64_t value)
 
Node * Int32Constant (int32_t value)
 
Node * Uint32Constant (uint32_t value)
 
Node * Int64Constant (int64_t value)
 
Node * Uint64Constant (uint64_t value)
 
Node * IntPtrConstant (intptr_t value)
 
Node * UintPtrConstant (uintptr_t value)
 
Node * UniqueIntPtrConstant (intptr_t value)
 
Node * TaggedIndexConstant (intptr_t value)
 
Node * RelocatableInt32Constant (int32_t value, RelocInfo::Mode rmode)
 
Node * RelocatableInt64Constant (int64_t value, RelocInfo::Mode rmode)
 
Node * RelocatableIntPtrConstant (intptr_t value, RelocInfo::Mode rmode)
 
Node * RelocatableWasmBuiltinCallTarget (Builtin builtin)
 
Node * Float32Constant (float value)
 
Node * Float64Constant (double value)
 
Node * PointerConstant (intptr_t value)
 
template<typename T >
Node * PointerConstant (T *value)
 
Node * ExternalConstant (ExternalReference ref)
 
Node * ExternalConstant (Runtime::FunctionId function_id)
 
Node * Dead ()
 
void StoreCallCount (NodeId call_id, int count)
 
int GetCallCount (NodeId call_id)
 
void ReserveCallCounts (size_t num_call_instructions)
 
CommonOperatorBuilder * common () const
 
MachineOperatorBuilder * machine () const
 
TFGraph * graph () const
 
Zone * zone () const
 

Protected Attributes

TFGraph * graph_
 
CommonOperatorBuilder * common_
 
MachineOperatorBuilder * machine_
 
CommonNodeCache cache_
 
NodeAuxDataMap< int, -1 > call_counts_
 
Node * Dead_ = nullptr
 

Detailed Description

Definition at line 24 of file machine-graph.h.

Constructor & Destructor Documentation

◆ MachineGraph() [1/2]

v8::internal::compiler::MachineGraph::MachineGraph ( TFGraph * graph,
CommonOperatorBuilder * common,
MachineOperatorBuilder * machine )
inline

Definition at line 26 of file machine-graph.h.

◆ MachineGraph() [2/2]

v8::internal::compiler::MachineGraph::MachineGraph ( const MachineGraph & )
delete

Member Function Documentation

◆ common()

CommonOperatorBuilder * v8::internal::compiler::MachineGraph::common ( ) const
inline

Definition at line 100 of file machine-graph.h.

Here is the caller graph for this function:

◆ Dead()

Node * v8::internal::compiler::MachineGraph::Dead ( )
inline

Definition at line 86 of file machine-graph.h.

Here is the caller graph for this function:

◆ ExternalConstant() [1/2]

Node * v8::internal::compiler::MachineGraph::ExternalConstant ( ExternalReference ref)

Definition at line 117 of file machine-graph.cc.

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

◆ ExternalConstant() [2/2]

Node * v8::internal::compiler::MachineGraph::ExternalConstant ( Runtime::FunctionId function_id)

Definition at line 125 of file machine-graph.cc.

Here is the call graph for this function:

◆ Float32Constant()

Node * v8::internal::compiler::MachineGraph::Float32Constant ( float value)

Definition at line 93 of file machine-graph.cc.

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

◆ Float64Constant()

Node * v8::internal::compiler::MachineGraph::Float64Constant ( double value)

Definition at line 101 of file machine-graph.cc.

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

◆ GetCallCount()

int v8::internal::compiler::MachineGraph::GetCallCount ( NodeId call_id)
inline

Definition at line 94 of file machine-graph.h.

◆ graph()

TFGraph * v8::internal::compiler::MachineGraph::graph ( ) const
inline

Definition at line 102 of file machine-graph.h.

◆ Int32Constant()

Node * v8::internal::compiler::MachineGraph::Int32Constant ( int32_t value)

Definition at line 21 of file machine-graph.cc.

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

◆ Int64Constant()

Node * v8::internal::compiler::MachineGraph::Int64Constant ( int64_t value)

Definition at line 29 of file machine-graph.cc.

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

◆ IntPtrConstant()

Node * v8::internal::compiler::MachineGraph::IntPtrConstant ( intptr_t value)

Definition at line 37 of file machine-graph.cc.

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

◆ machine()

MachineOperatorBuilder * v8::internal::compiler::MachineGraph::machine ( ) const
inline

Definition at line 101 of file machine-graph.h.

Here is the caller graph for this function:

◆ operator=()

MachineGraph & v8::internal::compiler::MachineGraph::operator= ( const MachineGraph & )
delete

◆ PointerConstant() [1/2]

Node * v8::internal::compiler::MachineGraph::PointerConstant ( intptr_t value)

Definition at line 109 of file machine-graph.cc.

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

◆ PointerConstant() [2/2]

template<typename T >
Node * v8::internal::compiler::MachineGraph::PointerConstant ( T * value)
inline

Definition at line 77 of file machine-graph.h.

◆ RelocatableInt32Constant()

Node * v8::internal::compiler::MachineGraph::RelocatableInt32Constant ( int32_t value,
RelocInfo::Mode rmode )

Definition at line 61 of file machine-graph.cc.

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

◆ RelocatableInt64Constant()

Node * v8::internal::compiler::MachineGraph::RelocatableInt64Constant ( int64_t value,
RelocInfo::Mode rmode )

Definition at line 71 of file machine-graph.cc.

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

◆ RelocatableIntPtrConstant()

Node * v8::internal::compiler::MachineGraph::RelocatableIntPtrConstant ( intptr_t value,
RelocInfo::Mode rmode )

Definition at line 81 of file machine-graph.cc.

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

◆ RelocatableWasmBuiltinCallTarget()

Node * v8::internal::compiler::MachineGraph::RelocatableWasmBuiltinCallTarget ( Builtin builtin)

Definition at line 88 of file machine-graph.cc.

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

◆ ReserveCallCounts()

void v8::internal::compiler::MachineGraph::ReserveCallCounts ( size_t num_call_instructions)
inline

Definition at line 96 of file machine-graph.h.

◆ StoreCallCount()

void v8::internal::compiler::MachineGraph::StoreCallCount ( NodeId call_id,
int count )
inline

Definition at line 91 of file machine-graph.h.

◆ TaggedIndexConstant()

Node * v8::internal::compiler::MachineGraph::TaggedIndexConstant ( intptr_t value)

Definition at line 52 of file machine-graph.cc.

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

◆ Uint32Constant()

Node * v8::internal::compiler::MachineGraph::Uint32Constant ( uint32_t value)
inline

Definition at line 43 of file machine-graph.h.

Here is the caller graph for this function:

◆ Uint64Constant()

Node * v8::internal::compiler::MachineGraph::Uint64Constant ( uint64_t value)
inline

Definition at line 49 of file machine-graph.h.

Here is the caller graph for this function:

◆ UintPtrConstant()

Node * v8::internal::compiler::MachineGraph::UintPtrConstant ( uintptr_t value)

Definition at line 42 of file machine-graph.cc.

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

◆ UniqueInt32Constant()

Node * v8::internal::compiler::MachineGraph::UniqueInt32Constant ( int32_t value)

Definition at line 13 of file machine-graph.cc.

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

◆ UniqueInt64Constant()

Node * v8::internal::compiler::MachineGraph::UniqueInt64Constant ( int64_t value)

Definition at line 17 of file machine-graph.cc.

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

◆ UniqueIntPtrConstant()

Node * v8::internal::compiler::MachineGraph::UniqueIntPtrConstant ( intptr_t value)

Definition at line 47 of file machine-graph.cc.

Here is the call graph for this function:

◆ zone()

Zone * v8::internal::compiler::MachineGraph::zone ( ) const
inline

Definition at line 103 of file machine-graph.h.

Here is the caller graph for this function:

Member Data Documentation

◆ cache_

CommonNodeCache v8::internal::compiler::MachineGraph::cache_
protected

Definition at line 109 of file machine-graph.h.

◆ call_counts_

NodeAuxDataMap<int, -1> v8::internal::compiler::MachineGraph::call_counts_
protected

Definition at line 110 of file machine-graph.h.

◆ common_

CommonOperatorBuilder* v8::internal::compiler::MachineGraph::common_
protected

Definition at line 107 of file machine-graph.h.

◆ Dead_

Node* v8::internal::compiler::MachineGraph::Dead_ = nullptr
protected

Definition at line 111 of file machine-graph.h.

◆ graph_

TFGraph* v8::internal::compiler::MachineGraph::graph_
protected

Definition at line 106 of file machine-graph.h.

◆ machine_

MachineOperatorBuilder* v8::internal::compiler::MachineGraph::machine_
protected

Definition at line 108 of file machine-graph.h.


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