Lines Matching refs:ValueDecl
196 static const ValueDecl *getPrivateItem(const Expr *RefExpr) { in getPrivateItem()
213 return cast<ValueDecl>(DE->getDecl()->getCanonicalDecl()); in getPrivateItem()
215 return cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in getPrivateItem()
218 typedef std::pair<CharUnits /*Align*/, const ValueDecl *> VarsDataTy;
224 ASTContext &C, ArrayRef<const ValueDecl *> EscapedDecls, in buildRecordForGlobalizedVars()
225 ArrayRef<const ValueDecl *> EscapedDeclsForTeams, in buildRecordForGlobalizedVars()
226 llvm::SmallDenseMap<const ValueDecl *, const FieldDecl *> in buildRecordForGlobalizedVars() argument
231 for (const ValueDecl *D : EscapedDecls) in buildRecordForGlobalizedVars()
237 for (const ValueDecl *D : EscapedDeclsForTeams) in buildRecordForGlobalizedVars()
248 llvm::SmallPtrSet<const ValueDecl *, 16> SingleEscaped( in buildRecordForGlobalizedVars()
251 const ValueDecl *VD = Pair.second; in buildRecordForGlobalizedVars()
301 llvm::SetVector<const ValueDecl *> EscapedDecls;
302 llvm::SetVector<const ValueDecl *> EscapedVariableLengthDecls;
305 llvm::SmallDenseMap<const ValueDecl *, const FieldDecl *> MappedDeclsFields;
309 void markAsEscaped(const ValueDecl *VD) { in markAsEscaped()
314 VD = cast<ValueDecl>(VD->getCanonicalDecl()); in markAsEscaped()
353 void VisitValueDecl(const ValueDecl *VD) { in VisitValueDecl()
372 const ValueDecl *VD = C.getCapturedVar(); in VisitOpenMPCapturedStmt()
415 ArrayRef<const ValueDecl *> EscapedDeclsForParallel, EscapedDeclsForTeams; in buildRecordForGlobalizedVars()
427 ArrayRef<const ValueDecl *> TeamsReductions) in CheckVarsEscapingDeclContext()
435 if (const auto *VD = dyn_cast_or_null<ValueDecl>(D)) in VisitDeclStmt()
464 const ValueDecl *VD = C.getCapturedVar(); in VisitCapturedStmt()
477 const ValueDecl *VD = C.getCapturedVar(); in VisitLambdaExpr()
517 const ValueDecl *VD = E->getDecl(); in VisitDeclRefExpr()
578 const FieldDecl *getFieldForGlobalizedVar(const ValueDecl *VD) const { in getFieldForGlobalizedVar()
588 ArrayRef<const ValueDecl *> getEscapedDecls() const { in getEscapedDecls()
600 ArrayRef<const ValueDecl *> getEscapedVariableLengthDecls() const { in getEscapedVariableLengthDecls()
1974 llvm::SmallVectorImpl<const ValueDecl *> &Vars) { in getDistributeLastprivateVars()
1999 llvm::SmallVectorImpl<const ValueDecl *> &Vars) { in getTeamsReductionVars()
2014 llvm::SmallVector<const ValueDecl *, 4> LastPrivatesReductions; in emitTeamsOutlinedFunction()
2015 llvm::SmallDenseMap<const ValueDecl *, const FieldDecl *> MappedDeclsFields; in emitTeamsOutlinedFunction()
2036 llvm::SmallDenseMap<const ValueDecl *, const FieldDecl *> in emitTeamsOutlinedFunction()
2042 llvm::SmallDenseMap<const ValueDecl *, const FieldDecl *> in emitTeamsOutlinedFunction() argument
2331 for (const ValueDecl *VD : I->getSecond().EscapedVariableLengthDecls) { in emitGenericVarsProlog()
4220 ArrayRef<const ValueDecl *> EscapedVariableLengthDecls = in emitFunctionProlog()
4234 for (const ValueDecl *VD : VarChecker.getEscapedDecls()) { in emitFunctionProlog()
4246 for (const ValueDecl *VD : VarChecker.getEscapedDecls()) { in emitFunctionProlog()