Home
last modified time | relevance | path

Searched refs:PrivateVD (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp854 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()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGStmtOpenMP.cpp1132 const auto *PrivateVD = in EmitOMPLastprivateClauseFinal() local
1134 QualType Type = PrivateVD->getType(); in EmitOMPLastprivateClauseFinal()
1135 const auto *CanonicalVD = PrivateVD->getCanonicalDecl(); in EmitOMPLastprivateClauseFinal()
1147 Address PrivateAddr = GetAddrOfLocalVar(PrivateVD); in EmitOMPLastprivateClauseFinal()
1148 if (const auto *RefTy = PrivateVD->getType()->getAs<ReferenceType>()) in EmitOMPLastprivateClauseFinal()
1155 *this, MakeAddrLValue(PrivateAddr, (*IRef)->getType()), PrivateVD, in EmitOMPLastprivateClauseFinal()
1209 const auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*IPriv)->getDecl()); in EmitOMPReductionClauseInit() local
1213 AutoVarEmission Emission = EmitAutoVarAlloca(*PrivateVD); in EmitOMPReductionClauseInit()
1231 QualType Type = PrivateVD->getType(); in EmitOMPReductionClauseInit()
1240 RHSVD, [this, PrivateVD]() { return GetAddrOfLocalVar(PrivateVD); }); in EmitOMPReductionClauseInit()
[all …]
DCGOpenMPRuntime.cpp769 const auto *PrivateVD = in emitAggregateInitialization() local
772 DRD && (DRD->getInitializer() || !PrivateVD->hasInit()); in emitAggregateInitialization()
773 EmitOMPAggregateInit(CGF, PrivateAddr, PrivateVD->getType(), in emitAggregateInitialization()
776 : PrivateVD->getInit(), in emitAggregateInitialization()
815 const auto *PrivateVD = in emitAggregateType() local
817 QualType PrivateType = PrivateVD->getType(); in emitAggregateType()
853 const auto *PrivateVD = in emitAggregateType() local
855 QualType PrivateType = PrivateVD->getType(); in emitAggregateType()
874 const auto *PrivateVD = in emitInitialization() local
878 QualType PrivateType = PrivateVD->getType(); in emitInitialization()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp5034 VarDecl *PrivateVD = DeclToCopy[VD]; in checkAllocateClauses() local
5035 if (checkPreviousOMPAllocateAttribute(S, Stack, E, PrivateVD, in checkAllocateClauses()
5038 applyOMPAllocateAttribute(S, PrivateVD, AllocatorKind, AC->getAllocator(), in checkAllocateClauses()
15308 VarDecl *PrivateVD = in actOnOMPReductionKindClause() local
15320 S.ActOnUninitializedDecl(PrivateVD); in actOnOMPReductionKindClause()
15431 PrivateVD->setInit(RHSVD->getInit()); in actOnOMPReductionKindClause()
15432 PrivateVD->setInitStyle(RHSVD->getInitStyle()); in actOnOMPReductionKindClause()
15437 PrivateVD->setInit(RHSVD->getInit()); in actOnOMPReductionKindClause()
15438 PrivateVD->setInitStyle(RHSVD->getInitStyle()); in actOnOMPReductionKindClause()
15453 DeclRefExpr *PrivateDRE = buildDeclRefExpr(S, PrivateVD, PrivateTy, ELoc); in actOnOMPReductionKindClause()
/external/clang/lib/Sema/
DSemaOpenMP.cpp9313 auto *PrivateVD = buildVarDecl(*this, ELoc, PrivateTy, D->getName(), in ActOnOpenMPReductionClause() local
9450 PrivateVD->setInit(RHSVD->getInit()); in ActOnOpenMPReductionClause()
9451 PrivateVD->setInitStyle(RHSVD->getInitStyle()); in ActOnOpenMPReductionClause()
9452 auto *PrivateDRE = buildDeclRefExpr(*this, PrivateVD, PrivateTy, ELoc); in ActOnOpenMPReductionClause()