LLVM API Documentation
#include <Pass.h>
Inheritance diagram for llvm::ModulePass:
Public Member Functions | |
virtual bool | runOnModule (Module &M)=0 |
bool | runPass (Module &M) |
virtual void | addToPassManager (PassManagerT< Module > *PM, AnalysisUsage &AU) |
Definition at line 214 of file Pass.h.
|
Definition at line 195 of file Pass.cpp. References llvm::PassManagerT< UnitType >::addPass(). |
|
runOnModule - Virtual method overriden by subclasses to process the module being operated on. Implemented in llvm::CallGraph, llvm::LocalDataStructures, llvm::BUDataStructures, llvm::TDDataStructures, llvm::CompleteBUDataStructures, llvm::FindUnsafePointerTypes, llvm::FindUsedTypes, llvm::PrintModulePass, llvm::WriteBytecodePass, llvm::CallGraphSCCPass, llvm::ImmutablePass, llvm::FunctionPass, llvm::IPModRef, llvm::MemoryDepAnalysis, llvm::PgmDependenceGraph, and llvm::PassManagerTraits< Module >. Referenced by llvm::PassManagerTraits< Module >::runPass(), and runPass(). |
|
runPass - Run this pass, returning true if a modification was made to the module argument. This should be implemented by all concrete subclasses. Implements llvm::Pass. Definition at line 220 of file Pass.h. References runOnModule(). |