CodePrinter -> AsmPrinter
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 9 Aug 2004 22:27:45 +0000 (22:27 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 9 Aug 2004 22:27:45 +0000 (22:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15599 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPC.h
lib/Target/PowerPC/PPC32AsmPrinter.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCTargetMachine.cpp
lib/Target/PowerPC/PowerPCAsmPrinter.cpp

index e63892ddb3d47573e7b9552cba1e1e800502d165..de4318dde2374429912a6c4904df759529592342 100644 (file)
@@ -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;
index 62deac0a5bb65333dbea0fa76dcdbb4ef8677fb9..8f41683c5a43e614f3f52ca22b7638c403eeefc2 100644 (file)
@@ -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);
 }
 
index 62deac0a5bb65333dbea0fa76dcdbb4ef8677fb9..8f41683c5a43e614f3f52ca22b7638c403eeefc2 100644 (file)
@@ -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);
 }
 
index ca5abb2a8c5efee056e281f073e26208173617c1..438fd07624848816f9b03902c1584c7f77eecf66 100644 (file)
@@ -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;
 }
index 62deac0a5bb65333dbea0fa76dcdbb4ef8677fb9..8f41683c5a43e614f3f52ca22b7638c403eeefc2 100644 (file)
@@ -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);
 }