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

#include <il.h>

Inheritance diagram for dart::BoxSmallIntInstr:
dart::BoxIntegerInstr dart::BoxInstr dart::TemplateDefinition< 1, NoThrow, Pure >

Public Member Functions

 BoxSmallIntInstr (Representation rep, Value *value)
 
virtual bool ValueFitsSmi () const
 
- Public Member Functions inherited from dart::BoxIntegerInstr
 BoxIntegerInstr (Representation representation, Value *value)
 
virtual void InferRange (RangeAnalysis *analysis, Range *range)
 
virtual CompileType ComputeType () const
 
virtual bool RecomputeType ()
 
virtual DefinitionCanonicalize (FlowGraph *flow_graph)
 
virtual bool CanTriggerGC () const
 
- Public Member Functions inherited from dart::BoxInstr
Valuevalue () const
 
Representation from_representation () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual intptr_t DeoptimizationTarget () const
 
virtual Representation RequiredInputRepresentation (intptr_t idx) const
 
virtual bool AttributesEqual (const Instruction &other) const
 
DefinitionCanonicalize (FlowGraph *flow_graph)
 
virtual TokenPosition token_pos () const
 
virtual SpeculativeMode SpeculativeModeOfInput (intptr_t index) const
 
 DECLARE_INSTRUCTION_SERIALIZABLE_FIELDS (BoxInstr, TemplateDefinition, FIELD_LIST) protected
 
- 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
 
- Static Public Member Functions inherited from dart::BoxInstr
static BoxInstrCreate (Representation from, Value *value)
 
- Protected Attributes inherited from dart::TemplateDefinition< 1, NoThrow, Pure >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 8551 of file il.h.

Constructor & Destructor Documentation

◆ BoxSmallIntInstr()

dart::BoxSmallIntInstr::BoxSmallIntInstr ( Representation  rep,
Value value 
)
inlineexplicit

Definition at line 8553 of file il.h.

8554 : BoxIntegerInstr(rep, value) {
8556 compiler::target::kSmiBits);
8557 }
Value * value() const
Definition il.h:8480
BoxIntegerInstr(Representation representation, Value *value)
Definition il.h:8529
#define ASSERT(E)
constexpr intptr_t kBitsPerByte
Definition globals.h:463
static constexpr size_t ValueSize(Representation rep)
Definition locations.h:112

Member Function Documentation

◆ ValueFitsSmi()

virtual bool dart::BoxSmallIntInstr::ValueFitsSmi ( ) const
inlinevirtual

Reimplemented from dart::BoxIntegerInstr.

Definition at line 8559 of file il.h.

8559{ return true; }

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