diff options
| author | Misha Brukman <brukman+llvm@gmail.com> | 2004-08-09 22:27:45 +0000 |
|---|---|---|
| committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-08-09 22:27:45 +0000 |
| commit | eca36a5aa014db7b06e2387492fde1d03b63f4f2 (patch) | |
| tree | d3818f245200050bd90329d34e0079a36eabfda0 /llvm/lib/Target/PowerPC | |
| parent | 8e7260652bda2a93bdb2d7454c1927ea451f9f3e (diff) | |
| download | bcm5719-llvm-eca36a5aa014db7b06e2387492fde1d03b63f4f2.tar.gz bcm5719-llvm-eca36a5aa014db7b06e2387492fde1d03b63f4f2.zip | |
CodePrinter -> AsmPrinter
llvm-svn: 15599
Diffstat (limited to 'llvm/lib/Target/PowerPC')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp | 6 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/PowerPC.h | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp | 6 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp index 62deac0a5bb..8f41683c5a4 100644 --- a/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp @@ -85,12 +85,12 @@ namespace { }; } // end of anonymous namespace -/// createPPCCodePrinterPass - Returns a pass that prints the PPC +/// createPPCAsmPrinterPass - Returns a pass that prints the PPC /// assembly code for a MachineFunction to the given output stream, /// using the given target machine description. This should work -/// regardless of whether the function is in SSA form. +/// regardless of whether the function is in SSA form or not. /// -FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm) { +FunctionPass *createPPCAsmPrinterPass(std::ostream &o,TargetMachine &tm) { return new Printer(o, tm); } diff --git a/llvm/lib/Target/PowerPC/PowerPC.h b/llvm/lib/Target/PowerPC/PowerPC.h index e63892ddb3d..de4318dde23 100644 --- a/llvm/lib/Target/PowerPC/PowerPC.h +++ b/llvm/lib/Target/PowerPC/PowerPC.h @@ -25,7 +25,7 @@ class TargetMachine; // Here is where you would define factory methods for powerpc-specific // passes. For example: FunctionPass *createPPCSimpleInstructionSelector(TargetMachine &TM); -FunctionPass *createPPCCodePrinterPass(std::ostream &OS, TargetMachine &TM); +FunctionPass *createPPCAsmPrinterPass(std::ostream &OS, TargetMachine &TM); FunctionPass *createPowerPCPEI(); FunctionPass *createPPCBranchSelectionPass(); } // end namespace llvm; diff --git a/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp index 62deac0a5bb..8f41683c5a4 100644 --- a/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp @@ -85,12 +85,12 @@ namespace { }; } // end of anonymous namespace -/// createPPCCodePrinterPass - Returns a pass that prints the PPC +/// createPPCAsmPrinterPass - Returns a pass that prints the PPC /// assembly code for a MachineFunction to the given output stream, /// using the given target machine description. This should work -/// regardless of whether the function is in SSA form. +/// regardless of whether the function is in SSA form or not. /// -FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm) { +FunctionPass *createPPCAsmPrinterPass(std::ostream &o,TargetMachine &tm) { return new Printer(o, tm); } diff --git a/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp index ca5abb2a8c5..438fd076248 100644 --- a/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp @@ -91,7 +91,7 @@ bool PowerPCTargetMachine::addPassesToEmitAssembly(PassManager &PM, // Must run branch selection immediately preceding the printer PM.add(createPPCBranchSelectionPass()); - PM.add(createPPCCodePrinterPass(Out, *this)); + PM.add(createPPCAsmPrinterPass(Out, *this)); PM.add(createMachineCodeDeleter()); return false; } |

