Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
dart::StoreIndexedUnsafeInstr Class Reference

#include <il.h>

Inheritance diagram for dart::StoreIndexedUnsafeInstr:
dart::TemplateInstruction< 2, NoThrow >

Public Types

enum  { kIndexPos = 0 , kValuePos = 1 }
 
- Public Types inherited from dart::TemplateInstruction< 2, NoThrow >
using BaseClass = typename NoCSE< Instruction, PureInstruction >::Base
 

Public Member Functions

 StoreIndexedUnsafeInstr (Value *index, Value *value, intptr_t offset)
 
virtual Representation RequiredInputRepresentation (intptr_t index) const
 
virtual bool ComputeCanDeoptimize () const
 
virtual bool HasUnknownSideEffects () const
 
virtual bool MayHaveVisibleEffect () const
 
virtual bool AttributesEqual (const Instruction &other) const
 
Valueindex () const
 
Valuevalue () const
 
Register base_reg () const
 
intptr_t offset () const
 
- Public Member Functions inherited from dart::TemplateInstruction< 2, NoThrow >
 TemplateInstruction (intptr_t deopt_id=DeoptId::kNone)
 
 TemplateInstruction (const InstructionSource &source, intptr_t deopt_id=DeoptId::kNone)
 
virtual intptr_t InputCount () const
 
virtual ValueInputAt (intptr_t i) const
 
virtual bool MayThrow () const
 

Additional Inherited Members

- Protected Attributes inherited from dart::TemplateInstruction< 2, NoThrow >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 3029 of file il.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kIndexPos 
kValuePos 

Definition at line 3037 of file il.h.

Constructor & Destructor Documentation

◆ StoreIndexedUnsafeInstr()

dart::StoreIndexedUnsafeInstr::StoreIndexedUnsafeInstr ( Value index,
Value value,
intptr_t  offset 
)
inline

Definition at line 3031 of file il.h.

3032 : offset_(offset) {
3033 SetInputAt(kIndexPos, index);
3034 SetInputAt(kValuePos, value);
3035 }
intptr_t offset() const
Definition il.h:3056
Value * value() const
Definition il.h:3054
Value * index() const
Definition il.h:3053

Member Function Documentation

◆ AttributesEqual()

virtual bool dart::StoreIndexedUnsafeInstr::AttributesEqual ( const Instruction other) const
inlinevirtual

Definition at line 3049 of file il.h.

3049 {
3050 return other.AsStoreIndexedUnsafe()->offset() == offset();
3051 }

◆ base_reg()

Register dart::StoreIndexedUnsafeInstr::base_reg ( ) const
inline

Definition at line 3055 of file il.h.

3055{ return FPREG; }
const Register FPREG

◆ ComputeCanDeoptimize()

virtual bool dart::StoreIndexedUnsafeInstr::ComputeCanDeoptimize ( ) const
inlinevirtual

Definition at line 3045 of file il.h.

3045{ return false; }

◆ HasUnknownSideEffects()

virtual bool dart::StoreIndexedUnsafeInstr::HasUnknownSideEffects ( ) const
inlinevirtual

Definition at line 3046 of file il.h.

3046{ return false; }

◆ index()

Value * dart::StoreIndexedUnsafeInstr::index ( ) const
inline

Definition at line 3053 of file il.h.

3053{ return inputs_[kIndexPos]; }
EmbeddedArray< Value *, N > inputs_
Definition il.h:1516

◆ MayHaveVisibleEffect()

virtual bool dart::StoreIndexedUnsafeInstr::MayHaveVisibleEffect ( ) const
inlinevirtual

Definition at line 3047 of file il.h.

3047{ return true; }

◆ offset()

intptr_t dart::StoreIndexedUnsafeInstr::offset ( ) const
inline

Definition at line 3056 of file il.h.

3056{ return offset_; }

◆ RequiredInputRepresentation()

virtual Representation dart::StoreIndexedUnsafeInstr::RequiredInputRepresentation ( intptr_t  index) const
inlinevirtual

Definition at line 3041 of file il.h.

3041 {
3043 return kTagged;
3044 }
#define ASSERT(E)

◆ value()

Value * dart::StoreIndexedUnsafeInstr::value ( ) const
inline

Definition at line 3054 of file il.h.

3054{ return inputs_[kValuePos]; }

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