Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp420 void VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
849 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in mapRegionCounters()
850 Walker.TraverseDecl(const_cast<CapturedDecl *>(CD)); in mapRegionCounters()
928 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D)) in computeRegionCounts()
929 Walker.VisitCapturedDecl(const_cast<CapturedDecl *>(CD)); in computeRegionCounts()
H A DCGException.cpp469 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitStartEHSpec()
572 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) { in EmitEndEHSpec()
H A DCGDecl.cpp224 if (auto *CD = dyn_cast<CapturedDecl>(DC)) in getStaticDeclName()
301 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) { in getOrCreateStaticVarDecl()
1116 } else if (isa<CapturedDecl>(DC)) { in createUnnamedGlobalFrom()
H A DCGStmtOpenMP.cpp430 const CapturedDecl *CD = FO.S->getCapturedDecl(); in emitOutlinedFunctionPrologue()
608 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateOpenMPCapturedStmtFunction()
4581 QualType Ty, CapturedDecl *CD, in createImplicitFirstprivateForType()
4640 auto *CD = CapturedDecl::Create( in EmitOMPTargetTaskBasedDirective()
H A DCGStmt.cpp2751 const CapturedDecl *CD = S.getCapturedDecl(); in GenerateCapturedStmtFunction()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h45 class CapturedDecl; variable
770 CapturedDecl *TheCapturedDecl;
787 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, in CapturedRegionScopeInfo()
H A DSema.h94 class CapturedDecl; variable
1856 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD,
4775 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h92 if (auto *CD = dyn_cast<CapturedDecl>(D)) { in visitUsedDecl()
H A DSemaStmt.cpp4568 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl()
4587 CD = CapturedDecl::Create(Context, CurContext, NumParams); in CreateCapturedStmtRecordDecl()
4637 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
4641 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4667 CapturedDecl *CD = nullptr; in ActOnCapturedRegionStart()
4671 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4751 CapturedDecl *CD = RSI->TheCapturedDecl; in ActOnCapturedRegionEnd()
H A DSemaLambda.cpp327 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in getCurrentMangleNumberContext()
454 while (auto *CD = dyn_cast<CapturedDecl>(DC)) in handleLambdaNumbering()
H A DSema.cpp1395 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC) || in getFunctionLevelDeclContext()
2517 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1316 CapturedDecl *CD, in CapturedStmt()
1347 CapturedDecl *CD, in Create()
1393 CapturedDecl *CapturedStmt::getCapturedDecl() { in getCapturedDecl()
1397 const CapturedDecl *CapturedStmt::getCapturedDecl() const { in getCapturedDecl()
1402 void CapturedStmt::setCapturedDecl(CapturedDecl *D) { in setCapturedDecl()
H A DDecl.cpp4875 CapturedDecl::CapturedDecl(DeclContext *DC, unsigned NumParams) in CapturedDecl() function in CapturedDecl
4879 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC, in Create()
4882 CapturedDecl(DC, NumParams); in Create()
4885 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
4888 CapturedDecl(nullptr, NumParams); in CreateDeserialized()
4891 Stmt *CapturedDecl::getBody() const { return BodyAndNothrow.getPointer(); } in getBody()
4892 void CapturedDecl::setBody(Stmt *B) { BodyAndNothrow.setPointer(B); } in setBody()
4894 bool CapturedDecl::isNothrow() const { return BodyAndNothrow.getInt(); } in isNothrow()
4895 void CapturedDecl::setNothrow(bool Nothrow) { BodyAndNothrow.setInt(Nothrow); } in setNothrow()
H A DDeclBase.cpp1040 if (auto *CD = dyn_cast<CapturedDecl>(D)) in getNonClosureContext()
H A DTextNodeDumper.cpp1779 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
H A DExpr.cpp826 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) { in ComputeName()
H A DMicrosoftMangle.cpp102 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) || in getEffectiveDeclContext()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h4329 class CapturedDecl final
4332 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> {
4348 explicit CapturedDecl(DeclContext *DC, unsigned NumParams);
4363 static CapturedDecl *Create(ASTContext &C, DeclContext *DC,
4365 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID,
4416 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext()
4417 return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D)); in castToDeclContext()
4419 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4420 return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
H A DGlobalDecl.h84 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
H A DStmt.h48 class CapturedDecl; variable
3537 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind;
3544 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD);
3566 CapturedDecl *CD, RecordDecl *RD);
3576 CapturedDecl *getCapturedDecl();
3577 const CapturedDecl *getCapturedDecl() const;
3580 void setCapturedDecl(CapturedDecl *D);
H A DTextNodeDumper.h334 void VisitCapturedDecl(const CapturedDecl *D);
H A DASTNodeTraverser.h475 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl()
H A DRecursiveASTVisitor.h1380 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child))
1436 DEF_TRAVERSE_DECL(CapturedDecl, {
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp130 void VisitCapturedDecl(CapturedDecl *D);
1203 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
H A DASTReaderDecl.cpp406 void VisitCapturedDecl(CapturedDecl *CD);
1572 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) { in VisitCapturedDecl()
4045 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()

12