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

#include <common-operator-reducer.h>

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

Public Member Functions

 CommonOperatorReducer (Editor *editor, TFGraph *graph, JSHeapBroker *broker, CommonOperatorBuilder *common, MachineOperatorBuilder *machine, Zone *temp_zone, BranchSemantics default_branch_semantics)
 
 ~CommonOperatorReducer () final=default
 
const char * reducer_name () const override
 
Reduction Reduce (Node *node) final
 

Private Member Functions

Reduction ReduceBranch (Node *node)
 
Reduction ReduceDeoptimizeConditional (Node *node)
 
Reduction ReduceMerge (Node *node)
 
Reduction ReduceEffectPhi (Node *node)
 
Reduction ReducePhi (Node *node)
 
Reduction ReduceReturn (Node *node)
 
Reduction ReduceSelect (Node *node)
 
Reduction ReduceSwitch (Node *node)
 
Reduction ReduceStaticAssert (Node *node)
 
Reduction ReduceTrapConditional (Node *node)
 
Reduction Change (Node *node, Operator const *op, Node *a)
 
Reduction Change (Node *node, Operator const *op, Node *a, Node *b)
 
Decision DecideCondition (Node *const cond, BranchSemantics branch_semantics)
 
BranchSemantics BranchSemanticsOf (const Node *branch)
 
TFGraphgraph () const
 
JSHeapBrokerbroker () const
 
CommonOperatorBuildercommon () const
 
MachineOperatorBuildermachine () const
 
Nodedead () const
 

Private Attributes

TFGraph *const graph_
 
JSHeapBroker *const broker_
 
CommonOperatorBuilder *const common_
 
MachineOperatorBuilder *const machine_
 
Node *const dead_
 
Zonezone_
 
BranchSemantics default_branch_semantics_
 

Detailed Description

Definition at line 24 of file common-operator-reducer.h.

Constructor & Destructor Documentation

◆ CommonOperatorReducer()

v8::internal::compiler::CommonOperatorReducer::CommonOperatorReducer ( Editor * editor,
TFGraph * graph,
JSHeapBroker * broker,
CommonOperatorBuilder * common,
MachineOperatorBuilder * machine,
Zone * temp_zone,
BranchSemantics default_branch_semantics )

Definition at line 23 of file common-operator-reducer.cc.

Here is the call graph for this function:

◆ ~CommonOperatorReducer()

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

Member Function Documentation

◆ BranchSemanticsOf()

BranchSemantics v8::internal::compiler::CommonOperatorReducer::BranchSemanticsOf ( const Node * branch)
inlineprivate

Definition at line 54 of file common-operator-reducer.h.

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

◆ broker()

JSHeapBroker * v8::internal::compiler::CommonOperatorReducer::broker ( ) const
inlineprivate

Definition at line 61 of file common-operator-reducer.h.

Here is the caller graph for this function:

◆ Change() [1/2]

Reduction v8::internal::compiler::CommonOperatorReducer::Change ( Node * node,
Operator const * op,
Node * a )
private

Definition at line 560 of file common-operator-reducer.cc.

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

◆ Change() [2/2]

Reduction v8::internal::compiler::CommonOperatorReducer::Change ( Node * node,
Operator const * op,
Node * a,
Node * b )
private

Definition at line 569 of file common-operator-reducer.cc.

Here is the call graph for this function:

◆ common()

CommonOperatorBuilder * v8::internal::compiler::CommonOperatorReducer::common ( ) const
inlineprivate

Definition at line 62 of file common-operator-reducer.h.

Here is the caller graph for this function:

◆ dead()

Node * v8::internal::compiler::CommonOperatorReducer::dead ( ) const
inlineprivate

Definition at line 64 of file common-operator-reducer.h.

Here is the caller graph for this function:

◆ DecideCondition()

Decision v8::internal::compiler::CommonOperatorReducer::DecideCondition ( Node *const cond,
BranchSemantics branch_semantics )
private

