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

#include <value-type.h>

Inheritance diagram for v8::internal::wasm::IndependentHeapType:
Collaboration diagram for v8::internal::wasm::IndependentHeapType:

Public Member Functions

constexpr IndependentHeapType (GenericKind kind, Nullability nullable=kNullable, bool shared=false)
 
constexpr IndependentHeapType AsNonNull () const
 
constexpr HeapType heap_type () const
 
constexpr operator HeapType () const
 
- Public Member Functions inherited from v8::internal::wasm::IndependentValueType
constexpr IndependentValueType (NumericKind kind)
 
constexpr operator ValueType () const
 
constexpr operator CanonicalValueType () const
 
constexpr bool operator== (ValueType b) const
 
constexpr bool operator== (CanonicalValueType b) const
 
- Public Member Functions inherited from v8::internal::wasm::ValueTypeBase
constexpr ValueTypeBase ()
 
void Populate (bool shared, RefTypeKind kind)
 
constexpr TypeKind type_kind () const
 
constexpr bool has_index () const
 
constexpr bool is_sentinel () const
 
constexpr bool is_numeric () const
 
constexpr bool is_abstract_ref () const
 
constexpr bool is_ref () const
 
constexpr bool is_generic () const
 
constexpr Nullability nullability () const
 
constexpr bool is_nullable () const
 
constexpr bool is_non_nullable () const
 
constexpr Exactness exactness () const
 
constexpr bool is_exact () const
 
constexpr bool is_shared () const
 
constexpr RefTypeKind ref_type_kind () const
 
constexpr StandardType standard_type () const
 
constexpr NumericKind numeric_kind () const
 
constexpr GenericKind generic_kind () const
 
constexpr bool is_bottom () const
 
constexpr bool is_top () const
 
constexpr bool is_void () const
 
constexpr bool is_string_view () const
 
constexpr bool is_packed () const
 
constexpr bool is_reference_to (GenericKind type) const
 
constexpr bool is_defaultable () const
 
constexpr bool is_uninhabited () const
 
constexpr bool use_wasm_null () const
 
constexpr int value_kind_size_log2 () const
 
constexpr int value_kind_size () const
 
constexpr int value_kind_full_size () const
 
constexpr MachineType machine_type () const
 
constexpr MachineRepresentation machine_representation () const
 
ValueTypeCode value_type_code () const
 
constexpr bool encoding_needs_heap_type () const
 
constexpr bool encoding_needs_shared () const
 
constexpr bool encoding_needs_exact () const
 
V8_EXPORT_PRIVATE ValueTypeCode value_type_code_numeric () const
 
V8_EXPORT_PRIVATE ValueTypeCode value_type_code_generic () const
 
constexpr char short_name () const
 
V8_EXPORT_PRIVATE std::string generic_heaptype_name () const
 
V8_EXPORT_PRIVATE std::string name () const
 
constexpr bool is_valid () const
 
constexpr uint32_t raw_bit_field () const
 
size_t hash_value () const
 
constexpr bool is_reference () const
 
constexpr bool is_object_reference () const
 
constexpr ValueKind kind () const
 
constexpr uint32_t raw_heap_representation (bool distinguish_shared) const
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::wasm::ValueTypeBase
static constexpr ValueTypeBase Primitive (ValueKind kind)
 
- Static Public Attributes inherited from v8::internal::wasm::ValueTypeBase
static const int kNumIndexBits = value_type_impl::PayloadField::kSize
 
static const int kLastUsedBit = value_type_impl::PayloadField::kLastUsedBit
 
static const uint32_t kIsRefBit = value_type_impl::IsRefField::kMask
 
static const uint32_t kIsNullableBit
 
static const uint32_t kHasIndexBit
 
static const uint32_t kRefKindBits = value_type_impl::RefTypeKindField::kMask
 
static const uint32_t kRefKindShift
 
static const uint32_t kIndexBits = value_type_impl::PayloadField::kMask
 
static const uint32_t kIndexShift = value_type_impl::PayloadField::kShift
 
- Protected Member Functions inherited from v8::internal::wasm::IndependentValueType
constexpr IndependentValueType (GenericKind kind, Nullability nullable, bool shared)
 
- Protected Member Functions inherited from v8::internal::wasm::ValueTypeBase
constexpr ValueTypeBase (uint32_t bit_field)
 
constexpr ValueTypeBase (NumericKind kind)
 
constexpr ValueTypeBase (GenericKind kind, Nullability nullable, bool is_shared)
 
constexpr ValueTypeBase (TypeIndex index, Nullability nullable, Exactness exact, bool shared, RefTypeKind ref_type_kind)
 
constexpr TypeIndex raw_index () const
 
- Protected Attributes inherited from v8::internal::wasm::ValueTypeBase
uint32_t bit_field_
 

Detailed Description

Definition at line 1120 of file value-type.h.

Constructor & Destructor Documentation

◆ IndependentHeapType()

v8::internal::wasm::IndependentHeapType::IndependentHeapType ( GenericKind kind,
Nullability nullable = kNullable,
bool shared = false )
inlineexplicitconstexpr

Definition at line 1122 of file value-type.h.

Here is the caller graph for this function:

Member Function Documentation

◆ AsNonNull()

IndependentHeapType v8::internal::wasm::IndependentHeapType::AsNonNull ( ) const
inlineconstexpr

Definition at line 1127 of file value-type.h.

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

◆ heap_type()

HeapType v8::internal::wasm::IndependentHeapType::heap_type ( ) const
inlineconstexpr

Definition at line 1131 of file value-type.h.

◆ operator HeapType()

v8::internal::wasm::IndependentHeapType::operator HeapType ( ) const
inlineconstexpr

Definition at line 1132 of file value-type.h.


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