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

#include <machine-type.h>

Collaboration diagram for v8::internal::MachineType:

Public Member Functions

constexpr MachineType ()
 
constexpr MachineType (MachineRepresentation representation, MachineSemantic semantic)
 
constexpr bool operator== (MachineType other) const
 
constexpr bool operator!= (MachineType other) const
 
constexpr MachineRepresentation representation () const
 
constexpr MachineSemantic semantic () const
 
constexpr bool IsNone () const
 
constexpr bool IsMapWord () const
 
constexpr bool IsSigned () const
 
constexpr bool IsUnsigned () const
 
constexpr bool IsTagged () const
 
constexpr bool IsTaggedSigned () const
 
constexpr bool IsTaggedPointer () const
 
constexpr bool IsCompressed () const
 
constexpr bool IsCompressedPointer () const
 
constexpr bool IsIndirectPointer () const
 
constexpr bool LessThanOrEqualPointerSize () const
 
constexpr uint8_t MemSize () const
 

Static Public Member Functions

static constexpr MachineRepresentation PointerRepresentation ()
 
static constexpr MachineType UintPtr ()
 
static constexpr MachineType IntPtr ()
 
static constexpr MachineType Int8 ()
 
static constexpr MachineType Uint8 ()
 
static constexpr MachineType Int16 ()
 
static constexpr MachineType Uint16 ()
 
static constexpr MachineType Int32 ()
 
static constexpr MachineType Uint32 ()
 
static constexpr MachineType Int64 ()
 
static constexpr MachineType Uint64 ()
 
static constexpr MachineType SignedBigInt64 ()
 
static constexpr MachineType UnsignedBigInt64 ()
 
static constexpr MachineType Float16 ()
 
static constexpr MachineType Float32 ()
 
static constexpr MachineType Float64 ()
 
static constexpr MachineType HoleyFloat64 ()
 
static constexpr MachineType Simd128 ()
 
static constexpr MachineType Simd256 ()
 
static constexpr MachineType Pointer ()
 
static constexpr MachineType TaggedPointer ()
 
static constexpr MachineType MapInHeader ()
 
static constexpr MachineType TaggedSigned ()
 
static constexpr MachineType AnyTagged ()
 
static constexpr MachineType CompressedPointer ()
 
static constexpr MachineType AnyCompressed ()
 
static constexpr MachineType SandboxedPointer ()
 
static constexpr MachineType ProtectedPointer ()
 
static constexpr MachineType IndirectPointer ()
 
static constexpr MachineType Bool ()
 
static constexpr MachineType None ()
 
static MachineType TypeForRepresentation (const MachineRepresentation &rep, bool isSigned=true)
 
static MachineType TypeForCType (const CTypeInfo &type)
 

Private Attributes

MachineRepresentation representation_
 
MachineSemantic semantic_
 

Detailed Description

Definition at line 109 of file machine-type.h.

Constructor & Destructor Documentation

◆ MachineType() [1/2]

v8::internal::MachineType::MachineType ( )
inlineconstexpr

Definition at line 111 of file machine-type.h.

Here is the caller graph for this function:

◆ MachineType() [2/2]

v8::internal::MachineType::MachineType ( MachineRepresentation representation,
MachineSemantic semantic )
inlineconstexpr

Definition at line 114 of file machine-type.h.

Member Function Documentation

◆ AnyCompressed()

static constexpr MachineType v8::internal::MachineType::AnyCompressed ( )
inlinestaticconstexpr

Definition at line 257 of file machine-type.h.

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

◆ AnyTagged()

static constexpr MachineType v8::internal::MachineType::AnyTagged ( )
inlinestaticconstexpr

Definition at line 250 of file machine-type.h.

Here is the call graph for this function:

◆ Bool()

static constexpr MachineType v8::internal::MachineType::Bool ( )
inlinestaticconstexpr

Definition at line 273 of file machine-type.h.

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

◆ CompressedPointer()

static constexpr MachineType v8::internal::MachineType::CompressedPointer ( )
inlinestaticconstexpr

Definition at line 253 of file machine-type.h.

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

◆ Float16()

static constexpr MachineType v8::internal::MachineType::Float16 ( )
inlinestaticconstexpr

Definition at line 214 of file machine-type.h.

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

