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

#include <index.h>

Inheritance diagram for v8::internal::compiler::turboshaft::OpIndex:
Collaboration diagram for v8::internal::compiler::turboshaft::OpIndex:

Public Member Functions

constexpr OpIndex ()
 
template<typename T , typename C >
 OpIndex (const ConstOrV< T, C > &)
 
constexpr uint32_t id () const
 
uint32_t hash () const
 
uint32_t offset () const
 
constexpr bool valid () const
 
uint32_t DecodeTurbofanNodeId () const
 
bool IsTurbofanNodeId () const
 
constexpr bool operator== (OpIndex other) const
 
constexpr bool operator!= (OpIndex other) const
 
constexpr bool operator< (OpIndex other) const
 
constexpr bool operator> (OpIndex other) const
 
constexpr bool operator<= (OpIndex other) const
 
constexpr bool operator>= (OpIndex other) const
 

Static Public Member Functions

static constexpr OpIndex FromOffset (uint32_t offset)
 
static constexpr OpIndex Invalid ()
 
static OpIndex EncodeTurbofanNodeId (uint32_t id)
 

Protected Member Functions

constexpr OpIndex (uint32_t offset)
 

Protected Attributes

uint32_t offset_
 

Static Protected Attributes

static constexpr uint32_t kGenerationMaskShift = 1
 
static constexpr uint32_t kGenerationMask = 1 << kGenerationMaskShift
 
static constexpr uint32_t kUnmaskGenerationMask = ~kGenerationMask
 
static constexpr uint32_t kTurbofanNodeIdFlag = 1
 

Friends

class OperationBuffer
 
template<typename H >
H AbslHashValue (H h, const OpIndex &idx)
 

Detailed Description

Definition at line 39 of file index.h.

Constructor & Destructor Documentation

◆ OpIndex() [1/3]

v8::internal::compiler::turboshaft::OpIndex::OpIndex ( uint32_t offset)
inlineexplicitconstexprprotected

Definition at line 44 of file index.h.

◆ OpIndex() [2/3]

v8::internal::compiler::turboshaft::OpIndex::OpIndex ( )
inlineconstexpr

Definition at line 53 of file index.h.

Here is the caller graph for this function:

◆ OpIndex() [3/3]

template<typename T , typename C >
v8::internal::compiler::turboshaft::OpIndex::OpIndex ( const ConstOrV< T, C > & )
inline

Definition at line 55 of file index.h.

Member Function Documentation

◆ DecodeTurbofanNodeId()

uint32_t v8::internal::compiler::turboshaft::OpIndex::DecodeTurbofanNodeId ( ) const
inline

Definition at line 97 of file index.h.

Here is the call graph for this function:

◆ EncodeTurbofanNodeId()

static OpIndex v8::internal::compiler::turboshaft::OpIndex::EncodeTurbofanNodeId ( uint32_t id)
inlinestatic

Definition at line 92 of file index.h.

Here is the call graph for this function:

◆ FromOffset()

static constexpr OpIndex v8::internal::compiler::turboshaft::OpIndex::FromOffset ( uint32_t offset)
inlinestaticconstexpr

Definition at line 50 of file index.h.

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

◆ hash()

uint32_t v8::internal::compiler::turboshaft::OpIndex::hash ( ) const
inline

Definition at line 70 of file index.h.

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

◆ id()

uint32_t v8::internal::compiler::turboshaft::OpIndex::id ( ) const
inlineconstexpr

Definition at line 61 of file index.h.

Here is the caller graph for this function:

◆ Invalid()

static constexpr OpIndex v8::internal::compiler::turboshaft::OpIndex::Invalid ( )
inlinestaticconstexpr

Definition at line 88 of file index.h.

Here is the call graph for this function:

◆ IsTurbofanNodeId()

bool v8::internal::compiler::turboshaft::OpIndex::IsTurbofanNodeId ( ) const
inline

Definition at line 101 of file index.h.

Here is the caller graph for this function:

◆ offset()

uint32_t v8::internal::compiler::turboshaft::OpIndex::offset ( ) const
inline

Definition at line 77 of file index.h.

Here is the caller graph for this function:

◆ operator!=()

bool v8::internal::compiler::turboshaft::OpIndex::operator!= ( OpIndex other) const
inlineconstexpr

Definition at line 108 of file index.h.

◆ operator<()

bool v8::internal::compiler::turboshaft::OpIndex::operator< ( OpIndex other) const
inlineconstexpr

Definition at line 111 of file index.h.

◆ operator<=()

bool v8::internal::compiler::turboshaft::OpIndex::operator<= ( OpIndex other) const
inlineconstexpr

Definition at line 117 of file index.h.

◆ operator==()

bool v8::internal::compiler::turboshaft::OpIndex::operator== ( OpIndex other) const
inlineconstexpr

Definition at line 105 of file index.h.

◆ operator>()

bool v8::internal::compiler::turboshaft::OpIndex::operator> ( OpIndex other) const
inlineconstexpr

Definition at line 114 of file index.h.

◆ operator>=()

bool v8::internal::compiler::turboshaft::OpIndex::operator>= ( OpIndex other) const
inlineconstexpr

Definition at line 120 of file index.h.

◆ valid()

bool v8::internal::compiler::turboshaft::OpIndex::valid ( ) const
inlineconstexpr

Definition at line 86 of file index.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ AbslHashValue

template<typename H >
H AbslHashValue ( H h,
const OpIndex & idx )
friend

Definition at line 156 of file index.h.

◆ OperationBuffer

friend class OperationBuffer
friend

Definition at line 47 of file index.h.

Member Data Documentation

◆ kGenerationMask

uint32_t v8::internal::compiler::turboshaft::OpIndex::kGenerationMask = 1 << kGenerationMaskShift
staticconstexprprotected

Definition at line 145 of file index.h.

◆ kGenerationMaskShift

uint32_t v8::internal::compiler::turboshaft::OpIndex::kGenerationMaskShift = 1
staticconstexprprotected

Definition at line 144 of file index.h.

◆ kTurbofanNodeIdFlag

uint32_t v8::internal::compiler::turboshaft::OpIndex::kTurbofanNodeIdFlag = 1
staticconstexprprotected

Definition at line 153 of file index.h.

◆ kUnmaskGenerationMask

uint32_t v8::internal::compiler::turboshaft::OpIndex::kUnmaskGenerationMask = ~kGenerationMask
staticconstexprprotected

Definition at line 146 of file index.h.

◆ offset_

uint32_t v8::internal::compiler::turboshaft::OpIndex::offset_
protected

Definition at line 151 of file index.h.


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