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

#include <turbofan-graph.h>

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

Classes

class  SubgraphScope
 

Public Member Functions

 TFGraph (Zone *zone)
 
 TFGraph (const TFGraph &)=delete
 
TFGraphoperator= (const TFGraph &)=delete
 
NodeNewNodeUnchecked (const Operator *op, int input_count, Node *const *inputs, bool incomplete=false)
 
NodeNewNode (const Operator *op, int input_count, Node *const *inputs, bool incomplete=false)
 
template<typename... Nodes>
requires (std::conjunction_v<std::is_convertible<Nodes, Node*>...>)
NodeNewNode (const Operator *op, Nodes... nodes)
 
NodeCloneNode (const Node *node)
 
Zonezone () const
 
Nodestart () const
 
Nodeend () const
 
void SetStart (Node *start)
 
void SetEnd (Node *end)
 
size_t NodeCount () const
 
void Decorate (Node *node)
 
void AddDecorator (GraphDecorator *decorator)
 
void RemoveDecorator (GraphDecorator *decorator)
 
void Print () const
 
bool HasSimd () const
 
void SetSimd (bool has_simd)
 
void RecordSimdStore (Node *store)
 
ZoneVector< Node * > const & GetSimdStoreNodes ()
 

Private Member Functions

NodeId NextNodeId ()
 

Private Attributes

Zone *const zone_
 
Nodestart_
 
Nodeend_
 
Mark mark_max_
 
NodeId next_node_id_
 
ZoneVector< GraphDecorator * > decorators_
 
bool has_simd_
 
ZoneVector< Node * > simd_stores_
 

Friends

class NodeMarkerBase
 

Detailed Description

Definition at line 32 of file turbofan-graph.h.

Constructor & Destructor Documentation

◆ TFGraph() [1/2]

v8::internal::compiler::TFGraph::TFGraph ( Zone * zone)
explicit

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

Here is the call graph for this function:

◆ TFGraph() [2/2]

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

Member Function Documentation

◆ AddDecorator()

void v8::internal::compiler::TFGraph::AddDecorator ( GraphDecorator * decorator)

Definition at line 38 of file turbofan-graph.cc.

Here is the caller graph for this function:

◆ CloneNode()

Node * v8::internal::compiler::TFGraph::CloneNode ( const Node * node)

Definition at line 63 of file turbofan-graph.cc.

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

◆ Decorate()

void v8::internal::compiler::TFGraph::Decorate ( Node * node)

Definition at line 32 of file turbofan-graph.cc.

Here is the caller graph for this function:

◆ end()

Node * v8::internal::compiler::TFGraph::end ( ) const
inline

Definition at line 83 of file turbofan-graph.h.

Here is the caller graph for this function:

◆ GetSimdStoreNodes()

ZoneVector< Node * > const & v8::internal::compiler::TFGraph::GetSimdStoreNodes ( )

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

Here is the caller graph for this function:

◆ HasSimd()

bool v8::internal::compiler::TFGraph::HasSimd ( ) const
inline

Definition at line 97 of file turbofan-graph.h.

◆ NewNode() [1/2]

Node * v8::internal::compiler::TFGraph::NewNode ( const Operator * op,
int input_count,
Node *const * inputs,
bool incomplete = false )

Definition at line 48 of file turbofan-graph.cc.

Here is the call graph for this function:

◆ NewNode() [2/2]

template<typename... Nodes>
requires (std::conjunction_v<std::is_convertible<Nodes, Node*>...>)
Node * v8::internal::compiler::TFGraph::NewNode ( const Operator * op,
Nodes... nodes )
inline

Definition at line 70 of file turbofan-graph.h.

◆ NewNodeUnchecked()

Node * v8::internal::compiler::TFGraph::NewNodeUnchecked ( const Operator * op,
int input_count,
Node *const * inputs,
bool incomplete = false )

Definition at line 55 of file turbofan-graph.cc.

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

◆ NextNodeId()

NodeId v8::internal::compiler::TFGraph::NextNodeId ( )
inlineprivate

Definition at line 70 of file turbofan-graph.cc.

Here is the caller graph for this function:

◆ NodeCount()

size_t v8::internal::compiler::TFGraph::NodeCount ( ) const
inline

Definition at line 88 of file turbofan-graph.h.

Here is the caller graph for this function:

◆ operator=()

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

◆ Print()

void v8::internal::compiler::TFGraph::Print ( ) const

Definition at line 77 of file turbofan-graph.cc.

◆ RecordSimdStore()

void v8::internal::compiler::TFGraph::RecordSimdStore ( Node * store)

Definition at line 79 of file turbofan-graph.cc.

Here is the call graph for this function:

◆ RemoveDecorator()

void v8::internal::compiler::TFGraph::RemoveDecorator ( GraphDecorator * decorator)

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

Here is the caller graph for this function:

◆ SetEnd()

void v8::internal::compiler::TFGraph::SetEnd ( Node * end)
inline

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

Here is the caller graph for this function:

◆ SetSimd()

void v8::internal::compiler::TFGraph::SetSimd ( bool has_simd)
inline

Definition at line 98 of file turbofan-graph.h.

◆ SetStart()

void v8::internal::compiler::TFGraph::SetStart ( Node * start)
inline

Definition at line 85 of file turbofan-graph.h.

Here is the caller graph for this function:

◆ start()

Node * v8::internal::compiler::TFGraph::start ( ) const
inline

Definition at line 82 of file turbofan-graph.h.

Here is the caller graph for this function:

◆ zone()

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

Definition at line 81 of file turbofan-graph.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ NodeMarkerBase

friend class NodeMarkerBase
friend

Definition at line 104 of file turbofan-graph.h.

Member Data Documentation

◆ decorators_

ZoneVector<GraphDecorator*> v8::internal::compiler::TFGraph::decorators_
private

Definition at line 113 of file turbofan-graph.h.

◆ end_

Node* v8::internal::compiler::TFGraph::end_
private

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

◆ has_simd_

bool v8::internal::compiler::TFGraph::has_simd_
private

Definition at line 114 of file turbofan-graph.h.

◆ mark_max_

Mark v8::internal::compiler::TFGraph::mark_max_
private

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

◆ next_node_id_

NodeId v8::internal::compiler::TFGraph::next_node_id_
private

Definition at line 112 of file turbofan-graph.h.

◆ simd_stores_

ZoneVector<Node*> v8::internal::compiler::TFGraph::simd_stores_
private

Definition at line 115 of file turbofan-graph.h.

◆ start_

Node* v8::internal::compiler::TFGraph::start_
private

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

◆ zone_

Zone* const v8::internal::compiler::TFGraph::zone_
private

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


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