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

#include <representations.h>

Collaboration diagram for v8::internal::compiler::turboshaft::MemoryRepresentation:

Public Types

enum class  Enum : uint8_t {
  kInt8 , kUint8 , kInt16 , kUint16 ,
  kInt32 , kUint32 , kInt64 , kUint64 ,
  kFloat16 , kFloat32 , kFloat64 , kAnyTagged ,
  kTaggedPointer , kTaggedSigned , kAnyUncompressedTagged , kUncompressedTaggedPointer ,
  kUncompressedTaggedSigned , kProtectedPointer , kIndirectPointer , kSandboxedPointer ,
  kSimd128 , kSimd256
}
 

Public Member Functions

constexpr MemoryRepresentation (Enum value)
 
constexpr MemoryRepresentation ()
 
constexpr bool is_valid () const
 
constexpr Enum value () const
 
constexpr operator Enum () const
 
bool IsSigned () const
 
bool IsCompressibleTagged () const
 
RegisterRepresentation ToRegisterRepresentation () const
 
RegisterRepresentation ToRegisterRepresentationForStore () const
 
MachineType ToMachineType () const
 
constexpr uint8_t SizeInBytes () const
 
constexpr uint8_t SizeInBytesLog2 () const
 

Static Public Member Functions

static constexpr MemoryRepresentation Int8 ()
 
static constexpr MemoryRepresentation Uint8 ()
 
static constexpr MemoryRepresentation Int16 ()
 
static constexpr MemoryRepresentation Uint16 ()
 
static constexpr MemoryRepresentation Int32 ()
 
static constexpr MemoryRepresentation Uint32 ()
 
static constexpr MemoryRepresentation Int64 ()
 
static constexpr MemoryRepresentation Uint64 ()
 
static constexpr MemoryRepresentation UintPtr ()
 
static constexpr MemoryRepresentation Float16 ()
 
static constexpr MemoryRepresentation Float32 ()
 
static constexpr MemoryRepresentation Float64 ()
 
static constexpr MemoryRepresentation AnyTagged ()
 
static constexpr MemoryRepresentation TaggedPointer ()
 
static constexpr MemoryRepresentation TaggedSigned ()
 
static constexpr MemoryRepresentation AnyUncompressedTagged ()
 
static constexpr MemoryRepresentation UncompressedTaggedPointer ()
 
static constexpr MemoryRepresentation UncompressedTaggedSigned ()
 
static constexpr MemoryRepresentation ProtectedPointer ()
 
static constexpr MemoryRepresentation IndirectPointer ()
 
static constexpr MemoryRepresentation SandboxedPointer ()
 
static constexpr MemoryRepresentation Simd128 ()
 
static constexpr MemoryRepresentation Simd256 ()
 
static MemoryRepresentation FromRegisterRepresentation (RegisterRepresentation repr, bool is_signed)
 
static MemoryRepresentation FromMachineType (MachineType type)
 
static constexpr MemoryRepresentation FromMachineRepresentation (MachineRepresentation rep)
 

Private Attributes

Enum value_
 

Static Private Attributes

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

Detailed Description

Definition at line 513 of file representations.h.

Member Enumeration Documentation

◆ Enum

Enumerator
kInt8 
kUint8 
kInt16 
kUint16 
kInt32 
kUint32 
kInt64 
kUint64 
kFloat16 
kFloat32 
kFloat64 
kAnyTagged 
kTaggedPointer 
kTaggedSigned 
kAnyUncompressedTagged 
kUncompressedTaggedPointer 
kUncompressedTaggedSigned 
kProtectedPointer 
kIndirectPointer 
kSandboxedPointer 
kSimd128 
kSimd256 

Definition at line 515 of file representations.h.

Constructor & Destructor Documentation

◆ MemoryRepresentation() [1/2]

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

Definition at line 540 of file representations.h.

◆ MemoryRepresentation() [2/2]

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

Definition at line 541 of file representations.h.

Here is the caller graph for this function:

Member Function Documentation

◆ AnyTagged()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::AnyTagged ( )
inlinestaticconstexpr

Definition at line 591 of file representations.h.

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

◆ AnyUncompressedTagged()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::AnyUncompressedTagged ( )
inlinestaticconstexpr

Definition at line 600 of file representations.h.

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

◆ Float16()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Float16 ( )
inlinestaticconstexpr

Definition at line 582 of file representations.h.

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

◆ Float32()

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

Definition at line 585 of file representations.h.

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

◆ Float64()

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

