Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclOpenMP.cpp92 OMPDeclareReductionDecl::OMPDeclareReductionDecl( in OMPDeclareReductionDecl() function in OMPDeclareReductionDecl
94 QualType Ty, OMPDeclareReductionDecl *PrevDeclInScope) in OMPDeclareReductionDecl()
100 void OMPDeclareReductionDecl::anchor() {} in anchor()
102 OMPDeclareReductionDecl *OMPDeclareReductionDecl::Create( in Create()
109 OMPDeclareReductionDecl *
111 return new (C, ID) OMPDeclareReductionDecl( in CreateDeserialized()
116 OMPDeclareReductionDecl *OMPDeclareReductionDecl::getPrevDeclInScope() { in getPrevDeclInScope()
117 return cast_or_null<OMPDeclareReductionDecl>( in getPrevDeclInScope()
120 const OMPDeclareReductionDecl *
121 OMPDeclareReductionDecl::getPrevDeclInScope() const { in getPrevDeclInScope()
[all …]
H A DDeclPrinter.cpp104 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
426 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext()
1558 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1584 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1587 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1590 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
1594 if (D->getInitializerKind() == OMPDeclareReductionDecl::DirectInit) in VisitOMPDeclareReductionDecl()
H A DASTDumper.cpp236 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
752 void ASTDumper::VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
761 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
764 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
767 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
H A DMicrosoftMangle.cpp100 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) { in getEffectiveDeclContext()
H A DItaniumMangle.cpp64 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) { in getEffectiveDeclContext()
H A DASTContext.cpp9793 else if (isa<OMPDeclareReductionDecl>(D)) in DeclMustBeEmitted()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclOpenMP.h103 class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext {
135 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L,
137 OMPDeclareReductionDecl *PrevDeclInScope);
139 void setPrevDeclInScope(OMPDeclareReductionDecl *Prev) { in setPrevDeclInScope()
145 static OMPDeclareReductionDecl *
147 QualType T, OMPDeclareReductionDecl *PrevDeclInScope);
149 static OMPDeclareReductionDecl *CreateDeserialized(ASTContext &C,
196 OMPDeclareReductionDecl *getPrevDeclInScope();
197 const OMPDeclareReductionDecl *getPrevDeclInScope() const;
201 static DeclContext *castToDeclContext(const OMPDeclareReductionDecl *D) { in castToDeclContext()
[all …]
H A DGlobalDecl.h56 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
H A DDeclBase.h1448 friend class OMPDeclareReductionDecl; variable
H A DRecursiveASTVisitor.h1600 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h45 class OMPDeclareReductionDecl; variable
148 const OMPDeclareReductionDecl *DRD);
339 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
345 SmallVector<const OMPDeclareReductionDecl *, 4>>
771 const OMPDeclareReductionDecl *D);
774 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
H A DModuleBuilder.cpp233 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
H A DCGOpenMPRuntime.cpp751 static const OMPDeclareReductionDecl *
822 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit()
916 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization()
1018 const OMPDeclareReductionDecl *DRD = in emitInitialization()
1159 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer()
1309 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction()
1321 D->getInitializerKind() == OMPDeclareReductionDecl::CallInit ? Init in emitUserDefinedReduction()
1335 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction()
5403 dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) { in emitReductionCombiner()
8099 isa<OMPDeclareReductionDecl>(D) || in getSingleCompoundChild()
[all …]
H A DCodeGenModule.h1244 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
H A DCGDecl.cpp143 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl()
2417 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
H A DCodeGenModule.cpp2172 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal()
5036 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
H A DCGOpenMPRuntimeNVPTX.cpp739 isa<OMPDeclareReductionDecl>(D) || in getSingleCompoundChild()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp2829 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2852 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
2859 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
2902 if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) { in VisitOMPDeclareReductionDecl()
2914 (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
2916 (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
5009 isa<OMPDeclareReductionDecl>(ParentDC)) && in FindInstantiatedDecl()
H A DSemaOpenMP.cpp10571 if (!isa<OMPDeclareReductionDecl>(Underlying)) in argumentDependentLookup()
10616 else if (auto *DRD = cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef()
13180 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart()
13216 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
13249 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart()
13296 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerEnd()
13310 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerStart()
13358 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerEnd()
13370 ? OMPDeclareReductionDecl::DirectInit in ActOnOpenMPDeclareReductionInitializerEnd()
13371 : OMPDeclareReductionDecl::CopyInit); in ActOnOpenMPDeclareReductionInitializerEnd()
[all …]
H A DSemaDecl.cpp6190 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC)) in shouldConsiderLinkage()
6202 isa<OMPDeclareReductionDecl>(DC)) in shouldConsiderLinkage()
H A DSemaExpr.cpp305 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp448 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2646 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2658 auto IK = static_cast<OMPDeclareReductionDecl::InitKind>(Record.readInt()); in VisitOMPDeclareReductionDecl()
2780 if (isa<OMPThreadPrivateDecl>(D) || isa<OMPDeclareReductionDecl>(D)) in isConsumerInterestedIn()
3855 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp149 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
1755 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h157 class OMPDeclareReductionDecl; variable