Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCodeGenPGO.cpp262 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
655 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters()
656 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters()
722 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts()
723 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.cpp171 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName()
254 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl()
DCGStmt.cpp2202 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
DCGStmtOpenMP.cpp202 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction()
/external/clang/include/clang/Sema/
DScopeInfo.h33 class CapturedDecl; variable
627 CapturedDecl *TheCapturedDecl;
638 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
DSema.h76 class CapturedDecl; variable
1179 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD,
3476 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
/external/clang/include/clang/AST/
DGlobalDecl.h45 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
DDecl.h3625 class CapturedDecl final
3628 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> {
3642 explicit CapturedDecl(DeclContext *DC, unsigned NumParams);
3653 static CapturedDecl *Create(ASTContext &C, DeclContext *DC,
3655 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID,
3706 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext()
3707 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext()
3709 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
3710 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
DStmt.h37 class CapturedDecl; variable
2073 llvm::PointerIntPair<CapturedDecl *, 1, CapturedRegionKind> CapDeclAndKind;
2080 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD);
2100 CapturedDecl *CD, RecordDecl *RD);
2110 CapturedDecl *getCapturedDecl();
2111 const CapturedDecl *getCapturedDecl() const;
2114 void setCapturedDecl(CapturedDecl *D);
DRecursiveASTVisitor.h1303 if (!isa<BlockDecl>(Child) && !isa<CapturedDecl>(Child))
1340 DEF_TRAVERSE_DECL(CapturedDecl, {
/external/clang/lib/AST/
DStmt.cpp1011 CapturedDecl *CD, in CapturedStmt()
1042 CapturedDecl *CD, in Create()
1084 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl()
1087 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl()
1092 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
DDecl.cpp4057 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl
4061 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create()
4064 CapturedDecl(DC, NumParams); in Create()
4067 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
4070 CapturedDecl(nullptr, NumParams); in CreateDeserialized()
4073 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody()
4074 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody()
4076 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow()
4077 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
DDeclBase.cpp846 } else if (CapturedDecl *CD = dyn_cast<CapturedDecl>(D)) { in getNonClosureContext()
DASTDumper.cpp435 void VisitCapturedDecl(const CapturedDecl *D);
1248 void ASTDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
DExpr.cpp653 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
DMicrosoftMangle.cpp93 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) { in getEffectiveDeclContext()
DItaniumMangle.cpp70 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) { in getEffectiveDeclContext()
/external/clang/lib/Sema/
DSemaStmt.cpp3829 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl()
3848 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl()
3885 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
3889 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
3912 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
3916 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
3984 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
DSema.cpp924 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC)) { in getFunctionLevelDeclContext()
1502 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
DTreeTransform.h11914 CapturedDecl *CD = S->getCapturedDecl(); in TransformCapturedStmt()
DSemaDecl.cpp4838 while (isa<LinkageSpecDecl>(Cur) || isa<CapturedDecl>(Cur)) in diagnoseQualifiedDeclaration()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp119 void VisitCapturedDecl(CapturedDecl *D);
1048 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
DASTReaderDecl.cpp336 void VisitCapturedDecl(CapturedDecl *CD);
1335 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
3407 D = CapturedDecl::CreateDeserialized(Context, ID, Record[Idx++]); in ReadDeclRecord()
DASTReaderStmt.cpp411 S->setCapturedDecl(ReadDeclAs<CapturedDecl>(Record, Idx)); in VisitCapturedStmt()

12