LLVM 20.0.0git
Public Member Functions | List of all members
llvm::memoryaccess_def_iterator_base< T > Class Template Reference

Iterator base class used to implement const and non-const iterators over the defining accesses of a MemoryAccess. More...

#include "llvm/Analysis/MemorySSA.h"

Inheritance diagram for llvm::memoryaccess_def_iterator_base< T >:
Inheritance graph
[legend]

Public Member Functions

 memoryaccess_def_iterator_base (T *Start)
 
 memoryaccess_def_iterator_base ()=default
 
bool operator== (const memoryaccess_def_iterator_base &Other) const
 
BasicBlockgetPhiArgBlock () const
 
std::iterator_traits< BaseT >::pointer operator* () const
 
memoryaccess_def_iterator_baseoperator++ ()
 
- Public Member Functions inherited from llvm::iterator_facade_base< memoryaccess_def_iterator_base< T >, std::forward_iterator_tag, T, ptrdiff_t, T *, T * >
memoryaccess_def_iterator_base< Toperator+ (ptrdiff_t n) const
 
memoryaccess_def_iterator_base< Toperator- (ptrdiff_t n) const
 
memoryaccess_def_iterator_base< T > & operator++ ()
 
memoryaccess_def_iterator_base< Toperator++ (int)
 
memoryaccess_def_iterator_base< T > & operator-- ()
 
memoryaccess_def_iterator_base< Toperator-- (int)
 
bool operator!= (const memoryaccess_def_iterator_base< T > &RHS) const
 
bool operator> (const memoryaccess_def_iterator_base< T > &RHS) const
 
bool operator<= (const memoryaccess_def_iterator_base< T > &RHS) const
 
bool operator>= (const memoryaccess_def_iterator_base< T > &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (ptrdiff_t n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< memoryaccess_def_iterator_base< T >, std::forward_iterator_tag, T, ptrdiff_t, T *, T * >
using iterator_category = std::forward_iterator_tag
 
using value_type = T
 
using difference_type = ptrdiff_t
 
using pointer = T *
 
using reference = T *
 
- Protected Types inherited from llvm::iterator_facade_base< memoryaccess_def_iterator_base< T >, std::forward_iterator_tag, T, ptrdiff_t, T *, T * >
enum  
 

Detailed Description

template<class T>
class llvm::memoryaccess_def_iterator_base< T >

Iterator base class used to implement const and non-const iterators over the defining accesses of a MemoryAccess.

Definition at line 1122 of file MemorySSA.h.

Constructor & Destructor Documentation

◆ memoryaccess_def_iterator_base() [1/2]

template<class T >
llvm::memoryaccess_def_iterator_base< T >::memoryaccess_def_iterator_base ( T Start)
inline

Definition at line 1129 of file MemorySSA.h.

◆ memoryaccess_def_iterator_base() [2/2]

template<class T >
llvm::memoryaccess_def_iterator_base< T >::memoryaccess_def_iterator_base ( )
default

Member Function Documentation

◆ getPhiArgBlock()

template<class T >
BasicBlock * llvm::memoryaccess_def_iterator_base< T >::getPhiArgBlock ( ) const
inline

◆ operator*()

template<class T >
std::iterator_traits< BaseT >::pointer llvm::memoryaccess_def_iterator_base< T >::operator* ( ) const
inline

Definition at line 1148 of file MemorySSA.h.

References assert().

◆ operator++()

template<class T >
memoryaccess_def_iterator_base & llvm::memoryaccess_def_iterator_base< T >::operator++ ( )
inline

Definition at line 1158 of file MemorySSA.h.

References assert().

◆ operator==()

template<class T >
bool llvm::memoryaccess_def_iterator_base< T >::operator== ( const memoryaccess_def_iterator_base< T > &  Other) const
inline

Definition at line 1132 of file MemorySSA.h.

References llvm::Other.


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