Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c46 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_get_size_for_buffer()
47 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_get_size_for_buffer()
67 uint64_t __llvm_profile_get_num_data(const __llvm_profile_data *Begin, in __llvm_profile_get_num_data()
68 const __llvm_profile_data *End) { in __llvm_profile_get_num_data()
70 return ((EndI + sizeof(__llvm_profile_data) - 1) - BeginI) / in __llvm_profile_get_num_data()
71 sizeof(__llvm_profile_data); in __llvm_profile_get_num_data()
75 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin, in __llvm_profile_get_data_size()
76 const __llvm_profile_data *End) { in __llvm_profile_get_data_size()
77 return __llvm_profile_get_num_data(Begin, End) * sizeof(__llvm_profile_data); in __llvm_profile_get_data_size()
194 const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd, in __llvm_profile_get_size_for_buffer_internal()
[all …]
H A DInstrProfilingInternal.h23 const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd,
39 char *Buffer, const __llvm_profile_data *DataBegin,
40 const __llvm_profile_data *DataEnd, const char *CountersBegin,
127 uint32_t (*InitRTRecord)(const __llvm_profile_data *Data,
156 const __llvm_profile_data *DataBegin,
157 const __llvm_profile_data *DataEnd,
168 __llvm_profile_data *DstData);
199 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;
49 const __llvm_profile_data *Data = (__llvm_profile_data *)Data_; in __llvm_profile_register_function()
59 DataFirst = (const __llvm_profile_data *)getMinAddr(DataFirst, Data); in __llvm_profile_register_function()
63 DataLast = (const __llvm_profile_data *)getMaxAddr(DataLast, Data + 1); in __llvm_profile_register_function()
84 const __llvm_profile_data *__llvm_profile_begin_data(void) { return DataFirst; } in __llvm_profile_begin_data()
86 const __llvm_profile_data *__llvm_profile_end_data(void) { return DataLast; } in __llvm_profile_end_data()
H A DInstrProfiling.h36 __llvm_profile_data {
39 } __llvm_profile_data; typedef
107 const __llvm_profile_data *__llvm_profile_begin_data(void);
108 const __llvm_profile_data *__llvm_profile_end_data(void);
241 uint64_t __llvm_profile_get_num_data(const __llvm_profile_data *Begin,
242 const __llvm_profile_data *End);
245 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin,
246 const __llvm_profile_data *End);
H A DInstrProfilingMerge.c20 void (*VPMergeHook)(ValueProfData *, __llvm_profile_data *);
34 const __llvm_profile_data *FirstD = __llvm_profile_begin_data(); in lprofGetLoadModuleSignature()
54 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_check_compatibility()
56 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_check_compatibility()
83 Header->NumData * sizeof(__llvm_profile_data) + Header->NamesSize + in __llvm_profile_check_compatibility()
89 DstData = (__llvm_profile_data *)__llvm_profile_begin_data(); in __llvm_profile_check_compatibility()
140 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_merge_from_buffer()
151 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_merge_from_buffer()
182 DstData = (__llvm_profile_data *)__llvm_profile_begin_data(), in __llvm_profile_merge_from_buffer()
H A DInstrProfilingValue.c60 __llvm_profile_set_num_value_sites(__llvm_profile_data *Data, in __llvm_profile_set_num_value_sites()
78 COMPILER_RT_VISIBILITY const __llvm_profile_data *
79 __llvm_profile_iterate_data(const __llvm_profile_data *Data) {
85 __llvm_get_function_addr(const __llvm_profile_data *Data) {
95 static int allocateValueProfileCounters(__llvm_profile_data *Data) { in allocateValueProfileCounters()
152 __llvm_profile_data *PData = (__llvm_profile_data *)Data; in instrumentTargetValueImpl()
273 const __llvm_profile_data *Data;
310 initializeValueProfRuntimeRecord(const __llvm_profile_data *Data, in initializeValueProfRuntimeRecord()
H A DInstrProfilingPlatformWindows.c44 __llvm_profile_data COMPILER_RT_SECTION(".lprfd$A") DataStart = {0};
45 __llvm_profile_data COMPILER_RT_SECTION(".lprfd$Z") DataEnd = {0};
59 const __llvm_profile_data *__llvm_profile_begin_data(void) { in __llvm_profile_begin_data()
62 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
61 const __llvm_profile_data *__llvm_profile_begin_data(void) { in __llvm_profile_begin_data()
65 const __llvm_profile_data *__llvm_profile_end_data(void) { return &DataEnd; } in __llvm_profile_end_data()
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()
264 lprofWriteDataImpl(ProfDataWriter *Writer, const __llvm_profile_data *DataBegin, in lprofWriteDataImpl()
265 const __llvm_profile_data *DataEnd, in lprofWriteDataImpl()
H A DInstrProfiling.c67 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_reset_counters()
68 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_reset_counters()
69 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
60 COMPILER_RT_VISIBILITY const __llvm_profile_data *
64 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()
H A DInstrProfilingMergeFile.c25 __llvm_profile_data *DstData) { in lprofMergeValueProfData()
H A DInstrProfilingFile.c107 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in mmapForContinuousMode()
108 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in mmapForContinuousMode()
233 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in mmapForContinuousMode()
234 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in mmapForContinuousMode()