Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenACCClause.h37 OpenACCClauseKind getClauseKind() const { return Kind; } in getClauseKind() function
65 return C->getClauseKind() == OpenACCClauseKind::Auto; in classof()
87 return C->getClauseKind() == OpenACCClauseKind::Independent; in classof()
108 return C->getClauseKind() == OpenACCClauseKind::Seq; in classof()
134 return C->getClauseKind() == OpenACCClauseKind::Gang; in classof()
160 return C->getClauseKind() == OpenACCClauseKind::Gang; in classof()
186 return C->getClauseKind() == OpenACCClauseKind::Gang; in classof()
261 return C->getClauseKind() == OpenACCClauseKind::DType || in classof()
262 C->getClauseKind() == OpenACCClauseKind::DeviceType; in classof()
300 return C->getClauseKind() == OpenACCClauseKind::Default; in classof()
[all …]
H A DOpenMPClause.h83 OpenMPClauseKind getClauseKind() const { return Kind; } in getClauseKind() function
139 return T->getClauseKind() == ClauseKind; in classof()
189 return T->getClauseKind() == ClauseKind; in classof()
516 return T->getClauseKind() == llvm::omp::OMPC_allocate; in classof()
617 return T->getClauseKind() == llvm::omp::OMPC_if; in classof()
869 return T->getClauseKind() == llvm::omp::OMPC_sizes; in classof()
961 return T->getClauseKind() == llvm::omp::OMPC_partial; in classof()
1077 return T->getClauseKind() == llvm::omp::OMPC_default; in classof()
1159 return T->getClauseKind() == llvm::omp::OMPC_proc_bind; in classof()
1225 return T->getClauseKind() == llvm::omp::OMPC_unified_shared_memory; in classof()
[all …]
H A DRecursiveASTVisitor.h3249 switch (C->getClauseKind()) {
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp357 return C->getClauseKind() == Clause.getClauseKind(); in checkAlreadyHasClauseOfKind()
361 << Clause.getDirectiveKind() << Clause.getClauseKind(); in checkAlreadyHasClauseOfKind()
384 if (NewClause.getClauseKind() == OpenACCClauseKind::DType || in checkValidAfterDeviceType()
385 NewClause.getClauseKind() == OpenACCClauseKind::DeviceType) in checkValidAfterDeviceType()
392 switch (NewClause.getClauseKind()) { in checkValidAfterDeviceType()
406 switch (NewClause.getClauseKind()) { in checkValidAfterDeviceType()
421 << NewClause.getClauseKind() << DeviceTypeClause.getClauseKind() in checkValidAfterDeviceType()
449 switch (Clause.getClauseKind()) { in Visit()
465 << Clause.getClauseKind() << (*Itr)->getClauseKind(); in Visit()
478 << Clause.getClauseKind() << OpenACCClauseKind::CLAUSE_NAME; \ in Visit()
[all …]
H A DSemaOpenMP.cpp703 if (CNew->getClauseKind() == CPrev->getClauseKind()) { in hasDuplicateRequiresClause()
706 << getOpenMPClauseName(CNew->getClauseKind()); in hasDuplicateRequiresClause()
709 << getOpenMPClauseName(CPrev->getClauseKind()); in hasDuplicateRequiresClause()
2819 if (C->getClauseKind() != OMPC_reduction) in checkReductionClauses()
2844 if (C->getClauseKind() != OMPC_reduction) in checkReductionClauses()
3604 << "target" << getOpenMPClauseName(CNew->getClauseKind()); in CheckOMPRequiresDecl()
3612 << "atomic" << getOpenMPClauseName(CNew->getClauseKind()); in CheckOMPRequiresDecl()
4572 if (Clause->getClauseKind() == OMPC_ordered) in checkOrderedOrderSpecified()
4574 else if (Clause->getClauseKind() == OMPC_order) { in checkOrderedOrderSpecified()
4622 Clause->getClauseKind() == OMPC_in_reduction) { in ActOnOpenMPRegionEnd()
[all …]
H A DTreeTransform.h4126 switch (S->getClauseKind()) { in TransformOMPClause()
9130 getDerived().getSema().OpenMP().StartOpenMPClause((*I)->getClauseKind()); in TransformOMPExecutableDirective()
11217 Res = Self.getSema().OpenACC().ActOnVar(ParsedClause.getClauseKind(), in VisitVarList()
11303 C.getClauseKind(), in VisitNumGangsClause()
11373 Self.getSema().getASTContext(), ParsedClause.getClauseKind(), in VisitCopyClause()
11385 Self.getSema().getASTContext(), ParsedClause.getClauseKind(), in VisitCopyInClause()
11398 Self.getSema().getASTContext(), ParsedClause.getClauseKind(), in VisitCopyOutClause()
11411 Self.getSema().getASTContext(), ParsedClause.getClauseKind(), in VisitCreateClause()
11465 C.getClauseKind(), in VisitNumWorkersClause()
11488 C.getClauseKind(), in VisitVectorLengthClause()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenACCClause.cpp100 switch (getClauseKind()) { in children()
467 OS << C.getClauseKind() << '('; in VisitCopyClause()
474 OS << C.getClauseKind() << '('; in VisitCopyInClause()
483 OS << C.getClauseKind() << '('; in VisitCopyOutClause()
492 OS << C.getClauseKind() << '('; in VisitCreateClause()
529 OS << C.getClauseKind(); in VisitDeviceTypeClause()
H A DOpenMPClause.cpp33 switch (getClauseKind()) { in children()
46 switch (getClauseKind()) { in used_children()
65 switch (C->getClauseKind()) { in get()
189 switch (C->getClauseKind()) { in get()
1916 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), in VisitOMPUpdateClause()
1935 Node->getClauseKind(), static_cast<int>(Node->getFailParameter())); in VisitOMPFailClause()
1972 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPDeviceClause()
2001 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPGrainsizeClause()
2012 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPNumTasksClause()
2302 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), PrintKind); in VisitOMPDependClause()
[all …]
H A DASTTypeTraits.cpp163 switch (C.getClauseKind()) { in getFromNode()
H A DTextNodeDumper.cpp374 StringRef ClauseName(llvm::omp::getOpenMPClauseName(C->getClauseKind())); in Visit()
392 OS << C->getClauseKind(); in Visit()
396 switch (C->getClauseKind()) { in Visit()
2368 llvm::omp::getOpenMPClauseName(C->getClauseKind())); in VisitOMPRequiresDecl()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h244 getClauseKind(llvm::StringRef ClauseKind) {
257 return getClauseKind(Value.getString()).has_value();
261 return *getClauseKind(Value.getString());
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp275 if (!isOpenMPPrivate(C->getClauseKind()) || in VisitOpenMPCapturedStmt()
276 C->getClauseKind() == OMPC_reduction || in VisitOpenMPCapturedStmt()
277 C->getClauseKind() == OMPC_linear || in VisitOpenMPCapturedStmt()
278 C->getClauseKind() == OMPC_private) in VisitOpenMPCapturedStmt()
2249 if (Clause->getClauseKind() == OMPC_unified_shared_memory) { in processRequiresDirective()
H A DCGStmtOpenMP.cpp6601 OpenMPClauseKind K = C->getClauseKind(); in EmitOMPAtomicDirective()
H A DCGOpenMPRuntime.cpp10077 if (Clause->getClauseKind() == OMPC_unified_shared_memory) { in processRequiresDirective()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h96 OpenACCClauseKind getClauseKind() const { return ClauseKind; } in getClauseKind() function
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp7090 Record.push_back(unsigned(C->getClauseKind())); in writeClause()
7923 writeEnum(C->getClauseKind()); in writeOpenACCClause()
7927 switch (C->getClauseKind()) { in writeOpenACCClause()