LLVM 20.0.0git
|
#include "llvm/Transforms/Coroutines/CoroSplit.h"
Public Member Functions | |
CoroSplitPass (bool OptimizeFrame=false) | |
CoroSplitPass (std::function< bool(Instruction &)> MaterializableCallback, bool OptimizeFrame=false) | |
PreservedAnalyses | run (LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, LazyCallGraph &CG, CGSCCUpdateResult &UR) |
Public Member Functions inherited from llvm::PassInfoMixin< CoroSplitPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< CoroSplitPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Public Attributes | |
const std::function< bool(Instruction &)> | MaterializableCallback |
bool | OptimizeFrame |
Definition at line 24 of file CoroSplit.h.
CoroSplitPass::CoroSplitPass | ( | bool | OptimizeFrame = false | ) |
Definition at line 2076 of file CoroSplit.cpp.
|
inline |
Definition at line 28 of file CoroSplit.h.
|
inlinestatic |
Definition at line 35 of file CoroSplit.h.
PreservedAnalyses CoroSplitPass::run | ( | LazyCallGraph::SCC & | C, |
CGSCCAnalysisManager & | AM, | ||
LazyCallGraph & | CG, | ||
CGSCCUpdateResult & | UR | ||
) |
Definition at line 2080 of file CoroSplit.cpp.
References addPrepareFunction(), llvm::PreservedAnalyses::all(), llvm::CallingConv::C, llvm::CGSCCUpdateResult::CWorklist, llvm::dbgs(), DEBUG_TYPE, llvm::SmallVectorBase< Size_T >::empty(), F, FAM, llvm::LazyCallGraph::get(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), LLVM_DEBUG, llvm::LazyCallGraph::lookupSCC(), MaterializableCallback, N, llvm::PreservedAnalyses::none(), OptimizeFrame, llvm::SmallVectorTemplateBase< T, bool >::push_back(), removeCoroEndsFromRampFunction(), replaceAllPrepares(), splitCoroutine(), and updateCallGraphAfterCoroutineSplit().
const std::function<bool(Instruction &)> llvm::CoroSplitPass::MaterializableCallback |
Definition at line 25 of file CoroSplit.h.
Referenced by run().
bool llvm::CoroSplitPass::OptimizeFrame |
Definition at line 38 of file CoroSplit.h.
Referenced by run().