Home
last modified time | relevance | path

Searched refs:CoroutineBodyStmt (Results 1 – 23 of 23) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtCXX.cpp87 CoroutineBodyStmt *CoroutineBodyStmt::Create( in Create()
92 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create()
93 return new (Mem) CoroutineBodyStmt(Args); in Create()
96 CoroutineBodyStmt *CoroutineBodyStmt::Create(const ASTContext &C, EmptyShell, in Create()
99 CoroutineBodyStmt::FirstParamMove + NumParams); in Create()
102 auto *Result = new (Mem) CoroutineBodyStmt(CtorArgs()); in Create()
110 CoroutineBodyStmt::CoroutineBodyStmt(CoroutineBodyStmt::CtorArgs const &Args) in CoroutineBodyStmt() function in CoroutineBodyStmt
113 SubStmts[CoroutineBodyStmt::Body] = Args.Body; in CoroutineBodyStmt()
114 SubStmts[CoroutineBodyStmt::Promise] = Args.Promise; in CoroutineBodyStmt()
119 SubStmts[CoroutineBodyStmt::Allocate] = Args.Allocate; in CoroutineBodyStmt()
[all …]
H A DExprCXX.cpp1285 if (const auto *CoroBody = dyn_cast<CoroutineBodyStmt>(Body)) in getCompoundStmtBody()
H A DStmtProfile.cpp2257 void StmtProfiler::VisitCoroutineBodyStmt(const CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
H A DStmtPrinter.cpp2559 void StmtPrinter::VisitCoroutineBodyStmt(CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h318 class CoroutineBodyStmt final
320 private llvm::TrailingObjects<CoroutineBodyStmt, Stmt *> {
366 CoroutineBodyStmt(CtorArgs const& Args);
369 static CoroutineBodyStmt *Create(const ASTContext &C, CtorArgs const &Args);
370 static CoroutineBodyStmt *Create(const ASTContext &C, EmptyShell,
H A DRecursiveASTVisitor.h2874 DEF_TRAVERSE_STMT(CoroutineBodyStmt, {
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DCoroutineStmtBuilder.h24 class CoroutineStmtBuilder : public CoroutineBodyStmt::CtorArgs {
H A DSemaCoroutine.cpp1194 if (isa<CoroutineBodyStmt>(Body)) { in CheckCompletedCoroutineBody()
1232 Body = CoroutineBodyStmt::Create(Context, Builder); in CheckCompletedCoroutineBody()
2007 StmtResult Sema::BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) { in BuildCoroutineBodyStmt()
2008 CoroutineBodyStmt *Res = CoroutineBodyStmt::Create(Context, Args); in BuildCoroutineBodyStmt()
H A DSemaLambda.cpp2181 !isa<CoroutineBodyStmt>(CallOperator->getBody()) && in BuildLambdaExpr()
H A DAnalysisBasedWarnings.cpp676 if (const auto *CBody = dyn_cast<CoroutineBodyStmt>(Body)) in CheckFallThroughForBody()
H A DTreeTransform.h1581 StmtResult RebuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) { in RebuildCoroutineBodyStmt()
8097 TreeTransform<Derived>::TransformCoroutineBodyStmt(CoroutineBodyStmt *S) { in TransformCoroutineBodyStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp516 const CoroutineBodyStmt &S;
523 GetReturnObjectManager(CodeGenFunction &CGF, const CoroutineBodyStmt &S) in GetReturnObjectManager()
635 const CoroutineBodyStmt &S, Stmt *Body) { in emitBodyAndFallthrough()
643 void CodeGenFunction::EmitCoroutineBody(const CoroutineBodyStmt &S) { in EmitCoroutineBody()
H A DCodeGenFunction.cpp1426 if (isa<CoroutineBodyStmt>(Body)) in GenerateCode()
1439 if (Body && isa_and_nonnull<CoroutineBodyStmt>(Body)) in GenerateCode()
H A DCoverageMappingGen.cpp1435 void VisitCoroutineBodyStmt(const CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
H A DCGStmt.cpp162 EmitCoroutineBody(cast<CoroutineBodyStmt>(*S)); in EmitStmt()
H A DCodeGenFunction.h3350 void EmitCoroutineBody(const CoroutineBodyStmt &S);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td54 def CoroutineBodyStmt : StmtNode<Stmt>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp97 if (auto *CoroBody = dyn_cast_or_null<CoroutineBodyStmt>(Body)) in getBody()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp919 const internal::VariadicDynCastAllOfMatcher<Stmt, CoroutineBodyStmt>
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp463 void ASTStmtReader::VisitCoroutineBodyStmt(CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
469 i < CoroutineBodyStmt::SubStmt::FirstParamMove + S->NumParams; ++i) in VisitCoroutineBodyStmt()
4167 S = CoroutineBodyStmt::Create(Context, Empty, NumParams); in ReadStmtFromStream()
H A DASTWriterStmt.cpp425 void ASTStmtWriter::VisitCoroutineBodyStmt(CoroutineBodyStmt *CoroStmt) { in VisitCoroutineBodyStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2523 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CoroutineBodyStmt>
5728 FunctionDecl, CoroutineBodyStmt), in AST_POLYMORPHIC_MATCHER_P() argument
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h118 class CoroutineBodyStmt; variable
11249 StmtResult BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs);