| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 402 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl() 812 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters() 813 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters() 879 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts() 880 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD)); in computeRegionCounts()
|
| H A D | CGException.cpp | 454 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitStartEHSpec() 531 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitEndEHSpec()
|
| H A D | CGDecl.cpp | 196 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName() 273 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl() 1066 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
|
| H A D | CGStmtOpenMP.cpp | 370 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue() 554 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction() 3041 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType() 3099 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
|
| H A D | CGStmt.cpp | 2296 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
|
| H A D | CGOpenMPRuntime.cpp | 4668 isa<CapturedDecl>(OriginalVD->getDeclContext()) && in emitPrivatesInit() 4669 cast<CapturedDecl>(OriginalVD->getDeclContext()) in emitPrivatesInit() 4672 cast<CapturedDecl>(OriginalVD->getDeclContext()) in emitPrivatesInit()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 44 class CapturedDecl; variable 740 CapturedDecl *TheCapturedDecl; 756 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
|
| H A D | Sema.h | 82 class CapturedDecl; variable 1350 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD, 3840 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | GlobalDecl.h | 54 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
|
| H A D | Decl.h | 4044 class CapturedDecl final 4047 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 4063 explicit CapturedDecl(DeclContext *DC, unsigned NumParams); 4078 static CapturedDecl *Create(ASTContext &C, DeclContext *DC, 4080 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID, 4131 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() 4132 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext() 4134 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 4135 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
| H A D | Stmt.h | 47 class CapturedDecl; variable 3171 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind; 3178 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD); 3200 CapturedDecl *CD, RecordDecl *RD); 3210 CapturedDecl *getCapturedDecl(); 3211 const CapturedDecl *getCapturedDecl() const; 3214 void setCapturedDecl(CapturedDecl *D);
|
| H A D | RecursiveASTVisitor.h | 1373 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child)) 1424 DEF_TRAVERSE_DECL(CapturedDecl, {
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Stmt.cpp | 1192 CapturedDecl *CD, in CapturedStmt() 1223 CapturedDecl *CD, in Create() 1265 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl() 1269 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl() 1274 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
|
| H A D | Decl.cpp | 4450 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl 4454 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create() 4457 CapturedDecl(DC, NumParams); in Create() 4460 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized() 4463 CapturedDecl(nullptr, NumParams); in CreateDeserialized() 4466 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody() 4467 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody() 4469 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow() 4470 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
|
| H A D | ASTDumper.cpp | 232 void VisitCapturedDecl(const CapturedDecl *D); 739 void ASTDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
|
| H A D | DeclBase.cpp | 993 else if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
|
| H A D | Expr.cpp | 725 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
|
| H A D | MicrosoftMangle.cpp | 100 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) { in getEffectiveDeclContext()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 4208 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl() 4227 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl() 4261 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4265 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4290 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 4294 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 4368 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
|
| H A D | Sema.cpp | 1188 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC)) { in getFunctionLevelDeclContext() 1872 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
|
| H A D | SemaLambda.cpp | 334 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext()
|
| H A D | SemaExprCXX.cpp | 7416 while (DC && isa<CapturedDecl>(DC)) in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() 7873 while (DC && isa<CapturedDecl>(DC)) in ActOnFinishFullExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 406 void VisitCapturedDecl(CapturedDecl *CD); 1499 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl() 3835 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 125 void VisitCapturedDecl(CapturedDecl *D); 1130 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
|
| H A D | ASTReaderStmt.cpp | 491 S->setCapturedDecl(ReadDeclAs<CapturedDecl>()); in VisitCapturedStmt()
|