Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenPGO.cpp402 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 DCGException.cpp454 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 DCGDecl.cpp196 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 DCGStmtOpenMP.cpp370 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 DCGStmt.cpp2296 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
H A DCGOpenMPRuntime.cpp4668 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 DScopeInfo.h44 class CapturedDecl; variable
740 CapturedDecl *TheCapturedDecl;
756 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
H A DSema.h82 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 DGlobalDecl.h54 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
H A DDecl.h4044 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 DStmt.h47 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 DRecursiveASTVisitor.h1373 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child))
1424 DEF_TRAVERSE_DECL(CapturedDecl, {
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmt.cpp1192 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 DDecl.cpp4450 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 DASTDumper.cpp232 void VisitCapturedDecl(const CapturedDecl *D);
739 void ASTDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
H A DDeclBase.cpp993 else if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
H A DExpr.cpp725 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
H A DMicrosoftMangle.cpp100 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC)) { in getEffectiveDeclContext()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp4208 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 DSema.cpp1188 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 DSemaLambda.cpp334 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext()
H A DSemaExprCXX.cpp7416 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 DASTReaderDecl.cpp406 void VisitCapturedDecl(CapturedDecl *CD);
1499 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
3835 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
H A DASTWriterDecl.cpp125 void VisitCapturedDecl(CapturedDecl *D);
1130 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
H A DASTReaderStmt.cpp491 S->setCapturedDecl(ReadDeclAs<CapturedDecl>()); in VisitCapturedStmt()

12