Home
last modified time | relevance | path

Searched refs:NumThreadsClause (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/
Dparallel.cu42 INLINE static uint16_t determineNumberOfThreads(uint16_t NumThreadsClause, in determineNumberOfThreads() argument
46 if (NumThreadsClause != 0) { in determineNumberOfThreads()
47 ThreadsRequested = NumThreadsClause; in determineNumberOfThreads()
94 uint16_t &NumThreadsClause = in __kmpc_kernel_prepare_parallel() local
98 determineNumberOfThreads(NumThreadsClause, nThreads, threadLimit); in __kmpc_kernel_prepare_parallel()
100 if (NumThreadsClause != 0) { in __kmpc_kernel_prepare_parallel()
102 NumThreadsClause = 0; in __kmpc_kernel_prepare_parallel()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp1198 if (const auto *NumThreadsClause = S.getSingleClause<OMPNumThreadsClause>()) { in emitCommonOMPParallelDirective() local
1200 auto NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads(), in emitCommonOMPParallelDirective()
1203 CGF, NumThreads, NumThreadsClause->getLocStart()); in emitCommonOMPParallelDirective()
/external/llvm-project/clang/lib/CodeGen/
DCGStmtOpenMP.cpp1532 if (const auto *NumThreadsClause = S.getSingleClause<OMPNumThreadsClause>()) { in emitCommonOMPParallelDirective() local
1535 CGF.EmitScalarExpr(NumThreadsClause->getNumThreads(), in emitCommonOMPParallelDirective()
1538 CGF, NumThreads, NumThreadsClause->getBeginLoc()); in emitCommonOMPParallelDirective()
1675 if (const auto *NumThreadsClause = S.getSingleClause<OMPNumThreadsClause>()) in EmitOMPParallelDirective() local
1676 NumThreads = EmitScalarExpr(NumThreadsClause->getNumThreads(), in EmitOMPParallelDirective()
DCGOpenMPRuntime.cpp6726 const auto *NumThreadsClause = in getNumThreads() local
6729 CGF, NumThreadsClause->getNumThreads()->getSourceRange()); in getNumThreads()
6731 cast_or_null<DeclStmt>(NumThreadsClause->getPreInitStmt())) { in getNumThreads()
6742 NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads()); in getNumThreads()
6910 const auto *NumThreadsClause = D.getSingleClause<OMPNumThreadsClause>(); in emitNumThreadsForTargetDirective() local
6912 NumThreadsClause->getNumThreads(), /*IgnoreResultAssign=*/true); in emitNumThreadsForTargetDirective()