mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
Move Print*Pass to use raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,21 +18,21 @@
|
||||
#ifndef LLVM_ASSEMBLY_PRINTMODULEPASS_H
|
||||
#define LLVM_ASSEMBLY_PRINTMODULEPASS_H
|
||||
|
||||
#include "llvm/Support/Streams.h"
|
||||
#include <string>
|
||||
|
||||
namespace llvm {
|
||||
class FunctionPass;
|
||||
class ModulePass;
|
||||
class raw_ostream;
|
||||
|
||||
/// createPrintModulePass - Create and return a pass that writes the
|
||||
/// module to the specified OStream.
|
||||
ModulePass *createPrintModulePass(llvm::OStream *OS, bool DeleteStream=false);
|
||||
/// module to the specified raw_ostream.
|
||||
ModulePass *createPrintModulePass(raw_ostream *OS, bool DeleteStream=false);
|
||||
|
||||
/// createPrintFunctionPass - Create and return a pass that prints
|
||||
/// functions to the specified OStream as they are processed.
|
||||
/// functions to the specified raw_ostream as they are processed.
|
||||
FunctionPass *createPrintFunctionPass(const std::string &Banner,
|
||||
llvm::OStream *OS,
|
||||
raw_ostream *OS,
|
||||
bool DeleteStream=false);
|
||||
|
||||
} // End llvm namespace
|
||||
|
Reference in New Issue
Block a user