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

#include <graph.h>

Collaboration diagram for v8::internal::compiler::turboshaft::OperationBuffer:

Classes

class  ReplaceScope
 

Public Member Functions

 OperationBuffer (Zone *zone, size_t initial_capacity)
 
OperationStorageSlotAllocate (size_t slot_count)
 
void RemoveLast ()
 
OpIndex Index (const Operation &op) const
 
OpIndex Index (const OperationStorageSlot *ptr) const
 
OperationStorageSlotGet (OpIndex idx)
 
uint16_t SlotCount (OpIndex idx)
 
const OperationStorageSlotGet (OpIndex idx) const
 
OpIndex Next (OpIndex idx) const
 
OpIndex Previous (OpIndex idx) const
 
OpIndex BeginIndex () const
 
OpIndex EndIndex () const
 
uint32_t size () const
 
uint32_t capacity () const
 
void Grow (size_t min_capacity)
 
void Reset ()
 

Private Attributes

Zonezone_
 
OperationStorageSlotbegin_
 
OperationStorageSlotend_
 
OperationStorageSlotend_cap_
 
uint16_t * operation_sizes_
 

Detailed Description

Definition at line 39 of file graph.h.

Constructor & Destructor Documentation

◆ OperationBuffer()

v8::internal::compiler::turboshaft::OperationBuffer::OperationBuffer ( Zone * zone,
size_t initial_capacity )
inlineexplicit

Definition at line 75 of file graph.h.

Here is the call graph for this function:

Member Function Documentation

◆ Allocate()

OperationStorageSlot * v8::internal::compiler::turboshaft::OperationBuffer::Allocate ( size_t slot_count)
inline

Definition at line 84 of file graph.h.

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

◆ BeginIndex()

OpIndex v8::internal::compiler::turboshaft::OperationBuffer::BeginIndex ( ) const
inline

Definition at line 153 of file graph.h.

Here is the caller graph for this function:

◆ capacity()

uint32_t v8::internal::compiler::turboshaft::OperationBuffer::capacity ( ) const
inline

Definition at line 158 of file graph.h.

Here is the caller graph for this function:

◆ EndIndex()

OpIndex v8::internal::compiler::turboshaft::OperationBuffer::EndIndex ( ) const
inline

Definition at line 155 of file graph.h.

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

◆ Get() [1/2]

OperationStorageSlot * v8::internal::compiler::turboshaft::OperationBuffer::Get ( OpIndex idx)
inline

Definition at line 118 of file graph.h.

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

◆ Get() [2/2]

const OperationStorageSlot * v8::internal::compiler::turboshaft::OperationBuffer::Get ( OpIndex idx) const
inline

Definition at line 128 of file graph.h.

Here is the call graph for this function:

◆ Grow()

void v8::internal::compiler::turboshaft::OperationBuffer::Grow ( size_t min_capacity)
inline

Definition at line 160 of file graph.h.

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

◆ Index() [1/2]

OpIndex v8::internal::compiler::turboshaft::OperationBuffer::Index ( const Operation & op) const
inline

Definition at line 109 of file graph.h.

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

◆ Index() [2/2]

OpIndex v8::internal::compiler::turboshaft::OperationBuffer::Index ( const OperationStorageSlot * ptr) const
inline

Definition at line 112 of file graph.h.

◆ Next()

OpIndex v8::internal::compiler::turboshaft::OperationBuffer::Next ( OpIndex idx) const
inline

Definition at line 134 of file graph.h.

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

◆ Previous()

OpIndex v8::internal::compiler::turboshaft::OperationBuffer::Previous ( OpIndex idx) const
inline

Definition at line 142 of file graph.h.

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

◆ RemoveLast()

void v8::internal::compiler::turboshaft::OperationBuffer::RemoveLast ( )
inline

Definition at line 103 of file graph.h.

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

◆ Reset()

void v8::internal::compiler::turboshaft::OperationBuffer::Reset ( )
inline

Definition at line 183 of file graph.h.

Here is the caller graph for this function:

◆ size()

uint32_t v8::internal::compiler::turboshaft::OperationBuffer::size ( ) const
inline

Definition at line 157 of file graph.h.

Here is the caller graph for this function:

◆ SlotCount()

uint16_t v8::internal::compiler::turboshaft::OperationBuffer::SlotCount ( OpIndex idx)
inline

Definition at line 123 of file graph.h.

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

Member Data Documentation

◆ begin_

OperationStorageSlot* v8::internal::compiler::turboshaft::OperationBuffer::begin_
private

Definition at line 187 of file graph.h.

◆ end_

OperationStorageSlot* v8::internal::compiler::turboshaft::OperationBuffer::end_
private

Definition at line 188 of file graph.h.

◆ end_cap_

OperationStorageSlot* v8::internal::compiler::turboshaft::OperationBuffer::end_cap_
private

Definition at line 189 of file graph.h.

◆ operation_sizes_

uint16_t* v8::internal::compiler::turboshaft::OperationBuffer::operation_sizes_
private

Definition at line 190 of file graph.h.

◆ zone_

Zone* v8::internal::compiler::turboshaft::OperationBuffer::zone_
private

Definition at line 186 of file graph.h.


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