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

#include <property-details.h>

Collaboration diagram for v8::internal::Representation:

Public Types

enum  Kind {
  kNone , kSmi , kDouble , kHeapObject ,
  kTagged , kWasmValue , kNumRepresentations
}
 

Public Member Functions

constexpr Representation ()
 
bool Equals (const Representation &other) const
 
bool IsCompatibleForLoad (const Representation &other) const
 
bool IsCompatibleForStore (const Representation &other) const
 
bool MightCauseMapDeprecation () const
 
bool CanBeInPlaceChangedTo (const Representation &other) const
 
Representation MostGenericInPlaceChange () const
 
bool is_more_general_than (const Representation &other) const
 
bool fits_into (const Representation &other) const
 
Representation generalize (Representation other)
 
int size () const
 
constexpr Kind kind () const
 
constexpr bool IsNone () const
 
constexpr bool IsWasmValue () const
 
constexpr bool IsTagged () const
 
constexpr bool IsSmi () const
 
constexpr bool IsSmiOrTagged () const
 
constexpr bool IsDouble () const
 
constexpr bool IsHeapObject () const
 
const char * Mnemonic () const
 
bool operator== (const Representation &other) const
 

Static Public Member Functions

static constexpr Representation None ()
 
static constexpr Representation Tagged ()
 
static constexpr Representation Smi ()
 
static constexpr Representation Double ()
 
static constexpr Representation HeapObject ()
 
static constexpr Representation WasmValue ()
 
static constexpr Representation FromKind (Kind kind)
 

Private Member Functions

constexpr Representation (Kind k)
 

Private Attributes

int8_t kind_
 

Detailed Description

Definition at line 95 of file property-details.h.

Member Enumeration Documentation

◆ Kind

Enumerator
kNone 
kSmi 
kDouble 
kHeapObject 
kTagged 
kWasmValue 
kNumRepresentations 

Definition at line 97 of file property-details.h.

Constructor & Destructor Documentation

◆ Representation() [1/2]

v8::internal::Representation::Representation ( )
inlineconstexpr

Definition at line 110 of file property-details.h.

Here is the caller graph for this function:

◆ Representation() [2/2]

v8::internal::Representation::Representation ( Kind k)
inlineexplicitconstexprprivate

Definition at line 234 of file property-details.h.

Member Function Documentation

◆ CanBeInPlaceChangedTo()

bool v8::internal::Representation::CanBeInPlaceChangedTo ( const Representation & other) const
inline

Definition at line 157 of file property-details.h.

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

◆ Double()

static constexpr Representation v8::internal::Representation::Double ( )
inlinestaticconstexpr

Definition at line 115 of file property-details.h.

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

◆ Equals()

bool v8::internal::Representation::Equals ( const Representation & other) const
inline

Definition at line 127 of file property-details.h.

Here is the caller graph for this function:

◆ fits_into()

bool v8::internal::Representation::fits_into ( const Representation & other) const
inline

Definition at line 185 of file property-details.h.

Here is the caller graph for this function:

◆ FromKind()

static constexpr Representation v8::internal::Representation::FromKind ( Kind kind)
inlinestaticconstexpr

Definition at line 123 of file property-details.h.

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

◆ generalize()

Representation v8::internal::Representation::generalize ( Representation other)
inline

Definition at line 189 of file property-details.h.

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

◆ HeapObject()

static constexpr Representation v8::internal::Representation::HeapObject ( )
inlinestaticconstexpr

Definition at line 116 of file property-details.h.

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

◆ is_more_general_than()

bool v8::internal::Representation::is_more_general_than ( const Representation & other) const
inline

Definition at line 179 of file property-details.h.

Here is the call graph for this function:

◆ IsCompatibleForLoad()

bool v8::internal::Representation::IsCompatibleForLoad ( const Representation & other) const
inline

Definition at line 131 of file property-details.h.

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

◆ IsCompatibleForStore()

bool v8::internal::Representation::IsCompatibleForStore ( const Representation & other) const
inline

Definition at line 135 of file property-details.h.

Here is the call graph for this function:

◆ IsDouble()

bool v8::internal::Representation::IsDouble ( ) const
inlineconstexpr

Definition at line 208 of file property-details.h.

Here is the caller graph for this function:

◆ IsHeapObject()

bool v8::internal::Representation::IsHeapObject ( ) const
inlineconstexpr

Definition at line 209 of file property-details.h.

Here is the caller graph for this function:

◆ IsNone()

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

Definition at line 203 of file property-details.h.

Here is the caller graph for this function:

◆ IsSmi()

bool v8::internal::Representation::IsSmi ( ) const
inlineconstexpr

Definition at line 206 of file property-details.h.

Here is the caller graph for this function:

◆ IsSmiOrTagged()

bool v8::internal::Representation::IsSmiOrTagged ( ) const
inlineconstexpr

Definition at line 207 of file property-details.h.

Here is the call graph for this function:

◆ IsTagged()

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

Definition at line 205 of file property-details.h.

Here is the caller graph for this function:

◆ IsWasmValue()

bool v8::internal::Representation::IsWasmValue ( ) const
inlineconstexpr

Definition at line 204 of file property-details.h.

Here is the caller graph for this function:

◆ kind()

Kind v8::internal::Representation::kind ( ) const
inlineconstexpr

Definition at line 202 of file property-details.h.

Here is the caller graph for this function:

◆ MightCauseMapDeprecation()

bool v8::internal::Representation::MightCauseMapDeprecation ( ) const
inline

Definition at line 141 of file property-details.h.

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

◆ Mnemonic()

const char * v8::internal::Representation::Mnemonic ( ) const
inline

Definition at line 211 of file property-details.h.

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

◆ MostGenericInPlaceChange()

Representation v8::internal::Representation::MostGenericInPlaceChange ( ) const
inline

Definition at line 174 of file property-details.h.

Here is the call graph for this function:

◆ None()

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

Definition at line 112 of file property-details.h.

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

◆ operator==()

bool v8::internal::Representation::operator== ( const Representation & other) const
inline

Definition at line 229 of file property-details.h.

◆ size()

int v8::internal::Representation::size ( ) const
inline

Definition at line 195 of file property-details.h.

Here is the call graph for this function:

◆ Smi()

static constexpr Representation v8::internal::Representation::Smi ( )
inlinestaticconstexpr

Definition at line 114 of file property-details.h.

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

◆ Tagged()

static constexpr Representation v8::internal::Representation::Tagged ( )
inlinestaticconstexpr

Definition at line 113 of file property-details.h.

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

◆ WasmValue()

static constexpr Representation v8::internal::Representation::WasmValue ( )
inlinestaticconstexpr

Definition at line 119 of file property-details.h.

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

Member Data Documentation

◆ kind_

int8_t v8::internal::Representation::kind_
private

Definition at line 239 of file property-details.h.


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