LLVM: lib/CodeGen/SjLjEHPrepare.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "sjlj-eh-prepare"
Functions
STATISTIC (NumInvokes, "Number of invokes replaced")
STATISTIC (NumSpilled, "Number of registers live across unwind edges")
INITIALIZE_PASS (SjLjEHPrepare, DEBUG_TYPE, "Prepare SjLj exceptions", false, false) FunctionPass *llvm
static void MarkBlocksLiveIn (BasicBlock *BB, SmallPtrSetImpl< BasicBlock * > &LiveBBs)
MarkBlocksLiveIn - Insert BB and all of its predecessors into LiveBBs until we reach blocks we've already seen.

DEBUG_TYPE

#define DEBUG_TYPE "sjlj-eh-prepare"

INITIALIZE_PASS()

INITIALIZE_PASS ( SjLjEHPrepare ,
DEBUG_TYPE ,
"Prepare SjLj exceptions" ,
false ,
false )

MarkBlocksLiveIn()

STATISTIC() [1/2]

STATISTIC ( NumInvokes ,
"Number of invokes replaced" )

STATISTIC() [2/2]

STATISTIC ( NumSpilled ,
"Number of registers live across unwind edges" )