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

#include <index.h>

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

Public Member Functions

constexpr OptionalOpIndex (OpIndex other)
 
uint32_t hash () const
 
constexpr bool has_value () const
 
constexpr OpIndex value () const
 
constexpr OpIndex value_or_invalid () const
 
constexpr OpIndex (uint32_t offset)
 
constexpr OpIndex ()
 
template<typename T , typename C >
 OpIndex (const ConstOrV< T, C > &)
 
constexpr bool valid () const
 

Static Public Member Functions

static constexpr OptionalOpIndex Nullopt ()
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::compiler::turboshaft::OpIndex
constexpr OpIndex (uint32_t offset)
 
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 Protected Member Functions inherited from v8::internal::compiler::turboshaft::OpIndex
static constexpr OpIndex FromOffset (uint32_t offset)
 
static constexpr OpIndex Invalid ()
 
static OpIndex EncodeTurbofanNodeId (uint32_t id)
 
- Protected Attributes inherited from v8::internal::compiler::turboshaft::OpIndex
uint32_t offset_
 
- Static Protected Attributes inherited from v8::internal::compiler::turboshaft::OpIndex
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
 

Detailed Description

Definition at line 163 of file index.h.

Constructor & Destructor Documentation

◆ OptionalOpIndex()

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

Definition at line 168 of file index.h.

Member Function Documentation

◆ has_value()

bool v8::internal::compiler::turboshaft::OptionalOpIndex::has_value ( ) const
inlineconstexpr

Definition at line 177 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::OptionalOpIndex::hash ( ) const
inline

Definition at line 175 of file index.h.

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

◆ Nullopt()

static constexpr OptionalOpIndex v8::internal::compiler::turboshaft::OptionalOpIndex::Nullopt ( )
inlinestaticconstexpr

Definition at line 171 of file index.h.

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

◆ OpIndex() [1/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() [2/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.

◆ OpIndex() [3/3]

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

Definition at line 44 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 caller graph for this function:

◆ value()

OpIndex v8::internal::compiler::turboshaft::OptionalOpIndex::value ( ) const
inlineconstexpr

Definition at line 178 of file index.h.

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

◆ value_or_invalid()

OpIndex v8::internal::compiler::turboshaft::OptionalOpIndex::value_or_invalid ( ) const
inlineconstexpr

Definition at line 182 of file index.h.

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

Friends And Related Symbol Documentation

◆ AbslHashValue

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

Definition at line 185 of file index.h.


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