Home
last modified time | relevance | path

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

/freebsd/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.cpp109 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
522 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext()
1847 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DTextNodeDumper.cpp2495 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DMicrosoftMangle.cpp116 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DItaniumMangle.cpp682 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DASTContext.cpp12958 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D)) in DeclMustBeEmitted()
/freebsd/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.h88 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
H A DTextNodeDumper.h370 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
H A DASTNodeTraverser.h626 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DDeclBase.h1716 friend class OMPDeclareReductionDecl;
H A DRecursiveASTVisitor.h1816 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h49 class OMPDeclareReductionDecl; variable
169 const OMPDeclareReductionDecl *DRD);
401 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
407 SmallVector<const OMPDeclareReductionDecl *, 4>>
703 const OMPDeclareReductionDecl *D);
706 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
H A DModuleBuilder.cpp260 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
H A DCGOpenMPRuntime.cpp583 static const OMPDeclareReductionDecl *
589 if (const auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) in getReductionInit()
595 const OMPDeclareReductionDecl *DRD, in emitInitWithReductionInitializer()
656 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit()
750 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization()
856 const OMPDeclareReductionDecl *DRD = in emitInitialization()
988 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer()
1129 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction()
1153 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction()
4783 dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) { in emitReductionCombiner()
[all …]
H A DCGDecl.cpp176 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl()
2865 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
H A DCodeGenModule.h1568 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
H A DCodeGenModule.cpp4035 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal()
7457 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp451 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
3074 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
3249 if (isa<OMPThreadPrivateDecl, OMPDeclareReductionDecl, OMPDeclareMapperDecl, in isConsumerInterestedIn()
4190 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp174 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2315 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp4194 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
4219 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
4226 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
6790 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
H A DSemaOpenMP.cpp18522 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup()
18569 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef()
19249 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl()); in actOnOMPReductionKindClause()
22232 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart()
22243 llvm::DenseMap<OMPDeclareReductionDecl *, bool> UsedAsPrevious; in ActOnOpenMPDeclareReductionDirectiveStart()
22246 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next()); in ActOnOpenMPDeclareReductionDirectiveStart()
22249 if (OMPDeclareReductionDecl *D = PrevDecl->getPrevDeclInScope()) in ActOnOpenMPDeclareReductionDirectiveStart()
22266 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
22283 auto *DRD = OMPDeclareReductionDecl::Create( in ActOnOpenMPDeclareReductionDirectiveStart()
22299 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart()
[all …]
H A DSemaDecl.cpp7315 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage()
7333 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC)) in shouldConsiderLinkage()
H A DSemaExpr.cpp345 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()