LLVM: lib/Transforms/Coroutines/CoroElide.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "coro-elide"
Functions
STATISTIC (NumOfCoroElided, "The # of coroutine get elided.")
static void replaceWithConstant (Constant *Value, SmallVectorImpl< CoroSubFnInst * > &Users)
static bool operandReferences (CallInst *CI, AllocaInst *Frame, AAResults &AA)
static void removeTailCallAttribute (AllocaInst *Frame, AAResults &AA)
static std::optional< std::pair< uint64_t, Align > > getFrameLayout (Function *Resume)
static Instruction * getFirstNonAllocaInTheEntryBlock (Function *F)
static std::unique_ptr< raw_fd_ostream > getOrCreateLogFile ()

DEBUG_TYPE

#define DEBUG_TYPE "coro-elide"

getFirstNonAllocaInTheEntryBlock()

getFrameLayout()

getOrCreateLogFile()

operandReferences()

removeTailCallAttribute()

replaceWithConstant()

STATISTIC()

STATISTIC ( NumOfCoroElided ,
"The # of coroutine get elided." )

CoroElideInfoOutputFilename