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.cpp158 const auto *OrigVD = in emitPreInitStmt() local
160 if (EmittedAsPrivate.insert(OrigVD->getCanonicalDecl()).second) { in emitPreInitStmt()
161 QualType OrigVDTy = OrigVD->getType().getNonReferenceType(); in emitPreInitStmt()
163 CGF, OrigVD, in emitPreInitStmt()
167 CGF.getContext().getDeclAlign(OrigVD))); in emitPreInitStmt()
318 if (const auto *OrigVD = dyn_cast<VarDecl>(OrigDRE->getDecl())) { in EmitOMPSharedLValue() local
319 OrigVD = OrigVD->getCanonicalDecl(); in EmitOMPSharedLValue()
321 LambdaCaptureFields.lookup(OrigVD) || in EmitOMPSharedLValue()
322 (CapturedStmtInfo && CapturedStmtInfo->lookup(OrigVD)) || in EmitOMPSharedLValue()
324 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), IsCaptured, in EmitOMPSharedLValue()
[all …]
H A DCGOpenMPRuntime.cpp945 const VarDecl *OrigVD = nullptr; in getBaseDecl() local
953 OrigVD = cast<VarDecl>(DE->getDecl()); in getBaseDecl()
959 OrigVD = cast<VarDecl>(DE->getDecl()); in getBaseDecl()
961 return OrigVD; in getBaseDecl()
967 if (const VarDecl *OrigVD = ::getBaseDecl(ClausesData[N].Ref, DE)) { in adjustPrivateAddress() local
968 BaseDecls.emplace_back(OrigVD); in adjustPrivateAddress()
971 loadToBegin(CGF, OrigVD->getType(), SharedAddresses[N].first.getType(), in adjustPrivateAddress()
982 return castToBase(CGF, OrigVD->getType(), in adjustPrivateAddress()