LLVM 20.0.0git
|
Iterator over Functions, optionally filtered to a single file. More...
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
Public Member Functions | |
FunctionRecordIterator (ArrayRef< FunctionRecord > Records_, StringRef Filename="", ArrayRef< unsigned > RecordIndices_={}) | |
FunctionRecordIterator () | |
bool | operator== (const FunctionRecordIterator &RHS) const |
const FunctionRecord & | operator* () const |
FunctionRecordIterator & | operator++ () |
![]() | |
FunctionRecordIterator | operator+ (std::ptrdiff_t n) const |
FunctionRecordIterator | operator- (std::ptrdiff_t n) const |
FunctionRecordIterator & | operator++ () |
FunctionRecordIterator | operator++ (int) |
FunctionRecordIterator & | operator-- () |
FunctionRecordIterator | operator-- (int) |
bool | operator!= (const FunctionRecordIterator &RHS) const |
bool | operator> (const FunctionRecordIterator &RHS) const |
bool | operator<= (const FunctionRecordIterator &RHS) const |
bool | operator>= (const FunctionRecordIterator &RHS) const |
PointerProxy | operator-> () const |
ReferenceProxy | operator[] (std::ptrdiff_t n) const |
Additional Inherited Members | |
![]() | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = FunctionRecord |
using | difference_type = std::ptrdiff_t |
using | pointer = FunctionRecord * |
using | reference = FunctionRecord & |
![]() | |
enum | |
Iterator over Functions, optionally filtered to a single file.
When filtering to a single file, the iterator requires a list of potential indices where to find the desired records to avoid quadratic behavior when repeatedly iterating over functions from different files.
Definition at line 754 of file CoverageMapping.h.
|
inline |
Definition at line 767 of file CoverageMapping.h.
|
inline |
Definition at line 782 of file CoverageMapping.h.
|
inline |
Definition at line 788 of file CoverageMapping.h.
|
inline |
Definition at line 790 of file CoverageMapping.h.
|
inline |
Definition at line 784 of file CoverageMapping.h.
References RHS.