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

#include <il.h>

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

Public Member Functions

 UnaryInt64OpInstr (Token::Kind op_kind, Value *value, intptr_t deopt_id, SpeculativeMode speculative_mode=kGuardInputs)
 
virtual bool ComputeCanDeoptimize () const
 
virtual Representation representation () const
 
virtual Representation RequiredInputRepresentation (intptr_t idx) const
 
virtual bool AttributesEqual (const Instruction &other) const
 
virtual SpeculativeMode SpeculativeModeOfInput (intptr_t index) 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 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 9272 of file il.h.

Constructor & Destructor Documentation

◆ UnaryInt64OpInstr()

dart::UnaryInt64OpInstr::UnaryInt64OpInstr ( Token::Kind  op_kind,
Value value,
intptr_t  deopt_id,
SpeculativeMode  speculative_mode = kGuardInputs 
)
inline

Definition at line 9274 of file il.h.

9278 : UnaryIntegerOpInstr(op_kind, value, deopt_id),
9279 speculative_mode_(speculative_mode) {
9280 ASSERT(op_kind == Token::kBIT_NOT || op_kind == Token::kNEGATE);
9281 }
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
#define ASSERT(E)

Member Function Documentation

◆ AttributesEqual()

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

Reimplemented from dart::UnaryIntegerOpInstr.

Definition at line 9292 of file il.h.

9292 {
9293 auto const unary_op_other = other.AsUnaryInt64Op();
9295 (speculative_mode_ == unary_op_other->speculative_mode_);
9296 }
virtual bool AttributesEqual(const Instruction &other) const
Definition il.h:9197

◆ ComputeCanDeoptimize()

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

Definition at line 9283 of file il.h.

9283{ return false; }

◆ representation()

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

Definition at line 9285 of file il.h.

9285{ return kUnboxedInt64; }

◆ RequiredInputRepresentation()

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

Definition at line 9287 of file il.h.

9287 {
9288 ASSERT(idx == 0);
9289 return kUnboxedInt64;
9290 }

◆ SpeculativeModeOfInput()

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

Definition at line 9298 of file il.h.

9298 {
9299 return speculative_mode_;
9300 }

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