Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp231 Optional<uint64_t> CounterPtr = getLocation(Die); in correlateProfileDataImpl() local
261 if (!FunctionName || !CFGHash || !CounterPtr || !NumCounters) { in correlateProfileDataImpl()
264 << "\n\tCounterPtr: " << CounterPtr in correlateProfileDataImpl()
271 if (*CounterPtr < CountersStart || *CounterPtr >= CountersEnd) { in correlateProfileDataImpl()
277 << Twine::utohexstr(*CounterPtr)); in correlateProfileDataImpl()
286 this->addProbe(*FunctionName, *CFGHash, *CounterPtr - CountersStart, in correlateProfileDataImpl()
H A DInstrProfReader.cpp477 ptrdiff_t CounterBaseOffset = swap(Data->CounterPtr) - CountersDelta; in readRawCounts()
/llvm-project-15.0.7/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.c137 (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()
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dcorrupted-profile.c64 memset(&SrcDataStart->CounterPtr, 0xAB, sizeof(SrcDataStart->CounterPtr)); in main()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp923 auto *CounterPtr = createRegionCounters(Inc, CntsVarName, Linkage); in getOrCreateRegionCounters() local
924 CounterPtr->setVisibility(Visibility); in getOrCreateRegionCounters()
925 CounterPtr->setSection( in getOrCreateRegionCounters()
927 MaybeSetComdat(CounterPtr); in getOrCreateRegionCounters()
928 CounterPtr->setLinkage(Linkage); in getOrCreateRegionCounters()
929 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters()
951 SP, CounterPtr->getName(), /*LinkageName=*/StringRef(), SP->getFile(), in getOrCreateRegionCounters()
953 CounterPtr->hasLocalLinkage(), /*IsDefined=*/true, /*Expr=*/nullptr, in getOrCreateRegionCounters()
956 CounterPtr->addDebugInfo(DICounter); in getOrCreateRegionCounters()
1035 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in getOrCreateRegionCounters()
H A DSanitizerCoverage.cpp962 auto CounterPtr = IRB.CreateGEP( in InjectCoverageAtBlock() local
965 auto Load = IRB.CreateLoad(Int8Ty, CounterPtr); in InjectCoverageAtBlock()
967 auto Store = IRB.CreateStore(Inc, CounterPtr); in InjectCoverageAtBlock()
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dmalformed-ptr-to-counter-array.test36 // Note: The CounterPtr here is off-by-one.
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)
/llvm-project-15.0.7/compiler-rt/include/profile/
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, IntPtrTy, CounterPtr, RelativeCounterPtr)