X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FIR%2FPrintModulePass.h;h=3c18bd59a0adf22bc51d5150f487a531956fe5ed;hp=a7be1c973797378849183c6ae12325e7b2c6854f;hb=dbd37e9827f90cd6a4398f7ae2061bd74c2dfaf6;hpb=83bdd1d763fca1dbe923d6f9ce5bc130c2989657 diff --git a/include/llvm/IR/PrintModulePass.h b/include/llvm/IR/PrintModulePass.h index a7be1c97379..3c18bd59a0a 100644 --- a/include/llvm/IR/PrintModulePass.h +++ b/include/llvm/IR/PrintModulePass.h @@ -21,28 +21,28 @@ #include namespace llvm { - class FunctionPass; - class ModulePass; - class BasicBlockPass; - class raw_ostream; - - /// createPrintModulePass - Create and return a pass that writes the - /// module to the specified raw_ostream. - ModulePass *createPrintModulePass(raw_ostream *OS, - bool DeleteStream=false, - const std::string &Banner = ""); - - /// createPrintFunctionPass - Create and return a pass that prints - /// functions to the specified raw_ostream as they are processed. - FunctionPass *createPrintFunctionPass(const std::string &Banner, - raw_ostream *OS, - bool DeleteStream=false); - - /// createPrintBasicBlockPass - Create and return a pass that writes the - /// BB to the specified raw_ostream. - BasicBlockPass *createPrintBasicBlockPass(raw_ostream *OS, - bool DeleteStream=false, - const std::string &Banner = ""); +class FunctionPass; +class ModulePass; +class BasicBlockPass; +class raw_ostream; + +/// createPrintModulePass - Create and return a pass that writes the +/// module to the specified raw_ostream. +ModulePass *createPrintModulePass(raw_ostream *OS, bool DeleteStream = false, + const std::string &Banner = ""); + +/// createPrintFunctionPass - Create and return a pass that prints +/// functions to the specified raw_ostream as they are processed. +FunctionPass *createPrintFunctionPass(const std::string &Banner, + raw_ostream *OS, + bool DeleteStream = false); + +/// createPrintBasicBlockPass - Create and return a pass that writes the +/// BB to the specified raw_ostream. +BasicBlockPass *createPrintBasicBlockPass(raw_ostream *OS, + bool DeleteStream = false, + const std::string &Banner = ""); + } // End llvm namespace #endif