factorize more darwin TAI stuff. Note that this gives
[oota-llvm.git] / lib / Target / MSP430 / MSP430.h
index 3fa024caed0bde932ef34f59d566a91ba5bb9f30..d9f5f8629541f481174a095382c9bd2bfdc79460 100644 (file)
 #ifndef LLVM_TARGET_MSP430_H
 #define LLVM_TARGET_MSP430_H
 
+#include "llvm/Target/TargetMachine.h"
+
 namespace llvm {
   class MSP430TargetMachine;
   class FunctionPass;
-  class raw_ostream;
+  class formatted_raw_ostream;
+
+  FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM,
+                                    CodeGenOpt::Level OptLevel);
+
+  extern Target TheMSP430Target;
 
-  FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM);
-  FunctionPass *createMSP430CodePrinterPass(raw_ostream &OS,
-                                            MSP430TargetMachine &TM,
-                                            bool Fast, bool Verbose);
 } // end namespace llvm;
 
 // Defines symbolic names for MSP430 registers.