LLVM  14.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 235 of file AliasSetTracker.h.

Member Typedef Documentation

◆ difference_type

Definition at line 241 of file AliasSetTracker.h.

◆ iterator_category

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

Definition at line 239 of file AliasSetTracker.h.

◆ pointer

Definition at line 242 of file AliasSetTracker.h.

◆ reference

Definition at line 243 of file AliasSetTracker.h.

◆ value_type

Definition at line 240 of file AliasSetTracker.h.

Constructor & Destructor Documentation

◆ iterator()

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

Definition at line 245 of file AliasSetTracker.h.

Member Function Documentation

◆ getAAInfo()

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

Definition at line 260 of file AliasSetTracker.h.

◆ getPointer()

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

Definition at line 258 of file AliasSetTracker.h.

◆ getSize()

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

Definition at line 259 of file AliasSetTracker.h.

◆ operator!=()

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

Definition at line 250 of file AliasSetTracker.h.

References operator==(), and x.

◆ operator*()

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

Definition at line 252 of file AliasSetTracker.h.

References assert().

Referenced by operator->().

◆ operator++() [1/2]

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

Definition at line 262 of file AliasSetTracker.h.

References assert().

◆ operator++() [2/2]

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

Definition at line 267 of file AliasSetTracker.h.

◆ operator->()

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

Definition at line 256 of file AliasSetTracker.h.

References operator*().

◆ operator==()

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

Definition at line 247 of file AliasSetTracker.h.

References x.

Referenced by operator!=().


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