Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/test/profile/Inputs/
H A Dinstrprof-value-prof-visibility.c13 struct ValueProfData;
14 void lprofMergeValueProfData(struct ValueProfData *, struct __llvm_profile_data *);
39 void (*SymHandle)(struct ValueProfData *, struct __llvm_profile_data *) = in main()
40 (void (*)(struct ValueProfData *, struct __llvm_profile_data *))dlsym( in main()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProf.cpp809 ValueProfData *VD = in allocValueProfDataInstrProf()
810 (ValueProfData *)(new (::operator new(TotalSizeInBytes)) ValueProfData()); in allocValueProfDataInstrProf()
833 std::unique_ptr<ValueProfData>
834 ValueProfData::serializeFrom(const InstrProfRecord &Record) { in serializeFrom()
837 std::unique_ptr<ValueProfData> VPD( in serializeFrom()
882 void ValueProfData::deserializeTo(InstrProfRecord &Record, in deserializeTo()
906 ValueProfData()); in allocValueProfData()
909 Error ValueProfData::checkIntegrity() { in checkIntegrity()
932 Expected<std::unique_ptr<ValueProfData>>
933 ValueProfData::getValueProfData(const unsigned char *D, in getValueProfData()
[all …]
H A DInstrProfWriter.cpp134 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()
162 std::unique_ptr<ValueProfData> VDataPtr = in EmitData()
163 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
H A DInstrProfReader.cpp530 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
531 ValueProfData::getValueProfData( in readValueProfilingData()
641 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
642 ValueProfData::getValueProfData(D, End, ValueProfDataEndianness); in readValueProfilingData()
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dinstrprof-merge-vp.c20 struct ValueProfData;
21 void lprofMergeValueProfData(struct ValueProfData *, struct __llvm_profile_data *);
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc353 typedef struct ValueProfData {
386 static std::unique_ptr<ValueProfData>
397 static Expected<std::unique_ptr<ValueProfData>>
420 } ValueProfData;
451 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
455 getFirstValueProfRecord(ValueProfData *VPD);
541 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
554 uint32_t TotalSize = sizeof(ValueProfData);
596 INSTR_PROF_VISIBILITY ValueProfData *
598 ValueProfData *DstData) {
[all …]
H A DInstrProf.h734 ? std::make_unique<ValueProfData>(*RHS.ValueData) in InstrProfRecord()
744 ValueData = std::make_unique<ValueProfData>(*RHS.ValueData);
823 struct ValueProfData { struct
827 std::unique_ptr<ValueProfData> ValueData;
856 ValueData = std::make_unique<ValueProfData>(); in getOrCreateValueSitesForKind()
/llvm-project-15.0.7/compiler-rt/include/profile/
H A DInstrProfData.inc353 typedef struct ValueProfData {
386 static std::unique_ptr<ValueProfData>
397 static Expected<std::unique_ptr<ValueProfData>>
420 } ValueProfData;
451 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
455 getFirstValueProfRecord(ValueProfData *VPD);
541 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
554 uint32_t TotalSize = sizeof(ValueProfData);
596 INSTR_PROF_VISIBILITY ValueProfData *
598 ValueProfData *DstData) {
[all …]
/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DInstrProfTest.cpp897 std::unique_ptr<ValueProfData> VPData = in TEST_P()
898 ValueProfData::serializeFrom(SrcRecord); in TEST_P()
963 std::unique_ptr<ValueProfData> VPData = in TEST_P()
964 ValueProfData::serializeFrom(SrcRecord); in TEST_P()