Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/test/profile/
H A Dinstrprof-value-prof-2.c15 typedef struct __llvm_profile_data __llvm_profile_data; typedef
16 const __llvm_profile_data *__llvm_profile_begin_data(void);
17 const __llvm_profile_data *__llvm_profile_end_data(void);
18 void __llvm_profile_set_num_value_sites(__llvm_profile_data *Data,
21 __llvm_profile_data *
22 __llvm_profile_iterate_data(const __llvm_profile_data *Data);
23 void *__llvm_get_function_addr(const __llvm_profile_data *Data);
46 const __llvm_profile_data *Data, *DataEnd; in main()
58 __llvm_profile_set_num_value_sites((__llvm_profile_data *)Data, in main()
H A Dinstrprof-value-prof.c31 typedef struct __llvm_profile_data __llvm_profile_data; typedef
32 const __llvm_profile_data *__llvm_profile_begin_data(void);
33 const __llvm_profile_data *__llvm_profile_end_data(void);
34 void __llvm_profile_set_num_value_sites(__llvm_profile_data *Data,
37 __llvm_profile_data *
38 __llvm_profile_iterate_data(const __llvm_profile_data *Data);
39 void *__llvm_get_function_addr(const __llvm_profile_data *Data);
82 const __llvm_profile_data *Data, *DataEnd; in main()
112 __llvm_profile_set_num_value_sites((__llvm_profile_data *)Data, in main()
/llvm-project-15.0.7/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_num_data(const __llvm_profile_data *Begin, in __llvm_profile_get_num_data()
55 const __llvm_profile_data *End) { in __llvm_profile_get_num_data()
57 return ((EndI + sizeof(__llvm_profile_data) - 1) - BeginI) / in __llvm_profile_get_num_data()
58 sizeof(__llvm_profile_data); in __llvm_profile_get_num_data()
62 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin, in __llvm_profile_get_data_size()
63 const __llvm_profile_data *End) { in __llvm_profile_get_data_size()
125 const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd, in __llvm_profile_get_size_for_buffer_internal()
160 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 char *CountersBegin,
124 uint32_t (*InitRTRecord)(const __llvm_profile_data *Data,
153 const __llvm_profile_data *DataBegin,
154 const __llvm_profile_data *DataEnd,
162 __llvm_profile_data *DstData);
193 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()
55 DataFirst = (const __llvm_profile_data *)getMinAddr(DataFirst, Data); in __llvm_profile_register_function()
59 DataLast = (const __llvm_profile_data *)getMaxAddr(DataLast, Data + 1); in __llvm_profile_register_function()
80 const __llvm_profile_data *__llvm_profile_begin_data(void) { return DataFirst; } in __llvm_profile_begin_data()
82 const __llvm_profile_data *__llvm_profile_end_data(void) { return DataLast; } in __llvm_profile_end_data()
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_num_data(const __llvm_profile_data *Begin,
264 const __llvm_profile_data *End);
267 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin,
268 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()
47 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_check_compatibility()
49 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_check_compatibility()
72 Header->DataSize * sizeof(__llvm_profile_data) + Header->NamesSize + in __llvm_profile_check_compatibility()
77 DstData = (__llvm_profile_data *)__llvm_profile_begin_data(); in __llvm_profile_check_compatibility()
108 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_merge_from_buffer()
116 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_merge_from_buffer()
129 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()
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 DInstrProfilingPlatformDarwin.c18 extern __llvm_profile_data
21 extern __llvm_profile_data
45 const __llvm_profile_data *__llvm_profile_begin_data(void) { in __llvm_profile_begin_data()
49 const __llvm_profile_data *__llvm_profile_end_data(void) { return &DataEnd; } in __llvm_profile_end_data()
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 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()
H A DInstrProfiling.c52 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_reset_counters()
53 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_reset_counters()
54 const __llvm_profile_data *DI; in __llvm_profile_reset_counters()
H A DInstrProfilingPlatformLinux.c45 extern __llvm_profile_data PROF_DATA_START COMPILER_RT_VISIBILITY
47 extern __llvm_profile_data PROF_DATA_STOP COMPILER_RT_VISIBILITY
57 COMPILER_RT_VISIBILITY const __llvm_profile_data *
61 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()
196 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in mmapForContinuousMode()
197 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in mmapForContinuousMode()
/llvm-project-15.0.7/compiler-rt/test/profile/Inputs/
H A Dinstrprof-value-prof-visibility.c12 struct __llvm_profile_data;
14 void lprofMergeValueProfData(struct ValueProfData *, struct __llvm_profile_data *);
39 void (*SymHandle)(struct ValueProfData *, struct __llvm_profile_data *) = in main()
40 (void (*)(struct ValueProfData *, struct __llvm_profile_data *))dlsym( in main()
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dcorrupted-profile.c33 typedef struct __llvm_profile_data { struct
36 } __llvm_profile_data; typedef
61 __llvm_profile_data *SrcDataStart = in main()
62 (__llvm_profile_data *)(Buf + sizeof(__llvm_profile_header) + in main()
H A Dbinary-id-padding.c31 typedef struct __llvm_profile_data { struct
34 } __llvm_profile_data; typedef
H A Dinstrprof-merge-vp.c19 struct __llvm_profile_data;
21 void lprofMergeValueProfData(struct ValueProfData *, struct __llvm_profile_data *);