Home
last modified time | relevance | path

Searched refs:getClauseKind (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DOpenMPClause.h83 OpenMPClauseKind getClauseKind() const { return Kind; } in getClauseKind() function
397 return T->getClauseKind() == llvm::omp::OMPC_align; in classof()
595 return T->getClauseKind() == llvm::omp::OMPC_if; in classof()
663 return T->getClauseKind() == llvm::omp::OMPC_final; in classof()
963 return T->getClauseKind() == llvm::omp::OMPC_sizes; in classof()
1006 return T->getClauseKind() == llvm::omp::OMPC_full; in classof()
2009 return T->getClauseKind() == llvm::omp::OMPC_read; in classof()
5954 return T->getClauseKind() == llvm::omp::OMPC_map; in classof()
6856 return T->getClauseKind() == llvm::omp::OMPC_to; in classof()
7902 return T->getClauseKind() == llvm::omp::OMPC_use; in classof()
[all …]
H A DRecursiveASTVisitor.h3166 switch (C->getClauseKind()) {
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/openmp/
H A DUseDefaultNoneCheck.cpp45 << getOpenMPSimpleClauseTypeName(Clause->getClauseKind(), in check()
/llvm-project-15.0.7/clang/lib/AST/
H A DOpenMPClause.cpp32 switch (getClauseKind()) { in children()
45 switch (getClauseKind()) { in used_children()
64 switch (C->getClauseKind()) { in get()
181 switch (C->getClauseKind()) { in get()
1836 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), in VisitOMPUpdateClause()
1880 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPDeviceClause()
2196 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), PrintKind); in VisitOMPDependClause()
2242 OS << getOpenMPClauseName(Node->getClauseKind()); in VisitOMPMotionClause()
2252 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), in VisitOMPMotionClause()
H A DASTTypeTraits.cpp148 switch (C.getClauseKind()) { in getFromNode()
H A DTextNodeDumper.cpp338 StringRef ClauseName(llvm::omp::getOpenMPClauseName(C->getClauseKind())); in Visit()
1895 llvm::omp::getOpenMPClauseName(C->getClauseKind())); in VisitOMPRequiresDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp672 if (CNew->getClauseKind() == CPrev->getClauseKind()) { in hasDuplicateRequiresClause()
2733 if (C->getClauseKind() != OMPC_reduction) in checkReductionClauses()
6608 switch (C->getClauseKind()) { in ActOnOpenMPExecutableDirective()
10739 if (C->getClauseKind() == OMPC_hint) { in ActOnOpenMPCriticalDirective()
10968 } else if (PrevClause->getClauseKind() != C->getClauseKind()) { in checkMutuallyExclusiveClauses()
11046 if (C->getClauseKind() == OMPC_flush) in ActOnOpenMPFlushDirective()
11064 MemOrderKind = C->getClauseKind(); in ActOnOpenMPFlushDirective()
11182 << getOpenMPClauseName(TC ? TC->getClauseKind() : SC->getClauseKind()); in ActOnOpenMPOrderedDirective()
12278 switch (C->getClauseKind()) { in ActOnOpenMPAtomicDirective()
12292 AtomicKind = C->getClauseKind(); in ActOnOpenMPAtomicDirective()
[all …]
H A DTreeTransform.h3864 switch (S->getClauseKind()) { in TransformOMPClause()
8556 getDerived().getSema().StartOpenMPClause((*I)->getClauseKind()); in TransformOMPExecutableDirective()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h244 static Optional<OpenMPClauseKind> getClauseKind(llvm::StringRef ClauseKind) {
257 return getClauseKind(Value.getString()).has_value();
261 return *getClauseKind(Value.getString());
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp304 if (!isOpenMPPrivate(C->getClauseKind()) || in VisitOpenMPCapturedStmt()
305 C->getClauseKind() == OMPC_reduction || in VisitOpenMPCapturedStmt()
306 C->getClauseKind() == OMPC_linear || in VisitOpenMPCapturedStmt()
307 C->getClauseKind() == OMPC_private) in VisitOpenMPCapturedStmt()
3889 if (Clause->getClauseKind() == OMPC_unified_shared_memory) { in processRequiresDirective()
H A DCGStmtOpenMP.cpp6514 OpenMPClauseKind K = C->getClauseKind(); in EmitOMPAtomicDirective()
H A DCGOpenMPRuntime.cpp10842 if (Clause->getClauseKind() == OMPC_unified_shared_memory) { in processRequiresDirective()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp6201 Record.push_back(unsigned(C->getClauseKind())); in writeClause()