V8 Project
v8::internal::Representation Class Reference

#include <property-details.h>

+ Collaboration diagram for v8::internal::Representation:

Public Types

enum  Kind {
  kNone , kInteger8 , kUInteger8 , kInteger16 ,
  kUInteger16 , kSmi , kInteger32 , kDouble ,
  kHeapObject , kTagged , kExternal , kNumRepresentations
}
 

Public Member Functions

 Representation ()
 
bool Equals (const Representation &other) const
 
bool IsCompatibleForLoad (const Representation &other) const
 
bool IsCompatibleForStore (const Representation &other) const
 
bool is_more_general_than (const Representation &other) const
 
bool fits_into (const Representation &other) const
 
Representation generalize (Representation other)
 
int size () const
 
Kind kind () const
 
bool IsNone () const
 
bool IsInteger8 () const
 
bool IsUInteger8 () const
 
bool IsInteger16 () const
 
bool IsUInteger16 () const
 
bool IsTagged () const
 
bool IsSmi () const
 
bool IsSmiOrTagged () const
 
bool IsInteger32 () const
 
bool IsSmiOrInteger32 () const
 
bool IsDouble () const
 
bool IsHeapObject () const
 
bool IsExternal () const
 
bool IsSpecialization () const
 
const char * Mnemonic () const
 

Static Public Member Functions

static Representation None ()
 
static Representation Tagged ()
 
static Representation Integer8 ()
 
static Representation UInteger8 ()
 
static Representation Integer16 ()
 
static Representation UInteger16 ()
 
static Representation Smi ()
 
static Representation Integer32 ()
 
static Representation Double ()
 
static Representation HeapObject ()
 
static Representation External ()
 
static Representation FromKind (Kind kind)
 
static Representation FromType (Type *type)
 

Private Member Functions

 Representation (Kind k)
 
 STATIC_ASSERT (kNumRepresentations<=(1<< kBitsPerByte))
 

Private Attributes

int8_t kind_
 

Detailed Description

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

Member Enumeration Documentation

◆ Kind

Constructor & Destructor Documentation

◆ Representation() [1/2]

v8::internal::Representation::Representation ( )
inline

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

Referenced by Double(), External(), FromKind(), HeapObject(), Integer16(), Integer32(), Integer8(), None(), Smi(), Tagged(), UInteger16(), and UInteger8().

+ Here is the caller graph for this function:

◆ Representation() [2/2]

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

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

164 : kind_(k) { }

Member Function Documentation

◆ Double()

static Representation v8::internal::Representation::Double ( )
inlinestatic

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

References kDouble, and Representation().

Referenced by v8::internal::HOptimizedGraphBuilder::BuildArrayIndexOf(), v8::internal::CodeStubGraphBuilderBase::BuildLoadNamedField(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForHeapNumberValue(), FromType(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HConstructDouble(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadKeyed(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HPower(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HUnaryMathOperation(), v8::internal::HValue::KnownOptimalRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::KnownOptimalRepresentation(), v8::internal::Object::OptimalRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RepresentationFromInputs(), v8::internal::HValue::RepresentationFromUses(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredInputRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredValueRepresentation(), v8::internal::HInferRepresentationPhase::Run(), and v8::internal::RUNTIME_FUNCTION().

+ 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 92 of file property-details.h.

92  {
93  return kind_ == other.kind_;
94  }

References kind_.

Referenced by v8::internal::HValue::Equals(), fits_into(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HChange(), v8::internal::HRepresentationChangesPhase::InsertRepresentationChangesForValue(), IsCompatibleForStore(), v8::internal::JSObject::PrintInstanceMigration(), v8::internal::HValue::RepresentationFromUseRequirements(), and v8::internal::HRangeAnalysisPhase::Run().

+ Here is the caller graph for this function:

◆ External()

static Representation v8::internal::Representation::External ( )
inlinestatic

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

86 { return Representation(kExternal); }

References kExternal, and Representation().

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForExternalArrayExternalPointer(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForJSArrayBufferBackingStore(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::KnownOptimalRepresentation(), and v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredInputRepresentation().

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

◆ fits_into()

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

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

118  {
119  return other.is_more_general_than(*this) || other.Equals(*this);
120  }

References Equals(), and is_more_general_than().

Referenced by generalize(), and v8::internal::Map::GeneralizeRepresentation().

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

◆ FromKind()

static Representation v8::internal::Representation::FromKind ( Kind  kind)
inlinestatic

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

88 { return Representation(kind); }

References kind(), and Representation().

Referenced by v8::internal::BASE_EMBEDDED< Visitor >::DecodeRepresentation(), v8::internal::StoreGlobalStub::representation(), and v8::internal::FINAL< kOperandKind, kNumCachedOperands >::representation().

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

◆ FromType()

Representation v8::internal::Representation::FromType ( Type type)
static

Definition at line 16 of file property-details-inl.h.

16  {
17  DisallowHeapAllocation no_allocation;
18  if (type->Is(Type::None())) return Representation::None();
19  if (type->Is(Type::SignedSmall())) return Representation::Smi();
20  if (type->Is(Type::Signed32())) return Representation::Integer32();
21  if (type->Is(Type::Number())) return Representation::Double();
22  return Representation::Tagged();
23 }
static Representation Double()
static Representation Smi()
static Representation Integer32()
static Representation Tagged()
static Representation None()
PerThreadAssertScopeDebugOnly< HEAP_ALLOCATION_ASSERT, false > DisallowHeapAllocation
Definition: assert-scope.h:110
@ None
Definition: v8.h:2211

References Double(), Integer32(), v8::internal::TypeImpl< Config >::Is(), v8::None, None(), Smi(), and Tagged().

Referenced by v8::internal::HGraphBuilder::BuildBinaryOperation(), v8::internal::HOptimizedGraphBuilder::BuildCompareInstruction(), and v8::internal::HOptimizedGraphBuilder::BuildIncrement().

+ 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 122 of file property-details.h.

122  {
123  if (other.fits_into(*this)) return *this;
124  if (other.is_more_general_than(*this)) return other;
125  return Representation::Tagged();
126  }

References fits_into(), is_more_general_than(), and Tagged().

Referenced by v8::internal::Map::GeneralizeRepresentation(), v8::internal::HCompareNumericAndBranch::InferRepresentation(), v8::internal::HBinaryOperation::RepresentationFromInputs(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RepresentationFromInputs(), and v8::internal::HValue::RepresentationFromUseRequirements().

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

◆ HeapObject()

static Representation v8::internal::Representation::HeapObject ( )
inlinestatic

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

85 { return Representation(kHeapObject); }

References kHeapObject, and Representation().

Referenced by v8::internal::Object::OptimalRepresentation().

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

◆ Integer16()

static Representation v8::internal::Representation::Integer16 ( )
inlinestatic

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

80 { return Representation(kInteger16); }

References kInteger16, and Representation().

+ Here is the call graph for this function:

◆ Integer32()

static Representation v8::internal::Representation::Integer32 ( )
inlinestatic

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

83 { return Representation(kInteger32); }

References kInteger32, and Representation().

Referenced by v8::internal::HGraphBuilder::EnforceNumberType(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForCounter(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForHeapNumberValueHighestBits(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForHeapNumberValueLowestBits(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapAsInteger32(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForNameHashField(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForStringHashField(), FromType(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HArgumentsLength(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HClampToUint8(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HDoubleBits(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadKeyed(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedField(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HMathFloorOfDiv(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HRor(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HSeqStringGetChar(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HStringCharCodeAt(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HUnaryMathOperation(), v8::internal::HValue::InferRepresentation(), v8::internal::HBitwiseBinaryOperation::initialize_output_representation(), v8::internal::ArrayInstructionInterface::KeyedAccessIndexRequirement(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::KnownOptimalRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::NewImul(), v8::internal::HBitwiseBinaryOperation::observed_input_representation(), v8::internal::HValue::RepresentationFromUses(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredInputRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredValueRepresentation(), v8::internal::LCodeGen::ToInteger32(), v8::internal::HBinaryOperation::UpdateRepresentation(), v8::internal::HBitwiseBinaryOperation::UpdateRepresentation(), and v8::internal::FINAL< kOperandKind, kNumCachedOperands >::UpdateRepresentation().

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

◆ Integer8()

static Representation v8::internal::Representation::Integer8 ( )
inlinestatic

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

78 { return Representation(kInteger8); }

References kInteger8, and Representation().

+ Here is the call graph for this function:

◆ is_more_general_than()

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

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

105  {
106  if (kind_ == kExternal && other.kind_ == kNone) return true;
107  if (kind_ == kExternal && other.kind_ == kExternal) return false;
108  if (kind_ == kNone && other.kind_ == kExternal) return false;
109 
110  DCHECK(kind_ != kExternal);
111  DCHECK(other.kind_ != kExternal);
112  if (IsHeapObject()) return other.IsNone();
113  if (kind_ == kUInteger8 && other.kind_ == kInteger8) return false;
114  if (kind_ == kUInteger16 && other.kind_ == kInteger16) return false;
115  return kind_ > other.kind_;
116  }
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, IsHeapObject(), IsNone(), kExternal, kind_, kInteger16, kInteger8, kNone, kUInteger16, and kUInteger8.

Referenced by fits_into(), generalize(), and v8::internal::HValue::UpdateRepresentation().

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

◆ IsCompatibleForLoad()

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

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

96  {
97  return (IsDouble() && other.IsDouble()) ||
98  (!IsDouble() && !other.IsDouble());
99  }

References IsDouble().

+ Here is the call graph for this function:

◆ IsCompatibleForStore()

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

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

101  {
102  return Equals(other);
103  }
bool Equals(const Representation &other) const

References Equals().

+ Here is the call graph for this function:

◆ IsDouble()

◆ IsExternal()

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

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

155 { return kind_ == kExternal; }

References kExternal, and kind_.

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedField().

+ Here is the caller graph for this function:

◆ IsHeapObject()

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

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

154 { return kind_ == kHeapObject; }

References kHeapObject, and kind_.

Referenced by v8::internal::CodeStubGraphBuilderBase::BuildStoreNamedField(), v8::internal::Object::FitsRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedField(), is_more_general_than(), and v8::internal::Object::OptimalType().

+ Here is the caller graph for this function:

◆ IsInteger16()

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

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

146 { return kind_ == kInteger16; }

References kind_, and kInteger16.

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedField(), IsSpecialization(), and size().

+ Here is the caller graph for this function:

◆ IsInteger32()

◆ IsInteger8()

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

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

144 { return kind_ == kInteger8; }

References kind_, and kInteger8.

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedField(), IsSpecialization(), and size().

+ Here is the caller graph for this function:

◆ IsNone()

◆ IsSmi()

◆ IsSmiOrInteger32()

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

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

152 { return IsSmi() || IsInteger32(); }

References IsInteger32(), and IsSmi().

Referenced by v8::internal::DehoistArrayIndex(), v8::internal::HRangeAnalysisPhase::InferControlFlowRange(), v8::internal::HCompareNumericAndBranch::InferRepresentation(), v8::internal::HEscapeAnalysisPhase::NewLoadReplacement(), v8::internal::HRangeAnalysisPhase::Run(), v8::internal::HRepresentationChangesPhase::Run(), and v8::internal::HValue::ToStringOrToNumberCanBeObserved().

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

◆ IsSmiOrTagged()

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

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

150 { return IsSmi() || IsTagged(); }

References IsSmi(), and IsTagged().

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::AddValue(), v8::internal::LCodeGen::EmitLoadRegister(), v8::internal::LCodeGen::ToRepresentation(), and v8::internal::LCodeGen::ToRepresentation_donotuse().

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

◆ IsSpecialization()

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

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

156  {
157  return IsInteger8() || IsUInteger8() ||
158  IsInteger16() || IsUInteger16() ||
159  IsSmi() || IsInteger32() || IsDouble();
160  }

References IsDouble(), IsInteger16(), IsInteger32(), IsInteger8(), IsSmi(), IsUInteger16(), and IsUInteger8().

Referenced by v8::internal::IsIdentityOperation().

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

◆ IsTagged()

◆ IsUInteger16()

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

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

147 { return kind_ == kUInteger16; }

References kind_, and kUInteger16.

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedField(), IsSpecialization(), and size().

+ Here is the caller graph for this function:

◆ IsUInteger8()

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

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

145 { return kind_ == kUInteger8; }

References kind_, and kUInteger8.

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedField(), IsSpecialization(), and size().

+ Here is the caller graph for this function:

◆ kind()

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

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

142 { return static_cast<Kind>(kind_); }

References kind_.

Referenced by v8::internal::BASE_EMBEDDED< Visitor >::EncodeRepresentation(), FromKind(), v8::internal::HValue::RepresentationFromUses(), and v8::internal::StoreGlobalStub::set_representation().

+ Here is the caller graph for this function:

◆ Mnemonic()

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

Definition at line 1828 of file objects.cc.

1828  {
1829  switch (kind_) {
1830  case kNone: return "v";
1831  case kTagged: return "t";
1832  case kSmi: return "s";
1833  case kDouble: return "d";
1834  case kInteger32: return "i";
1835  case kHeapObject: return "h";
1836  case kExternal: return "x";
1837  default:
1838  UNREACHABLE();
1839  return NULL;
1840  }
1841 }
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
#define UNREACHABLE()
Definition: logging.h:30

Referenced by v8::internal::operator<<(), v8::internal::Map::PrintGeneralization(), v8::internal::JSObject::PrintInstanceMigration(), v8::internal::HValue::RepresentationFromUses(), and v8::internal::HValue::UpdateRepresentation().

+ Here is the caller graph for this function:

◆ None()

◆ size()

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

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

128  {
129  DCHECK(!IsNone());
130  if (IsInteger8() || IsUInteger8()) {
131  return sizeof(uint8_t);
132  }
133  if (IsInteger16() || IsUInteger16()) {
134  return sizeof(uint16_t);
135  }
136  if (IsInteger32()) {
137  return sizeof(uint32_t);
138  }
139  return kPointerSize;
140  }
unsigned short uint16_t
Definition: unicode.cc:23
const int kPointerSize
Definition: globals.h:129

References DCHECK, IsInteger16(), IsInteger32(), IsInteger8(), IsNone(), IsUInteger16(), IsUInteger8(), and v8::internal::kPointerSize.

+ Here is the call graph for this function:

◆ Smi()

static Representation v8::internal::Representation::Smi ( )
inlinestatic

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

82 { return Representation(kSmi); }

References kSmi, and Representation().

Referenced by v8::internal::HOptimizedGraphBuilder::BuildAllocateExternalElements(), v8::internal::HOptimizedGraphBuilder::BuildAllocateFixedTypedArray(), v8::internal::HOptimizedGraphBuilder::BuildArrayIndexOf(), v8::internal::CodeStubGraphBuilder< Stub >::BuildCodeStub(), v8::internal::HOptimizedGraphBuilder::BuildIncrement(), v8::internal::HGraphBuilder::EnforceNumberType(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForArrayLength(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForFixedArrayLength(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForStringLength(), FromType(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCheckSmi(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadKeyed(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HMapEnumLength(), v8::internal::ArrayInstructionInterface::KeyedAccessIndexRequirement(), v8::internal::HValue::KnownOptimalRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::KnownOptimalRepresentation(), v8::internal::Object::OptimalRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RepresentationFromInputs(), v8::internal::HValue::RepresentationFromUses(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredInputRepresentation(), and v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredValueRepresentation().

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

◆ STATIC_ASSERT()

v8::internal::Representation::STATIC_ASSERT ( kNumRepresentations<=  1<< kBitsPerByte)
private

◆ Tagged()

static Representation v8::internal::Representation::Tagged ( )
inlinestatic

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

77 { return Representation(kTagged); }

References kTagged, and Representation().

Referenced by v8::internal::CodeStubGraphBuilder< Stub >::BuildCodeStub(), v8::internal::CodeStubGraphBuilderBase::BuildLoadNamedField(), v8::internal::HOptimizedGraphBuilder::BuildLoadNamedField(), v8::internal::CodeStubGraphBuilderBase::BuildStoreNamedField(), v8::internal::HOptimizedGraphBuilder::BuildStoreNamedField(), v8::internal::Map::CopyGeneralizeAllRepresentations(), v8::internal::Map::CopyReplaceDescriptors(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::CreateAndInsertAfter(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::CreateAndInsertBefore(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForAllocationSiteList(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForArrayLength(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForJSArrayBufferByteLength(), FromType(), generalize(), v8::internal::Map::GeneralizeAllFieldRepresentations(), v8::internal::JSObject::GetHiddenPropertiesHashTable(), v8::internal::HStringCompareAndBranch::GetInputRepresentation(), v8::internal::CallInterfaceDescriptor::GetParameterRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HAccessArgumentsAt(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HAllocate(), v8::internal::HAllocateBlockContext::HAllocateBlockContext(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HApplyArguments(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HArgumentsElements(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HArgumentsObject(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCallWithDescriptor(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCapturedObject(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCheckHeapObject(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCheckInstanceType(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCheckMaps(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCheckMapValue(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCheckValue(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCompareGeneric(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HCompareMap(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HContext(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HDateField(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HDeclareGlobals(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HDummyUse(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HForInCacheArray(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HForInPrepareMap(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HFunctionLiteral(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HGetCachedArrayIndex(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HInnerAllocatedObject(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HInstanceOf(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HInstanceOfKnownGlobal(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HIsSmiAndBranch(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadContextSlot(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadFieldByIndex(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadFunctionPrototype(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadGlobalCell(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadGlobalGeneric(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadKeyed(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadKeyedGeneric(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedField(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HLoadNamedGeneric(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HParameter(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HPushArguments(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HSeqStringSetChar(), v8::internal::HStoreFrameContext::HStoreFrameContext(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HStringAdd(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HStringCharFromCode(), v8::internal::HStringCompareAndBranch::HStringCompareAndBranch(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HThisFunction(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HToFastProperties(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HTransitionElementsKind(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HTypeof(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HUnknownOSRValue(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::HWrapReceiver(), v8::internal::CallInterfaceDescriptorData::Initialize(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::KnownOptimalRepresentation(), v8::internal::JSObject::MigrateSlowToFast(), v8::internal::HBinaryOperation::observed_input_representation(), v8::internal::HCompareObjectEqAndBranch::observed_input_representation(), v8::internal::Object::OptimalRepresentation(), v8::internal::HValue::RepresentationFromUses(), v8::internal::HStoreFrameContext::RequiredInputRepresentation(), v8::internal::HAllocateBlockContext::RequiredInputRepresentation(), v8::internal::HUnaryCall::RequiredInputRepresentation(), v8::internal::HBinaryCall::RequiredInputRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredInputRepresentation(), v8::internal::HBinaryOperation::RequiredInputRepresentation(), v8::internal::HCompareObjectEqAndBranch::RequiredInputRepresentation(), v8::internal::HStringCompareAndBranch::RequiredInputRepresentation(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::RequiredValueRepresentation(), and v8::internal::HInferRepresentationPhase::Run().

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

◆ UInteger16()

static Representation v8::internal::Representation::UInteger16 ( )
inlinestatic

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

81 { return Representation(kUInteger16); }

References kUInteger16, and Representation().

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceTypeAndBitField().

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

◆ UInteger8()

static Representation v8::internal::Representation::UInteger8 ( )
inlinestatic

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

79 { return Representation(kUInteger8); }

References kUInteger8, and Representation().

Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForExternalUInteger8(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapBitField(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapBitField2(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInObjectProperties(), v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceSize(), and v8::internal::FINAL< kOperandKind, kNumCachedOperands >::ForMapInstanceType().

+ 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

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