LLVM 22.0.0git
CoroEarly.cpp File Reference

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()

void buildDebugInfoForNoopResumeDestroyFunc ( Function * NoopFn)
static

◆ declaresCoroEarlyIntrinsics()

bool declaresCoroEarlyIntrinsics ( const Module & M)
static

Definition at line 287 of file CoroEarly.cpp.

References llvm::coro::declaresIntrinsics().

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

◆ setCannotDuplicate()

void setCannotDuplicate ( CoroIdInst * CoroId)
static