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

Methods

InstantiationGroup(
    const llvm::coverage::InstantiationGroup&)

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:433

Parameters

const llvm::coverage::InstantiationGroup&

InstantiationGroup(
    llvm::coverage::InstantiationGroup&&)

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:434

Parameters

llvm::coverage::InstantiationGroup&&

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

Description

Get the instantiations in this group.

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:468

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

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

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

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

Description

Get the number of instantiations in this group.

Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:437