LLVM  15.0.0git
Public Types | Public Member Functions | List of all members
llvm::InstrProfIterator< record_type, reader_type > Class Template 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 = record_type
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

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

Detailed Description

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
class llvm::InstrProfIterator< record_type, reader_type >

A file format agnostic iterator over profiling data.

Definition at line 45 of file InstrProfReader.h.

Member Typedef Documentation

◆ difference_type

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
using llvm::InstrProfIterator< record_type, reader_type >::difference_type = std::ptrdiff_t

Definition at line 49 of file InstrProfReader.h.

◆ iterator_category

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
using llvm::InstrProfIterator< record_type, reader_type >::iterator_category = std::input_iterator_tag

Definition at line 47 of file InstrProfReader.h.

◆ pointer

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
using llvm::InstrProfIterator< record_type, reader_type >::pointer = value_type *

Definition at line 50 of file InstrProfReader.h.

◆ reference

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
using llvm::InstrProfIterator< record_type, reader_type >::reference = value_type &

Definition at line 51 of file InstrProfReader.h.

◆ value_type

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
using llvm::InstrProfIterator< record_type, reader_type >::value_type = record_type

Definition at line 48 of file InstrProfReader.h.

Constructor & Destructor Documentation

◆ InstrProfIterator() [1/2]

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
llvm::InstrProfIterator< record_type, reader_type >::InstrProfIterator ( )
default

◆ InstrProfIterator() [2/2]

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
llvm::InstrProfIterator< record_type, reader_type >::InstrProfIterator ( reader_type *  Reader)
inline

Definition at line 67 of file InstrProfReader.h.

Member Function Documentation

◆ operator!=()

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
bool llvm::InstrProfIterator< record_type, reader_type >::operator!= ( const InstrProfIterator< record_type, reader_type > &  RHS) const
inline

Definition at line 76 of file InstrProfReader.h.

References RHS.

◆ operator*()

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
value_type& llvm::InstrProfIterator< record_type, reader_type >::operator* ( )
inline

Definition at line 79 of file InstrProfReader.h.

◆ operator++()

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
InstrProfIterator& llvm::InstrProfIterator< record_type, reader_type >::operator++ ( )
inline

Definition at line 69 of file InstrProfReader.h.

◆ operator->()

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
value_type* llvm::InstrProfIterator< record_type, reader_type >::operator-> ( )
inline

Definition at line 80 of file InstrProfReader.h.

◆ operator==()

template<class record_type = NamedInstrProfRecord, class reader_type = InstrProfReader>
bool llvm::InstrProfIterator< record_type, reader_type >::operator== ( const InstrProfIterator< record_type, reader_type > &  RHS) const
inline

Definition at line 73 of file InstrProfReader.h.

References RHS.


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