Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DInstrProfilingPlatformOther.c46 CountersFirst = Data->CounterPtr; in __llvm_profile_register_function()
47 CountersLast = (uint64_t *)Data->CounterPtr + Data->NumCounters; in __llvm_profile_register_function()
52 CountersFirst = (uint64_t *)getMinAddr(CountersFirst, Data->CounterPtr); in __llvm_profile_register_function()
56 CountersLast, (uint64_t *)Data->CounterPtr + Data->NumCounters); in __llvm_profile_register_function()
H A DInstrProfilingMerge.c109 uint64_t *DstCounters = (uint64_t *)DstData->CounterPtr; in __llvm_profile_merge_from_buffer()
114 ((size_t)SrcData->CounterPtr - Header->CountersDelta) / in __llvm_profile_merge_from_buffer()
H A DInstrProfData.inc79 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
80 ConstantExpr::getBitCast(CounterPtr, \
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp736 auto *CounterPtr = in getOrCreateRegionCounters() local
740 CounterPtr->setVisibility(NamePtr->getVisibility()); in getOrCreateRegionCounters()
741 CounterPtr->setSection( in getOrCreateRegionCounters()
743 CounterPtr->setAlignment(8); in getOrCreateRegionCounters()
744 CounterPtr->setComdat(ProfileVarsComdat); in getOrCreateRegionCounters()
800 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters()
813 return CounterPtr; in getOrCreateRegionCounters()
H A DSanitizerCoverage.cpp799 auto CounterPtr = IRB.CreateGEP( in InjectCoverageAtBlock() local
802 auto Load = IRB.CreateLoad(CounterPtr); in InjectCoverageAtBlock()
804 auto Store = IRB.CreateStore(Inc, CounterPtr); in InjectCoverageAtBlock()
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h260 const uint64_t *getCounter(IntPtrT CounterPtr) const { in getCounter() argument
261 ptrdiff_t Offset = (swap(CounterPtr) - CountersDelta) / sizeof(uint64_t); in getCounter()
H A DInstrProfData.inc79 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
80 ConstantExpr::getBitCast(CounterPtr, \
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProfReader.cpp410 IntPtrT CounterPtr = Data->CounterPtr; in readRawCounts() local
414 auto RawCounts = makeArrayRef(getCounter(CounterPtr), NumCounters); in readRawCounts()