Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
119 OMPDeclareReductionDecl *
121 return new (C, ID) OMPDeclareReductionDecl( in CreateDeserialized()
126 OMPDeclareReductionDecl *OMPDeclareReductionDecl::getPrevDeclInScope() { in getPrevDeclInScope()
127 return cast_or_null<OMPDeclareReductionDecl>( in getPrevDeclInScope()
130 const OMPDeclareReductionDecl *
131 OMPDeclareReductionDecl::getPrevDeclInScope() const { in getPrevDeclInScope()
[all …]
H A DDeclPrinter.cpp106 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
448 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext()
1677 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1697 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1700 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1703 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
1707 if (D->getInitializerKind() == OMPDeclareReductionDecl::DirectInit) in VisitOMPDeclareReductionDecl()
H A DTextNodeDumper.cpp1830 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1839 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1842 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1845 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.cpp10934 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D)) in DeclMustBeEmitted()
/freebsd-13.1/contrib/llvm-project/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.h339 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
H A DASTNodeTraverser.h482 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DDeclBase.h1540 friend class OMPDeclareReductionDecl;
H A DRecursiveASTVisitor.h1630 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h50 class OMPDeclareReductionDecl; variable
169 const OMPDeclareReductionDecl *DRD);
440 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
446 SmallVector<const OMPDeclareReductionDecl *, 4>>
945 const OMPDeclareReductionDecl *D);
948 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
H A DModuleBuilder.cpp240 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
H A DCGOpenMPRuntime.cpp607 static const OMPDeclareReductionDecl *
682 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit()
779 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization()
890 const OMPDeclareReductionDecl *DRD = in emitInitialization()
1035 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer()
1174 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction()
1186 D->getInitializerKind() == OMPDeclareReductionDecl::CallInit ? Init in emitUserDefinedReduction()
1200 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction()
5415 dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) { in emitReductionCombiner()
6602 isa<OMPDeclareReductionDecl>(D) || in getSingleCompoundChild()
[all …]
H A DCodeGenModule.h1348 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
H A DCGDecl.cpp167 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl()
2605 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
H A DCodeGenModule.cpp2915 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal()
5932 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3405 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
3430 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
3437 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
3467 if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) { in VisitOMPDeclareReductionDecl()
3482 (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
3484 (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
6014 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
H A DSemaOpenMP.cpp16406 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup()
16452 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef()
19695 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart()
19731 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
19764 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart()
19811 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerEnd()
19825 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerStart()
19873 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerEnd()
19885 ? OMPDeclareReductionDecl::DirectInit in ActOnOpenMPDeclareReductionInitializerEnd()
19886 : OMPDeclareReductionDecl::CopyInit); in ActOnOpenMPDeclareReductionInitializerEnd()
[all …]
H A DSemaDecl.cpp6735 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage()
6750 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC)) in shouldConsiderLinkage()
H A DSemaExpr.cpp335 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp452 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2711 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2723 auto IK = static_cast<OMPDeclareReductionDecl::InitKind>(Record.readInt()); in VisitOMPDeclareReductionDecl()
2865 if (isa<OMPThreadPrivateDecl>(D) || isa<OMPDeclareReductionDecl>(D) || in isConsumerInterestedIn()
4079 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp156 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
1875 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h169 class OMPDeclareReductionDecl; variable