Home
last modified time | relevance | path

Searched refs:OrigVD (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp162 const auto *OrigVD = in emitPreInitStmt() local
164 if (EmittedAsPrivate.insert(OrigVD->getCanonicalDecl()).second) { in emitPreInitStmt()
165 QualType OrigVDTy = OrigVD->getType().getNonReferenceType(); in emitPreInitStmt()
167 CGF, OrigVD, in emitPreInitStmt()
171 CGF.getContext().getDeclAlign(OrigVD))); in emitPreInitStmt()
348 if (const auto *OrigVD = dyn_cast<VarDecl>(OrigDRE->getDecl())) { in EmitOMPSharedLValue() local
349 OrigVD = OrigVD->getCanonicalDecl(); in EmitOMPSharedLValue()
351 LambdaCaptureFields.lookup(OrigVD) || in EmitOMPSharedLValue()
352 (CapturedStmtInfo && CapturedStmtInfo->lookup(OrigVD)) || in EmitOMPSharedLValue()
354 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), IsCaptured, in EmitOMPSharedLValue()
[all …]
H A DCGOpenMPRuntime.cpp941 const VarDecl *OrigVD = nullptr; in getBaseDecl() local
949 OrigVD = cast<VarDecl>(DE->getDecl()); in getBaseDecl()
955 OrigVD = cast<VarDecl>(DE->getDecl()); in getBaseDecl()
957 return OrigVD; in getBaseDecl()
963 if (const VarDecl *OrigVD = ::getBaseDecl(ClausesData[N].Ref, DE)) { in adjustPrivateAddress() local
964 BaseDecls.emplace_back(OrigVD); in adjustPrivateAddress()
967 loadToBegin(CGF, OrigVD->getType(), SharedAddresses[N].first.getType(), in adjustPrivateAddress()
978 return castToBase(CGF, OrigVD->getType(), in adjustPrivateAddress()