Home
last modified time | relevance | path

Searched refs:isAllowedClauseForDirective (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPParsingTest.cpp47 TEST(OpenMPParsingTest, isAllowedClauseForDirective) { in TEST() argument
48 EXPECT_TRUE(isAllowedClauseForDirective(OMPD_for, OMPC_schedule, 30)); in TEST()
49 EXPECT_FALSE(isAllowedClauseForDirective(OMPD_for, OMPC_num_teams, 30)); in TEST()
51 EXPECT_FALSE(isAllowedClauseForDirective(OMPD_for, OMPC_order, 30)); in TEST()
52 EXPECT_FALSE(isAllowedClauseForDirective(OMPD_for, OMPC_order, 45)); in TEST()
53 EXPECT_TRUE(isAllowedClauseForDirective(OMPD_for, OMPC_order, 50)); in TEST()
54 EXPECT_TRUE(isAllowedClauseForDirective(OMPD_for, OMPC_order, 51)); in TEST()
H A DOpenACCTest.cpp215 EXPECT_TRUE(isAllowedClauseForDirective(Dir, Cl, Version)); in expectAllowedClauses()
221 EXPECT_FALSE(isAllowedClauseForDirective(Dir, Cl, Version)); in expectAllowedClauses()
/llvm-project-15.0.7/llvm/test/TableGen/
H A Ddirective2.td75 // CHECK-NEXT: bool isAllowedClauseForDirective(Directive D, Clause C, unsigned Version);
256 // IMPL-NEXT: bool llvm::tdl::isAllowedClauseForDirective(Directive D, Clause C, unsigned Version)…
H A Ddirective1.td93 // CHECK-NEXT: bool isAllowedClauseForDirective(Directive D, Clause C, unsigned Version);
302 // IMPL-NEXT: bool llvm::tdl::isAllowedClauseForDirective(Directive D, Clause C, unsigned Version)…
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseOpenMP.cpp1436 if (!isAllowedClauseForDirective(OMPD_declare_variant, CKind, in ParseOMPDeclareVariantClauses()
3152 !isAllowedClauseForDirective(DKind, CKind, getLangOpts().OpenMP)) { in ParseOpenMPClause()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8439 return llvm::omp::isAllowedClauseForDirective( in AST_MATCHER_P()