LLVM 20.0.0git
|
#include "llvm/Transforms/Coroutines/ABI.h"
Public Member Functions | |
AsyncABI (Function &F, coro::Shape &S, std::function< bool(Instruction &)> IsMaterializable) | |
void | init () override |
void | splitCoroutine (Function &F, coro::Shape &Shape, SmallVectorImpl< Function * > &Clones, TargetTransformInfo &TTI) override |
Public Member Functions inherited from llvm::coro::BaseABI | |
BaseABI (Function &F, coro::Shape &S, std::function< bool(Instruction &)> IsMaterializable) | |
virtual | ~BaseABI ()=default |
virtual void | init ()=0 |
virtual void | buildCoroutineFrame (bool OptimizeFrame) |
virtual void | splitCoroutine (Function &F, coro::Shape &Shape, SmallVectorImpl< Function * > &Clones, TargetTransformInfo &TTI)=0 |
Additional Inherited Members | |
Public Attributes inherited from llvm::coro::BaseABI | |
Function & | F |
coro::Shape & | Shape |
std::function< bool(Instruction &I)> | IsMaterializable |
|
inline |
|
overridevirtual |
Implements llvm::coro::BaseABI.
Definition at line 396 of file Coroutines.cpp.
References llvm::coro::Shape::ABI, assert(), and llvm::coro::Async.
|
overridevirtual |
Implements llvm::coro::BaseABI.
Definition at line 1684 of file CoroSplit.cpp.
References llvm::coro::Shape::ABI, assert(), llvm::coro::Async, llvm::coro::Shape::AsyncLowering, llvm::coro::Continuation, llvm::coro::Shape::CoroBegin, llvm::coro::Shape::CoroSuspends, llvm::BasicBlock::Create(), llvm::IRBuilderBase::CreateBitOrPointerCast(), llvm::coro::BaseCloner::createClone(), createCloneDeclaration(), llvm::IRBuilderBase::CreateConstInBoundsGEP1_32(), llvm::coro::createMustTailCall(), llvm::IRBuilderBase::CreateRetVoid(), llvm::ArrayRef< T >::drop_front(), llvm::SmallVectorBase< Size_T >::empty(), llvm::enumerate(), F, llvm::coro::Shape::AsyncLoweringStorage::FrameOffset, llvm::coro::Shape::FramePtr, FramePtr, llvm::coro::Shape::getAsyncCoroId(), llvm::Type::getInt8Ty(), llvm::PointerType::getUnqual(), llvm::TrackingVH< ValueTy >::getValPtr(), Idx, llvm::InlineFunction(), llvm::CoroSuspendAsyncInst::MustTailCallFuncArg, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::Value::replaceAllUsesWith(), replaceAsyncResumeFunction(), llvm::SmallVectorImpl< T >::reserve(), and llvm::SmallVectorBase< Size_T >::size().