Polly 20.0.0git
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
polly::VirtualOperandIterator Class Referencefinal

An iterator for virtual operands. More...

#include <VirtualInstruction.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = VirtualUse
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

bool operator== (const Self &that) const
 
bool operator!= (const Self &that) const
 
VirtualUse operator* () const
 
Use * operator-> () const
 
Selfoperator++ ()
 
Self operator++ (int)
 

Private Types

using Self = VirtualOperandIterator
 

Private Member Functions

 VirtualOperandIterator (ScopStmt *User, User::op_iterator U)
 

Private Attributes

ScopStmtUser
 
User::op_iterator U
 

Friends

class VirtualInstruction
 
class VirtualUse
 

Detailed Description

An iterator for virtual operands.

Definition at line 170 of file VirtualInstruction.h.

Member Typedef Documentation

◆ difference_type

Definition at line 185 of file VirtualInstruction.h.

◆ iterator_category

using polly::VirtualOperandIterator::iterator_category = std::forward_iterator_tag

Definition at line 183 of file VirtualInstruction.h.

◆ pointer

Definition at line 186 of file VirtualInstruction.h.

◆ reference

Definition at line 187 of file VirtualInstruction.h.

◆ Self

Definition at line 174 of file VirtualInstruction.h.

◆ value_type

Definition at line 184 of file VirtualInstruction.h.

Constructor & Destructor Documentation

◆ VirtualOperandIterator()

polly::VirtualOperandIterator::VirtualOperandIterator ( ScopStmt User,
User::op_iterator  U 
)
inlineprivate

Definition at line 179 of file VirtualInstruction.h.

Member Function Documentation

◆ operator!=()

bool polly::VirtualOperandIterator::operator!= ( const Self that) const
inline

Definition at line 194 of file VirtualInstruction.h.

References assert, U, and User.

◆ operator*()

VirtualUse polly::VirtualOperandIterator::operator* ( ) const
inline

◆ operator++() [1/2]

Self & polly::VirtualOperandIterator::operator++ ( )
inline

Definition at line 205 of file VirtualInstruction.h.

References U.

◆ operator++() [2/2]

Self polly::VirtualOperandIterator::operator++ ( int  )
inline

Definition at line 210 of file VirtualInstruction.h.

◆ operator->()

Use * polly::VirtualOperandIterator::operator-> ( ) const
inline

Definition at line 203 of file VirtualInstruction.h.

References U.

◆ operator==()

bool polly::VirtualOperandIterator::operator== ( const Self that) const
inline

Definition at line 189 of file VirtualInstruction.h.

References assert, U, and User.

Friends And Related Function Documentation

◆ VirtualInstruction

friend class VirtualInstruction
friend

Definition at line 171 of file VirtualInstruction.h.

◆ VirtualUse

friend class VirtualUse
friend

Definition at line 172 of file VirtualInstruction.h.

Member Data Documentation

◆ U

User::op_iterator polly::VirtualOperandIterator::U
private

Definition at line 177 of file VirtualInstruction.h.

Referenced by operator!=(), operator*(), operator++(), operator->(), and operator==().

◆ User

ScopStmt* polly::VirtualOperandIterator::User
private

Definition at line 176 of file VirtualInstruction.h.

Referenced by operator!=(), operator*(), and operator==().


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