Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACCClause.cpp40 if (isOpenACCComputeDirectiveKind(NewClause.getDirectiveKind())) { in checkValidAfterDeviceType()
51 } else if (NewClause.getDirectiveKind() == OpenACCDirectiveKind::Loop) { in checkValidAfterDeviceType()
68 } else if (isOpenACCCombinedDirectiveKind(NewClause.getDirectiveKind())) { in checkValidAfterDeviceType()
88 } else if (NewClause.getDirectiveKind() == OpenACCDirectiveKind::Data) { in checkValidAfterDeviceType()
98 } else if (NewClause.getDirectiveKind() == OpenACCDirectiveKind::Set || in checkValidAfterDeviceType()
99 NewClause.getDirectiveKind() == OpenACCDirectiveKind::Init || in checkValidAfterDeviceType()
100 NewClause.getDirectiveKind() == OpenACCDirectiveKind::Shutdown) { in checkValidAfterDeviceType()
103 } else if (NewClause.getDirectiveKind() == OpenACCDirectiveKind::Update) { in checkValidAfterDeviceType()
113 } else if (NewClause.getDirectiveKind() == OpenACCDirectiveKind::Routine) { in checkValidAfterDeviceType()
129 << NewClause.getDirectiveKind(); in checkValidAfterDeviceType()
[all …]
H A DTreeTransform.h9502 D->getDirectiveKind(), in TransformOMPExecutableDirective()
9508 if (D->getDirectiveKind() == OMPD_atomic || in TransformOMPExecutableDirective()
9509 D->getDirectiveKind() == OMPD_critical || in TransformOMPExecutableDirective()
9510 D->getDirectiveKind() == OMPD_section || in TransformOMPExecutableDirective()
9511 D->getDirectiveKind() == OMPD_master) in TransformOMPExecutableDirective()
9516 if (Body.isUsable() && isOpenMPLoopDirective(D->getDirectiveKind()) && in TransformOMPExecutableDirective()
9532 if (D->getDirectiveKind() == OMPD_critical) { in TransformOMPExecutableDirective()
9537 if (D->getDirectiveKind() == OMPD_cancellation_point) { in TransformOMPExecutableDirective()
9539 } else if (D->getDirectiveKind() == OMPD_cancel) { in TransformOMPExecutableDirective()
9544 D->getDirectiveKind(), DirName, CancelRegion, TClauses, in TransformOMPExecutableDirective()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1095 Res = SemaRef.OpenACC().ActOnVar(ParsedClause.getDirectiveKind(), in VisitVarList()
1154 ParsedClause.getDirectiveKind(), in CLAUSE_NOT_ON_DECLS()
1164 ParsedClause.getDirectiveKind(), ExistingClauses, in CLAUSE_NOT_ON_DECLS()
1375 SemaRef.OpenACC().ActOnConstruct(D->getDirectiveKind(), D->getBeginLoc()); in VisitOpenACCDeclareDecl()
1377 InstantiateOpenACCClauseList(SemaRef, TemplateArgs, D->getDirectiveKind(), in VisitOpenACCDeclareDecl()
1381 D->getDirectiveKind(), D->getBeginLoc(), TransformedClauses)) in VisitOpenACCDeclareDecl()
1385 D->getDirectiveKind(), D->getBeginLoc(), D->getDirectiveLoc(), {}, {}, in VisitOpenACCDeclareDecl()
1395 SemaRef.OpenACC().ActOnConstruct(D->getDirectiveKind(), D->getBeginLoc()); in VisitOpenACCRoutineDecl()
1397 InstantiateOpenACCClauseList(SemaRef, TemplateArgs, D->getDirectiveKind(), in VisitOpenACCRoutineDecl()
1410 D->getDirectiveKind(), D->getBeginLoc(), TransformedClauses)) in VisitOpenACCRoutineDecl()
H A DSemaOpenMP.cpp3754 if (S->getDirectiveKind() == OMPD_atomic || in VisitSubCaptures()
3755 S->getDirectiveKind() == OMPD_critical || in VisitSubCaptures()
3756 S->getDirectiveKind() == OMPD_section || in VisitSubCaptures()
3757 S->getDirectiveKind() == OMPD_master || in VisitSubCaptures()
3758 S->getDirectiveKind() == OMPD_masked || in VisitSubCaptures()
3759 S->getDirectiveKind() == OMPD_scope || in VisitSubCaptures()
3760 S->getDirectiveKind() == OMPD_assume || in VisitSubCaptures()
3761 isOpenMPLoopTransformationDirective(S->getDirectiveKind())) { in VisitSubCaptures()
3781 if (isOpenMPTaskingDirective(S->getDirectiveKind()) && in VisitSubCaptures()
3782 !isOpenMPTaskLoopDirective(S->getDirectiveKind())) { in VisitSubCaptures()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenStmtOpenACC.cpp132 switch (s.getDirectiveKind()) { in emitOpenACCComputeConstruct()
135 start, end, s.getDirectiveKind(), s.getDirectiveLoc(), s.clauses(), in emitOpenACCComputeConstruct()
139 start, end, s.getDirectiveKind(), s.getDirectiveLoc(), s.clauses(), in emitOpenACCComputeConstruct()
143 start, end, s.getDirectiveKind(), s.getDirectiveLoc(), s.clauses(), in emitOpenACCComputeConstruct()
156 start, end, s.getDirectiveKind(), s.getDirectiveLoc(), s.clauses(), in emitOpenACCDataConstruct()
163 emitOpenACCOp<InitOp>(start, s.getDirectiveKind(), s.getDirectiveLoc(), in emitOpenACCInitConstruct()
171 emitOpenACCOp<SetOp>(start, s.getDirectiveKind(), s.getDirectiveLoc(), in emitOpenACCSetConstruct()
179 emitOpenACCOp<ShutdownOp>(start, s.getDirectiveKind(), in emitOpenACCShutdownConstruct()
187 auto waitOp = emitOpenACCOp<WaitOp>(start, s.getDirectiveKind(), in emitOpenACCWaitConstruct()
225 switch (s.getDirectiveKind()) { in emitOpenACCCombinedConstruct()
[all …]
H A DCIRGenStmtOpenACCLoop.cpp120 emitOpenACCClauses(op, s.getDirectiveKind(), s.getDirectiveLoc(), in emitOpenACCLoopConstruct()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h537 getOpenMPCaptureRegions(CaptureRegions, getDirectiveKind()); in getCapturedStmt()
546 getOpenMPCaptureRegions(CaptureRegions, getDirectiveKind()); in getInnermostCapturedStmt()
555 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind() function
953 return isOpenMPLoopDirective(D->getDirectiveKind()); in classof()
1070 &Data->getChildren()[getArraysOffset(getDirectiveKind())]); in getCounters()
1077 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getPrivateCounters()
1085 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getInits()
1093 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getUpdates()
1101 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getFinals()
1109 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getDependentCounters()
[all …]
H A DDeclOpenACC.h56 OpenACCDirectiveKind getDirectiveKind() const { return DirKind; } in getDirectiveKind() function
H A DStmtOpenACC.h57 OpenACCDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind() function
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp344 getOpenMPCaptureRegions(CaptureRegions, D->getDirectiveKind()); in VisitOMPExecutableDirective()
352 isOpenMPDistributeDirective(D->getDirectiveKind())); in VisitOMPExecutableDirective()
524 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in hasNestedSPMDDirective()
525 switch (D.getDirectiveKind()) { in hasNestedSPMDDirective()
537 DKind = NND->getDirectiveKind(); in hasNestedSPMDDirective()
619 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in supportsSPMDExecutionMode()
938 assert(isOpenMPTeamsDirective(D.getDirectiveKind()) && in getDistributeLastprivateVars()
941 if (!isOpenMPDistributeDirective(D.getDirectiveKind())) { in getDistributeLastprivateVars()
947 if (Dir && !isOpenMPDistributeDirective(Dir->getDirectiveKind())) in getDistributeLastprivateVars()
963 assert(isOpenMPTeamsDirective(D.getDirectiveKind()) && in getTeamsReductionVars()
[all …]
H A DCGStmtOpenMP.cpp322 OpenMPDirectiveKind Kind = S.getDirectiveKind(); in getEffectiveDirectiveKind()
2671 OpenMPDirectiveKind DKind = S.getDirectiveKind(); in emitOMPSimdRegion()
5687 if (ParentDir.getDirectiveKind() == OMPD_simd || in EmitOMPScanDirective()
5689 isOpenMPSimdDirective(ParentDir.getDirectiveKind()))) { in EmitOMPScanDirective()
5908 (isOpenMPLoopBoundSharingDirective(S.getDirectiveKind()) in EmitOMPDistributeLoop()
5913 (isOpenMPLoopBoundSharingDirective(S.getDirectiveKind()) in EmitOMPDistributeLoop()
5931 if (isOpenMPSimdDirective(S.getDirectiveKind()) && in EmitOMPDistributeLoop()
5932 !isOpenMPParallelDirective(S.getDirectiveKind()) && in EmitOMPDistributeLoop()
5933 !isOpenMPTeamsDirective(S.getDirectiveKind())) in EmitOMPDistributeLoop()
5938 if (isOpenMPTargetExecutionDirective(S.getDirectiveKind())) in EmitOMPDistributeLoop()
[all …]
H A DCGOpenMPRuntime.cpp96 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind() function in __anon93cce0fb0111::CGOpenMPRegionInfo
1302 isOpenMPTaskLoopDirective(D.getDirectiveKind()) ? OMPD_taskloop in emitTaskOutlinedFunction()
2361 CGF.getOMPCancelDestination(OMPRegionInfo->getDirectiveKind()); in emitBarrierCall()
3242 OpenMPDirectiveKind Kind = isOpenMPTaskLoopDirective(D.getDirectiveKind()) in emitPrivatesInit()
3249 isOpenMPTargetDataManagementDirective(D.getDirectiveKind()) || in emitPrivatesInit()
3250 isOpenMPTargetExecutionDirective(D.getDirectiveKind()); in emitPrivatesInit()
3641 if (isOpenMPTaskLoopDirective(D.getDirectiveKind())) { in emitTaskInit()
3644 CGM, D.getDirectiveKind(), KmpInt32Ty, KmpRoutineEntryPtrQTy)); in emitTaskInit()
3648 assert((D.getDirectiveKind() == OMPD_task || in emitTaskInit()
3649 isOpenMPTargetExecutionDirective(D.getDirectiveKind()) || in emitTaskInit()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp3062 OS << " " << S->getDirectiveKind(); in VisitOpenACCConstructStmt()
3126 OS << " " << D->getDirectiveKind(); in VisitOpenACCDeclareDecl()
3136 OS << " " << D->getDirectiveKind(); in VisitOpenACCRoutineDecl()
H A DStmtPrinter.cpp1189 Indent() << "#pragma acc " << S->getDirectiveKind(); in PrintOpenACCConstruct()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h346 OpenACCDirectiveKind getDirectiveKind() const { return DirKind; } in getDirectiveKind() function
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8846 Node.getDirectiveKind(), CKind, in AST_MATCHER_P()