Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProf.cpp637 ValueProfData *VD = in allocValueProfDataInstrProf()
638 (ValueProfData *)(new (::operator new(TotalSizeInBytes)) ValueProfData()); in allocValueProfDataInstrProf()
661 std::unique_ptr<ValueProfData>
662 ValueProfData::serializeFrom(const InstrProfRecord &Record) { in serializeFrom()
665 std::unique_ptr<ValueProfData> VPD( in serializeFrom()
710 void ValueProfData::deserializeTo(InstrProfRecord &Record, in deserializeTo()
734 ValueProfData()); in allocValueProfData()
737 Error ValueProfData::checkIntegrity() { in checkIntegrity()
755 Expected<std::unique_ptr<ValueProfData>>
756 ValueProfData::getValueProfData(const unsigned char *D, in getValueProfData()
[all …]
H A DInstrProfWriter.cpp129 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()
154 std::unique_ptr<ValueProfData> VDataPtr = in EmitData()
155 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
H A DInstrProfReader.cpp446 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
447 ValueProfData::getValueProfData( in readValueProfilingData()
507 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
508 ValueProfData::getValueProfData(D, End, ValueProfDataEndianness); in readValueProfilingData()
/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DInstrProfilingInternal.h108 struct ValueProfData;
123 struct ValueProfRecord *(*GetFirstValueProfRecord)(struct ValueProfData *);
156 void lprofMergeValueProfData(struct ValueProfData *SrcValueProfData,
188 extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
H A DInstrProfilingMerge.c21 void (*VPMergeHook)(ValueProfData *, __llvm_profile_data *);
92 ValueProfData *SrcValueProfDataStart, *SrcValueProfData; in __llvm_profile_merge_from_buffer()
100 (ValueProfData *)(SrcNameStart + Header->NamesSize + in __llvm_profile_merge_from_buffer()
130 SrcValueProfData = (ValueProfData *)((char *)SrcValueProfData + in __llvm_profile_merge_from_buffer()
H A DInstrProfData.inc332 typedef struct ValueProfData {
365 static std::unique_ptr<ValueProfData>
376 static Expected<std::unique_ptr<ValueProfData>>
399 } ValueProfData;
430 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
434 getFirstValueProfRecord(ValueProfData *VPD);
520 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
533 uint32_t TotalSize = sizeof(ValueProfData);
575 INSTR_PROF_VISIBILITY ValueProfData *
577 ValueProfData *DstData) {
[all …]
H A DInstrProfilingMergeFile.c24 void lprofMergeValueProfData(ValueProfData *SrcValueProfData, in lprofMergeValueProfData()
H A DInstrProfilingWriter.c124 ValueProfData VPHeader; in writeOneValueProfData()
150 sizeof(ValueProfData))) in writeOneValueProfData()
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc332 typedef struct ValueProfData {
365 static std::unique_ptr<ValueProfData>
376 static Expected<std::unique_ptr<ValueProfData>>
399 } ValueProfData;
430 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
434 getFirstValueProfRecord(ValueProfData *VPD);
520 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
533 uint32_t TotalSize = sizeof(ValueProfData);
575 INSTR_PROF_VISIBILITY ValueProfData *
577 ValueProfData *DstData) {
[all …]
H A DInstrProf.h631 ? llvm::make_unique<ValueProfData>(*RHS.ValueData) in InstrProfRecord()
641 ValueData = llvm::make_unique<ValueProfData>(*RHS.ValueData);
708 struct ValueProfData { struct
712 std::unique_ptr<ValueProfData> ValueData;
741 ValueData = llvm::make_unique<ValueProfData>(); in getOrCreateValueSitesForKind()