class InstantiationGroup
Declaration
class InstantiationGroup { /* full declaration omitted */ };
Description
An instantiation group contains a \c 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).
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:421
Method Overview
- public InstantiationGroup(const llvm::coverage::InstantiationGroup &)
- public InstantiationGroup(llvm::coverage::InstantiationGroup &&)
- public unsigned int getColumn() const
- public ArrayRef<const llvm::coverage::FunctionRecord *> getInstantiations() const
- public unsigned int getLine() const
- public llvm::StringRef getName() const
- public uint64_t getTotalExecutionCount() const
- public bool hasName() const
- public size_t size() const
Methods
¶InstantiationGroup(
const llvm::coverage::InstantiationGroup&)
InstantiationGroup(
const llvm::coverage::InstantiationGroup&)
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:433
Parameters
¶InstantiationGroup(
llvm::coverage::InstantiationGroup&&)
InstantiationGroup(
llvm::coverage::InstantiationGroup&&)
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:434
Parameters
¶unsigned int getColumn() const
unsigned int getColumn() const
Description
Get the column where the common function was defined.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:443
¶ArrayRef<const llvm::coverage::FunctionRecord*>
getInstantiations() const
ArrayRef<const llvm::coverage::FunctionRecord*>
getInstantiations() const
Description
Get the instantiations in this group.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:468
¶unsigned int getLine() const
unsigned int getLine() const
Description
Get the line where the common function was defined.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:440
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Description
Get the common mangled name for instantiations in this group.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:454
¶uint64_t getTotalExecutionCount() const
uint64_t getTotalExecutionCount() const
Description
Get the total execution count of all instantiations in this group.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:460
¶bool hasName() const
bool hasName() const
Description
Check if the instantiations in this group have a common mangled name.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:446
¶size_t size() const
size_t size() const
Description
Get the number of instantiations in this group.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:437