◆ Float32()

static constexpr MachineType v8::internal::MachineType::Float32 ( )
inlinestaticconstexpr

Definition at line 218 of file machine-type.h.

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

◆ Float64()

static constexpr MachineType v8::internal::MachineType::Float64 ( )
inlinestaticconstexpr

Definition at line 222 of file machine-type.h.

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

◆ HoleyFloat64()

static constexpr MachineType v8::internal::MachineType::HoleyFloat64 ( )
inlinestaticconstexpr

Definition at line 226 of file machine-type.h.

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

◆ IndirectPointer()

static constexpr MachineType v8::internal::MachineType::IndirectPointer ( )
inlinestaticconstexpr

Definition at line 269 of file machine-type.h.

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

◆ Int16()

static constexpr MachineType v8::internal::MachineType::Int16 ( )
inlinestaticconstexpr

Definition at line 185 of file machine-type.h.

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

◆ Int32()

static constexpr MachineType v8::internal::MachineType::Int32 ( )
inlinestaticconstexpr

Definition at line 192 of file machine-type.h.

Here is the call graph for this function:

◆ Int64()

static constexpr MachineType v8::internal::MachineType::Int64 ( )
inlinestaticconstexpr

Definition at line 199 of file machine-type.h.

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

◆ Int8()

static constexpr MachineType v8::internal::MachineType::Int8 ( )
inlinestaticconstexpr

Definition at line 179 of file machine-type.h.

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

◆ IntPtr()

static constexpr MachineType v8::internal::MachineType::IntPtr ( )
inlinestaticconstexpr

Definition at line 176 of file machine-type.h.

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

◆ IsCompressed()

bool v8::internal::MachineType::IsCompressed ( ) const
inlineconstexpr

Definition at line 159 of file machine-type.h.

Here is the call graph for this function:

◆ IsCompressedPointer()

bool v8::internal::MachineType::IsCompressedPointer ( ) const
inlineconstexpr

Definition at line 163 of file machine-type.h.

Here is the call graph for this function:

◆ IsIndirectPointer()

bool v8::internal::MachineType::IsIndirectPointer ( ) const
inlineconstexpr

Definition at line 166 of file machine-type.h.

Here is the call graph for this function:

◆ IsMapWord()

bool v8::internal::MachineType::IsMapWord ( ) const
inlineconstexpr

Definition at line 136 of file machine-type.h.

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

◆ IsNone()

bool v8::internal::MachineType::IsNone ( ) const
inlineconstexpr

Definition at line 132 of file machine-type.h.

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

◆ IsSigned()

bool v8::internal::MachineType::IsSigned ( ) const
inlineconstexpr

Definition at line 140 of file machine-type.h.

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

◆ IsTagged()

bool v8::internal::MachineType::IsTagged ( ) const
inlineconstexpr

Definition at line 148 of file machine-type.h.

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

◆ IsTaggedPointer()

bool v8::internal::MachineType::IsTaggedPointer ( ) const
inlineconstexpr

Definition at line 156 of file machine-type.h.

Here is the call graph for this function:

◆ IsTaggedSigned()

bool v8::internal::MachineType::IsTaggedSigned ( ) const
inlineconstexpr

Definition at line 153 of file machine-type.h.

Here is the call graph for this function:

◆ IsUnsigned()

bool v8::internal::MachineType::IsUnsigned ( ) const
inlineconstexpr

Definition at line 144 of file machine-type.h.

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

◆ LessThanOrEqualPointerSize()

bool v8::internal::MachineType::LessThanOrEqualPointerSize ( ) const
inlineconstexpr

Definition at line 358 of file machine-type.h.

Here is the call graph for this function:

◆ MapInHeader()

static constexpr MachineType v8::internal::MachineType::MapInHeader ( )
inlinestaticconstexpr

Definition at line 243 of file machine-type.h.

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

◆ MemSize()

uint8_t v8::internal::MachineType::MemSize ( ) const
inlineconstexpr

Definition at line 362 of file machine-type.h.

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

◆ None()

static constexpr MachineType v8::internal::MachineType::None ( )
inlinestaticconstexpr

Definition at line 276 of file machine-type.h.

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

◆ operator!=()

