LLVM  8.0.1
Macros | Functions
CoroCleanup.cpp File Reference
#include "CoroInternal.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Scalar.h"
Include dependency graph for CoroCleanup.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "coro-cleanup"
 

Functions

static void simplifyCFG (Function &F)
 
static void lowerSubFn (IRBuilder<> &Builder, CoroSubFnInst *SubFn)
 
 INITIALIZE_PASS (CoroCleanup, "coro-cleanup", "Lower all coroutine related intrinsics", false, false) Pass *llvm
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "coro-cleanup"

Definition at line 21 of file CoroCleanup.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( CoroCleanup  ,
"coro-cleanup ,
"Lower all coroutine related intrinsics ,
false  ,
false   
)

Definition at line 134 of file CoroCleanup.cpp.

◆ lowerSubFn()

static void lowerSubFn ( IRBuilder<> &  Builder,
CoroSubFnInst SubFn 
)
static

◆ simplifyCFG()

static void simplifyCFG ( Function F)
static