Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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.cpp105 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
447 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext()
1673 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1693 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1696 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1699 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
1703 if (D->getInitializerKind() == OMPDeclareReductionDecl::DirectInit) in VisitOMPDeclareReductionDecl()
H A DTextNodeDumper.cpp1778 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1787 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1790 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1793 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
H A DMicrosoftMangle.cpp102 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DItaniumMangle.cpp67 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DASTContext.cpp10887 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D)) in DeclMustBeEmitted()
/netbsd-src/external/apache2/llvm/dist/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.h86 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
H A DTextNodeDumper.h334 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
H A DASTNodeTraverser.h458 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DDeclBase.h1540 friend class OMPDeclareReductionDecl;
H A DRecursiveASTVisitor.h1618 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h50 class OMPDeclareReductionDecl; variable
169 const OMPDeclareReductionDecl *DRD);
411 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
417 SmallVector<const OMPDeclareReductionDecl *, 4>>
920 const OMPDeclareReductionDecl *D);
923 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
H A DModuleBuilder.cpp240 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
H A DCGOpenMPRuntime.cpp607 static const OMPDeclareReductionDecl *
613 if (const auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) in getReductionInit()
619 const OMPDeclareReductionDecl *DRD, in emitInitWithReductionInitializer()
682 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit()
776 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization()
887 const OMPDeclareReductionDecl *DRD = in emitInitialization()
1031 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer()
1170 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction()
1182 D->getInitializerKind() == OMPDeclareReductionDecl::CallInit ? Init in emitUserDefinedReduction()
1196 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction()
[all …]
H A DCodeGenModule.h1348 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
H A DCGDecl.cpp162 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl()
2598 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
H A DCodeGenModule.cpp2885 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal()
5898 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3281 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
3306 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
3313 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
3343 if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) { in VisitOMPDeclareReductionDecl()
3358 (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
3360 (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
5822 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
H A DSemaOpenMP.cpp16023 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup()
16069 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef()
16696 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl()); in actOnOMPReductionKindClause()
19312 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart()
19323 llvm::DenseMap<OMPDeclareReductionDecl *, bool> UsedAsPrevious; in ActOnOpenMPDeclareReductionDirectiveStart()
19326 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next()); in ActOnOpenMPDeclareReductionDirectiveStart()
19331 if (OMPDeclareReductionDecl *D = PrevDecl->getPrevDeclInScope()) in ActOnOpenMPDeclareReductionDirectiveStart()
19348 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
19365 auto *DRD = OMPDeclareReductionDecl::Create(Context, DC, TyData.second, in ActOnOpenMPDeclareReductionDirectiveStart()
19381 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart()
[all …]
H A DSemaDecl.cpp6668 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage()
6683 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC)) in shouldConsiderLinkage()
H A DSemaExpr.cpp330 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp450 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2693 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2705 auto IK = static_cast<OMPDeclareReductionDecl::InitKind>(Record.readInt()); in VisitOMPDeclareReductionDecl()
2847 if (isa<OMPThreadPrivateDecl>(D) || isa<OMPDeclareReductionDecl>(D) || in isConsumerInterestedIn()
4046 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp154 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
1857 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h166 class OMPDeclareReductionDecl; variable