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

#include <il.h>

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

Public Member Functions

 Int64ToDoubleInstr (Value *value, intptr_t deopt_id, SpeculativeMode speculative_mode=kGuardInputs)
 
Valuevalue () const
 
virtual Representation RequiredInputRepresentation (intptr_t index) const
 
virtual Representation representation () const
 
virtual intptr_t DeoptimizationTarget () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual SpeculativeMode SpeculativeModeOfInput (intptr_t index) 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
 

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 9951 of file il.h.

Constructor & Destructor Documentation

◆ Int64ToDoubleInstr()

dart::Int64ToDoubleInstr::Int64ToDoubleInstr ( Value value,
intptr_t  deopt_id,
SpeculativeMode  speculative_mode = kGuardInputs 
)
inline

Definition at line 9953 of file il.h.

9956 : TemplateDefinition(deopt_id), speculative_mode_(speculative_mode) {
9957 SetInputAt(0, value);
9958 }
Value * value() const
Definition il.h:9960
TemplateDefinition(intptr_t deopt_id=DeoptId::kNone)
Definition il.h:2731

Member Function Documentation

◆ AttributesEqual()

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

Definition at line 9983 of file il.h.

9983 {
9984 return speculative_mode_ == other.AsInt64ToDouble()->speculative_mode_;
9985 }

◆ ComputeCanDeoptimize()

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

Definition at line 9977 of file il.h.

9977{ return false; }

◆ DeoptimizationTarget()

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

Definition at line 9971 of file il.h.

9971 {
9972 // Direct access since this instruction cannot deoptimize, and the deopt-id
9973 // was inherited from another instruction that could deoptimize.
9974 return GetDeoptId();
9975 }

◆ representation()

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

Definition at line 9969 of file il.h.

9969{ return kUnboxedDouble; }

◆ RequiredInputRepresentation()

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

Definition at line 9964 of file il.h.

9964 {
9965 ASSERT(index == 0);
9966 return kUnboxedInt64;
9967 }
#define ASSERT(E)

◆ SpeculativeModeOfInput()

virtual SpeculativeMode dart::Int64ToDoubleInstr::SpeculativeModeOfInput ( intptr_t  index) const
inlinevirtual

Definition at line 9979 of file il.h.

9979 {
9980 return speculative_mode_;
9981 }

◆ value()

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

Definition at line 9960 of file il.h.

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

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