LLVM 20.0.0git
|
An instantiation group contains a FunctionRecord
list, such that each record corresponds to a distinct instantiation of the same function.
More...
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
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
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 828 of file CoverageMapping.h.
|
delete |
|
default |
|
inline |
Get the column where the common function was defined.
Definition at line 850 of file CoverageMapping.h.
|
inline |
Get the instantiations in this group.
Definition at line 875 of file CoverageMapping.h.
|
inline |
Get the line where the common function was defined.
Definition at line 847 of file CoverageMapping.h.
|
inline |
Get the common mangled name for instantiations in this group.
Definition at line 861 of file CoverageMapping.h.
|
inline |
Get the total execution count of all instantiations in this group.
Definition at line 867 of file CoverageMapping.h.
References F.
|
inline |
|
inline |
Get the number of instantiations in this group.
Definition at line 844 of file CoverageMapping.h.
|
friend |
Definition at line 829 of file CoverageMapping.h.