Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACCClause.cpp33 if (NewClause.getClauseKind() == OpenACCClauseKind::DType || in checkValidAfterDeviceType()
34 NewClause.getClauseKind() == OpenACCClauseKind::DeviceType) in checkValidAfterDeviceType()
41 switch (NewClause.getClauseKind()) { in checkValidAfterDeviceType()
55 switch (NewClause.getClauseKind()) { in checkValidAfterDeviceType()
70 switch (NewClause.getClauseKind()) { in checkValidAfterDeviceType()
91 switch (NewClause.getClauseKind()) { in checkValidAfterDeviceType()
106 switch (NewClause.getClauseKind()) { in checkValidAfterDeviceType()
116 switch (NewClause.getClauseKind()) { in checkValidAfterDeviceType()
128 << NewClause.getClauseKind() << DeviceTypeClause.getClauseKind() in checkValidAfterDeviceType()
132 << diag::ACCDeviceTypeApp::Active << DeviceTypeClause.getClauseKind(); in checkValidAfterDeviceType()
[all …]
H A DSemaOpenACCClauseAppertainment.cpp150 if (Lists.Required.isSet(dealiasClauseKind(C->getClauseKind()))) in DiagnoseRequiredClauses()
174 return dealiasClauseKind(C->getClauseKind()) == Dealiased; in DiagnoseAllowedOnceClauses()
201 if (Lists.AllowedExclusive.isSet(dealiasClauseKind(C->getClauseKind()))) { in DiagnoseExclusiveClauses()
203 << CK << C->getClauseKind() << DK; in DiagnoseExclusiveClauses()
205 << C->getClauseKind(); in DiagnoseExclusiveClauses()
H A DSemaOpenMP.cpp682 if (CNew->getClauseKind() == CPrev->getClauseKind()) { in hasDuplicateRequiresClause()
685 << getOpenMPClauseNameForDiag(CNew->getClauseKind()); in hasDuplicateRequiresClause()
688 << getOpenMPClauseNameForDiag(CPrev->getClauseKind()); in hasDuplicateRequiresClause()
2795 if (C->getClauseKind() != OMPC_reduction) in checkReductionClauses()
2820 if (C->getClauseKind() != OMPC_reduction) in checkReductionClauses()
3603 << "target" << getOpenMPClauseNameForDiag(CNew->getClauseKind()); in CheckOMPRequiresDecl()
3611 << "atomic" << getOpenMPClauseNameForDiag(CNew->getClauseKind()); in CheckOMPRequiresDecl()
4569 if (Clause->getClauseKind() == OMPC_ordered) in checkOrderedOrderSpecified()
4571 else if (Clause->getClauseKind() == OMPC_order) { in checkOrderedOrderSpecified()
4619 Clause->getClauseKind() == OMPC_in_reduction) { in ActOnOpenMPRegionEnd()
[all …]
H A DTreeTransform.h4326 switch (S->getClauseKind()) { in TransformOMPClause()
9490 getDerived().getSema().OpenMP().StartOpenMPClause((*I)->getClauseKind()); in TransformOMPExecutableDirective()
9563 getDerived().getSema().OpenMP().StartOpenMPClause(C->getClauseKind()); in TransformOMPInformationalDirective()
11746 ParsedClause.getClauseKind(), in VisitVarList()
11812 ParsedClause.getClauseKind(), in VisitSelfClause()
11859 C.getClauseKind(), in VisitNumGangsClause()
11953 Self.getSema().getASTContext(), ParsedClause.getClauseKind(), in VisitCopyClause()
11988 Self.getSema().getASTContext(), ParsedClause.getClauseKind(), in VisitCopyInClause()
12001 Self.getSema().getASTContext(), ParsedClause.getClauseKind(), in VisitCopyOutClause()
12014 Self.getSema().getASTContext(), ParsedClause.getClauseKind(), in VisitCreateClause()
[all …]
H A DSemaOpenACC.cpp2326 << (*BindItr)->getClauseKind(); in CheckRoutineDecl()
2387 << (*BindItr)->getClauseKind(); in CheckRoutineDecl()
2396 << (*BindItr)->getClauseKind(); in CheckRoutineDecl()
H A DSemaTemplateInstantiateDecl.cpp1096 ParsedClause.getClauseKind(), Res.get()); in VisitVarList()
1185 SemaRef.getASTContext(), C.getClauseKind(), ParsedClause.getBeginLoc(), in VisitDeviceTypeClause()
1213 SemaRef.getASTContext(), ParsedClause.getClauseKind(), in VisitCopyClause()
1256 SemaRef.getASTContext(), ParsedClause.getClauseKind(), in VisitCopyInClause()
1269 SemaRef.getASTContext(), ParsedClause.getClauseKind(), in VisitCopyOutClause()
1282 SemaRef.getASTContext(), ParsedClause.getClauseKind(), in VisitCreateClause()
1338 SemaOpenACC::OpenACCParsedClause ParsedClause(DK, Clause->getClauseKind(), in InstantiateOpenACCClauseList()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenACCClause.h40 OpenACCClauseKind getClauseKind() const { return Kind; } in getClauseKind() function
69 return C->getClauseKind() == OpenACCClauseKind::Auto; in classof()
91 return C->getClauseKind() == OpenACCClauseKind::Finalize; in classof()
113 return C->getClauseKind() == OpenACCClauseKind::IfPresent; in classof()
135 return C->getClauseKind() == OpenACCClauseKind::Independent; in classof()
156 return C->getClauseKind() == OpenACCClauseKind::Seq; in classof()
177 return C->getClauseKind() == OpenACCClauseKind::NoHost; in classof()
229 return C->getClauseKind() == OpenACCClauseKind::Bind; in classof()
301 return C->getClauseKind() == OpenACCClauseKind::DType || in classof()
302 C->getClauseKind() == OpenACCClauseKind::DeviceType; 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()
665 return T->getClauseKind() == llvm::omp::OMPC_allocate; in classof()
766 return T->getClauseKind() == llvm::omp::OMPC_if; in classof()
1031 return T->getClauseKind() == llvm::omp::OMPC_sizes; in classof()
1121 return T->getClauseKind() == llvm::omp::OMPC_permutation; in classof()
1213 return T->getClauseKind() == llvm::omp::OMPC_partial; in classof()
1329 return T->getClauseKind() == llvm::omp::OMPC_default; in classof()
1411 return T->getClauseKind() == llvm::omp::OMPC_proc_bind; in classof()
[all …]
H A DRecursiveASTVisitor.h3307 switch (C->getClauseKind()) {
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenACCClause.cpp133 switch (getClauseKind()) { in children()
803 OS << C.getClauseKind() << '('; in VisitCopyClause()
827 OS << C.getClauseKind() << '('; in VisitCopyInClause()
836 OS << C.getClauseKind() << '('; in VisitCopyOutClause()
845 OS << C.getClauseKind() << '('; in VisitCreateClause()
882 OS << C.getClauseKind(); in VisitDeviceTypeClause()
H A DOpenMPClause.cpp32 switch (getClauseKind()) { in children()
45 switch (getClauseKind()) { in used_children()
64 switch (C->getClauseKind()) { in get()
189 switch (C->getClauseKind()) { in get()
1835 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPNumThreadsClause()
2023 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), in VisitOMPUpdateClause()
2042 Node->getClauseKind(), static_cast<int>(Node->getFailParameter())); in VisitOMPFailClause()
2127 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPDeviceClause()
2160 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPGrainsizeClause()
2171 OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(), Modifier) in VisitOMPNumTasksClause()
[all …]
H A DASTTypeTraits.cpp163 switch (C.getClauseKind()) { in getFromNode()
H A DTextNodeDumper.cpp375 StringRef ClauseName(llvm::omp::getOpenMPClauseName(C->getClauseKind())); in Visit()
398 OS << C->getClauseKind(); in Visit()
402 switch (C->getClauseKind()) { in Visit()
2527 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.cpp276 if (!isOpenMPPrivate(C->getClauseKind()) || in VisitOpenMPCapturedStmt()
277 C->getClauseKind() == OMPC_reduction || in VisitOpenMPCapturedStmt()
278 C->getClauseKind() == OMPC_linear || in VisitOpenMPCapturedStmt()
279 C->getClauseKind() == OMPC_private) in VisitOpenMPCapturedStmt()
2246 if (Clause->getClauseKind() == OMPC_unified_shared_memory) { in processRequiresDirective()
H A DCGStmtOpenMP.cpp6820 OpenMPClauseKind K = C->getClauseKind(); in EmitOMPAtomicDirective()
H A DCGOpenMPRuntime.cpp10149 if (Clause->getClauseKind() == OMPC_unified_shared_memory) { in processRequiresDirective()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h348 OpenACCClauseKind getClauseKind() const { return ClauseKind; } in getClauseKind() function
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenOpenACCClause.cpp72 cgf.cgm.errorNYI(c.getSourceRange(), "OpenACC Clause", c.getClauseKind()); in clauseNotImplemented()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp7768 Record.push_back(unsigned(C->getClauseKind())); in writeClause()
8654 writeEnum(C->getClauseKind()); in writeOpenACCClause()
8658 switch (C->getClauseKind()) { in writeOpenACCClause()