LLVM 22.0.0git
llvm::coro::SwitchABI Class Reference

#include "llvm/Transforms/Coroutines/ABI.h"

Inheritance diagram for llvm::coro::SwitchABI:
[legend]

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 buildCoroutineFrame (bool OptimizeFrame)

Additional Inherited Members

Public Attributes inherited from llvm::coro::BaseABI
FunctionF
coro::ShapeShape
std::function< bool(Instruction &I)> IsMaterializable

Detailed Description

Definition at line 67 of file ABI.h.

Constructor & Destructor Documentation

◆ SwitchABI()

llvm::coro::SwitchABI::SwitchABI ( Function & F,
coro::Shape & S,
std::function< bool(Instruction &)> IsMaterializable )
inline

Member Function Documentation

◆ init()

void coro::SwitchABI::init ( )
overridevirtual

◆ splitCoroutine()

void coro::SwitchABI::splitCoroutine ( Function & F,
coro::Shape & Shape,
SmallVectorImpl< Function * > & Clones,
TargetTransformInfo & TTI )
overridevirtual

Implements llvm::coro::BaseABI.

Definition at line 1982 of file CoroSplit.cpp.

References llvm::coro::BaseABI::F, and llvm::coro::BaseABI::Shape.


The documentation for this class was generated from the following files: