LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
PrintModulePass.cpp File Reference
#include "llvm/Assembly/PrintModulePass.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for PrintModulePass.cpp:

Go to the source code of this file.

Functions

INITIALIZE_PASS(PrintModulePass,"print-module","Print
module to stderr", false,
false) char PrintFunctionPass
INITIALIZE_PASS(PrintFunctionPass,"print-function","Print
function to stderr", false,
false) char
PrintBasicBlockPass 
INITIALIZE_PASS (PrintBasicBlockPass,"print-bb","Print BB to stderr", false, false) ModulePass *llvm
 

Function Documentation

INITIALIZE_PASS (PrintModulePass, "print-module", "Print module to stderr", false, false) char PrintFunctionPass INITIALIZE_PASS (PrintFunctionPass, "print-function", "Print function to stderr", false, false) char PrintBasicBlockPass INITIALIZE_PASS ( PrintBasicBlockPass  ,
"print-bb"  ,
"Print BB to stderr"  ,
false  ,
false   
)

createPrintModulePass - Create and return a pass that writes the module to the specified raw_ostream.

Definition at line 110 of file PrintModulePass.cpp.