[llvm-commits] CVS: llvm/include/llvm/CodeGen/Passes.h
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Jan 30 15:54:02 PST 2004
Changes in directory llvm/include/llvm/CodeGen:
Passes.h updated: 1.12 -> 1.13
---
Log message:
Give clients of MachineFunctionPrinter the ability to specify a banner and
choose an ostream.
---
Diffs of the changes: (+5 -2)
Index: llvm/include/llvm/CodeGen/Passes.h
diff -u llvm/include/llvm/CodeGen/Passes.h:1.12 llvm/include/llvm/CodeGen/Passes.h:1.13
--- llvm/include/llvm/CodeGen/Passes.h:1.12 Sat Dec 20 04:18:58 2003
+++ llvm/include/llvm/CodeGen/Passes.h Fri Jan 30 15:53:44 2004
@@ -15,6 +15,8 @@
#ifndef LLVM_CODEGEN_PASSES_H
#define LLVM_CODEGEN_PASSES_H
+#include <iostream>
+
namespace llvm {
class FunctionPass;
@@ -23,8 +25,9 @@
/// MachineFunctionPrinter pass - This pass prints out the machine function to
/// standard error, as a debugging tool.
- FunctionPass *createMachineFunctionPrinterPass();
-
+ FunctionPass *createMachineFunctionPrinterPass(std::ostream *OS = &std::cerr,
+ const std::string &Banner ="");
+
/// PHIElimination pass - This pass eliminates machine instruction PHI nodes
/// by inserting copy instructions. This destroys SSA information, but is the
/// desired input for some register allocators. This pass is "required" by
More information about the llvm-commits
mailing list