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

#include <index.h>

Inheritance diagram for v8::internal::compiler::turboshaft::V< T >:
Collaboration diagram for v8::internal::compiler::turboshaft::V< T >:

Public Types

using type = T
 

Public Member Functions

constexpr V ()
 
template<typename U >
requires implicitly_constructible_from<U>
 V (V< U > index)
 
template<typename U >
requires (std::is_same_v<U, OpIndex>)
 V (U index)
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::OpIndex
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 V Invalid ()
 
template<typename U >
static V< TCast (V< U > index)
 
static V< TCast (OpIndex index)
 
static constexpr bool allows_representation (RegisterRepresentation maybe_allowed_rep)
 
- Static Public 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)
 

Static Public Attributes

static constexpr auto rep = v_traits<type>::rep
 

Static Private Attributes

template<typename U >
static constexpr bool implicitly_constructible_from
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::compiler::turboshaft::OpIndex
constexpr OpIndex (uint32_t offset)
 
- 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

template<typename T>
class v8::internal::compiler::turboshaft::V< T >

Definition at line 607 of file index.h.

Member Typedef Documentation

◆ type

template<typename T >
using v8::internal::compiler::turboshaft::V< T >::type = T

Definition at line 617 of file index.h.

Constructor & Destructor Documentation

◆ V() [1/3]

template<typename T >
v8::internal::compiler::turboshaft::V< T >::V ( )
inlineconstexpr

Definition at line 619 of file index.h.

Here is the caller graph for this function:

◆ V() [2/3]

template<typename T >
template<typename U >
requires implicitly_constructible_from<U>
v8::internal::compiler::turboshaft::V< T >::V ( V< U > index)
inline

Definition at line 627 of file index.h.

◆ V() [3/3]

template<typename T >
template<typename U >
requires (std::is_same_v<U, OpIndex>)
v8::internal::compiler::turboshaft::V< T >::V ( U index)
inline

Definition at line 649 of file index.h.

Member Function Documentation

◆ allows_representation()

template<typename T >
static constexpr bool v8::internal::compiler::turboshaft::V< T >::allows_representation ( RegisterRepresentation maybe_allowed_rep)
inlinestaticconstexpr

Definition at line 637 of file index.h.

◆ Cast() [1/2]

template<typename T >
static V< T > v8::internal::compiler::turboshaft::V< T >::Cast ( OpIndex index)
inlinestatic

Definition at line 635 of file index.h.

Here is the call graph for this function:

◆ Cast() [2/2]

template<typename T >
template<typename U >
static V< T > v8::internal::compiler::turboshaft::V< T >::Cast ( V< U > index)
inlinestatic

Definition at line 632 of file index.h.

Here is the call graph for this function:

◆ Invalid()

template<typename T >
static V v8::internal::compiler::turboshaft::V< T >::Invalid ( )
inlinestatic

Definition at line 629 of file index.h.

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

Member Data Documentation

◆ implicitly_constructible_from

template<typename T >
template<typename U >
bool v8::internal::compiler::turboshaft::V< T >::implicitly_constructible_from
staticconstexprprivate
Initial value:
=
v_traits<T>::template implicitly_constructible_from<U>::value

Definition at line 613 of file index.h.

◆ rep

template<typename T >
auto v8::internal::compiler::turboshaft::V< T >::rep = v_traits<type>::rep
staticconstexpr

Definition at line 618 of file index.h.


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