Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DStmtCXX.cpp86 CoroutineBodyStmt *CoroutineBodyStmt::Create( in Create()
91 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create()
92 return new (Mem) CoroutineBodyStmt(Args); in Create()
95 CoroutineBodyStmt *CoroutineBodyStmt::Create(const ASTContext &C, EmptyShell, in Create()
98 CoroutineBodyStmt::FirstParamMove + NumParams); in Create()
101 auto *Result = new (Mem) CoroutineBodyStmt(CtorArgs()); in Create()
109 CoroutineBodyStmt::CoroutineBodyStmt(CoroutineBodyStmt::CtorArgs const &Args) in CoroutineBodyStmt() function in CoroutineBodyStmt
112 SubStmts[CoroutineBodyStmt::Body] = Args.Body; in CoroutineBodyStmt()
113 SubStmts[CoroutineBodyStmt::Promise] = Args.Promise; in CoroutineBodyStmt()
118 SubStmts[CoroutineBodyStmt::Allocate] = Args.Allocate; in CoroutineBodyStmt()
[all …]
H A DExprCXX.cpp1208 if (const auto *CoroBody = dyn_cast<CoroutineBodyStmt>(Body)) in getCompoundStmtBody()
H A DStmtProfile.cpp2184 void StmtProfiler::VisitCoroutineBodyStmt(const CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
H A DStmtPrinter.cpp2526 void StmtPrinter::VisitCoroutineBodyStmt(CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtCXX.h317 class CoroutineBodyStmt final
319 private llvm::TrailingObjects<CoroutineBodyStmt, Stmt *> {
363 CoroutineBodyStmt(CtorArgs const& Args);
366 static CoroutineBodyStmt *Create(const ASTContext &C, CtorArgs const &Args);
367 static CoroutineBodyStmt *Create(const ASTContext &C, EmptyShell,
H A DRecursiveASTVisitor.h2869 DEF_TRAVERSE_STMT(CoroutineBodyStmt, {
/llvm-project-15.0.7/clang/lib/Sema/
H A DCoroutineStmtBuilder.h24 class CoroutineStmtBuilder : public CoroutineBodyStmt::CtorArgs {
H A DSemaCoroutine.cpp1084 if (isa<CoroutineBodyStmt>(Body)) { in CheckCompletedCoroutineBody()
1111 Body = CoroutineBodyStmt::Create(Context, Builder); in CheckCompletedCoroutineBody()
1710 StmtResult Sema::BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) { in BuildCoroutineBodyStmt()
1711 CoroutineBodyStmt *Res = CoroutineBodyStmt::Create(Context, Args); in BuildCoroutineBodyStmt()
H A DSemaLambda.cpp1920 !isa<CoroutineBodyStmt>(CallOperator->getBody()) && in BuildLambdaExpr()
H A DAnalysisBasedWarnings.cpp648 if (const auto *CBody = dyn_cast<CoroutineBodyStmt>(Body)) in CheckFallThroughForBody()
H A DTreeTransform.h1515 StmtResult RebuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) { in RebuildCoroutineBodyStmt()
7836 TreeTransform<Derived>::TransformCoroutineBodyStmt(CoroutineBodyStmt *S) { in TransformCoroutineBodyStmt()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCoroutine.cpp469 const CoroutineBodyStmt &S, Stmt *Body) { in emitBodyAndFallthrough()
477 void CodeGenFunction::EmitCoroutineBody(const CoroutineBodyStmt &S) { in EmitCoroutineBody()
H A DCodeGenFunction.cpp1395 if (isa<CoroutineBodyStmt>(Body)) in GenerateCode()
1408 if (Body && isa_and_nonnull<CoroutineBodyStmt>(Body)) in GenerateCode()
H A DCoverageMappingGen.cpp1024 void VisitCoroutineBodyStmt(const CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
H A DCGStmt.cpp159 EmitCoroutineBody(cast<CoroutineBodyStmt>(*S)); in EmitStmt()
H A DCodeGenFunction.h3263 void EmitCoroutineBody(const CoroutineBodyStmt &S);
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DStmtNodes.td54 def CoroutineBodyStmt : StmtNode<Stmt>;
/llvm-project-15.0.7/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp97 if (auto *CoroBody = dyn_cast_or_null<CoroutineBodyStmt>(Body)) in getBody()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderStmt.cpp457 void ASTStmtReader::VisitCoroutineBodyStmt(CoroutineBodyStmt *S) { in VisitCoroutineBodyStmt()
463 i < CoroutineBodyStmt::SubStmt::FirstParamMove + S->NumParams; ++i) in VisitCoroutineBodyStmt()
3981 S = CoroutineBodyStmt::Create(Context, Empty, NumParams); in ReadStmtFromStream()
H A DASTWriterStmt.cpp357 void ASTStmtWriter::VisitCoroutineBodyStmt(CoroutineBodyStmt *CoroStmt) { in VisitCoroutineBodyStmt()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h117 class CoroutineBodyStmt; variable
10574 StmtResult BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs);