Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtOpenMP.h953 return isOpenMPLoopDirective(D->getDirectiveKind()); in classof()
1180 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setIsLastIterVariable()
1188 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setLowerBoundVariable()
1196 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setUpperBoundVariable()
1204 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setStrideVariable()
1212 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setEnsureUpperBound()
1220 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setNextLowerBound()
1228 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setNextUpperBound()
1236 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setNumIterations()
1339 isOpenMPTaskLoopDirective(getDirectiveKind()) || in getIsLastIterVariable()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/openmp/
H A DUseDefaultNoneCheck.cpp44 << getOpenMPDirectiveName(Directive->getDirectiveKind()) in check()
55 << getOpenMPDirectiveName(Directive->getDirectiveKind()); in check()
H A DExceptionEscapeCheck.cpp71 << getOpenMPDirectiveName(Directive->getDirectiveKind()); in check()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp109 OpenMPDirectiveKind Kind = S.getDirectiveKind(); in EmitPreInitStmt()
125 OpenMPDirectiveKind Kind = S.getDirectiveKind(); in EmitPreInitStmt()
1300 switch (D.getDirectiveKind()) { in EmitOMPReductionClauseInit()
2391 if ((D.getDirectiveKind() == OMPD_simd || in EmitOMPSimdInit()
3754 CGF, S.getDirectiveKind(), HasCancel); in emitWorksharingDirective()
3765 CGF, S.getDirectiveKind(), HasCancel); in emitWorksharingDirective()
7868 if (D.getDirectiveKind() == OMPD_atomic || in EmitSimpleOMPExecutableDirective()
7869 D.getDirectiveKind() == OMPD_critical || in EmitSimpleOMPExecutableDirective()
7870 D.getDirectiveKind() == OMPD_section || in EmitSimpleOMPExecutableDirective()
7871 D.getDirectiveKind() == OMPD_master || in EmitSimpleOMPExecutableDirective()
[all …]
H A DCGOpenMPRuntimeGPU.cpp577 switch (D.getDirectiveKind()) { in hasNestedSPMDDirective()
589 DKind = NND->getDirectiveKind(); in hasNestedSPMDDirective()
671 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in supportsSPMDExecutionMode()
753 isOpenMPLoopDirective(D.getDirectiveKind()) && in hasStaticScheduling()
775 switch (D.getDirectiveKind()) { in hasNestedLightweightDirective()
791 DKind = NND->getDirectiveKind(); in hasNestedLightweightDirective()
804 DKind = NND->getDirectiveKind(); in hasNestedLightweightDirective()
817 DKind = NND->getDirectiveKind(); in hasNestedLightweightDirective()
841 DKind = NND->getDirectiveKind(); in hasNestedLightweightDirective()
1284 assert(isOpenMPTeamsDirective(D.getDirectiveKind()) && in getDistributeLastprivateVars()
[all …]
H A DCGOpenMPRuntime.cpp96 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind() function in __anond842882b0111::CGOpenMPRegionInfo
4168 if (isOpenMPTaskLoopDirective(D.getDirectiveKind())) { in emitTaskInit()
4175 assert((D.getDirectiveKind() == OMPD_task || in emitTaskInit()
6809 if (isOpenMPSimdDirective(Dir->getDirectiveKind())) in getNumThreads()
7015 if (Dir->getDirectiveKind() == OMPD_distribute) { in emitNumThreadsForTargetDirective()
9735 switch (D.getDirectiveKind()) { in getNestedDistributeDirective()
9747 DKind = NND->getDirectiveKind(); in getNestedDistributeDirective()
10195 OpenMPDirectiveKind Kind = D.getDirectiveKind(); in emitTargetNumIterationsCall()
10521 switch (E.getDirectiveKind()) { in scanForTargetRegionsFunctions()
11227 switch (D.getDirectiveKind()) { in emitTargetDataStandAloneCall()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DTreeTransform.h8567 getDerived().getSema().ActOnOpenMPRegionStart(D->getDirectiveKind(), in TransformOMPExecutableDirective()
8573 if (D->getDirectiveKind() == OMPD_atomic || in TransformOMPExecutableDirective()
8574 D->getDirectiveKind() == OMPD_critical || in TransformOMPExecutableDirective()
8575 D->getDirectiveKind() == OMPD_section || in TransformOMPExecutableDirective()
8576 D->getDirectiveKind() == OMPD_master) in TransformOMPExecutableDirective()
8581 if (Body.isUsable() && isOpenMPLoopDirective(D->getDirectiveKind()) && in TransformOMPExecutableDirective()
8597 if (D->getDirectiveKind() == OMPD_critical) { in TransformOMPExecutableDirective()
8602 if (D->getDirectiveKind() == OMPD_cancellation_point) { in TransformOMPExecutableDirective()
8604 } else if (D->getDirectiveKind() == OMPD_cancel) { in TransformOMPExecutableDirective()
8609 D->getDirectiveKind(), DirName, CancelRegion, TClauses, in TransformOMPExecutableDirective()
[all …]
H A DSemaOpenMP.cpp3628 if (S->getDirectiveKind() == OMPD_atomic || in VisitSubCaptures()
3629 S->getDirectiveKind() == OMPD_critical || in VisitSubCaptures()
3630 S->getDirectiveKind() == OMPD_section || in VisitSubCaptures()
3631 S->getDirectiveKind() == OMPD_master || in VisitSubCaptures()
3632 S->getDirectiveKind() == OMPD_masked || in VisitSubCaptures()
3633 isOpenMPLoopTransformationDirective(S->getDirectiveKind())) { in VisitSubCaptures()
3653 if (isOpenMPTaskingDirective(S->getDirectiveKind()) && in VisitSubCaptures()
3654 !isOpenMPTaskLoopDirective(S->getDirectiveKind())) { in VisitSubCaptures()
5889 isOpenMPLoopTransformationDirective(LoopTransform->getDirectiveKind()) && in ActOnOpenMPLoopnest()
12837 if (!OED || !isOpenMPTeamsDirective(OED->getDirectiveKind()) || in ActOnOpenMPTargetDirective()
[all …]
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8440 Node.getDirectiveKind(), CKind, in AST_MATCHER_P()