Definition at line 69 of file common-operator-reducer.cc.

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

◆ graph()

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

Definition at line 60 of file common-operator-reducer.h.

Here is the caller graph for this function:

◆ machine()

MachineOperatorBuilder * v8::internal::compiler::CommonOperatorReducer::machine ( ) const
inlineprivate

Definition at line 63 of file common-operator-reducer.h.

Here is the caller graph for this function:

◆ Reduce()

Reduction v8::internal::compiler::CommonOperatorReducer::Reduce ( Node * node)
final

Definition at line 38 of file common-operator-reducer.cc.

Here is the call graph for this function:

◆ ReduceBranch()

Reduction v8::internal::compiler::CommonOperatorReducer::ReduceBranch ( Node * node)
private

Definition at line 93 of file common-operator-reducer.cc.

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

◆ ReduceDeoptimizeConditional()

Reduction v8::internal::compiler::CommonOperatorReducer::ReduceDeoptimizeConditional ( Node * node)
private

Definition at line 147 of file common-operator-reducer.cc.

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

◆ ReduceEffectPhi()

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

Definition at line 217 of file common-operator-reducer.cc.

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

◆ ReduceMerge()

Reduction v8::internal::compiler::CommonOperatorReducer::ReduceMerge ( Node * node)
private

Definition at line 181 of file common-operator-reducer.cc.

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

◆ ReducePhi()

Reduction v8::internal::compiler::CommonOperatorReducer::ReducePhi ( Node * node)
private

Definition at line 242 of file common-operator-reducer.cc.

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

◆ reducer_name()

const char * v8::internal::compiler::CommonOperatorReducer::reducer_name ( ) const
inlineoverride

Definition at line 33 of file common-operator-reducer.h.

◆ ReduceReturn()

Reduction v8::internal::compiler::CommonOperatorReducer::ReduceReturn ( Node * node)
private

Definition at line 352 of file common-operator-reducer.cc.

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

◆ ReduceSelect()

Reduction v8::internal::compiler::CommonOperatorReducer::ReduceSelect ( Node * node)
private

Definition at line 437 of file common-operator-reducer.cc.

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

◆ ReduceStaticAssert()

Reduction v8::internal::compiler::CommonOperatorReducer::ReduceStaticAssert ( Node * node)
private

Definition at line 522 of file common-operator-reducer.cc.

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

◆ ReduceSwitch()

Reduction v8::internal::compiler::CommonOperatorReducer::ReduceSwitch ( Node * node)
private

Definition at line 485 of file common-operator-reducer.cc.

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

◆ ReduceTrapConditional()

Reduction v8::internal::compiler::CommonOperatorReducer::ReduceTrapConditional ( Node * node)
private

Definition at line 534 of file common-operator-reducer.cc.

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

Member Data Documentation

◆ broker_

JSHeapBroker* const v8::internal::compiler::CommonOperatorReducer::broker_
private

Definition at line 67 of file common-operator-reducer.h.

◆ common_

CommonOperatorBuilder* const v8::internal::compiler::CommonOperatorReducer::common_
private

Definition at line 68 of file common-operator-reducer.h.

◆ dead_

Node* const v8::internal::compiler::CommonOperatorReducer::dead_
private

Definition at line 70 of file common-operator-reducer.h.

◆ default_branch_semantics_

BranchSemantics v8::internal::compiler::CommonOperatorReducer::default_branch_semantics_
private

Definition at line 72 of file common-operator-reducer.h.

◆ graph_

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

Definition at line 66 of file common-operator-reducer.h.

◆ machine_

MachineOperatorBuilder* const v8::internal::compiler::CommonOperatorReducer::machine_
private

Definition at line 69 of file common-operator-reducer.h.

◆ zone_

Zone* v8::internal::compiler::CommonOperatorReducer::zone_
private

Definition at line 71 of file common-operator-reducer.h.


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