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

#include <representations.h>

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

Public Types

enum class  Enum : uint8_t {
  kWord32 , kWord64 , kFloat32 , kFloat64 ,
  kTagged , kCompressed , kSimd128 , kSimd256 ,
  kNone
}
 

Public Member Functions

constexpr MaybeRegisterRepresentation (Enum value)
 
constexpr MaybeRegisterRepresentation ()
 
constexpr bool is_valid () const
 
constexpr Enum value () const
 
constexpr operator Enum () const
 
constexpr bool IsWord () const
 
constexpr bool IsFloat () const
 
constexpr bool IsTaggedOrCompressed () const
 
uint64_t MaxUnsignedValue () const
 
MachineRepresentation machine_representation () const
 
constexpr uint16_t bit_width () const
 

Static Public Member Functions

static constexpr MaybeRegisterRepresentation Word32 ()
 
static constexpr MaybeRegisterRepresentation Word64 ()
 
static constexpr MaybeRegisterRepresentation WordPtr ()
 
static constexpr MaybeRegisterRepresentation Float32 ()
 
static constexpr MaybeRegisterRepresentation Float64 ()
 
static constexpr MaybeRegisterRepresentation Tagged ()
 
static constexpr MaybeRegisterRepresentation Compressed ()
 
static constexpr MaybeRegisterRepresentation Simd128 ()
 
static constexpr MaybeRegisterRepresentation Simd256 ()
 
static constexpr MaybeRegisterRepresentation None ()
 

Private Attributes

Enum value_
 

Static Private Attributes

static constexpr Enum kInvalid = static_cast<Enum>(-1)
 

Detailed Description

Definition at line 22 of file representations.h.

Member Enumeration Documentation

◆ Enum

Enumerator
kWord32 
kWord64 
kFloat32 
kFloat64 
kTagged 
kCompressed 
kSimd128 
kSimd256 
kNone 

Definition at line 24 of file representations.h.

Constructor & Destructor Documentation

◆ MaybeRegisterRepresentation() [1/2]

v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::MaybeRegisterRepresentation ( Enum value)
inlineexplicitconstexpr

Definition at line 36 of file representations.h.

◆ MaybeRegisterRepresentation() [2/2]

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

Definition at line 37 of file representations.h.

Here is the caller graph for this function:

Member Function Documentation

◆ bit_width()

uint16_t v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::bit_width ( ) const
inlineconstexpr

Definition at line 181 of file representations.h.

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

◆ Compressed()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Compressed ( )
inlinestaticconstexpr

Definition at line 77 of file representations.h.

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

◆ Float32()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Float32 ( )
inlinestaticconstexpr

Definition at line 65 of file representations.h.

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

◆ Float64()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Float64 ( )
inlinestaticconstexpr

Definition at line 69 of file representations.h.

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

◆ is_valid()

bool v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::is_valid ( ) const
inlineconstexpr

Definition at line 39 of file representations.h.

Here is the caller graph for this function:

◆ IsFloat()

bool v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::IsFloat ( ) const
inlineconstexpr

Definition at line 109 of file representations.h.

Here is the caller graph for this function:

◆ IsTaggedOrCompressed()

bool v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::IsTaggedOrCompressed ( ) const
inlineconstexpr

Definition at line 125 of file representations.h.

◆ IsWord()

bool v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::IsWord ( ) const
inlineconstexpr

Definition at line 93 of file representations.h.

Here is the caller graph for this function:

◆ machine_representation()

MachineRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::machine_representation ( ) const
inline

Definition at line 158 of file representations.h.

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

◆ MaxUnsignedValue()

uint64_t v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::MaxUnsignedValue ( ) const
inline

Definition at line 141 of file representations.h.

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

◆ None()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::None ( )
inlinestaticconstexpr

Definition at line 89 of file representations.h.

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

◆ operator Enum()

v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::operator Enum ( ) const
inlineconstexpr

Definition at line 46 of file representations.h.

Here is the call graph for this function:

◆ Simd128()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Simd128 ( )
inlinestaticconstexpr

Definition at line 81 of file representations.h.

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

◆ Simd256()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Simd256 ( )
inlinestaticconstexpr

Definition at line 85 of file representations.h.

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

◆ Tagged()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Tagged ( )
inlinestaticconstexpr

Definition at line 73 of file representations.h.

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

◆ value()

Enum v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::value ( ) const
inlineconstexpr

Definition at line 41 of file representations.h.

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

◆ Word32()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Word32 ( )
inlinestaticconstexpr

Definition at line 48 of file representations.h.

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

◆ Word64()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::Word64 ( )
inlinestaticconstexpr

Definition at line 52 of file representations.h.

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

◆ WordPtr()

static constexpr MaybeRegisterRepresentation v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::WordPtr ( )
inlinestaticconstexpr

Definition at line 56 of file representations.h.

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

Member Data Documentation

◆ kInvalid

Enum v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::kInvalid = static_cast<Enum>(-1)
staticconstexprprivate

Definition at line 207 of file representations.h.

◆ value_

Enum v8::internal::compiler::turboshaft::MaybeRegisterRepresentation::value_
private

Definition at line 205 of file representations.h.


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