LLVM 20.0.0git
|
#include "llvm/Transforms/Coroutines/ABI.h"
Public Member Functions | |
SwitchABI (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 378 of file Coroutines.cpp.
References llvm::coro::Shape::ABI, assert(), llvm::coro::Shape::CoroBegin, llvm::coro::Shape::CoroSuspends, createCoroSave(), llvm::report_fatal_error(), and llvm::coro::Switch.
|
overridevirtual |