V8 Project
|
#include <graph.h>
Public Member Functions | |
Graph (Zone *zone) | |
Node * | NewNode (const Operator *op, int input_count, Node **inputs) |
Node * | NewNode (const Operator *op) |
Node * | NewNode (const Operator *op, Node *n1) |
Node * | NewNode (const Operator *op, Node *n1, Node *n2) |
Node * | NewNode (const Operator *op, Node *n1, Node *n2, Node *n3) |
Node * | NewNode (const Operator *op, Node *n1, Node *n2, Node *n3, Node *n4) |
Node * | NewNode (const Operator *op, Node *n1, Node *n2, Node *n3, Node *n4, Node *n5) |
Node * | NewNode (const Operator *op, Node *n1, Node *n2, Node *n3, Node *n4, Node *n5, Node *n6) |
template<class Visitor > | |
void | VisitNodeUsesFrom (Node *node, Visitor *visitor) |
template<class Visitor > | |
void | VisitNodeUsesFromStart (Visitor *visitor) |
template<class Visitor > | |
void | VisitNodeInputsFromEnd (Visitor *visitor) |
void | AddDecorator (GraphDecorator *decorator) |
void | RemoveDecorator (GraphDecorator *decorator) |
![]() | |
GenericGraph (Zone *zone) | |
Node * | start () |
Node * | end () |
void | SetStart (Node *start) |
void | SetEnd (Node *end) |
![]() | |
GenericGraphBase (Zone *zone) | |
Zone * | zone () const |
NodeId | NextNodeID () |
NodeId | NodeCount () const |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Private Attributes | |
ZoneVector< GraphDecorator * > | decorators_ |
|
explicit |
Definition at line 21 of file graph.cc.
|
inline |
Definition at line 67 of file graph.h.
References decorators_.
Referenced by v8::internal::compiler::Typer::DecorateGraph().
|
inline |
Definition at line 31 of file graph.h.
References NewNode(), and NULL.
Node * v8::internal::compiler::Graph::NewNode | ( | const Operator * | op, |
int | input_count, | ||
Node ** | inputs | ||
) |
Definition at line 24 of file graph.cc.
References DCHECK_LE, decorators_, and v8::internal::compiler::Operator::InputCount().
Referenced by v8::internal::compiler::RawMachineAssembler::CallFunctionStub0(), v8::internal::compiler::RawMachineAssembler::CallJS0(), v8::internal::compiler::RawMachineAssembler::CallRuntime1(), v8::internal::compiler::JSBinopReduction::ChangeToPureOperator(), v8::internal::compiler::AstGraphBuilder::Environment::Checkpoint(), v8::internal::compiler::SimplifiedLowering::ComputeIndex(), v8::internal::compiler::JSBinopReduction::ConvertToI32(), v8::internal::compiler::JSBinopReduction::ConvertToNumber(), v8::internal::compiler::JSBinopReduction::ConvertToString(), v8::internal::compiler::JSInliner::CreateArgumentsAdaptorFrameState(), v8::internal::compiler::StructuredGraphBuilder::dead_control(), v8::internal::compiler::AstGraphBuilder::Environment::Environment(), v8::internal::compiler::GraphTest::Float32Constant(), v8::internal::compiler::GraphTest::Float64Constant(), v8::internal::compiler::RepresentationChanger::GetBitRepresentationFor(), v8::internal::compiler::RepresentationChanger::GetFloat32RepresentationFor(), v8::internal::compiler::RepresentationChanger::GetFloat64RepresentationFor(), v8::internal::compiler::CopyVisitor::GetSentinel(), v8::internal::compiler::RepresentationChanger::GetTaggedRepresentationFor(), v8::internal::compiler::RepresentationChanger::GetWord32RepresentationFor(), v8::internal::compiler::GraphTest::HeapConstant(), v8::internal::compiler::Inlinee::InlineAtCall(), v8::internal::compiler::RepresentationChanger::InsertChangeFloat32ToFloat64(), v8::internal::compiler::BasicBlockInstrumentor::Instrument(), v8::internal::compiler::GraphTest::Int32Constant(), v8::internal::compiler::GraphTest::Int64Constant(), v8::internal::compiler::SimplifiedLowering::IsTagged(), v8::internal::compiler::RawMachineAssembler::MakeNode(), v8::internal::compiler::StructuredGraphBuilder::MakeNode(), v8::internal::compiler::StructuredGraphBuilder::Environment::Merge(), v8::internal::compiler::StructuredGraphBuilder::MergeControl(), v8::internal::compiler::StructuredGraphBuilder::NewEffectPhi(), NewNode(), v8::internal::compiler::JSGraph::NewNode(), v8::internal::compiler::StructuredGraphBuilder::NewPhi(), v8::internal::compiler::GraphTest::NumberConstant(), v8::internal::compiler::GraphTest::Parameter(), v8::internal::compiler::ChangeLoweringTest::Parameter(), v8::internal::compiler::JSBuiltinReducerTest::Parameter(), v8::internal::compiler::CopyVisitor::Post(), v8::internal::compiler::RawMachineAssembler::RawMachineAssembler(), v8::internal::compiler::JSGenericLowering::ReplaceWithCompareIC(), v8::internal::compiler::SimplifiedLowering::SmiTag(), v8::internal::compiler::SimplifiedLowering::StringComparison(), v8::internal::compiler::Inlinee::UnifyReturn(), v8::internal::compiler::SimplifiedLowering::Untag(), and v8::internal::compiler::AstGraphBuilder::Environment::UpdateStateValues().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void v8::internal::compiler::Graph::VisitNodeInputsFromEnd | ( | Visitor * | visitor | ) |
Definition at line 30 of file graph-inl.h.
References v8::internal::compiler::GenericGraph< Node >::end(), and v8::internal::compiler::GenericGraphBase::zone().
Referenced by v8::internal::compiler::CopyVisitor::CopyGraph(), v8::internal::compiler::JSInliner::Inline(), v8::internal::compiler::Scheduler::PrepareUses(), v8::internal::compiler::Verifier::Run(), v8::internal::compiler::Typer::Run(), v8::internal::compiler::Scheduler::ScheduleEarly(), and v8::internal::compiler::JSContextSpecializer::SpecializeToContext().
void v8::internal::compiler::Graph::VisitNodeUsesFrom | ( | Node * | node, |
Visitor * | visitor | ||
) |
Definition at line 16 of file graph-inl.h.
References v8::internal::compiler::GenericGraphBase::zone().
Referenced by v8::internal::compiler::Typer::Narrow(), VisitNodeUsesFromStart(), and v8::internal::compiler::Typer::Widen().
void v8::internal::compiler::Graph::VisitNodeUsesFromStart | ( | Visitor * | visitor | ) |
Definition at line 24 of file graph-inl.h.
References v8::internal::compiler::GenericGraph< Node >::start(), and VisitNodeUsesFrom().
Referenced by v8::internal::compiler::Verifier::Run().
|
private |
Definition at line 79 of file graph.h.
Referenced by AddDecorator(), NewNode(), and RemoveDecorator().