ΒΆbool getValueProfDataFromInst(
const llvm::Instruction& Inst,
llvm::InstrProfValueKind ValueKind,
uint32_t MaxNumValueData,
InstrProfValueData* ValueData,
uint32_t& ActualNumValueData,
uint64_t& TotalC,
bool GetNoICPValue = false)
bool getValueProfDataFromInst(
const llvm::Instruction& Inst,
llvm::InstrProfValueKind ValueKind,
uint32_t MaxNumValueData,
InstrProfValueData* ValueData,
uint32_t& ActualNumValueData,
uint64_t& TotalC,
bool GetNoICPValue = false)
Description
Extract the value profile data from \p Inst which is annotated with value profile meta data. Return false if there is no value data annotated, otherwise return true.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:260
Parameters
- const llvm::Instruction& Inst
- llvm::InstrProfValueKind ValueKind
- uint32_t MaxNumValueData
- InstrProfValueData* ValueData
- uint32_t& ActualNumValueData
- uint64_t& TotalC
- bool GetNoICPValue = false