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

#include <graph-reducer.h>

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

Classes

class  Editor
 

Public Member Functions

 AdvancedReducer (Editor *editor)
 
- Public Member Functions inherited from v8::internal::compiler::Reducer
virtual ~Reducer ()=default
 
virtual const char * reducer_name () const =0
 
Reduction Reduce (Node *node, ObserveNodeManager *observe_node_manager)
 
virtual void Finalize ()
 

Protected Member Functions

void Replace (Node *node, Node *replacement)
 
void Replace (Node *node, Node *replacement, NodeId max_id)
 
void Revisit (Node *node)
 
void ReplaceWithValue (Node *node, Node *value, Node *effect=nullptr, Node *control=nullptr)
 
void RelaxEffectsAndControls (Node *node)
 
void RelaxControls (Node *node, Node *control=nullptr)
 
void MergeControlToEnd (TFGraph *graph, CommonOperatorBuilder *common, Node *node)
 

Static Protected Member Functions

static Reduction Replace (Node *node)
 

Private Attributes

Editor *const editor_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::compiler::Reducer
static Reduction NoChange ()
 
static Reduction Replace (Node *node)
 
static Reduction Changed (Node *node)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AdvancedReducer()

v8::internal::compiler::AdvancedReducer::AdvancedReducer ( Editor * editor)
inlineexplicit

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

Member Function Documentation

◆ MergeControlToEnd()

void v8::internal::compiler::AdvancedReducer::MergeControlToEnd ( TFGraph * graph,
CommonOperatorBuilder * common,
Node * node )
inlineprotected

Definition at line 138 of file graph-reducer.h.

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

◆ RelaxControls()

void v8::internal::compiler::AdvancedReducer::RelaxControls ( Node * node,
Node * control = nullptr )
inlineprotected

Definition at line 134 of file graph-reducer.h.

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

◆ RelaxEffectsAndControls()

void v8::internal::compiler::AdvancedReducer::RelaxEffectsAndControls ( Node * node)
inlineprotected

Definition at line 128 of file graph-reducer.h.

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

◆ Replace() [1/3]

static Reduction v8::internal::compiler::AdvancedReducer::Replace ( Node * node)
inlinestaticprotected

Definition at line 105 of file graph-reducer.h.

Here is the call graph for this function:

◆ Replace() [2/3]

void v8::internal::compiler::AdvancedReducer::Replace ( Node * node,
Node * replacement )
inlineprotected

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

Here is the call graph for this function:

◆ Replace() [3/3]

void v8::internal::compiler::AdvancedReducer::Replace ( Node * node,
Node * replacement,
NodeId max_id )
inlineprotected

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

Here is the call graph for this function:

◆ ReplaceWithValue()

void v8::internal::compiler::AdvancedReducer::ReplaceWithValue ( Node * node,
Node * value,
Node * effect = nullptr,
Node * control = nullptr )
inlineprotected

Definition at line 119 of file graph-reducer.h.

Here is the call graph for this function:

◆ Revisit()

void v8::internal::compiler::AdvancedReducer::Revisit ( Node * node)
inlineprotected

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

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

Member Data Documentation

◆ editor_

Editor* const v8::internal::compiler::AdvancedReducer::editor_
private

Definition at line 145 of file graph-reducer.h.


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