Searched refs:OrigVD (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 589 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); in EmitOMPFirstprivateClause() local 591 Lastprivates.count(OrigVD->getCanonicalDecl()) > 0; in EmitOMPFirstprivateClause() 592 auto *CapFD = CapturesInfo.lookup(OrigVD); in EmitOMPFirstprivateClause() 593 auto *FD = CapturedStmtInfo->lookup(OrigVD); in EmitOMPFirstprivateClause() 596 EmittedAsFirstprivate.insert(OrigVD->getCanonicalDecl()); in EmitOMPFirstprivateClause() 603 if (EmittedAsFirstprivate.insert(OrigVD->getCanonicalDecl()).second) { in EmitOMPFirstprivateClause() 607 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPFirstprivateClause() 616 IsRegistered = PrivateScope.addPrivate(OrigVD, [&]() -> Address { in EmitOMPFirstprivateClause() 642 IsRegistered = PrivateScope.addPrivate(OrigVD, [&]() -> Address { in EmitOMPFirstprivateClause() 674 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); in EmitOMPPrivateClause() local [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 148 const auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(IRef)->getDecl()); in emitPreInitStmt() local 149 if (EmittedAsPrivate.insert(OrigVD->getCanonicalDecl()).second) { in emitPreInitStmt() 151 CGF, OrigVD, in emitPreInitStmt() 154 OrigVD->getType().getNonReferenceType()))), in emitPreInitStmt() 155 CGF.getContext().getDeclAlign(OrigVD))); in emitPreInitStmt() 273 if (const auto *OrigVD = dyn_cast<VarDecl>(OrigDRE->getDecl())) { in EmitOMPSharedLValue() local 274 OrigVD = OrigVD->getCanonicalDecl(); in EmitOMPSharedLValue() 276 LambdaCaptureFields.lookup(OrigVD) || in EmitOMPSharedLValue() 277 (CapturedStmtInfo && CapturedStmtInfo->lookup(OrigVD)) || in EmitOMPSharedLValue() 279 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), IsCaptured, in EmitOMPSharedLValue() [all …]
|
D | CGOpenMPRuntime.cpp | 974 const VarDecl *OrigVD = nullptr; in getBaseDecl() local 982 OrigVD = cast<VarDecl>(DE->getDecl()); in getBaseDecl() 988 OrigVD = cast<VarDecl>(DE->getDecl()); in getBaseDecl() 990 return OrigVD; in getBaseDecl() 996 if (const VarDecl *OrigVD = ::getBaseDecl(ClausesData[N].Ref, DE)) { in adjustPrivateAddress() local 997 BaseDecls.emplace_back(OrigVD); in adjustPrivateAddress() 1000 loadToBegin(CGF, OrigVD->getType(), SharedAddresses[N].first.getType(), in adjustPrivateAddress() 1009 return castToBase(CGF, OrigVD->getType(), in adjustPrivateAddress()
|