|
V8 Project
|
#include <generic-node.h>
Inheritance diagram for v8::internal::compiler::GenericNode< B, S >:
Collaboration diagram for v8::internal::compiler::GenericNode< B, S >:Classes | |
| class | Edge |
| class | Input |
| class | Inputs |
| class | Use |
| class | Uses |
Public Types | |
| typedef B | BaseClass |
| typedef S | DerivedClass |
Public Member Functions | |
| NodeId | id () const |
| int | InputCount () const |
| S * | InputAt (int index) const |
| void | ReplaceInput (int index, GenericNode *new_input) |
| void | AppendInput (Zone *zone, GenericNode *new_input) |
| void | InsertInput (Zone *zone, int index, GenericNode *new_input) |
| void | RemoveInput (int index) |
| int | UseCount () |
| S * | UseAt (int index) |
| void | ReplaceUses (GenericNode *replace_to) |
| template<class UnaryPredicate > | |
| void | ReplaceUsesIf (UnaryPredicate pred, GenericNode *replace_to) |
| void | RemoveAllInputs () |
| void | TrimInputCount (int input_count) |
| Inputs | inputs () |
| Uses | uses () |
| bool | OwnedBy (GenericNode *owner) const |
Static Public Member Functions | |
| static S * | New (GenericGraphBase *graph, int input_count, S **inputs) |
Protected Member Functions | |
| void | EnsureAppendableInputs (Zone *zone) |
| Input * | GetInputRecordPtr (int index) const |
| void | AppendUse (Use *use) |
| void | RemoveUse (Use *use) |
| void * | operator new (size_t, void *location) |
| GenericNode (GenericGraphBase *graph, int input_count) | |
Private Types | |
| typedef ZoneDeque< Input > | InputDeque |
Private Member Functions | |
| void | AssignUniqueID (GenericGraphBase *graph) |
| DISALLOW_COPY_AND_ASSIGN (GenericNode) | |
Private Attributes | |
| NodeId | id_ |
| int | input_count_: 31 |
| bool | has_appendable_inputs_: 1 |
| union { | |
| Input * static_ | |
| InputDeque * appendable_ | |
| } | inputs_ |
| int | use_count_ |
| Use * | first_use_ |
| Use * | last_use_ |
Friends | |
| class | GenericGraphBase |
Definition at line 30 of file generic-node.h.
| typedef B v8::internal::compiler::GenericNode< B, S >::BaseClass |
Definition at line 32 of file generic-node.h.
| typedef S v8::internal::compiler::GenericNode< B, S >::DerivedClass |
Definition at line 33 of file generic-node.h.
|
private |
Definition at line 136 of file generic-node.h.
|
protected |
Definition at line 19 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::AssignUniqueID(), and v8::internal::compiler::GenericNode< B, S >::inputs_.
Referenced by v8::internal::compiler::GenericNode< B, S >::New().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 155 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::AppendUse(), v8::internal::compiler::GenericNode< B, S >::EnsureAppendableInputs(), v8::internal::compiler::GenericNode< B, S >::Use::from, v8::internal::compiler::GenericNode< B, S >::input_count_, v8::internal::compiler::GenericNode< B, S >::Use::input_index, v8::internal::compiler::GenericNode< B, S >::inputs_, v8::internal::compiler::GenericNode< B, S >::Input::to, and v8::internal::compiler::GenericNode< B, S >::Input::use.
Referenced by v8::internal::compiler::GenericNode< B, S >::InsertInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 191 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::first_use_, v8::internal::compiler::GenericNode< B, S >::last_use_, v8::internal::compiler::GenericNode< B, S >::Use::next, NULL, use(), and v8::internal::compiler::GenericNode< B, S >::use_count_.
Referenced by v8::internal::compiler::GenericNode< B, S >::AppendInput(), and v8::internal::compiler::GenericNode< B, S >::ReplaceUsesIf().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 30 of file generic-node-inl.h.
References v8::internal::compiler::GenericGraphBase::NextNodeID().
Referenced by v8::internal::compiler::GenericNode< B, S >::GenericNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
protected |
Definition at line 142 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::has_appendable_inputs_, v8::internal::compiler::GenericNode< B, S >::input_count_, v8::internal::compiler::GenericNode< B, S >::inputs_, and v8::internal::Zone::New().
Referenced by v8::internal::compiler::GenericNode< B, S >::AppendInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 118 of file generic-node.h.
References v8::internal::compiler::GenericNode< B, S >::has_appendable_inputs_, and v8::internal::compiler::GenericNode< B, S >::inputs_.
Referenced by v8::internal::compiler::GenericNode< B, S >::InputAt(), v8::internal::compiler::GenericNode< B, S >::ReplaceInput(), and v8::internal::compiler::GenericNode< B, S >::TrimInputCount().
Here is the caller graph for this function:
|
inline |
Definition at line 35 of file generic-node.h.
References v8::internal::compiler::GenericNode< B, S >::id_.
|
inline |
Definition at line 38 of file generic-node.h.
References v8::internal::compiler::GenericNode< B, S >::GetInputRecordPtr(), v8::internal::S, and v8::internal::compiler::GenericNode< B, S >::Input::to.
Referenced by v8::internal::compiler::GenericNode< B, S >::InsertInput(), and v8::internal::compiler::GenericNode< B, S >::RemoveInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 37 of file generic-node.h.
References v8::internal::compiler::GenericNode< B, S >::input_count_.
Referenced by v8::internal::compiler::GenericNode< B, S >::InsertInput(), and v8::internal::compiler::GenericNode< B, S >::RemoveInput().
Here is the caller graph for this function:
|
inline |
Definition at line 74 of file generic-node.h.
Referenced by v8::internal::compiler::GenericNode< B, S >::New(), and v8::internal::compiler::GenericNode< B, S >::RemoveAllInputs().
Here is the caller graph for this function:
|
inline |
Definition at line 169 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::AppendInput(), DCHECK, v8::internal::compiler::GenericNode< B, S >::InputAt(), v8::internal::compiler::GenericNode< B, S >::InputCount(), and v8::internal::compiler::GenericNode< B, S >::ReplaceInput().
Here is the call graph for this function:
|
static |
Definition at line 226 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::GenericNode(), v8::internal::compiler::GenericNode< B, S >::inputs(), v8::internal::Zone::New(), v8::internal::S, size, v8::internal::compiler::GenericNode< B, S >::Input::to, to(), v8::internal::compiler::GenericNode< B, S >::Input::use, use(), and v8::internal::compiler::GenericGraphBase::zone().
Here is the call graph for this function:
|
inlineprotected |
Definition at line 129 of file generic-node.h.
|
inline |
Definition at line 220 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::first_use_, v8::internal::compiler::GenericNode< B, S >::Use::from, v8::internal::compiler::GenericNode< B, S >::Use::next, and NULL.
|
inline |
Definition at line 96 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::Inputs::end(), v8::internal::compiler::GenericNode< B, S >::inputs(), and NULL.
Here is the call graph for this function:
|
inline |
Definition at line 181 of file generic-node-inl.h.
References DCHECK, v8::internal::compiler::GenericNode< B, S >::InputAt(), v8::internal::compiler::GenericNode< B, S >::InputCount(), v8::internal::compiler::GenericNode< B, S >::ReplaceInput(), and v8::internal::compiler::GenericNode< B, S >::TrimInputCount().
Here is the call graph for this function:
|
inlineprotected |
Definition at line 204 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::first_use_, v8::internal::compiler::GenericNode< B, S >::last_use_, NULL, use(), and v8::internal::compiler::GenericNode< B, S >::use_count_.
Referenced by v8::internal::compiler::GenericNode< NodeData, Node >::RemoveUse(), and v8::internal::compiler::GenericNode< B, S >::ReplaceUsesIf().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 118 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::GetInputRecordPtr(), and v8::internal::compiler::GenericNode< B, S >::Input::Update().
Referenced by v8::internal::compiler::GenericNode< B, S >::InsertInput(), and v8::internal::compiler::GenericNode< B, S >::RemoveInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 60 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::first_use_, v8::internal::compiler::GenericNode< B, S >::last_use_, NULL, and use().
Here is the call graph for this function:
|
inline |
Definition at line 82 of file generic-node-inl.h.
References v8::internal::compiler::GenericNode< B, S >::AppendUse(), v8::internal::compiler::GenericNode< B, S >::first_use_, NULL, v8::internal::compiler::GenericNode< B, S >::RemoveUse(), v8::internal::S, and use().
Here is the call graph for this function:
|
inline |
Definition at line 104 of file generic-node-inl.h.
References DCHECK, v8::internal::compiler::GenericNode< B, S >::GetInputRecordPtr(), v8::internal::compiler::GenericNode< B, S >::input_count_, NULL, and v8::internal::compiler::GenericNode< B, S >::Input::Update().
Referenced by v8::internal::compiler::GenericNode< B, S >::RemoveInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 47 of file generic-node.h.
References DCHECK, v8::internal::compiler::GenericNode< B, S >::first_use_, v8::internal::compiler::GenericNode< B, S >::Use::from, v8::internal::compiler::GenericNode< B, S >::Use::next, v8::internal::S, and v8::internal::compiler::GenericNode< B, S >::use_count_.
|
inline |
Definition at line 46 of file generic-node.h.
References v8::internal::compiler::GenericNode< B, S >::use_count_.
|
inline |
Definition at line 89 of file generic-node.h.
|
friend |
Definition at line 98 of file generic-node.h.
| InputDeque* v8::internal::compiler::GenericNode< B, S >::appendable_ |
Definition at line 147 of file generic-node.h.
|
private |
Definition at line 150 of file generic-node.h.
Referenced by v8::internal::compiler::GenericNode< B, S >::AppendUse(), v8::internal::compiler::GenericNode< B, S >::OwnedBy(), v8::internal::compiler::GenericNode< B, S >::RemoveUse(), v8::internal::compiler::GenericNode< B, S >::ReplaceUses(), v8::internal::compiler::GenericNode< B, S >::ReplaceUsesIf(), and v8::internal::compiler::GenericNode< B, S >::UseAt().
|
private |
Definition at line 140 of file generic-node.h.
Referenced by v8::internal::compiler::GenericNode< B, S >::EnsureAppendableInputs(), and v8::internal::compiler::GenericNode< B, S >::GetInputRecordPtr().
|
private |
Definition at line 138 of file generic-node.h.
Referenced by v8::internal::compiler::GenericNode< B, S >::id().
|
private |
Definition at line 139 of file generic-node.h.
Referenced by v8::internal::compiler::GenericNode< B, S >::AppendInput(), v8::internal::compiler::GenericNode< B, S >::EnsureAppendableInputs(), v8::internal::compiler::GenericNode< B, S >::InputCount(), v8::internal::compiler::GenericNode< B, S >::Inputs::iterator::operator++(), and v8::internal::compiler::GenericNode< B, S >::TrimInputCount().
| union { ... } v8::internal::compiler::GenericNode< B, S >::inputs_ |
|
private |
Definition at line 151 of file generic-node.h.
Referenced by v8::internal::compiler::GenericNode< B, S >::AppendUse(), v8::internal::compiler::GenericNode< B, S >::RemoveUse(), and v8::internal::compiler::GenericNode< B, S >::ReplaceUses().
| Input* v8::internal::compiler::GenericNode< B, S >::static_ |
Definition at line 146 of file generic-node.h.
|
private |