Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Basic/
DStmtNodes.td196 def OMPExecutableDirective : Stmt<1>;
197 def OMPLoopDirective : DStmt<OMPExecutableDirective, 1>;
198 def OMPParallelDirective : DStmt<OMPExecutableDirective>;
202 def OMPSectionsDirective : DStmt<OMPExecutableDirective>;
203 def OMPSectionDirective : DStmt<OMPExecutableDirective>;
204 def OMPSingleDirective : DStmt<OMPExecutableDirective>;
205 def OMPMasterDirective : DStmt<OMPExecutableDirective>;
206 def OMPCriticalDirective : DStmt<OMPExecutableDirective>;
209 def OMPParallelSectionsDirective : DStmt<OMPExecutableDirective>;
210 def OMPTaskDirective : DStmt<OMPExecutableDirective>;
[all …]
/external/llvm-project/clang/include/clang/AST/
DStmtOpenMP.h34 class OMPExecutableDirective : public Stmt {
63 OMPExecutableDirective(StmtClass SC, OpenMPDirectiveKind K, in OMPExecutableDirective() function
284 return const_cast<OMPExecutableDirective *>(this)->getAssociatedStmt(); in getAssociatedStmt()
314 return const_cast<OMPExecutableDirective *>(this) in getInnermostCapturedStmt()
332 return const_cast<OMPExecutableDirective *>(this)->children(); in children()
351 return const_cast<OMPExecutableDirective *>(this)->getStructuredBlock(); in getStructuredBlock()
356 return const_cast<OMPExecutableDirective *>(this)->getRawStmt(); in getRawStmt()
374 class OMPParallelDirective : public OMPExecutableDirective {
376 friend class OMPExecutableDirective; variable
386 : OMPExecutableDirective(OMPParallelDirectiveClass, in OMPParallelDirective()
[all …]
DTextNodeDumper.h335 void VisitOMPExecutableDirective(const OMPExecutableDirective *D);
DASTNodeTraverser.h662 void VisitOMPExecutableDirective(const OMPExecutableDirective *Node) { in VisitOMPExecutableDirective()
/external/llvm-project/clang/include/clang/Basic/
DStmtNodes.td219 def OMPExecutableDirective : StmtNode<Stmt, 1>;
220 def OMPLoopDirective : StmtNode<OMPExecutableDirective, 1>;
221 def OMPParallelDirective : StmtNode<OMPExecutableDirective>;
225 def OMPSectionsDirective : StmtNode<OMPExecutableDirective>;
226 def OMPSectionDirective : StmtNode<OMPExecutableDirective>;
227 def OMPSingleDirective : StmtNode<OMPExecutableDirective>;
228 def OMPMasterDirective : StmtNode<OMPExecutableDirective>;
229 def OMPCriticalDirective : StmtNode<OMPExecutableDirective>;
232 def OMPParallelMasterDirective : StmtNode<OMPExecutableDirective>;
233 def OMPParallelSectionsDirective : StmtNode<OMPExecutableDirective>;
[all …]
/external/clang/include/clang/AST/
DStmtOpenMP.h33 class OMPExecutableDirective : public Stmt {
67 OMPExecutableDirective(const T *, StmtClass SC, OpenMPDirectiveKind K, in OMPExecutableDirective() function
218 return const_cast<OMPExecutableDirective *>(this)->getClauses(); in clauses()
231 class OMPParallelDirective : public OMPExecutableDirective {
243 : OMPExecutableDirective(this, OMPParallelDirectiveClass, OMPD_parallel, in OMPParallelDirective()
252 : OMPExecutableDirective(this, OMPParallelDirectiveClass, OMPD_parallel, in OMPParallelDirective()
293 class OMPLoopDirective : public OMPExecutableDirective {
392 : OMPExecutableDirective(That, SC, Kind, StartLoc, EndLoc, NumClauses,
996 class OMPSectionsDirective : public OMPExecutableDirective {
1010 : OMPExecutableDirective(this, OMPSectionsDirectiveClass, OMPD_sections, in OMPSectionsDirective()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.h87 const OMPExecutableDirective &D);
111 void emitNonSPMDKernel(const OMPExecutableDirective &D, StringRef ParentName,
127 void emitSPMDKernel(const OMPExecutableDirective &D, StringRef ParentName,
141 void emitTargetOutlinedFunction(const OMPExecutableDirective &D,
246 emitParallelOutlinedFunction(const OMPExecutableDirective &D,
261 emitTeamsOutlinedFunction(const OMPExecutableDirective &D,
274 void emitTeamsCall(CodeGenFunction &CGF, const OMPExecutableDirective &D,
396 CodeGenFunction &CGF, const OMPExecutableDirective &D) const override;
438 llvm::Function *OutlinedParallelFn, const OMPExecutableDirective &D);
DCGOpenMPRuntime.h47 class OMPExecutableDirective; variable
287 void tryToDisableInnerAnalysis(const OMPExecutableDirective &S,
292 const OMPExecutableDirective &S);
296 const OMPExecutableDirective &S,
299 const OMPExecutableDirective &S);
331 virtual void emitTargetOutlinedFunctionHelper(const OMPExecutableDirective &D,
861 const OMPExecutableDirective &D,
874 CodeGenFunction &CGF, const OMPExecutableDirective &D,
942 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar,
954 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar,
[all …]
DCGOpenMPRuntimeGPU.cpp365 void VisitOMPExecutableDirective(const OMPExecutableDirective *D) { in VisitOMPExecutableDirective()
620 const OMPExecutableDirective &D) { in hasNestedSPMDDirective()
627 dyn_cast_or_null<OMPExecutableDirective>(ChildStmt)) { in hasNestedSPMDDirective()
640 dyn_cast_or_null<OMPExecutableDirective>(ChildStmt)) { in hasNestedSPMDDirective()
722 const OMPExecutableDirective &D) { in supportsSPMDExecutionMode()
803 static bool hasStaticScheduling(const OMPExecutableDirective &D) { in hasStaticScheduling()
817 const OMPExecutableDirective &D) { in hasNestedLightweightDirective()
825 dyn_cast_or_null<OMPExecutableDirective>(ChildStmt)) { in hasNestedLightweightDirective()
842 dyn_cast_or_null<OMPExecutableDirective>(ChildStmt)) { in hasNestedLightweightDirective()
855 dyn_cast_or_null<OMPExecutableDirective>(ChildStmt)) { in hasNestedLightweightDirective()
[all …]
DCGStmtOpenMP.cpp42 void emitPreInitStmt(CodeGenFunction &CGF, const OMPExecutableDirective &S) { in emitPreInitStmt()
71 CodeGenFunction &CGF, const OMPExecutableDirective &S, in OMPLexicalScope()
105 bool EmitPreInitStmt(const OMPExecutableDirective &S) { in EmitPreInitStmt()
113 OMPParallelScope(CodeGenFunction &CGF, const OMPExecutableDirective &S) in OMPParallelScope()
121 bool EmitPreInitStmt(const OMPExecutableDirective &S) { in EmitPreInitStmt()
128 OMPTeamsScope(CodeGenFunction &CGF, const OMPExecutableDirective &S) in OMPTeamsScope()
204 OMPSimdLexicalScope(CodeGenFunction &CGF, const OMPExecutableDirective &S) in OMPSimdLexicalScope()
268 const OMPExecutableDirective &S,
762 bool CodeGenFunction::EmitOMPFirstprivateClause(const OMPExecutableDirective &D, in EmitOMPFirstprivateClause()
921 const OMPExecutableDirective &D, in EmitOMPPrivateClause()
[all …]
DCodeGenFunction.h84 class OMPExecutableDirective; variable
289 CodeGenFunction &, const OMPExecutableDirective &S)>
294 CodeGenFunction &, const OMPExecutableDirective &S, Address LB,
598 const OMPExecutableDirective *OMPParentLoopDirectiveForScan = nullptr;
608 const OMPExecutableDirective *ParentLoopDirectiveForScan;
613 const OMPExecutableDirective &ParentLoopDirectiveForScan)
3196 void EmitSimpleOMPExecutableDirective(const OMPExecutableDirective &D);
3285 bool EmitOMPFirstprivateClause(const OMPExecutableDirective &D,
3287 void EmitOMPPrivateClause(const OMPExecutableDirective &D,
3306 bool EmitOMPCopyinClause(const OMPExecutableDirective &D);
[all …]
DCGOpenMPRuntime.cpp1238 CodeGenModule &CGM, const OMPExecutableDirective &D, const CapturedStmt *CS, in emitParallelOrTeamsOutlinedFunction()
1275 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, in emitParallelOutlinedFunction()
1283 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, in emitTeamsOutlinedFunction()
1291 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, in emitTaskOutlinedFunction()
3778 const OMPExecutableDirective &D, in emitPrivatesInit()
3928 const OMPExecutableDirective &D, in emitTaskDupFunction()
4141 const OMPExecutableDirective &D, in emitTaskInit()
5064 const OMPExecutableDirective &D, in emitTaskCall()
6350 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunction()
6422 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunctionHelper()
[all …]
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.h41 class OMPExecutableDirective; variable
126 virtual void emitTargetOutlinedFunctionHelper(const OMPExecutableDirective &D,
491 const OMPExecutableDirective &D,
515 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar,
534 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar,
809 const OMPExecutableDirective &D,
933 virtual void emitTargetOutlinedFunction(const OMPExecutableDirective &D,
952 const OMPExecutableDirective &D,
988 const OMPExecutableDirective &D,
1008 const OMPExecutableDirective &D,
[all …]
DCGOpenMPRuntimeNVPTX.h130 void emitTargetOutlinedFunction(const OMPExecutableDirective &D,
158 emitParallelOrTeamsOutlinedFunction(const OMPExecutableDirective &D,
171 void emitTeamsCall(CodeGenFunction &CGF, const OMPExecutableDirective &D,
DCGOpenMPRuntimeNVPTX.cpp308 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunction()
362 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, in emitParallelOrTeamsOutlinedFunction()
380 const OMPExecutableDirective &D, in emitTeamsCall()
DCGStmtOpenMP.cpp30 void emitPreInitStmt(CodeGenFunction &CGF, const OMPExecutableDirective &S) { in emitPreInitStmt()
56 OMPLexicalScope(CodeGenFunction &CGF, const OMPExecutableDirective &S, in OMPLexicalScope()
572 bool CodeGenFunction::EmitOMPFirstprivateClause(const OMPExecutableDirective &D, in EmitOMPFirstprivateClause()
666 const OMPExecutableDirective &D, in EmitOMPPrivateClause()
692 bool CodeGenFunction::EmitOMPCopyinClause(const OMPExecutableDirective &D) { in EmitOMPCopyinClause()
759 const OMPExecutableDirective &D, OMPPrivateScope &PrivateScope) { in EmitOMPLastprivateClauseInit()
817 const OMPExecutableDirective &D, bool NoFinals, in EmitOMPLastprivateClauseFinal()
935 const OMPExecutableDirective &D, in EmitOMPReductionClauseInit()
1138 const OMPExecutableDirective &D) { in EmitOMPReductionClauseFinal()
1166 CodeGenFunction &CGF, const OMPExecutableDirective &D, in emitPostUpdateForReductionClause()
[all …]
DCodeGenFunction.h2391 bool EmitOMPFirstprivateClause(const OMPExecutableDirective &D,
2393 void EmitOMPPrivateClause(const OMPExecutableDirective &D,
2406 bool EmitOMPCopyinClause(const OMPExecutableDirective &D);
2418 bool EmitOMPLastprivateClauseInit(const OMPExecutableDirective &D,
2427 void EmitOMPLastprivateClauseFinal(const OMPExecutableDirective &D,
2446 void EmitOMPReductionClauseInit(const OMPExecutableDirective &D,
2452 void EmitOMPReductionClauseFinal(const OMPExecutableDirective &D);
2463 void EmitOMPTaskBasedDirective(const OMPExecutableDirective &S,
2564 void EmitSections(const OMPExecutableDirective &S);
DCGOpenMPRuntime.cpp842 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, in emitParallelOrTeamsOutlinedFunction()
862 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, in emitTaskOutlinedFunction()
3500 const OMPExecutableDirective &D, in emitPrivatesInit()
3602 const OMPExecutableDirective &D, in emitTaskDupFunction()
3683 const OMPExecutableDirective &D, in emitTaskInit()
3867 const OMPExecutableDirective &D, in emitTaskCall()
4778 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunction()
4788 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunctionHelper()
4865 const OMPExecutableDirective &D) { in emitNumTeamsClauseForTargetDirective()
4914 const OMPExecutableDirective &D) { in emitThreadLimitClauseForTargetDirective()
[all …]
/external/llvm-project/clang/lib/Analysis/
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()
/external/llvm-project/clang-tools-extra/clang-tidy/openmp/
DUseDefaultNoneCheck.cpp37 Result.Nodes.getNodeAs<OMPExecutableDirective>("directive"); in check()
DExceptionEscapeCheck.cpp55 Result.Nodes.getNodeAs<OMPExecutableDirective>("directive"); in check()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h7417 extern const internal::VariadicDynCastAllOfMatcher<Stmt, OMPExecutableDirective>
7433 AST_MATCHER(OMPExecutableDirective, isStandaloneDirective) { in AST_MATCHER() argument
7452 AST_MATCHER_P(OMPExecutableDirective, hasStructuredBlock, in AST_MATCHER_P() argument
7470 AST_MATCHER_P(OMPExecutableDirective, hasAnyClause, in AST_MATCHER_P() argument
7561 AST_MATCHER_P(OMPExecutableDirective, isAllowedToContainClauseKind, in AST_MATCHER_P() argument
/external/llvm-project/clang/lib/Sema/
DJumpDiagnostics.cpp584 if (auto *ED = dyn_cast<OMPExecutableDirective>(S)) { in BuildScopeInformation()
/external/llvm-project/clang/lib/AST/
DStmtPrinter.cpp129 void PrintOMPExecutableDirective(OMPExecutableDirective *S,
639 void StmtPrinter::PrintOMPExecutableDirective(OMPExecutableDirective *S, in PrintOMPExecutableDirective()
/external/clang/lib/AST/
DASTDumper.cpp506 void VisitOMPExecutableDirective(const OMPExecutableDirective *Node);
1818 const OMPExecutableDirective *Node) { in VisitOMPExecutableDirective()

12