summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPC.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-08-23 21:08:52 +0000
committerNate Begeman <natebegeman@mac.com>2006-08-23 21:08:52 +0000
commiteb883af3903286ac20f5bbf549c555c9ef961e14 (patch)
tree876fc716e1d1cfc6c0341ffd7a5a750b17c4d136 /lib/Target/PowerPC/PPC.h
parent81bc5088dd783421456c298b5fcc741c45acbea0 (diff)
downloadllvm-eb883af3903286ac20f5bbf549c555c9ef961e14.tar.gz
llvm-eb883af3903286ac20f5bbf549c555c9ef961e14.tar.bz2
llvm-eb883af3903286ac20f5bbf549c555c9ef961e14.tar.xz
Initial checkin of the Mach-O emitter. There's plenty of fixmes, but it
does emit linkable .o files in very simple cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC.h')
-rw-r--r--lib/Target/PowerPC/PPC.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h
index 5e8e15cc3b..f34b9b08a0 100644
--- a/lib/Target/PowerPC/PPC.h
+++ b/lib/Target/PowerPC/PPC.h
@@ -19,11 +19,18 @@
namespace llvm {
-class FunctionPass;
class PPCTargetMachine;
+class PassManager;
+class FunctionPass;
+class MachineCodeEmitter;
+
FunctionPass *createPPCBranchSelectionPass();
FunctionPass *createPPCISelDag(PPCTargetMachine &TM);
FunctionPass *createDarwinAsmPrinter(std::ostream &OS, PPCTargetMachine &TM);
+FunctionPass *createPPCCodeEmitterPass(PPCTargetMachine &TM,
+ MachineCodeEmitter &MCE);
+void addPPCMachOObjectWriterPass(PassManager &FPM, std::ostream &o,
+ PPCTargetMachine &tm);
} // end namespace llvm;
// GCC #defines PPC on Linux but we use it as our namespace name