Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DStmtOpenMP.h201 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind() function
341 &(*(std::next(child_begin(), getArraysOffset(getDirectiveKind()))))); in getCounters()
348 child_begin(), getArraysOffset(getDirectiveKind()) + CollapsedNum)); in getPrivateCounters()
356 getArraysOffset(getDirectiveKind()) + 2 * CollapsedNum)); in getInits()
364 getArraysOffset(getDirectiveKind()) + 3 * CollapsedNum)); in getUpdates()
372 getArraysOffset(getDirectiveKind()) + 4 * CollapsedNum)); in getFinals()
435 assert((isOpenMPWorksharingDirective(getDirectiveKind()) || in setIsLastIterVariable()
436 isOpenMPTaskLoopDirective(getDirectiveKind()) || in setIsLastIterVariable()
437 isOpenMPDistributeDirective(getDirectiveKind())) && in setIsLastIterVariable()
442 assert((isOpenMPWorksharingDirective(getDirectiveKind()) || in setLowerBoundVariable()
[all …]
/external/llvm-project/clang/include/clang/AST/
DStmtOpenMP.h300 getOpenMPCaptureRegions(CaptureRegions, getDirectiveKind()); in getCapturedStmt()
309 getOpenMPCaptureRegions(CaptureRegions, getDirectiveKind()); in getInnermostCapturedStmt()
318 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind() function
514 &Data->getChildren()[getArraysOffset(getDirectiveKind())]); in getCounters()
521 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getPrivateCounters()
529 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getInits()
537 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getUpdates()
545 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getFinals()
553 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getDependentCounters()
561 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getDependentInits()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/openmp/
DUseDefaultNoneCheck.cpp44 << getOpenMPDirectiveName(Directive->getDirectiveKind()) in check()
55 << getOpenMPDirectiveName(Directive->getDirectiveKind()); in check()
DExceptionEscapeCheck.cpp71 << getOpenMPDirectiveName(Directive->getDirectiveKind()); in check()
/external/llvm-project/clang/lib/CodeGen/
DCGStmtOpenMP.cpp106 OpenMPDirectiveKind Kind = S.getDirectiveKind(); in EmitPreInitStmt()
122 OpenMPDirectiveKind Kind = S.getDirectiveKind(); in EmitPreInitStmt()
235 if (!isOpenMPSimdDirective(S.getDirectiveKind())) in OMPSimdLexicalScope()
768 isOpenMPTargetExecutionDirective(D.getDirectiveKind()); in EmitOMPFirstprivateClause()
779 getOpenMPCaptureRegions(CaptureRegions, D.getDirectiveKind()); in EmitOMPFirstprivateClause()
1021 if (isOpenMPSimdDirective(D.getDirectiveKind())) { in EmitOMPLastprivateClauseInit()
1031 if (isOpenMPTaskLoopDirective(D.getDirectiveKind()) && in EmitOMPLastprivateClauseInit()
1281 isOpenMPWorksharingDirective(D.getDirectiveKind()); in EmitOMPReductionClauseInit()
1285 switch (D.getDirectiveKind()) { in EmitOMPReductionClauseInit()
1418 isOpenMPWorksharingDirective(D.getDirectiveKind())); in EmitOMPReductionClauseFinal()
[all …]
DCGOpenMPRuntimeGPU.cpp375 getOpenMPCaptureRegions(CaptureRegions, D->getDirectiveKind()); in VisitOMPExecutableDirective()
383 isOpenMPDistributeDirective(D->getDirectiveKind())); in VisitOMPExecutableDirective()
628 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in hasNestedSPMDDirective()
629 switch (D.getDirectiveKind()) { in hasNestedSPMDDirective()
641 DKind = NND->getDirectiveKind(); in hasNestedSPMDDirective()
723 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in supportsSPMDExecutionMode()
804 assert(isOpenMPWorksharingDirective(D.getDirectiveKind()) && in hasStaticScheduling()
805 isOpenMPLoopDirective(D.getDirectiveKind()) && in hasStaticScheduling()
826 OpenMPDirectiveKind DKind = NestedDir->getDirectiveKind(); in hasNestedLightweightDirective()
827 switch (D.getDirectiveKind()) { in hasNestedLightweightDirective()
[all …]
DCGOpenMPRuntime.cpp92 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind() function in __anonbe229beb0111::CGOpenMPRegionInfo
1314 isOpenMPTaskLoopDirective(D.getDirectiveKind()) ? OMPD_taskloop in emitTaskOutlinedFunction()
2549 CGF.getOMPCancelDestination(OMPRegionInfo->getDirectiveKind()); in emitBarrierCall()
3787 OpenMPDirectiveKind Kind = isOpenMPTaskLoopDirective(D.getDirectiveKind()) in emitPrivatesInit()
3794 isOpenMPTargetDataManagementDirective(D.getDirectiveKind()) || in emitPrivatesInit()
3795 isOpenMPTargetExecutionDirective(D.getDirectiveKind()); in emitPrivatesInit()
4191 if (isOpenMPTaskLoopDirective(D.getDirectiveKind())) { in emitTaskInit()
4194 CGM, D.getDirectiveKind(), KmpInt32Ty, KmpRoutineEntryPtrQTy)); in emitTaskInit()
4198 assert((D.getDirectiveKind() == OMPD_task || in emitTaskInit()
4199 isOpenMPTargetExecutionDirective(D.getDirectiveKind()) || in emitTaskInit()
[all …]
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp764 if (isOpenMPSimdDirective(D.getDirectiveKind())) { in EmitOMPLastprivateClauseInit()
774 if (isOpenMPTaskLoopDirective(D.getDirectiveKind())) in EmitOMPLastprivateClauseInit()
1159 isOpenMPParallelDirective(D.getDirectiveKind()) || in EmitOMPReductionClauseFinal()
1160 D.getDirectiveKind() == OMPD_simd, in EmitOMPReductionClauseFinal()
1161 D.getDirectiveKind() == OMPD_simd); in EmitOMPReductionClauseFinal()
1479 if (isOpenMPSimdDirective(D.getDirectiveKind())) { in EmitOMPLinearClause()
1725 if (!isOpenMPSimdDirective(S.getDirectiveKind())) in EmitOMPOuterLoop()
2036 if (isOpenMPSimdDirective(S.getDirectiveKind())) in EmitOMPWorksharingLoop()
2076 if (isOpenMPSimdDirective(S.getDirectiveKind())) { in EmitOMPWorksharingLoop()
2093 S, isOpenMPSimdDirective(S.getDirectiveKind()), in EmitOMPWorksharingLoop()
[all …]
DCGOpenMPRuntime.cpp79 OpenMPDirectiveKind getDirectiveKind() const { return Kind; } in getDirectiveKind() function in __anondef231dd0111::CGOpenMPRegionInfo
2352 CGF.getOMPCancelDestination(OMPRegionInfo->getDirectiveKind()); in emitBarrierCall()
3727 CGM, D.getDirectiveKind(), KmpInt32Ty, KmpRoutineEntryPtrQTy)); in emitTaskInit()
3761 CGM, Loc, D.getDirectiveKind(), KmpInt32Ty, KmpTaskTWithPrivatesPtrQTy, in emitTaskInit()
3826 if (isOpenMPTaskLoopDirective(D.getDirectiveKind()) && in emitTaskInit()
4698 CGF.getOMPCancelDestination(OMPRegionInfo->getDirectiveKind()); in emitCancellationPointCall()
4736 CGF.getOMPCancelDestination(OMPRegionInfo->getDirectiveKind()); in emitCancelCall()
6235 switch (D.getDirectiveKind()) { in emitTargetDataStandAloneCall()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp2188 if (isOpenMPWorksharingDirective(D->getDirectiveKind()) || in VisitOMPLoopDirective()
2189 isOpenMPTaskLoopDirective(D->getDirectiveKind()) || in VisitOMPLoopDirective()
2190 isOpenMPDistributeDirective(D->getDirectiveKind())) { in VisitOMPLoopDirective()
2200 if (isOpenMPLoopBoundSharingDirective(D->getDirectiveKind())) { in VisitOMPLoopDirective()
DASTReaderStmt.cpp2500 if (isOpenMPWorksharingDirective(D->getDirectiveKind()) || in VisitOMPLoopDirective()
2501 isOpenMPTaskLoopDirective(D->getDirectiveKind()) || in VisitOMPLoopDirective()
2502 isOpenMPDistributeDirective(D->getDirectiveKind())) { in VisitOMPLoopDirective()
2512 if (isOpenMPLoopBoundSharingDirective(D->getDirectiveKind())) { in VisitOMPLoopDirective()
/external/llvm-project/clang/lib/Sema/
DTreeTransform.h8337 getDerived().getSema().ActOnOpenMPRegionStart(D->getDirectiveKind(), in TransformOMPExecutableDirective()
8343 if (D->getDirectiveKind() == OMPD_atomic || in TransformOMPExecutableDirective()
8344 D->getDirectiveKind() == OMPD_critical || in TransformOMPExecutableDirective()
8345 D->getDirectiveKind() == OMPD_section || in TransformOMPExecutableDirective()
8346 D->getDirectiveKind() == OMPD_master) in TransformOMPExecutableDirective()
8364 if (D->getDirectiveKind() == OMPD_critical) { in TransformOMPExecutableDirective()
8369 if (D->getDirectiveKind() == OMPD_cancellation_point) { in TransformOMPExecutableDirective()
8371 } else if (D->getDirectiveKind() == OMPD_cancel) { in TransformOMPExecutableDirective()
8376 D->getDirectiveKind(), DirName, CancelRegion, TClauses, in TransformOMPExecutableDirective()
DSemaOpenMP.cpp3344 if (S->getDirectiveKind() == OMPD_atomic || in VisitSubCaptures()
3345 S->getDirectiveKind() == OMPD_critical || in VisitSubCaptures()
3346 S->getDirectiveKind() == OMPD_section || in VisitSubCaptures()
3347 S->getDirectiveKind() == OMPD_master) { in VisitSubCaptures()
3367 if (isOpenMPTaskingDirective(S->getDirectiveKind()) && in VisitSubCaptures()
3368 !isOpenMPTaskLoopDirective(S->getDirectiveKind())) { in VisitSubCaptures()
10338 if (!OED || !isOpenMPTeamsDirective(OED->getDirectiveKind()) || in ActOnOpenMPTargetDirective()
10350 OMPTeamsFound = OED && isOpenMPTeamsDirective(OED->getDirectiveKind()); in ActOnOpenMPTargetDirective()
/external/clang/lib/Sema/
DTreeTransform.h7185 getDerived().getSema().ActOnOpenMPRegionStart(D->getDirectiveKind(), in TransformOMPExecutableDirective()
7205 if (D->getDirectiveKind() == OMPD_critical) { in TransformOMPExecutableDirective()
7210 if (D->getDirectiveKind() == OMPD_cancellation_point) { in TransformOMPExecutableDirective()
7212 } else if (D->getDirectiveKind() == OMPD_cancel) { in TransformOMPExecutableDirective()
7217 D->getDirectiveKind(), DirName, CancelRegion, TClauses, in TransformOMPExecutableDirective()
DSemaOpenMP.cpp6723 if (!OED || !isOpenMPTeamsDirective(OED->getDirectiveKind())) { in ActOnOpenMPTargetDirective()
6733 OMPTeamsFound = OED && isOpenMPTeamsDirective(OED->getDirectiveKind()); in ActOnOpenMPTargetDirective()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h7564 Node.getDirectiveKind(), CKind, in AST_MATCHER_P()