LLVM API Documentation

llvm::MSILModule Class Reference

#include <MSILWriter.h>

Inheritance diagram for llvm::MSILModule:
[legend]
Collaboration diagram for llvm::MSILModule:
[legend]

List of all members.

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


Detailed Description

Definition at line 34 of file MSILWriter.h.


Constructor & Destructor Documentation

llvm::MSILModule::MSILModule ( const std::set< const Type * > *&  _UsedTypes,
const TargetData *&  _TD 
) [inline]

Definition at line 41 of file MSILWriter.h.


Member Function Documentation

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.

bool MSILModule::runOnModule ( Module &  M  )  [virtual]

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().


Member Data Documentation

char MSILModule::ID = 0 [static]

Definition at line 40 of file MSILWriter.h.


The documentation for this class was generated from the following files: