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

#include <simplified-lowering-verifier.h>

Collaboration diagram for v8::internal::compiler::SimplifiedLoweringVerifier:

Classes

struct  PerNodeData
 

Public Member Functions

 SimplifiedLoweringVerifier (Zone *zone, TFGraph *graph)
 
void VisitNode (Node *node, OperationTyper &op_typer)
 
void RecordHint (Node *node)
 
const ZoneVector< Node * > & inserted_hints () const
 
void RecordMachineUsesOfConstant (Node *constant, Node::Uses uses)
 
const ZoneUnorderedMap< Node *, ZoneVector< Node * > > & machine_uses_of_constants () const
 
std::optional< TypeGetType (Node *node) const
 

Private Member Functions

void ResizeDataIfNecessary (Node *node)
 
void SetType (Node *node, const Type &type)
 
Type InputType (Node *node, int input_index) const
 
void SetTruncation (Node *node, const Truncation &truncation)
 
Truncation InputTruncation (Node *node, int input_index) const
 
void CheckType (Node *node, const Type &type)
 
void CheckAndSet (Node *node, const Type &type, const Truncation &trunc)
 
void ReportInvalidTypeCombination (Node *node, const std::vector< Type > &types)
 
Truncation GeneralizeTruncation (const Truncation &truncation, const Type &type) const
 
Truncation JoinTruncation (const Truncation &t1, const Truncation &t2)
 
Truncation JoinTruncation (const Truncation &t1, const Truncation &t2, const Truncation &t3)
 
Zonegraph_zone () const
 

Private Attributes

ZoneVector< Node * > hints_
 
ZoneUnorderedMap< Node *, ZoneVector< Node * > > machine_uses_of_constants_
 
ZoneVector< PerNodeDatadata_
 
TFGraphgraph_
 
Zonezone_
 

Detailed Description

Definition at line 20 of file simplified-lowering-verifier.h.

Constructor & Destructor Documentation

◆ SimplifiedLoweringVerifier()

v8::internal::compiler::SimplifiedLoweringVerifier::SimplifiedLoweringVerifier ( Zone * zone,
TFGraph * graph )
inline

Definition at line 27 of file simplified-lowering-verifier.h.

Member Function Documentation

◆ CheckAndSet()

void v8::internal::compiler::SimplifiedLoweringVerifier::CheckAndSet ( Node * node,
const Type & type,
const Truncation & trunc )
private

Definition at line 55 of file simplified-lowering-verifier.cc.

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

◆ CheckType()

void v8::internal::compiler::SimplifiedLoweringVerifier::CheckType ( Node * node,
const Type & type )
private

Definition at line 38 of file simplified-lowering-verifier.cc.

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

◆ GeneralizeTruncation()

Truncation v8::internal::compiler::SimplifiedLoweringVerifier::GeneralizeTruncation ( const Truncation & truncation,
const Type & type ) const
private

Definition at line 92 of file simplified-lowering-verifier.cc.

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

◆ GetType()

std::optional< Type > v8::internal::compiler::SimplifiedLoweringVerifier::GetType ( Node * node) const
inline

Definition at line 56 of file simplified-lowering-verifier.h.

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

◆ graph_zone()

Zone * v8::internal::compiler::SimplifiedLoweringVerifier::graph_zone ( ) const
inlineprivate

Definition at line 132 of file simplified-lowering-verifier.h.

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

◆ InputTruncation()

Truncation v8::internal::compiler::SimplifiedLoweringVerifier::InputTruncation ( Node * node,
int input_index ) const
inlineprivate

Definition at line 103 of file simplified-lowering-verifier.h.

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

◆ InputType()

Type v8::internal::compiler::SimplifiedLoweringVerifier::InputType ( Node * node,
int input_index ) const
inlineprivate

Definition at line 91 of file simplified-lowering-verifier.h.

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

◆ inserted_hints()

const ZoneVector< Node * > & v8::internal::compiler::SimplifiedLoweringVerifier::inserted_hints ( ) const
inline

Definition at line 40 of file simplified-lowering-verifier.h.

Here is the caller graph for this function:

◆ JoinTruncation() [1/2]

Truncation v8::internal::compiler::SimplifiedLoweringVerifier::JoinTruncation ( const Truncation & t1,
const Truncation & t2 )
private

Definition at line 133 of file simplified-lowering-verifier.cc.

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

◆ JoinTruncation() [2/2]

Truncation v8::internal::compiler::SimplifiedLoweringVerifier::JoinTruncation ( const Truncation & t1,
const Truncation & t2,
const Truncation & t3 )
inlineprivate

Definition at line 127 of file simplified-lowering-verifier.h.

Here is the call graph for this function:

◆ machine_uses_of_constants()

const ZoneUnorderedMap< Node *, ZoneVector< Node * > > & v8::internal::compiler::SimplifiedLoweringVerifier::machine_uses_of_constants ( ) const
inline

Definition at line 51 of file simplified-lowering-verifier.h.

Here is the caller graph for this function:

◆ RecordHint()

void v8::internal::compiler::SimplifiedLoweringVerifier::RecordHint ( Node * node)
inline

Definition at line 36 of file simplified-lowering-verifier.h.

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

◆ RecordMachineUsesOfConstant()

void v8::internal::compiler::SimplifiedLoweringVerifier::RecordMachineUsesOfConstant ( Node * constant,
Node::Uses uses )
inline

Definition at line 41 of file simplified-lowering-verifier.h.

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

◆ ReportInvalidTypeCombination()

void v8::internal::compiler::SimplifiedLoweringVerifier::ReportInvalidTypeCombination ( Node * node,
const std::vector< Type > & types )
private

Definition at line 70 of file simplified-lowering-verifier.cc.

Here is the caller graph for this function:

◆ ResizeDataIfNecessary()

void v8::internal::compiler::SimplifiedLoweringVerifier::ResizeDataIfNecessary ( Node * node)
inlineprivate

Definition at line 78 of file simplified-lowering-verifier.h.

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

◆ SetTruncation()

void v8::internal::compiler::SimplifiedLoweringVerifier::SetTruncation ( Node * node,
const Truncation & truncation )
inlineprivate

Definition at line 98 of file simplified-lowering-verifier.h.

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

◆ SetType()

void v8::internal::compiler::SimplifiedLoweringVerifier::SetType ( Node * node,
const Type & type )
inlineprivate

Definition at line 86 of file simplified-lowering-verifier.h.

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

◆ VisitNode()

void v8::internal::compiler::SimplifiedLoweringVerifier::VisitNode ( Node * node,
OperationTyper & op_typer )

Definition at line 149 of file simplified-lowering-verifier.cc.

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

Member Data Documentation

◆ data_

ZoneVector<PerNodeData> v8::internal::compiler::SimplifiedLoweringVerifier::data_
private

Definition at line 136 of file simplified-lowering-verifier.h.

◆ graph_

TFGraph* v8::internal::compiler::SimplifiedLoweringVerifier::graph_
private

Definition at line 137 of file simplified-lowering-verifier.h.

◆ hints_

ZoneVector<Node*> v8::internal::compiler::SimplifiedLoweringVerifier::hints_
private

Definition at line 134 of file simplified-lowering-verifier.h.

◆ machine_uses_of_constants_

ZoneUnorderedMap<Node*, ZoneVector<Node*> > v8::internal::compiler::SimplifiedLoweringVerifier::machine_uses_of_constants_
private

Definition at line 135 of file simplified-lowering-verifier.h.

◆ zone_

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

Definition at line 138 of file simplified-lowering-verifier.h.


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