LLVM 18.0.0git
Public Types | Public Member Functions | List of all members
llvm::AliasSet::iterator Class Reference

Define an iterator for alias sets... this is just a forward iterator. More...

#include "llvm/Analysis/AliasSetTracker.h"

Public Types

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

Public Member Functions

 iterator (PointerRec *CN=nullptr)
 
bool operator== (const iterator &x) const
 
bool operator!= (const iterator &x) const
 
value_typeoperator* () const
 
value_typeoperator-> () const
 
ValuegetPointer () const
 
LocationSize getSize () const
 
AAMDNodes getAAInfo () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Detailed Description

Define an iterator for alias sets... this is just a forward iterator.

Definition at line 223 of file AliasSetTracker.h.

Member Typedef Documentation

◆ difference_type

Definition at line 229 of file AliasSetTracker.h.

◆ iterator_category

using llvm::AliasSet::iterator::iterator_category = std::forward_iterator_tag

Definition at line 227 of file AliasSetTracker.h.

◆ pointer

Definition at line 230 of file AliasSetTracker.h.

◆ reference

Definition at line 231 of file AliasSetTracker.h.

◆ value_type

Definition at line 228 of file AliasSetTracker.h.

Constructor & Destructor Documentation

◆ iterator()

llvm::AliasSet::iterator::iterator ( PointerRec *  CN = nullptr)
inlineexplicit

Definition at line 233 of file AliasSetTracker.h.

Member Function Documentation

◆ getAAInfo()

AAMDNodes llvm::AliasSet::iterator::getAAInfo ( ) const
inline

Definition at line 248 of file AliasSetTracker.h.

◆ getPointer()

Value * llvm::AliasSet::iterator::getPointer ( ) const
inline

Definition at line 246 of file AliasSetTracker.h.

◆ getSize()

LocationSize llvm::AliasSet::iterator::getSize ( ) const
inline

Definition at line 247 of file AliasSetTracker.h.

◆ operator!=()

bool llvm::AliasSet::iterator::operator!= ( const iterator x) const
inline

Definition at line 238 of file AliasSetTracker.h.

References operator==().

◆ operator*()

value_type & llvm::AliasSet::iterator::operator* ( ) const
inline

Definition at line 240 of file AliasSetTracker.h.

References assert().

Referenced by operator->().

◆ operator++() [1/2]

iterator & llvm::AliasSet::iterator::operator++ ( )
inline

Definition at line 250 of file AliasSetTracker.h.

References assert().

◆ operator++() [2/2]

iterator llvm::AliasSet::iterator::operator++ ( int  )
inline

Definition at line 255 of file AliasSetTracker.h.

◆ operator->()

value_type * llvm::AliasSet::iterator::operator-> ( ) const
inline

Definition at line 244 of file AliasSetTracker.h.

References operator*().

◆ operator==()

bool llvm::AliasSet::iterator::operator== ( const iterator x) const
inline

Definition at line 235 of file AliasSetTracker.h.

Referenced by operator!=().


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