Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingInternal.h114 struct ValueProfData;
129 struct ValueProfRecord *(*GetFirstValueProfRecord)(struct ValueProfData *);
162 void lprofMergeValueProfData(struct ValueProfData *SrcValueProfData,
194 extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
H A DInstrProfilingMerge.c20 void (*VPMergeHook)(ValueProfData *, __llvm_profile_data *);
139 VPMergeHook((ValueProfData *)SrcValueProfData, DstData); in __llvm_profile_merge_from_buffer()
141 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp779 ValueProfData *VD = in allocValueProfDataInstrProf()
780 (ValueProfData *)(new (::operator new(TotalSizeInBytes)) ValueProfData()); in allocValueProfDataInstrProf()
803 std::unique_ptr<ValueProfData>
804 ValueProfData::serializeFrom(const InstrProfRecord &Record) { in serializeFrom()
807 std::unique_ptr<ValueProfData> VPD( in serializeFrom()
852 void ValueProfData::deserializeTo(InstrProfRecord &Record, in deserializeTo()
876 ValueProfData()); in allocValueProfData()
879 Error ValueProfData::checkIntegrity() { in checkIntegrity()
897 Expected<std::unique_ptr<ValueProfData>>
898 ValueProfData::getValueProfData(const unsigned char *D, in getValueProfData()
[all …]
H A DInstrProfWriter.cpp129 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()
157 std::unique_ptr<ValueProfData> VDataPtr = in EmitData()
158 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
H A DInstrProfReader.cpp471 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
472 ValueProfData::getValueProfData( in readValueProfilingData()
559 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
560 ValueProfData::getValueProfData(D, End, ValueProfDataEndianness); in readValueProfilingData()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc352 typedef struct ValueProfData {
385 static std::unique_ptr<ValueProfData>
396 static Expected<std::unique_ptr<ValueProfData>>
419 } ValueProfData;
450 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
454 getFirstValueProfRecord(ValueProfData *VPD);
540 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
553 uint32_t TotalSize = sizeof(ValueProfData);
595 INSTR_PROF_VISIBILITY ValueProfData *
597 ValueProfData *DstData) {
[all …]
H A DInstrProf.h700 ? std::make_unique<ValueProfData>(*RHS.ValueData) in InstrProfRecord()
710 ValueData = std::make_unique<ValueProfData>(*RHS.ValueData);
789 struct ValueProfData { struct
793 std::unique_ptr<ValueProfData> ValueData;
822 ValueData = std::make_unique<ValueProfData>(); in getOrCreateValueSitesForKind()
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc352 typedef struct ValueProfData {
385 static std::unique_ptr<ValueProfData>
396 static Expected<std::unique_ptr<ValueProfData>>
419 } ValueProfData;
450 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
454 getFirstValueProfRecord(ValueProfData *VPD);
540 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
553 uint32_t TotalSize = sizeof(ValueProfData);
595 INSTR_PROF_VISIBILITY ValueProfData *
597 ValueProfData *DstData) {
[all …]