LLVM: llvm::coverage::InstantiationGroup Class Reference (original) (raw)
An instantiation group contains a [FunctionRecord](structllvm%5F1%5F1coverage%5F1%5F1FunctionRecord.html "Code coverage information for a single function.") list, such that each record corresponds to a distinct instantiation of the same function. More...
#include "[llvm/ProfileData/Coverage/CoverageMapping.h](CoverageMapping%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| InstantiationGroup (const InstantiationGroup &)=delete | |
| InstantiationGroup (InstantiationGroup &&)=default | |
| size_t | size () const |
| Get the number of instantiations in this group. | |
| unsigned | getLine () const |
| Get the line where the common function was defined. | |
| unsigned | getColumn () const |
| Get the column where the common function was defined. | |
| bool | hasName () const |
| Check if the instantiations in this group have a common mangled name. | |
| StringRef | getName () const |
| Get the common mangled name for instantiations in this group. | |
| uint64_t | getTotalExecutionCount () const |
| Get the total execution count of all instantiations in this group. | |
| ArrayRef< const FunctionRecord * > | getInstantiations () const |
| Get the instantiations in this group. |
| Friends | |
|---|---|
| class | CoverageMapping |
An instantiation group contains a [FunctionRecord](structllvm%5F1%5F1coverage%5F1%5F1FunctionRecord.html "Code coverage information for a single function.") list, such that each record corresponds to a distinct instantiation of the same function.
Note that it's possible for a function to have more than one instantiation (consider C++ template specializations or static inline functions).
Definition at line 886 of file CoverageMapping.h.
◆ InstantiationGroup() [2/2]
◆ getColumn()
| unsigned llvm::coverage::InstantiationGroup::getColumn ( ) const | inline |
|---|
Get the column where the common function was defined.
Definition at line 908 of file CoverageMapping.h.
◆ getInstantiations()
◆ getLine()
| unsigned llvm::coverage::InstantiationGroup::getLine ( ) const | inline |
|---|
Get the line where the common function was defined.
Definition at line 905 of file CoverageMapping.h.
◆ getName()
| StringRef llvm::coverage::InstantiationGroup::getName ( ) const | inline |
|---|
◆ getTotalExecutionCount()
| uint64_t llvm::coverage::InstantiationGroup::getTotalExecutionCount ( ) const | inline |
|---|
◆ hasName()
| bool llvm::coverage::InstantiationGroup::hasName ( ) const | inline |
|---|
◆ size()
| size_t llvm::coverage::InstantiationGroup::size ( ) const | inline |
|---|
◆ CoverageMapping
The documentation for this class was generated from the following file:
- include/llvm/ProfileData/Coverage/CoverageMapping.h