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

#include <typed-optimization.h>

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

Public Member Functions

 TypedOptimization (Editor *editor, CompilationDependencies *dependencies, JSGraph *jsgraph, JSHeapBroker *broker)
 
 ~TypedOptimization () override
 
 TypedOptimization (const TypedOptimization &)=delete
 
TypedOptimizationoperator= (const TypedOptimization &)=delete
 
const char * reducer_name () const override
 
Reduction Reduce (Node *node) final
 

Private Member Functions

Reduction ReduceConvertReceiver (Node *node)
 
Reduction ReduceMaybeGrowFastElements (Node *node)
 
Reduction ReduceCheckBounds (Node *node)
 
Reduction ReduceCheckHeapObject (Node *node)
 
Reduction ReduceCheckMaps (Node *node)
 
Reduction ReduceCheckNumber (Node *node)
 
Reduction ReduceCheckNumberFitsInt32 (Node *node)
 
Reduction ReduceCheckString (Node *node)
 
Reduction ReduceCheckStringOrStringWrapper (Node *node)
 
Reduction ReduceCheckEqualsInternalizedString (Node *node)
 
Reduction ReduceCheckEqualsSymbol (Node *node)
 
Reduction ReduceLoadField (Node *node)
 
Reduction ReduceNumberFloor (Node *node)
 
Reduction ReduceNumberRoundop (Node *node)
 
Reduction ReduceNumberSilenceNaN (Node *node)
 
Reduction ReduceNumberToUint8Clamped (Node *node)
 
Reduction ReducePhi (Node *node)
 
Reduction ReduceReferenceEqual (Node *node)
 
Reduction ReduceStringComparison (Node *node)
 
Reduction ReduceStringLength (Node *node)
 
Reduction ReduceSameValue (Node *node)
 
Reduction ReduceSelect (Node *node)
 
Reduction ReduceSpeculativeToNumber (Node *node)
 
Reduction ReduceCheckNotTaggedHole (Node *node)
 
Reduction ReduceTypedArrayLength (Node *node)
 
Reduction ReduceTypeOf (Node *node)
 
Reduction ReduceToBoolean (Node *node)
 
Reduction ReduceSpeculativeNumberAdd (Node *node)
 
Reduction ReduceSpeculativeNumberMultiply (Node *node)
 
Reduction ReduceSpeculativeNumberPow (Node *node)
 
Reduction ReduceSpeculativeNumberBinop (Node *node)
 
Reduction ReduceSpeculativeNumberComparison (Node *node)
 
Reduction ReduceTransitionElementsKindOrCheckMap (Node *node)
 
Reduction TryReduceStringComparisonOfStringFromSingleCharCode (Node *comparison, Node *from_char_code, Type constant_type, bool inverted)
 
Reduction TryReduceStringComparisonOfStringFromSingleCharCodeToConstant (Node *comparison, StringRef string, bool inverted)
 
const OperatorNumberComparisonFor (const Operator *op)
 
NodeConvertPlainPrimitiveToNumber (Node *node)
 
Reduction ReduceJSToNumberInput (Node *input)
 
SimplifiedOperatorBuildersimplified () const
 
Factoryfactory () const
 
TFGraphgraph () const
 
CompilationDependenciesdependencies () const
 
JSGraphjsgraph () const
 
JSHeapBrokerbroker () const
 

Private Attributes

CompilationDependencies *const dependencies_
 
JSGraph *const jsgraph_
 
JSHeapBrokerbroker_
 
Type const true_type_
 
Type const false_type_
 
TypeCache const * type_cache_
 

Detailed Description

Definition at line 26 of file typed-optimization.h.

Constructor & Destructor Documentation

◆ TypedOptimization() [1/2]

v8::internal::compiler::TypedOptimization::TypedOptimization ( Editor * editor,
CompilationDependencies * dependencies,
JSGraph * jsgraph,
JSHeapBroker * broker )

Definition at line 22 of file typed-optimization.cc.

◆ ~TypedOptimization()

v8::internal::compiler::TypedOptimization::~TypedOptimization ( )
overridedefault

◆ TypedOptimization() [2/2]

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

Member Function Documentation

◆ broker()

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

Definition at line 90 of file typed-optimization.h.

Here is the caller graph for this function:

◆ ConvertPlainPrimitiveToNumber()

Node * v8::internal::compiler::TypedOptimization::ConvertPlainPrimitiveToNumber ( Node * node)
private

