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

#include <il.h>

Inheritance diagram for dart::UnboxedConstantInstr:
dart::ConstantInstr dart::TemplateDefinition< 0, NoThrow, Pure >

Public Member Functions

 UnboxedConstantInstr (const Object &value, Representation representation)
 
virtual Representation representation () const
 
uword constant_address () const
 
 DISALLOW_COPY_AND_ASSIGN (UnboxedConstantInstr)
 
- Public Member Functions inherited from dart::ConstantInstr
 ConstantInstr (const Object &value)
 
 ConstantInstr (const Object &value, const InstructionSource &source)
 
virtual CompileType ComputeType () const
 
virtual DefinitionCanonicalize (FlowGraph *flow_graph)
 
const Objectvalue () const
 
bool IsSmi () const
 
bool HasZeroRepresentation () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual void InferRange (RangeAnalysis *analysis, Range *range)
 
virtual bool AttributesEqual (const Instruction &other) const
 
virtual TokenPosition token_pos () const
 
void EmitMoveToLocation (FlowGraphCompiler *compiler, const Location &destination, Register tmp=kNoRegister, intptr_t pair_index=0)
 
PRINT_OPERANDS_TO_SUPPORT DECLARE_ATTRIBUTEvalue ()
 
- Public Member Functions inherited from dart::TemplateDefinition< 0, 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
 

Public Attributes

DECLARE_ATTRIBUTES_NAMED(("value", "representation"),(&value(), representation())) private uword constant_address_
 

Additional Inherited Members

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

Detailed Description

Definition at line 4265 of file il.h.

Constructor & Destructor Documentation

◆ UnboxedConstantInstr()

dart::UnboxedConstantInstr::UnboxedConstantInstr ( const Object value,
Representation  representation 
)
explicit

Definition at line 1169 of file il.cc.

1172 representation_(representation),
1174 if (representation_ == kUnboxedDouble) {
1175 ASSERT(value.IsDouble());
1177 }
1178}
const Object & value() const
Definition il.h:4212
ConstantInstr(const Object &value)
Definition il.h:4203
DECLARE_ATTRIBUTES_NAMED(("value", "representation"),(&value(), representation())) private uword constant_address_
Definition il.h:4278
virtual Representation representation() const
Definition il.h:4270
#define ASSERT(E)
uword FindDoubleConstant(double value)

Member Function Documentation

◆ constant_address()

uword dart::UnboxedConstantInstr::constant_address ( ) const
inline

Definition at line 4273 of file il.h.

4273{ return constant_address_; }

◆ DISALLOW_COPY_AND_ASSIGN()

dart::UnboxedConstantInstr::DISALLOW_COPY_AND_ASSIGN ( UnboxedConstantInstr  )

◆ representation()

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

Definition at line 4270 of file il.h.

4270{ return representation_; }

Member Data Documentation

◆ constant_address_

DECLARE_ATTRIBUTES_NAMED (("value", "representation"), (&value(), representation())) private uword dart::UnboxedConstantInstr::constant_address_

Definition at line 4284 of file il.h.


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