LLVM API Documentation
#include "llvm/Transforms/Scalar.h"#include "llvm/Constants.h"#include "llvm/DerivedTypes.h"#include "llvm/Instructions.h"#include "llvm/Intrinsics.h"#include "llvm/LLVMContext.h"#include "llvm/Module.h"#include "llvm/Pass.h"#include "llvm/CodeGen/Passes.h"#include "llvm/Transforms/Utils/BasicBlockUtils.h"#include "llvm/Transforms/Utils/Local.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/SmallVector.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetLowering.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "sjljehprepare" |
Functions | |
| STATISTIC (NumInvokes,"Number of invokes replaced") | |
| STATISTIC (NumUnwinds,"Number of unwinds replaced") | |
| STATISTIC (NumSpilled,"Number of registers live across unwind edges") | |
| FunctionPass * | llvm::createSjLjEHPass (const TargetLowering *tli) |
| static void | MarkBlocksLiveIn (BasicBlock *BB, std::set< BasicBlock * > &LiveBBs) |
| #define DEBUG_TYPE "sjljehprepare" |
Definition at line 15 of file SjLjEHPrepare.cpp.
| 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 154 of file SjLjEHPrepare.cpp.
References E, PI, llvm::pred_begin(), and llvm::pred_end().
Referenced by MarkBlocksLiveIn().
| STATISTIC | ( | NumSpilled | , | |
| "Number of registers live across unwind edges" | ||||
| ) |
| STATISTIC | ( | NumUnwinds | , | |
| "Number of unwinds replaced" | ||||
| ) |
| STATISTIC | ( | NumInvokes | , | |
| "Number of invokes replaced" | ||||
| ) |
Definition at line 50 of file SjLjEHPrepare.cpp.
Definition at line 58 of file SjLjEHPrepare.cpp.
Referenced by llvm::AliasSetTracker::add(), llvm::AliasAnalysis::getModRefInfo(), llvm::InlineFunction(), llvm::isNoAliasCall(), LLVMAddInstrAttribute(), LLVMRemoveInstrAttribute(), LLVMSetInstrParamAlignment(), llvm::AliasSetTracker::remove(), and llvm::Interpreter::visitUnwindInst().
Definition at line 56 of file SjLjEHPrepare.cpp.
Definition at line 51 of file SjLjEHPrepare.cpp.
| const Type* FunctionContextTy |
Definition at line 46 of file SjLjEHPrepare.cpp.
char ID [static] |
Definition at line 60 of file SjLjEHPrepare.cpp.
Definition at line 52 of file SjLjEHPrepare.cpp.
Definition at line 53 of file SjLjEHPrepare.cpp.
Definition at line 47 of file SjLjEHPrepare.cpp.
Definition at line 49 of file SjLjEHPrepare.cpp.
Definition at line 54 of file SjLjEHPrepare.cpp.
Definition at line 55 of file SjLjEHPrepare.cpp.
| const TargetLowering* TLI |
Definition at line 44 of file SjLjEHPrepare.cpp.
Definition at line 48 of file SjLjEHPrepare.cpp.