Home
last modified time | relevance | path

Searched refs:CapturedDecl (Results 1 – 25 of 25) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenPGO.cpp257 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()
DCGException.cpp431 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()
DCGDecl.cpp162 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName()
245 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl()
DCGStmt.cpp2137 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
DCGStmtOpenMP.cpp77 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction()
/external/clang/include/clang/Sema/
DScopeInfo.h32 class CapturedDecl; variable
599 CapturedDecl *TheCapturedDecl;
609 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
DSema.h74 class CapturedDecl; variable
1159 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD,
3391 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
/external/clang/include/clang/AST/
DGlobalDecl.h44 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
DDecl.h3626 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()
DStmt.h37 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()
DRecursiveASTVisitor.h1226 if (!isa<BlockDecl>(Child) && !isa<CapturedDecl>(Child))
1260 DEF_TRAVERSE_DECL(CapturedDecl, {
/external/clang/lib/AST/
DDecl.cpp3884 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()
DStmt.cpp990 CapturedDecl *CD, in CapturedStmt()
1021 CapturedDecl *CD, in Create()
DDeclBase.cpp803 } else if (CapturedDecl *CD = dyn_cast<CapturedDecl>(D)) { in getNonClosureContext()
DMicrosoftMangle.cpp61 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(DC)) in getEffectiveDeclContext()
DItaniumMangle.cpp69 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(DC)) in getEffectiveDeclContext()
DExpr.cpp664 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
/external/clang/lib/Sema/
DSemaStmt.cpp3761 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()
DSema.cpp931 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC)) { in getFunctionLevelDeclContext()
1509 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
DTreeTransform.h11568 CapturedDecl *CD = S->getCapturedDecl(); in TransformCapturedStmt()
DSemaDecl.cpp4705 while (isa<LinkageSpecDecl>(Cur) || isa<CapturedDecl>(Cur)) in diagnoseQualifiedDeclaration()
DSemaExpr.cpp12665 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC) || isLambdaCallOperator(DC)) in getParentOfCapturingContextOrNull()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp110 void VisitCapturedDecl(CapturedDecl *D);
1023 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
DASTReaderDecl.cpp311 void VisitCapturedDecl(CapturedDecl *CD);
1278 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
3289 D = CapturedDecl::CreateDeserialized(Context, ID, Record[Idx++]); in ReadDeclRecord()
DASTReaderStmt.cpp407 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx)); in VisitCapturedStmt()