LLVM API Documentation
#include <MSILWriter.h>
Public Member Functions | |
| MSILModule (const std::set< const Type * > *&_UsedTypes, const TargetData *&_TD) | |
| void | getAnalysisUsage (AnalysisUsage &AU) const |
| virtual const char * | getPassName () const |
| virtual bool | runOnModule (Module &M) |
Static Public Attributes | |
| static char | ID = 0 |
Definition at line 34 of file MSILWriter.h.
| llvm::MSILModule::MSILModule | ( | const std::set< const Type * > *& | _UsedTypes, | |
| const TargetData *& | _TD | |||
| ) | [inline] |
Definition at line 41 of file MSILWriter.h.
| void llvm::MSILModule::getAnalysisUsage | ( | AnalysisUsage & | ) | const [inline, virtual] |
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.
Reimplemented from llvm::Pass.
Definition at line 45 of file MSILWriter.h.
References llvm::AnalysisUsage::addRequired().
| virtual const char* llvm::MSILModule::getPassName | ( | ) | const [inline, virtual] |
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.
Reimplemented from llvm::Pass.
Definition at line 50 of file MSILWriter.h.
runOnModule - Virtual method overriden by subclasses to process the module being operated on.
Implements llvm::ModulePass.
Definition at line 52 of file MSILWriter.cpp.
References llvm::Module::addTypeName(), llvm::TypeSymbolTable::begin(), Changed, E, llvm::TypeSymbolTable::end(), llvm::Module::getTypeSymbolTable(), llvm::TypeSymbolTable::remove(), T, and llvm::utostr().
char MSILModule::ID = 0 [static] |
Definition at line 40 of file MSILWriter.h.