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

#include <graph-trimmer.h>

Collaboration diagram for v8::internal::compiler::GraphTrimmer:

Public Member Functions

 GraphTrimmer (Zone *zone, TFGraph *graph)
 
 ~GraphTrimmer ()
 
 GraphTrimmer (const GraphTrimmer &)=delete
 
GraphTrimmeroperator= (const GraphTrimmer &)=delete
 
void TrimGraph ()
 
template<typename ForwardIterator >
void TrimGraph (ForwardIterator begin, ForwardIterator end)
 

Private Member Functions

V8_INLINE bool IsLive (Node *const node)
 
V8_INLINE void MarkAsLive (Node *const node)
 
TFGraphgraph () const
 

Private Attributes

TFGraph *const graph_
 
NodeMarker< boolis_live_
 
NodeVector live_
 

Detailed Description

Definition at line 18 of file graph-trimmer.h.

Constructor & Destructor Documentation

◆ GraphTrimmer() [1/2]

v8::internal::compiler::GraphTrimmer::GraphTrimmer ( Zone * zone,
TFGraph * graph )

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

Here is the call graph for this function:

◆ ~GraphTrimmer()

v8::internal::compiler::GraphTrimmer::~GraphTrimmer ( )
default

◆ GraphTrimmer() [2/2]

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

Member Function Documentation

◆ graph()

TFGraph * v8::internal::compiler::GraphTrimmer::graph ( ) const
inlineprivate

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

Here is the caller graph for this function:

◆ IsLive()

V8_INLINE bool v8::internal::compiler::GraphTrimmer::IsLive ( Node *const node)
inlineprivate

Definition at line 40 of file graph-trimmer.h.

Here is the caller graph for this function:

◆ MarkAsLive()

V8_INLINE void v8::internal::compiler::GraphTrimmer::MarkAsLive ( Node *const node)
inlineprivate

Definition at line 41 of file graph-trimmer.h.

Here is the caller graph for this function:

◆ operator=()

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

◆ TrimGraph() [1/2]

void v8::internal::compiler::GraphTrimmer::TrimGraph ( )

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

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

◆ TrimGraph() [2/2]

template<typename ForwardIterator >
void v8::internal::compiler::GraphTrimmer::TrimGraph ( ForwardIterator begin,
ForwardIterator end )
inline

Definition at line 31 of file graph-trimmer.h.

Here is the call graph for this function:

Member Data Documentation

◆ graph_

TFGraph* const v8::internal::compiler::GraphTrimmer::graph_
private

Definition at line 51 of file graph-trimmer.h.

◆ is_live_

NodeMarker<bool> v8::internal::compiler::GraphTrimmer::is_live_
private

Definition at line 52 of file graph-trimmer.h.

◆ live_

NodeVector v8::internal::compiler::GraphTrimmer::live_
private

Definition at line 53 of file graph-trimmer.h.


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