/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaOpenACC.h | 48 OpenACCClauseKind ClauseKind; variable 91 OpenACCClauseKind ClauseKind, SourceLocation BeginLoc) in OpenACCParsedClause() argument 92 : DirKind(DirKind), ClauseKind(ClauseKind), ClauseRange(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() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseOpenACC.cpp | 867 OpenACCDirectiveKind DirKind, OpenACCClauseKind ClauseKind, in ParseOpenACCClauseParams() argument 871 SemaOpenACC::OpenACCParsedClause ParsedClause(DirKind, ClauseKind, ClauseLoc); in ParseOpenACCClauseParams() 873 if (ClauseHasRequiredParens(DirKind, ClauseKind)) { in ParseOpenACCClauseParams() 884 switch (ClauseKind) { in ParseOpenACCClauseParams() 923 *this, OpenACCSpecialTokenKind::ReadOnly, ClauseKind); in ParseOpenACCClauseParams() 924 ParsedClause.setVarListDetails(ParseOpenACCVarList(ClauseKind), in ParseOpenACCClauseParams() 936 *this, OpenACCSpecialTokenKind::Zero, ClauseKind); in ParseOpenACCClauseParams() 937 ParsedClause.setVarListDetails(ParseOpenACCVarList(ClauseKind), in ParseOpenACCClauseParams() 945 ParsedClause.setReductionDetails(Op, ParseOpenACCVarList(ClauseKind)); in ParseOpenACCClauseParams() 961 ParseOpenACCVarList(ClauseKind); in ParseOpenACCClauseParams() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenACC.cpp | 45 OpenACCClauseKind ClauseKind) { in doesClauseApplyToDirective() argument 46 switch (ClauseKind) { in doesClauseApplyToDirective() 1247 OpenACCClauseKind ClauseKind; in ActOnIntExpr() member in SemaOpenACC::ActOnIntExpr::IntExprConverter 1253 if (ClauseKind != OpenACCClauseKind::Invalid) in ActOnIntExpr() 1266 DirectiveKind(DK), ClauseKind(CK), IntExpr(IntExpr) {} in ActOnIntExpr() 1276 << getDiagKind() << ClauseKind << DirectiveKind << T; in ActOnIntExpr() 1331 bool SemaOpenACC::CheckVarIsPointerType(OpenACCClauseKind ClauseKind, in CheckVarIsPointerType() argument 1357 << ClauseKind << Ty; in CheckVarIsPointerType()
|
H A D | SemaOpenMP.cpp | 3862 OpenMPDefaultmapClauseKind ClauseKind = in VisitDeclRefExpr() local 3865 bool IsModifierNone = Stack->getDefaultmapModifier(ClauseKind) == in VisitDeclRefExpr() 3887 bool IsModifierPresent = Stack->getDefaultmapModifier(ClauseKind) == in VisitDeclRefExpr() 3890 if (!llvm::is_contained(ImplicitMapModifier[ClauseKind], in VisitDeclRefExpr() 3892 ImplicitMapModifier[ClauseKind].push_back( in VisitDeclRefExpr() 3930 IsFirstprivate || (Stack->mustBeFirstprivate(ClauseKind) && !Res); in VisitDeclRefExpr() 3935 Stack->getDefaultmapModifier(ClauseKind); in VisitDeclRefExpr() 3937 M, ClauseKind == OMPC_DEFAULTMAP_aggregate || Res); in VisitDeclRefExpr() 3938 ImplicitMap[ClauseKind][Kind].emplace_back(E); in VisitDeclRefExpr() 4031 OpenMPDefaultmapClauseKind ClauseKind = in VisitMemberExpr() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Marshallers.h | 244 getClauseKind(llvm::StringRef ClauseKind) { 245 return llvm::StringSwitch<std::optional<OpenMPClauseKind>>(ClauseKind) 272 getUnaryOrTypeTraitKind(llvm::StringRef ClauseKind) { 273 if (!ClauseKind.consume_front("UETT_")) 275 return llvm::StringSwitch<std::optional<UnaryExprOrTypeTrait>>(ClauseKind)
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Directive/ |
H A D | DirectiveBase.td | 102 // be return in get<LanguageName>ClauseKind instead of their own kind.
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 110 template <OpenMPClauseKind ClauseKind> 117 : OMPClause(ClauseKind, StartLoc, EndLoc) {} in OMPNoChildClause() 121 : OMPClause(ClauseKind, SourceLocation(), SourceLocation()) {} in OMPNoChildClause() 139 return T->getClauseKind() == ClauseKind; in classof() 143 template <OpenMPClauseKind ClauseKind, class Base> 158 : Base(ClauseKind, StartLoc, EndLoc), LParenLoc(LParenLoc), S(S) {} in OMPOneStmtClause() 160 OMPOneStmtClause() : Base(ClauseKind, SourceLocation(), SourceLocation()) {} in OMPOneStmtClause() 189 return T->getClauseKind() == ClauseKind; in classof()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 11884 OpenACCClauseKind ClauseKind = readEnum<OpenACCClauseKind>(); in readOpenACCClause() local 11888 switch (ClauseKind) { in readOpenACCClause() 11969 return OpenACCCopyClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause() 11978 return OpenACCCopyInClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause() 11987 return OpenACCCopyOutClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause() 11996 return OpenACCCreateClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause() 12026 return OpenACCDeviceTypeClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 167 getOpenMPBaseScheduleType(llvm::omp::ScheduleKind ClauseKind, bool HasChunks, in getOpenMPBaseScheduleType() argument 170 switch (ClauseKind) { in getOpenMPBaseScheduleType() 251 computeOpenMPScheduleType(ScheduleKind ClauseKind, bool HasChunks, in computeOpenMPScheduleType() argument 255 getOpenMPBaseScheduleType(ClauseKind, HasChunks, HasSimdModifier); in computeOpenMPScheduleType()
|