LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator Struct Reference

#include "llvm/Analysis/MemoryProfileInfo.h"

Public Member Functions

 CallStackIterator (const NodeT *N, bool End)
 
uint64_t operator* ()
 
bool operator== (const CallStackIterator &rhs)
 
bool operator!= (const CallStackIterator &rhs)
 
void operator++ ()
 
 CallStackIterator (const MDNode *N, bool End)
 Specializations for iterating through IR metadata stack contexts.
 
uint64_t operator* ()
 

Public Attributes

const NodeT * N = nullptr
 
IteratorT Iter
 

Detailed Description

template<class NodeT, class IteratorT>
struct llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator

Definition at line 128 of file MemoryProfileInfo.h.

Constructor & Destructor Documentation

◆ CallStackIterator() [1/2]

template<class NodeT , class IteratorT >
llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator::CallStackIterator ( const NodeT *  N,
bool  End 
)

◆ CallStackIterator() [2/2]

Specializations for iterating through IR metadata stack contexts.

Member Function Documentation

◆ operator!=()

template<class NodeT , class IteratorT >
bool llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator::operator!= ( const CallStackIterator rhs)
inline

Definition at line 134 of file MemoryProfileInfo.h.

◆ operator*() [1/2]

template<class NodeT , class IteratorT >
uint64_t llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator::operator*

Definition at line 161 of file MemoryProfileInfo.h.

References assert().

◆ operator*() [2/2]

◆ operator++()

template<class NodeT , class IteratorT >
void llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator::operator++ ( )
inline

◆ operator==()

template<class NodeT , class IteratorT >
bool llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator::operator== ( const CallStackIterator rhs)
inline

Member Data Documentation

◆ Iter

template<class NodeT , class IteratorT >
IteratorT llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator::Iter

◆ N

template<class NodeT , class IteratorT >
const NodeT* llvm::memprof::CallStack< NodeT, IteratorT >::CallStackIterator::N = nullptr

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