[X86] Use push-pop for materializing small constants under 'minsize'
[oota-llvm.git] / lib / Target / X86 / X86InstrInfo.h
index edd09d6175952d5d51f9cbe140769af820c4be2d..9d40334206b2a7ffcb397c490b152ad906aec8f6 100644 (file)
@@ -23,6 +23,7 @@
 #include "X86GenInstrInfo.inc"
 
 namespace llvm {
+  class MachineInstrBuilder;
   class X86RegisterInfo;
   class X86Subtarget;
 
@@ -564,6 +565,9 @@ private:
   /// operand and follow operands form a reference to the stack frame.
   bool isFrameOperand(const MachineInstr *MI, unsigned int Op,
                       int &FrameIndex) const;
+
+  /// Expand the MOVImmSExti8 pseudo-instructions.
+  bool ExpandMOVImmSExti8(MachineInstrBuilder &MIB) const;
 };
 
 } // End llvm namespace