projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
All PPC instructions are now auto-printed
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PowerPCTargetMachine.h
diff --git
a/lib/Target/PowerPC/PowerPCTargetMachine.h
b/lib/Target/PowerPC/PowerPCTargetMachine.h
index 6e4c4113e7498826b74abce1c597bb028bf5b127..0f8e7fb4d5336c8e2a0fea0845bf6db9d24516d5 100644
(file)
--- a/
lib/Target/PowerPC/PowerPCTargetMachine.h
+++ b/
lib/Target/PowerPC/PowerPCTargetMachine.h
@@
-18,6
+18,7
@@
#include "PowerPCJITInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/PassManager.h"
#include "PowerPCJITInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/PassManager.h"
+#include <set>
namespace llvm {
namespace llvm {
@@
-41,6
+42,11
@@
public:
static unsigned getJITMatchQuality();
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
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
};
} // end namespace llvm