Reapply 63765. Patches for clang and llvm-gcc to follow.
[oota-llvm.git] / utils / TableGen / IntrinsicEmitter.h
index 357369263b970b9bda7c4dc7f5c49dd4664f239c..0f3f0e72b6fa4f0fd2d0730577a22340cb90409b 100644 (file)
 namespace llvm {
   class IntrinsicEmitter : public TableGenBackend {
     RecordKeeper &Records;
+    bool TargetOnly;
+    std::string TargetPrefix;
     
   public:
-    IntrinsicEmitter(RecordKeeper &R) : Records(R) {}
+    IntrinsicEmitter(RecordKeeper &R, bool T = false) 
+      : Records(R), TargetOnly(T) {}
 
     void run(std::ostream &OS);