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

Public Member Functions

 ArrayBufferViewAccessBuilder (JSGraphAssembler *assembler, InstanceType instance_type, std::set< ElementsKind > candidates)
 
bool maybe_rab_gsab () const
 
std::optional< int > TryComputeStaticElementShift ()
 
std::optional< int > TryComputeStaticElementSize ()
 
TNode< UintPtrTBuildLength (TNode< JSArrayBufferView > view, TNode< Context > context)
 
TNode< UintPtrTBuildByteLength (TNode< JSArrayBufferView > view, TNode< Context > context)
 
TNode< Word32TBuildDetachedOrOutOfBoundsCheck (TNode< JSArrayBufferView > view)
 

Private Member Functions

template<typename T >
TNode< TMachineLoadField (FieldAccess const &access, TNode< HeapObject > object, const UseInfo &use_info)
 

Private Attributes

JSGraphAssemblerassembler_
 
InstanceType instance_type_
 
std::set< ElementsKindcandidates_
 

Detailed Description

Definition at line 565 of file graph-assembler.cc.

Constructor & Destructor Documentation

◆ ArrayBufferViewAccessBuilder()

v8::internal::compiler::ArrayBufferViewAccessBuilder::ArrayBufferViewAccessBuilder ( JSGraphAssembler * assembler,
InstanceType instance_type,
std::set< ElementsKind > candidates )
inlineexplicit

Definition at line 567 of file graph-assembler.cc.

Member Function Documentation

◆ BuildByteLength()

TNode< UintPtrT > v8::internal::compiler::ArrayBufferViewAccessBuilder::BuildByteLength ( TNode< JSArrayBufferView > view,
TNode< Context > context )
inline

Definition at line 739 of file graph-assembler.cc.

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

◆ BuildDetachedOrOutOfBoundsCheck()

TNode< Word32T > v8::internal::compiler::ArrayBufferViewAccessBuilder::BuildDetachedOrOutOfBoundsCheck ( TNode< JSArrayBufferView > view)
inline

Definition at line 868 of file graph-assembler.cc.

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

◆ BuildLength()

TNode< UintPtrT > v8::internal::compiler::ArrayBufferViewAccessBuilder::BuildLength ( TNode< JSArrayBufferView > view,
TNode< Context > context )
inline

Definition at line 612 of file graph-assembler.cc.

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

◆ MachineLoadField()

template<typename T >
TNode< T > v8::internal::compiler::ArrayBufferViewAccessBuilder::MachineLoadField ( FieldAccess const & access,
TNode< HeapObject > object,
const UseInfo & use_info )
inlineprivate

Definition at line 936 of file graph-assembler.cc.

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

◆ maybe_rab_gsab()

bool v8::internal::compiler::ArrayBufferViewAccessBuilder::maybe_rab_gsab ( ) const
inline

Definition at line 579 of file graph-assembler.cc.

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

◆ TryComputeStaticElementShift()

std::optional< int > v8::internal::compiler::ArrayBufferViewAccessBuilder::TryComputeStaticElementShift ( )
inline

Definition at line 586 of file graph-assembler.cc.

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

◆ TryComputeStaticElementSize()

std::optional< int > v8::internal::compiler::ArrayBufferViewAccessBuilder::TryComputeStaticElementSize ( )
inline

Definition at line 599 of file graph-assembler.cc.

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

Member Data Documentation

◆ assembler_

JSGraphAssembler* v8::internal::compiler::ArrayBufferViewAccessBuilder::assembler_
private

Definition at line 942 of file graph-assembler.cc.

◆ candidates_

std::set<ElementsKind> v8::internal::compiler::ArrayBufferViewAccessBuilder::candidates_
private

Definition at line 944 of file graph-assembler.cc.

◆ instance_type_

InstanceType v8::internal::compiler::ArrayBufferViewAccessBuilder::instance_type_
private

Definition at line 943 of file graph-assembler.cc.


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