Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclOpenMP.cpp102 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()
114 QualType T, OMPDeclareReductionDecl *PrevDeclInScope) { in Create()
115 return new (C, DC) OMPDeclareReductionDecl(OMPDeclareReduction, DC, L, Name, in Create()
119 OMPDeclareReductionDecl *
120 OMPDeclareReductionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
121 return new (C, ID) OMPDeclareReductionDecl( in CreateDeserialized()
126 OMPDeclareReductionDecl *OMPDeclareReductionDecl::getPrevDeclInScope() { in getPrevDeclInScope()
[all …]
H A DDeclPrinter.cpp107 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
451 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext()
1710 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1730 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1733 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1736 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
1740 if (D->getInitializerKind() == OMPDeclareReductionDecl::DirectInit) in VisitOMPDeclareReductionDecl()
H A DTextNodeDumper.cpp1885 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1894 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1897 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1900 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
H A DMicrosoftMangle.cpp116 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DItaniumMangle.cpp650 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DASTContext.cpp11716 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D)) in DeclMustBeEmitted()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclOpenMP.h171 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 DGlobalDecl.h87 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
H A DTextNodeDumper.h346 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
H A DASTNodeTraverser.h488 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DDeclBase.h1593 friend class OMPDeclareReductionDecl;
H A DRecursiveASTVisitor.h1750 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h49 class OMPDeclareReductionDecl; variable
168 const OMPDeclareReductionDecl *DRD);
433 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
439 SmallVector<const OMPDeclareReductionDecl *, 4>>
719 const OMPDeclareReductionDecl *D);
722 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
H A DModuleBuilder.cpp260 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
H A DCGOpenMPRuntime.cpp610 static const OMPDeclareReductionDecl *
616 if (const auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) in getReductionInit()
622 const OMPDeclareReductionDecl *DRD, in emitInitWithReductionInitializer()
683 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit()
778 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization()
884 const OMPDeclareReductionDecl *DRD = in emitInitialization()
1017 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer()
1149 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction()
1161 D->getInitializerKind() == OMPDeclareReductionDecl::CallInit ? Init in emitUserDefinedReduction()
1175 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction()
[all …]
H A DCodeGenModule.h1409 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
H A DCGDecl.cpp172 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl()
2629 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
H A DCodeGenModule.cpp3317 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal()
6542 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3534 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
3559 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
3566 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
3596 if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) { in VisitOMPDeclareReductionDecl()
3611 (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
3613 (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
6054 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
H A DSemaOpenMP.cpp18760 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup()
18806 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef()
19434 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl()); in actOnOMPReductionKindClause()
22095 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart()
22106 llvm::DenseMap<OMPDeclareReductionDecl *, bool> UsedAsPrevious; in ActOnOpenMPDeclareReductionDirectiveStart()
22109 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next()); in ActOnOpenMPDeclareReductionDirectiveStart()
22114 if (OMPDeclareReductionDecl *D = PrevDecl->getPrevDeclInScope()) in ActOnOpenMPDeclareReductionDirectiveStart()
22131 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
22148 auto *DRD = OMPDeclareReductionDecl::Create(Context, DC, TyData.second, in ActOnOpenMPDeclareReductionDirectiveStart()
22164 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart()
[all …]
H A DSemaDecl.cpp7199 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage()
7217 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC)) in shouldConsiderLinkage()
H A DSemaExpr.cpp343 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp459 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2911 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2923 auto IK = static_cast<OMPDeclareReductionDecl::InitKind>(Record.readInt()); in VisitOMPDeclareReductionDecl()
3064 if (isa<OMPThreadPrivateDecl, OMPDeclareReductionDecl, OMPDeclareMapperDecl, in isConsumerInterestedIn()
3921 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp160 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
1924 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h168 class OMPDeclareReductionDecl; variable