Home
last modified time | relevance | path

Searched refs:CountersStart (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingPlatformDarwin.c30 CountersStart __asm("section$start$__DATA$" INSTR_PROF_CNTS_SECT_NAME);
55 char *__llvm_profile_begin_counters(void) { return &CountersStart; } in __llvm_profile_begin_counters()
H A DInstrProfilingPlatformWindows.c44 char COMPILER_RT_SECTION(".lprfc$A") CountersStart;
59 char *__llvm_profile_begin_counters(void) { return &CountersStart + 1; } in __llvm_profile_begin_counters()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp269 uint64_t CountersStart = this->Ctx->CountersSectionStart; in correlateProfileDataImpl() local
271 if (*CounterPtr < CountersStart || *CounterPtr >= CountersEnd) { in correlateProfileDataImpl()
275 << Twine::utohexstr(CountersStart) << ", 0x" in correlateProfileDataImpl()
286 this->addProbe(*FunctionName, *CFGHash, *CounterPtr - CountersStart, in correlateProfileDataImpl()
H A DInstrProfReader.cpp442 CountersStart = Start + CountersOffset; in readHeader()
443 CountersEnd = CountersStart + CountersSize; in readHeader()
483 if (CounterBaseOffset >= CountersEnd - CountersStart) in readRawCounts()
487 Twine(CountersEnd - CountersStart - 1)) in readRawCounts()
491 (CountersEnd - (CountersStart + CounterBaseOffset)) / in readRawCounts()
504 CountersStart + CounterBaseOffset + I * getCounterTypeSize(); in readRawCounts()
/llvm-project-15.0.7/bolt/runtime/
H A Dinstr.cpp1547 const uint64_t CountersStart = in __bolt_instr_setup() local
1552 DEBUG(reportNumber("replace mmap start: ", CountersStart, 16)); in __bolt_instr_setup()
1554 assert (CountersEnd > CountersStart, "no counters"); in __bolt_instr_setup()
1557 __mmap(CountersStart, CountersEnd - CountersStart, in __bolt_instr_setup()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h274 const char *CountersStart; variable