V8 Project
|
#include <graph-builder.h>
Public Member Functions | |
Environment (StructuredGraphBuilder *builder, Node *control_dependency) | |
Environment (const Environment ©) | |
Node * | GetControlDependency () |
void | UpdateControlDependency (Node *dependency) |
Node * | GetEffectDependency () |
void | UpdateEffectDependency (Node *dependency) |
void | MarkAsUnreachable () |
bool | IsMarkedAsUnreachable () |
void | Merge (Environment *other) |
Environment * | CopyForConditional () |
Environment * | CopyAsUnreachable () |
Environment * | CopyForLoop () |
Node * | GetContext () |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Protected Member Functions | |
Zone * | zone () const |
Graph * | graph () const |
StructuredGraphBuilder * | builder () const |
CommonOperatorBuilder * | common () |
NodeVector * | values () |
void | PrepareForLoop () |
Private Attributes | |
StructuredGraphBuilder * | builder_ |
Node * | control_dependency_ |
Node * | effect_dependency_ |
NodeVector | values_ |
Definition at line 163 of file graph-builder.h.
v8::internal::compiler::StructuredGraphBuilder::Environment::Environment | ( | StructuredGraphBuilder * | builder, |
Node * | control_dependency | ||
) |
Definition at line 102 of file graph-builder.cc.
v8::internal::compiler::StructuredGraphBuilder::Environment::Environment | ( | const Environment & | copy | ) |
Definition at line 110 of file graph-builder.cc.
|
inlineprotected |
Definition at line 213 of file graph-builder.h.
References builder_.
Referenced by v8::internal::compiler::AstGraphBuilder::Environment::builder(), CopyAsUnreachable(), CopyForConditional(), CopyForLoop(), and MarkAsUnreachable().
|
inlineprotected |
Definition at line 214 of file graph-builder.h.
References builder_, and v8::internal::compiler::StructuredGraphBuilder::common().
Referenced by v8::internal::compiler::AstGraphBuilder::Environment::Environment().
|
inline |
Definition at line 195 of file graph-builder.h.
References builder(), v8::internal::compiler::StructuredGraphBuilder::CopyEnvironment(), and MarkAsUnreachable().
Referenced by v8::internal::compiler::BlockBuilder::BeginBlock(), v8::internal::compiler::LoopBuilder::BeginLoop(), v8::internal::compiler::SwitchBuilder::BeginSwitch(), and v8::internal::compiler::SwitchBuilder::DefaultAt().
|
inline |
Definition at line 192 of file graph-builder.h.
References builder(), and v8::internal::compiler::StructuredGraphBuilder::CopyEnvironment().
Referenced by v8::internal::compiler::SwitchBuilder::BeginLabel(), and v8::internal::compiler::IfBuilder::If().
|
inline |
Definition at line 202 of file graph-builder.h.
References builder(), v8::internal::compiler::StructuredGraphBuilder::CopyEnvironment(), and PrepareForLoop().
Referenced by v8::internal::compiler::LoopBuilder::BeginLoop().
|
inline |
Definition at line 207 of file graph-builder.h.
References builder_, and v8::internal::compiler::StructuredGraphBuilder::current_context().
|
inline |
Definition at line 169 of file graph-builder.h.
References control_dependency_.
Referenced by IsMarkedAsUnreachable(), v8::internal::compiler::StructuredGraphBuilder::MakeNode(), and Merge().
|
inline |
Definition at line 175 of file graph-builder.h.
References effect_dependency_.
Referenced by v8::internal::compiler::StructuredGraphBuilder::MakeNode(), and Merge().
|
inlineprotected |
Definition at line 212 of file graph-builder.h.
References builder_, and v8::internal::compiler::GraphBuilder::graph().
Referenced by zone().
|
inline |
Definition at line 184 of file graph-builder.h.
References GetControlDependency().
Referenced by Merge().
|
inline |
Definition at line 181 of file graph-builder.h.
References builder(), v8::internal::compiler::StructuredGraphBuilder::dead_control(), and UpdateControlDependency().
Referenced by v8::internal::compiler::LoopBuilder::Break(), v8::internal::compiler::SwitchBuilder::Break(), v8::internal::compiler::BlockBuilder::Break(), v8::internal::compiler::LoopBuilder::Continue(), CopyAsUnreachable(), and v8::internal::compiler::StructuredGraphBuilder::UpdateControlDependencyToLeaveFunction().
void v8::internal::compiler::StructuredGraphBuilder::Environment::Merge | ( | Environment * | other | ) |
Definition at line 117 of file graph-builder.cc.
References v8::internal::compiler::StructuredGraphBuilder::common(), control_dependency_, DCHECK, effect_dependency_, GetControlDependency(), GetEffectDependency(), v8::internal::compiler::GraphBuilder::graph(), IsMarkedAsUnreachable(), v8::internal::compiler::Graph::NewNode(), and values_.
Referenced by v8::internal::compiler::SwitchBuilder::BeginCase(), v8::internal::compiler::LoopBuilder::Break(), v8::internal::compiler::SwitchBuilder::Break(), v8::internal::compiler::BlockBuilder::Break(), v8::internal::compiler::LoopBuilder::Continue(), v8::internal::compiler::IfBuilder::End(), v8::internal::compiler::BlockBuilder::EndBlock(), v8::internal::compiler::LoopBuilder::EndBody(), v8::internal::compiler::LoopBuilder::EndLoop(), and v8::internal::compiler::SwitchBuilder::EndSwitch().
|
protected |
Definition at line 153 of file graph-builder.cc.
References size.
Referenced by CopyForLoop().
|
inline |
Definition at line 170 of file graph-builder.h.
References control_dependency_.
Referenced by v8::internal::compiler::AstGraphBuilder::CreateGraph(), v8::internal::compiler::StructuredGraphBuilder::MakeNode(), and MarkAsUnreachable().
|
inline |
Definition at line 176 of file graph-builder.h.
References effect_dependency_.
Referenced by v8::internal::compiler::StructuredGraphBuilder::MakeNode().
|
inlineprotected |
Definition at line 215 of file graph-builder.h.
References values_.
Referenced by v8::internal::compiler::AstGraphBuilder::Environment::Bind(), v8::internal::compiler::AstGraphBuilder::Environment::Drop(), v8::internal::compiler::AstGraphBuilder::Environment::Environment(), v8::internal::compiler::AstGraphBuilder::Environment::Lookup(), v8::internal::compiler::AstGraphBuilder::Environment::Peek(), v8::internal::compiler::AstGraphBuilder::Environment::Poke(), v8::internal::compiler::AstGraphBuilder::Environment::Pop(), v8::internal::compiler::AstGraphBuilder::Environment::Push(), v8::internal::compiler::AstGraphBuilder::Environment::stack_height(), and v8::internal::compiler::AstGraphBuilder::Environment::Top().
|
inlineprotected |
Definition at line 211 of file graph-builder.h.
References graph(), and v8::internal::compiler::GenericGraphBase::zone().
|
private |
Definition at line 221 of file graph-builder.h.
Referenced by builder(), common(), GetContext(), and graph().
|
private |
Definition at line 222 of file graph-builder.h.
Referenced by GetControlDependency(), Merge(), and UpdateControlDependency().
|
private |
Definition at line 223 of file graph-builder.h.
Referenced by GetEffectDependency(), Merge(), and UpdateEffectDependency().
|
private |
Definition at line 224 of file graph-builder.h.