Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DOpenMPClause.h56 OpenMPClauseKind getClauseKind() const { return Kind; } in getClauseKind() function
266 return T->getClauseKind() == OMPC_if; in classof()
319 return T->getClauseKind() == OMPC_final; in classof()
373 return T->getClauseKind() == OMPC_num_threads; in classof()
429 return T->getClauseKind() == OMPC_safelen; in classof()
484 return T->getClauseKind() == OMPC_simdlen; in classof()
540 return T->getClauseKind() == OMPC_collapse; in classof()
609 return T->getClauseKind() == OMPC_default; in classof()
682 return T->getClauseKind() == OMPC_proc_bind; in classof()
861 return T->getClauseKind() == OMPC_schedule; in classof()
[all …]
DStmtVisitor.h205 switch (S->getClauseKind()) { in Visit()
DRecursiveASTVisitor.h2581 switch (C->getClauseKind()) {
/external/llvm-project/clang/include/clang/AST/
DOpenMPClause.h82 OpenMPClauseKind getClauseKind() const { return Kind; } in getClauseKind() function
321 return T->getClauseKind() == llvm::omp::OMPC_allocator; in classof()
418 return T->getClauseKind() == llvm::omp::OMPC_allocate; in classof()
519 return T->getClauseKind() == llvm::omp::OMPC_if; in classof()
587 return T->getClauseKind() == llvm::omp::OMPC_final; in classof()
660 return T->getClauseKind() == llvm::omp::OMPC_num_threads; in classof()
727 return T->getClauseKind() == llvm::omp::OMPC_safelen; in classof()
793 return T->getClauseKind() == llvm::omp::OMPC_simdlen; in classof()
860 return T->getClauseKind() == llvm::omp::OMPC_collapse; in classof()
940 return T->getClauseKind() == llvm::omp::OMPC_default; in classof()
[all …]
DRecursiveASTVisitor.h2951 switch (C->getClauseKind()) {
/external/llvm-project/clang-tools-extra/clang-tidy/openmp/
DUseDefaultNoneCheck.cpp45 << getOpenMPSimpleClauseTypeName(Clause->getClauseKind(), in check()
/external/clang/lib/Sema/
DSemaOpenMP.cpp1794 if (isOpenMPPrivate(Clause->getClauseKind()) || in ActOnOpenMPRegionEnd()
1795 Clause->getClauseKind() == OMPC_copyprivate || in ActOnOpenMPRegionEnd()
1798 Clause->getClauseKind() == OMPC_copyin)) { in ActOnOpenMPRegionEnd()
1799 DSAStack->setForceVarCapturing(Clause->getClauseKind() == OMPC_copyin); in ActOnOpenMPRegionEnd()
1822 if (Clause->getClauseKind() == OMPC_schedule) in ActOnOpenMPRegionEnd()
1824 else if (Clause->getClauseKind() == OMPC_ordered) in ActOnOpenMPRegionEnd()
1826 else if (Clause->getClauseKind() == OMPC_linear) in ActOnOpenMPRegionEnd()
5490 if (Clause->getClauseKind() == OMPC_safelen) in ActOnOpenMPSimdDirective()
5492 else if (Clause->getClauseKind() == OMPC_simdlen) in ActOnOpenMPSimdDirective()
5581 if (Clause->getClauseKind() == OMPC_safelen) in ActOnOpenMPForSimdDirective()
[all …]
DTreeTransform.h3178 switch (S->getClauseKind()) { in TransformOMPClause()
7174 getDerived().getSema().StartOpenMPClause((*I)->getClauseKind()); in TransformOMPExecutableDirective()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp652 if (CNew->getClauseKind() == CPrev->getClauseKind()) { in hasDuplicateRequiresClause()
655 << getOpenMPClauseName(CNew->getClauseKind()); in hasDuplicateRequiresClause()
658 << getOpenMPClauseName(CPrev->getClauseKind()); in hasDuplicateRequiresClause()
2531 if (C->getClauseKind() != OMPC_reduction) in checkReductionClauses()
2556 if (C->getClauseKind() != OMPC_reduction) in checkReductionClauses()
3214 << "target" << getOpenMPClauseName(CNew->getClauseKind()); in CheckOMPRequiresDecl()
3222 << "atomic" << getOpenMPClauseName(CNew->getClauseKind()); in CheckOMPRequiresDecl()
4314 if (Clause->getClauseKind() == OMPC_ordered) in checkOrderedOrderSpecified()
4316 else if (Clause->getClauseKind() == OMPC_order) { in checkOrderedOrderSpecified()
4364 Clause->getClauseKind() == OMPC_in_reduction) { in ActOnOpenMPRegionEnd()
[all …]
DTreeTransform.h3691 switch (S->getClauseKind()) { in TransformOMPClause()
8326 getDerived().getSema().StartOpenMPClause((*I)->getClauseKind()); in TransformOMPExecutableDirective()
/external/llvm-project/clang/lib/AST/
DOpenMPClause.cpp32 switch (getClauseKind()) { in children()
44 switch (getClauseKind()) { in used_children()
67 switch (C->getClauseKind()) { in get()
173 switch (C->getClauseKind()) { in get()
1645 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), in VisitOMPUpdateClause()
1685 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPDeviceClause()
1937 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), in VisitOMPDependClause()
1981 OS << getOpenMPClauseName(Node->getClauseKind()); in VisitOMPMotionClause()
1991 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), in VisitOMPMotionClause()
DASTTypeTraits.cpp115 switch (C.getClauseKind()) { in getFromNode()
DTextNodeDumper.cpp335 StringRef ClauseName(llvm::omp::getOpenMPClauseName(C->getClauseKind())); in Visit()
1808 llvm::omp::getOpenMPClauseName(C->getClauseKind())); in VisitOMPRequiresDecl()
/external/clang/lib/AST/
DOpenMPClause.cpp21 switch (getClauseKind()) { in children()
38 switch (C->getClauseKind()) { in get()
106 switch (C->getClauseKind()) { in get()
DASTDumper.cpp1829 StringRef ClauseName(getOpenMPClauseName(C->getClauseKind())); in VisitOMPExecutableDirective()
DStmtPrinter.cpp889 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), in VisitOMPDependClause()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h240 static Optional<OpenMPClauseKind> getClauseKind(llvm::StringRef ClauseKind) {
252 return getClauseKind(Value.getString()).hasValue();
256 return *getClauseKind(Value.getString());
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.cpp306 if (!isOpenMPPrivate(C->getClauseKind()) || in VisitOpenMPCapturedStmt()
307 C->getClauseKind() == OMPC_reduction || in VisitOpenMPCapturedStmt()
308 C->getClauseKind() == OMPC_linear || in VisitOpenMPCapturedStmt()
309 C->getClauseKind() == OMPC_private) in VisitOpenMPCapturedStmt()
4597 if (Clause->getClauseKind() == OMPC_unified_shared_memory) { in processRequiresDirective()
DCGStmtOpenMP.cpp5430 if (C->getClauseKind() != OMPC_seq_cst && in EmitOMPAtomicDirective()
5431 C->getClauseKind() != OMPC_acq_rel && in EmitOMPAtomicDirective()
5432 C->getClauseKind() != OMPC_acquire && in EmitOMPAtomicDirective()
5433 C->getClauseKind() != OMPC_release && in EmitOMPAtomicDirective()
5434 C->getClauseKind() != OMPC_relaxed) { in EmitOMPAtomicDirective()
5435 Kind = C->getClauseKind(); in EmitOMPAtomicDirective()
DCGOpenMPRuntime.cpp10553 if (Clause->getClauseKind() == OMPC_unified_shared_memory) { in processRequiresDirective()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp3212 if (C->getClauseKind() != OMPC_seq_cst) { in EmitOMPAtomicDirective()
3213 Kind = C->getClauseKind(); in EmitOMPAtomicDirective()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp1782 Record.push_back(C->getClauseKind()); in writeClause()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp6227 Record.push_back(unsigned(C->getClauseKind())); in writeClause()