mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Give clients of MachineFunctionPrinter the ability to specify a banner and
choose an ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#ifndef LLVM_CODEGEN_PASSES_H
|
||||
#define LLVM_CODEGEN_PASSES_H
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class FunctionPass;
|
||||
@@ -23,8 +25,9 @@ namespace llvm {
|
||||
|
||||
/// 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
|
||||
|
Reference in New Issue
Block a user