Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclOpenMP.cpp60 void OMPDeclareReductionDecl::anchor() {} in anchor()
62 OMPDeclareReductionDecl *OMPDeclareReductionDecl::Create( in Create()
64 QualType T, OMPDeclareReductionDecl *PrevDeclInScope) { in Create()
65 return new (C, DC) OMPDeclareReductionDecl(OMPDeclareReduction, DC, L, Name, in Create()
69 OMPDeclareReductionDecl *
70 OMPDeclareReductionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
71 return new (C, ID) OMPDeclareReductionDecl( in CreateDeserialized()
76 OMPDeclareReductionDecl *OMPDeclareReductionDecl::getPrevDeclInScope() { in getPrevDeclInScope()
77 return cast_or_null<OMPDeclareReductionDecl>( in getPrevDeclInScope()
80 const OMPDeclareReductionDecl *
[all …]
DDeclPrinter.cpp95 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
338 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D)) in VisitDeclContext()
1384 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
DASTDumper.cpp439 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
1261 void ASTDumper::VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
DMicrosoftMangle.cpp93 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) { in getEffectiveDeclContext()
DItaniumMangle.cpp70 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) { in getEffectiveDeclContext()
DASTContext.cpp8577 else if (isa<OMPDeclareReductionDecl>(D)) in DeclMustBeEmitted()
/external/clang/include/clang/AST/
DDeclOpenMP.h102 class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext {
116 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L, in OMPDeclareReductionDecl() function
118 OMPDeclareReductionDecl *PrevDeclInScope) in OMPDeclareReductionDecl()
122 void setPrevDeclInScope(OMPDeclareReductionDecl *Prev) { in setPrevDeclInScope()
128 static OMPDeclareReductionDecl *
130 QualType T, OMPDeclareReductionDecl *PrevDeclInScope);
132 static OMPDeclareReductionDecl *CreateDeserialized(ASTContext &C,
150 OMPDeclareReductionDecl *getPrevDeclInScope();
151 const OMPDeclareReductionDecl *getPrevDeclInScope() const;
155 static DeclContext *castToDeclContext(const OMPDeclareReductionDecl *D) { in castToDeclContext()
[all …]
DGlobalDecl.h47 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
DRecursiveASTVisitor.h1506 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.h44 class OMPDeclareReductionDecl; variable
160 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
166 SmallVector<const OMPDeclareReductionDecl *, 4>>
502 const OMPDeclareReductionDecl *D);
505 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
DModuleBuilder.cpp229 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
DCGDecl.cpp125 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl()
1874 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
DCodeGenModule.h1113 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
DCGStmtOpenMP.cpp386 static const OMPDeclareReductionDecl *
392 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) in getReductionInit()
398 const OMPDeclareReductionDecl *DRD, in emitInitWithReductionInitializer()
DCodeGenModule.cpp1568 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal()
3938 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
DCGOpenMPRuntime.cpp783 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction()
814 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction()
4210 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) { in emitReductionCombiner()
/external/clang/lib/Sema/
DSemaOpenMP.cpp8927 else if (auto *DRD = cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef()
9321 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl()); in ActOnOpenMPReductionClause()
11104 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart()
11115 llvm::DenseMap<OMPDeclareReductionDecl *, bool> UsedAsPrevious; in ActOnOpenMPDeclareReductionDirectiveStart()
11118 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next()); in ActOnOpenMPDeclareReductionDirectiveStart()
11140 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
11157 auto *DRD = OMPDeclareReductionDecl::Create(Context, DC, TyData.second, in ActOnOpenMPDeclareReductionDirectiveStart()
11173 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart()
11214 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerEnd()
11228 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerStart()
[all …]
DSemaTemplateInstantiateDecl.cpp2569 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2583 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
2590 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
DSemaDecl.cpp5770 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC)) in shouldConsiderLinkage()
5782 isa<OMPDeclareReductionDecl>(DC)) in shouldConsiderLinkage()
DSemaExpr.cpp375 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp378 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2444 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2508 if (isa<OMPThreadPrivateDecl>(D) || isa<OMPDeclareReductionDecl>(D)) in isConsumerInterestedIn()
3424 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp142 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
1648 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/external/clang/include/clang/Sema/
DSema.h148 class OMPDeclareReductionDecl; variable