Searched refs:CounterPtr (Results 1 – 8 of 8) sorted by relevance
| /openbsd-src/gnu/llvm/compiler-rt/lib/profile/ |
| H A D | InstrProfilingPlatformOther.c | 49 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 D | InstrProfilingMerge.c | 137 (char *)((uintptr_t)DstData + signextIfWin64(DstData->CounterPtr)); in __llvm_profile_merge_from_buffer() 148 SrcCountersStart + ((uintptr_t)SrcData->CounterPtr - CountersDelta); in __llvm_profile_merge_from_buffer()
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/ |
| H A D | InstrProfCorrelator.cpp | 269 std::optional<uint64_t> CounterPtr = getLocation(Die); in correlateProfileDataImpl() local 299 if (!FunctionName || !CFGHash || !CounterPtr || !NumCounters) { in correlateProfileDataImpl() 302 << "\n\tCounterPtr: " << CounterPtr in correlateProfileDataImpl() 309 if (*CounterPtr < CountersStart || *CounterPtr >= CountersEnd) { in correlateProfileDataImpl() 315 << Twine::utohexstr(*CounterPtr)); in correlateProfileDataImpl() 324 IntPtrT CounterOffset = *CounterPtr - CountersStart; in correlateProfileDataImpl()
|
| H A D | InstrProfReader.cpp | 562 ptrdiff_t CounterBaseOffset = swap(Data->CounterPtr) - CountersDelta; in readRawCounts()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 935 auto *CounterPtr = createRegionCounters(Inc, CntsVarName, Linkage); in getOrCreateRegionCounters() local 936 CounterPtr->setVisibility(Visibility); in getOrCreateRegionCounters() 937 CounterPtr->setSection( in getOrCreateRegionCounters() 939 CounterPtr->setLinkage(Linkage); in getOrCreateRegionCounters() 940 MaybeSetComdat(CounterPtr); in getOrCreateRegionCounters() 941 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters() 963 SP, CounterPtr->getName(), /*LinkageName=*/StringRef(), SP->getFile(), in getOrCreateRegionCounters() 965 CounterPtr->hasLocalLinkage(), /*IsDefined=*/true, /*Expr=*/nullptr, in getOrCreateRegionCounters() 968 CounterPtr->addDebugInfo(DICounter); in getOrCreateRegionCounters() 1047 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in getOrCreateRegionCounters()
|
| H A D | SanitizerCoverage.cpp | 991 auto CounterPtr = IRB.CreateGEP( in InjectCoverageAtBlock() local 994 auto Load = IRB.CreateLoad(Int8Ty, CounterPtr); in InjectCoverageAtBlock() 996 auto Store = IRB.CreateStore(Inc, CounterPtr); in InjectCoverageAtBlock()
|
| /openbsd-src/gnu/llvm/compiler-rt/include/profile/ |
| H A D | InstrProfData.inc | 78 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfData.inc | 78 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)
|