reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Basic/OpenMPKinds.def
  287 OPENMP_CLAUSE(reduction,  OMPReductionClause)

References

tools/clang/include/clang/AST/OpenMPClause.h
 2442       : OMPVarListClause<OMPReductionClause>(OMPC_reduction, StartLoc,
 2451       : OMPVarListClause<OMPReductionClause>(OMPC_reduction, SourceLocation(),
 2636     return T->getClauseKind() == OMPC_reduction;
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 3183   TRY_TO(TraverseNestedNameSpecifierLoc(C->getQualifierLoc()));
 3184   TRY_TO(TraverseDeclarationNameInfo(C->getNameInfo()));
 3185   TRY_TO(VisitOMPClauseList(C));
 3186   TRY_TO(VisitOMPClauseWithPostUpdate(C));
 3187   for (auto *E : C->privates()) {
 3190   for (auto *E : C->lhs_exprs()) {
 3193   for (auto *E : C->rhs_exprs()) {
 3196   for (auto *E : C->reduction_ops()) {
tools/clang/include/clang/Basic/OpenMPKinds.def
  339 OPENMP_PARALLEL_CLAUSE(reduction)
  351 OPENMP_SIMD_CLAUSE(reduction)
  358 OPENMP_FOR_CLAUSE(reduction)
  370 OPENMP_FOR_SIMD_CLAUSE(reduction)
  385 OPENMP_SECTIONS_CLAUSE(reduction)
  447 OPENMP_PARALLEL_FOR_CLAUSE(reduction)
  464 OPENMP_PARALLEL_FOR_SIMD_CLAUSE(reduction)
  484 OPENMP_PARALLEL_SECTIONS_CLAUSE(reduction)
  520 OPENMP_TARGET_CLAUSE(reduction)
  571 OPENMP_TARGET_PARALLEL_CLAUSE(reduction)
  589 OPENMP_TARGET_PARALLEL_FOR_CLAUSE(reduction)
  610 OPENMP_TEAMS_CLAUSE(reduction)
  654 OPENMP_TASKLOOP_CLAUSE(reduction)
  677 OPENMP_TASKLOOP_SIMD_CLAUSE(reduction)
  696 OPENMP_MASTER_TASKLOOP_CLAUSE(reduction)
  719 OPENMP_MASTER_TASKLOOP_SIMD_CLAUSE(reduction)
  738 OPENMP_PARALLEL_MASTER_TASKLOOP_CLAUSE(reduction)
  769 OPENMP_DISTRIBUTE_PARALLEL_FOR_CLAUSE(reduction)
  785 OPENMP_DISTRIBUTE_PARALLEL_FOR_SIMD_CLAUSE(reduction)
  804 OPENMP_DISTRIBUTE_SIMD_CLAUSE(reduction)
  821 OPENMP_TARGET_PARALLEL_FOR_SIMD_CLAUSE(reduction)
  848 OPENMP_TARGET_SIMD_CLAUSE(reduction)
  856 OPENMP_TEAMS_DISTRIBUTE_CLAUSE(reduction)
  869 OPENMP_TEAMS_DISTRIBUTE_SIMD_CLAUSE(reduction)
  892 OPENMP_TEAMS_DISTRIBUTE_PARALLEL_FOR_SIMD_CLAUSE(reduction)
  913 OPENMP_TEAMS_DISTRIBUTE_PARALLEL_FOR_CLAUSE(reduction)
  932 OPENMP_TARGET_TEAMS_CLAUSE(reduction)
  949 OPENMP_TARGET_TEAMS_DISTRIBUTE_CLAUSE(reduction)
  969 OPENMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_FOR_CLAUSE(reduction)
  993 OPENMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_FOR_SIMD_CLAUSE(reduction)
 1020 OPENMP_TARGET_TEAMS_DISTRIBUTE_SIMD_CLAUSE(reduction)
tools/clang/lib/AST/OpenMPClause.cpp
   69   case OMPC_reduction:
  153   case OMPC_reduction:
tools/clang/lib/Basic/OpenMPKinds.cpp
  173   case OMPC_reduction:
  367   case OMPC_reduction:
 1021          Kind == OMPC_reduction || Kind == OMPC_task_reduction ||
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  395                 C->getClauseKind() == OMPC_reduction ||
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 4028   case OMPC_reduction:
tools/clang/lib/Parse/ParseOpenMP.cpp
 2090   case OMPC_reduction:
 2569   if (Kind == OMPC_reduction || Kind == OMPC_task_reduction ||
 2716       (Kind != OMPC_reduction && Kind != OMPC_task_reduction &&
 2718       (Kind == OMPC_reduction && !InvalidReductionId) ||
tools/clang/lib/Sema/SemaOpenMP.cpp
 1136       getTopOfStack().SharingMap[D].Attributes == OMPC_reduction &&
 1159       getTopOfStack().SharingMap[D].Attributes == OMPC_reduction &&
 1184     if (Data.Attributes != OMPC_reduction || I->Directive != OMPD_taskgroup)
 1196     return DSAVarData(OMPD_taskgroup, OMPC_reduction, Data.RefExpr.getPointer(),
 1209     if (Data.Attributes != OMPC_reduction || I->Directive != OMPD_taskgroup)
 1221     return DSAVarData(OMPD_taskgroup, OMPC_reduction, Data.RefExpr.getPointer(),
 1843               D, [](OpenMPClauseKind K) { return K == OMPC_reduction; }, Level);
 2877           VD, [](OpenMPClauseKind C) { return C == OMPC_reduction; },
 2883       if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) {
 2956           FD, [](OpenMPClauseKind C) { return C == OMPC_reduction; },
 2962       if (isOpenMPTaskingDirective(DKind) && DVar.CKind == OMPC_reduction) {
 4164     } else if (Cl->getClauseKind() == OMPC_reduction) {
 4625       case OMPC_reduction:
 9227     if (C->getClauseKind() == OMPC_reduction) {
10286   case OMPC_reduction:
10920   case OMPC_reduction:
11343   case OMPC_reduction:
11524   case OMPC_reduction:
11747   case OMPC_reduction:
11886   case OMPC_reduction:
12307             D, [](OpenMPClauseKind C) { return C == OMPC_reduction; },
12314         if (DVar.CKind == OMPC_reduction &&
13247       if (DVar.CKind == OMPC_reduction) {
13257             << getOpenMPClauseName(OMPC_reduction);
13272               << getOpenMPClauseName(OMPC_reduction)
13669     Stack->addDSA(D, RefExpr->IgnoreParens(), OMPC_reduction, Ref);
13689   if (actOnOMPReductionKindClause(*this, DSAStack, OMPC_reduction, VarList,
tools/clang/lib/Sema/TreeTransform.h
 8770   Vars.reserve(C->varlist_size());
 8771   for (auto *VE : C->varlists()) {
 8778   ReductionIdScopeSpec.Adopt(C->getQualifierLoc());
 8780   DeclarationNameInfo NameInfo = C->getNameInfo();
 8789   for (auto *E : C->reduction_ops()) {
 8809       Vars, C->getBeginLoc(), C->getLParenLoc(), C->getColonLoc(),
 8809       Vars, C->getBeginLoc(), C->getLParenLoc(), C->getColonLoc(),
 8809       Vars, C->getBeginLoc(), C->getLParenLoc(), C->getColonLoc(),
 8810       C->getEndLoc(), ReductionIdScopeSpec, NameInfo, UnresolvedReductions);
tools/clang/lib/Serialization/ASTReader.cpp
12367   case OMPC_reduction: