| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 548 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl() 1003 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters() 1004 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters() 1085 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts() 1086 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 | 228 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName() 306 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl() 1144 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
|
| H A D | CGStmtOpenMP.cpp | 432 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue() 615 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction() 4985 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType() 5055 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
|
| H A D | CGStmt.cpp | 2972 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 45 class CapturedDecl; variable 796 CapturedDecl *TheCapturedDecl; 813 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
|
| /freebsd-14.2/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 | 4697 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl() 4717 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl() 4767 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4771 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4798 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4802 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4882 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
|
| H A D | SemaLambda.cpp | 331 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext() 432 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in handleLambdaNumbering()
|
| H A D | Sema.cpp | 1485 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC) || in getFunctionLevelDeclContext() 2713 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
|
| H A D | SemaExprCXX.cpp | 8329 while (DC && isa<CapturedDecl>(DC)) in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() 8919 while (DC && isa<CapturedDecl>(DC)) in ActOnFinishFullExpr()
|
| /freebsd-14.2/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 | 4636 class CapturedDecl final 4639 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 4655 explicit CapturedDecl(DeclContext *DC, unsigned NumParams); 4670 static CapturedDecl *Create(ASTContext &C, DeclContext *DC, 4672 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID, 4723 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() 4724 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext() 4726 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 4727 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
| H A D | Stmt.h | 57 class CapturedDecl; variable 3824 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind; 3831 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD); 3853 CapturedDecl *CD, RecordDecl *RD); 3863 CapturedDecl *getCapturedDecl(); 3864 const CapturedDecl *getCapturedDecl() const; 3867 void setCapturedDecl(CapturedDecl *D);
|
| H A D | TextNodeDumper.h | 350 void VisitCapturedDecl(const CapturedDecl *D);
|
| H A D | ASTNodeTraverser.h | 492 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
|
| H A D | RecursiveASTVisitor.h | 1465 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child)) 1521 DEF_TRAVERSE_DECL(CapturedDecl, {
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 1324 CapturedDecl *CD, in CapturedStmt() 1360 CapturedDecl *CD, in Create() 1406 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl() 1410 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl() 1415 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
|
| H A D | Decl.cpp | 5354 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl 5358 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5361 CapturedDecl(DC, NumParams); in Create() 5364 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized() 5367 CapturedDecl(nullptr, NumParams); in CreateDeserialized() 5370 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody() 5371 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody() 5373 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow() 5374 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
|
| H A D | DeclBase.cpp | 1169 if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
|
| H A D | TextNodeDumper.cpp | 2034 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
|
| H A D | Expr.cpp | 880 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
|
| H A D | MicrosoftMangle.cpp | 118 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 423 void VisitCapturedDecl(CapturedDecl *CD); 1804 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl() 4052 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 133 void VisitCapturedDecl(CapturedDecl *D); 1292 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
|