LLVM 20.0.0git
Macros | Functions
CoroCleanup.cpp File Reference
#include "llvm/Transforms/Coroutines/CoroCleanup.h"
#include "CoroInternal.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Transforms/Scalar/SimplifyCFG.h"

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 20 of file CoroCleanup.cpp.

Function Documentation

◆ declaresCoroCleanupIntrinsics()

static bool declaresCoroCleanupIntrinsics ( const Module M)
static

Definition at line 110 of file CoroCleanup.cpp.

References llvm::coro::declaresIntrinsics().

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

◆ lowerSubFn()

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