Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1574 if (const auto *NumThreadsClause = S.getSingleClause<OMPNumThreadsClause>()) { in emitCommonOMPParallelDirective() local
1576 NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads(), in emitCommonOMPParallelDirective()
1579 CGF, NumThreads, NumThreadsClause->getBeginLoc()); in emitCommonOMPParallelDirective()
1764 if (const auto *NumThreadsClause = S.getSingleClause<OMPNumThreadsClause>()) in EmitOMPParallelDirective() local
1765 NumThreads = EmitScalarExpr(NumThreadsClause->getNumThreads(), in EmitOMPParallelDirective()
H A DCGOpenMPRuntime.cpp6253 const auto *NumThreadsClause = in getNumThreads() local
6255 const Expr *NTExpr = NumThreadsClause->getNumThreads(); in getNumThreads()
6271 cast_or_null<DeclStmt>(NumThreadsClause->getPreInitStmt())) { in getNumThreads()
6435 const auto *NumThreadsClause = D.getSingleClause<OMPNumThreadsClause>(); in getNumThreadsExprForTargetDirective() local
6436 CheckForConstExpr(NumThreadsClause->getNumThreads(), nullptr); in getNumThreadsExprForTargetDirective()
6437 return NumThreadsClause->getNumThreads(); in getNumThreadsExprForTargetDirective()