LLVM 20.0.0git
|
#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) |
#define DEBUG_TYPE "coro-cleanup" |
Definition at line 20 of file CoroCleanup.cpp.
Definition at line 110 of file CoroCleanup.cpp.
References llvm::coro::declaresIntrinsics().
Referenced by llvm::CoroCleanupPass::run().
|
static |
Definition at line 31 of file CoroCleanup.cpp.
References llvm::IRBuilderBase::CreateConstInBoundsGEP2_32(), llvm::IRBuilderBase::CreateLoad(), FramePtr, llvm::StructType::get(), llvm::Value::getContext(), llvm::CoroSubFnInst::getFrame(), llvm::CoroSubFnInst::getIndex(), llvm::Value::replaceAllUsesWith(), and llvm::IRBuilderBase::SetInsertPoint().