struct ValueProfRecord
Declaration
struct ValueProfRecord { /* full declaration omitted */ };
Description
This is the header of the data structure that defines the on-disk layout of the value profile data of a particular kind for one function.
Declared at: llvm/include/llvm/ProfileData/InstrProfData.inc:286
Member Variables
- public uint32_t Kind
- public uint32_t NumValueSites
- public uint8_t[1] SiteCountArray
Method Overview
- public void deserializeTo(llvm::InstrProfRecord & Record, llvm::InstrProfSymtab * SymTab)
- public uint32_t getNumValueSites() const
- public void swapBytes(support::endianness Old, support::endianness New)
Methods
¶void deserializeTo(llvm::InstrProfRecord& Record,
llvm::InstrProfSymtab* SymTab)
void deserializeTo(llvm::InstrProfRecord& Record,
llvm::InstrProfSymtab* SymTab)
Description
Read data from this record and save it to Record.
Declared at: llvm/include/llvm/ProfileData/InstrProfData.inc:321
Parameters
- llvm::InstrProfRecord& Record
- llvm::InstrProfSymtab* SymTab
¶uint32_t getNumValueSites() const
uint32_t getNumValueSites() const
Description
Return the number of value sites.
Declared at: llvm/include/llvm/ProfileData/InstrProfData.inc:317
¶void swapBytes(support::endianness Old,
support::endianness New)
void swapBytes(support::endianness Old,
support::endianness New)
Declared at: llvm/include/llvm/ProfileData/InstrProfData.inc:328
Parameters
- support::endianness Old
- support::endianness New