Home
last modified time | relevance | path

Searched refs:CounterPtr (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp336 std::optional<uint64_t> CounterPtr = getLocation(Die); in correlateProfileDataImpl() local
364 if (!FunctionName || !CFGHash || !CounterPtr || !NumCounters) { in correlateProfileDataImpl()
368 << ": CFGHash=" << CFGHash << " CounterPtr=" << CounterPtr in correlateProfileDataImpl()
376 if (*CounterPtr < CountersStart || *CounterPtr >= CountersEnd) { in correlateProfileDataImpl()
381 *FunctionName, *CounterPtr, CountersStart, CountersEnd); in correlateProfileDataImpl()
393 IntPtrT CounterOffset = *CounterPtr - CountersStart; in correlateProfileDataImpl()
452 uint64_t CounterPtr = this->template maybeSwap<IntPtrT>(I->CounterPtr); in correlateProfileDataImpl() local
455 if (CounterPtr < CountersStart || CounterPtr >= CountersEnd) { in correlateProfileDataImpl()
460 CounterPtr, CountersStart, CountersEnd, in correlateProfileDataImpl()
466 IntPtrT CounterOffset = CounterPtr - CountersStart; in correlateProfileDataImpl()
H A DInstrProfReader.cpp693 ptrdiff_t CounterBaseOffset = swap(Data->CounterPtr) - CountersDelta; in readRawCounts()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformOther.c53 CountersFirst = (char *)((uintptr_t)Data_ + Data->CounterPtr); in __llvm_profile_register_function()
61 CountersFirst, (char *)((uintptr_t)Data_ + Data->CounterPtr)); in __llvm_profile_register_function()
66 (char *)((uintptr_t)Data_ + Data->CounterPtr) + in __llvm_profile_register_function()
H A DInstrProfilingMerge.c190 (char *)((uintptr_t)DstData + signextIfWin64(DstData->CounterPtr)); in __llvm_profile_merge_from_buffer()
203 SrcCountersStart + ((uintptr_t)SrcData->CounterPtr - CountersDelta); in __llvm_profile_merge_from_buffer()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1694 auto *CounterPtr = setupProfileSection(Inc, IPSK_cnts); in getOrCreateRegionCounters() local
1695 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters()
1721 SP, CounterPtr->getName(), /*LinkageName=*/StringRef(), SP->getFile(), in getOrCreateRegionCounters()
1723 CounterPtr->hasLocalLinkage(), /*IsDefined=*/true, /*Expr=*/nullptr, in getOrCreateRegionCounters()
1726 CounterPtr->addDebugInfo(DICounter); in getOrCreateRegionCounters()
1801 auto *CounterPtr = PD.RegionCounters; in createDataVariable() local
1848 RelativeCounterPtr = ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy); in createDataVariable()
1856 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in createDataVariable()
H A DSanitizerCoverage.cpp974 auto CounterPtr = IRB.CreateGEP( in InjectCoverageAtBlock() local
977 auto Load = IRB.CreateLoad(Int8Ty, CounterPtr); in InjectCoverageAtBlock()
979 auto Store = IRB.CreateStore(Inc, CounterPtr); in InjectCoverageAtBlock()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc80 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc80 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)