Lines Matching refs:OrigVD
174 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); in EmitOMPFirstprivateClause() local
175 if (EmittedAsFirstprivate.count(OrigVD) == 0) { in EmitOMPFirstprivateClause()
176 EmittedAsFirstprivate.insert(OrigVD); in EmitOMPFirstprivateClause()
181 const_cast<VarDecl *>(OrigVD), in EmitOMPFirstprivateClause()
183 OrigVD) != nullptr, in EmitOMPFirstprivateClause()
186 if (OrigVD->getType()->isArrayType()) { in EmitOMPFirstprivateClause()
190 IsRegistered = PrivateScope.addPrivate(OrigVD, [&]() -> llvm::Value *{ in EmitOMPFirstprivateClause()
217 IsRegistered = PrivateScope.addPrivate(OrigVD, [&]() -> llvm::Value *{ in EmitOMPFirstprivateClause()
250 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); in EmitOMPPrivateClause() local
253 PrivateScope.addPrivate(OrigVD, [&]() -> llvm::Value * { in EmitOMPPrivateClause()
338 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); in EmitOMPLastprivateClauseInit() local
339 if (AlreadyEmittedVars.insert(OrigVD->getCanonicalDecl()).second) { in EmitOMPLastprivateClauseInit()
341 PrivateScope.addPrivate(DestVD, [this, OrigVD, IRef]() -> llvm::Value *{ in EmitOMPLastprivateClauseInit()
343 const_cast<VarDecl *>(OrigVD), in EmitOMPLastprivateClauseInit()
345 OrigVD) != nullptr, in EmitOMPLastprivateClauseInit()
356 PrivateScope.addPrivate(OrigVD, [&]() -> llvm::Value *{ in EmitOMPLastprivateClauseInit()
428 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(IRef)->getDecl()); in EmitOMPReductionClauseInit() local
433 PrivateScope.addPrivate(LHSVD, [this, OrigVD, IRef]() -> llvm::Value *{ in EmitOMPReductionClauseInit()
434 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPReductionClauseInit()
435 CapturedStmtInfo->lookup(OrigVD) != nullptr, in EmitOMPReductionClauseInit()
441 PrivateScope.addPrivate(OrigVD, [this, PrivateVD]() -> llvm::Value *{ in EmitOMPReductionClauseInit()