13#ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_PERFSHAREDSTRUCTS_H
14#define LLVM_EXECUTIONENGINE_ORC_SHARED_PERFSHAREDSTRUCTS_H
96 return SPSPerfJITRecordPrefix::AsArgList::size(
101 if (!SPSPerfJITRecordPrefix::AsArgList::deserialize(IB, Id, Val.
TotalSize))
107 return SPSPerfJITRecordPrefix::AsArgList::serialize(
120 return SPSPerfJITCodeLoadRecord::AsArgList::size(
126 return SPSPerfJITCodeLoadRecord::AsArgList::deserialize(
132 return SPSPerfJITCodeLoadRecord::AsArgList::serialize(
144 return SPSPerfJITDebugEntry::AsArgList::size(Val.
Addr, Val.
Lineno,
149 return SPSPerfJITDebugEntry::AsArgList::deserialize(
154 return SPSPerfJITDebugEntry::AsArgList::serialize(OB, Val.
Addr, Val.
Lineno,
167 return SPSPerfJITDebugInfoRecord::AsArgList::size(Val.
Prefix, Val.
CodeAddr,
171 return SPSPerfJITDebugInfoRecord::AsArgList::deserialize(
176 return SPSPerfJITDebugInfoRecord::AsArgList::serialize(
189 return SPSPerfJITCodeUnwindingInfoRecord::AsArgList::size(
195 return SPSPerfJITCodeUnwindingInfoRecord::AsArgList::deserialize(
201 return SPSPerfJITCodeUnwindingInfoRecord::AsArgList::serialize(
214 return SPSPerfJITRecordBatch::AsArgList::size(
218 return SPSPerfJITRecordBatch::AsArgList::deserialize(
222 return SPSPerfJITRecordBatch::AsArgList::serialize(
Output char buffer with overflow check.
SPS tag type for sequences.
static bool deserialize(SPSInputBuffer &IB, PerfJITCodeLoadRecord &Val)
static size_t size(const PerfJITCodeLoadRecord &Val)
static bool serialize(SPSOutputBuffer &OB, const PerfJITCodeLoadRecord &Val)
static size_t size(const PerfJITCodeUnwindingInfoRecord &Val)
static bool serialize(SPSOutputBuffer &OB, const PerfJITCodeUnwindingInfoRecord &Val)
static bool deserialize(SPSInputBuffer &IB, PerfJITCodeUnwindingInfoRecord &Val)
static size_t size(const PerfJITDebugEntry &Val)
static bool deserialize(SPSInputBuffer &IB, PerfJITDebugEntry &Val)
static bool serialize(SPSOutputBuffer &OB, const PerfJITDebugEntry &Val)
static bool deserialize(SPSInputBuffer &IB, PerfJITDebugInfoRecord &Val)
static bool serialize(SPSOutputBuffer &OB, const PerfJITDebugInfoRecord &Val)
static size_t size(const PerfJITDebugInfoRecord &Val)
static bool serialize(SPSOutputBuffer &OB, const PerfJITRecordBatch &Val)
static size_t size(const PerfJITRecordBatch &Val)
static bool deserialize(SPSInputBuffer &IB, PerfJITRecordBatch &Val)
static bool deserialize(SPSInputBuffer &IB, PerfJITRecordPrefix &Val)
static size_t size(const PerfJITRecordPrefix &Val)
static bool serialize(SPSOutputBuffer &OB, const PerfJITRecordPrefix &Val)
Specialize to describe how to serialize/deserialize to/from the given concrete type.
SPSSequence< char > SPSString
SPS tag type for strings, which are equivalent to sequences of chars.
SPSTuple< uint32_t, uint32_t > SPSPerfJITRecordPrefix
@ JIT_CODE_UNWINDING_INFO
This is an optimization pass for GlobalISel generic memory operations.
PerfJITRecordPrefix Prefix
PerfJITRecordPrefix Prefix
std::vector< PerfJITDebugEntry > Entries
PerfJITRecordPrefix Prefix
std::vector< PerfJITDebugInfoRecord > DebugInfoRecords
PerfJITCodeUnwindingInfoRecord UnwindingRecord
std::vector< PerfJITCodeLoadRecord > CodeLoadRecords