V8 Project
|
#include <typer.h>
Classes | |
class | NarrowVisitor |
class | RunVisitor |
class | Visitor |
class | WidenVisitor |
Public Member Functions | |
Typer (Zone *zone) | |
void | Init (Node *node) |
void | Run (Graph *graph, MaybeHandle< Context > context) |
void | Narrow (Graph *graph, Node *node, MaybeHandle< Context > context) |
void | Widen (Graph *graph, Node *node, MaybeHandle< Context > context) |
void | DecorateGraph (Graph *graph) |
Zone * | zone () |
Isolate * | isolate () |
Private Attributes | |
Zone * | zone_ |
Type * | number_fun0_ |
Type * | number_fun1_ |
Type * | number_fun2_ |
Type * | weakint_fun1_ |
Type * | imul_fun_ |
Type * | random_fun_ |
Type * | array_buffer_fun_ |
Type * | int8_array_fun_ |
Type * | int16_array_fun_ |
Type * | int32_array_fun_ |
Type * | uint8_array_fun_ |
Type * | uint16_array_fun_ |
Type * | uint32_array_fun_ |
Type * | float32_array_fun_ |
Type * | float64_array_fun_ |
|
explicit |
Definition at line 17 of file typer.cc.
References v8::internal::TypeImpl< ZoneTypeConfig >::Array(), array_buffer_fun_, v8::internal::Isolate::factory(), float32_array_fun_, float64_array_fun_, v8::internal::TypeImpl< ZoneTypeConfig >::Function(), imul_fun_, int16_array_fun_, int32_array_fun_, int8_array_fun_, v8::internal::Zone::isolate(), NATIVE_TYPE, number_fun0_, number_fun1_, number_fun2_, v8::internal::Object, random_fun_, v8::internal::TypeImpl< ZoneTypeConfig >::Range(), uint16_array_fun_, uint32_array_fun_, uint8_array_fun_, v8::Undefined(), v8::internal::TypeImpl< ZoneTypeConfig >::Union(), V8_INFINITY, weakint_fun1_, and zone().
void v8::internal::compiler::Typer::DecorateGraph | ( | Graph * | graph | ) |
Definition at line 908 of file typer.cc.
References v8::internal::compiler::Graph::AddDecorator(), and zone().
Referenced by v8::internal::compiler::Pipeline::GenerateCode().
void v8::internal::compiler::Typer::Init | ( | Node * | node | ) |
Definition at line 229 of file typer.cc.
References v8::internal::compiler::OperatorProperties::HasValueOutput(), v8::internal::compiler::NodeProperties::SetBounds(), and v8::internal::compiler::Typer::Visitor::TypeNode().
Referenced by v8::internal::compiler::JSGraph::NewNode().
|
inline |
Definition at line 30 of file typer.h.
References v8::internal::Zone::isolate(), and zone_.
Referenced by v8::internal::compiler::Typer::Visitor::isolate(), and v8::internal::compiler::Typer::Visitor::TypeConstant().
void v8::internal::compiler::Typer::Narrow | ( | Graph * | graph, |
Node * | node, | ||
MaybeHandle< Context > | context | ||
) |
Definition at line 217 of file typer.cc.
References v8::internal::compiler::Graph::VisitNodeUsesFrom().
void v8::internal::compiler::Typer::Run | ( | Graph * | graph, |
MaybeHandle< Context > | context | ||
) |
Definition at line 207 of file typer.cc.
References v8::internal::compiler::Typer::RunVisitor::redo, v8::internal::compiler::Graph::VisitNodeInputsFromEnd(), and Widen().
Referenced by v8::internal::compiler::Pipeline::GenerateCode().
void v8::internal::compiler::Typer::Widen | ( | Graph * | graph, |
Node * | node, | ||
MaybeHandle< Context > | context | ||
) |
Definition at line 223 of file typer.cc.
References v8::internal::compiler::Graph::VisitNodeUsesFrom().
Referenced by Run().
|
inline |
Definition at line 29 of file typer.h.
References zone_.
Referenced by DecorateGraph(), v8::internal::compiler::Typer::Visitor::TypeConstant(), Typer(), and v8::internal::compiler::Typer::Visitor::zone().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |