Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h287 OpenACCClauseKind ClauseKind; variable
343 OpenACCClauseKind ClauseKind, SourceLocation BeginLoc) in OpenACCParsedClause() argument
344 : DirKind(DirKind), ClauseKind(ClauseKind), ClauseRange(BeginLoc, {}) {} in OpenACCParsedClause()
348 OpenACCClauseKind getClauseKind() const { return ClauseKind; } in getClauseKind()
357 assert(ClauseKind == OpenACCClauseKind::Default && in getDefaultClauseKind()
367 assert((ClauseKind == OpenACCClauseKind::If || in getConditionExpr()
368 (ClauseKind == OpenACCClauseKind::Self && in getConditionExpr()
374 if (ClauseKind == OpenACCClauseKind::Self && in getConditionExpr()
382 assert((ClauseKind == OpenACCClauseKind::NumGangs || in getNumIntExprs()
383 ClauseKind == OpenACCClauseKind::NumWorkers || in getNumIntExprs()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenACC.cpp988 OpenACCDirectiveKind DirKind, OpenACCClauseKind ClauseKind, in ParseOpenACCClauseParams() argument
992 SemaOpenACC::OpenACCParsedClause ParsedClause(DirKind, ClauseKind, ClauseLoc); in ParseOpenACCClauseParams()
994 if (ClauseHasRequiredParens(DirKind, ClauseKind)) { in ParseOpenACCClauseParams()
1005 switch (ClauseKind) { in ParseOpenACCClauseParams()
1052 OpenACCModifierKind ModList = tryParseModifierList(ClauseKind); in ParseOpenACCClauseParams()
1053 ParsedClause.setVarListDetails(ParseOpenACCVarList(DirKind, ClauseKind), in ParseOpenACCClauseParams()
1062 Op, ParseOpenACCVarList(DirKind, ClauseKind)); in ParseOpenACCClauseParams()
1084 ParsedClause.setVarListDetails(ParseOpenACCVarList(DirKind, ClauseKind), in ParseOpenACCClauseParams()
1089 *this, OpenACCSpecialTokenKind::Force, ClauseKind); in ParseOpenACCClauseParams()
1097 OpenACCDirectiveKind::Invalid, ClauseKind, in ParseOpenACCClauseParams()
[all …]
H A DParseHLSLRootSignature.cpp633 RootSignatureParser::parseDescriptorTableClauseParams(TokenKind ClauseKind, in parseDescriptorTableClauseParams() argument
721 << /*parameter=*/0 << /*param of*/ ClauseKind; in parseDescriptorTableClauseParams()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h244 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/clang/include/clang/Parse/
H A DParseHLSLRootSignature.h114 parseDescriptorTableClauseParams(RootSignatureToken::Kind ClauseKind,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp405 OpenACCClauseKind ClauseKind; in ActOnIntExpr() member in SemaOpenACC::ActOnIntExpr::IntExprConverter
411 if (ClauseKind != OpenACCClauseKind::Invalid) in ActOnIntExpr()
424 DirectiveKind(DK), ClauseKind(CK), IntExpr(IntExpr) {} in ActOnIntExpr()
434 << getDiagKind() << ClauseKind << DirectiveKind << T; in ActOnIntExpr()
492 bool SemaOpenACC::CheckVarIsPointerType(OpenACCClauseKind ClauseKind, in CheckVarIsPointerType() argument
518 << ClauseKind << Ty; in CheckVarIsPointerType()
H A DSemaOpenMP.cpp3870 OpenMPDefaultmapClauseKind ClauseKind = in VisitDeclRefExpr() local
3873 bool IsModifierNone = Stack->getDefaultmapModifier(ClauseKind) == in VisitDeclRefExpr()
3895 bool IsModifierPresent = Stack->getDefaultmapModifier(ClauseKind) == in VisitDeclRefExpr()
3898 if (!llvm::is_contained(ImpInfo.MapModifiers[ClauseKind], in VisitDeclRefExpr()
3900 ImpInfo.MapModifiers[ClauseKind].push_back( in VisitDeclRefExpr()
3938 IsFirstprivate || (Stack->mustBeFirstprivate(ClauseKind) && !Res); in VisitDeclRefExpr()
3943 Stack->getDefaultmapModifier(ClauseKind); in VisitDeclRefExpr()
3945 M, ClauseKind == OMPC_DEFAULTMAP_aggregate || Res); in VisitDeclRefExpr()
3946 ImpInfo.Mappings[ClauseKind][Kind].insert(E); in VisitDeclRefExpr()
4038 OpenMPDefaultmapClauseKind ClauseKind = in VisitMemberExpr() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Directive/
H A DDirectiveBase.td127 // be return in get<LanguageName>ClauseKind instead of their own kind.
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h110 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 DASTReader.cpp12670 OpenACCClauseKind ClauseKind = readEnum<OpenACCClauseKind>(); in readOpenACCClause() local
12674 switch (ClauseKind) { in readOpenACCClause()
12807 return OpenACCCopyClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause()
12816 return OpenACCCopyInClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause()
12825 return OpenACCCopyOutClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause()
12834 return OpenACCCreateClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause()
12864 return OpenACCDeviceTypeClause::Create(getContext(), ClauseKind, BeginLoc, in readOpenACCClause()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp172 getOpenMPBaseScheduleType(llvm::omp::ScheduleKind ClauseKind, bool HasChunks, in getOpenMPBaseScheduleType() argument
175 switch (ClauseKind) { in getOpenMPBaseScheduleType()
256 computeOpenMPScheduleType(ScheduleKind ClauseKind, bool HasChunks, in computeOpenMPScheduleType() argument
260 getOpenMPBaseScheduleType(ClauseKind, HasChunks, HasSimdModifier); in computeOpenMPScheduleType()