Home
last modified time | relevance | path

Searched refs:NumThreads (Results 1 – 25 of 34) sorted by relevance

12

/netbsd-src/sys/external/bsd/acpica/dist/debugger/
H A Ddbexec.c640 if (Info->Threads && (Info->NumCreated < Info->NumThreads)) in AcpiDbMethodThread()
693 if (Info->NumCompleted == Info->NumThreads) in AcpiDbMethodThread()
853 UINT32 NumThreads; in AcpiDbCreateExecutionThreads() local
864 NumThreads = strtoul (NumThreadsArg, NULL, 0); in AcpiDbCreateExecutionThreads()
867 if (!NumThreads || !NumLoops) in AcpiDbCreateExecutionThreads()
870 NumThreads, NumLoops); in AcpiDbCreateExecutionThreads()
918 AcpiGbl_DbMethodInfo.NumThreads = NumThreads; in AcpiDbCreateExecutionThreads()
919 Size = sizeof (ACPI_THREAD_ID) * AcpiGbl_DbMethodInfo.NumThreads; in AcpiDbCreateExecutionThreads()
955 AcpiDbUint32ToHexString (NumThreads, AcpiGbl_DbMethodInfo.NumThreadsStr); in AcpiDbCreateExecutionThreads()
977 NumThreads, NumLoops); in AcpiDbCreateExecutionThreads()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/examples/SpeculativeJIT/
H A DSpeculativeJIT.cpp34 static cl::opt<unsigned> NumThreads("num-threads", cl::Optional, variable
135 ThreadPool CompileThreads{llvm::hardware_concurrency(NumThreads)};
159 if (NumThreads < 1) { in main()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/test/
H A Duser_counters_test.cc146 CHECK_COUNTER_VALUE(e, int, "foo", EQ, e.NumThreads()); in CheckThreads()
147 CHECK_COUNTER_VALUE(e, int, "bar", EQ, 2 * e.NumThreads()); in CheckThreads()
H A Doutput_test.h94 int NumThreads() const;
H A Doutput_test_helper.cc294 int Results::NumThreads() const { in NumThreads() function in Results
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp105 NumThreads("num-threads", variable
281 NumThreads > 0 ? NumThreads : std::thread::hardware_concurrency(); in handleObjectFile()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/
H A DDwarfTransformer.h52 llvm::Error convert(uint32_t NumThreads);
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
H A DCoverageViewOptions.h51 unsigned NumThreads; member
H A DCodeCoverage.cpp737 cl::opt<unsigned> NumThreads( in run() local
741 cl::aliasopt(NumThreads)); in run()
880 ViewOpts.NumThreads = NumThreads; in run()
1057 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
1058 if (ViewOpts.NumThreads == 0) { in doShow()
H A DCoverageExporterJson.cpp233 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles()
234 if (Options.NumThreads == 0) { in renderFiles()
H A DCoverageReport.cpp391 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports()
392 if (Options.NumThreads == 0) { in prepareFileReports()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
H A Duser_counters_test.cc168 CHECK_COUNTER_VALUE(e, int, "foo", EQ, e.NumThreads()); in CheckThreads()
169 CHECK_COUNTER_VALUE(e, int, "bar", EQ, 2 * e.NumThreads()); in CheckThreads()
H A Doutput_test.h100 int NumThreads() const;
H A Doutput_test_helper.cc299 int Results::NumThreads() const { in NumThreads() function in Results
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp425 Error DwarfTransformer::convert(uint32_t NumThreads) { in convert() argument
427 if (NumThreads == 1) { in convert()
448 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp327 unsigned NumThreads, FailureMode FailMode) { in mergeInstrProfile() argument
339 if (NumThreads == 0) in mergeInstrProfile()
340 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile()
348 for (unsigned I = 0; I < NumThreads; ++I) in mergeInstrProfile()
352 if (NumThreads == 1) { in mergeInstrProfile()
356 ThreadPool Pool(hardware_concurrency(NumThreads)); in mergeInstrProfile()
362 Ctx = (Ctx + 1) % NumThreads; in mergeInstrProfile()
870 cl::opt<unsigned> NumThreads( in merge_main() local
874 cl::aliasopt(NumThreads)); in merge_main()
961 OutputFormat, OutputSparse, NumThreads, FailureMode); in merge_main()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A Ddsymutil.cpp101 unsigned NumThreads; member
285 if (opt::Arg *NumThreads = Args.getLastArg(OPT_threads)) in getOptions() local
286 Options.LinkOpts.Threads = atoi(NumThreads->getValue()); in getOptions()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DWARFLinker/
H A DDWARFLinker.h290 void setNumThreads(unsigned NumThreads) { Options.Threads = NumThreads; } in setNumThreads() argument
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp167 NumThreads("j", llvm::cl::Optional, variable
558 llvm::ThreadPool Pool(llvm::hardware_concurrency(NumThreads)); in main()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.h225 llvm::Value *NumThreads,
H A DCGOpenMPRuntime.cpp2902 llvm::Value *NumThreads, in emitNumThreadsClause() argument
2909 CGF.Builder.CreateIntCast(NumThreads, CGF.Int32Ty, /*isSigned*/ true)}; in emitNumThreadsClause()
6730 llvm::Value *NumThreads = nullptr; in getNumThreads() local
6790 NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads()); in getNumThreads()
6791 NumThreads = CGF.Builder.CreateIntCast(NumThreads, CGF.Int32Ty, in getNumThreads()
6794 NumThreads = CGF.Builder.CreateSelect( in getNumThreads()
6795 CGF.Builder.CreateICmpULT(DefaultThreadLimitVal, NumThreads), in getNumThreads()
6796 DefaultThreadLimitVal, NumThreads); in getNumThreads()
6798 NumThreads = DefaultThreadLimitVal ? DefaultThreadLimitVal in getNumThreads()
6803 NumThreads = CGF.Builder.CreateSelect(CondVal, NumThreads, in getNumThreads()
[all …]
H A DCGOpenMPRuntime.h1243 llvm::Value *NumThreads,
2138 void emitNumThreadsClause(CodeGenFunction &CGF, llvm::Value *NumThreads,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DOpenMPClause.h606 Stmt *NumThreads = nullptr; variable
609 void setNumThreads(Expr *NThreads) { NumThreads = NThreads; } in setNumThreads()
621 OMPNumThreadsClause(Expr *NumThreads, Stmt *HelperNumThreads, in OMPNumThreadsClause() argument
627 NumThreads(NumThreads) { in OMPNumThreadsClause()
644 Expr *getNumThreads() const { return cast_or_null<Expr>(NumThreads); } in getNumThreads()
646 child_range children() { return child_range(&NumThreads, &NumThreads + 1); } in children()
649 return const_child_range(&NumThreads, &NumThreads + 1); in children()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h205 Value *NumThreads, omp::ProcBindKind ProcBind,
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Daclocal.h1427 UINT32 NumThreads;
1425 UINT32 NumThreads; global() member

12