Split SelectionDAGISel::IsLegalAndProfitableToFold to
[oota-llvm.git] / lib / Target / ARM / ARMISelDAGToDAG.cpp
index a458269b7c7ab5f50e39c9a3c2f38681b0190ee4..df4ae706b3338200f5db7fde5938434b0ef8f737 100644 (file)
@@ -58,6 +58,8 @@ public:
     return "ARM Instruction Selection";
   }
 
+  virtual void InstructionSelect();
+
   /// getI32Imm - Return a target constant of type i32 with the specified
   /// value.
   inline SDValue getI32Imm(unsigned Imm) {
@@ -65,7 +67,7 @@ public:
   }
 
   SDNode *Select(SDNode *N);
-  virtual void InstructionSelect();
+
   bool SelectShifterOperandReg(SDNode *Op, SDValue N, SDValue &A,
                                SDValue &B, SDValue &C);
   bool SelectAddrMode2(SDNode *Op, SDValue N, SDValue &Base,