Definition at line 940 of file typed-optimization.cc.

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

◆ dependencies()

CompilationDependencies * v8::internal::compiler::TypedOptimization::dependencies ( ) const
inlineprivate

Definition at line 88 of file typed-optimization.h.

Here is the caller graph for this function:

◆ factory()

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

Definition at line 989 of file typed-optimization.cc.

Here is the call graph for this function:

◆ graph()

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

Definition at line 993 of file typed-optimization.cc.

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

◆ jsgraph()

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

Definition at line 89 of file typed-optimization.h.

Here is the caller graph for this function:

◆ NumberComparisonFor()

const Operator * v8::internal::compiler::TypedOptimization::NumberComparisonFor ( const Operator * op)
private

Definition at line 485 of file typed-optimization.cc.

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

◆ operator=()

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

◆ Reduce()

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

Definition at line 36 of file typed-optimization.cc.

Here is the call graph for this function:

◆ ReduceCheckBounds()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckBounds ( Node * node)
private

Definition at line 205 of file typed-optimization.cc.

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

◆ ReduceCheckEqualsInternalizedString()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckEqualsInternalizedString ( Node * node)
private

Definition at line 321 of file typed-optimization.cc.

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

◆ ReduceCheckEqualsSymbol()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckEqualsSymbol ( Node * node)
private

Definition at line 333 of file typed-optimization.cc.

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

◆ ReduceCheckHeapObject()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckHeapObject ( Node * node)
private

Definition at line 165 of file typed-optimization.cc.

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

◆ ReduceCheckMaps()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckMaps ( Node * node)
private

Definition at line 254 of file typed-optimization.cc.

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

◆ ReduceCheckNotTaggedHole()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckNotTaggedHole ( Node * node)
private

Definition at line 222 of file typed-optimization.cc.

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

◆ ReduceCheckNumber()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckNumber ( Node * node)
private

Definition at line 281 of file typed-optimization.cc.

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

◆ ReduceCheckNumberFitsInt32()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckNumberFitsInt32 ( Node * node)
private

Definition at line 291 of file typed-optimization.cc.

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

◆ ReduceCheckString()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckString ( Node * node)
private

Definition at line 301 of file typed-optimization.cc.

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

◆ ReduceCheckStringOrStringWrapper()

Reduction v8::internal::compiler::TypedOptimization::ReduceCheckStringOrStringWrapper ( Node * node)
private

Definition at line 311 of file typed-optimization.cc.

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

◆ ReduceConvertReceiver()

Reduction v8::internal::compiler::TypedOptimization::ReduceConvertReceiver ( Node * node)
private

Definition at line 151 of file typed-optimization.cc.

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

◆ ReduceJSToNumberInput()

Reduction v8::internal::compiler::TypedOptimization::ReduceJSToNumberInput ( Node * input)
private

Definition at line 905 of file typed-optimization.cc.

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

◆ ReduceLoadField()

Reduction v8::internal::compiler::TypedOptimization::ReduceLoadField ( Node * node)
private

Definition at line 343 of file typed-optimization.cc.

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

◆ ReduceMaybeGrowFastElements()

Reduction v8::internal::compiler::TypedOptimization::ReduceMaybeGrowFastElements ( Node * node)
private

Definition at line 175 of file typed-optimization.cc.

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

◆ ReduceNumberFloor()

Reduction v8::internal::compiler::TypedOptimization::ReduceNumberFloor ( Node * node)
private

Definition at line 366 of file typed-optimization.cc.

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

◆ ReduceNumberRoundop()

Reduction v8::internal::compiler::TypedOptimization::ReduceNumberRoundop ( Node * node)
private

Definition at line 401 of file typed-optimization.cc.

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

◆ ReduceNumberSilenceNaN()

Reduction v8::internal::compiler::TypedOptimization::ReduceNumberSilenceNaN ( Node * node)
private

Definition at line 410 of file typed-optimization.cc.

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

◆ ReduceNumberToUint8Clamped()

Reduction v8::internal::compiler::TypedOptimization::ReduceNumberToUint8Clamped ( Node * node)
private

Definition at line 419 of file typed-optimization.cc.

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

◆ ReducePhi()

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

Definition at line 428 of file typed-optimization.cc.

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

◆ reducer_name()

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

Definition at line 35 of file typed-optimization.h.

◆ ReduceReferenceEqual()

