v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HStoreKeyedFastElement Class Reference

#include <hydrogen-instructions.h>

Inheritance diagram for HStoreKeyedFastElement:
Collaboration diagram for HStoreKeyedFastElement:

Public Member Functions

 HStoreKeyedFastElement (HValue *obj, HValue *key, HValue *val, ElementsKind elements_kind=FAST_ELEMENTS)
 
virtual Representation RequiredInputRepresentation (int index)
 
HValueobject ()
 
HValuekey ()
 
HValuevalue ()
 
bool value_is_smi ()
 
uint32_t index_offset ()
 
void SetIndexOffset (uint32_t index_offset)
 
HValueGetKey ()
 
void SetKey (HValue *key)
 
bool IsDehoisted ()
 
void SetDehoisted (bool is_dehoisted)
 
bool NeedsWriteBarrier ()
 
virtual void PrintDataTo (StringStream *stream)
 
- Public Member Functions inherited from HTemplateInstruction< 3 >
int OperandCount ()
 
HValueOperandAt (int i) const
 
- Public Member Functions inherited from HInstruction
HInstructionnext () const
 
HInstructionprevious () const
 
virtual void PrintTo (StringStream *stream)
 
bool IsLinked () const
 
void Unlink ()
 
void InsertBefore (HInstruction *next)
 
void InsertAfter (HInstruction *previous)
 
int position () const
 
bool has_position () const
 
void set_position (int position)
 
bool CanTruncateToInt32 () const
 
virtual LInstructionCompileToLithium (LChunkBuilder *builder)=0
 
virtual bool IsCall ()
 
- Public Member Functions inherited from HValue
 STATIC_ASSERT (kLastFlag< kBitsPerInt)
 
virtual Opcode opcode () const =0
 
bool IsPhi () const
 
 HValue ()
 
virtual ~HValue ()
 
HBasicBlockblock () const
 
void SetBlock (HBasicBlock *block)
 
int LoopWeight () const
 
int id () const
 
void set_id (int id)
 
HUseIterator uses () const
 
virtual bool EmitAtUses ()
 
Representation representation () const
 
void ChangeRepresentation (Representation r)
 
void AssumeRepresentation (Representation r)
 
virtual bool IsConvertibleToInteger () const
 
HType type () const
 
void set_type (HType new_type)
 
virtual HValueEnsureAndPropagateNotMinusZero (BitVector *visited)
 
bool IsDefinedAfter (HBasicBlock *other) const
 
void SetOperandAt (int index, HValue *value)
 
void DeleteAndReplaceWith (HValue *other)
 
void ReplaceAllUsesWith (HValue *other)
 
bool HasNoUses () const
 
bool HasMultipleUses () const
 
int UseCount () const
 
void Kill ()
 
int flags () const
 
void SetFlag (Flag f)
 
void ClearFlag (Flag f)
 
bool CheckFlag (Flag f) const
 
bool CheckUsesForFlag (Flag f)
 
GVNFlagSet gvn_flags () const
 
void SetGVNFlag (GVNFlag f)
 
void ClearGVNFlag (GVNFlag f)
 
bool CheckGVNFlag (GVNFlag f) const
 
void SetAllSideEffects ()
 
void ClearAllSideEffects ()
 
bool HasSideEffects () const
 
bool HasObservableSideEffects () const
 
GVNFlagSet DependsOnFlags () const
 
GVNFlagSet SideEffectFlags () const
 
GVNFlagSet ChangesFlags () const
 
GVNFlagSet ObservableChangesFlags () const
 
Rangerange () const
 
bool HasRange () const
 
void AddNewRange (Range *r, Zone *zone)
 
void RemoveLastAddedRange ()
 
void ComputeInitialRange (Zone *zone)
 
virtual Representation InferredRepresentation ()
 
virtual Representation ObservedInputRepresentation (int index)
 
virtual HValueCanonicalize ()
 
bool Equals (HValue *other)
 
virtual intptr_t Hashcode ()
 
