LLVM  10.0.0svn
Classes | Namespaces | Macros | Enumerations | Functions
CoroInternal.h File Reference
#include "CoroInstr.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/Transforms/Coroutines.h"
Include dependency graph for CoroInternal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  llvm::coro::LowererBase
struct  llvm::coro::Shape
struct  llvm::coro::Shape::SwitchFieldIndex
struct  llvm::coro::Shape::SwitchLoweringStorage
struct  llvm::coro::Shape::RetconLoweringStorage


 This class represents lattice values for constants.


#define CORO_PRESPLIT_ATTR   "coroutine.presplit"
#define PREPARED_FOR_SPLIT   "1"
#define CORO_DEVIRT_TRIGGER_FN   "coro.devirt.trigger"


enum  llvm::coro::ABI { llvm::coro::ABI::Switch, llvm::coro::ABI::Retcon, llvm::coro::ABI::RetconOnce }


void llvm::initializeCoroEarlyPass (PassRegistry &)
void llvm::initializeCoroSplitPass (PassRegistry &)
void llvm::initializeCoroElidePass (PassRegistry &)
void llvm::initializeCoroCleanupPass (PassRegistry &)
bool llvm::coro::declaresIntrinsics (Module &M, std::initializer_list< StringRef >)
void llvm::coro::replaceAllCoroAllocs (CoroBeginInst *CB, bool Replacement)
void llvm::coro::replaceAllCoroFrees (CoroBeginInst *CB, Value *Replacement)
void llvm::coro::replaceCoroFree (CoroIdInst *CoroId, bool Elide)
void llvm::coro::updateCallGraph (Function &Caller, ArrayRef< Function *> Funcs, CallGraph &CG, CallGraphSCC &SCC)
void llvm::coro::buildCoroutineFrame (Function &F, Shape &Shape)

Macro Definition Documentation


#define CORO_DEVIRT_TRIGGER_FN   "coro.devirt.trigger"

Definition at line 42 of file CoroInternal.h.

Referenced by createDevirtTriggerFunc(), prepareForSplit(), and replaceDevirtTrigger().


#define CORO_PRESPLIT_ATTR   "coroutine.presplit"


#define PREPARED_FOR_SPLIT   "1"

Definition at line 40 of file CoroInternal.h.

Referenced by prepareForSplit(), and setCannotDuplicate().



Definition at line 39 of file CoroInternal.h.

Referenced by replaceAllPrepares(), and setCannotDuplicate().