Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DPGOProfiling.c36 void llvm_pgo_emit(const char *MangledName, uint32_t NumCounters, in llvm_pgo_emit() argument
39 fprintf(OutputFile, "%s %u\n", MangledName, NumCounters); in llvm_pgo_emit()
40 for (i = 0; i < NumCounters; ++i) in llvm_pgo_emit()
H A 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()
H A DInstrProfData.inc71 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
72 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfReader.cpp274 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()
422 uint32_t NumCounters = swap(Data->NumCounters); in readRawCounts() local
424 if (NumCounters == 0) in readRawCounts()
432 if (MaxNumCounters < 0 || NumCounters > (uint32_t)MaxNumCounters) in readRawCounts()
436 ((uint32_t)CounterOffset + NumCounters) > (uint32_t)MaxNumCounters) in readRawCounts()
439 auto RawCounts = makeArrayRef(getCounter(CounterOffset), NumCounters); in readRawCounts()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp868 uint64_t NumCounters = Inc->getNumCounters()->getZExtValue(); in getOrCreateRegionCounters() local
870 ArrayType *CounterTy = ArrayType::get(Type::getInt64Ty(Ctx), NumCounters); in getOrCreateRegionCounters()
974 uint64_t NumCounters = TotalNS * NumCountersPerValueSite; in emitVNodes() local
983 if (NumCounters < INSTR_PROF_MIN_VAL_COUNTS) in emitVNodes()
984 NumCounters = std::max(INSTR_PROF_MIN_VAL_COUNTS, (int)NumCounters * 2); in emitVNodes()
993 ArrayType *VNodesTy = ArrayType::get(VNodeTy, NumCounters); in emitVNodes()
H A DPGOInstrumentation.cpp907 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 DGCOVProfiling.cpp1291 auto *NumCounters = Builder.CreateLoad( in insertCounterWriteout() local
1302 Builder.CreateICmpSLT(Builder.getInt32(0), NumCounters); in insertCounterWriteout()
1345 auto *CounterLoopCond = Builder.CreateICmpSLT(NextJV, NumCounters); in insertCounterWriteout()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/
H A Dwinperf.d120 DWORD NumCounters; member
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc89 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
90 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))