|
LLVM
10.0.0
|
Classes | |
| struct | LowererBase |
| struct | Shape |
Enumerations | |
| enum | ABI { ABI::Switch, ABI::Retcon, ABI::RetconOnce } |
Functions | |
| bool | declaresIntrinsics (const Module &M, const std::initializer_list< StringRef >) |
| void | replaceAllCoroAllocs (CoroBeginInst *CB, bool Replacement) |
| void | replaceAllCoroFrees (CoroBeginInst *CB, Value *Replacement) |
| void | replaceCoroFree (CoroIdInst *CoroId, bool Elide) |
| void | updateCallGraph (Function &Caller, ArrayRef< Function *> Funcs, CallGraph &CG, CallGraphSCC &SCC) |
| void | buildCoroutineFrame (Function &F, Shape &Shape) |
|
strong |
Definition at line 66 of file CoroInternal.h.
Definition at line 1325 of file CoroFrame.cpp.
References llvm::coro::Shape::ABI, llvm::Function::args(), llvm::CoroIdInst::clearPromise(), llvm::coro::Shape::CoroBegin, llvm::coro::Shape::CoroEnds, llvm::coro::Shape::CoroSuspends, llvm::dump(), eliminateSwiftError(), llvm::Function::getContext(), llvm::coro::Shape::getSwitchCoroId(), I, llvm::instructions(), isCoroutineStructureIntrinsic(), isLocalAlloca(), LLVM_DEBUG, llvm::LowerDbgDeclare(), materializable(), llvm::coro::Shape::SwitchLoweringStorage::PromiseAlloca, llvm::SmallVectorTemplateBase< T >::push_back(), rewriteMaterializableInstructions(), rewritePHIs(), splitAround(), Switch, and llvm::coro::Shape::SwitchLowering.
Referenced by llvm::coro::Shape::Shape(), and splitCoroutine().
| bool llvm::coro::declaresIntrinsics | ( | const Module & | M, |
| const std::initializer_list< StringRef > | List | ||
| ) |
Definition at line 154 of file Coroutines.cpp.
References assert(), llvm::Module::getNamedValue(), isCoroutineIntrinsicName(), and Name.
Referenced by lowerSubFn(), replaceAllPrepares(), replaceDevirtTrigger(), and setCannotDuplicate().
| void llvm::coro::replaceAllCoroAllocs | ( | CoroBeginInst * | CB, |
| bool | Replacement | ||
| ) |
| void llvm::coro::replaceAllCoroFrees | ( | CoroBeginInst * | CB, |
| Value * | Replacement | ||
| ) |
| void llvm::coro::replaceCoroFree | ( | CoroIdInst * | CoroId, |
| bool | Elide | ||
| ) |
Definition at line 167 of file Coroutines.cpp.
References llvm::SmallVectorBase::empty(), llvm::SmallVectorTemplateCommon< T >::front(), llvm::ConstantPointerNull::get(), llvm::Value::getContext(), llvm::Type::getInt8PtrTy(), llvm::SmallVectorTemplateBase< T >::push_back(), and llvm::Value::users().
Referenced by getFirstNonAllocaInTheEntryBlock(), handleNoSuspendCoroutine(), and replaceSwiftErrorOps().
| void llvm::coro::updateCallGraph | ( | Function & | Caller, |
| ArrayRef< Function *> | Funcs, | ||
| CallGraph & | CG, | ||
| CallGraphSCC & | SCC | ||
| ) |
Definition at line 208 of file Coroutines.cpp.
References llvm::CallGraphSCC::begin(), buildCGN(), Callee, llvm::CallGraphSCC::end(), F(), llvm::CallGraph::getOrInsertFunction(), and llvm::CallGraphSCC::initialize().
Referenced by splitCoroutine().
1.8.13