| /freebsd-14.2/sys/contrib/dev/acpica/components/debugger/ |
| H A D | dbexec.c | 746 if (Info->Threads && (Info->NumCreated < Info->NumThreads)) in AcpiDbMethodThread() 799 if (Info->NumCompleted == Info->NumThreads) in AcpiDbMethodThread() 959 UINT32 NumThreads; in AcpiDbCreateExecutionThreads() local 970 NumThreads = strtoul (NumThreadsArg, NULL, 0); in AcpiDbCreateExecutionThreads() 973 if (!NumThreads || !NumLoops) in AcpiDbCreateExecutionThreads() 976 NumThreads, NumLoops); in AcpiDbCreateExecutionThreads() 1024 AcpiGbl_DbMethodInfo.NumThreads = NumThreads; in AcpiDbCreateExecutionThreads() 1025 Size = sizeof (ACPI_THREAD_ID) * AcpiGbl_DbMethodInfo.NumThreads; in AcpiDbCreateExecutionThreads() 1083 NumThreads, NumLoops); in AcpiDbCreateExecutionThreads() 1085 for (i = 0; i < (NumThreads); i++) in AcpiDbCreateExecutionThreads() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILMetadata.cpp | 95 unsigned NumThreads[3]; member 111 SmallVector<StringRef> NumThreads; in EntryProps() local 112 NumThreadsStr.split(NumThreads, ','); in EntryProps() 113 assert(NumThreads.size() == 3 && "invalid numthreads"); in EntryProps() 115 llvm::zip(NumThreads, MutableArrayRef<unsigned>(CS.NumThreads)); in EntryProps() 181 for (auto Num : ArrayRef<unsigned>(CS.NumThreads)) in appendNumThreads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
| H A D | llvm-dwarfutil.cpp | 98 if (opt::Arg *NumThreads = Args.getLastArg(OPT_threads)) in validateAndSetOptions() local 99 Options.NumThreads = atoi(NumThreads->getValue()); in validateAndSetOptions() 101 Options.NumThreads = 0; // Use all available hardware threads in validateAndSetOptions() 145 if (Options.NumThreads != 1 && Args.hasArg(OPT_threads)) in validateAndSetOptions() 148 Options.NumThreads = 1; in validateAndSetOptions()
|
| H A D | Options.h | 41 int NumThreads = 0; member
|
| H A D | DebugInfoLinker.cpp | 361 DebugInfoLinker->setNumThreads(Options.NumThreads); in linkDebugInfoImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | DwarfTransformer.h | 55 llvm::Error convert(uint32_t NumThreads, raw_ostream *OS);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVAsmPrinter.cpp | 428 SmallVector<StringRef> NumThreads; in outputExecutionModeFromNumthreadsAttribute() local 429 Attr.getValueAsString().split(NumThreads, ','); in outputExecutionModeFromNumthreadsAttribute() 430 assert(NumThreads.size() == 3 && "invalid numthreads"); in outputExecutionModeFromNumthreadsAttribute() 433 [[maybe_unused]] bool Result = NumThreads[i].getAsInteger(10, V); in outputExecutionModeFromNumthreadsAttribute()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DWARFLinkerImpl.h | 95 void setNumThreads(unsigned NumThreads) override { in setNumThreads() argument 96 GlobalData.Options.Threads = NumThreads; in setNumThreads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CoverageViewOptions.h | 55 unsigned NumThreads; member
|
| H A D | CoverageReport.cpp | 461 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in prepareFileReports() 462 if (Options.NumThreads == 0) { in prepareFileReports() 578 ThreadPoolStrategy PoolS = hardware_concurrency(Options.NumThreads); in prepareDirectoryReports() 579 if (Options.NumThreads == 0) { in prepareDirectoryReports()
|
| H A D | CoverageExporterJson.cpp | 273 ThreadPoolStrategy S = hardware_concurrency(Options.NumThreads); in renderFiles() 274 if (Options.NumThreads == 0) { in renderFiles()
|
| H A D | CodeCoverage.cpp | 812 cl::opt<unsigned> NumThreads( in run() local 816 cl::aliasopt(NumThreads)); in run() 980 ViewOpts.NumThreads = NumThreads; in run() 1214 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow() 1215 if (ViewOpts.NumThreads == 0) { in doShow()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.h | 172 void emitNumThreadsClause(CodeGenFunction &CGF, llvm::Value *NumThreads, 240 const Expr *IfCond, llvm::Value *NumThreads) override;
|
| H A D | CGOpenMPRuntime.h | 802 const Expr *IfCond, llvm::Value *NumThreads); 1055 llvm::Value *NumThreads, 1747 const Expr *IfCond, llvm::Value *NumThreads) override; 1910 void emitNumThreadsClause(CodeGenFunction &CGF, llvm::Value *NumThreads,
|
| H A D | CGOpenMPRuntimeGPU.cpp | 923 llvm::Value *NumThreads, in emitNumThreadsClause() argument 1229 llvm::Value *NumThreads) { in emitParallelCall() argument 1234 NumThreads](CodeGenFunction &CGF, in emitParallelCall() 1237 llvm::Value *NumThreadsVal = NumThreads; in emitParallelCall()
|
| H A D | CGStmtOpenMP.cpp | 1541 llvm::Value *NumThreads = nullptr; in emitCommonOMPParallelDirective() local 1548 NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads(), in emitCommonOMPParallelDirective() 1551 CGF, NumThreads, NumThreadsClause->getBeginLoc()); in emitCommonOMPParallelDirective() 1576 CapturedVars, IfCond, NumThreads); in emitCommonOMPParallelDirective() 1735 llvm::Value *NumThreads = nullptr; in EmitOMPParallelDirective() local 1737 NumThreads = EmitScalarExpr(NumThreadsClause->getNumThreads(), in EmitOMPParallelDirective() 1780 IfCond, NumThreads, ProcBind, S.hasCancel())); in EmitOMPParallelDirective()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 636 Value *NumThreads, omp::ProcBindKind ProcBind, 1408 Value *NumThreads, Value *HostPtr, 1613 Value *NumThreads; member 1621 Value *NumIterations, Value *NumTeams, Value *NumThreads, in TargetKernelArgs() 1625 NumThreads(NumThreads), DynCGGroupMem(DynCGGroupMem), in TargetKernelArgs() 2232 int32_t NumThreads,
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinkerBase.h | 128 virtual void setNumThreads(unsigned NumThreads) = 0;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | DwarfTransformer.cpp | 538 Error DwarfTransformer::convert(uint32_t NumThreads, raw_ostream *OS) { in convert() argument 557 if (NumThreads == 1) { in convert() 578 ThreadPool pool(hardware_concurrency(NumThreads)); in convert()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFLinker.h | 276 void setNumThreads(unsigned NumThreads) override { in setNumThreads() argument 277 Options.Threads = NumThreads; in setNumThreads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 267 cl::opt<unsigned> NumThreads( variable 271 cl::aliasopt(NumThreads)); 885 if (NumThreads == 0) in mergeInstrProfile() 886 NumThreads = std::min(hardware_concurrency().compute_thread_count(), in mergeInstrProfile() 891 for (unsigned I = 0; I < NumThreads; ++I) in mergeInstrProfile() 896 if (NumThreads == 1) { in mergeInstrProfile() 901 ThreadPool Pool(hardware_concurrency(NumThreads)); in mergeInstrProfile() 908 Ctx = (Ctx + 1) % NumThreads; in mergeInstrProfile()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 503 Builder.CreateInsertValue(ZeroArray, KernelArgs.NumThreads, {0}); in getKernelArgsVector() 1054 Args.NumTeams, Args.NumThreads, in emitKernelLaunch() 1118 Value *NumThreads, Instruction *PrivTID, AllocaInst *PrivTIDAddr, in targetParallelCallback() argument 1169 /* number of threads */ NumThreads ? NumThreads : Builder.getInt32(-1), in targetParallelCallback() 1290 FinalizeCallbackTy FiniCB, Value *IfCondition, Value *NumThreads, in createParallel() argument 1310 if (NumThreads && !Config.isTargetDevice()) { in createParallel() 2741 Value *NumThreads = Builder.CreateCall(RTLNumThreads, {}); in createTargetLoopWorkshareCall() local 5114 int32_t NumTeams, int32_t NumThreads, in emitTargetCall() argument 5142 Value *NumThreadsVal = Builder.getInt32(NumThreads); in emitTargetCall() 5166 int32_t NumThreads, SmallVectorImpl<Value *> &Args, in createTarget() argument [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/include/ |
| H A D | aclocal.h | 1523 UINT32 NumThreads; member
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 84 STATISTIC(NumThreads, "Number of jumps threaded"); 2463 ++NumThreads; in threadEdge()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Darwin.cpp | 717 unsigned NumThreads = in ConstructJob() local 719 CmdArgs.push_back(Args.MakeArgString("-threads=" + Twine(NumThreads))); in ConstructJob()
|