struct CovMapFunctionRecordV1
Declaration
template <class IntPtrT>
struct CovMapFunctionRecordV1 { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:820
Templates
- IntPtrT
Member Variables
- public const IntPtrT NamePtr
- public const uint32_t NameSize
- public const uint32_t DataSize
- public const uint64_t FuncHash
Method Overview
- public CovMapFunctionRecordV1<IntPtrT>()
- public template <support::endianness Endian>std::pair<const char *, const ThisT *> advanceByOne(const char * MappingBuf) const
- public template <support::endianness Endian>llvm::StringRef getCoverageMapping(const char * MappingBuf) const
- public template <support::endianness Endian>uint64_t getDataSize() const
- public template <support::endianness Endian>uint64_t getFilenamesRef() const
- public template <support::endianness Endian>uint64_t getFuncHash() const
- public template <support::endianness Endian>llvm::Error getFuncName(llvm::InstrProfSymtab & ProfileNames, llvm::StringRef & FuncName) const
- public template <support::endianness Endian>IntPtrT getFuncNameRef() const
Methods
¶CovMapFunctionRecordV1<IntPtrT>()
CovMapFunctionRecordV1<IntPtrT>()
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:827
¶template <support::endianness Endian>
std::pair<const char*, const ThisT*> advanceByOne(
const char* MappingBuf) const
template <support::endianness Endian>
std::pair<const char*, const ThisT*> advanceByOne(
const char* MappingBuf) const
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:855
Templates
- support::endianness Endian
Parameters
- const char* MappingBuf
¶template <support::endianness Endian>
llvm::StringRef getCoverageMapping(
const char* MappingBuf) const
template <support::endianness Endian>
llvm::StringRef getCoverageMapping(
const char* MappingBuf) const
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:864
Templates
- support::endianness Endian
Parameters
- const char* MappingBuf
¶template <support::endianness Endian>
uint64_t getDataSize() const
template <support::endianness Endian>
uint64_t getDataSize() const
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:833
Templates
- support::endianness Endian
¶template <support::endianness Endian>
uint64_t getFilenamesRef() const
template <support::endianness Endian>
uint64_t getFilenamesRef() const
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:859
Templates
- support::endianness Endian
¶template <support::endianness Endian>
uint64_t getFuncHash() const
template <support::endianness Endian>
uint64_t getFuncHash() const
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:829
Templates
- support::endianness Endian
¶template <support::endianness Endian>
llvm::Error getFuncName(
llvm::InstrProfSymtab& ProfileNames,
llvm::StringRef& FuncName) const
template <support::endianness Endian>
llvm::Error getFuncName(
llvm::InstrProfSymtab& ProfileNames,
llvm::StringRef& FuncName) const
Description
Return the PGO name of the function.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:844
Templates
- support::endianness Endian
Parameters
- llvm::InstrProfSymtab& ProfileNames
- llvm::StringRef& FuncName
¶template <support::endianness Endian>
IntPtrT getFuncNameRef() const
template <support::endianness Endian>
IntPtrT getFuncNameRef() const
Description
Return function lookup key. The value is consider opaque.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:838
Templates
- support::endianness Endian