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

#include <turbofan-graph-visualizer.h>

Collaboration diagram for v8::internal::compiler::JSONGraphWriter:

Public Member Functions

 JSONGraphWriter (std::ostream &os, const TFGraph *graph, const SourcePositionTable *positions, const NodeOriginTable *origins)
 
 JSONGraphWriter (const JSONGraphWriter &)=delete
 
JSONGraphWriteroperator= (const JSONGraphWriter &)=delete
 
void PrintPhase (const char *phase_name)
 
void Print ()
 

Protected Member Functions

void PrintNode (Node *node, bool is_live)
 
void PrintEdges (Node *node)
 
void PrintEdge (Node *from, int index, Node *to)
 
virtual std::optional< TypeGetType (Node *node)
 

Protected Attributes

std::ostream & os_
 
Zonezone_
 
const TFGraphgraph_
 
const SourcePositionTablepositions_
 
const NodeOriginTableorigins_
 
bool first_node_
 
bool first_edge_
 

Detailed Description

Definition at line 158 of file turbofan-graph-visualizer.h.

Constructor & Destructor Documentation

◆ JSONGraphWriter() [1/2]

v8::internal::compiler::JSONGraphWriter::JSONGraphWriter ( std::ostream & os,
const TFGraph * graph,
const SourcePositionTable * positions,
const NodeOriginTable * origins )

Definition at line 379 of file turbofan-graph-visualizer.cc.

◆ JSONGraphWriter() [2/2]

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

Member Function Documentation

◆ GetType()

std::optional< Type > v8::internal::compiler::JSONGraphWriter::GetType ( Node * node)
protectedvirtual

Definition at line 503 of file turbofan-graph-visualizer.cc.

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

◆ operator=()

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

◆ Print()

void v8::internal::compiler::JSONGraphWriter::Print ( )

Definition at line 396 of file turbofan-graph-visualizer.cc.

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

◆ PrintEdge()

void v8::internal::compiler::JSONGraphWriter::PrintEdge ( Node * from,
int index,
Node * to )
protected

Definition at line 479 of file turbofan-graph-visualizer.cc.

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

◆ PrintEdges()

void v8::internal::compiler::JSONGraphWriter::PrintEdges ( Node * node)
protected

Definition at line 471 of file turbofan-graph-visualizer.cc.

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

◆ PrintNode()

void v8::internal::compiler::JSONGraphWriter::PrintNode ( Node * node,
bool is_live )
protected

Definition at line 414 of file turbofan-graph-visualizer.cc.

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

◆ PrintPhase()

void v8::internal::compiler::JSONGraphWriter::PrintPhase ( const char * phase_name)

Definition at line 390 of file turbofan-graph-visualizer.cc.

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

Member Data Documentation

◆ first_edge_

bool v8::internal::compiler::JSONGraphWriter::first_edge_
protected

Definition at line 183 of file turbofan-graph-visualizer.h.

◆ first_node_

bool v8::internal::compiler::JSONGraphWriter::first_node_
protected

Definition at line 182 of file turbofan-graph-visualizer.h.

◆ graph_

const TFGraph* v8::internal::compiler::JSONGraphWriter::graph_
protected

Definition at line 179 of file turbofan-graph-visualizer.h.

◆ origins_

const NodeOriginTable* v8::internal::compiler::JSONGraphWriter::origins_
protected

Definition at line 181 of file turbofan-graph-visualizer.h.

◆ os_

std::ostream& v8::internal::compiler::JSONGraphWriter::os_
protected

Definition at line 177 of file turbofan-graph-visualizer.h.

◆ positions_

const SourcePositionTable* v8::internal::compiler::JSONGraphWriter::positions_
protected

Definition at line 180 of file turbofan-graph-visualizer.h.

◆ zone_

Zone* v8::internal::compiler::JSONGraphWriter::zone_
protected

Definition at line 178 of file turbofan-graph-visualizer.h.


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