LLVM 22.0.0git
llvm::SampleContextTracker::Iterator Class Reference

#include "llvm/Transforms/IPO/SampleContextTracker.h"

Inheritance diagram for llvm::SampleContextTracker::Iterator:
[legend]

Public Member Functions

 Iterator ()=default
 Iterator (ContextTrieNode *Node)
Iteratoroperator++ ()
bool operator== (const Iterator &Other) const
ContextTrieNodeoperator* () const
Public Member Functions inherited from llvm::iterator_facade_base< Iterator, std::forward_iterator_tag, ContextTrieNode *, std::ptrdiff_t, ContextTrieNode **, ContextTrieNode * >
Iterator operator+ (std::ptrdiff_t n) const
Iterator operator- (std::ptrdiff_t n) const
Iterator & operator++ ()
Iterator & operator-- ()
bool operator!= (const Iterator &RHS) const
bool operator> (const Iterator &RHS) const
bool operator<= (const Iterator &RHS) const
bool operator>= (const Iterator &RHS) const
PointerProxy operator-> () const
ReferenceProxy operator[] (std::ptrdiff_t n) const

Additional Inherited Members

Public Types inherited from llvm::iterator_facade_base< Iterator, std::forward_iterator_tag, ContextTrieNode *, std::ptrdiff_t, ContextTrieNode **, ContextTrieNode * >
using iterator_category
using value_type
using difference_type
using pointer
using reference
Protected Types inherited from llvm::iterator_facade_base< Iterator, std::forward_iterator_tag, ContextTrieNode *, std::ptrdiff_t, ContextTrieNode **, ContextTrieNode * >
enum  

Detailed Description

Definition at line 154 of file SampleContextTracker.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

llvm::SampleContextTracker::Iterator::Iterator ( )
explicitdefault

Referenced by operator++(), and operator==().

◆ Iterator() [2/2]

llvm::SampleContextTracker::Iterator::Iterator ( ContextTrieNode * Node)
inlineexplicit

Definition at line 161 of file SampleContextTracker.h.

Member Function Documentation

◆ operator*()

ContextTrieNode * llvm::SampleContextTracker::Iterator::operator* ( ) const
inline

Definition at line 179 of file SampleContextTracker.h.

References assert().

◆ operator++()

Iterator & llvm::SampleContextTracker::Iterator::operator++ ( )
inline

Definition at line 162 of file SampleContextTracker.h.

References assert(), and Iterator().

◆ operator==()

bool llvm::SampleContextTracker::Iterator::operator== ( const Iterator & Other) const
inline

Definition at line 171 of file SampleContextTracker.h.

References Iterator(), and llvm::Other.


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