LLVM 20.0.0git
Macros | Functions
CoroEarly.cpp File Reference
#include "llvm/Transforms/Coroutines/CoroEarly.h"
#include "CoroInternal.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Module.h"
#include "llvm/Transforms/Coroutines/CoroShape.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "coro-early"
 

Functions

static void buildDebugInfoForNoopResumeDestroyFunc (Function *NoopFn)
 
static void setCannotDuplicate (CoroIdInst *CoroId)
 
static bool declaresCoroEarlyIntrinsics (const Module &M)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "coro-early"

Definition at line 20 of file CoroEarly.cpp.

Function Documentation

◆ buildDebugInfoForNoopResumeDestroyFunc()

static void buildDebugInfoForNoopResumeDestroyFunc ( Function NoopFn)
static

◆ declaresCoroEarlyIntrinsics()

static bool declaresCoroEarlyIntrinsics ( const Module M)
static

Definition at line 246 of file CoroEarly.cpp.

References llvm::coro::declaresIntrinsics().

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

◆ setCannotDuplicate()

static void setCannotDuplicate ( CoroIdInst CoroId)
static

Definition at line 160 of file CoroEarly.cpp.

References llvm::CallBase::setCannotDuplicate(), and llvm::Value::users().