/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 257 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl() 649 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters() 650 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters() 714 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts() 715 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD)); in computeRegionCounts()
|
D | CGException.cpp | 431 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitStartEHSpec() 510 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitEndEHSpec()
|
D | CGDecl.cpp | 162 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName() 245 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl()
|
D | CGStmt.cpp | 2137 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
|
D | CGStmtOpenMP.cpp | 77 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 32 class CapturedDecl; variable 599 CapturedDecl *TheCapturedDecl; 609 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
|
D | Sema.h | 74 class CapturedDecl; variable 1159 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD, 3391 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
|
/external/clang/include/clang/AST/ |
D | GlobalDecl.h | 44 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
|
D | Decl.h | 3626 class CapturedDecl final 3629 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 3643 explicit CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function 3656 static CapturedDecl *Create(ASTContext &C, DeclContext *DC, 3658 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID, 3704 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() 3705 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext() 3707 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 3708 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
D | Stmt.h | 37 class CapturedDecl; variable 2054 llvm::PointerIntPair<CapturedDecl *, 1, CapturedRegionKind> CapDeclAndKind; 2061 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD); 2081 CapturedDecl *CD, RecordDecl *RD); 2091 CapturedDecl *getCapturedDecl() { return CapDeclAndKind.getPointer(); } in getCapturedDecl() 2092 const CapturedDecl *getCapturedDecl() const { in getCapturedDecl() 2097 void setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
|
D | RecursiveASTVisitor.h | 1226 if (!isa<BlockDecl>(Child) && !isa<CapturedDecl>(Child)) 1260 DEF_TRAVERSE_DECL(CapturedDecl, {
|
/external/clang/lib/AST/ |
D | Decl.cpp | 3884 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3887 CapturedDecl(DC, NumParams); in Create() 3890 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized() 3893 CapturedDecl(nullptr, NumParams); in CreateDeserialized()
|
D | Stmt.cpp | 990 CapturedDecl *CD, in CapturedStmt() 1021 CapturedDecl *CD, in Create()
|
D | DeclBase.cpp | 803 } else if (CapturedDecl *CD = dyn_cast<CapturedDecl>(D)) { in getNonClosureContext()
|
D | MicrosoftMangle.cpp | 61 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(DC)) in getEffectiveDeclContext()
|
D | ItaniumMangle.cpp | 69 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(DC)) in getEffectiveDeclContext()
|
D | Expr.cpp | 664 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 3761 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl() 3780 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl() 3817 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 3821 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 3844 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart() 3848 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() 3916 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
|
D | Sema.cpp | 931 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC)) { in getFunctionLevelDeclContext() 1509 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
|
D | TreeTransform.h | 11568 CapturedDecl *CD = S->getCapturedDecl(); in TransformCapturedStmt()
|
D | SemaDecl.cpp | 4705 while (isa<LinkageSpecDecl>(Cur) || isa<CapturedDecl>(Cur)) in diagnoseQualifiedDeclaration()
|
D | SemaExpr.cpp | 12665 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC) || isLambdaCallOperator(DC)) in getParentOfCapturingContextOrNull()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 110 void VisitCapturedDecl(CapturedDecl *D); 1023 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
|
D | ASTReaderDecl.cpp | 311 void VisitCapturedDecl(CapturedDecl *CD); 1278 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl() 3289 D = CapturedDecl::CreateDeserialized(Context, ID, Record[Idx++]); in ReadDeclRecord()
|
D | ASTReaderStmt.cpp | 407 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx)); in VisitCapturedStmt()
|