Home
last modified time | relevance | path

Searched refs:OMPDeclareReductionDecl (Results 1 – 24 of 24) sorted by relevance

/src/contrib/llvm-project/clang/lib/AST/
H A DDeclOpenMP.cpp104 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 DDeclPrinter.cpp108 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
494 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext()
1811 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DTextNodeDumper.cpp2336 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DMicrosoftMangle.cpp118 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DItaniumMangle.cpp687 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DASTContext.cpp12333 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D)) in DeclMustBeEmitted()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclOpenMP.h177 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 DGlobalDecl.h87 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
H A DTextNodeDumper.h369 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
H A DASTNodeTraverser.h590 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DDeclBase.h1694 friend class OMPDeclareReductionDecl;
H A DRecursiveASTVisitor.h1786 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h49 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 DModuleBuilder.cpp260 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
H A DCGOpenMPRuntime.cpp587 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 DCGDecl.cpp174 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl()
2773 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
H A DCodeGenModule.h1487 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
H A DCodeGenModule.cpp3779 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 DASTReaderDecl.cpp468 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 DASTWriterDecl.cpp161 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2119 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3649 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 DSemaOpenMP.cpp17899 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 DSemaDecl.cpp7145 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage()
7163 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC)) in shouldConsiderLinkage()
H A DSemaExpr.cpp337 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()