LLVM API Documentation

LowerSetJmp.cpp File Reference

#include "llvm/Transforms/IPO.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/VectorExtras.h"
#include "llvm/ADT/SmallVector.h"
#include <map>

Include dependency graph for LowerSetJmp.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "lowersetjmp"

Functions

 STATISTIC (LongJmpsTransformed,"Number of longjmps transformed")
 STATISTIC (SetJmpsTransformed,"Number of setjmps transformed")
 STATISTIC (CallsTransformed,"Number of calls invokified")
 STATISTIC (InvokesTransformed,"Number of invokes modified")
ModulePass * llvm::createLowerSetJmpPass ()

Variables

static RegisterPass< LowerSetJmp > X ("lowersetjmp","Lower Set Jump")


Define Documentation

#define DEBUG_TYPE   "lowersetjmp"

Definition at line 36 of file LowerSetJmp.cpp.


Function Documentation

STATISTIC ( InvokesTransformed  ,
"Number of invokes modified"   
)

STATISTIC ( CallsTransformed  ,
"Number of calls invokified"   
)

STATISTIC ( SetJmpsTransformed  ,
"Number of setjmps transformed"   
)

STATISTIC ( LongJmpsTransformed  ,
"Number of longjmps transformed"   
)


Variable Documentation

Definition at line 69 of file LowerSetJmp.cpp.

Definition at line 68 of file LowerSetJmp.cpp.

std::set<BasicBlock*> DFSBlocks

Definition at line 80 of file LowerSetJmp.cpp.

Definition at line 73 of file LowerSetJmp.cpp.

char ID [static]

Definition at line 114 of file LowerSetJmp.cpp.

Definition at line 67 of file LowerSetJmp.cpp.

Definition at line 72 of file LowerSetJmp.cpp.

std::map<const Function*, BasicBlock*> PrelimBBMap

Definition at line 94 of file LowerSetJmp.cpp.

std::map<const Function*, BasicBlock*> RethrowBBMap

Definition at line 90 of file LowerSetJmp.cpp.

std::map<const Function*, unsigned> SetJmpIDMap

Definition at line 103 of file LowerSetJmp.cpp.

std::map<Function*, AllocaInst*> SJMap

Definition at line 85 of file LowerSetJmp.cpp.

std::map<const Function*, SwitchValuePair> SwitchValMap

Definition at line 100 of file LowerSetJmp.cpp.

Definition at line 70 of file LowerSetJmp.cpp.

Definition at line 71 of file LowerSetJmp.cpp.

RegisterPass<LowerSetJmp> X("lowersetjmp","Lower Set Jump") [static]