/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 637 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl() 1097 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters() 1098 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters() 1177 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts() 1178 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD)); in computeRegionCounts()
|
H A D | CGException.cpp | 480 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitStartEHSpec() 587 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitEndEHSpec()
|
H A D | CGDecl.cpp | 231 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName() 310 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl() 1146 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
|
H A D | CGStmtOpenMP.cpp | 460 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue() 643 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction() 5042 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType() 5112 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
|
H A D | CGOpenMPRuntimeGPU.cpp | 1994 } else if (const auto *CD = dyn_cast<CapturedDecl>(D)) { in emitFunctionProlog()
|
H A D | CGStmt.cpp | 3150 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 45 class CapturedDecl; variable 813 CapturedDecl *TheCapturedDecl; 830 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
|
H A D | Sema.h | 98 class CapturedDecl; variable 728 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD, 10930 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | UsedDeclVisitor.h | 110 if (auto *CD = dyn_cast<CapturedDecl>(D)) { in visitUsedDecl()
|
H A D | SemaStmt.cpp | 4399 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl() 4419 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl() 4470 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4474 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4501 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4505 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4585 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
|
H A D | SemaLambda.cpp | 334 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext() 474 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in handleLambdaNumbering()
|
H A D | Sema.cpp | 1531 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC) || in getFunctionLevelDeclContext() 2704 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 1325 CapturedDecl *CD, in CapturedStmt() 1361 CapturedDecl *CD, in Create() 1407 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl() 1411 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl() 1416 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
|
H A D | Decl.cpp | 5416 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl 5420 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5423 CapturedDecl(DC, NumParams); in Create() 5426 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID, in CreateDeserialized() 5429 CapturedDecl(nullptr, NumParams); in CreateDeserialized() 5432 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody() 5433 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody() 5435 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow() 5436 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
|
H A D | DeclBase.cpp | 1233 if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
|
H A D | Expr.cpp | 910 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
|
H A D | TextNodeDumper.cpp | 2285 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | GlobalDecl.h | 85 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
|
H A D | Decl.h | 4663 class CapturedDecl final 4666 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 4682 explicit CapturedDecl(DeclContext *DC, unsigned NumParams); 4697 static CapturedDecl *Create(ASTContext &C, DeclContext *DC, 4699 static CapturedDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID, 4750 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() 4751 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext() 4753 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 4754 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
H A D | Stmt.h | 57 class CapturedDecl; variable 3831 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind; 3838 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD); 3860 CapturedDecl *CD, RecordDecl *RD); 3870 CapturedDecl *getCapturedDecl(); 3871 const CapturedDecl *getCapturedDecl() const; 3874 void setCapturedDecl(CapturedDecl *D);
|
H A D | TextNodeDumper.h | 364 void VisitCapturedDecl(const CapturedDecl *D);
|
H A D | ASTNodeTraverser.h | 583 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
|
H A D | RecursiveASTVisitor.h | 1520 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child)) 1576 DEF_TRAVERSE_DECL(CapturedDecl, {
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 418 void VisitCapturedDecl(CapturedDecl *CD); 1796 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl() 4076 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
|
H A D | ASTWriterDecl.cpp | 136 void VisitCapturedDecl(CapturedDecl *D); 1330 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
|