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

#include <il.h>

Inheritance diagram for dart::PhiIterator:
dart::ValueObject

Public Member Functions

 PhiIterator (JoinEntryInstr *join)
 
void Advance ()
 
bool Done () const
 
PhiInstrCurrent () const
 
void RemoveCurrentFromGraph ()
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 2097 of file il.h.

Constructor & Destructor Documentation

◆ PhiIterator()

dart::PhiIterator::PhiIterator ( JoinEntryInstr join)
inlineexplicit

Definition at line 2099 of file il.h.

2099: phis_(join->phis()), index_(0) {}
SINT Vec< 2 *N, T > join(const Vec< N, T > &lo, const Vec< N, T > &hi)
Definition SkVx.h:242

Member Function Documentation

◆ Advance()

void dart::PhiIterator::Advance ( )
inline

Definition at line 2101 of file il.h.

2101 {
2102 ASSERT(!Done());
2103 index_++;
2104 }
bool Done() const
Definition il.h:2106
#define ASSERT(E)

◆ Current()

PhiInstr * dart::PhiIterator::Current ( ) const
inline

Definition at line 2110 of file il.h.

2110{ return (*phis_)[index_]; }

◆ Done()

bool dart::PhiIterator::Done ( ) const
inline

Definition at line 2106 of file il.h.

2106 {
2107 return (phis_ == nullptr) || (index_ >= phis_->length());
2108 }

◆ RemoveCurrentFromGraph()

void dart::PhiIterator::RemoveCurrentFromGraph ( )

Definition at line 6732 of file il.cc.

6732 {
6734 (*phis_)[index_] = phis_->Last();
6735 phis_->RemoveLast();
6736 --index_;
6737}
void UnuseAllInputs()
Definition il.cc:1525
PhiInstr * Current() const
Definition il.h:2110

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