LLVM 19.0.0git
Public Types | Public Member Functions | List of all members
llvm::coverage::CovMapFunctionRecordV1< IntPtrT > Struct Template Reference

#include "llvm/ProfileData/Coverage/CoverageMapping.h"

Public Types

using ThisT = CovMapFunctionRecordV1< IntPtrT >
 

Public Member Functions

 CovMapFunctionRecordV1 ()=delete
 
template<llvm::endianness Endian>
uint64_t getFuncHash () const
 
template<llvm::endianness Endian>
uint64_t getDataSize () const
 
template<llvm::endianness Endian>
IntPtrT getFuncNameRef () const
 Return function lookup key. The value is consider opaque.
 
template<llvm::endianness Endian>
Error getFuncName (InstrProfSymtab &ProfileNames, StringRef &FuncName) const
 Return the PGO name of the function.
 
template<llvm::endianness Endian>
std::pair< const char *, const ThisT * > advanceByOne (const char *MappingBuf) const
 
template<llvm::endianness Endian>
uint64_t getFilenamesRef () const
 
template<llvm::endianness Endian>
StringRef getCoverageMapping (const char *MappingBuf) const
 

Detailed Description

template<class IntPtrT>
struct llvm::coverage::CovMapFunctionRecordV1< IntPtrT >

Definition at line 1190 of file CoverageMapping.h.

Member Typedef Documentation

◆ ThisT

Definition at line 1191 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ CovMapFunctionRecordV1()

template<class IntPtrT >
llvm::coverage::CovMapFunctionRecordV1< IntPtrT >::CovMapFunctionRecordV1 ( )
delete

Member Function Documentation

◆ advanceByOne()

template<class IntPtrT >
template<llvm::endianness Endian>
std::pair< const char *, const ThisT * > llvm::coverage::CovMapFunctionRecordV1< IntPtrT >::advanceByOne ( const char MappingBuf) const
inline

Definition at line 1226 of file CoverageMapping.h.

◆ getCoverageMapping()

template<class IntPtrT >
template<llvm::endianness Endian>
StringRef llvm::coverage::CovMapFunctionRecordV1< IntPtrT >::getCoverageMapping ( const char MappingBuf) const
inline

Definition at line 1235 of file CoverageMapping.h.

◆ getDataSize()

template<class IntPtrT >
template<llvm::endianness Endian>
uint64_t llvm::coverage::CovMapFunctionRecordV1< IntPtrT >::getDataSize ( ) const
inline

Definition at line 1203 of file CoverageMapping.h.

◆ getFilenamesRef()

template<class IntPtrT >
template<llvm::endianness Endian>
uint64_t llvm::coverage::CovMapFunctionRecordV1< IntPtrT >::getFilenamesRef ( ) const
inline

Definition at line 1230 of file CoverageMapping.h.

References llvm_unreachable.

◆ getFuncHash()

template<class IntPtrT >
template<llvm::endianness Endian>
uint64_t llvm::coverage::CovMapFunctionRecordV1< IntPtrT >::getFuncHash ( ) const
inline

Definition at line 1199 of file CoverageMapping.h.

◆ getFuncName()

template<class IntPtrT >
template<llvm::endianness Endian>
Error llvm::coverage::CovMapFunctionRecordV1< IntPtrT >::getFuncName ( InstrProfSymtab ProfileNames,
StringRef FuncName 
) const
inline

◆ getFuncNameRef()

template<class IntPtrT >
template<llvm::endianness Endian>
IntPtrT llvm::coverage::CovMapFunctionRecordV1< IntPtrT >::getFuncNameRef ( ) const
inline

Return function lookup key. The value is consider opaque.

Definition at line 1208 of file CoverageMapping.h.


The documentation for this struct was generated from the following file: