Home
last modified time | relevance | path

Searched refs:__llvm_profile_data (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c42 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_get_size_for_buffer()
43 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_get_size_for_buffer()
54 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin, in __llvm_profile_get_data_size()
55 const __llvm_profile_data *End) { in __llvm_profile_get_data_size()
57 return ((EndI + sizeof(__llvm_profile_data) - 1) - BeginI) / in __llvm_profile_get_data_size()
58 sizeof(__llvm_profile_data); in __llvm_profile_get_data_size()
92 uint64_t DataSizeInBytes = DataSize * sizeof(__llvm_profile_data); in __llvm_profile_get_padding_sizes_for_counters()
103 const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd, in __llvm_profile_get_size_for_buffer_internal()
120 (DataSize * sizeof(__llvm_profile_data)) + PaddingBytesBeforeCounters + in __llvm_profile_get_size_for_buffer_internal()
138 char *Buffer, const __llvm_profile_data *DataBegin, in __llvm_profile_write_buffer_internal()
[all …]
H A DInstrProfilingInternal.h23 const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd,
37 char *Buffer, const __llvm_profile_data *DataBegin,
38 const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin,
124 uint32_t (*InitRTRecord)(const __llvm_profile_data *Data,
153 const __llvm_profile_data *DataBegin,
154 const __llvm_profile_data *DataEnd,
163 __llvm_profile_data *DstData);
194 extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
H A DInstrProfilingPlatformOther.c19 static const __llvm_profile_data *DataFirst = NULL;
20 static const __llvm_profile_data *DataLast = NULL;
45 const __llvm_profile_data *Data = (__llvm_profile_data *)Data_; in __llvm_profile_register_function()
54 DataFirst = (const __llvm_profile_data *)getMinAddr(DataFirst, Data); in __llvm_profile_register_function()
57 DataLast = (const __llvm_profile_data *)getMaxAddr(DataLast, Data + 1); in __llvm_profile_register_function()
76 const __llvm_profile_data *__llvm_profile_begin_data(void) { return DataFirst; } in __llvm_profile_begin_data()
78 const __llvm_profile_data *__llvm_profile_end_data(void) { return DataLast; } in __llvm_profile_end_data()
H A DInstrProfilingMerge.c20 void (*VPMergeHook)(ValueProfData *, __llvm_profile_data *);
34 const __llvm_profile_data *FirstD = __llvm_profile_begin_data(); in lprofGetLoadModuleSignature()
46 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_check_compatibility()
48 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_check_compatibility()
69 Header->DataSize * sizeof(__llvm_profile_data) + in __llvm_profile_check_compatibility()
74 DstData = (__llvm_profile_data *)__llvm_profile_begin_data(); in __llvm_profile_check_compatibility()
89 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_merge_from_buffer()
96 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_merge_from_buffer()
108 DstData = (__llvm_profile_data *)__llvm_profile_begin_data(), in __llvm_profile_merge_from_buffer()
H A DInstrProfiling.h25 __llvm_profile_data {
28 } __llvm_profile_data; typedef
85 const __llvm_profile_data *__llvm_profile_begin_data(void);
86 const __llvm_profile_data *__llvm_profile_end_data(void);
263 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin,
264 const __llvm_profile_data *End);
H A DInstrProfilingWriter.c128 const __llvm_profile_data *Data) { in writeOneValueProfData()
219 const __llvm_profile_data *DataBegin, in writeValueProfData()
220 const __llvm_profile_data *DataEnd) { in writeValueProfData()
222 const __llvm_profile_data *DI = 0; in writeValueProfData()
245 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in lprofWriteData()
246 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in lprofWriteData()
257 lprofWriteDataImpl(ProfDataWriter *Writer, const __llvm_profile_data *DataBegin, in lprofWriteDataImpl()
258 const __llvm_profile_data *DataEnd, in lprofWriteDataImpl()
297 {DataBegin, sizeof(__llvm_profile_data), DataSize, 0}, in lprofWriteDataImpl()
H A DInstrProfilingValue.c60 __llvm_profile_set_num_value_sites(__llvm_profile_data *Data, in __llvm_profile_set_num_value_sites()
66 COMPILER_RT_VISIBILITY const __llvm_profile_data *
67 __llvm_profile_iterate_data(const __llvm_profile_data *Data) { in __llvm_profile_iterate_data()
73 __llvm_get_function_addr(const __llvm_profile_data *Data) { in __llvm_get_function_addr()
83 static int allocateValueProfileCounters(__llvm_profile_data *Data) { in allocateValueProfileCounters()
140 __llvm_profile_data *PData = (__llvm_profile_data *)Data; in instrumentTargetValueImpl()
261 const __llvm_profile_data *Data;
298 initializeValueProfRuntimeRecord(const __llvm_profile_data *Data, in initializeValueProfRuntimeRecord()
H A DInstrProfilingPlatformWindows.c38 __llvm_profile_data COMPILER_RT_SECTION(".lprfd$A") DataStart = {0};
39 __llvm_profile_data COMPILER_RT_SECTION(".lprfd$Z") DataEnd = {0};
51 const __llvm_profile_data *__llvm_profile_begin_data(void) { in __llvm_profile_begin_data()
54 const __llvm_profile_data *__llvm_profile_end_data(void) { return &DataEnd; } in __llvm_profile_end_data()
H A DInstrProfilingPlatformDarwin.c18 extern __llvm_profile_data
21 extern __llvm_profile_data
46 const __llvm_profile_data *__llvm_profile_begin_data(void) { in __llvm_profile_begin_data()
50 const __llvm_profile_data *__llvm_profile_end_data(void) { return &DataEnd; } in __llvm_profile_end_data()
H A DInstrProfiling.c50 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_reset_counters()
51 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_reset_counters()
52 const __llvm_profile_data *DI; in __llvm_profile_reset_counters()
H A DInstrProfilingPlatformLinux.c42 extern __llvm_profile_data PROF_DATA_START COMPILER_RT_VISIBILITY
44 extern __llvm_profile_data PROF_DATA_STOP COMPILER_RT_VISIBILITY
54 COMPILER_RT_VISIBILITY const __llvm_profile_data *
58 COMPILER_RT_VISIBILITY const __llvm_profile_data *
H A DInstrProfilingPlatformFuchsia.c117 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_initialize()
118 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_initialize()
124 (DataSize * sizeof(__llvm_profile_data)); in __llvm_profile_initialize()
H A DInstrProfilingFile.c463 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in initializeProfileForContinuousMode()
464 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in initializeProfileForContinuousMode()
567 (DataSize * sizeof(__llvm_profile_data)) + PaddingBytesBeforeCounters; in initializeProfileForContinuousMode()
655 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in initializeProfileForContinuousMode()
656 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in initializeProfileForContinuousMode()
662 (DataSize * sizeof(__llvm_profile_data)); in initializeProfileForContinuousMode()
H A DInstrProfilingMergeFile.c25 __llvm_profile_data *DstData) { in lprofMergeValueProfData()