Lines Matching refs:PrivateVD
854 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); in EmitOMPLastprivateClauseFinal() local
855 QualType Type = PrivateVD->getType(); in EmitOMPLastprivateClauseFinal()
856 auto *CanonicalVD = PrivateVD->getCanonicalDecl(); in EmitOMPLastprivateClauseFinal()
868 Address PrivateAddr = GetAddrOfLocalVar(PrivateVD); in EmitOMPLastprivateClauseFinal()
869 if (auto RefTy = PrivateVD->getType()->getAs<ReferenceType>()) in EmitOMPLastprivateClauseFinal()
947 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*IPriv)->getDecl()); in EmitOMPReductionClauseInit() local
971 OrigVD, [this, OrigVD, PrivateVD, BaseLValue, OASELValueLB, in EmitOMPReductionClauseInit()
983 .getAsVariableArrayType(PrivateVD->getType()) in EmitOMPReductionClauseInit()
986 EmitVariablyModifiedType(PrivateVD->getType()); in EmitOMPReductionClauseInit()
987 auto Emission = EmitAutoVarAlloca(*PrivateVD); in EmitOMPReductionClauseInit()
989 auto *Init = PrivateVD->getInit(); in EmitOMPReductionClauseInit()
990 EmitOMPAggregateInit(*this, Addr, PrivateVD->getType(), in EmitOMPReductionClauseInit()
1005 PrivateScope.addPrivate(RHSVD, [this, PrivateVD]() -> Address { in EmitOMPReductionClauseInit()
1006 return GetAddrOfLocalVar(PrivateVD); in EmitOMPReductionClauseInit()
1025 OrigVD, [this, OrigVD, PrivateVD, BaseLValue, ASELValue, in EmitOMPReductionClauseInit()
1028 AutoVarEmission Emission = EmitAutoVarAlloca(*PrivateVD); in EmitOMPReductionClauseInit()
1030 if (DRD && (DRD->getInitializer() || !PrivateVD->hasInit())) { in EmitOMPReductionClauseInit()
1046 PrivateScope.addPrivate(RHSVD, [this, PrivateVD, RHSVD]() -> Address { in EmitOMPReductionClauseInit()
1048 GetAddrOfLocalVar(PrivateVD), ConvertTypeForMem(RHSVD->getType()), in EmitOMPReductionClauseInit()
1053 QualType Type = PrivateVD->getType(); in EmitOMPReductionClauseInit()
1072 .getAsVariableArrayType(PrivateVD->getType()) in EmitOMPReductionClauseInit()
1078 auto Emission = EmitAutoVarAlloca(*PrivateVD); in EmitOMPReductionClauseInit()
1080 auto *Init = PrivateVD->getInit(); in EmitOMPReductionClauseInit()
1081 EmitOMPAggregateInit(*this, Addr, PrivateVD->getType(), in EmitOMPReductionClauseInit()
1089 PrivateScope.addPrivate(RHSVD, [this, PrivateVD, RHSVD]() -> Address { in EmitOMPReductionClauseInit()
1091 GetAddrOfLocalVar(PrivateVD), in EmitOMPReductionClauseInit()
1108 OrigVD, [this, PrivateVD, OriginalAddr, DRD, IRed]() -> Address { in EmitOMPReductionClauseInit()
1110 AutoVarEmission Emission = EmitAutoVarAlloca(*PrivateVD); in EmitOMPReductionClauseInit()
1112 if (DRD && (DRD->getInitializer() || !PrivateVD->hasInit())) { in EmitOMPReductionClauseInit()
1115 PrivateVD->getType()); in EmitOMPReductionClauseInit()
1124 PrivateScope.addPrivate(RHSVD, [this, PrivateVD]() -> Address { in EmitOMPReductionClauseInit()
1125 return GetAddrOfLocalVar(PrivateVD); in EmitOMPReductionClauseInit()
1431 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*I)->getDecl()); in EmitOMPPrivateLoopCounters() local
1434 if (!LocalDeclMap.count(PrivateVD)) { in EmitOMPPrivateLoopCounters()
1435 auto VarEmission = EmitAutoVarAlloca(*PrivateVD); in EmitOMPPrivateLoopCounters()
1438 DeclRefExpr DRE(const_cast<VarDecl *>(PrivateVD), in EmitOMPPrivateLoopCounters()
1445 (void)LoopScope.addPrivate(PrivateVD, [&]() -> Address { in EmitOMPPrivateLoopCounters()
1490 auto *PrivateVD = in EmitOMPLinearClause() local
1495 EmitVarDecl(*PrivateVD); in EmitOMPLinearClause()
1496 return GetAddrOfLocalVar(PrivateVD); in EmitOMPLinearClause()
1502 EmitVarDecl(*PrivateVD); in EmitOMPLinearClause()
1553 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>((*IPC))->getDecl()); in EmitOMPSimdFinal() local
1571 DeclRefExpr DRE(const_cast<VarDecl *>(PrivateVD), in EmitOMPSimdFinal()