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

#include <il.h>

Inheritance diagram for dart::OsrEntryInstr:
dart::BlockEntryWithInitialDefs dart::BlockEntryInstr dart::TemplateInstruction< 0, NoThrow >

Public Member Functions

 OsrEntryInstr (GraphEntryInstr *graph_entry, intptr_t block_id, intptr_t try_index, intptr_t deopt_id, intptr_t stack_depth)
 
virtual intptr_t PredecessorCount () const
 
virtual BlockEntryInstrPredecessorAt (intptr_t index) const
 
GraphEntryInstrgraph_entry () const
 
- Public Member Functions inherited from dart::BlockEntryWithInitialDefs
 BlockEntryWithInitialDefs (intptr_t block_id, intptr_t try_index, intptr_t deopt_id, intptr_t stack_depth)
 
GrowableArray< Definition * > * initial_definitions ()
 
const GrowableArray< Definition * > * initial_definitions () const
 
virtual BlockEntryWithInitialDefsAsBlockEntryWithInitialDefs ()
 
virtual const BlockEntryWithInitialDefsAsBlockEntryWithInitialDefs () const
 
- Public Member Functions inherited from dart::BlockEntryInstr
intptr_t preorder_number () const
 
void set_preorder_number (intptr_t number)
 
intptr_t postorder_number () const
 
void set_postorder_number (intptr_t number)
 
intptr_t block_id () const
 
void set_start_pos (intptr_t pos)
 
intptr_t start_pos () const
 
void set_end_pos (intptr_t pos)
 
intptr_t end_pos () const
 
BlockEntryInstrdominator () const
 
BlockEntryInstrImmediateDominator () const
 
const GrowableArray< BlockEntryInstr * > & dominated_blocks ()
 
void AddDominatedBlock (BlockEntryInstr *block)
 
void ClearDominatedBlocks ()
 
bool Dominates (BlockEntryInstr *other) const
 
Instructionlast_instruction () const
 
void set_last_instruction (Instruction *instr)
 
ParallelMoveInstrparallel_move () const
 
bool HasParallelMove () const
 
bool HasNonRedundantParallelMove () const
 
ParallelMoveInstrGetParallelMove ()
 
bool DiscoverBlock (BlockEntryInstr *predecessor, GrowableArray< BlockEntryInstr * > *preorder, GrowableArray< intptr_t > *parent)
 
virtual bool CanBecomeDeoptimizationTarget () const
 
virtual bool ComputeCanDeoptimize () const
 
virtual bool HasUnknownSideEffects () const
 
intptr_t try_index () const
 
void set_try_index (intptr_t index)
 
bool InsideTryBlock () const
 
LoopInfoloop_info () const
 
void set_loop_info (LoopInfo *loop_info)
 
bool IsLoopHeader () const
 
intptr_t NestingDepth () const
 
virtual BlockEntryInstrGetBlock ()
 
virtual TokenPosition token_pos () const
 
void ReplaceAsPredecessorWith (BlockEntryInstr *new_block)
 
void set_block_id (intptr_t block_id)
 
intptr_t stack_depth () const
 
void set_stack_depth (intptr_t s)
 
void ClearAllInstructions ()
 
InstructionsIterable instructions ()
 
- Public Member Functions inherited from dart::TemplateInstruction< 0, NoThrow >
 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
 

Private Member Functions

virtual void ClearPredecessors ()
 
virtual void AddPredecessor (BlockEntryInstr *predecessor)
 

Additional Inherited Members

- Public Types inherited from dart::TemplateInstruction< 0, NoThrow >
using BaseClass = typename NoCSE< Instruction, PureInstruction >::Base
 
- Protected Member Functions inherited from dart::BlockEntryWithInitialDefs
void PrintInitialDefinitionsTo (BaseTextBuffer *f) const
 
- Protected Member Functions inherited from dart::BlockEntryInstr
 BlockEntryInstr (intptr_t block_id, intptr_t try_index, intptr_t deopt_id, intptr_t stack_depth)
 
bool FindOsrEntryAndRelink (GraphEntryInstr *graph_entry, Instruction *parent, BitVector *block_marks)
 
- Protected Attributes inherited from dart::TemplateInstruction< 0, NoThrow >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 2248 of file il.h.

Constructor & Destructor Documentation

◆ OsrEntryInstr()

dart::OsrEntryInstr::OsrEntryInstr ( GraphEntryInstr graph_entry,
intptr_t  block_id,
intptr_t  try_index,
intptr_t  deopt_id,
intptr_t  stack_depth 
)
inline

Definition at line 2250 of file il.h.

2256 graph_entry_(graph_entry) {}
intptr_t try_index() const
Definition il.h:1724
intptr_t block_id() const
Definition il.h:1655
intptr_t stack_depth() const
Definition il.h:1750
BlockEntryWithInitialDefs(intptr_t block_id, intptr_t try_index, intptr_t deopt_id, intptr_t stack_depth)
Definition il.h:1905
GraphEntryInstr * graph_entry() const
Definition il.h:2268

Member Function Documentation

◆ AddPredecessor()

virtual void dart::OsrEntryInstr::AddPredecessor ( BlockEntryInstr predecessor)
inlineprivatevirtual

Implements dart::BlockEntryInstr.

Definition at line 2275 of file il.h.

2275 {
2276 ASSERT(graph_entry_ == nullptr && predecessor->IsGraphEntry());
2277 graph_entry_ = predecessor->AsGraphEntry();
2278 }
#define ASSERT(E)

◆ ClearPredecessors()

virtual void dart::OsrEntryInstr::ClearPredecessors ( )
inlineprivatevirtual

Implements dart::BlockEntryInstr.

Definition at line 2274 of file il.h.

2274{ graph_entry_ = nullptr; }

◆ graph_entry()

GraphEntryInstr * dart::OsrEntryInstr::graph_entry ( ) const
inline

Definition at line 2268 of file il.h.

2268{ return graph_entry_; }

◆ PredecessorAt()

virtual BlockEntryInstr * dart::OsrEntryInstr::PredecessorAt ( intptr_t  index) const
inlinevirtual

Implements dart::BlockEntryInstr.

Definition at line 2263 of file il.h.

2263 {
2264 ASSERT(index == 0 && graph_entry_ != nullptr);
2265 return graph_entry_;
2266 }

◆ PredecessorCount()

virtual intptr_t dart::OsrEntryInstr::PredecessorCount ( ) const
inlinevirtual

Implements dart::BlockEntryInstr.

Definition at line 2260 of file il.h.

2260 {
2261 return (graph_entry_ == nullptr) ? 0 : 1;
2262 }

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