All PPC instructions are now auto-printed
[oota-llvm.git] / lib / Target / PowerPC / PowerPCTargetMachine.h
index 6e4c4113e7498826b74abce1c597bb028bf5b127..0f8e7fb4d5336c8e2a0fea0845bf6db9d24516d5 100644 (file)
@@ -18,6 +18,7 @@
 #include "PowerPCJITInfo.h"
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/PassManager.h"
+#include <set>
 
 namespace llvm {
 
@@ -41,6 +42,11 @@ public:
   static unsigned getJITMatchQuality();
 
   virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
+
+  // Two shared sets between the instruction selector and the printer allow for
+  // correct linkage on Darwin
+  std::set<GlobalValue*> CalledFunctions;
+  std::set<GlobalValue*> AddressTaken;
 };
 
 } // end namespace llvm