ΒΆllvm::ValueProfData* serializeValueProfDataFrom(
llvm::ValueProfRecordClosure* Closure,
llvm::ValueProfData* DstData)
llvm::ValueProfData* serializeValueProfDataFrom(
llvm::ValueProfRecordClosure* Closure,
llvm::ValueProfData* DstData)
Description
Extract value profile data of a function from the \c Closure and serialize the data into \c DstData if it is not NULL or heap memory allocated by the \c Closure's allocator method. If \c DstData is not null, the caller is expected to set the TotalSize in DstData.
Declared at: llvm/include/llvm/ProfileData/InstrProfData.inc:580
Parameters
- llvm::ValueProfRecordClosure* Closure
- llvm::ValueProfData* DstData