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

#include <il.h>

Inheritance diagram for dart::CheckSmiInstr:
dart::TemplateInstruction< 1, NoThrow, Pure >

Public Member Functions

 CheckSmiInstr (Value *value, intptr_t deopt_id, const InstructionSource &source)
 
Valuevalue () const
 
virtual TokenPosition token_pos () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual InstructionCanonicalize (FlowGraph *flow_graph)
 
virtual bool AttributesEqual (const Instruction &other) const
 
- Public Member Functions inherited from dart::TemplateInstruction< 1, NoThrow, Pure >
 TemplateInstruction (intptr_t deopt_id=DeoptId::kNone)
 
 TemplateInstruction (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::TemplateInstruction< 1, NoThrow, Pure >
using BaseClass = typename Pure< Instruction, PureInstruction >::Base
 
- Protected Attributes inherited from dart::TemplateInstruction< 1, NoThrow, Pure >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 10591 of file il.h.

Constructor & Destructor Documentation

◆ CheckSmiInstr()

dart::CheckSmiInstr::CheckSmiInstr ( Value value,
intptr_t  deopt_id,
const InstructionSource source 
)
inline

Definition at line 10593 of file il.h.

10596 : TemplateInstruction(source, deopt_id), token_pos_(source.token_pos) {
10597 SetInputAt(0, value);
10598 }
Value * value() const
Definition il.h:10600
TemplateInstruction(intptr_t deopt_id=DeoptId::kNone)
Definition il.h:1501
SkBitmap source
Definition examples.cpp:28

Member Function Documentation

◆ AttributesEqual()

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

Definition at line 10609 of file il.h.

10609{ return true; }

◆ Canonicalize()

Instruction * dart::CheckSmiInstr::Canonicalize ( FlowGraph flow_graph)
virtual

Definition at line 3986 of file il.cc.

3986 {
3987 return (value()->Type()->ToCid() == kSmiCid) ? nullptr : this;
3988}

◆ ComputeCanDeoptimize()

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

Definition at line 10605 of file il.h.

10605{ return true; }

◆ token_pos()

virtual TokenPosition dart::CheckSmiInstr::token_pos ( ) const
inlinevirtual

Definition at line 10601 of file il.h.

10601{ return token_pos_; }

◆ value()

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

Definition at line 10600 of file il.h.

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

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