Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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);
449 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext()
1691 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1711 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1714 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1717 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
1721 if (D->getInitializerKind() == OMPDeclareReductionDecl::DirectInit) in VisitOMPDeclareReductionDecl()
H A DTextNodeDumper.cpp1863 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1872 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1875 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1878 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
H A DMicrosoftMangle.cpp115 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DItaniumMangle.cpp652 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
H A DASTContext.cpp11571 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D)) in DeclMustBeEmitted()
/llvm-project-15.0.7/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.h87 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
H A DTextNodeDumper.h343 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
H A DASTNodeTraverser.h489 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
H A DDeclBase.h1578 friend class OMPDeclareReductionDecl;
H A DRecursiveASTVisitor.h1757 DEF_TRAVERSE_DECL(OMPDeclareReductionDecl, {
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h49 class OMPDeclareReductionDecl; variable
167 const OMPDeclareReductionDecl *DRD);
443 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
449 SmallVector<const OMPDeclareReductionDecl *, 4>>
944 const OMPDeclareReductionDecl *D);
947 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
H A DModuleBuilder.cpp259 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
H A DCGOpenMPRuntime.cpp609 static const OMPDeclareReductionDecl *
682 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit()
777 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization()
883 const OMPDeclareReductionDecl *DRD = in emitInitialization()
1016 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer()
1153 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction()
1165 D->getInitializerKind() == OMPDeclareReductionDecl::CallInit ? Init in emitUserDefinedReduction()
1179 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction()
5309 dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) { in emitReductionCombiner()
6535 isa<OMPDeclareReductionDecl>(D) || in getSingleCompoundChild()
[all …]
H A DCodeGenModule.h1393 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
H A DCGDecl.cpp168 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this); in EmitDecl()
2625 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, in EmitOMPDeclareReduction()
H A DCodeGenModule.cpp3189 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) { in EmitGlobal()
6338 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); in EmitTopLevelDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3467 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
3492 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
3499 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
3529 if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) { in VisitOMPDeclareReductionDecl()
3544 (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
3546 (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
6043 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
H A DSemaOpenMP.cpp18477 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup()
18523 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef()
21804 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart()
21840 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
21873 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart()
21920 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerEnd()
21934 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerStart()
21982 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerEnd()
21994 ? OMPDeclareReductionDecl::DirectInit in ActOnOpenMPDeclareReductionInitializerEnd()
21995 : OMPDeclareReductionDecl::CopyInit); in ActOnOpenMPDeclareReductionInitializerEnd()
[all …]
H A DSemaDecl.cpp7109 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) || in shouldConsiderLinkage()
7124 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC)) in shouldConsiderLinkage()
H A DSemaExpr.cpp340 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp454 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2819 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2831 auto IK = static_cast<OMPDeclareReductionDecl::InitKind>(Record.readInt()); in VisitOMPDeclareReductionDecl()
2974 if (isa<OMPThreadPrivateDecl>(D) || isa<OMPDeclareReductionDecl>(D) || in isConsumerInterestedIn()
3829 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp157 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
1885 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h168 class OMPDeclareReductionDecl; variable