[Hexagon] Use constant extenders to fix up hardware loops
[oota-llvm.git] / lib / Target / Hexagon / HexagonInstrInfo.h
index ac88ea6e0a47aebb3c491882f04489e4e40583c1..047f87fc295e57415d8397bbd3be38272b259dc2 100644 (file)
@@ -1,3 +1,4 @@
+
 //===- HexagonInstrInfo.h - Hexagon Instruction Information -----*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
@@ -203,7 +204,8 @@ public:
 
 
   void immediateExtend(MachineInstr *MI) const;
-  bool isConstExtended(MachineInstr *MI) const;
+  bool isConstExtended(const MachineInstr *MI) const;
+  unsigned getSize(const MachineInstr *MI) const;  
   int getDotNewPredJumpOp(MachineInstr *MI,
                       const MachineBranchProbabilityInfo *MBPI) const;
   unsigned getAddrMode(const MachineInstr* MI) const;