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

#include <representations.h>

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

Public Types

enum class  Enum : uint8_t { kWord32 = static_cast<int>(RegisterRepresentation::Enum::kWord32) , kWord64 = static_cast<int>(RegisterRepresentation::Enum::kWord64) }
 
- Public Types inherited from v8::internal::compiler::turboshaft::RegisterRepresentation
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 WordRepresentation (Enum value)
 
 WordRepresentation ()=default
 
constexpr WordRepresentation (RegisterRepresentation rep)
 
constexpr Enum value () const
 
constexpr operator Enum () const
 
constexpr uint64_t MaxUnsignedValue () const
 
constexpr int64_t MinSignedValue () const
 
constexpr int64_t MaxSignedValue () const
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::RegisterRepresentation
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 WordRepresentation Word32 ()
 
static constexpr WordRepresentation Word64 ()
 
static constexpr WordRepresentation WordPtr ()
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::RegisterRepresentation
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 427 of file representations.h.

Member Enumeration Documentation

◆ Enum

Enumerator
kWord32 
kWord64 

Definition at line 429 of file representations.h.

Constructor & Destructor Documentation

◆ WordRepresentation() [1/3]

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

Definition at line 433 of file representations.h.

◆ WordRepresentation() [2/3]

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

◆ WordRepresentation() [3/3]

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

Definition at line 437 of file representations.h.

Here is the call graph for this function:

Member Function Documentation

◆ MaxSignedValue()

int64_t v8::internal::compiler::turboshaft::WordRepresentation::MaxSignedValue ( ) const
inlineconstexpr

Definition at line 474 of file representations.h.

Here is the call graph for this function:

◆ MaxUnsignedValue()

uint64_t v8::internal::compiler::turboshaft::WordRepresentation::MaxUnsignedValue ( ) const
inlineconstexpr

Definition at line 458 of file representations.h.

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

◆ MinSignedValue()

int64_t v8::internal::compiler::turboshaft::WordRepresentation::MinSignedValue ( ) const
inlineconstexpr

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

Definition at line 456 of file representations.h.

Here is the call graph for this function:

◆ value()

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

Definition at line 453 of file representations.h.

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

◆ Word32()

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

Definition at line 442 of file representations.h.

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

◆ Word64()

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

Definition at line 445 of file representations.h.

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

◆ WordPtr()

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

Definition at line 449 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: