| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 45 class CapturedDecl; variable 819 CapturedDecl *TheCapturedDecl; 836 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
|
| /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() 1175 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts() 1176 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 | 238 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName() 317 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl() 1138 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
|
| H A D | CGStmtOpenMP.cpp | 490 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue() 673 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction() 5242 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType() 5312 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1993 } else if (const auto *CD = dyn_cast<CapturedDecl>(D)) { in emitFunctionProlog()
|
| H A D | CGStmt.cpp | 3331 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
|
| /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 | 4531 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl() 4551 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl() 4620 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4624 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4654 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4658 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4738 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
|
| H A D | SemaLambda.cpp | 354 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext() 495 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in handleLambdaNumbering()
|
| H A D | Sema.cpp | 1630 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC) || in getFunctionLevelDeclContext() 2872 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 1369 CapturedDecl *CD, in CapturedStmt() 1405 CapturedDecl *CD, in Create() 1451 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl() 1455 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl() 1460 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
|
| H A D | Decl.cpp | 5565 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl 5569 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5572 CapturedDecl(DC, NumParams); in Create() 5575 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID, in CreateDeserialized() 5578 CapturedDecl(nullptr, NumParams); in CreateDeserialized() 5581 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody() 5582 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody() 5584 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow() 5585 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
|
| H A D | DeclBase.cpp | 1265 if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
|
| H A D | Expr.cpp | 907 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
|
| H A D | TextNodeDumper.cpp | 2444 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | GlobalDecl.h | 86 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
|
| H A D | Decl.h | 4849 class CapturedDecl final 4852 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 4868 explicit CapturedDecl(DeclContext *DC, unsigned NumParams); 4879 static CapturedDecl *Create(ASTContext &C, DeclContext *DC, 4881 static CapturedDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID, 4932 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() 4933 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext() 4935 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 4936 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
| H A D | Stmt.h | 58 class CapturedDecl; variable 3924 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind; 3931 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD); 3953 CapturedDecl *CD, RecordDecl *RD); 3963 CapturedDecl *getCapturedDecl(); 3964 const CapturedDecl *getCapturedDecl() const; 3967 void setCapturedDecl(CapturedDecl *D);
|
| H A D | TextNodeDumper.h | 365 void VisitCapturedDecl(const CapturedDecl *D);
|
| H A D | ASTNodeTraverser.h | 619 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
|
| H A D | RecursiveASTVisitor.h | 1543 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child)) 1604 DEF_TRAVERSE_DECL(CapturedDecl, {
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenDecl.cpp | 247 if (auto *cd = dyn_cast<CapturedDecl>(dc)) in getStaticDeclName() 322 if (isa<BlockDecl>(dc) || isa<CapturedDecl>(dc)) { in getOrCreateStaticVarDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 410 void VisitCapturedDecl(CapturedDecl *CD); 1816 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl() 4156 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 149 void VisitCapturedDecl(CapturedDecl *D); 1504 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
|