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

#include <allocation-builder.h>

Collaboration diagram for v8::internal::compiler::AllocationBuilder:

Public Member Functions

 AllocationBuilder (JSGraph *jsgraph, JSHeapBroker *broker, Node *effect, Node *control)
 
void Allocate (int size, AllocationType allocation=AllocationType::kYoung, Type type=Type::Any())
 
void Store (const FieldAccess &access, Node *value)
 
void Store (ElementAccess const &access, Node *index, Node *value)
 
void AllocateContext (int variadic_part_length, MapRef map)
 
bool CanAllocateArray (int length, MapRef map, AllocationType allocation=AllocationType::kYoung)
 
void AllocateArray (int length, MapRef map, AllocationType allocation=AllocationType::kYoung)
 
bool CanAllocateSloppyArgumentElements (int length, MapRef map, AllocationType allocation=AllocationType::kYoung)
 
void AllocateSloppyArgumentElements (int length, MapRef map, AllocationType allocation=AllocationType::kYoung)
 
void Store (const FieldAccess &access, ObjectRef value)
 
void FinishAndChange (Node *node)
 
NodeFinish ()
 

Protected Member Functions

JSGraphjsgraph ()
 
Isolateisolate () const
 
TFGraphgraph ()
 
CommonOperatorBuildercommon ()
 
SimplifiedOperatorBuildersimplified ()
 

Private Attributes

JSGraph *const jsgraph_
 
JSHeapBroker *const broker_
 
Nodeallocation_
 
Nodeeffect_
 
Nodecontrol_
 

Detailed Description

Definition at line 19 of file allocation-builder.h.

Constructor & Destructor Documentation

◆ AllocationBuilder()

v8::internal::compiler::AllocationBuilder::AllocationBuilder ( JSGraph * jsgraph,
JSHeapBroker * broker,
Node * effect,
Node * control )
inline

Definition at line 21 of file allocation-builder.h.

Member Function Documentation

◆ Allocate()

void v8::internal::compiler::AllocationBuilder::Allocate ( int size,
AllocationType allocation = AllocationType::kYoung,
Type type = Type::Any() )
inline

Definition at line 19 of file allocation-builder-inl.h.

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

◆ AllocateArray()

void v8::internal::compiler::AllocationBuilder::AllocateArray ( int length,
MapRef map,
AllocationType allocation = AllocationType::kYoung )
inline

Definition at line 55 of file allocation-builder-inl.h.

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

◆ AllocateContext()

void v8::internal::compiler::AllocationBuilder::AllocateContext ( int variadic_part_length,
MapRef map )
inline

Definition at line 31 of file allocation-builder-inl.h.

Here is the call graph for this function:

◆ AllocateSloppyArgumentElements()

void v8::internal::compiler::AllocationBuilder::AllocateSloppyArgumentElements ( int length,
MapRef map,
AllocationType allocation = AllocationType::kYoung )
inline

Definition at line 73 of file allocation-builder-inl.h.

Here is the call graph for this function:

◆ CanAllocateArray()

bool v8::internal::compiler::AllocationBuilder::CanAllocateArray ( int length,
MapRef map,
AllocationType allocation = AllocationType::kYoung )
inline

Definition at line 44 of file allocation-builder-inl.h.

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

◆ CanAllocateSloppyArgumentElements()

bool v8::internal::compiler::AllocationBuilder::CanAllocateSloppyArgumentElements ( int length,
MapRef map,
AllocationType allocation = AllocationType::kYoung )
inline

Definition at line 67 of file allocation-builder-inl.h.

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

◆ common()

CommonOperatorBuilder * v8::internal::compiler::AllocationBuilder::common ( )
inlineprotected

Definition at line 90 of file allocation-builder.h.

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

◆ Finish()

Node * v8::internal::compiler::AllocationBuilder::Finish ( )
inline

Definition at line 82 of file allocation-builder.h.

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

◆ FinishAndChange()

void v8::internal::compiler::AllocationBuilder::FinishAndChange ( Node * node)
inline

Definition at line 74 of file allocation-builder.h.

Here is the call graph for this function:

◆ graph()

TFGraph * v8::internal::compiler::AllocationBuilder::graph ( )
inlineprotected

Definition at line 89 of file allocation-builder.h.

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

◆ isolate()

Isolate * v8::internal::compiler::AllocationBuilder::isolate ( ) const
inlineprotected

Definition at line 88 of file allocation-builder.h.

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

◆ jsgraph()

JSGraph * v8::internal::compiler::AllocationBuilder::jsgraph ( )
inlineprotected

Definition at line 87 of file allocation-builder.h.

Here is the caller graph for this function:

◆ simplified()

SimplifiedOperatorBuilder * v8::internal::compiler::AllocationBuilder::simplified ( )
inlineprotected

Definition at line 91 of file allocation-builder.h.

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

◆ Store() [1/3]

void v8::internal::compiler::AllocationBuilder::Store ( const FieldAccess & access,
Node * value )
inline

Definition at line 35 of file allocation-builder.h.

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

◆ Store() [2/3]

void v8::internal::compiler::AllocationBuilder::Store ( const FieldAccess & access,
ObjectRef value )
inline

Definition at line 65 of file allocation-builder.h.

Here is the call graph for this function:

◆ Store() [3/3]

void v8::internal::compiler::AllocationBuilder::Store ( ElementAccess const & access,
Node * index,
Node * value )
inline

Definition at line 41 of file allocation-builder.h.

Here is the call graph for this function:

Member Data Documentation

◆ allocation_

Node* v8::internal::compiler::AllocationBuilder::allocation_
private

Definition at line 96 of file allocation-builder.h.

◆ broker_

JSHeapBroker* const v8::internal::compiler::AllocationBuilder::broker_
private

Definition at line 95 of file allocation-builder.h.

◆ control_

Node* v8::internal::compiler::AllocationBuilder::control_
private

Definition at line 98 of file allocation-builder.h.

◆ effect_

Node* v8::internal::compiler::AllocationBuilder::effect_
private

Definition at line 97 of file allocation-builder.h.

◆ jsgraph_

JSGraph* const v8::internal::compiler::AllocationBuilder::jsgraph_
private

Definition at line 94 of file allocation-builder.h.


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