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

#include <il.h>

Inheritance diagram for dart::LoadIndexedUnsafeInstr:
dart::TemplateDefinition< 1, NoThrow >

Public Member Functions

 LoadIndexedUnsafeInstr (Value *index, intptr_t offset, CompileType result_type, Representation representation=kTagged)
 
virtual Representation RequiredInputRepresentation (intptr_t index) const
 
virtual bool ComputeCanDeoptimize () const
 
virtual bool HasUnknownSideEffects () const
 
virtual bool AttributesEqual (const Instruction &other) const
 
virtual Representation representation () const
 
Valueindex () const
 
Register base_reg () const
 
intptr_t offset () const
 
- Public Member Functions inherited from dart::TemplateDefinition< 1, NoThrow >
 TemplateDefinition (intptr_t deopt_id=DeoptId::kNone)
 
 TemplateDefinition (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

- Public Types inherited from dart::TemplateDefinition< 1, NoThrow >
using BaseClass = typename NoCSE< Definition, PureDefinition >::Base
 
- Protected Attributes inherited from dart::TemplateDefinition< 1, NoThrow >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 3083 of file il.h.

Constructor & Destructor Documentation

◆ LoadIndexedUnsafeInstr()

dart::LoadIndexedUnsafeInstr::LoadIndexedUnsafeInstr ( Value index,
intptr_t  offset,
CompileType  result_type,
Representation  representation = kTagged 
)
inline

Definition at line 3085 of file il.h.

3089 : offset_(offset), representation_(representation) {
3090 UpdateType(result_type);
3091 SetInputAt(0, index);
3092 }
Value * index() const
Definition il.h:3109
intptr_t offset() const
Definition il.h:3111
virtual Representation representation() const
Definition il.h:3107

Member Function Documentation

◆ AttributesEqual()

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

Definition at line 3103 of file il.h.

3103 {
3104 return other.AsLoadIndexedUnsafe()->offset() == offset();
3105 }

◆ base_reg()

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

Definition at line 3110 of file il.h.

3110{ return FPREG; }
const Register FPREG

◆ ComputeCanDeoptimize()

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

Definition at line 3100 of file il.h.

3100{ return false; }

◆ HasUnknownSideEffects()

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

Definition at line 3101 of file il.h.

3101{ return false; }

◆ index()

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

Definition at line 3109 of file il.h.

3109{ return InputAt(0); }
virtual Value * InputAt(intptr_t i) const
Definition il.h:2738

◆ offset()

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

Definition at line 3111 of file il.h.

3111{ return offset_; }

◆ representation()

virtual Representation dart::LoadIndexedUnsafeInstr::representation ( ) const
inlinevirtual

Definition at line 3107 of file il.h.

3107{ return representation_; }

◆ RequiredInputRepresentation()

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

Definition at line 3096 of file il.h.

3096 {
3097 ASSERT(index == 0);
3098 return kTagged;
3099 }
#define ASSERT(E)

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