Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c15 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_get_size_for_buffer()
16 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_get_size_for_buffer()
27 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin, in __llvm_profile_get_data_size()
28 const __llvm_profile_data *End) { in __llvm_profile_get_data_size()
30 return ((EndI + sizeof(__llvm_profile_data) - 1) - BeginI) / in __llvm_profile_get_data_size()
31 sizeof(__llvm_profile_data); in __llvm_profile_get_data_size()
36 const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd, in __llvm_profile_get_size_for_buffer_internal()
44 sizeof(__llvm_profile_data)) + in __llvm_profile_get_size_for_buffer_internal()
61 char *Buffer, const __llvm_profile_data *DataBegin, in __llvm_profile_write_buffer_internal()
62 const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin, in __llvm_profile_write_buffer_internal()
H A DInstrProfilingInternal.h24 const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd,
38 char *Buffer, const __llvm_profile_data *DataBegin,
39 const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin,
118 uint32_t (*InitRTRecord)(const __llvm_profile_data *Data,
147 const __llvm_profile_data *DataBegin,
148 const __llvm_profile_data *DataEnd,
157 __llvm_profile_data *DstData);
188 extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
H A DInstrProfilingPlatformOther.c17 static const __llvm_profile_data *DataFirst = NULL;
18 static const __llvm_profile_data *DataLast = NULL;
42 const __llvm_profile_data *Data = (__llvm_profile_data *)Data_; in __llvm_profile_register_function()
51 DataFirst = (const __llvm_profile_data *)getMinAddr(DataFirst, Data); in __llvm_profile_register_function()
54 DataLast = (const __llvm_profile_data *)getMaxAddr(DataLast, Data + 1); in __llvm_profile_register_function()
73 const __llvm_profile_data *__llvm_profile_begin_data(void) { return DataFirst; } in __llvm_profile_begin_data()
75 const __llvm_profile_data *__llvm_profile_end_data(void) { return DataLast; } in __llvm_profile_end_data()
H A DInstrProfilingMerge.c21 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()
68 Header->DataSize * sizeof(__llvm_profile_data) + in __llvm_profile_check_compatibility()
73 DstData = (__llvm_profile_data *)__llvm_profile_begin_data(); in __llvm_profile_check_compatibility()
88 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_merge_from_buffer()
95 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_merge_from_buffer()
105 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
60 const __llvm_profile_data *__llvm_profile_begin_data(void);
61 const __llvm_profile_data *__llvm_profile_end_data(void);
188 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin,
189 const __llvm_profile_data *End);
H A DInstrProfilingPlatformLinux.c29 extern __llvm_profile_data PROF_DATA_START COMPILER_RT_VISIBILITY;
30 extern __llvm_profile_data PROF_DATA_STOP COMPILER_RT_VISIBILITY;
39 __llvm_profile_data
46 COMPILER_RT_VISIBILITY const __llvm_profile_data *
50 COMPILER_RT_VISIBILITY const __llvm_profile_data *
H A DInstrProfilingWriter.c122 const __llvm_profile_data *Data) { in writeOneValueProfData()
213 const __llvm_profile_data *DataBegin, in writeValueProfData()
214 const __llvm_profile_data *DataEnd) { in writeValueProfData()
216 const __llvm_profile_data *DI = 0; in writeValueProfData()
239 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in lprofWriteData()
240 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in lprofWriteData()
251 lprofWriteDataImpl(ProfDataWriter *Writer, const __llvm_profile_data *DataBegin, in lprofWriteDataImpl()
252 const __llvm_profile_data *DataEnd, in lprofWriteDataImpl()
279 {DataBegin, sizeof(__llvm_profile_data), DataSize}, in lprofWriteDataImpl()
H A DInstrProfilingValue.c59 __llvm_profile_set_num_value_sites(__llvm_profile_data *Data, in __llvm_profile_set_num_value_sites()
65 COMPILER_RT_VISIBILITY const __llvm_profile_data *
66 __llvm_profile_iterate_data(const __llvm_profile_data *Data) { in __llvm_profile_iterate_data()
72 __llvm_get_function_addr(const __llvm_profile_data *Data) { in __llvm_get_function_addr()
82 static int allocateValueProfileCounters(__llvm_profile_data *Data) { in allocateValueProfileCounters()
137 __llvm_profile_data *PData = (__llvm_profile_data *)Data; in instrumentTargetValueImpl()
275 const __llvm_profile_data *Data;
312 initializeValueProfRuntimeRecord(const __llvm_profile_data *Data, in initializeValueProfRuntimeRecord()
H A DInstrProfilingPlatformDarwin.c15 extern __llvm_profile_data
18 extern __llvm_profile_data
40 const __llvm_profile_data *__llvm_profile_begin_data(void) { in __llvm_profile_begin_data()
44 const __llvm_profile_data *__llvm_profile_end_data(void) { return &DataEnd; } in __llvm_profile_end_data()
H A DInstrProfiling.c57 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_reset_counters()
58 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_reset_counters()
59 const __llvm_profile_data *DI; in __llvm_profile_reset_counters()
H A DInstrProfilingMergeFile.c25 __llvm_profile_data *DstData) { in lprofMergeValueProfData()