Home
last modified time | relevance | path

Searched refs:ValueProfData (Results 1 – 10 of 10) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingInternal.h114 struct ValueProfData;
129 struct ValueProfRecord *(*GetFirstValueProfRecord)(struct ValueProfData *);
161 void lprofMergeValueProfData(struct ValueProfData *SrcValueProfData,
193 extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
H A DInstrProfilingMerge.c20 void (*VPMergeHook)(ValueProfData *, __llvm_profile_data *);
179 VPMergeHook((ValueProfData *)SrcValueProfData, DstData); in __llvm_profile_merge_from_buffer()
181 SrcValueProfData + ((ValueProfData *)SrcValueProfData)->TotalSize; in __llvm_profile_merge_from_buffer()
H A DInstrProfilingMergeFile.c24 void lprofMergeValueProfData(ValueProfData *SrcValueProfData, in lprofMergeValueProfData()
H A DInstrProfilingWriter.c130 ValueProfData VPHeader; in writeOneValueProfData()
156 sizeof(ValueProfData))) in writeOneValueProfData()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProf.cpp835 ValueProfData *allocValueProfDataInstrProf(size_t TotalSizeInBytes) { in allocValueProfDataInstrProf()
836 ValueProfData *VD = in allocValueProfDataInstrProf()
837 (ValueProfData *)(new (::operator new(TotalSizeInBytes)) ValueProfData()); in allocValueProfDataInstrProf()
853 uint32_t ValueProfData::getSize(const InstrProfRecord &Record) { in getSize()
860 std::unique_ptr<ValueProfData>
861 ValueProfData::serializeFrom(const InstrProfRecord &Record) { in serializeFrom()
864 std::unique_ptr<ValueProfData> VPD( in serializeFrom()
909 void ValueProfData::deserializeTo(InstrProfRecord &Record, in deserializeTo()
931 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData()
932 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData()
[all …]
H A DInstrProfWriter.cpp135 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()
163 std::unique_ptr<ValueProfData> VDataPtr = in EmitData()
164 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
H A DInstrProfReader.cpp615 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
616 ValueProfData::getValueProfData( in readValueProfilingData()
691 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
692 ValueProfData::getValueProfData(D, End, ValueProfDataEndianness); in readValueProfilingData()
/openbsd-src/gnu/llvm/compiler-rt/include/profile/
H A DInstrProfData.inc353 typedef struct ValueProfData {
384 * Return a pointer to \c ValueProfData instance ready to be streamed.
386 static std::unique_ptr<ValueProfData>
397 static Expected<std::unique_ptr<ValueProfData>>
420 } ValueProfData;
430 * format: ValueProfData. The abstraction allows compiler-rt's raw profiler
451 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
455 getFirstValueProfRecord(ValueProfData *VPD);
541 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
542 return (ValueProfRecord *)((char *)This + sizeof(ValueProfData));
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc353 typedef struct ValueProfData {
384 * Return a pointer to \c ValueProfData instance ready to be streamed.
386 static std::unique_ptr<ValueProfData>
397 static Expected<std::unique_ptr<ValueProfData>>
420 } ValueProfData;
430 * format: ValueProfData. The abstraction allows compiler-rt's raw profiler
451 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
455 getFirstValueProfRecord(ValueProfData *VPD);
541 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
542 return (ValueProfRecord *)((char *)This + sizeof(ValueProfData));
[all …]
H A DInstrProf.h739 ? std::make_unique<ValueProfData>(*RHS.ValueData) in InstrProfRecord()
749 ValueData = std::make_unique<ValueProfData>(*RHS.ValueData);
852 struct ValueProfData { struct
856 std::unique_ptr<ValueProfData> ValueData;
885 ValueData = std::make_unique<ValueProfData>(); in getOrCreateValueSitesForKind()