Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h45 class CapturedDecl; variable
819 CapturedDecl *TheCapturedDecl;
836 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
/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()
1175 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts()
1176 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.cpp238 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName()
317 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl()
1138 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
H A DCGStmtOpenMP.cpp490 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue()
673 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction()
5242 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType()
5312 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
H A DCGOpenMPRuntimeGPU.cpp1993 } else if (const auto *CD = dyn_cast<CapturedDecl>(D)) { in emitFunctionProlog()
H A DCGStmt.cpp3331 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h110 if (auto *CD = dyn_cast<CapturedDecl>(D)) { in visitUsedDecl()
H A DSemaStmt.cpp4531 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl()
4551 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl()
4620 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
4624 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4654 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
4658 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4738 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
H A DSemaLambda.cpp354 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext()
495 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in handleLambdaNumbering()
H A DSema.cpp1630 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC) || in getFunctionLevelDeclContext()
2872 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1369 CapturedDecl *CD, in CapturedStmt()
1405 CapturedDecl *CD, in Create()
1451 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl()
1455 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl()
1460 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
H A DDecl.cpp5565 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl
5569 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5572 CapturedDecl(DC, NumParams); in Create()
5575 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID, in CreateDeserialized()
5578 CapturedDecl(nullptr, NumParams); in CreateDeserialized()
5581 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody()
5582 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody()
5584 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow()
5585 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
H A DDeclBase.cpp1265 if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
H A DExpr.cpp907 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
H A DTextNodeDumper.cpp2444 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h86 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
H A DDecl.h4849 class CapturedDecl final
4852 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> {
4868 explicit CapturedDecl(DeclContext *DC, unsigned NumParams);
4879 static CapturedDecl *Create(ASTContext &C, DeclContext *DC,
4881 static CapturedDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID,
4932 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext()
4933 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext()
4935 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4936 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DStmt.h58 class CapturedDecl; variable
3924 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind;
3931 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD);
3953 CapturedDecl *CD, RecordDecl *RD);
3963 CapturedDecl *getCapturedDecl();
3964 const CapturedDecl *getCapturedDecl() const;
3967 void setCapturedDecl(CapturedDecl *D);
H A DTextNodeDumper.h365 void VisitCapturedDecl(const CapturedDecl *D);
H A DASTNodeTraverser.h619 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
H A DRecursiveASTVisitor.h1543 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child))
1604 DEF_TRAVERSE_DECL(CapturedDecl, {
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp247 if (auto *cd = dyn_cast<CapturedDecl>(dc)) in getStaticDeclName()
322 if (isa<BlockDecl>(dc) || isa<CapturedDecl>(dc)) { in getOrCreateStaticVarDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp410 void VisitCapturedDecl(CapturedDecl *CD);
1816 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
4156 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
H A DASTWriterDecl.cpp149 void VisitCapturedDecl(CapturedDecl *D);
1504 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()

12