Lines Matching full:vardecl
90 VarDecl *CapVar = nullptr;
318 Address SrcAddr, const VarDecl *DestVD,
319 const VarDecl *SrcVD, const Expr *Copy) {
359 llvm::DenseSet<const VarDecl *> EmittedAsFirstprivate;
364 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
367 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
368 auto *VDInit = cast<VarDecl>(cast<DeclRefExpr>(*InitsRef)->getDecl());
371 const_cast<VarDecl *>(OrigVD),
378 // Emit VarDecl with copy init for arrays.
408 // Emit private VarDecl with copy init.
434 llvm::DenseSet<const VarDecl *> EmittedAsPrivate;
438 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
440 auto VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
443 // Emit private VarDecl with copy init.
463 llvm::DenseSet<const VarDecl *> CopiedVars;
470 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
482 DeclRefExpr DRE(const_cast<VarDecl *>(VD), true, (*IRef)->getType(),
506 auto *SrcVD = cast<VarDecl>(cast<DeclRefExpr>(*ISrcRef)->getDecl());
507 auto *DestVD = cast<VarDecl>(cast<DeclRefExpr>(*IDestRef)->getDecl());
528 llvm::DenseSet<const VarDecl *> AlreadyEmittedVars;
536 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
538 auto *DestVD = cast<VarDecl>(cast<DeclRefExpr>(*IDestRef)->getDecl());
541 const_cast<VarDecl *>(OrigVD),
551 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
554 // Emit private VarDecl with copy init.
593 LastIterVal = cast<VarDecl>(cast<DeclRefExpr>(
608 llvm::DenseSet<const VarDecl *> AlreadyEmittedVars;
615 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
632 auto *SrcVD = cast<VarDecl>(cast<DeclRefExpr>(*ISrcRef)->getDecl());
633 auto *DestVD = cast<VarDecl>(cast<DeclRefExpr>(*IDestRef)->getDecl());
665 auto *LHSVD = cast<VarDecl>(cast<DeclRefExpr>(*ILHS)->getDecl());
666 auto *RHSVD = cast<VarDecl>(cast<DeclRefExpr>(*IRHS)->getDecl());
667 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*IPriv)->getDecl());
675 auto *OrigVD = cast<VarDecl>(DE->getDecl());
704 // Emit VarDecl with copy init for arrays.
723 // Emit private VarDecl with reduction init.
742 auto *OrigVD = cast<VarDecl>(DE->getDecl());
769 // Emit private VarDecl with reduction init.
786 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(IRef)->getDecl());
790 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD),
798 // Emit private VarDecl with reduction init.
981 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(Init)->getDecl());
982 auto *OrigVD = cast<VarDecl>(
984 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD),
998 EmitVarDecl(*cast<VarDecl>(SaveRef->getDecl()));
1013 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IC)->getDecl());
1014 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD),
1069 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
1070 auto *PrivateVD = cast<VarDecl>(cast<DeclRefExpr>(*I)->getDecl());
1111 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
1113 cast<VarDecl>(cast<DeclRefExpr>(*CurPrivate)->getDecl());
1115 // Emit private VarDecl with copy init.
1164 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>((*IC))->getDecl());
1166 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD),
1208 const VarDecl *IVDecl = cast<VarDecl>(cast<DeclRefExpr>(IVExpr)->getDecl());
1216 CGF.EmitVarDecl(*cast<VarDecl>(LIExpr->getDecl()));
1423 auto VDecl = cast<VarDecl>(Helper->getDecl());
1439 const VarDecl *ImpVar = cast<VarDecl>(ImpRef->getDecl());
1463 auto IVDecl = cast<VarDecl>(IVExpr->getDecl());
1470 EmitVarDecl(*cast<VarDecl>(LIExpr->getDecl()));
1908 llvm::DenseSet<const VarDecl *> EmittedAsPrivate;
1915 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
1932 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
1960 llvm::SmallVector<std::pair<const VarDecl *, Address>, 16>
1965 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());
1972 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl());