LLVM  14.0.0git
Public Types | Public Member Functions | List of all members
llvm::InstrProfIterator Class Reference

A file format agnostic iterator over profiling data. More...

#include "llvm/ProfileData/InstrProfReader.h"

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = NamedInstrProfRecord
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 InstrProfIterator ()=default
 
 InstrProfIterator (InstrProfReader *Reader)
 
InstrProfIteratoroperator++ ()
 
bool operator== (const InstrProfIterator &RHS) const
 
bool operator!= (const InstrProfIterator &RHS) const
 
value_typeoperator* ()
 
value_typeoperator-> ()
 

Detailed Description

A file format agnostic iterator over profiling data.

Definition at line 41 of file InstrProfReader.h.

Member Typedef Documentation

◆ difference_type

Definition at line 45 of file InstrProfReader.h.

◆ iterator_category

using llvm::InstrProfIterator::iterator_category = std::input_iterator_tag

Definition at line 43 of file InstrProfReader.h.

◆ pointer

Definition at line 46 of file InstrProfReader.h.

◆ reference

Definition at line 47 of file InstrProfReader.h.

◆ value_type

Definition at line 44 of file InstrProfReader.h.

Constructor & Destructor Documentation

◆ InstrProfIterator() [1/2]

llvm::InstrProfIterator::InstrProfIterator ( )
default

◆ InstrProfIterator() [2/2]

llvm::InstrProfIterator::InstrProfIterator ( InstrProfReader Reader)
inline

Definition at line 57 of file InstrProfReader.h.

Member Function Documentation

◆ operator!=()

bool llvm::InstrProfIterator::operator!= ( const InstrProfIterator RHS) const
inline

Definition at line 63 of file InstrProfReader.h.

◆ operator*()

value_type& llvm::InstrProfIterator::operator* ( )
inline

Definition at line 66 of file InstrProfReader.h.

◆ operator++()

InstrProfIterator& llvm::InstrProfIterator::operator++ ( )
inline

Definition at line 59 of file InstrProfReader.h.

◆ operator->()

value_type* llvm::InstrProfIterator::operator-> ( )
inline

Definition at line 67 of file InstrProfReader.h.

◆ operator==()

bool llvm::InstrProfIterator::operator== ( const InstrProfIterator RHS) const
inline

Definition at line 60 of file InstrProfReader.h.


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