/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingBuffer.c | 49 const char *CountersEnd = __llvm_profile_end_counters(); in __llvm_profile_get_size_for_buffer() local 60 DataBegin, DataEnd, CountersBegin, CountersEnd, BitmapBegin, BitmapEnd, in __llvm_profile_get_size_for_buffer() 195 const char *CountersBegin, const char *CountersEnd, const char *BitmapBegin, in __llvm_profile_get_size_for_buffer_internal() argument 203 __llvm_profile_get_counters_size(CountersBegin, CountersEnd); in __llvm_profile_get_size_for_buffer_internal() 246 const char *CountersEnd, const char *BitmapBegin, const char *BitmapEnd, in __llvm_profile_write_buffer_internal() argument 252 &BufferWriter, DataBegin, DataEnd, CountersBegin, CountersEnd, in __llvm_profile_write_buffer_internal()
|
H A D | InstrProfilingInternal.h | 24 const char *CountersBegin, const char *CountersEnd, const char *BitmapBegin, 41 const char *CountersEnd, const char *BitmapBegin, const char *BitmapEnd, 158 const char *CountersBegin, const char *CountersEnd,
|
H A D | InstrProfilingPlatformFuchsia.c | 120 const char *CountersEnd = __llvm_profile_end_counters(); in __llvm_profile_initialize() local 125 __llvm_profile_get_counters_size(CountersBegin, CountersEnd); in __llvm_profile_initialize() 187 lprofReleaseMemoryPagesToOS((uintptr_t)CountersBegin, (uintptr_t)CountersEnd); in __llvm_profile_initialize()
|
H A D | InstrProfilingWriter.c | 248 const char *CountersEnd = __llvm_profile_end_counters(); in lprofWriteData() local 258 CountersEnd, BitmapBegin, BitmapEnd, VPDataReader, in lprofWriteData() 266 const char *CountersBegin, const char *CountersEnd, in lprofWriteDataImpl() argument 277 __llvm_profile_get_counters_size(CountersBegin, CountersEnd); in lprofWriteDataImpl() 279 __llvm_profile_get_num_counters(CountersBegin, CountersEnd); in lprofWriteDataImpl()
|
H A D | InstrProfilingPlatformWindows.c | 51 char COMPILER_RT_SECTION(".lprfc$Z") CountersEnd; 85 char *__llvm_profile_end_counters(void) { return &CountersEnd; } in __llvm_profile_end_counters()
|
H A D | InstrProfilingPlatformDarwin.c | 32 extern char CountersEnd __asm("section$end$__DATA$" INSTR_PROF_CNTS_SECT_NAME); 73 char *__llvm_profile_end_counters(void) { return &CountersEnd; } in __llvm_profile_end_counters()
|
H A D | InstrProfilingFile.c | 112 const char *CountersEnd = __llvm_profile_end_counters(); in mmapForContinuousMode() 120 __llvm_profile_get_counters_size(CountersBegin, CountersEnd); in mmapForContinuousMode() 252 const char *CountersEnd = __llvm_profile_end_counters(); in mmapForContinuousMode() 257 __llvm_profile_get_counters_size(CountersBegin, CountersEnd); in mmapForContinuousMode() 283 lprofReleaseMemoryPagesToOS((uintptr_t)CountersBegin, (uintptr_t)CountersEnd); in setProfileMergeRequested() 110 const char *CountersEnd = __llvm_profile_end_counters(); mmapForContinuousMode() local 236 const char *CountersEnd = __llvm_profile_end_counters(); mmapForContinuousMode() local
|
/llvm-project/compiler-rt/test/profile/ |
H A D | instrprof-write-buffer-internal.c | 33 const char *CountersEnd, const char *BitmapBegin, const char *BitmapEnd, 39 const char *CountersBegin, const char *CountersEnd, const char *BitmapBegin,
|
/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProfCorrelator.cpp | 399 uint64_t CountersEnd = this->Ctx->CountersSectionEnd; in correlateProfileDataImpl() 400 if (*CounterPtr < CountersStart || *CounterPtr >= CountersEnd) { in correlateProfileDataImpl() 405 *FunctionName, *CounterPtr, CountersStart, CountersEnd); in correlateProfileDataImpl() 478 uint64_t CountersEnd = this->Ctx->CountersSectionEnd; in correlateProfileNameImpl() 479 if (CounterPtr < CountersStart || CounterPtr >= CountersEnd) { in correlateProfileNameImpl() 484 CounterPtr, CountersStart, CountersEnd, 375 uint64_t CountersEnd = this->Ctx->CountersSectionEnd; correlateProfileDataImpl() local 454 uint64_t CountersEnd = this->Ctx->CountersSectionEnd; correlateProfileDataImpl() local
|
H A D | InstrProfReader.cpp | 693 CountersEnd = CountersStart + CountersSize; in readRawCounts() 731 if (CounterBaseOffset >= CountersEnd - CountersStart) in readRawCounts() 735 Twine(CountersEnd - CountersStart - 1)) in readRawCounts() 739 (CountersEnd - (CountersStart + CounterBaseOffset)) / in readRawCounts()
|
/llvm-project/bolt/runtime/ |
H A D | instr.cpp | 1619 const uint64_t CountersEnd = alignTo( in __bolt_instr_setup() local 1623 DEBUG(reportNumber("replace mmap stop: ", CountersEnd, 16)); in __bolt_instr_setup() 1624 assert(CountersEnd > CountersStart, "no counters"); in __bolt_instr_setup() 1630 __mmap(CountersStart, CountersEnd - CountersStart, PROT_READ | PROT_WRITE, in __bolt_instr_setup()
|
/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProfReader.h | 355 const char *CountersEnd; in RawInstrProfReader() 332 const char *CountersEnd; global() variable
|