Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp637 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
1097 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters()
1098 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters()
1177 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts()
1178 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD)); in computeRegionCounts()
H A DCGException.cpp480 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitStartEHSpec()
587 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitEndEHSpec()
H A DCGDecl.cpp231 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName()
310 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl()
1146 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
H A DCGStmtOpenMP.cpp460 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue()
643 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction()
5042 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType()
5112 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
H A DCGOpenMPRuntimeGPU.cpp1994 } else if (const auto *CD = dyn_cast<CapturedDecl>(D)) { in emitFunctionProlog()
H A DCGStmt.cpp3150 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h45 class CapturedDecl; variable
813 CapturedDecl *TheCapturedDecl;
830 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
H A DSema.h98 class CapturedDecl; variable
728 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD,
10930 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h110 if (auto *CD = dyn_cast<CapturedDecl>(D)) { in visitUsedDecl()
H A DSemaStmt.cpp4399 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl()
4419 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl()
4470 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
4474 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4501 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
4505 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4585 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
H A DSemaLambda.cpp334 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext()
474 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in handleLambdaNumbering()
H A DSema.cpp1531 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC) || in getFunctionLevelDeclContext()
2704 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1325 CapturedDecl *CD, in CapturedStmt()
1361 CapturedDecl *CD, in Create()
1407 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl()
1411 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl()
1416 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
H A DDecl.cpp5416 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl
5420 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5423 CapturedDecl(DC, NumParams); in Create()
5426 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID, in CreateDeserialized()
5429 CapturedDecl(nullptr, NumParams); in CreateDeserialized()
5432 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody()
5433 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody()
5435 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow()
5436 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
H A DDeclBase.cpp1233 if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
H A DExpr.cpp910 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
H A DTextNodeDumper.cpp2285 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h85 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
H A DDecl.h4663 class CapturedDecl final
4666 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> {
4682 explicit CapturedDecl(DeclContext *DC, unsigned NumParams);
4697 static CapturedDecl *Create(ASTContext &C, DeclContext *DC,
4699 static CapturedDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID,
4750 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext()
4751 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext()
4753 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4754 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DStmt.h57 class CapturedDecl; variable
3831 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind;
3838 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD);
3860 CapturedDecl *CD, RecordDecl *RD);
3870 CapturedDecl *getCapturedDecl();
3871 const CapturedDecl *getCapturedDecl() const;
3874 void setCapturedDecl(CapturedDecl *D);
H A DTextNodeDumper.h364 void VisitCapturedDecl(const CapturedDecl *D);
H A DASTNodeTraverser.h583 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
H A DRecursiveASTVisitor.h1520 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child))
1576 DEF_TRAVERSE_DECL(CapturedDecl, {
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp418 void VisitCapturedDecl(CapturedDecl *CD);
1796 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
4076 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
H A DASTWriterDecl.cpp136 void VisitCapturedDecl(CapturedDecl *D);
1330 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()

12