LLVM
8.0.1
|
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. More... | |
unsigned | getLine () const |
Get the line where the common function was defined. More... | |
unsigned | getColumn () const |
Get the column where the common function was defined. More... | |
bool | hasName () const |
Check if the instantiations in this group have a common mangled name. More... | |
StringRef | getName () const |
Get the common mangled name for instantiations in this group. More... | |
uint64_t | getTotalExecutionCount () const |
Get the total execution count of all instantiations in this group. More... | |
ArrayRef< const FunctionRecord * > | getInstantiations () const |
Get the instantiations in this group. More... | |
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 417 of file CoverageMapping.h.
|
delete |
|
default |
|
inline |
Get the column where the common function was defined.
Definition at line 439 of file CoverageMapping.h.
|
inline |
Get the instantiations in this group.
Definition at line 464 of file CoverageMapping.h.
|
inline |
Get the line where the common function was defined.
Definition at line 436 of file CoverageMapping.h.
|
inline |
Get the common mangled name for instantiations in this group.
Definition at line 450 of file CoverageMapping.h.
References assert().
|
inline |
Get the total execution count of all instantiations in this group.
Definition at line 456 of file CoverageMapping.h.
References F().
|
inline |
|
inline |
Get the number of instantiations in this group.
Definition at line 433 of file CoverageMapping.h.
|
friend |
Definition at line 418 of file CoverageMapping.h.