Home
last modified time | relevance | path

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

/external/compiler-rt/lib/profile/
DInstrProfilingMerge.c76 SrcData->NumCounters != DstData->NumCounters) in __llvm_profile_check_compatibility()
111 NC = SrcData->NumCounters; in __llvm_profile_merge_from_buffer()
DInstrProfilingPlatformOther.c46 CountersLast = (uint64_t *)Data->CounterPtr + Data->NumCounters; in __llvm_profile_register_function()
55 CountersLast, (uint64_t *)Data->CounterPtr + Data->NumCounters); in __llvm_profile_register_function()
DInstrProfData.inc90 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
91 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp223 uint64_t NumCounters; in readNextRecord() local
226 if ((Line++)->getAsInteger(10, NumCounters)) in readNextRecord()
228 if (NumCounters == 0) in readNextRecord()
233 Record.Counts.reserve(NumCounters); in readNextRecord()
234 for (uint64_t I = 0; I < NumCounters; ++I) { in readNextRecord()
371 uint32_t NumCounters = swap(Data->NumCounters); in readRawCounts() local
373 if (NumCounters == 0) in readRawCounts()
376 auto RawCounts = makeArrayRef(getCounter(CounterPtr), NumCounters); in readRawCounts()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp346 uint64_t NumCounters = Inc->getNumCounters()->getZExtValue(); in getOrCreateRegionCounters() local
348 ArrayType *CounterTy = ArrayType::get(Type::getInt64Ty(Ctx), NumCounters); in getOrCreateRegionCounters()
449 uint64_t NumCounters = TotalNS * NumCountersPerValueSite; in emitVNodes() local
458 if (NumCounters < INSTR_PROF_MIN_VAL_COUNTS) in emitVNodes()
459 NumCounters = std::max(INSTR_PROF_MIN_VAL_COUNTS, (int)NumCounters * 2); in emitVNodes()
468 ArrayType *VNodesTy = ArrayType::get(VNodeTy, NumCounters); in emitVNodes()
DPGOInstrumentation.cpp346 unsigned NumCounters = 0; in instrumentOneFunc() local
350 NumCounters++; in instrumentOneFunc()
366 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc()
/external/llvm/lib/Fuzzer/
DFuzzerLoop.cpp70 size_t NumCounters = EF->__sanitizer_get_number_of_counters(); in Prepare() local
71 C->CounterBitmap.resize(NumCounters); in Prepare()
/external/llvm/include/llvm/ProfileData/
DInstrProfData.inc90 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
91 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))