Remove the Clang tblgen backends from LLVM.
[oota-llvm.git] / utils / TableGen / CodeEmitterGen.h
index af890bfe2478091d8b8c493bcb3a776315b743a4..7f6ee2a1b40f1bad639f232a74fbe9e1236ce503 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef CODEMITTERGEN_H
 #define CODEMITTERGEN_H
 
-#include "TableGenBackend.h"
+#include "llvm/TableGen/TableGenBackend.h"
 #include <vector>
 #include <string>
 
@@ -35,11 +35,11 @@ private:
   void emitMachineOpEmitter(raw_ostream &o, const std::string &Namespace);
   void emitGetValueBit(raw_ostream &o, const std::string &Namespace);
   void reverseBits(std::vector<Record*> &Insts);
-  int getVariableBit(const std::string &VarName, const BitsInit *BI, int bit);
+  int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
   std::string getInstructionCase(Record *R, CodeGenTarget &Target);
   void
-  AddCodeToMergeInOperand(Record *R, const BitsInit *BI,
-                          const std::string &VarName, unsigned &NumberedOp,
+  AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName,
+                          unsigned &NumberedOp,
                           std::string &Case, CodeGenTarget &Target);
     
 };