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 832 of file CoverageMapping.h.
|
delete |
|
default |
|
inline |
Get the column where the common function was defined.
Definition at line 854 of file CoverageMapping.h.
|
inline |
Get the instantiations in this group.
Definition at line 879 of file CoverageMapping.h.
|
inline |
Get the line where the common function was defined.
Definition at line 851 of file CoverageMapping.h.
|
inline |
Get the common mangled name for instantiations in this group.
Definition at line 865 of file CoverageMapping.h.
|
inline |
Get the total execution count of all instantiations in this group.
Definition at line 871 of file CoverageMapping.h.
References F.
|
inline |
|
inline |
Get the number of instantiations in this group.
Definition at line 848 of file CoverageMapping.h.
|
friend |
Definition at line 833 of file CoverageMapping.h.