Deleted Added
full compact
PrintModulePass.h (208954) PrintModulePass.h (249423)
1//===- llvm/Assembly/PrintModulePass.h - Printing Pass ----------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 9 unchanged lines hidden (view full) ---

18#ifndef LLVM_ASSEMBLY_PRINTMODULEPASS_H
19#define LLVM_ASSEMBLY_PRINTMODULEPASS_H
20
21#include <string>
22
23namespace llvm {
24 class FunctionPass;
25 class ModulePass;
1//===- llvm/Assembly/PrintModulePass.h - Printing Pass ----------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 9 unchanged lines hidden (view full) ---

18#ifndef LLVM_ASSEMBLY_PRINTMODULEPASS_H
19#define LLVM_ASSEMBLY_PRINTMODULEPASS_H
20
21#include <string>
22
23namespace llvm {
24 class FunctionPass;
25 class ModulePass;
26 class BasicBlockPass;
26 class raw_ostream;
27
28 /// createPrintModulePass - Create and return a pass that writes the
29 /// module to the specified raw_ostream.
30 ModulePass *createPrintModulePass(raw_ostream *OS,
31 bool DeleteStream=false,
32 const std::string &Banner = "");
33
34 /// createPrintFunctionPass - Create and return a pass that prints
35 /// functions to the specified raw_ostream as they are processed.
36 FunctionPass *createPrintFunctionPass(const std::string &Banner,
37 raw_ostream *OS,
38 bool DeleteStream=false);
39
27 class raw_ostream;
28
29 /// createPrintModulePass - Create and return a pass that writes the
30 /// module to the specified raw_ostream.
31 ModulePass *createPrintModulePass(raw_ostream *OS,
32 bool DeleteStream=false,
33 const std::string &Banner = "");
34
35 /// createPrintFunctionPass - Create and return a pass that prints
36 /// functions to the specified raw_ostream as they are processed.
37 FunctionPass *createPrintFunctionPass(const std::string &Banner,
38 raw_ostream *OS,
39 bool DeleteStream=false);
40
41 /// createPrintBasicBlockPass - Create and return a pass that writes the
42 /// BB to the specified raw_ostream.
43 BasicBlockPass *createPrintBasicBlockPass(raw_ostream *OS,
44 bool DeleteStream=false,
45 const std::string &Banner = "");
40} // End llvm namespace
41
42#endif
46} // End llvm namespace
47
48#endif