|
LLVM 22.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++ () |
| Public Member Functions inherited from llvm::iterator_facade_base< FunctionRecordIterator, std::forward_iterator_tag, FunctionRecord > | |
| FunctionRecordIterator | operator+ (std::ptrdiff_t n) const |
| FunctionRecordIterator | operator- (std::ptrdiff_t n) const |
| FunctionRecordIterator & | operator++ () |
| FunctionRecordIterator & | operator-- () |
| 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 | |
| Public Types inherited from llvm::iterator_facade_base< FunctionRecordIterator, std::forward_iterator_tag, FunctionRecord > | |
| using | iterator_category |
| using | value_type |
| using | difference_type |
| using | pointer |
| using | reference |
| Protected Types inherited from llvm::iterator_facade_base< FunctionRecordIterator, std::forward_iterator_tag, 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 765 of file CoverageMapping.h.
|
inline |
Definition at line 778 of file CoverageMapping.h.
Referenced by operator++(), and operator==().
|
inline |
Definition at line 793 of file CoverageMapping.h.
|
inline |
Definition at line 799 of file CoverageMapping.h.
|
inline |
Definition at line 801 of file CoverageMapping.h.
References FunctionRecordIterator().
|
inline |
Definition at line 795 of file CoverageMapping.h.
References FunctionRecordIterator(), and RHS.