Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp946 auto *RHSVD = cast<VarDecl>(cast<DeclRefExpr>(*IRHS)->getDecl()); in EmitOMPReductionClauseInit() local
1005 PrivateScope.addPrivate(RHSVD, [this, PrivateVD]() -> Address { in EmitOMPReductionClauseInit()
1046 PrivateScope.addPrivate(RHSVD, [this, PrivateVD, RHSVD]() -> Address { in EmitOMPReductionClauseInit()
1048 GetAddrOfLocalVar(PrivateVD), ConvertTypeForMem(RHSVD->getType()), in EmitOMPReductionClauseInit()
1089 PrivateScope.addPrivate(RHSVD, [this, PrivateVD, RHSVD]() -> Address { in EmitOMPReductionClauseInit()
1092 ConvertTypeForMem(RHSVD->getType()), "rhs.begin"); in EmitOMPReductionClauseInit()
1124 PrivateScope.addPrivate(RHSVD, [this, PrivateVD]() -> Address { in EmitOMPReductionClauseInit()
/external/llvm-project/clang/lib/CodeGen/
DCGStmtOpenMP.cpp1230 const auto *RHSVD = cast<VarDecl>(cast<DeclRefExpr>(*IRHS)->getDecl()); in EmitOMPReductionClauseInit() local
1240 RHSVD, [this, PrivateVD]() { return GetAddrOfLocalVar(PrivateVD); }); in EmitOMPReductionClauseInit()
1248 PrivateScope.addPrivate(RHSVD, [this, PrivateVD, RHSVD]() { in EmitOMPReductionClauseInit()
1250 ConvertTypeForMem(RHSVD->getType()), in EmitOMPReductionClauseInit()
1265 RHSVD, [this, PrivateVD, RHSVD, IsArray]() { in EmitOMPReductionClauseInit()
1269 ConvertTypeForMem(RHSVD->getType()), "rhs.begin") in EmitOMPReductionClauseInit()
3259 const auto *RHSVD = cast<VarDecl>(cast<DeclRefExpr>(*IRHS)->getDecl()); in emitScanBasedDirective() local
3280 PrivScope.addPrivate(RHSVD, [RHSAddr]() { return RHSAddr; }); in emitScanBasedDirective()
DCGOpenMPRuntime.cpp5892 const auto *RHSVD = cast<VarDecl>(cast<DeclRefExpr>(RHS)->getDecl()); in emitReduceCombFunction() local
5933 PrivateScope.addPrivate(RHSVD, [&C, &CGF, &ParamIn, RHSVD]() { in emitReduceCombFunction()
5939 PtrAddr, CGF.ConvertTypeForMem(RHSVD->getType())); in emitReduceCombFunction()
/external/clang/lib/Sema/
DSemaOpenMP.cpp9294 auto *RHSVD = buildVarDecl(*this, ELoc, Type, D->getName(), in ActOnOpenMPReductionClause() local
9318 auto *RHSDRE = buildDeclRefExpr(*this, RHSVD, Type, ELoc); in ActOnOpenMPReductionClause()
9324 RHSVD->setInit(DRDRef); in ActOnOpenMPReductionClause()
9325 RHSVD->setInitStyle(VarDecl::CallInit); in ActOnOpenMPReductionClause()
9431 AddInitializerToDecl(RHSVD, Init, /*DirectInit=*/false, in ActOnOpenMPReductionClause()
9434 ActOnUninitializedDecl(RHSVD, /*TypeMayContainAuto=*/false); in ActOnOpenMPReductionClause()
9435 if (RHSVD->isInvalidDecl()) in ActOnOpenMPReductionClause()
9437 if (!RHSVD->hasInit() && DeclareReductionRef.isUnset()) { in ActOnOpenMPReductionClause()
9450 PrivateVD->setInit(RHSVD->getInit()); in ActOnOpenMPReductionClause()
9451 PrivateVD->setInitStyle(RHSVD->getInitStyle()); in ActOnOpenMPReductionClause()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp15259 VarDecl *RHSVD = buildVarDecl(S, ELoc, Type, D->getName(), in actOnOMPReductionKindClause() local
15315 DeclRefExpr *RHSDRE = buildDeclRefExpr(S, RHSVD, Type, ELoc); in actOnOMPReductionKindClause()
15322 RHSVD->setInit(DRDRef); in actOnOMPReductionKindClause()
15323 RHSVD->setInitStyle(VarDecl::CallInit); in actOnOMPReductionKindClause()
15428 S.AddInitializerToDecl(RHSVD, Init, /*DirectInit=*/false); in actOnOMPReductionKindClause()
15431 PrivateVD->setInit(RHSVD->getInit()); in actOnOMPReductionKindClause()
15432 PrivateVD->setInitStyle(RHSVD->getInitStyle()); in actOnOMPReductionKindClause()
15434 S.ActOnUninitializedDecl(RHSVD); in actOnOMPReductionKindClause()
15437 PrivateVD->setInit(RHSVD->getInit()); in actOnOMPReductionKindClause()
15438 PrivateVD->setInitStyle(RHSVD->getInitStyle()); in actOnOMPReductionKindClause()
[all …]