Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp548 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
1003 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters()
1004 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters()
1085 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts()
1086 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.cpp228 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName()
306 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl()
1144 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
H A DCGStmtOpenMP.cpp432 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue()
615 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction()
4985 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType()
5055 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
H A DCGStmt.cpp2972 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h45 class CapturedDecl; variable
796 CapturedDecl *TheCapturedDecl;
813 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h110 if (auto *CD = dyn_cast<CapturedDecl>(D)) { in visitUsedDecl()
H A DSemaStmt.cpp4697 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl()
4717 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl()
4767 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
4771 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4798 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
4802 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4882 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
H A DSemaLambda.cpp331 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext()
432 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in handleLambdaNumbering()
H A DSema.cpp1485 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC) || in getFunctionLevelDeclContext()
2713 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
H A DSemaExprCXX.cpp8329 while (DC && isa<CapturedDecl>(DC)) in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
8919 while (DC && isa<CapturedDecl>(DC)) in ActOnFinishFullExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h85 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
H A DDecl.h4636 class CapturedDecl final
4639 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> {
4655 explicit CapturedDecl(DeclContext *DC, unsigned NumParams);
4670 static CapturedDecl *Create(ASTContext &C, DeclContext *DC,
4672 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID,
4723 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext()
4724 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext()
4726 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4727 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DStmt.h57 class CapturedDecl; variable
3824 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind;
3831 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD);
3853 CapturedDecl *CD, RecordDecl *RD);
3863 CapturedDecl *getCapturedDecl();
3864 const CapturedDecl *getCapturedDecl() const;
3867 void setCapturedDecl(CapturedDecl *D);
H A DTextNodeDumper.h350 void VisitCapturedDecl(const CapturedDecl *D);
H A DASTNodeTraverser.h492 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
H A DRecursiveASTVisitor.h1465 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child))
1521 DEF_TRAVERSE_DECL(CapturedDecl, {
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1324 CapturedDecl *CD, in CapturedStmt()
1360 CapturedDecl *CD, in Create()
1406 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl()
1410 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl()
1415 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
H A DDecl.cpp5354 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl
5358 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5361 CapturedDecl(DC, NumParams); in Create()
5364 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
5367 CapturedDecl(nullptr, NumParams); in CreateDeserialized()
5370 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody()
5371 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody()
5373 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow()
5374 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
H A DDeclBase.cpp1169 if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
H A DTextNodeDumper.cpp2034 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
H A DExpr.cpp880 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
H A DMicrosoftMangle.cpp118 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp423 void VisitCapturedDecl(CapturedDecl *CD);
1804 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
4052 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
H A DASTWriterDecl.cpp133 void VisitCapturedDecl(CapturedDecl *D);
1292 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()

12