Searched refs:ValueProfData (Results 1 – 10 of 10) sorted by relevance
114 struct ValueProfData;129 struct ValueProfRecord *(*GetFirstValueProfRecord)(struct ValueProfData *);161 void lprofMergeValueProfData(struct ValueProfData *SrcValueProfData,193 extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
20 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()
24 void lprofMergeValueProfData(ValueProfData *SrcValueProfData, in lprofMergeValueProfData()
130 ValueProfData VPHeader; in writeOneValueProfData()156 sizeof(ValueProfData))) in writeOneValueProfData()
835 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 …]
135 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()163 std::unique_ptr<ValueProfData> VDataPtr = in EmitData()164 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
615 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()
353 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 profiler451 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);455 getFirstValueProfRecord(ValueProfData *VPD);541 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {542 return (ValueProfRecord *)((char *)This + sizeof(ValueProfData));[all …]
739 ? std::make_unique<ValueProfData>(*RHS.ValueData) in InstrProfRecord()749 ValueData = std::make_unique<ValueProfData>(*RHS.ValueData);852 struct ValueProfData { struct856 std::unique_ptr<ValueProfData> ValueData;885 ValueData = std::make_unique<ValueProfData>(); in getOrCreateValueSitesForKind()