Searched refs:NumCounters (Results 1 – 9 of 9) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | release.h | 56 : Regions(NumberOfRegions), NumCounters(CountersPerRegion) { in PackedCounterArray() 58 DCHECK_GT(NumCounters, 0); in PackedCounterArray() 75 roundUpTo(NumCounters, static_cast<uptr>(1U) << PackingRatioLog) >> in PackedCounterArray() 100 uptr getCount() const { return NumCounters; } in getCount() 104 DCHECK_LT(I, NumCounters); in get() 121 const uptr Top = Min(To + 1, NumCounters); in incRange() 132 const uptr NumCounters; variable
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingMerge.c | 78 SrcData->NumCounters != DstData->NumCounters) in __llvm_profile_check_compatibility() 114 unsigned NC = SrcData->NumCounters; in __llvm_profile_merge_from_buffer()
|
| H A D | InstrProfilingPlatformOther.c | 50 CountersLast = (uint64_t *)Data->CounterPtr + Data->NumCounters; in __llvm_profile_register_function() 59 CountersLast, (uint64_t *)Data->CounterPtr + Data->NumCounters); in __llvm_profile_register_function()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 274 uint64_t NumCounters; in readNextRecord() local 277 if ((Line++)->getAsInteger(10, NumCounters)) in readNextRecord() 279 if (NumCounters == 0) in readNextRecord() 284 Record.Counts.reserve(NumCounters); in readNextRecord() 285 for (uint64_t I = 0; I < NumCounters; ++I) { in readNextRecord() 428 uint32_t NumCounters = swap(Data->NumCounters); in readRawCounts() local 430 if (NumCounters == 0) in readRawCounts() 438 if (MaxNumCounters < 0 || NumCounters > (uint32_t)MaxNumCounters) in readRawCounts() 442 ((uint32_t)CounterOffset + NumCounters) > (uint32_t)MaxNumCounters) in readRawCounts() 445 auto RawCounts = makeArrayRef(getCounter(CounterOffset), NumCounters); in readRawCounts()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 885 uint64_t NumCounters = Inc->getNumCounters()->getZExtValue(); in getOrCreateRegionCounters() local 887 ArrayType *CounterTy = ArrayType::get(Type::getInt64Ty(Ctx), NumCounters); in getOrCreateRegionCounters() 999 uint64_t NumCounters = TotalNS * NumCountersPerValueSite; in emitVNodes() local 1008 if (NumCounters < INSTR_PROF_MIN_VAL_COUNTS) in emitVNodes() 1009 NumCounters = std::max(INSTR_PROF_MIN_VAL_COUNTS, (int)NumCounters * 2); in emitVNodes() 1018 ArrayType *VNodesTy = ArrayType::get(VNodeTy, NumCounters); in emitVNodes()
|
| H A D | PGOInstrumentation.cpp | 907 unsigned NumCounters = in instrumentOneFunc() local 919 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc() 924 FuncInfo.SIVisitor.instrumentSelects(F, &I, NumCounters, FuncInfo.FuncNameVar, in instrumentOneFunc() 926 assert(I == NumCounters); in instrumentOneFunc() 1174 unsigned NumCounters = in setInstrumentedCounts() local 1178 if (NumCounters != CountFromProfile.size()) { in setInstrumentedCounts()
|
| H A D | GCOVProfiling.cpp | 1293 auto *NumCounters = Builder.CreateLoad( in insertCounterWriteout() local 1304 Builder.CreateICmpSLT(Builder.getInt32(0), NumCounters); in insertCounterWriteout() 1347 auto *CounterLoopCond = Builder.CreateICmpSLT(NextJV, NumCounters); in insertCounterWriteout()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfData.inc | 89 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \ 90 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/include/profile/ |
| H A D | InstrProfData.inc | 89 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \ 90 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
|