/netbsd-src/sys/external/bsd/acpica/dist/debugger/ |
H A D | dbexec.c | 640 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 D | SpeculativeJIT.cpp | 34 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 D | user_counters_test.cc | 146 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 D | output_test.h | 94 int NumThreads() const;
|
H A D | output_test_helper.cc | 294 int Results::NumThreads() const { in NumThreads() function in Results
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-gsymutil/ |
H A D | llvm-gsymutil.cpp | 105 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 D | DwarfTransformer.h | 52 llvm::Error convert(uint32_t NumThreads);
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/ |
H A D | CoverageViewOptions.h | 51 unsigned NumThreads; member
|
H A D | CodeCoverage.cpp | 737 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 D | CoverageExporterJson.cpp | 233 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles() 234 if (Options.NumThreads == 0) { in renderFiles()
|
H A D | CoverageReport.cpp | 391 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 D | user_counters_test.cc | 168 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 D | output_test.h | 100 int NumThreads() const;
|
H A D | output_test_helper.cc | 299 int Results::NumThreads() const { in NumThreads() function in Results
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/ |
H A D | DwarfTransformer.cpp | 425 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 D | llvm-profdata.cpp | 327 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 D | dsymutil.cpp | 101 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 D | DWARFLinker.h | 290 void setNumThreads(unsigned NumThreads) { Options.Threads = NumThreads; } in setNumThreads() argument
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-scan-deps/ |
H A D | ClangScanDeps.cpp | 167 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 D | CGOpenMPRuntimeGPU.h | 225 llvm::Value *NumThreads,
|
H A D | CGOpenMPRuntime.cpp | 2902 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 D | CGOpenMPRuntime.h | 1243 llvm::Value *NumThreads, 2138 void emitNumThreadsClause(CodeGenFunction &CGF, llvm::Value *NumThreads,
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 606 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 D | OMPIRBuilder.h | 205 Value *NumThreads, omp::ProcBindKind ProcBind,
|
/netbsd-src/sys/external/bsd/acpica/dist/include/ |
H A D | aclocal.h | 1427 UINT32 NumThreads; 1425 UINT32 NumThreads; global() member
|