void PrintNameTo (StringStream *stream)
 
void PrintTypeTo (StringStream *stream)
 
void PrintRangeTo (StringStream *stream)
 
void PrintChangesTo (StringStream *stream)
 
const char * Mnemonic () const
 
bool UpdateInferredType ()
 
virtual HType CalculateInferredType ()
 
virtual void SetSideEffectDominator (GVNFlag side_effect, HValue *dominator)
 
bool IsDead () const
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 
- Public Member Functions inherited from ArrayInstructionInterface
virtual ~ArrayInstructionInterface ()
 

Additional Inherited Members

- Public Types inherited from HValue
enum  Flag {
  kFlexibleRepresentation, kUseGVN, kTrackSideEffectDominators, kCanOverflow,
  kBailoutOnMinusZero, kCanBeDivByZero, kDeoptimizeOnUndefined, kIsArguments,
  kTruncatingToInt32, kIsDead, kUint32, kLastFlag = kUint32
}
 
enum  Opcode { kPhi }
 
- Static Public Member Functions inherited from HValue
static GVNFlag ChangesFlagFromInt (int x)
 
static GVNFlag DependsOnFlagFromInt (int x)
 
static GVNFlagSet ConvertChangesToDependsFlags (GVNFlagSet flags)
 
static HValuecast (HValue *value)
 
- Static Public Attributes inherited from HValue
static const int kNoNumber = -1
 
static const int kChangesToDependsFlagsLeftShift = 1
 
- Protected Member Functions inherited from HTemplateInstruction< 3 >
void InternalSetOperandAt (int i, HValue *value)
 
- Protected Member Functions inherited from HInstruction
 HInstruction ()
 
virtual void DeleteFromGraph ()
 
- Protected Member Functions inherited from HValue
virtual bool DataEquals (HValue *other)
 
virtual void RepresentationChanged (Representation to)
 
virtual RangeInferRange (Zone *zone)
 
void clear_block ()
 
void set_representation (Representation r)
 
HUseListNodeRemoveUse (HValue *value, int index)
 
void RegisterUse (int index, HValue *new_value)
 
- Static Protected Member Functions inherited from HValue
static GVNFlagSet AllDependsOnFlagSet ()
 
static GVNFlagSet AllChangesFlagSet ()
 
static GVNFlagSet AllSideEffectsFlagSet ()
 
static GVNFlagSet AllObservableSideEffectsFlagSet ()
 
- Protected Attributes inherited from HValue
HBasicBlockblock_
 
int id_
 
Representation representation_
 
HType type_
 
HUseListNodeuse_list_
 
Rangerange_
 
int flags_
 
GVNFlagSet gvn_flags_
 

Detailed Description

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

Constructor & Destructor Documentation

HStoreKeyedFastElement ( HValue obj,
HValue key,
HValue val,
ElementsKind  elements_kind = FAST_ELEMENTS 
)
inline

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

References HValue::SetGVNFlag(), and HValue::SetOperandAt().

Member Function Documentation

HValue* GetKey ( )
inlinevirtual

Implements ArrayInstructionInterface.

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

uint32_t index_offset ( )
inline

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

bool IsDehoisted ( )
inlinevirtual

Implements ArrayInstructionInterface.

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

bool NeedsWriteBarrier ( )
inline
HValue* object ( )
inline
virtual Representation RequiredInputRepresentation ( int  index)
inlinevirtual

Implements HValue.

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

References Representation::Integer32(), and Representation::Tagged().

void SetDehoisted ( bool  is_dehoisted)
inlinevirtual

Implements ArrayInstructionInterface.

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

void SetIndexOffset ( uint32_t  index_offset)
inlinevirtual

Implements ArrayInstructionInterface.

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

void SetKey ( HValue key)
inlinevirtual

Implements ArrayInstructionInterface.

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

References HValue::SetOperandAt().

HValue* value ( )
inline
bool value_is_smi ( )
inline

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

References v8::internal::IsFastSmiElementsKind().


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