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

#include <common-node-cache.h>

Collaboration diagram for v8::internal::compiler::CommonNodeCache:

Public Member Functions

 CommonNodeCache (Zone *zone)
 
 ~CommonNodeCache ()=default
 
 CommonNodeCache (const CommonNodeCache &)=delete
 
CommonNodeCacheoperator= (const CommonNodeCache &)=delete
 
Node ** FindInt32Constant (int32_t value)
 
Node ** FindInt64Constant (int64_t value)
 
Node ** FindTaggedIndexConstant (int32_t value)
 
Node ** FindFloat32Constant (float value)
 
Node ** FindFloat64Constant (double value)
 
Node ** FindExternalConstant (ExternalReference value)
 
Node ** FindPointerConstant (intptr_t value)
 
Node ** FindNumberConstant (double value)
 
Node ** FindHeapConstant (Handle< HeapObject > value)
 
Node ** FindRelocatableInt32Constant (int32_t value, RelocInfoMode rmode)
 
Node ** FindRelocatableInt64Constant (int64_t value, RelocInfoMode rmode)
 
void GetCachedNodes (ZoneVector< Node * > *nodes)
 

Private Attributes

Int32NodeCache int32_constants_
 
Int64NodeCache int64_constants_
 
Int32NodeCache tagged_index_constants_
 
Int32NodeCache float32_constants_
 
Int64NodeCache float64_constants_
 
IntPtrNodeCache external_constants_
 
IntPtrNodeCache pointer_constants_
 
Int64NodeCache number_constants_
 
IntPtrNodeCache heap_constants_
 
RelocInt32NodeCache relocatable_int32_constants_
 
RelocInt64NodeCache relocatable_int64_constants_
 

Detailed Description

Definition at line 15 of file common-node-cache.h.

Constructor & Destructor Documentation

◆ CommonNodeCache() [1/2]

v8::internal::compiler::CommonNodeCache::CommonNodeCache ( Zone * zone)
inlineexplicit

Definition at line 17 of file common-node-cache.h.

◆ ~CommonNodeCache()

v8::internal::compiler::CommonNodeCache::~CommonNodeCache ( )
default

◆ CommonNodeCache() [2/2]

v8::internal::compiler::CommonNodeCache::CommonNodeCache ( const CommonNodeCache & )
delete

Member Function Documentation

◆ FindExternalConstant()

Node ** v8::internal::compiler::CommonNodeCache::FindExternalConstant ( ExternalReference value)

Definition at line 14 of file common-node-cache.cc.

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

◆ FindFloat32Constant()

Node ** v8::internal::compiler::CommonNodeCache::FindFloat32Constant ( float value)
inline

Definition at line 46 of file common-node-cache.h.

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

◆ FindFloat64Constant()

Node ** v8::internal::compiler::CommonNodeCache::FindFloat64Constant ( double value)
inline

Definition at line 51 of file common-node-cache.h.

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

◆ FindHeapConstant()

Node ** v8::internal::compiler::CommonNodeCache::FindHeapConstant ( Handle< HeapObject > value)

Definition at line 19 of file common-node-cache.cc.

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

◆ FindInt32Constant()

Node ** v8::internal::compiler::CommonNodeCache::FindInt32Constant ( int32_t value)
inline

Definition at line 34 of file common-node-cache.h.

Here is the caller graph for this function:

◆ FindInt64Constant()

Node ** v8::internal::compiler::CommonNodeCache::FindInt64Constant ( int64_t value)
inline

Definition at line 38 of file common-node-cache.h.

Here is the caller graph for this function:

◆ FindNumberConstant()

Node ** v8::internal::compiler::CommonNodeCache::FindNumberConstant ( double value)
inline

Definition at line 62 of file common-node-cache.h.

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

◆ FindPointerConstant()

Node ** v8::internal::compiler::CommonNodeCache::FindPointerConstant ( intptr_t value)
inline

Definition at line 58 of file common-node-cache.h.

Here is the caller graph for this function:

◆ FindRelocatableInt32Constant()

Node ** v8::internal::compiler::CommonNodeCache::FindRelocatableInt32Constant ( int32_t value,
RelocInfoMode rmode )
inline

Definition at line 69 of file common-node-cache.h.

Here is the caller graph for this function:

◆ FindRelocatableInt64Constant()

Node ** v8::internal::compiler::CommonNodeCache::FindRelocatableInt64Constant ( int64_t value,
RelocInfoMode rmode )
inline

Definition at line 73 of file common-node-cache.h.

Here is the caller graph for this function:

◆ FindTaggedIndexConstant()

Node ** v8::internal::compiler::CommonNodeCache::FindTaggedIndexConstant ( int32_t value)
inline

Definition at line 42 of file common-node-cache.h.

Here is the caller graph for this function:

◆ GetCachedNodes()

void v8::internal::compiler::CommonNodeCache::GetCachedNodes ( ZoneVector< Node * > * nodes)

Definition at line 24 of file common-node-cache.cc.

Here is the caller graph for this function:

◆ operator=()

CommonNodeCache & v8::internal::compiler::CommonNodeCache::operator= ( const CommonNodeCache & )
delete

Member Data Documentation

◆ external_constants_

IntPtrNodeCache v8::internal::compiler::CommonNodeCache::external_constants_
private

Definition at line 86 of file common-node-cache.h.

◆ float32_constants_

Int32NodeCache v8::internal::compiler::CommonNodeCache::float32_constants_
private

Definition at line 84 of file common-node-cache.h.

◆ float64_constants_

Int64NodeCache v8::internal::compiler::CommonNodeCache::float64_constants_
private

Definition at line 85 of file common-node-cache.h.

◆ heap_constants_

IntPtrNodeCache v8::internal::compiler::CommonNodeCache::heap_constants_
private

Definition at line 89 of file common-node-cache.h.

◆ int32_constants_

Int32NodeCache v8::internal::compiler::CommonNodeCache::int32_constants_
private

Definition at line 81 of file common-node-cache.h.

◆ int64_constants_

Int64NodeCache v8::internal::compiler::CommonNodeCache::int64_constants_
private

Definition at line 82 of file common-node-cache.h.

◆ number_constants_

Int64NodeCache v8::internal::compiler::CommonNodeCache::number_constants_
private

Definition at line 88 of file common-node-cache.h.

◆ pointer_constants_

IntPtrNodeCache v8::internal::compiler::CommonNodeCache::pointer_constants_
private

Definition at line 87 of file common-node-cache.h.

◆ relocatable_int32_constants_

RelocInt32NodeCache v8::internal::compiler::CommonNodeCache::relocatable_int32_constants_
private

Definition at line 90 of file common-node-cache.h.

◆ relocatable_int64_constants_

RelocInt64NodeCache v8::internal::compiler::CommonNodeCache::relocatable_int64_constants_
private

Definition at line 91 of file common-node-cache.h.

◆ tagged_index_constants_

Int32NodeCache v8::internal::compiler::CommonNodeCache::tagged_index_constants_
private

Definition at line 83 of file common-node-cache.h.


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