Reduction v8::internal::compiler::TypedOptimization::ReduceReferenceEqual ( Node * node)
private

Definition at line 454 of file typed-optimization.cc.

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

◆ ReduceSameValue()

Reduction v8::internal::compiler::TypedOptimization::ReduceSameValue ( Node * node)
private

Definition at line 652 of file typed-optimization.cc.

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

◆ ReduceSelect()

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

Definition at line 701 of file typed-optimization.cc.

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

◆ ReduceSpeculativeNumberAdd()

Reduction v8::internal::compiler::TypedOptimization::ReduceSpeculativeNumberAdd ( Node * node)
private

Definition at line 883 of file typed-optimization.cc.

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

◆ ReduceSpeculativeNumberBinop()

Reduction v8::internal::compiler::TypedOptimization::ReduceSpeculativeNumberBinop ( Node * node)
private

Definition at line 951 of file typed-optimization.cc.

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

◆ ReduceSpeculativeNumberComparison()

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

Definition at line 974 of file typed-optimization.cc.

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

◆ ReduceSpeculativeNumberMultiply()

Reduction v8::internal::compiler::TypedOptimization::ReduceSpeculativeNumberMultiply ( Node * node)
private

◆ ReduceSpeculativeNumberPow()

Reduction v8::internal::compiler::TypedOptimization::ReduceSpeculativeNumberPow ( Node * node)
private

◆ ReduceSpeculativeToNumber()

Reduction v8::internal::compiler::TypedOptimization::ReduceSpeculativeToNumber ( Node * node)
private

Definition at line 739 of file typed-optimization.cc.

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

◆ ReduceStringComparison()

Reduction v8::internal::compiler::TypedOptimization::ReduceStringComparison ( Node * node)
private

Definition at line 580 of file typed-optimization.cc.

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

◆ ReduceStringLength()

Reduction v8::internal::compiler::TypedOptimization::ReduceStringLength ( Node * node)
private

Definition at line 623 of file typed-optimization.cc.

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

◆ ReduceToBoolean()

Reduction v8::internal::compiler::TypedOptimization::ReduceToBoolean ( Node * node)
private

Definition at line 800 of file typed-optimization.cc.

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

◆ ReduceTransitionElementsKindOrCheckMap()

Reduction v8::internal::compiler::TypedOptimization::ReduceTransitionElementsKindOrCheckMap ( Node * node)
private

Definition at line 266 of file typed-optimization.cc.

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

◆ ReduceTypedArrayLength()

Reduction v8::internal::compiler::TypedOptimization::ReduceTypedArrayLength ( Node * node)
private

Definition at line 782 of file typed-optimization.cc.

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

◆ ReduceTypeOf()

Reduction v8::internal::compiler::TypedOptimization::ReduceTypeOf ( Node * node)
private

Definition at line 751 of file typed-optimization.cc.

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

◆ simplified()

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

Definition at line 995 of file typed-optimization.cc.

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

◆ TryReduceStringComparisonOfStringFromSingleCharCode()

Reduction v8::internal::compiler::TypedOptimization::TryReduceStringComparisonOfStringFromSingleCharCode ( Node * comparison,
Node * from_char_code,
Type constant_type,
bool inverted )
private

Definition at line 528 of file typed-optimization.cc.

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

◆ TryReduceStringComparisonOfStringFromSingleCharCodeToConstant()

Reduction v8::internal::compiler::TypedOptimization::TryReduceStringComparisonOfStringFromSingleCharCodeToConstant ( Node * comparison,
StringRef string,
bool inverted )
private

Definition at line 499 of file typed-optimization.cc.

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

Member Data Documentation

◆ broker_

JSHeapBroker* v8::internal::compiler::TypedOptimization::broker_
private

Definition at line 94 of file typed-optimization.h.

◆ dependencies_

CompilationDependencies* const v8::internal::compiler::TypedOptimization::dependencies_
private

Definition at line 92 of file typed-optimization.h.

◆ false_type_

Type const v8::internal::compiler::TypedOptimization::false_type_
private

Definition at line 96 of file typed-optimization.h.

◆ jsgraph_

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

Definition at line 93 of file typed-optimization.h.

◆ true_type_

Type const v8::internal::compiler::TypedOptimization::true_type_
private

Definition at line 95 of file typed-optimization.h.

◆ type_cache_

TypeCache const* v8::internal::compiler::TypedOptimization::type_cache_
private

Definition at line 97 of file typed-optimization.h.


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