Home
last modified time | relevance | path

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

/external/compiler-rt/lib/profile/
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()
53 char *Buffer, const __llvm_profile_data *DataBegin, in __llvm_profile_write_buffer_internal()
54 const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin, in __llvm_profile_write_buffer_internal()
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,
112 uint32_t (*InitRTRecord)(const __llvm_profile_data *Data,
139 const __llvm_profile_data *DataBegin,
140 const __llvm_profile_data *DataEnd,
149 __llvm_profile_data *DstData);
174 extern void (*VPMergeHook)(struct ValueProfData *, __llvm_profile_data *);
DInstrProfilingPlatformOther.c16 static const __llvm_profile_data *DataFirst = NULL;
17 static const __llvm_profile_data *DataLast = NULL;
41 const __llvm_profile_data *Data = (__llvm_profile_data *)Data_; in __llvm_profile_register_function()
50 DataFirst = (const __llvm_profile_data *)getMinAddr(DataFirst, Data); in __llvm_profile_register_function()
53 DataLast = (const __llvm_profile_data *)getMaxAddr(DataLast, Data + 1); in __llvm_profile_register_function()
72 const __llvm_profile_data *__llvm_profile_begin_data(void) { return DataFirst; } in __llvm_profile_begin_data()
74 const __llvm_profile_data *__llvm_profile_end_data(void) { return DataLast; } in __llvm_profile_end_data()
DInstrProfilingMerge.c21 __llvm_profile_data *) = NULL;
33 const __llvm_profile_data *FirstD = __llvm_profile_begin_data(); in lprofGetLoadModuleSignature()
45 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_check_compatibility()
47 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_check_compatibility()
67 Header->DataSize * sizeof(__llvm_profile_data) + in __llvm_profile_check_compatibility()
72 DstData = (__llvm_profile_data *)__llvm_profile_begin_data(); in __llvm_profile_check_compatibility()
87 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_merge_from_buffer()
94 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header)); in __llvm_profile_merge_from_buffer()
104 DstData = (__llvm_profile_data *)__llvm_profile_begin_data(), in __llvm_profile_merge_from_buffer()
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);
158 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin,
159 const __llvm_profile_data *End);
DInstrProfilingValue.c57 __llvm_profile_set_num_value_sites(__llvm_profile_data *Data, in __llvm_profile_set_num_value_sites()
63 COMPILER_RT_VISIBILITY const __llvm_profile_data *
64 __llvm_profile_iterate_data(const __llvm_profile_data *Data) { in __llvm_profile_iterate_data()
70 __llvm_get_function_addr(const __llvm_profile_data *Data) { in __llvm_get_function_addr()
80 static int allocateValueProfileCounters(__llvm_profile_data *Data) { in allocateValueProfileCounters()
106 static ValueProfNode *allocateOneNode(__llvm_profile_data *Data, uint32_t Index, in allocateOneNode()
136 __llvm_profile_data *PData = (__llvm_profile_data *)Data; in __llvm_profile_instrument_target()
230 const __llvm_profile_data *Data;
267 initializeValueProfRuntimeRecord(const __llvm_profile_data *Data, in initializeValueProfRuntimeRecord()
DInstrProfilingPlatformLinux.c27 extern __llvm_profile_data PROF_DATA_START COMPILER_RT_VISIBILITY;
28 extern __llvm_profile_data PROF_DATA_STOP COMPILER_RT_VISIBILITY;
37 __llvm_profile_data
44 COMPILER_RT_VISIBILITY const __llvm_profile_data *
48 COMPILER_RT_VISIBILITY const __llvm_profile_data *
DInstrProfilingWriter.c115 const __llvm_profile_data *Data) { in writeOneValueProfData()
206 const __llvm_profile_data *DataBegin, in writeValueProfData()
207 const __llvm_profile_data *DataEnd) { in writeValueProfData()
209 const __llvm_profile_data *DI = 0; in writeValueProfData()
232 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in lprofWriteData()
233 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in lprofWriteData()
245 const __llvm_profile_data *DataBegin, in lprofWriteDataImpl()
246 const __llvm_profile_data *DataEnd, in lprofWriteDataImpl()
272 {DataBegin, sizeof(__llvm_profile_data), DataSize}, in lprofWriteDataImpl()
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()
DInstrProfiling.c46 const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); in __llvm_profile_reset_counters()
47 const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); in __llvm_profile_reset_counters()
48 const __llvm_profile_data *DI; in __llvm_profile_reset_counters()
DInstrProfilingMergeFile.c21 __llvm_profile_data *) = &lprofMergeValueProfData;
26 __llvm_profile_data *DstData) { in lprofMergeValueProfData()
/external/compiler-rt/test/profile/
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()
Dinstrprof-value-prof.c30 typedef struct __llvm_profile_data __llvm_profile_data; typedef
31 const __llvm_profile_data *__llvm_profile_begin_data(void);
32 const __llvm_profile_data *__llvm_profile_end_data(void);
33 void __llvm_profile_set_num_value_sites(__llvm_profile_data *Data,
36 __llvm_profile_data *
37 __llvm_profile_iterate_data(const __llvm_profile_data *Data);
38 void *__llvm_get_function_addr(const __llvm_profile_data *Data);
81 const __llvm_profile_data *Data, *DataEnd; in main()
111 __llvm_profile_set_num_value_sites((__llvm_profile_data *)Data, in main()
/external/compiler-rt/test/profile/Linux/
Dinstrprof-merge-vp.c19 struct __llvm_profile_data;
21 void lprofMergeValueProfData(struct ValueProfData *, struct __llvm_profile_data *);