Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformOther.c49 CountersFirst = Data->CounterPtr; in __llvm_profile_register_function()
50 CountersLast = (uint64_t *)Data->CounterPtr + Data->NumCounters; in __llvm_profile_register_function()
55 CountersFirst = (uint64_t *)getMinAddr(CountersFirst, Data->CounterPtr); in __llvm_profile_register_function()
59 CountersLast, (uint64_t *)Data->CounterPtr + Data->NumCounters); in __llvm_profile_register_function()
H A DInstrProfilingMerge.c111 uint64_t *DstCounters = (uint64_t *)DstData->CounterPtr; in __llvm_profile_merge_from_buffer()
117 uint64_t *SrcCounters = SrcCountersStart + ((size_t)SrcData->CounterPtr - in __llvm_profile_merge_from_buffer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp890 auto *CounterPtr = in getOrCreateRegionCounters() local
893 CounterPtr->setVisibility(Visibility); in getOrCreateRegionCounters()
894 CounterPtr->setSection( in getOrCreateRegionCounters()
896 CounterPtr->setAlignment(Align(8)); in getOrCreateRegionCounters()
897 MaybeSetComdat(CounterPtr); in getOrCreateRegionCounters()
898 CounterPtr->setLinkage(Linkage); in getOrCreateRegionCounters()
964 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters()
977 return CounterPtr; in getOrCreateRegionCounters()
H A DSanitizerCoverage.cpp929 auto CounterPtr = IRB.CreateGEP( in InjectCoverageAtBlock() local
932 auto Load = IRB.CreateLoad(Int8Ty, CounterPtr); in InjectCoverageAtBlock()
934 auto Store = IRB.CreateStore(Inc, CounterPtr); in InjectCoverageAtBlock()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h301 ptrdiff_t getCounterOffset(IntPtrT CounterPtr) const { in getCounterOffset() argument
302 return (swap(CounterPtr) - CountersDelta) / sizeof(uint64_t); in getCounterOffset()
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
79 ConstantExpr::getBitCast(CounterPtr, \
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp429 IntPtrT CounterPtr = Data->CounterPtr; in readRawCounts() local
440 ptrdiff_t CounterOffset = getCounterOffset(CounterPtr); in readRawCounts()
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
79 ConstantExpr::getBitCast(CounterPtr, \