bool v8::internal::MachineType::operator!= ( MachineType other) const
inlineconstexpr

Definition at line 123 of file machine-type.h.

◆ operator==()

bool v8::internal::MachineType::operator== ( MachineType other) const
inlineconstexpr

Definition at line 118 of file machine-type.h.

Here is the call graph for this function:

◆ Pointer()

static constexpr MachineType v8::internal::MachineType::Pointer ( )
inlinestaticconstexpr

Definition at line 236 of file machine-type.h.

Here is the call graph for this function:

◆ PointerRepresentation()

static constexpr MachineRepresentation v8::internal::MachineType::PointerRepresentation ( )
inlinestaticconstexpr

Definition at line 169 of file machine-type.h.

Here is the caller graph for this function:

◆ ProtectedPointer()

static constexpr MachineType v8::internal::MachineType::ProtectedPointer ( )
inlinestaticconstexpr

Definition at line 265 of file machine-type.h.

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

◆ representation()

MachineRepresentation v8::internal::MachineType::representation ( ) const
inlineconstexpr

Definition at line 127 of file machine-type.h.

Here is the caller graph for this function:

◆ SandboxedPointer()

static constexpr MachineType v8::internal::MachineType::SandboxedPointer ( )
inlinestaticconstexpr

Definition at line 261 of file machine-type.h.

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

◆ semantic()

MachineSemantic v8::internal::MachineType::semantic ( ) const
inlineconstexpr

Definition at line 130 of file machine-type.h.

Here is the caller graph for this function:

◆ SignedBigInt64()

static constexpr MachineType v8::internal::MachineType::SignedBigInt64 ( )
inlinestaticconstexpr

Definition at line 206 of file machine-type.h.

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

◆ Simd128()

static constexpr MachineType v8::internal::MachineType::Simd128 ( )
inlinestaticconstexpr

Definition at line 230 of file machine-type.h.

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

◆ Simd256()

static constexpr MachineType v8::internal::MachineType::Simd256 ( )
inlinestaticconstexpr

Definition at line 233 of file machine-type.h.

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

◆ TaggedPointer()

static constexpr MachineType v8::internal::MachineType::TaggedPointer ( )
inlinestaticconstexpr

Definition at line 239 of file machine-type.h.

Here is the call graph for this function:

◆ TaggedSigned()

static constexpr MachineType v8::internal::MachineType::TaggedSigned ( )
inlinestaticconstexpr

Definition at line 246 of file machine-type.h.

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

◆ TypeForCType()

static MachineType v8::internal::MachineType::TypeForCType ( const CTypeInfo & type)
inlinestatic

Definition at line 324 of file machine-type.h.

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

◆ TypeForRepresentation()

static MachineType v8::internal::MachineType::TypeForRepresentation ( const MachineRepresentation & rep,
bool isSigned = true )
inlinestatic

Definition at line 280 of file machine-type.h.

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

◆ Uint16()

static constexpr MachineType v8::internal::MachineType::Uint16 ( )
inlinestaticconstexpr

Definition at line 188 of file machine-type.h.

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

◆ Uint32()

static constexpr MachineType v8::internal::MachineType::Uint32 ( )
inlinestaticconstexpr

Definition at line 195 of file machine-type.h.

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

◆ Uint64()

static constexpr MachineType v8::internal::MachineType::Uint64 ( )
inlinestaticconstexpr

Definition at line 202 of file machine-type.h.

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

◆ Uint8()

static constexpr MachineType v8::internal::MachineType::Uint8 ( )
inlinestaticconstexpr

Definition at line 182 of file machine-type.h.

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

◆ UintPtr()

static constexpr MachineType v8::internal::MachineType::UintPtr ( )
inlinestaticconstexpr

Definition at line 173 of file machine-type.h.

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

◆ UnsignedBigInt64()

static constexpr MachineType v8::internal::MachineType::UnsignedBigInt64 ( )
inlinestaticconstexpr

Definition at line 210 of file machine-type.h.

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

Member Data Documentation

◆ representation_

MachineRepresentation v8::internal::MachineType::representation_
private

Definition at line 367 of file machine-type.h.

◆ semantic_

MachineSemantic v8::internal::MachineType::semantic_
private

Definition at line 368 of file machine-type.h.


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