LLVM API Documentation
#include "llvm/Transforms/Scalar.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Visibility.h"
#include <csetjmp>
Include dependency graph for LowerInvoke.cpp:
Go to the source code of this file.
Functions | |
FunctionPass * | llvm::createLowerInvokePass (unsigned JumpBufSize, unsigned JumpBufAlign) |
static void | MarkBlocksLiveIn (BasicBlock *BB, std::set< BasicBlock * > &LiveBBs) |
Variables | |
Statistic | NumInvokes ("lowerinvoke","Number of invokes replaced") |
Statistic | NumUnwinds ("lowerinvoke","Number of unwinds replaced") |
Statistic | NumSpilled ("lowerinvoke","Number of registers live across unwind edges") |
cl::opt< bool > | ExpensiveEHSupport ("enable-correct-eh-support", cl::desc("Make the -lowerinvoke pass insert expensive, but correct, EH code")) |
RegisterOpt< LowerInvoke > | X ("lowerinvoke","Lower invoke and unwind, for unwindless code generators") |
static void MarkBlocksLiveIn | ( | BasicBlock * | BB, | |
std::set< BasicBlock * > & | LiveBBs | |||
) | [static] |
MarkBlocksLiveIn - Insert BB and all of its predescessors into LiveBBs until we reach blocks we've already seen.
Definition at line 299 of file LowerInvoke.cpp.
References BB, E, PI, llvm::pred_begin(), and llvm::pred_end().
Definition at line 62 of file LowerInvoke.cpp.
Definition at line 63 of file LowerInvoke.cpp.
unsigned AbortMessageLength |
Definition at line 64 of file LowerInvoke.cpp.
cl::opt<bool> ExpensiveEHSupport("enable-correct-eh-support", cl::desc("Make the -lowerinvoke pass insert expensive, but correct, EH code")) [static] |
Definition at line 67 of file LowerInvoke.cpp.
Definition at line 68 of file LowerInvoke.cpp.
unsigned JumpBufAlign |
Definition at line 94 of file LowerInvoke.cpp.
unsigned JumpBufSize |
Definition at line 93 of file LowerInvoke.cpp.
Definition at line 69 of file LowerInvoke.cpp.
Statistic NumInvokes("lowerinvoke","Number of invokes replaced") [static] |
Statistic NumSpilled("lowerinvoke","Number of registers live across unwind edges") [static] |
Statistic NumUnwinds("lowerinvoke","Number of unwinds replaced") [static] |
Definition at line 69 of file LowerInvoke.cpp.
Definition at line 61 of file LowerInvoke.cpp.
RegisterOpt<LowerInvoke> X("lowerinvoke","Lower invoke and unwind, for unwindless code generators") [static] |