Support little-endian encodings in the FixedLenDecoderEmitter
[oota-llvm.git] / utils / TableGen / CodeGenTarget.h
index 627144302932b605342cae4f1543ff4487cdec4c..d6458f41cf23bf8d35974cbd34c9e05952a520e1 100644 (file)
@@ -177,6 +177,10 @@ public:
   ///
   bool isLittleEndianEncoding() const;
 
+  /// reverseBitsForLittleEndianEncoding - For little-endian instruction bit
+  /// encodings, reverse the bit order of all instructions.
+  void reverseBitsForLittleEndianEncoding();
+
   /// guessInstructionProperties - should we just guess unset instruction
   /// properties?
   bool guessInstructionProperties() const;