Lines Matching refs:DRD
8927 else if (auto *DRD = cast<OMPDeclareReductionDecl>(D)) in buildDeclareReductionRef() local
8928 Lookups.back().addDecl(DRD); in buildDeclareReductionRef()
9321 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl()); in ActOnOpenMPReductionClause() local
9322 if (DRD->getInitializer()) { in ActOnOpenMPReductionClause()
11157 auto *DRD = OMPDeclareReductionDecl::Create(Context, DC, TyData.second, in ActOnOpenMPDeclareReductionDirectiveStart() local
11159 DC->addDecl(DRD); in ActOnOpenMPDeclareReductionDirectiveStart()
11160 DRD->setAccess(AS); in ActOnOpenMPDeclareReductionDirectiveStart()
11161 Decls.push_back(DRD); in ActOnOpenMPDeclareReductionDirectiveStart()
11163 DRD->setInvalidDecl(); in ActOnOpenMPDeclareReductionDirectiveStart()
11165 PrevDRD = DRD; in ActOnOpenMPDeclareReductionDirectiveStart()
11173 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerStart() local
11181 PushDeclContext(S, DRD); in ActOnOpenMPDeclareReductionCombinerStart()
11183 CurContext = DRD; in ActOnOpenMPDeclareReductionCombinerStart()
11187 QualType ReductionType = DRD->getType(); in ActOnOpenMPDeclareReductionCombinerStart()
11208 DRD->addDecl(OmpInParm); in ActOnOpenMPDeclareReductionCombinerStart()
11209 DRD->addDecl(OmpOutParm); in ActOnOpenMPDeclareReductionCombinerStart()
11214 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionCombinerEnd() local
11222 DRD->setCombiner(Combiner); in ActOnOpenMPDeclareReductionCombinerEnd()
11224 DRD->setInvalidDecl(); in ActOnOpenMPDeclareReductionCombinerEnd()
11228 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerStart() local
11235 PushDeclContext(S, DRD); in ActOnOpenMPDeclareReductionInitializerStart()
11237 CurContext = DRD; in ActOnOpenMPDeclareReductionInitializerStart()
11241 QualType ReductionType = DRD->getType(); in ActOnOpenMPDeclareReductionInitializerStart()
11262 DRD->addDecl(OmpPrivParm); in ActOnOpenMPDeclareReductionInitializerStart()
11263 DRD->addDecl(OmpOrigParm); in ActOnOpenMPDeclareReductionInitializerStart()
11269 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionInitializerEnd() local
11277 DRD->setInitializer(Initializer); in ActOnOpenMPDeclareReductionInitializerEnd()
11279 DRD->setInvalidDecl(); in ActOnOpenMPDeclareReductionInitializerEnd()
11286 auto *DRD = cast<OMPDeclareReductionDecl>(D); in ActOnOpenMPDeclareReductionDirectiveEnd() local
11288 PushOnScopeChains(DRD, S, /*AddToContext=*/false); in ActOnOpenMPDeclareReductionDirectiveEnd()