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

#include <il.h>

Inheritance diagram for dart::HashIntegerOpInstr:
dart::TemplateDefinition< 1, NoThrow, Pure >

Public Member Functions

 HashIntegerOpInstr (Value *value, bool smi, intptr_t deopt_id)
 
Valuevalue () const
 
virtual intptr_t DeoptimizationTarget () const
 
virtual Representation representation () const
 
virtual Representation RequiredInputRepresentation (intptr_t idx) const
 
virtual bool ComputeCanDeoptimize () const
 
virtual CompileType ComputeType () const
 
virtual bool AttributesEqual (const Instruction &other) const
 
- Public Member Functions inherited from dart::TemplateDefinition< 1, NoThrow, Pure >
 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
 

Static Public Member Functions

static HashIntegerOpInstrCreate (Value *value, bool smi, intptr_t deopt_id)
 

Additional Inherited Members

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

Detailed Description

Definition at line 9130 of file il.h.

Constructor & Destructor Documentation

◆ HashIntegerOpInstr()

dart::HashIntegerOpInstr::HashIntegerOpInstr ( Value value,
bool  smi,
intptr_t  deopt_id 
)
inline

Definition at line 9132 of file il.h.

9133 : TemplateDefinition(deopt_id), smi_(smi) {
9134 SetInputAt(0, value);
9135 }
Value * value() const
Definition il.h:9141
TemplateDefinition(intptr_t deopt_id=DeoptId::kNone)
Definition il.h:2731

Member Function Documentation

◆ AttributesEqual()

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

Definition at line 9162 of file il.h.

9162{ return true; }

◆ ComputeCanDeoptimize()

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

Definition at line 9158 of file il.h.

9158{ return false; }

◆ ComputeType()

virtual CompileType dart::HashIntegerOpInstr::ComputeType ( ) const
inlinevirtual

Definition at line 9160 of file il.h.

9160{ return CompileType::Smi(); }
static CompileType Smi()

◆ Create()

static HashIntegerOpInstr * dart::HashIntegerOpInstr::Create ( Value value,
bool  smi,
intptr_t  deopt_id 
)
inlinestatic

Definition at line 9137 of file il.h.

9137 {
9138 return new HashIntegerOpInstr(value, smi, deopt_id);
9139 }
HashIntegerOpInstr(Value *value, bool smi, intptr_t deopt_id)
Definition il.h:9132

◆ DeoptimizationTarget()

virtual intptr_t dart::HashIntegerOpInstr::DeoptimizationTarget ( ) const
inlinevirtual

Definition at line 9143 of file il.h.

9143 {
9144 // Direct access since this instruction cannot deoptimize, and the deopt-id
9145 // was inherited from another instruction that could deoptimize.
9146 return GetDeoptId();
9147 }

◆ representation()

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

Definition at line 9149 of file il.h.

9149{ return kTagged; }

◆ RequiredInputRepresentation()

virtual Representation dart::HashIntegerOpInstr::RequiredInputRepresentation ( intptr_t  idx) const
inlinevirtual

Definition at line 9151 of file il.h.

9151 {
9152 ASSERT(idx == 0);
9153 return kTagged;
9154 }
#define ASSERT(E)

◆ value()

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

Definition at line 9141 of file il.h.

9141{ return inputs_[0]; }
EmbeddedArray< Value *, N > inputs_
Definition il.h:2744

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