Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp336 std::optional<uint64_t> CounterPtr = getLocation(Die); in correlateProfileDataImpl() local
366 if (!FunctionName || !CFGHash || !CounterPtr || !NumCounters) { in correlateProfileDataImpl()
370 << ": CFGHash=" << CFGHash << " CounterPtr=" << CounterPtr in correlateProfileDataImpl()
378 if (*CounterPtr < CountersStart || *CounterPtr >= CountersEnd) { in correlateProfileDataImpl()
383 *FunctionName, *CounterPtr, CountersStart, CountersEnd); in correlateProfileDataImpl()
395 IntPtrT CounterOffset = *CounterPtr - CountersStart; in correlateProfileDataImpl()
454 uint64_t CounterPtr = this->template maybeSwap<IntPtrT>(I->CounterPtr); in correlateProfileDataImpl() local
457 if (CounterPtr < CountersStart || CounterPtr >= CountersEnd) { in correlateProfileDataImpl()
462 CounterPtr, CountersStart, CountersEnd, in correlateProfileDataImpl()
468 IntPtrT CounterOffset = CounterPtr - CountersStart; in correlateProfileDataImpl()
H A DInstrProfReader.cpp654 ptrdiff_t CounterBaseOffset = swap(Data->CounterPtr) - CountersDelta; in readRawCounts()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformOther.c49 CountersFirst = (char *)((uintptr_t)Data_ + Data->CounterPtr); in __llvm_profile_register_function()
57 CountersFirst, (char *)((uintptr_t)Data_ + Data->CounterPtr)); in __llvm_profile_register_function()
62 (char *)((uintptr_t)Data_ + Data->CounterPtr) + in __llvm_profile_register_function()
H A DInstrProfilingMerge.c171 (char *)((uintptr_t)DstData + signextIfWin64(DstData->CounterPtr)); in __llvm_profile_merge_from_buffer()
184 SrcCountersStart + ((uintptr_t)SrcData->CounterPtr - CountersDelta); in __llvm_profile_merge_from_buffer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1354 auto *CounterPtr = setupProfileSection(Inc, IPSK_cnts); in getOrCreateRegionCounters() local
1355 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters()
1381 SP, CounterPtr->getName(), /*LinkageName=*/StringRef(), SP->getFile(), in getOrCreateRegionCounters()
1383 CounterPtr->hasLocalLinkage(), /*IsDefined=*/true, /*Expr=*/nullptr, in getOrCreateRegionCounters()
1386 CounterPtr->addDebugInfo(DICounter); in getOrCreateRegionCounters()
1462 auto *CounterPtr = PD.RegionCounters; in createDataVariable() local
1509 RelativeCounterPtr = ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy); in createDataVariable()
1517 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in createDataVariable()
H A DSanitizerCoverage.cpp968 auto CounterPtr = IRB.CreateGEP( in InjectCoverageAtBlock() local
971 auto Load = IRB.CreateLoad(Int8Ty, CounterPtr); in InjectCoverageAtBlock()
973 auto Store = IRB.CreateStore(Inc, CounterPtr); in InjectCoverageAtBlock()
/freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)