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

#include <redundancy-elimination.h>

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

Classes

struct  Check
 
class  EffectPathChecks
 
class  PathChecksForEffectNodes
 

Public Member Functions

 RedundancyElimination (Editor *editor, JSGraph *jsgraph, Zone *zone)
 
 ~RedundancyElimination () final
 
 RedundancyElimination (const RedundancyElimination &)=delete
 
RedundancyEliminationoperator= (const RedundancyElimination &)=delete
 
const char * reducer_name () const override
 
Reduction Reduce (Node *node) final
 
- Public Member Functions inherited from v8::internal::compiler::AdvancedReducer
 AdvancedReducer (Editor *editor)
 
- Public Member Functions inherited from v8::internal::compiler::Reducer
virtual ~Reducer ()=default
 
Reduction Reduce (Node *node, ObserveNodeManager *observe_node_manager)
 
virtual void Finalize ()
 

Private Member Functions

Reduction ReduceCheckNode (Node *node)
 
Reduction ReduceEffectPhi (Node *node)
 
Reduction ReduceSpeculativeNumberComparison (Node *node)
 
Reduction ReduceSpeculativeNumberOperation (Node *node)
 
Reduction ReduceStart (Node *node)
 
Reduction ReduceOtherNode (Node *node)
 
Reduction TakeChecksFromFirstEffect (Node *node)
 
Reduction UpdateChecks (Node *node, EffectPathChecks const *checks)
 
Zonezone () const
 

Private Attributes

PathChecksForEffectNodes node_checks_
 
JSGraphjsgraph_
 
Zone *const zone_
 

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)
 
- Protected Member Functions inherited from v8::internal::compiler::AdvancedReducer
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 inherited from v8::internal::compiler::AdvancedReducer
static Reduction Replace (Node *node)
 

Detailed Description

Definition at line 17 of file redundancy-elimination.h.

Constructor & Destructor Documentation

◆ RedundancyElimination() [1/2]

v8::internal::compiler::RedundancyElimination::RedundancyElimination ( Editor * editor,
JSGraph * jsgraph,
Zone * zone )

Definition at line 15 of file redundancy-elimination.cc.

◆ ~RedundancyElimination()

v8::internal::compiler::RedundancyElimination::~RedundancyElimination ( )
finaldefault

◆ RedundancyElimination() [2/2]

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

Member Function Documentation

◆ operator=()

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

◆ Reduce()

Reduction v8::internal::compiler::RedundancyElimination::Reduce ( Node * node)
finalvirtual

Implements v8::internal::compiler::Reducer.

Definition at line 24 of file redundancy-elimination.cc.

Here is the call graph for this function:

◆ ReduceCheckNode()

Reduction v8::internal::compiler::RedundancyElimination::ReduceCheckNode ( Node * node)
private

Definition at line 350 of file redundancy-elimination.cc.

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

◆ ReduceEffectPhi()

Reduction v8::internal::compiler::RedundancyElimination::ReduceEffectPhi ( Node * node)
private

Definition at line 366 of file redundancy-elimination.cc.

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

◆ ReduceOtherNode()

Reduction v8::internal::compiler::RedundancyElimination::ReduceOtherNode ( Node * node)
private

Definition at line 491 of file redundancy-elimination.cc.

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

◆ reducer_name()

const char * v8::internal::compiler::RedundancyElimination::reducer_name ( ) const
inlineoverridevirtual

Implements v8::internal::compiler::Reducer.

Definition at line 24 of file redundancy-elimination.h.

◆ ReduceSpeculativeNumberComparison()

Reduction v8::internal::compiler::RedundancyElimination::ReduceSpeculativeNumberComparison ( Node * node)
private

Definition at line 394 of file redundancy-elimination.cc.

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

◆ ReduceSpeculativeNumberOperation()

Reduction v8::internal::compiler::RedundancyElimination::ReduceSpeculativeNumberOperation ( Node * node)
private

Definition at line 452 of file redundancy-elimination.cc.

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

◆ ReduceStart()

Reduction v8::internal::compiler::RedundancyElimination::ReduceStart ( Node * node)
private

Definition at line 487 of file redundancy-elimination.cc.

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

◆ TakeChecksFromFirstEffect()

Reduction v8::internal::compiler::RedundancyElimination::TakeChecksFromFirstEffect ( Node * node)
private

Definition at line 505 of file redundancy-elimination.cc.

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

◆ UpdateChecks()

Reduction v8::internal::compiler::RedundancyElimination::UpdateChecks ( Node * node,
EffectPathChecks const * checks )
private

Definition at line 517 of file redundancy-elimination.cc.

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

◆ zone()

Zone * v8::internal::compiler::RedundancyElimination::zone ( ) const
inlineprivate

Definition at line 77 of file redundancy-elimination.h.

Here is the caller graph for this function:

Member Data Documentation

◆ jsgraph_

JSGraph* v8::internal::compiler::RedundancyElimination::jsgraph_
private

Definition at line 80 of file redundancy-elimination.h.

◆ node_checks_

PathChecksForEffectNodes v8::internal::compiler::RedundancyElimination::node_checks_
private

Definition at line 79 of file redundancy-elimination.h.

◆ zone_

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

Definition at line 81 of file redundancy-elimination.h.


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