|
clang 22.0.0git
|
#include "CIRGenFunction.h"#include "mlir/Support/LLVM.h"#include "clang/AST/StmtCXX.h"#include "clang/AST/StmtVisitor.h"#include "clang/Basic/TargetInfo.h"#include "clang/CIR/Dialect/IR/CIRTypes.h"#include "clang/CIR/MissingFeatures.h"Go to the source code of this file.
Classes | |
| struct | clang::CIRGen::CGCoroData |
Functions | |
| static void | createCoroData (CIRGenFunction &cgf, CIRGenFunction::CGCoroInfo &curCoro, cir::CallOp coroId) |
| static LValueOrRValue | emitSuspendExpression (CIRGenFunction &cgf, CGCoroData &coro, CoroutineSuspendExpr const &s, cir::AwaitKind kind, AggValueSlot aggSlot, bool ignoreResult, mlir::Block *scopeParentBlock, mlir::Value &tmpResumeRValAddr, bool forLValue) |
| static RValue | emitSuspendExpr (CIRGenFunction &cgf, const CoroutineSuspendExpr &e, cir::AwaitKind kind, AggValueSlot aggSlot, bool ignoreResult) |
|
static |
Definition at line 100 of file CIRGenCoroutine.cpp.
References clang::CIRGen::CIRGenFunction::curCoro, and clang::CIRGen::CIRGenFunction::CGCoroInfo::data.
Referenced by clang::CodeGen::CodeGenFunction::EmitCoroutineBody(), clang::CIRGen::CIRGenFunction::emitCoroutineBody(), and clang::CodeGen::CodeGenFunction::EmitCoroutineIntrinsic().
|
static |
Definition at line 321 of file CIRGenCoroutine.cpp.
References clang::CIRGen::CIRGenFunction::cgm, clang::CIRGen::CIRGenFunction::curCoro, clang::CIRGen::CIRGenFunction::curLexScope, clang::CIRGen::CIRGenFunction::CGCoroInfo::data, emitSuspendExpression(), clang::CIRGen::CIRGenModule::errorNYI(), clang::CIRGen::RValue::get(), clang::CIRGen::CIRGenFunction::getBuilder(), clang::CIRGen::CIRGenFunction::LexicalScope::getEntryBlock(), clang::CIRGen::CIRGenFunction::getLoc(), clang::Stmt::getSourceRange(), clang::CIRGen::RValue::getValue(), clang::CIRGen::RValue::isAggregate(), clang::CIRGen::RValue::isIgnored(), and clang::CIRGen::RValue::isScalar().
Referenced by clang::CIRGen::CIRGenFunction::emitCoawaitExpr().
|
static |
Definition at line 290 of file CIRGenCoroutine.cpp.
References b, clang::CIRGen::CIRGenFunction::getBuilder(), clang::CIRGen::CIRGenFunction::getLoc(), and s.
Referenced by clang::CodeGen::CodeGenFunction::EmitCoawaitExpr(), clang::CodeGen::CodeGenFunction::EmitCoawaitLValue(), clang::CodeGen::CodeGenFunction::EmitCoyieldExpr(), clang::CodeGen::CodeGenFunction::EmitCoyieldLValue(), and emitSuspendExpr().