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

#include <representations.h>

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

Public Types

enum class  Enum : uint8_t { kFloat32 = static_cast<int>(RegisterRepresentation::Enum::kFloat32) , kFloat64 = static_cast<int>(RegisterRepresentation::Enum::kFloat64) }
 
- 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 FloatRepresentation (Enum value)
 
constexpr FloatRepresentation (RegisterRepresentation rep)
 
 FloatRepresentation ()=default
 
constexpr Enum value () const
 
constexpr operator Enum () 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 FloatRepresentation Float32 ()
 
static constexpr FloatRepresentation Float64 ()
 
- 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 484 of file representations.h.

Member Enumeration Documentation

◆ Enum

Enumerator
kFloat32 
kFloat64 

Definition at line 486 of file representations.h.

Constructor & Destructor Documentation

◆ FloatRepresentation() [1/3]

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

Definition at line 498 of file representations.h.

◆ FloatRepresentation() [2/3]

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

Definition at line 501 of file representations.h.

Here is the call graph for this function:

◆ FloatRepresentation() [3/3]

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

Member Function Documentation

◆ Float32()

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

Definition at line 491 of file representations.h.

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

◆ Float64()

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

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

Definition at line 510 of file representations.h.

Here is the call graph for this function:

◆ value()

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

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