Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingInternal.h115 struct ValueProfData;
130 struct ValueProfRecord *(*GetFirstValueProfRecord)(struct ValueProfData *);
163 void lprofMergeValueProfData(struct ValueProfData *SrcValueProfData,
195 extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
H A DInstrProfilingMerge.c20 void (*VPMergeHook)(ValueProfData *, __llvm_profile_data *);
230 VPMergeHook((ValueProfData *)SrcValueProfData, DstData); in __llvm_profile_merge_from_buffer()
232 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/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp984 ValueProfData *VD = in allocValueProfDataInstrProf()
985 (ValueProfData *)(new (::operator new(TotalSizeInBytes)) ValueProfData()); in allocValueProfDataInstrProf()
1008 std::unique_ptr<ValueProfData>
1009 ValueProfData::serializeFrom(const InstrProfRecord &Record) { in serializeFrom()
1012 std::unique_ptr<ValueProfData> VPD( in serializeFrom()
1056 void ValueProfData::deserializeTo(InstrProfRecord &Record, in deserializeTo()
1080 ValueProfData()); in allocValueProfData()
1083 Error ValueProfData::checkIntegrity() { in checkIntegrity()
1106 Expected<std::unique_ptr<ValueProfData>>
1107 ValueProfData::getValueProfData(const unsigned char *D, in getValueProfData()
[all …]
H A DInstrProfWriter.cpp139 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()
171 std::unique_ptr<ValueProfData> VDataPtr = in EmitData()
172 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
H A DInstrProfReader.cpp771 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
772 ValueProfData::getValueProfData( in readValueProfilingData()
853 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
854 ValueProfData::getValueProfData(D, End, ValueProfDataEndianness); in readValueProfilingData()
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc369 typedef struct ValueProfData {
402 static std::unique_ptr<ValueProfData>
413 static Expected<std::unique_ptr<ValueProfData>>
436 } ValueProfData;
467 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
471 getFirstValueProfRecord(ValueProfData *VPD);
557 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
570 uint32_t TotalSize = sizeof(ValueProfData);
612 INSTR_PROF_VISIBILITY ValueProfData *
614 ValueProfData *DstData) {
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc369 typedef struct ValueProfData {
402 static std::unique_ptr<ValueProfData>
413 static Expected<std::unique_ptr<ValueProfData>>
436 } ValueProfData;
467 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
471 getFirstValueProfRecord(ValueProfData *VPD);
557 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
570 uint32_t TotalSize = sizeof(ValueProfData);
612 INSTR_PROF_VISIBILITY ValueProfData *
614 ValueProfData *DstData) {
[all …]
H A DInstrProf.h706 ? std::make_unique<ValueProfData>(*RHS.ValueData) in InstrProfRecord()
717 ValueData = std::make_unique<ValueProfData>(*RHS.ValueData);
820 struct ValueProfData { struct
824 std::unique_ptr<ValueProfData> ValueData;
853 ValueData = std::make_unique<ValueProfData>(); in getOrCreateValueSitesForKind()