[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPC.h PowerPCAsmPrinter.cpp PowerPCTargetMachine.cpp
Misha Brukman
brukman at cs.uiuc.edu
Mon Aug 9 15:27:55 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PowerPC.h updated: 1.3 -> 1.4
PowerPCAsmPrinter.cpp updated: 1.31 -> 1.32
PowerPCTargetMachine.cpp updated: 1.22 -> 1.23
---
Log message:
CodePrinter -> AsmPrinter
---
Diffs of the changes: (+5 -5)
Index: llvm/lib/Target/PowerPC/PowerPC.h
diff -u llvm/lib/Target/PowerPC/PowerPC.h:1.3 llvm/lib/Target/PowerPC/PowerPC.h:1.4
--- llvm/lib/Target/PowerPC/PowerPC.h:1.3 Fri Aug 6 01:58:50 2004
+++ llvm/lib/Target/PowerPC/PowerPC.h Mon Aug 9 17:27:45 2004
@@ -25,7 +25,7 @@
// 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: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.31 llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.32
--- llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.31 Wed Aug 4 12:29:14 2004
+++ llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp Mon Aug 9 17:27:45 2004
@@ -85,12 +85,12 @@
};
} // 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: llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.22 llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.23
--- llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.22 Fri Aug 6 01:58:50 2004
+++ llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp Mon Aug 9 17:27:45 2004
@@ -91,7 +91,7 @@
// 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;
}
More information about the llvm-commits
mailing list