LLVM: llvm::GCOVFunction Class Reference (original) (raw)
GCOVFunction - Collects function information. More...
#include "[llvm/ProfileData/GCOV.h](GCOV%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| using | BlockIterator |
| Public Member Functions | |
|---|---|
| GCOVFunction (GCOVFile &file) | |
| LLVM_ABI StringRef | getName (bool demangle) const |
| LLVM_ABI StringRef | getFilename () const |
| LLVM_ABI uint64_t | getEntryCount () const |
| getEntryCount - Get the number of times the function was called by retrieving the entry block's count. | |
| LLVM_ABI GCOVBlock & | getExitBlock () const |
| iterator_range< BlockIterator > | blocksRange () const |
| LLVM_ABI void | propagateCounts (const GCOVBlock &v, GCOVArc *pred) |
| LLVM_ABI void | print (raw_ostream &OS) const |
| LLVM_ABI void | dump () const |
| dump - Dump GCOVFunction content to dbgs() for debugging purposes. |
| Public Attributes | |
|---|---|
| GCOVFile & | file |
| uint32_t | ident = 0 |
| uint32_t | linenoChecksum |
| uint32_t | cfgChecksum = 0 |
| uint32_t | startLine = 0 |
| uint32_t | startColumn = 0 |
| uint32_t | endLine = 0 |
| uint32_t | endColumn = 0 |
| uint8_t | artificial = 0 |
| StringRef | Name |
| SmallString< 0 > | demangled |
| unsigned | srcIdx |
| SmallVector< std::unique_ptr< GCOVBlock >, 0 > | blocks |
| SmallVector< std::unique_ptr< GCOVArc >, 0 > | arcs |
| SmallVector< std::unique_ptr< GCOVArc >, 0 > | treeArcs |
| DenseSet< const GCOVBlock * > | visited |
GCOVFunction - Collects function information.
Definition at line 237 of file GCOV.h.
◆ BlockIterator
Initial value:
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
An iterator type that allows iterating over the pointees via some other iterator.
Definition at line 239 of file GCOV.h.
| llvm::GCOVFunction::GCOVFunction ( GCOVFile & file) | inline |
|---|
◆ blocksRange()
◆ dump()
◆ getEntryCount()
| uint64_t GCOVFunction::getEntryCount | ( | ) | const |
|---|
getEntryCount - Get the number of times the function was called by retrieving the entry block's count.
Definition at line 357 of file GCOV.cpp.
References blocks.
◆ getExitBlock()
| GCOVBlock & GCOVFunction::getExitBlock | ( | ) | const |
|---|
◆ getFilename()
| StringRef GCOVFunction::getFilename | ( | ) | const |
|---|
◆ getName()
◆ print()
◆ propagateCounts()
◆ arcs
◆ artificial
uint8_t llvm::GCOVFunction::artificial = 0
◆ blocks
◆ cfgChecksum
uint32_t llvm::GCOVFunction::cfgChecksum = 0
◆ demangled
◆ endColumn
uint32_t llvm::GCOVFunction::endColumn = 0
◆ endLine
uint32_t llvm::GCOVFunction::endLine = 0
◆ file
◆ ident
◆ linenoChecksum
uint32_t llvm::GCOVFunction::linenoChecksum
◆ Name
◆ srcIdx
◆ startColumn
uint32_t llvm::GCOVFunction::startColumn = 0
◆ startLine
uint32_t llvm::GCOVFunction::startLine = 0
◆ treeArcs
◆ visited
The documentation for this class was generated from the following files: