LLVM 22.0.0git
llvm::coverage::CovMapFunctionRecordV2 Struct Reference

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

Public Types

using ThisT = CovMapFunctionRecordV2

Public Member Functions

 INSTR_PROF_DATA (const uint64_t, llvm::Type::getInt64Ty(Ctx), NameRef, ConstantInt::get(llvm::Type::getInt64Ty(Ctx), IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName())))) INSTR_PROF_DATA(const uint64_t
 llvm::Type::getInt64Ty (Ctx)
 ConstantInt::get (llvm::Type::getInt64Ty(Ctx), Inc->getHash() ->getZExtValue())) INSTR_PROF_DATA(const IntPtrT
 llvm::PointerType::getUnqual (Ctx)
FunctionAddr INSTR_PROF_DATA (IntPtrT, llvm::PointerType::getUnqual(Ctx), Values, ValuesPtrExpr) INSTR_PROF_DATA(const uint32_t
FunctionAddr llvm::Type::getInt32Ty (Ctx)
FunctionAddr ConstantInt::get (llvm::Type::getInt32Ty(Ctx), NumCounters)) INSTR_PROF_DATA(const uint16_t
FunctionAddr ConstantArray::get (Int16ArrayTy, Int16ArrayVals)) INSTR_PROF_DATA(const uint32_t
FunctionAddr llvm::Type::getInt32Ty (Ctx)
FunctionAddr ConstantInt::get (llvm::Type::getInt32Ty(Ctx), NumBitmapBytes)) INSTR_PROF_VTABLE_DATA(const uint64_t
FunctionAddr llvm::Type::getInt64Ty (Ctx)
FunctionAddr ConstantInt::get (llvm::Type::getInt64Ty(Ctx), IndexedInstrProf::ComputeHash(PGOVTableName))) INSTR_PROF_VTABLE_DATA(const IntPtrT
FunctionAddr llvm::PointerType::getUnqual (Ctx)
FunctionAddr VTableAddr INSTR_PROF_VTABLE_DATA (const uint32_t, llvm::Type::getInt32Ty(Ctx), VTableSize, ConstantInt::get(llvm::Type::getInt32Ty(Ctx), VTableSizeVal)) INSTR_PROF_VALUE_NODE(uint64_t
FunctionAddr VTableAddr llvm::Type::getInt64Ty (Ctx)
FunctionAddr VTableAddr ConstantInt::get (llvm::Type::GetInt64Ty(Ctx), 0)) INSTR_PROF_VALUE_NODE(uint64_t
FunctionAddr VTableAddr llvm::Type::getInt64Ty (Ctx)
FunctionAddr VTableAddr ConstantInt::get (llvm::Type::GetInt64Ty(Ctx), 0)) INSTR_PROF_VALUE_NODE(PtrToNodeT
FunctionAddr VTableAddr llvm::PointerType::getUnqual (Ctx)
FunctionAddr VTableAddr ConstantInt::get (llvm::PointerType::getUnqual(Ctx), 0)) INSTR_PROF_RAW_HEADER(uint64_t
FunctionAddr VTableAddr uintptr_t CountersBegin (uintptr_t) DataBegin) INSTR_PROF_RAW_HEADER(uint64_t
FunctionAddr VTableAddr uintptr_t uintptr_t BitmapBegin (uintptr_t) DataBegin) VALUE_PROF_FUNC_PARAM(uint64_t
FunctionAddr VTableAddr uintptr_t uintptr_t Type::getInt64Ty (Ctx)) INSTR_PROF_COMMA VALUE_PROF_FUNC_PARAM(void *
FunctionAddr VTableAddr uintptr_t uintptr_t PointerType::getUnqual (Ctx)) INSTR_PROF_COMMA COVMAP_FUNC_RECORD(const int64_t
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::Type::getInt64Ty (Ctx)
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::ConstantInt::get (llvm::Type::getInt64Ty(Ctx), NameHash)) COVMAP_FUNC_RECORD(const uint32_t
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::Type::getInt32Ty (Ctx)
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::ConstantInt::get (llvm::Type::getInt32Ty(Ctx), CoverageMapping.size())) COVMAP_FUNC_RECORD(const uint64_t
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::Type::getInt64Ty (Ctx)
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::ConstantInt::get (llvm::Type::getInt64Ty(Ctx), FuncHash)) COVMAP_HEADER(uint32_t
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::ConstantInt::get (Int32Ty, NRecords)) COVMAP_HEADER(uint32_t
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::ConstantInt::get (Int32Ty, FilenamesSize)) COVMAP_HEADER(uint32_t
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::ConstantInt::get (Int32Ty, CoverageMappingSize)) COVMAP_HEADER(uint32_t
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::ConstantInt::get (Int32Ty, CovMapVersion::CurrentVersion)) COVINIT_FUNC(IntPtrT
FunctionAddr VTableAddr uintptr_t uintptr_t llvm::PointerType::getUnqual (Ctx)
FunctionAddr VTableAddr uintptr_t uintptr_t WriteoutF COVINIT_FUNC (IntPtrT, llvm::PointerType::getUnqual(Ctx), ResetFunction, ResetF) CovMapFunctionRecordV2()=delete
template<llvm::endianness Endian>
uint64_t getFuncHash () const
template<llvm::endianness Endian>
uint64_t getDataSize () const
template<llvm::endianness Endian>
uint64_t getFuncNameRef () const
template<llvm::endianness Endian>
Error getFuncName (InstrProfSymtab &ProfileNames, StringRef &FuncName) const
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

Public Attributes

 FuncHash
 FunctionPointer
FunctionAddr NumCounters
FunctionAddr Int16ArrayTy
FunctionAddr NumValueSites [IPVK_Last+1]
FunctionAddr NumBitmapBytes
FunctionAddr VTableNameHash
FunctionAddr VTablePointer
FunctionAddr VTableAddr Value
FunctionAddr VTableAddr Count
FunctionAddr VTableAddr Next
FunctionAddr VTableAddr CountersDelta
FunctionAddr VTableAddr uintptr_t BitmapDelta
FunctionAddr VTableAddr uintptr_t uintptr_t TargetValue
FunctionAddr VTableAddr uintptr_t uintptr_t Data
FunctionAddr VTableAddr uintptr_t uintptr_t NameRef
FunctionAddr VTableAddr uintptr_t uintptr_t DataSize
FunctionAddr VTableAddr uintptr_t uintptr_t FuncHash
FunctionAddr VTableAddr uintptr_t uintptr_t Int32Ty
FunctionAddr VTableAddr uintptr_t uintptr_t NRecords
FunctionAddr VTableAddr uintptr_t uintptr_t FilenamesSize
FunctionAddr VTableAddr uintptr_t uintptr_t CoverageSize
FunctionAddr VTableAddr uintptr_t uintptr_t Version
FunctionAddr VTableAddr uintptr_t uintptr_t WriteoutFunction

Detailed Description

Definition at line 1315 of file CoverageMapping.h.

Member Typedef Documentation

◆ ThisT

Member Function Documentation

◆ advanceByOne()

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

Definition at line 1027 of file CoverageMapping.h.

◆ BitmapBegin()

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::BitmapBegin ( uintptr_t )

◆ ConstantArray::get()

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::ConstantArray::get ( Int16ArrayTy ,
Int16ArrayVals  ) const

◆ ConstantInt::get() [1/7]

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::ConstantInt::get ( llvm::PointerType::getUnqual(Ctx) ,
0  )

◆ ConstantInt::get() [2/7]

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::ConstantInt::get ( llvm::Type::getInt32Ty(Ctx) ,
NumBitmapBytes  ) const

◆ ConstantInt::get() [3/7]

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::ConstantInt::get ( llvm::Type::getInt32Ty(Ctx) ,
NumCounters  ) const

◆ ConstantInt::get() [4/7]

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::ConstantInt::get ( llvm::Type::GetInt64Ty(Ctx) ,
0  )

◆ ConstantInt::get() [5/7]

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::ConstantInt::get ( llvm::Type::GetInt64Ty(Ctx) ,
0  )

◆ ConstantInt::get() [6/7]

llvm::coverage::CovMapFunctionRecordV2::ConstantInt::get ( llvm::Type::getInt64Ty(Ctx) ,
Inc-> getHash) ->getZExtValue( ) const

◆ ConstantInt::get() [7/7]

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::ConstantInt::get ( llvm::Type::getInt64Ty(Ctx) ,
IndexedInstrProf::ComputeHash(PGOVTableName)  ) const

◆ CountersBegin()

FunctionAddr VTableAddr uintptr_t llvm::coverage::CovMapFunctionRecordV2::CountersBegin ( uintptr_t )

◆ COVINIT_FUNC()

FunctionAddr VTableAddr uintptr_t uintptr_t WriteoutF llvm::coverage::CovMapFunctionRecordV2::COVINIT_FUNC ( IntPtrT ,
llvm::PointerType::getUnqual(Ctx) ,
ResetFunction ,
ResetF  )
delete

◆ getCoverageMapping()

template<llvm::endianness Endian>
StringRef llvm::coverage::CovMapFunctionRecordV2::getCoverageMapping ( const char * MappingBuf) const
inline

Definition at line 1036 of file CoverageMapping.h.

◆ getDataSize()

template<llvm::endianness Endian>
uint64_t llvm::coverage::CovMapFunctionRecordV2::getDataSize ( ) const
inline

Definition at line 1011 of file CoverageMapping.h.

◆ getFilenamesRef()

template<llvm::endianness Endian>
uint64_t llvm::coverage::CovMapFunctionRecordV2::getFilenamesRef ( ) const
inline

Definition at line 1031 of file CoverageMapping.h.

◆ getFuncHash()

template<llvm::endianness Endian>
uint64_t llvm::coverage::CovMapFunctionRecordV2::getFuncHash ( ) const
inline

Definition at line 1007 of file CoverageMapping.h.

◆ getFuncName()

template<llvm::endianness Endian>
Error llvm::coverage::CovMapFunctionRecordV2::getFuncName ( InstrProfSymtab & ProfileNames,
StringRef & FuncName ) const
inline

Definition at line 1020 of file CoverageMapping.h.

◆ getFuncNameRef()

template<llvm::endianness Endian>
uint64_t llvm::coverage::CovMapFunctionRecordV2::getFuncNameRef ( ) const
inline

Definition at line 1015 of file CoverageMapping.h.

◆ INSTR_PROF_DATA() [1/2]

llvm::coverage::CovMapFunctionRecordV2::INSTR_PROF_DATA ( const uint64_t ,
llvm::Type::getInt64Ty(Ctx) ,
NameRef ,
ConstantInt::get(llvm::Type::getInt64Ty(Ctx), IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName())))  ) const

◆ INSTR_PROF_DATA() [2/2]

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::INSTR_PROF_DATA ( IntPtrT ,
llvm::PointerType::getUnqual(Ctx) ,
Values ,
ValuesPtrExpr  ) const

◆ INSTR_PROF_VTABLE_DATA()

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::INSTR_PROF_VTABLE_DATA ( const uint32_t ,
llvm::Type::getInt32Ty(Ctx) ,
VTableSize ,
ConstantInt::get(llvm::Type::getInt32Ty(Ctx), VTableSizeVal)  )

◆ llvm::ConstantInt::get() [1/7]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::ConstantInt::get ( Int32Ty ,
CoverageMappingSize  )

◆ llvm::ConstantInt::get() [2/7]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::ConstantInt::get ( Int32Ty ,
CovMapVersion::CurrentVersion  )

◆ llvm::ConstantInt::get() [3/7]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::ConstantInt::get ( Int32Ty ,
FilenamesSize  )

◆ llvm::ConstantInt::get() [4/7]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::ConstantInt::get ( Int32Ty ,
NRecords  )

◆ llvm::ConstantInt::get() [5/7]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::ConstantInt::get ( llvm::Type::getInt32Ty(Ctx) ,
CoverageMapping. size() ) const

◆ llvm::ConstantInt::get() [6/7]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::ConstantInt::get ( llvm::Type::getInt64Ty(Ctx) ,
FuncHash  )

◆ llvm::ConstantInt::get() [7/7]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::ConstantInt::get ( llvm::Type::getInt64Ty(Ctx) ,
NameHash  ) const

References Count.

◆ llvm::PointerType::getUnqual() [1/4]

llvm::coverage::CovMapFunctionRecordV2::llvm::PointerType::getUnqual ( Ctx )

◆ llvm::PointerType::getUnqual() [2/4]

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::llvm::PointerType::getUnqual ( Ctx )

◆ llvm::PointerType::getUnqual() [3/4]

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::llvm::PointerType::getUnqual ( Ctx )

◆ llvm::PointerType::getUnqual() [4/4]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::PointerType::getUnqual ( Ctx )

◆ llvm::Type::getInt32Ty() [1/3]

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt32Ty ( Ctx )

◆ llvm::Type::getInt32Ty() [2/3]

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt32Ty ( Ctx )

◆ llvm::Type::getInt32Ty() [3/3]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt32Ty ( Ctx )

◆ llvm::Type::getInt64Ty() [1/6]

llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt64Ty ( Ctx )

◆ llvm::Type::getInt64Ty() [2/6]

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt64Ty ( Ctx )

◆ llvm::Type::getInt64Ty() [3/6]

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt64Ty ( Ctx )

◆ llvm::Type::getInt64Ty() [4/6]

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt64Ty ( Ctx )

◆ llvm::Type::getInt64Ty() [5/6]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt64Ty ( Ctx )

◆ llvm::Type::getInt64Ty() [6/6]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::llvm::Type::getInt64Ty ( Ctx )

◆ PointerType::getUnqual()

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::PointerType::getUnqual ( Ctx ) const

◆ Type::getInt64Ty()

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::Type::getInt64Ty ( Ctx )

Member Data Documentation

◆ BitmapDelta

FunctionAddr VTableAddr uintptr_t llvm::coverage::CovMapFunctionRecordV2::BitmapDelta

Definition at line 167 of file CoverageMapping.h.

◆ Count

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::Count

Definition at line 139 of file CoverageMapping.h.

Referenced by llvm::ConstantInt::get().

◆ CountersDelta

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::CountersDelta

Definition at line 165 of file CoverageMapping.h.

◆ CoverageSize

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::CoverageSize

Definition at line 300 of file CoverageMapping.h.

◆ Data

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::Data

Definition at line 189 of file CoverageMapping.h.

◆ DataSize

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::DataSize

Definition at line 267 of file CoverageMapping.h.

◆ FilenamesSize

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::FilenamesSize

Definition at line 298 of file CoverageMapping.h.

◆ FuncHash [1/2]

llvm::coverage::CovMapFunctionRecordV2::FuncHash

Definition at line 78 of file CoverageMapping.h.

◆ FuncHash [2/2]

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::FuncHash

Definition at line 270 of file CoverageMapping.h.

◆ FunctionPointer

llvm::coverage::CovMapFunctionRecordV2::FunctionPointer

Definition at line 87 of file CoverageMapping.h.

◆ Int16ArrayTy

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::Int16ArrayTy

Definition at line 93 of file CoverageMapping.h.

◆ Int32Ty

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::Int32Ty

Definition at line 296 of file CoverageMapping.h.

◆ NameRef

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::NameRef

Definition at line 263 of file CoverageMapping.h.

◆ Next

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::Next

Definition at line 141 of file CoverageMapping.h.

◆ NRecords

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::NRecords

Definition at line 296 of file CoverageMapping.h.

◆ NumBitmapBytes

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::NumBitmapBytes

Definition at line 95 of file CoverageMapping.h.

◆ NumCounters

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::NumCounters

Definition at line 91 of file CoverageMapping.h.

◆ NumValueSites

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::NumValueSites[IPVK_Last+1]

Definition at line 93 of file CoverageMapping.h.

◆ TargetValue

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::TargetValue

Definition at line 187 of file CoverageMapping.h.

◆ Value

FunctionAddr VTableAddr llvm::coverage::CovMapFunctionRecordV2::Value

Definition at line 137 of file CoverageMapping.h.

◆ Version

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::Version

Definition at line 302 of file CoverageMapping.h.

◆ VTableNameHash

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::VTableNameHash

Definition at line 110 of file CoverageMapping.h.

◆ VTablePointer

FunctionAddr llvm::coverage::CovMapFunctionRecordV2::VTablePointer

Definition at line 113 of file CoverageMapping.h.

◆ WriteoutFunction

FunctionAddr VTableAddr uintptr_t uintptr_t llvm::coverage::CovMapFunctionRecordV2::WriteoutFunction

Definition at line 313 of file CoverageMapping.h.


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