Home
last modified time | relevance | path

Searched refs:OMPExecutableDirective (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DStmtNodes.td221 def OMPExecutableDirective : StmtNode<Stmt, 1>;
222 def OMPMetaDirective : StmtNode<OMPExecutableDirective>;
234 def OMPSingleDirective : StmtNode<OMPExecutableDirective>;
235 def OMPMasterDirective : StmtNode<OMPExecutableDirective>;
241 def OMPTaskDirective : StmtNode<OMPExecutableDirective>;
246 def OMPFlushDirective : StmtNode<OMPExecutableDirective>;
247 def OMPDepobjDirective : StmtNode<OMPExecutableDirective>;
248 def OMPScanDirective : StmtNode<OMPExecutableDirective>;
250 def OMPAtomicDirective : StmtNode<OMPExecutableDirective>;
251 def OMPTargetDirective : StmtNode<OMPExecutableDirective>;
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtOpenMP.h613 friend class OMPExecutableDirective; variable
1571 friend class OMPExecutableDirective; variable
1634 friend class OMPExecutableDirective; variable
1724 friend class OMPExecutableDirective; variable
1787 friend class OMPExecutableDirective; variable
1864 friend class OMPExecutableDirective; variable
1926 friend class OMPExecutableDirective; variable
1977 friend class OMPExecutableDirective; variable
2025 friend class OMPExecutableDirective; variable
2096 friend class OMPExecutableDirective; variable
[all …]
H A DTextNodeDumper.h342 void VisitOMPExecutableDirective(const OMPExecutableDirective *D);
H A DASTNodeTraverser.h696 void VisitOMPExecutableDirective(const OMPExecutableDirective *Node) { in VisitOMPExecutableDirective()
H A DRecursiveASTVisitor.h505 bool TraverseOMPExecutableDirective(OMPExecutableDirective *S);
2929 OMPExecutableDirective *S) {
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.h84 void emitNonSPMDKernel(const OMPExecutableDirective &D, StringRef ParentName,
100 void emitSPMDKernel(const OMPExecutableDirective &D, StringRef ParentName,
114 void emitTargetOutlinedFunction(const OMPExecutableDirective &D,
218 emitParallelOutlinedFunction(const OMPExecutableDirective &D,
233 emitTeamsOutlinedFunction(const OMPExecutableDirective &D,
246 void emitTeamsCall(CodeGenFunction &CGF, const OMPExecutableDirective &D,
371 CodeGenFunction &CGF, const OMPExecutableDirective &D) const override;
409 llvm::Function *OutlinedParallelFn, const OMPExecutableDirective &D);
H A DCGOpenMPRuntime.h46 class OMPExecutableDirective; variable
294 const OMPExecutableDirective &S);
883 const OMPExecutableDirective &D,
891 CodeGenFunction &CGF, const OMPExecutableDirective &D,
1355 const OMPExecutableDirective &D,
1598 CodeGenFunction &CGF, const OMPExecutableDirective &D,
1643 const OMPExecutableDirective &D,
1878 CodeGenFunction &CGF, const OMPExecutableDirective &D,
1958 emitTeamsOutlinedFunction(const OMPExecutableDirective &D,
2234 const OMPExecutableDirective &D,
[all …]
H A DCGOpenMPRuntimeGPU.cpp363 void VisitOMPExecutableDirective(const OMPExecutableDirective *D) { in VisitOMPExecutableDirective()
568 const OMPExecutableDirective &D) { in hasNestedSPMDDirective()
575 dyn_cast_or_null<OMPExecutableDirective>(ChildStmt)) { in hasNestedSPMDDirective()
751 static bool hasStaticScheduling(const OMPExecutableDirective &D) { in hasStaticScheduling()
773 dyn_cast_or_null<OMPExecutableDirective>(ChildStmt)) { in hasNestedLightweightDirective()
1150 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunction()
1241 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, in emitParallelOutlinedFunction()
1286 const OMPExecutableDirective *Dir = &D; in getDistributeLastprivateVars()
1292 Dir = dyn_cast_or_null<OMPExecutableDirective>(S); in getDistributeLastprivateVars()
1318 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, in emitTeamsOutlinedFunction()
[all …]
H A DCodeGenFunction.h81 class OMPExecutableDirective; variable
303 CodeGenFunction &, const OMPExecutableDirective &S)>
308 CodeGenFunction &, const OMPExecutableDirective &S, Address LB,
694 const OMPExecutableDirective *ParentLoopDirectiveForScan;
699 const OMPExecutableDirective &ParentLoopDirectiveForScan)
3394 bool EmitOMPFirstprivateClause(const OMPExecutableDirective &D,
3396 void EmitOMPPrivateClause(const OMPExecutableDirective &D,
3415 bool EmitOMPCopyinClause(const OMPExecutableDirective &D);
3498 void processInReduction(const OMPExecutableDirective &S,
3643 const OMPExecutableDirective &S, bool RequiresCleanup,
[all …]
H A DCGStmtOpenMP.cpp76 CodeGenFunction &CGF, const OMPExecutableDirective &S, in OMPLexicalScope()
108 bool EmitPreInitStmt(const OMPExecutableDirective &S) { in EmitPreInitStmt()
124 bool EmitPreInitStmt(const OMPExecutableDirective &S) { in EmitPreInitStmt()
944 const OMPExecutableDirective &D, in EmitOMPPrivateClause()
1104 const OMPExecutableDirective &D, bool NoFinals, in EmitOMPLastprivateClauseFinal()
1195 const OMPExecutableDirective &D, in EmitOMPReductionClauseInit()
1448 CodeGenFunction &CGF, const OMPExecutableDirective &D, in emitPostUpdateForReductionClause()
1540 CodeGenFunction &CGF, const OMPExecutableDirective &S, in emitCommonOMPParallelDirective()
2085 const auto &OMPED = cast<OMPExecutableDirective>(S); in EmitOMPInnerLoop()
3093 CodeGenFunction &CGF, const OMPExecutableDirective &S, in emitDistributeParallelForDistributeInnerBoundParams()
[all …]
H A DCGOpenMPRuntime.cpp3907 const OMPExecutableDirective &D, in emitTaskDupFunction()
6333 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunction()
6405 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunctionHelper()
7372 llvm::PointerUnion<const OMPExecutableDirective *,
8923 assert(CurDir.is<const OMPExecutableDirective *>() && in generateAllInfo()
9073 assert(CurDir.is<const OMPExecutableDirective *>() && in generateInfoForCapture()
9724 static const OMPExecutableDirective *
10196 const OMPExecutableDirective *TD = &D; in emitTargetNumIterationsCall()
10503 isa<OMPExecutableDirective>(S) && in scanForTargetRegionsFunctions()
10508 const auto &E = *cast<OMPExecutableDirective>(S); in scanForTargetRegionsFunctions()
[all …]
H A DCGStmt.cpp85 if (const auto *D = dyn_cast<OMPExecutableDirective>(S)) { in EmitStmt()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DUninitializedValues.cpp293 void VisitOMPExecutableDirective(OMPExecutableDirective *ED);
399 void ClassifyRefs::VisitOMPExecutableDirective(OMPExecutableDirective *ED) { in VisitOMPExecutableDirective()
400 for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses())) in VisitOMPExecutableDirective()
494 void VisitOMPExecutableDirective(OMPExecutableDirective *ED);
699 OMPExecutableDirective *ED) { in VisitOMPExecutableDirective()
700 for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses())) { in VisitOMPExecutableDirective()
H A DCFG.cpp620 CFGBlock *VisitOMPExecutableDirective(OMPExecutableDirective *D,
2130 if (auto *D = dyn_cast<OMPExecutableDirective>(S)) in Visit()
5121 CFGBlock *CFGBuilder::VisitOMPExecutableDirective(OMPExecutableDirective *D, in VisitOMPExecutableDirective()
5134 OMPExecutableDirective::used_clauses_children(D->clauses())); in VisitOMPExecutableDirective()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/openmp/
H A DUseDefaultNoneCheck.cpp37 Result.Nodes.getNodeAs<OMPExecutableDirective>("directive"); in check()
H A DExceptionEscapeCheck.cpp55 Result.Nodes.getNodeAs<OMPExecutableDirective>("directive"); in check()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8270 extern const internal::VariadicDynCastAllOfMatcher<Stmt, OMPExecutableDirective>
8286 AST_MATCHER(OMPExecutableDirective, isStandaloneDirective) { in AST_MATCHER() argument
8305 AST_MATCHER_P(OMPExecutableDirective, hasStructuredBlock, in AST_MATCHER_P() argument
8323 AST_MATCHER_P(OMPExecutableDirective, hasAnyClause, in AST_MATCHER_P() argument
8437 AST_MATCHER_P(OMPExecutableDirective, isAllowedToContainClauseKind, in AST_MATCHER_P() argument
/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp607 if (auto *ED = dyn_cast<OMPExecutableDirective>(S)) { in BuildScopeInformation()
H A DSemaOpenMP.cpp3624 void VisitSubCaptures(OMPExecutableDirective *S) { in VisitSubCaptures()
4002 void VisitOMPExecutableDirective(OMPExecutableDirective *S) { in VisitOMPExecutableDirective()
5887 OMPExecutableDirective *LoopTransform = cast<OMPExecutableDirective>(AStmt); in ActOnOpenMPLoopnest()
6042 OMPExecutableDirective::getSingleClause<OMPBindClause>(Clauses)) in ActOnOpenMPExecutableDirective()
10143 OMPExecutableDirective::getClausesOfKind<OMPOrderedClause>(Clauses); in getOrderedNumberExpr()
12836 const auto *OED = dyn_cast<OMPExecutableDirective>(*I); in ActOnOpenMPTargetDirective()
12848 const auto *OED = dyn_cast<OMPExecutableDirective>(S); in ActOnOpenMPTargetDirective()
12856 << isa<OMPExecutableDirective>(S); in ActOnOpenMPTargetDirective()
14533 OMPExecutableDirective::getClausesOfKind<OMPSizesClause>(Clauses); in ActOnOpenMPTileDirective()
14752 OMPExecutableDirective::getSingleClause<OMPFullClause>(Clauses); in ActOnOpenMPUnrollDirective()
[all …]
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1078 const internal::VariadicDynCastAllOfMatcher<Stmt, OMPExecutableDirective>
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtPrinter.cpp129 void PrintOMPExecutableDirective(OMPExecutableDirective *S,
718 void StmtPrinter::PrintOMPExecutableDirective(OMPExecutableDirective *S, in PrintOMPExecutableDirective()
H A DStmtOpenMP.cpp58 bool OMPExecutableDirective::isStandaloneDirective() const { in isStandaloneDirective()
69 Stmt *OMPExecutableDirective::getStructuredBlock() { in getStructuredBlock()
H A DTextNodeDumper.cpp1857 const OMPExecutableDirective *D) { in VisitOMPExecutableDirective()
H A DStmtProfile.cpp900 StmtProfiler::VisitOMPExecutableDirective(const OMPExecutableDirective *S) { in VisitOMPExecutableDirective()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp2501 TEST(ASTMatchersTestOpenMP, OMPExecutableDirective) { in TEST() argument

12