| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclOpenMP.cpp | 102 OMPDeclareReductionDecl::OMPDeclareReductionDecl( in OMPDeclareReductionDecl() function in OMPDeclareReductionDecl 104 QualType Ty, OMPDeclareReductionDecl *PrevDeclInScope) in OMPDeclareReductionDecl() 110 void OMPDeclareReductionDecl::anchor() {} in anchor() 112 OMPDeclareReductionDecl *OMPDeclareReductionDecl::Create( in Create() 119 OMPDeclareReductionDecl * 121 return new (C, ID) OMPDeclareReductionDecl( in CreateDeserialized() 126 OMPDeclareReductionDecl *OMPDeclareReductionDecl::getPrevDeclInScope() { in getPrevDeclInScope() 127 return cast_or_null<OMPDeclareReductionDecl>( in getPrevDeclInScope() 130 const OMPDeclareReductionDecl * 131 OMPDeclareReductionDecl::getPrevDeclInScope() const { in getPrevDeclInScope() [all …]
|
| H A D | DeclPrinter.cpp | 106 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D); 449 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext() 1691 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl() 1711 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl() 1714 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl() 1717 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl() 1721 if (D->getInitializerKind() == OMPDeclareReductionDecl::DirectInit) in VisitOMPDeclareReductionDecl()
|
| H A D | TextNodeDumper.cpp | 1863 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl() 1872 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl() 1875 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl() 1878 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
|
| H A D | MicrosoftMangle.cpp | 115 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
|
| H A D | ItaniumMangle.cpp | 652 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
|
| H A D | ASTContext.cpp | 11571 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D)) in DeclMustBeEmitted()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclOpenMP.h | 171 class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext { 203 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L, 205 OMPDeclareReductionDecl *PrevDeclInScope); 207 void setPrevDeclInScope(OMPDeclareReductionDecl *Prev) { in setPrevDeclInScope() 213 static OMPDeclareReductionDecl * 215 QualType T, OMPDeclareReductionDecl *PrevDeclInScope); 217 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 | 343 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
|
| H A D | ASTNodeTraverser.h | 489 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
|
| H A D | DeclBase.h | 1578 friend class OMPDeclareReductionDecl;
|
| H A D | RecursiveASTVisitor.h | 1757 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 49 class OMPDeclareReductionDecl; variable 167 const OMPDeclareReductionDecl *DRD); 443 typedef llvm::DenseMap<const OMPDeclareReductionDecl *, 449 SmallVector<const OMPDeclareReductionDecl *, 4>> 944 const OMPDeclareReductionDecl *D); 947 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
|
| H A D | ModuleBuilder.cpp | 259 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
|
| H A D | CGOpenMPRuntime.cpp | 609 static const OMPDeclareReductionDecl * 682 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit() 777 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization() 883 const OMPDeclareReductionDecl *DRD = in emitInitialization() 1016 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer() 1153 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction() 1165 D->getInitializerKind() == OMPDeclareReductionDecl::CallInit ? Init in emitUserDefinedReduction() 1179 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction() 5309 dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) { in emitReductionCombiner() 6535 isa<OMPDeclareReductionDecl>(D) || in getSingleCompoundChild() [all …]
|
| H A D | CodeGenModule.h | 1393 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
|
| H A D | CGDecl.cpp | 168 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl() 2625 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
|
| H A D | CodeGenModule.cpp | 3189 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal() 6338 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 3467 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl() 3492 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl() 3499 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl() 3529 if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) { in VisitOMPDeclareReductionDecl() 3544 (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl() 3546 (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl() 6043 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
|
| H A D | SemaOpenMP.cpp | 18477 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup() 18523 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef() 21804 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart() 21840 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart() 21873 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart() 21920 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerEnd() 21934 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerStart() 21982 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerEnd() 21994 ? OMPDeclareReductionDecl::DirectInit in ActOnOpenMPDeclareReductionInitializerEnd() 21995 : OMPDeclareReductionDecl::CopyInit); in ActOnOpenMPDeclareReductionInitializerEnd() [all …]
|
| H A D | SemaDecl.cpp | 7109 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage() 7124 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC)) in shouldConsiderLinkage()
|
| H A D | SemaExpr.cpp | 340 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 454 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D); 2819 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl() 2831 auto IK = static_cast<OMPDeclareReductionDecl::InitKind>(Record.readInt()); in VisitOMPDeclareReductionDecl() 2974 if (isa<OMPThreadPrivateDecl>(D) || isa<OMPDeclareReductionDecl>(D) || in isConsumerInterestedIn() 3829 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 157 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D); 1885 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 168 class OMPDeclareReductionDecl; variable
|