| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclOpenMP.cpp | 104 OMPDeclareReductionDecl::OMPDeclareReductionDecl( in OMPDeclareReductionDecl() function in OMPDeclareReductionDecl 106 QualType Ty, OMPDeclareReductionDecl *PrevDeclInScope) in OMPDeclareReductionDecl() 112 void OMPDeclareReductionDecl::anchor() {} in anchor() 114 OMPDeclareReductionDecl *OMPDeclareReductionDecl::Create( in Create() 116 QualType T, OMPDeclareReductionDecl *PrevDeclInScope) { in Create() 117 return new (C, DC) OMPDeclareReductionDecl(OMPDeclareReduction, DC, L, Name, in Create() 121 OMPDeclareReductionDecl * 122 OMPDeclareReductionDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized() 123 return new (C, ID) OMPDeclareReductionDecl( in CreateDeserialized() 128 OMPDeclareReductionDecl *OMPDeclareReductionDecl::getPrevDeclInScope() { in getPrevDeclInScope() [all …]
|
| H A D | DeclPrinter.cpp | 108 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D); 494 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext() 1811 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
|
| H A D | TextNodeDumper.cpp | 2336 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
|
| H A D | MicrosoftMangle.cpp | 118 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
|
| H A D | ItaniumMangle.cpp | 687 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
|
| H A D | ASTContext.cpp | 12333 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D)) in DeclMustBeEmitted()
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclOpenMP.h | 177 class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext { 202 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L, 204 OMPDeclareReductionDecl *PrevDeclInScope); 206 void setPrevDeclInScope(OMPDeclareReductionDecl *Prev) { in setPrevDeclInScope() 212 static OMPDeclareReductionDecl * 214 QualType T, OMPDeclareReductionDecl *PrevDeclInScope); 216 static OMPDeclareReductionDecl *CreateDeserialized(ASTContext &C, 264 OMPDeclareReductionDecl *getPrevDeclInScope(); 265 const OMPDeclareReductionDecl *getPrevDeclInScope() const; 269 static DeclContext *castToDeclContext(const OMPDeclareReductionDecl *D) { in castToDeclContext() [all …]
|
| H A D | GlobalDecl.h | 87 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
|
| H A D | TextNodeDumper.h | 369 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
|
| H A D | ASTNodeTraverser.h | 590 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
|
| H A D | DeclBase.h | 1694 friend class OMPDeclareReductionDecl;
|
| H A D | RecursiveASTVisitor.h | 1786 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 49 class OMPDeclareReductionDecl; variable 168 const OMPDeclareReductionDecl *DRD); 407 typedef llvm::DenseMap<const OMPDeclareReductionDecl *, 413 SmallVector<const OMPDeclareReductionDecl *, 4>> 721 const OMPDeclareReductionDecl *D); 724 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
|
| H A D | ModuleBuilder.cpp | 260 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
|
| H A D | CGOpenMPRuntime.cpp | 587 static const OMPDeclareReductionDecl * 593 if (const auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) in getReductionInit() 599 const OMPDeclareReductionDecl *DRD, in emitInitWithReductionInitializer() 660 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit() 754 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization() 860 const OMPDeclareReductionDecl *DRD = in emitInitialization() 992 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer() 1133 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction() 1159 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction() 4809 dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) { in emitReductionCombiner() [all …]
|
| H A D | CGDecl.cpp | 174 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl() 2773 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
|
| H A D | CodeGenModule.h | 1487 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
|
| H A D | CodeGenModule.cpp | 3779 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal() 7131 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
|
| /src/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 468 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D); 3043 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl() 3201 if (isa<OMPThreadPrivateDecl, OMPDeclareReductionDecl, OMPDeclareMapperDecl, in isConsumerInterestedIn() 4110 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 161 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D); 2119 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 3649 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl() 3674 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl() 3681 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl() 6110 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
|
| H A D | SemaOpenMP.cpp | 17899 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup() 17946 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef() 18594 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl()); in actOnOMPReductionKindClause() 21334 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart() 21345 llvm::DenseMap<OMPDeclareReductionDecl *, bool> UsedAsPrevious; in ActOnOpenMPDeclareReductionDirectiveStart() 21348 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next()); in ActOnOpenMPDeclareReductionDirectiveStart() 21353 if (OMPDeclareReductionDecl *D = PrevDecl->getPrevDeclInScope()) in ActOnOpenMPDeclareReductionDirectiveStart() 21370 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart() 21387 auto *DRD = OMPDeclareReductionDecl::Create( in ActOnOpenMPDeclareReductionDirectiveStart() 21403 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart() [all …]
|
| H A D | SemaDecl.cpp | 7145 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage() 7163 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC)) in shouldConsiderLinkage()
|
| H A D | SemaExpr.cpp | 337 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
|