V8 Project
v8::internal::ArrayInstructionInterface Class Referenceabstract

#include <hydrogen-instructions.h>

+ Inheritance diagram for v8::internal::ArrayInstructionInterface:
+ Collaboration diagram for v8::internal::ArrayInstructionInterface:

Public Member Functions

virtual HValueGetKey ()=0
 
virtual void SetKey (HValue *key)=0
 
virtual ElementsKind elements_kind () const =0
 
virtual bool TryIncreaseBaseOffset (uint32_t increase_by_value)=0
 
virtual bool IsDehoisted () const =0
 
virtual void SetDehoisted (bool is_dehoisted)=0
 
virtual ~ArrayInstructionInterface ()
 

Static Public Member Functions

static Representation KeyedAccessIndexRequirement (Representation r)
 

Detailed Description

Definition at line 6538 of file hydrogen-instructions.h.

Constructor & Destructor Documentation

◆ ~ArrayInstructionInterface()

virtual v8::internal::ArrayInstructionInterface::~ArrayInstructionInterface ( )
inlinevirtual

Definition at line 6547 of file hydrogen-instructions.h.

6547 { }

Member Function Documentation

◆ elements_kind()

◆ GetKey()

virtual HValue* v8::internal::ArrayInstructionInterface::GetKey ( )
pure virtual

Implemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.

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

+ Here is the caller graph for this function:

◆ IsDehoisted()

virtual bool v8::internal::ArrayInstructionInterface::IsDehoisted ( ) const
pure virtual

◆ KeyedAccessIndexRequirement()

static Representation v8::internal::ArrayInstructionInterface::KeyedAccessIndexRequirement ( Representation  r)
inlinestatic

Definition at line 6549 of file hydrogen-instructions.h.

6549  {
6550  return r.IsInteger32() || SmiValuesAre32Bits()
6551  ? Representation::Integer32() : Representation::Smi();
6552  }
static Representation Integer32()
static bool SmiValuesAre32Bits()
Definition: v8.h:5808

References v8::internal::Representation::Integer32(), v8::internal::Representation::IsInteger32(), v8::internal::Representation::Smi(), and v8::internal::SmiValuesAre32Bits().

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

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

◆ SetDehoisted()

virtual void v8::internal::ArrayInstructionInterface::SetDehoisted ( bool  is_dehoisted)
pure virtual

Implemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.

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

+ Here is the caller graph for this function:

◆ SetKey()

virtual void v8::internal::ArrayInstructionInterface::SetKey ( HValue key)
pure virtual

Implemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.

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

+ Here is the caller graph for this function:

◆ TryIncreaseBaseOffset()

virtual bool v8::internal::ArrayInstructionInterface::TryIncreaseBaseOffset ( uint32_t  increase_by_value)
pure virtual

Implemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.

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

+ Here is the caller graph for this function:

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