ΒΆbool getValueProfDataFromInst(
const llvm::Instruction& Inst,
llvm::InstrProfValueKind ValueKind,
uint32_t MaxNumValueData,
InstrProfValueData* ValueData,
uint32_t& ActualNumValueData,
uint64_t& TotalC)
bool getValueProfDataFromInst(
const llvm::Instruction& Inst,
llvm::InstrProfValueKind ValueKind,
uint32_t MaxNumValueData,
InstrProfValueData* ValueData,
uint32_t& ActualNumValueData,
uint64_t& TotalC)
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:253
Parameters
- const llvm::Instruction& Inst
- llvm::InstrProfValueKind ValueKind
- uint32_t MaxNumValueData
- InstrProfValueData* ValueData
- uint32_t& ActualNumValueData
- uint64_t& TotalC