Home
last modified time | relevance | path

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

/external/compiler-rt/lib/profile/
DInstrProfilingPlatformOther.c45 CountersFirst = Data->CounterPtr; in __llvm_profile_register_function()
46 CountersLast = (uint64_t *)Data->CounterPtr + Data->NumCounters; in __llvm_profile_register_function()
51 CountersFirst = (uint64_t *)getMinAddr(CountersFirst, Data->CounterPtr); in __llvm_profile_register_function()
55 CountersLast, (uint64_t *)Data->CounterPtr + Data->NumCounters); in __llvm_profile_register_function()
DInstrProfilingMerge.c108 uint64_t *DstCounters = (uint64_t *)DstData->CounterPtr; in __llvm_profile_merge_from_buffer()
113 ((size_t)SrcData->CounterPtr - Header->CountersDelta) / in __llvm_profile_merge_from_buffer()
DInstrProfData.inc79 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
80 ConstantExpr::getBitCast(CounterPtr, \
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp351 auto *CounterPtr = in getOrCreateRegionCounters() local
355 CounterPtr->setVisibility(NamePtr->getVisibility()); in getOrCreateRegionCounters()
356 CounterPtr->setSection(getCountersSection()); in getOrCreateRegionCounters()
357 CounterPtr->setAlignment(8); in getOrCreateRegionCounters()
358 CounterPtr->setComdat(ProfileVarsComdat); in getOrCreateRegionCounters()
414 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters()
427 return CounterPtr; in getOrCreateRegionCounters()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp725 auto *CounterPtr = in getOrCreateRegionCounters() local
729 CounterPtr->setVisibility(NamePtr->getVisibility()); in getOrCreateRegionCounters()
730 CounterPtr->setSection( in getOrCreateRegionCounters()
732 CounterPtr->setAlignment(8); in getOrCreateRegionCounters()
733 CounterPtr->setComdat(ProfileVarsComdat); in getOrCreateRegionCounters()
789 PD.RegionCounters = CounterPtr; in getOrCreateRegionCounters()
802 return CounterPtr; in getOrCreateRegionCounters()
DSanitizerCoverage.cpp781 auto CounterPtr = IRB.CreateGEP( in InjectCoverageAtBlock() local
784 auto Load = IRB.CreateLoad(CounterPtr); in InjectCoverageAtBlock()
786 auto Store = IRB.CreateStore(Inc, CounterPtr); in InjectCoverageAtBlock()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h239 const uint64_t *getCounter(IntPtrT CounterPtr) const { in getCounter() argument
240 ptrdiff_t Offset = (swap(CounterPtr) - CountersDelta) / sizeof(uint64_t); in getCounter()
DInstrProfData.inc79 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
80 ConstantExpr::getBitCast(CounterPtr, \
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h260 const uint64_t *getCounter(IntPtrT CounterPtr) const { in getCounter() argument
261 ptrdiff_t Offset = (swap(CounterPtr) - CountersDelta) / sizeof(uint64_t); in getCounter()
DInstrProfData.inc79 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt64PtrTy(Ctx), CounterPtr, \
80 ConstantExpr::getBitCast(CounterPtr, \
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp372 IntPtrT CounterPtr = Data->CounterPtr; in readRawCounts() local
376 auto RawCounts = makeArrayRef(getCounter(CounterPtr), NumCounters); in readRawCounts()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProfReader.cpp394 IntPtrT CounterPtr = Data->CounterPtr; in readRawCounts() local
398 auto RawCounts = makeArrayRef(getCounter(CounterPtr), NumCounters); in readRawCounts()