Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfilingValue.c133 COMPILER_RT_VISIBILITY ValueProfData **
137 ValueProfData **ValueDataArray; in __llvm_profile_gather_value_data()
146 (ValueProfData **)calloc(DataEnd - DataBegin, sizeof(void *)); in __llvm_profile_gather_value_data()
161 ValueProfData *VD = NULL; in __llvm_profile_gather_value_data()
163 VD = (ValueProfData *)calloc(VS, sizeof(uint8_t)); in __llvm_profile_gather_value_data()
H A DInstrProfData.inc248 typedef struct ValueProfData {
279 * Return a pointer to \c ValueProfData instance ready to be streamed.
281 static std::unique_ptr<ValueProfData>
293 static ErrorOr<std::unique_ptr<ValueProfData>>
316 } ValueProfData;
326 * format: ValueProfData. The abstraction allows compiler-rt's raw profiler
347 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
382 ValueProfData *
384 ValueProfData *Dst);
465 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
[all …]
H A DInstrProfilingWriter.c96 ValueProfData **ValueDataArray, in llvmWriteProfData()
112 ValueProfData **ValueDataBegin, in writeValueProfData()
124 ValueProfData *CurVData = ValueDataBegin[I]; in writeValueProfData()
143 ValueProfData **ValueDataBegin, const uint64_t ValueDataSize, in llvmWriteProfDataImpl()
H A DInstrProfiling.h83 struct ValueProfData;
84 struct ValueProfData **__llvm_profile_gather_value_data(uint64_t *Size);
H A DInstrProfilingInternal.h102 struct ValueProfData **ValueDataArray,
109 struct ValueProfData **ValueDataBeginArray,
H A DInstrProfilingFile.c43 struct ValueProfData **ValueDataArray = in writeFile()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProf.cpp777 ValueProfData *allocValueProfDataInstrProf(size_t TotalSizeInBytes) { in allocValueProfDataInstrProf()
778 ValueProfData *VD = in allocValueProfDataInstrProf()
779 (ValueProfData *)(new (::operator new(TotalSizeInBytes)) ValueProfData()); in allocValueProfDataInstrProf()
795 uint32_t ValueProfData::getSize(const InstrProfRecord &Record) { in getSize()
802 std::unique_ptr<ValueProfData>
803 ValueProfData::serializeFrom(const InstrProfRecord &Record) { in serializeFrom()
806 std::unique_ptr<ValueProfData> VPD( in serializeFrom()
851 void ValueProfData::deserializeTo(InstrProfRecord &Record, in deserializeTo()
873 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData()
874 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData()
[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.cpp465 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
466 ValueProfData::getValueProfData( in readValueProfilingData()
526 Expected<std::unique_ptr<ValueProfData>> VDataPtrOrErr = in readValueProfilingData()
527 ValueProfData::getValueProfData(D, End, ValueProfDataEndianness); in readValueProfilingData()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc351 typedef struct ValueProfData {
382 * Return a pointer to \c ValueProfData instance ready to be streamed.
384 static std::unique_ptr<ValueProfData>
395 static Expected<std::unique_ptr<ValueProfData>>
418 } ValueProfData;
428 * format: ValueProfData. The abstraction allows compiler-rt's raw profiler
449 ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
453 getFirstValueProfRecord(ValueProfData *VPD);
539 ValueProfRecord *getFirstValueProfRecord(ValueProfData *This) {
540 return (ValueProfRecord *)((char *)This + sizeof(ValueProfData));
[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()