Definition at line 588 of file representations.h.

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

◆ FromMachineRepresentation()

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

Definition at line 852 of file representations.h.

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

◆ FromMachineType()

static MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::FromMachineType ( MachineType type)
inlinestatic

Definition at line 807 of file representations.h.

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

◆ FromRegisterRepresentation()

static MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::FromRegisterRepresentation ( RegisterRepresentation repr,
bool is_signed )
inlinestatic

Definition at line 723 of file representations.h.

Here is the call graph for this function:

◆ IndirectPointer()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::IndirectPointer ( )
inlinestaticconstexpr

Definition at line 612 of file representations.h.

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

◆ Int16()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Int16 ( )
inlinestaticconstexpr

Definition at line 557 of file representations.h.

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

◆ Int32()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Int32 ( )
inlinestaticconstexpr

Definition at line 563 of file representations.h.

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

◆ Int64()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Int64 ( )
inlinestaticconstexpr

Definition at line 569 of file representations.h.

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

◆ Int8()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Int8 ( )
inlinestaticconstexpr

Definition at line 551 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::MemoryRepresentation::is_valid ( ) const
inlineconstexpr

Definition at line 543 of file representations.h.

Here is the caller graph for this function:

◆ IsCompressibleTagged()

bool v8::internal::compiler::turboshaft::MemoryRepresentation::IsCompressibleTagged ( ) const
inline

Definition at line 659 of file representations.h.

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

◆ IsSigned()

bool v8::internal::compiler::turboshaft::MemoryRepresentation::IsSigned ( ) const
inline

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

Definition at line 549 of file representations.h.

Here is the call graph for this function:

◆ ProtectedPointer()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::ProtectedPointer ( )
inlinestaticconstexpr

Definition at line 609 of file representations.h.

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

◆ SandboxedPointer()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::SandboxedPointer ( )
inlinestaticconstexpr

Definition at line 615 of file representations.h.

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

◆ Simd128()

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

Definition at line 618 of file representations.h.

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

◆ Simd256()

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

Definition at line 621 of file representations.h.

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

◆ SizeInBytes()

uint8_t v8::internal::compiler::turboshaft::MemoryRepresentation::SizeInBytes ( ) const
inlineconstexpr

Definition at line 893 of file representations.h.

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

◆ SizeInBytesLog2()

uint8_t v8::internal::compiler::turboshaft::MemoryRepresentation::SizeInBytesLog2 ( ) const
inlineconstexpr

Definition at line 897 of file representations.h.

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

◆ TaggedPointer()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::TaggedPointer ( )
inlinestaticconstexpr

Definition at line 594 of file representations.h.

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

◆ TaggedSigned()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::TaggedSigned ( )
inlinestaticconstexpr

Definition at line 597 of file representations.h.

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

◆ ToMachineType()

MachineType v8::internal::compiler::turboshaft::MemoryRepresentation::ToMachineType ( ) const
inline

Definition at line 758 of file representations.h.

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

◆ ToRegisterRepresentation()

RegisterRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::ToRegisterRepresentation ( ) const
inline

Definition at line 688 of file representations.h.

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

◆ ToRegisterRepresentationForStore()

RegisterRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::ToRegisterRepresentationForStore ( ) const
inline

Definition at line 748 of file representations.h.

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

◆ Uint16()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Uint16 ( )
inlinestaticconstexpr

Definition at line 560 of file representations.h.

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

◆ Uint32()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Uint32 ( )
inlinestaticconstexpr

Definition at line 566 of file representations.h.

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

◆ Uint64()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Uint64 ( )
inlinestaticconstexpr

Definition at line 572 of file representations.h.

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

◆ Uint8()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::Uint8 ( )
inlinestaticconstexpr

Definition at line 554 of file representations.h.

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

◆ UintPtr()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::UintPtr ( )
inlinestaticconstexpr

Definition at line 575 of file representations.h.

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

◆ UncompressedTaggedPointer()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::UncompressedTaggedPointer ( )
inlinestaticconstexpr

Definition at line 603 of file representations.h.

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

◆ UncompressedTaggedSigned()

static constexpr MemoryRepresentation v8::internal::compiler::turboshaft::MemoryRepresentation::UncompressedTaggedSigned ( )
inlinestaticconstexpr

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

Definition at line 545 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::MemoryRepresentation::kInvalid = static_cast<Enum>(-1)
staticconstexprprivate

Definition at line 935 of file representations.h.

◆ value_

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

Definition at line 933 of file representations.h.


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