Home
last modified time | relevance | path

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

12

/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()
/external/llvm-project/clang/lib/AST/
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()
114 QualType T, OMPDeclareReductionDecl *PrevDeclInScope) { in Create()
115 return new (C, DC) OMPDeclareReductionDecl(OMPDeclareReduction, DC, L, Name, in Create()
119 OMPDeclareReductionDecl *
120 OMPDeclareReductionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
121 return new (C, ID) OMPDeclareReductionDecl( in CreateDeserialized()
126 OMPDeclareReductionDecl *OMPDeclareReductionDecl::getPrevDeclInScope() { in getPrevDeclInScope()
[all …]
DDeclPrinter.cpp105 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
441 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) || in VisitDeclContext()
1639 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1659 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1662 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1665 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
1669 if (D->getInitializerKind() == OMPDeclareReductionDecl::DirectInit) in VisitOMPDeclareReductionDecl()
DTextNodeDumper.cpp1776 const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1785 case OMPDeclareReductionDecl::DirectInit: in VisitOMPDeclareReductionDecl()
1788 case OMPDeclareReductionDecl::CopyInit: in VisitOMPDeclareReductionDecl()
1791 case OMPDeclareReductionDecl::CallInit: in VisitOMPDeclareReductionDecl()
/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()
/external/llvm-project/clang/include/clang/AST/
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 …]
DGlobalDecl.h86 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
DTextNodeDumper.h336 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
DASTNodeTraverser.h455 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
/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,
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.h50 class OMPDeclareReductionDecl; variable
170 const OMPDeclareReductionDecl *DRD);
412 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
418 SmallVector<const OMPDeclareReductionDecl *, 4>>
920 const OMPDeclareReductionDecl *D);
923 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
DModuleBuilder.cpp240 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) { in HandleTagDeclDefinition()
DCGOpenMPRuntime.cpp600 static const OMPDeclareReductionDecl *
606 if (const auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) in getReductionInit()
612 const OMPDeclareReductionDecl *DRD, in emitInitWithReductionInitializer()
671 const OMPDeclareReductionDecl *DRD, in EmitOMPAggregateInit()
765 const OMPDeclareReductionDecl *DRD) { in emitAggregateInitialization()
876 const OMPDeclareReductionDecl *DRD = in emitInitialization()
1020 const OMPDeclareReductionDecl *DRD = in usesReductionInitializer()
1157 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) { in emitUserDefinedReduction()
1169 D->getInitializerKind() == OMPDeclareReductionDecl::CallInit ? Init in emitUserDefinedReduction()
1183 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) { in getUserDefinedReduction()
[all …]
DCodeGenModule.h1311 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp3280 OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
3305 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
3312 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
3342 if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) { in VisitOMPDeclareReductionDecl()
3357 (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
3359 (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit && in VisitOMPDeclareReductionDecl()
5814 isa<OMPDeclareReductionDecl>(ParentDC) || in FindInstantiatedDecl()
DSemaOpenMP.cpp14660 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup()
14706 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef()
15318 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl()); in actOnOMPReductionKindClause()
17916 OMPDeclareReductionDecl *PrevDRD = nullptr; in ActOnOpenMPDeclareReductionDirectiveStart()
17927 llvm::DenseMap<OMPDeclareReductionDecl *, bool> UsedAsPrevious; in ActOnOpenMPDeclareReductionDirectiveStart()
17930 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next()); in ActOnOpenMPDeclareReductionDirectiveStart()
17935 if (OMPDeclareReductionDecl *D = PrevDecl->getPrevDeclInScope()) in ActOnOpenMPDeclareReductionDirectiveStart()
17952 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
17969 auto *DRD = OMPDeclareReductionDecl::Create(Context, DC, TyData.second, in ActOnOpenMPDeclareReductionDirectiveStart()
17985 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart()
[all …]
/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 …]
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp450 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2691 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
2703 auto IK = static_cast<OMPDeclareReductionDecl::InitKind>(Record.readInt()); in VisitOMPDeclareReductionDecl()
2845 if (isa<OMPThreadPrivateDecl>(D) || isa<OMPDeclareReductionDecl>(D) || in isConsumerInterestedIn()
4044 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/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()

12