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

#include <simplified-operator-reducer.h>

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

Public Member Functions

 SimplifiedOperatorReducer (Editor *editor, JSGraph *jsgraph, JSHeapBroker *broker, BranchSemantics branch_semantics)
 
 ~SimplifiedOperatorReducer () final
 
 SimplifiedOperatorReducer (const SimplifiedOperatorReducer &)=delete
 
SimplifiedOperatorReduceroperator= (const SimplifiedOperatorReducer &)=delete
 
const char * reducer_name () const override
 
Reduction Reduce (Node *node) final
 

Private Member Functions

Reduction Change (Node *node, const Operator *op, Node *a)
 
Reduction ReplaceBoolean (bool value)
 
Reduction ReplaceFloat64 (double value)
 
Reduction ReplaceInt32 (int32_t value)
 
Reduction ReplaceUint32 (uint32_t value)
 
Reduction ReplaceNumber (double value)
 
Reduction ReplaceNumber (int32_t value)
 
Factoryfactory () const
 
TFGraphgraph () const
 
MachineOperatorBuildermachine () const
 
SimplifiedOperatorBuildersimplified () const
 
JSGraphjsgraph () const
 
JSHeapBrokerbroker () const
 

Private Attributes

JSGraph *const jsgraph_
 
JSHeapBroker *const broker_
 
BranchSemantics branch_semantics_
 

Detailed Description

Definition at line 26 of file simplified-operator-reducer.h.

Constructor & Destructor Documentation

◆ SimplifiedOperatorReducer() [1/2]

v8::internal::compiler::SimplifiedOperatorReducer::SimplifiedOperatorReducer ( Editor * editor,
JSGraph * jsgraph,
JSHeapBroker * broker,
BranchSemantics branch_semantics )

Definition at line 39 of file simplified-operator-reducer.cc.

◆ ~SimplifiedOperatorReducer()

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

◆ SimplifiedOperatorReducer() [2/2]

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

Member Function Documentation

◆ broker()

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

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

Here is the caller graph for this function:

◆ Change()

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

Definition at line 278 of file simplified-operator-reducer.cc.

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

◆ factory()

Factory * v8::internal::compiler::SimplifiedOperatorReducer::factory ( ) const
private

Definition at line 314 of file simplified-operator-reducer.cc.

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

◆ graph()

TFGraph * v8::internal::compiler::SimplifiedOperatorReducer::graph ( ) const
private

Definition at line 318 of file simplified-operator-reducer.cc.

Here is the call graph for this function:

◆ jsgraph()

JSGraph * v8::internal::compiler::SimplifiedOperatorReducer::jsgraph ( ) const
inlineprivate

Definition at line 59 of file simplified-operator-reducer.h.

Here is the caller graph for this function:

◆ machine()

MachineOperatorBuilder * v8::internal::compiler::SimplifiedOperatorReducer::machine ( ) const
private

Definition at line 320 of file simplified-operator-reducer.cc.

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

◆ operator=()

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

◆ Reduce()

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

Definition at line 50 of file simplified-operator-reducer.cc.

Here is the call graph for this function:

◆ reducer_name()

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

Definition at line 37 of file simplified-operator-reducer.h.

◆ ReplaceBoolean()

Reduction v8::internal::compiler::SimplifiedOperatorReducer::ReplaceBoolean ( bool value)
private

Definition at line 287 of file simplified-operator-reducer.cc.

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

◆ ReplaceFloat64()

Reduction v8::internal::compiler::SimplifiedOperatorReducer::ReplaceFloat64 ( double value)
private

Definition at line 295 of file simplified-operator-reducer.cc.

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

◆ ReplaceInt32()

Reduction v8::internal::compiler::SimplifiedOperatorReducer::ReplaceInt32 ( int32_t value)
private

Definition at line 300 of file simplified-operator-reducer.cc.

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

◆ ReplaceNumber() [1/2]

Reduction v8::internal::compiler::SimplifiedOperatorReducer::ReplaceNumber ( double value)
private

Definition at line 305 of file simplified-operator-reducer.cc.

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

◆ ReplaceNumber() [2/2]

Reduction v8::internal::compiler::SimplifiedOperatorReducer::ReplaceNumber ( int32_t value)
private

Definition at line 310 of file simplified-operator-reducer.cc.

Here is the call graph for this function:

◆ ReplaceUint32()

Reduction v8::internal::compiler::SimplifiedOperatorReducer::ReplaceUint32 ( uint32_t value)
inlineprivate

Definition at line 48 of file simplified-operator-reducer.h.

Here is the caller graph for this function:

◆ simplified()

SimplifiedOperatorBuilder * v8::internal::compiler::SimplifiedOperatorReducer::simplified ( ) const
private

Definition at line 324 of file simplified-operator-reducer.cc.

Here is the call graph for this function:

Member Data Documentation

◆ branch_semantics_

BranchSemantics v8::internal::compiler::SimplifiedOperatorReducer::branch_semantics_
private

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

◆ broker_

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

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

◆ jsgraph_

JSGraph* const v8::internal::compiler::SimplifiedOperatorReducer::jsgraph_
private

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


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