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

#include <il.h>

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

Public Member Functions

 UnarySmiOpInstr (Token::Kind op_kind, Value *value, intptr_t deopt_id)
 
virtual bool ComputeCanDeoptimize () const
 
virtual CompileType ComputeType () const
 
- Public Member Functions inherited from dart::UnaryIntegerOpInstr
 UnaryIntegerOpInstr (Token::Kind op_kind, Value *value, intptr_t deopt_id)
 
Valuevalue () const
 
Token::Kind op_kind () const
 
virtual DefinitionCanonicalize (FlowGraph *flow_graph)
 
virtual bool AttributesEqual (const Instruction &other) const
 
virtual intptr_t DeoptimizationTarget () 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
 
- Static Public Member Functions inherited from dart::UnaryIntegerOpInstr
static UnaryIntegerOpInstrMake (Representation representation, Token::Kind op_kind, Value *value, intptr_t deopt_id, SpeculativeMode speculative_mode, Range *range)
 
- Protected Attributes inherited from dart::TemplateDefinition< 1, NoThrow, Pure >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 9225 of file il.h.

Constructor & Destructor Documentation

◆ UnarySmiOpInstr()

dart::UnarySmiOpInstr::UnarySmiOpInstr ( Token::Kind  op_kind,
Value value,
intptr_t  deopt_id 
)
inline

Definition at line 9227 of file il.h.

9228 : UnaryIntegerOpInstr(op_kind, value, deopt_id) {}
UnaryIntegerOpInstr(Token::Kind op_kind, Value *value, intptr_t deopt_id)
Definition il.h:9179
Value * value() const
Definition il.h:9192
Token::Kind op_kind() const
Definition il.h:9193

Member Function Documentation

◆ ComputeCanDeoptimize()

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

Definition at line 9230 of file il.h.

9230 {
9231 return op_kind() == Token::kNEGATE;
9232 }

◆ ComputeType()

CompileType dart::UnarySmiOpInstr::ComputeType ( ) const
virtual

Definition at line 1754 of file type_propagator.cc.

1754 {
1755 return CompileType::FromCid(kSmiCid);
1756}
static CompileType FromCid(intptr_t cid)

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