Home
last modified time | relevance | path

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

/external/llvm/lib/ProfileData/
DInstrProfReader.cpp202 uint64_t NumCounters; in readNextRecord() local
205 if ((Line++)->getAsInteger(10, NumCounters)) in readNextRecord()
207 if (NumCounters == 0) in readNextRecord()
212 Record.Counts.reserve(NumCounters); in readNextRecord()
213 for (uint64_t I = 0; I < NumCounters; ++I) { in readNextRecord()
355 uint32_t NumCounters = swap(Data->NumCounters); in readRawCounts() local
357 if (NumCounters == 0) in readRawCounts()
360 auto RawCounts = makeArrayRef(getCounter(CounterPtr), NumCounters); in readRawCounts()
/external/compiler-rt/lib/profile/
DInstrProfilingPlatformOther.c39 CountersLast = (uint64_t *)Data->CounterPtr + Data->NumCounters; in __llvm_profile_register_function()
52 UPDATE_LAST(CountersLast, (uint64_t *)Data->CounterPtr + Data->NumCounters); in __llvm_profile_register_function()
DInstrProfData.inc71 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
72 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp313 unsigned NumCounters = 0; in instrumentOneFunc() local
317 NumCounters++; in instrumentOneFunc()
333 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc()
DInstrProfiling.cpp317 uint64_t NumCounters = Inc->getNumCounters()->getZExtValue(); in getOrCreateRegionCounters() local
319 ArrayType *CounterTy = ArrayType::get(Type::getInt64Ty(Ctx), NumCounters); in getOrCreateRegionCounters()
/external/llvm/lib/Fuzzer/
DFuzzerLoop.cpp266 size_t NumCounters = __sanitizer_get_number_of_counters(); in PrepareCoverageBeforeRun() local
267 CounterBitmap.resize(NumCounters); in PrepareCoverageBeforeRun()
/external/llvm/include/llvm/ProfileData/
DInstrProfData.inc71 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
72 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))