llvm::InstrProfIterator

A file format agnostic iterator over profiling data.

Synopsis

Declared in <llvm/ProfileData/InstrProfReader.h>

template<
    class record_type = NamedInstrProfRecord,
    class reader_type = InstrProfReader>
class InstrProfIterator;

Type Aliases

NameDescription
difference_type Distance type between iterators (unused for input iterators).
iterator_category Input iterator category tag.
pointer Pointer to a profile record.
reference Reference to a profile record.
value_type Type of the profile record yielded by the iterator.

Member Functions

NameDescription
InstrProfIterator [constructor]Constructors
operator* Return a reference to the current profile record.
operator++ Advance to the next profile record.
operator-> Return a pointer to the current profile record.
operator== Return true if this iterator and RHS refer to the same reader.
operator!= Return true if this iterator and RHS refer to different readers.