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

#include <representations.h>

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

Public Types

enum class  Enum : uint8_t {
  kWord32 = static_cast<int>(MaybeRegisterRepresentation::Enum::kWord32) , kWord64 = static_cast<int>(MaybeRegisterRepresentation::Enum::kWord64) , kFloat32 = static_cast<int>(MaybeRegisterRepresentation::Enum::kFloat32) , kFloat64 = static_cast<int>(MaybeRegisterRepresentation::Enum::kFloat64) ,
  kTagged = static_cast<int>(MaybeRegisterRepresentation::Enum::kTagged) , kCompressed , kSimd128 = static_cast<int>(MaybeRegisterRepresentation::Enum::kSimd128) , kSimd256 = static_cast<int>(MaybeRegisterRepresentation::Enum::kSimd256)
}
 
- Public Types inherited from v8::internal::compiler::turboshaft::MaybeRegisterRepresentation
enum class  Enum : uint8_t {
  kWord32 , kWord64 , kFloat32 , kFloat64 ,
  kTagged , kCompressed , kSimd128 , kSimd256 ,
  kNone
}
 

Public Member Functions

constexpr RegisterRepresentation (Enum value)
 
 RegisterRepresentation ()=default
 
constexpr RegisterRepresentation (MaybeRegisterRepresentation rep)
 
constexpr operator Enum () const
 
constexpr Enum value () const
 
constexpr bool AllowImplicitRepresentationChangeTo (RegisterRepresentation dst_rep, bool graph_created_from_turbofan) const
 
constexpr RegisterRepresentation MapTaggedToWord () const
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::MaybeRegisterRepresentation
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 RegisterRepresentation Word32 ()
 
static constexpr RegisterRepresentation Word64 ()
 
static constexpr RegisterRepresentation WordPtr ()
 
static constexpr RegisterRepresentation Float32 ()
 
static constexpr RegisterRepresentation Float64 ()
 
static constexpr RegisterRepresentation Tagged ()
 
static constexpr RegisterRepresentation Compressed ()
 
static constexpr RegisterRepresentation Simd128 ()
 
static constexpr RegisterRepresentation Simd256 ()
 
static constexpr RegisterRepresentation FromMachineRepresentation (MachineRepresentation rep)
 
static constexpr RegisterRepresentation FromMachineType (MachineType type)
 
static constexpr RegisterRepresentation FromCTypeInfo (CTypeInfo t, CFunctionInfo::Int64Representation int64_repr)
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::MaybeRegisterRepresentation
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 ()
 

Detailed Description

Definition at line 210 of file representations.h.

Member Enumeration Documentation

◆ Enum

Enumerator
kWord32 
kWord64 
kFloat32 
kFloat64 
kTagged 
kCompressed 
kSimd128 
kSimd256 

Definition at line 212 of file representations.h.

Constructor & Destructor Documentation

◆ RegisterRepresentation() [1/3]

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

Definition at line 224 of file representations.h.

◆ RegisterRepresentation() [2/3]

v8::internal::compiler::turboshaft::RegisterRepresentation::RegisterRepresentation ( )
default
Here is the caller graph for this function:

◆ RegisterRepresentation() [3/3]

v8::internal::compiler::turboshaft::RegisterRepresentation::RegisterRepresentation ( MaybeRegisterRepresentation rep)
inlineexplicitconstexpr

Definition at line 229 of file representations.h.

Member Function Documentation

◆ AllowImplicitRepresentationChangeTo()

bool v8::internal::compiler::turboshaft::RegisterRepresentation::AllowImplicitRepresentationChangeTo ( RegisterRepresentation dst_rep,
bool graph_created_from_turbofan ) const
constexpr

Definition at line 362 of file representations.h.

Here is the call graph for this function:

◆ Compressed()

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

Definition at line 262 of file representations.h.

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

◆ Float32()

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

Definition at line 249 of file representations.h.

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

◆ Float64()

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

Definition at line 252 of file representations.h.

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

◆ FromCTypeInfo()

static constexpr RegisterRepresentation v8::internal::compiler::turboshaft::RegisterRepresentation::FromCTypeInfo ( CTypeInfo t,
CFunctionInfo::Int64Representation int64_repr )
inlinestaticconstexpr

Definition at line 318 of file representations.h.

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

◆ FromMachineRepresentation()

static constexpr RegisterRepresentation v8::internal::compiler::turboshaft::RegisterRepresentation::FromMachineRepresentation ( MachineRepresentation rep)
inlinestaticconstexpr

Definition at line 272 of file representations.h.

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

◆ FromMachineType()

static constexpr RegisterRepresentation v8::internal::compiler::turboshaft::RegisterRepresentation::FromMachineType ( MachineType type)
inlinestaticconstexpr

Definition at line 314 of file representations.h.

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

◆ MapTaggedToWord()

RegisterRepresentation v8::internal::compiler::turboshaft::RegisterRepresentation::MapTaggedToWord ( ) const
inlineconstexpr

Definition at line 340 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::RegisterRepresentation::operator Enum ( ) const
inlineconstexpr

Definition at line 232 of file representations.h.

Here is the call graph for this function:

◆ Simd128()

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

Definition at line 265 of file representations.h.

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

◆ Simd256()

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

Definition at line 268 of file representations.h.

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

◆ Tagged()

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

Definition at line 257 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::RegisterRepresentation::value ( ) const
inlineconstexpr

Definition at line 234 of file representations.h.

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

◆ Word32()

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

Definition at line 238 of file representations.h.

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

◆ Word64()

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

Definition at line 241 of file representations.h.

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

◆ WordPtr()

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

Definition at line 246 of file representations.h.

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

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