Home
last modified time | relevance | path

Searched refs:OpenMPDirectiveKind (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm-project/clang/include/clang/Basic/
DOpenMPKinds.h23 using OpenMPDirectiveKind = llvm::omp::Directive; variable
178 bool isOpenMPLoopDirective(OpenMPDirectiveKind DKind);
184 bool isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind);
190 bool isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind);
196 bool isOpenMPParallelDirective(OpenMPDirectiveKind DKind);
203 bool isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind);
211 bool isOpenMPTargetDataManagementDirective(OpenMPDirectiveKind DKind);
219 bool isOpenMPNestingTeamsDirective(OpenMPDirectiveKind DKind);
225 bool isOpenMPTeamsDirective(OpenMPDirectiveKind DKind);
231 bool isOpenMPSimdDirective(OpenMPDirectiveKind DKind);
[all …]
/external/clang/include/clang/Basic/
DOpenMPKinds.h23 enum OpenMPDirectiveKind { enum
130 OpenMPDirectiveKind getOpenMPDirectiveKind(llvm::StringRef Str);
131 const char *getOpenMPDirectiveName(OpenMPDirectiveKind Kind);
139 bool isAllowedClauseForDirective(OpenMPDirectiveKind DKind,
147 bool isOpenMPLoopDirective(OpenMPDirectiveKind DKind);
153 bool isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind);
159 bool isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind);
165 bool isOpenMPParallelDirective(OpenMPDirectiveKind DKind);
172 bool isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind);
180 bool isOpenMPTargetDataManagementDirective(OpenMPDirectiveKind DKind);
[all …]
/external/clang/lib/Basic/
DOpenMPKinds.cpp23 OpenMPDirectiveKind clang::getOpenMPDirectiveKind(StringRef Str) { in getOpenMPDirectiveKind()
24 return llvm::StringSwitch<OpenMPDirectiveKind>(Str) in getOpenMPDirectiveKind()
31 const char *clang::getOpenMPDirectiveName(OpenMPDirectiveKind Kind) { in getOpenMPDirectiveName()
313 bool clang::isAllowedClauseForDirective(OpenMPDirectiveKind DKind, in isAllowedClauseForDirective()
630 bool clang::isOpenMPLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPLoopDirective()
642 bool clang::isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind) { in isOpenMPWorksharingDirective()
654 bool clang::isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPTaskLoopDirective()
658 bool clang::isOpenMPParallelDirective(OpenMPDirectiveKind DKind) { in isOpenMPParallelDirective()
668 bool clang::isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind) { in isOpenMPTargetExecutionDirective()
675 bool clang::isOpenMPTargetDataManagementDirective(OpenMPDirectiveKind DKind) { in isOpenMPTargetDataManagementDirective()
[all …]
/external/llvm-project/clang/lib/Basic/
DOpenMPKinds.cpp430 bool clang::isOpenMPLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPLoopDirective()
452 bool clang::isOpenMPWorksharingDirective(OpenMPDirectiveKind DKind) { in isOpenMPWorksharingDirective()
467 bool clang::isOpenMPTaskLoopDirective(OpenMPDirectiveKind DKind) { in isOpenMPTaskLoopDirective()
474 bool clang::isOpenMPParallelDirective(OpenMPDirectiveKind DKind) { in isOpenMPParallelDirective()
490 bool clang::isOpenMPTargetExecutionDirective(OpenMPDirectiveKind DKind) { in isOpenMPTargetExecutionDirective()
500 bool clang::isOpenMPTargetDataManagementDirective(OpenMPDirectiveKind DKind) { in isOpenMPTargetDataManagementDirective()
505 bool clang::isOpenMPNestingTeamsDirective(OpenMPDirectiveKind DKind) { in isOpenMPNestingTeamsDirective()
512 bool clang::isOpenMPTeamsDirective(OpenMPDirectiveKind DKind) { in isOpenMPTeamsDirective()
520 bool clang::isOpenMPSimdDirective(OpenMPDirectiveKind DKind) { in isOpenMPSimdDirective()
534 bool clang::isOpenMPNestingDistributeDirective(OpenMPDirectiveKind Kind) { in isOpenMPNestingDistributeDirective()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.h379 static unsigned getDefaultFlagsForBarriers(OpenMPDirectiveKind Kind);
943 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen);
955 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen);
975 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen,
1051 OpenMPDirectiveKind Kind,
1174 OpenMPDirectiveKind DKind,
1209 OpenMPDirectiveKind DKind);
1369 OpenMPDirectiveKind InnermostKind,
1397 OpenMPDirectiveKind ReductionKind;
1523 OpenMPDirectiveKind CancelRegion);
[all …]
DCGOpenMPRuntimeGPU.h248 OpenMPDirectiveKind InnermostKind,
263 OpenMPDirectiveKind InnermostKind,
301 OpenMPDirectiveKind Kind, bool EmitChecks = true,
DCGOpenMPRuntime.cpp66 const RegionCodeGenTy &CodeGen, OpenMPDirectiveKind Kind, in CGOpenMPRegionInfo()
72 const RegionCodeGenTy &CodeGen, OpenMPDirectiveKind Kind, in CGOpenMPRegionInfo()
92 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind()
105 OpenMPDirectiveKind Kind;
114 OpenMPDirectiveKind Kind, bool HasCancel, in CGOpenMPOutlinedRegionInfo()
196 OpenMPDirectiveKind Kind, bool HasCancel, in CGOpenMPTaskOutlinedRegionInfo()
237 OpenMPDirectiveKind Kind, bool HasCancel) in CGOpenMPInlinedRegionInfo()
419 OpenMPDirectiveKind Kind, bool HasCancel) in InlinedOpenMPRegionRAII()
1239 const VarDecl *ThreadIDVar, OpenMPDirectiveKind InnermostKind, in emitParallelOrTeamsOutlinedFunction()
1276 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen) { in emitParallelOutlinedFunction()
[all …]
DCodeGenFunction.h1353 CancelExit(OpenMPDirectiveKind Kind, JumpDest ExitBlock,
1356 OpenMPDirectiveKind Kind = llvm::omp::OMPD_unknown;
1373 void emitExit(CodeGenFunction &CGF, OpenMPDirectiveKind Kind,
1392 void enter(CodeGenFunction &CGF, OpenMPDirectiveKind Kind, bool HasCancel) {
3221 OMPCancelStackRAII(CodeGenFunction &CGF, OpenMPDirectiveKind Kind,
3355 const OpenMPDirectiveKind ReductionKind);
3369 const OpenMPDirectiveKind CapturedRegion,
3517 JumpDest getOMPCancelDestination(OpenMPDirectiveKind Kind);
DCGOpenMPRuntimeGPU.cpp374 llvm::SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in VisitOMPExecutableDirective()
628 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in hasNestedSPMDDirective()
723 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in supportsSPMDExecutionMode()
826 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in hasNestedLightweightDirective()
982 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in supportsLightweightRuntime()
1554 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen) { in emitParallelOutlinedFunction()
1636 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen) { in emitTeamsOutlinedFunction()
2349 OpenMPDirectiveKind Kind, bool, in emitBarrierCall()
DCGStmtOpenMP.cpp72 const llvm::Optional<OpenMPDirectiveKind> CapturedRegion = llvm::None, in OMPLexicalScope()
106 OpenMPDirectiveKind Kind = S.getDirectiveKind(); in EmitPreInitStmt()
122 OpenMPDirectiveKind Kind = S.getDirectiveKind(); in EmitPreInitStmt()
778 llvm::SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in EmitOMPFirstprivateClause()
1393 const OMPExecutableDirective &D, const OpenMPDirectiveKind ReductionKind) { in EmitOMPReductionClauseFinal()
1526 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen, in emitCommonOMPParallelDirective()
3832 const OMPExecutableDirective &S, const OpenMPDirectiveKind CapturedRegion, in EmitOMPTaskBasedDirective()
5582 OpenMPDirectiveKind InnermostKind, in emitCommonOMPTeamsDirective()
5988 CodeGenFunction::getOMPCancelDestination(OpenMPDirectiveKind Kind) { in getOMPCancelDestination()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.h516 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen);
536 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen,
612 OpenMPDirectiveKind Kind,
856 OpenMPDirectiveKind InnermostKind,
913 OpenMPDirectiveKind CancelRegion);
922 OpenMPDirectiveKind CancelRegion);
DCGOpenMPRuntimeNVPTX.h160 OpenMPDirectiveKind InnermostKind,
DCGOpenMPRuntime.cpp53 const RegionCodeGenTy &CodeGen, OpenMPDirectiveKind Kind, in CGOpenMPRegionInfo()
59 const RegionCodeGenTy &CodeGen, OpenMPDirectiveKind Kind, in CGOpenMPRegionInfo()
79 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind()
92 OpenMPDirectiveKind Kind;
101 OpenMPDirectiveKind Kind, bool HasCancel) in CGOpenMPOutlinedRegionInfo()
180 OpenMPDirectiveKind Kind, bool HasCancel, in CGOpenMPTaskOutlinedRegionInfo()
221 OpenMPDirectiveKind Kind, bool HasCancel) in CGOpenMPInlinedRegionInfo()
396 OpenMPDirectiveKind Kind, bool HasCancel) in InlinedOpenMPRegionRAII()
843 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen) { in emitParallelOrTeamsOutlinedFunction()
864 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen, in emitTaskOutlinedFunction()
[all …]
DCGOpenMPRuntimeNVPTX.cpp363 OpenMPDirectiveKind InnermostKind, const RegionCodeGenTy &CodeGen) { in emitParallelOrTeamsOutlinedFunction()
/external/clang/include/clang/AST/
DStmtOpenMP.h36 OpenMPDirectiveKind Kind;
67 OMPExecutableDirective(const T *, StmtClass SC, OpenMPDirectiveKind K, in OMPExecutableDirective()
201 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind()
388 OMPLoopDirective(const T *That, StmtClass SC, OpenMPDirectiveKind Kind,
398 static unsigned getArraysOffset(OpenMPDirectiveKind Kind) { in getArraysOffset()
408 OpenMPDirectiveKind Kind) { in numLoopChildren()
2448 OpenMPDirectiveKind CancelRegion;
2469 void setCancelRegion(OpenMPDirectiveKind CR) { CancelRegion = CR; } in setCancelRegion()
2480 OpenMPDirectiveKind CancelRegion);
2490 OpenMPDirectiveKind getCancelRegion() const { return CancelRegion; } in getCancelRegion()
[all …]
DOpenMPClause.h206 OpenMPDirectiveKind NameModifier;
215 void setNameModifier(OpenMPDirectiveKind NM) { NameModifier = NM; } in setNameModifier()
234 OMPIfClause(OpenMPDirectiveKind NameModifier, Expr *Cond, in OMPIfClause()
260 OpenMPDirectiveKind getNameModifier() const { return NameModifier; } in getNameModifier()
/external/llvm-project/clang/lib/Parse/
DParseOpenMP.cpp62 OpenMPDirectiveKindExWrapper(OpenMPDirectiveKind DK) : Value(unsigned(DK)) {} in OpenMPDirectiveKindExWrapper()
63 bool operator==(OpenMPDirectiveKind V) const { return Value == unsigned(V); } in operator ==()
64 bool operator!=(OpenMPDirectiveKind V) const { return Value != unsigned(V); } in operator !=()
65 bool operator<(OpenMPDirectiveKind V) const { return Value < unsigned(V); } in operator <()
67 operator OpenMPDirectiveKind() const { return OpenMPDirectiveKind(Value); } in operator OpenMPDirectiveKind()
74 OpenMPDirectiveKind Kind;
77 DeclDirectiveListParserHelper(Parser *P, OpenMPDirectiveKind Kind) in DeclDirectiveListParserHelper()
198 ? static_cast<OpenMPDirectiveKind>(DKind) in parseOpenMPDirectiveKind()
1647 void Parser::skipUntilPragmaOpenMPEnd(OpenMPDirectiveKind DKind) { in skipUntilPragmaOpenMPEnd()
1659 void Parser::parseOMPEndDirective(OpenMPDirectiveKind BeginKind, in parseOMPEndDirective()
[all …]
/external/llvm-project/clang/include/clang/AST/
DStmtOpenMP.h39 OpenMPDirectiveKind Kind = llvm::omp::OMPD_unknown;
63 OMPExecutableDirective(StmtClass SC, OpenMPDirectiveKind K, in OMPExecutableDirective()
296 const CapturedStmt *getCapturedStmt(OpenMPDirectiveKind RegionKind) const { in getCapturedStmt()
299 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getCapturedStmt()
308 SmallVector<OpenMPDirectiveKind, 4> CaptureRegions; in getInnermostCapturedStmt()
318 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind()
583 OMPLoopDirective(StmtClass SC, OpenMPDirectiveKind Kind, in OMPLoopDirective()
590 static unsigned getArraysOffset(OpenMPDirectiveKind Kind) { in getArraysOffset()
601 OpenMPDirectiveKind Kind) { in numLoopChildren()
3007 OpenMPDirectiveKind CancelRegion = llvm::omp::OMPD_unknown;
[all …]
DOpenMPClause.h118 OpenMPDirectiveKind CaptureRegion = llvm::omp::OMPD_unknown;
128 OpenMPDirectiveKind ThisRegion = llvm::omp::OMPD_unknown) {
141 OpenMPDirectiveKind getCaptureRegion() const { return CaptureRegion; } in getCaptureRegion()
442 OpenMPDirectiveKind NameModifier = llvm::omp::OMPD_unknown;
451 void setNameModifier(OpenMPDirectiveKind NM) { NameModifier = NM; } in setNameModifier()
472 OMPIfClause(OpenMPDirectiveKind NameModifier, Expr *Cond, Stmt *HelperCond, in OMPIfClause()
473 OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, in OMPIfClause()
501 OpenMPDirectiveKind getNameModifier() const { return NameModifier; } in getNameModifier()
553 OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, in OMPFinalClause()
622 OpenMPDirectiveKind CaptureRegion, in OMPNumThreadsClause()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp51 OpenMPClauseKind CKind, OpenMPDirectiveKind DKind, bool NoDiagnose);
67 OpenMPDirectiveKind DKind = OMPD_unknown;
75 DSAVarData(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, in DSAVarData()
159 OpenMPDirectiveKind Directive = OMPD_unknown;
195 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
368 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push()
576 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
584 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
597 const llvm::function_ref<bool(OpenMPDirectiveKind)> DPred,
603 OpenMPDirectiveKind, const DeclarationNameInfo &, SourceLocation)>
[all …]
/external/llvm-project/llvm/unittests/Frontend/
DOpenMPParsingTest.cpp17 TEST(OpenMPParsingTest, OpenMPDirectiveKind) { in TEST() argument
/external/clang/lib/Sema/
DSemaOpenMP.cpp53 OpenMPDirectiveKind DKind = OMPD_unknown;
90 OpenMPDirectiveKind Directive = OMPD_unknown;
106 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, in SharingMapTy()
140 void push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, in push()
196 const llvm::function_ref<bool(OpenMPDirectiveKind)> &DPred,
204 const llvm::function_ref<bool(OpenMPDirectiveKind)> &DPred,
216 const llvm::function_ref<bool(OpenMPDirectiveKind)> &DPred,
220 bool hasDirective(const llvm::function_ref<bool(OpenMPDirectiveKind,
226 OpenMPDirectiveKind getCurrentDirective() const { in getCurrentDirective()
230 OpenMPDirectiveKind getParentDirective() const { in getParentDirective()
[all …]
/external/clang/lib/Parse/
DParseOpenMP.cpp82 static OpenMPDirectiveKind ParseOpenMPDirectiveKind(Parser &P) { in ParseOpenMPDirectiveKind()
139 return DKind < OMPD_unknown ? static_cast<OpenMPDirectiveKind>(DKind) in ParseOpenMPDirectiveKind()
791 OpenMPDirectiveKind CancelRegion = OMPD_unknown; in ParseOpenMPDeclarativeOrExecutableDirective()
992 OpenMPDirectiveKind Kind, in ParseOpenMPSimpleVarList()
1066 OMPClause *Parser::ParseOpenMPClause(OpenMPDirectiveKind DKind, in ParseOpenMPClause()
1523 bool Parser::ParseOpenMPVarList(OpenMPDirectiveKind DKind, in ParseOpenMPVarList()
1765 OMPClause *Parser::ParseOpenMPVarListClause(OpenMPDirectiveKind DKind, in ParseOpenMPVarListClause()
/external/llvm-project/clang/include/clang/Parse/
DParser.h3110 void ParseOMPEndDeclareTargetDirective(OpenMPDirectiveKind DKind,
3115 void skipUntilPragmaOpenMPEnd(OpenMPDirectiveKind DKind);
3121 void parseOMPEndDirective(OpenMPDirectiveKind BeginKind,
3122 OpenMPDirectiveKind ExpectedKind,
3123 OpenMPDirectiveKind FoundKind,
3158 OpenMPDirectiveKind Kind,
3174 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
3199 OMPClause *ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind,
3215 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
3226 OMPClause *ParseOpenMPUsesAllocatorClause(OpenMPDirectiveKind DKind);
[all …]
/external/clang/include/clang/Parse/
DParser.h2498 OpenMPDirectiveKind Kind,
2518 OMPClause *ParseOpenMPClause(OpenMPDirectiveKind DKind,
2545 OMPClause *ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
2569 bool ParseOpenMPVarList(OpenMPDirectiveKind DKind, OpenMPClauseKind Kind,

12