Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfilingPlatformOther.c38 CountersFirst = Data->CounterPtr; in __llvm_profile_register_function()
39 CountersLast = (uint64_t *)Data->CounterPtr + Data->NumCounters; in __llvm_profile_register_function()
46 UPDATE_FIRST(CountersFirst, (uint64_t *)Data->CounterPtr); in __llvm_profile_register_function()
52 UPDATE_LAST(CountersLast, (uint64_t *)Data->CounterPtr + Data->NumCounters); in __llvm_profile_register_function()
H A DInstrProfData.inc78 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
79 ConstantExpr::getBitCast(CounterPtr, \
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp873 auto *CounterPtr = in getOrCreateRegionCounters() local
877 CounterPtr->setVisibility(Visibility); in getOrCreateRegionCounters()
878 CounterPtr->setSection( in getOrCreateRegionCounters()
880 CounterPtr->setAlignment(Align(8)); in getOrCreateRegionCounters()
881 MaybeSetComdat(CounterPtr); in getOrCreateRegionCounters()
882 CounterPtr->setLinkage(Linkage); in getOrCreateRegionCounters()
939 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters()
952 return CounterPtr; in getOrCreateRegionCounters()
H A DSanitizerCoverage.cpp926 auto CounterPtr = IRB.CreateGEP( in InjectCoverageAtBlock() local
929 auto Load = IRB.CreateLoad(Int8Ty, CounterPtr); in InjectCoverageAtBlock()
931 auto Store = IRB.CreateStore(Inc, CounterPtr); in InjectCoverageAtBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h294 ptrdiff_t getCounterOffset(IntPtrT CounterPtr) const { in getCounterOffset() argument
295 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, \
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfReader.cpp423 IntPtrT CounterPtr = Data->CounterPtr; in readRawCounts() local
434 ptrdiff_t CounterOffset = getCounterOffset(CounterPtr); in readRawCounts()