Home
last modified time | relevance | path

Searched refs:OpenACCClauseKind (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h48 OpenACCClauseKind ClauseKind;
91 OpenACCClauseKind ClauseKind, SourceLocation BeginLoc) in OpenACCParsedClause()
96 OpenACCClauseKind getClauseKind() const { return ClauseKind; } in getClauseKind()
105 assert(ClauseKind == OpenACCClauseKind::Default && in getDefaultClauseKind()
115 assert((ClauseKind == OpenACCClauseKind::If || in getConditionExpr()
116 (ClauseKind == OpenACCClauseKind::Self && in getConditionExpr()
122 if (ClauseKind == OpenACCClauseKind::Self && in getConditionExpr()
130 assert((ClauseKind == OpenACCClauseKind::NumGangs || in getNumIntExprs()
131 ClauseKind == OpenACCClauseKind::NumWorkers || in getNumIntExprs()
132 ClauseKind == OpenACCClauseKind::Async || in getNumIntExprs()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenACCKinds.h164 enum class OpenACCClauseKind { enum
294 inline StreamTy &printOpenACCClauseKind(StreamTy &Out, OpenACCClauseKind K) { in printOpenACCClauseKind()
296 case OpenACCClauseKind::Finalize: in printOpenACCClauseKind()
299 case OpenACCClauseKind::IfPresent: in printOpenACCClauseKind()
302 case OpenACCClauseKind::Seq: in printOpenACCClauseKind()
305 case OpenACCClauseKind::Independent: in printOpenACCClauseKind()
308 case OpenACCClauseKind::Auto: in printOpenACCClauseKind()
311 case OpenACCClauseKind::Worker: in printOpenACCClauseKind()
314 case OpenACCClauseKind::Vector: in printOpenACCClauseKind()
317 case OpenACCClauseKind::NoHost: in printOpenACCClauseKind()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenACC.cpp75 OpenACCClauseKind getOpenACCClauseKind(Token Tok) { in getOpenACCClauseKind()
79 return OpenACCClauseKind::Auto; in getOpenACCClauseKind()
83 return OpenACCClauseKind::Default; in getOpenACCClauseKind()
87 return OpenACCClauseKind::If; in getOpenACCClauseKind()
91 return OpenACCClauseKind::Private; in getOpenACCClauseKind()
94 return OpenACCClauseKind::Invalid; in getOpenACCClauseKind()
96 return llvm::StringSwitch<OpenACCClauseKind>( in getOpenACCClauseKind()
98 .Case("async", OpenACCClauseKind::Async) in getOpenACCClauseKind()
99 .Case("attach", OpenACCClauseKind::Attach) in getOpenACCClauseKind()
100 .Case("auto", OpenACCClauseKind::Auto) in getOpenACCClauseKind()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenACCClause.h25 OpenACCClauseKind Kind;
29 OpenACCClause(OpenACCClauseKind K, SourceLocation BeginLoc, in OpenACCClause()
37 OpenACCClauseKind getClauseKind() const { return Kind; } in getClauseKind()
61 : OpenACCClause(OpenACCClauseKind::Auto, BeginLoc, EndLoc) {} in OpenACCAutoClause()
65 return C->getClauseKind() == OpenACCClauseKind::Auto; in classof()
83 : OpenACCClause(OpenACCClauseKind::Independent, BeginLoc, EndLoc) {} in OpenACCIndependentClause()
87 return C->getClauseKind() == OpenACCClauseKind::Independent; in classof()
104 : OpenACCClause(OpenACCClauseKind::Seq, BeginLoc, EndLoc) {} in OpenACCSeqClause()
108 return C->getClauseKind() == OpenACCClauseKind::Seq; in classof()
128 : OpenACCClause(OpenACCClauseKind::Gang, BeginLoc, EndLoc) { in OpenACCGangClause()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp45 OpenACCClauseKind ClauseKind) { in doesClauseApplyToDirective()
49 case OpenACCClauseKind::Default: in doesClauseApplyToDirective()
62 case OpenACCClauseKind::If: in doesClauseApplyToDirective()
83 case OpenACCClauseKind::Self: in doesClauseApplyToDirective()
96 case OpenACCClauseKind::NumGangs: in doesClauseApplyToDirective()
97 case OpenACCClauseKind::NumWorkers: in doesClauseApplyToDirective()
98 case OpenACCClauseKind::VectorLength: in doesClauseApplyToDirective()
108 case OpenACCClauseKind::FirstPrivate: in doesClauseApplyToDirective()
118 case OpenACCClauseKind::Private: in doesClauseApplyToDirective()
130 case OpenACCClauseKind::NoCreate: in doesClauseApplyToDirective()
[all …]
H A DTreeTransform.h11424 OpenACCClauseKind::Attach, E); in VisitAttachClause()
11443 OpenACCClauseKind::DevicePtr, E); in VisitDevicePtrClause()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenACCClause.cpp71 : OpenACCClauseWithCondition(OpenACCClauseKind::If, BeginLoc, LParenLoc, in OpenACCIfClause()
92 : OpenACCClauseWithCondition(OpenACCClauseKind::Self, BeginLoc, LParenLoc, in OpenACCSelfClause()
105 case OpenACCClauseKind::CLAUSE_NAME: \ in children()
108 case OpenACCClauseKind::ALIAS_NAME: \ in children()
120 : OpenACCClauseWithSingleIntExpr(OpenACCClauseKind::NumWorkers, BeginLoc, in OpenACCNumWorkersClause()
141 : OpenACCClauseWithSingleIntExpr(OpenACCClauseKind::VectorLength, BeginLoc, in OpenACCVectorLengthClause()
161 : OpenACCClauseWithSingleIntExpr(OpenACCClauseKind::Async, BeginLoc, in OpenACCAsyncClause()
260 OpenACCCopyClause::Create(const ASTContext &C, OpenACCClauseKind Spelling, in Create()
270 OpenACCCopyInClause::Create(const ASTContext &C, OpenACCClauseKind Spelling, in Create()
281 OpenACCCopyOutClause::Create(const ASTContext &C, OpenACCClauseKind Spelling, in Create()
[all …]
H A DTextNodeDumper.cpp397 case OpenACCClauseKind::Default: in Visit()
400 case OpenACCClauseKind::Async: in Visit()
401 case OpenACCClauseKind::Auto: in Visit()
402 case OpenACCClauseKind::Attach: in Visit()
403 case OpenACCClauseKind::Copy: in Visit()
404 case OpenACCClauseKind::PCopy: in Visit()
405 case OpenACCClauseKind::PresentOrCopy: in Visit()
406 case OpenACCClauseKind::If: in Visit()
407 case OpenACCClauseKind::Independent: in Visit()
408 case OpenACCClauseKind::DevicePtr: in Visit()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp7928 case OpenACCClauseKind::Default: { in writeOpenACCClause()
7934 case OpenACCClauseKind::If: { in writeOpenACCClause()
7940 case OpenACCClauseKind::Self: { in writeOpenACCClause()
7948 case OpenACCClauseKind::NumGangs: { in writeOpenACCClause()
7956 case OpenACCClauseKind::NumWorkers: { in writeOpenACCClause()
7962 case OpenACCClauseKind::VectorLength: { in writeOpenACCClause()
7968 case OpenACCClauseKind::Private: { in writeOpenACCClause()
7974 case OpenACCClauseKind::FirstPrivate: { in writeOpenACCClause()
7980 case OpenACCClauseKind::Attach: { in writeOpenACCClause()
7986 case OpenACCClauseKind::DevicePtr: { in writeOpenACCClause()
[all …]
H A DASTReader.cpp11884 OpenACCClauseKind ClauseKind = readEnum<OpenACCClauseKind>(); in readOpenACCClause()
11889 case OpenACCClauseKind::Default: { in readOpenACCClause()
11895 case OpenACCClauseKind::If: { in readOpenACCClause()
11901 case OpenACCClauseKind::Self: { in readOpenACCClause()
11907 case OpenACCClauseKind::NumGangs: { in readOpenACCClause()
11916 case OpenACCClauseKind::NumWorkers: { in readOpenACCClause()
11922 case OpenACCClauseKind::VectorLength: { in readOpenACCClause()
11928 case OpenACCClauseKind::Private: { in readOpenACCClause()
11934 case OpenACCClauseKind::FirstPrivate: { in readOpenACCClause()
11940 case OpenACCClauseKind::Attach: { in readOpenACCClause()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3722 OpenACCVarParseResult ParseOpenACCVar(OpenACCClauseKind CK);
3724 llvm::SmallVector<Expr *> ParseOpenACCVarList(OpenACCClauseKind CK);
3729 OpenACCDirectiveKind DirKind, OpenACCClauseKind Kind,
3753 OpenACCClauseKind CK,
3757 bool ParseOpenACCIntExprList(OpenACCDirectiveKind DK, OpenACCClauseKind CK,
3766 OpenACCClauseKind CK,