LLVM  15.0.0git
Macros | Functions
CoroCleanup.cpp File Reference
#include "llvm/Transforms/Coroutines/CoroCleanup.h"
#include "CoroInternal.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/PassManager.h"
#include "llvm/IR/Function.h"
#include "llvm/Transforms/Scalar/SimplifyCFG.h"
Include dependency graph for CoroCleanup.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "coro-cleanup"
 

Functions

static void lowerSubFn (IRBuilder<> &Builder, CoroSubFnInst *SubFn)
 
static bool declaresCoroCleanupIntrinsics (const Module &M)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "coro-cleanup"

Definition at line 19 of file CoroCleanup.cpp.

Function Documentation

◆ declaresCoroCleanupIntrinsics()

static bool declaresCoroCleanupIntrinsics ( const Module M)
static

Definition at line 111 of file CoroCleanup.cpp.

References llvm::coro::declaresIntrinsics(), and M.

Referenced by llvm::CoroCleanupPass::run().

◆ lowerSubFn()

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