Add support for emitting ARM file attributes.
[oota-llvm.git] / lib / Target / ARM / ARMBaseInfo.h
index 70b5b0a2d93da5b319d31dcf7af8bbdf7dda475d..2da7be25a139ebb744b25f72b29dba21ed611c01 100644 (file)
@@ -167,6 +167,28 @@ inline static unsigned getARMRegisterNumbering(unsigned Reg) {
   }
 }
 
+namespace ARMII {
+  /// Target Operand Flag enum.
+  enum TOF {
+    //===------------------------------------------------------------------===//
+    // ARM Specific MachineOperand flags.
+
+    MO_NO_FLAG,
+
+    /// MO_LO16 - On a symbol operand, this represents a relocation containing
+    /// lower 16 bit of the address. Used only via movw instruction.
+    MO_LO16,
+
+    /// MO_HI16 - On a symbol operand, this represents a relocation containing
+    /// higher 16 bit of the address. Used only via movt instruction.
+    MO_HI16,
+
+    /// MO_PLT - On a symbol operand, this represents an ELF PLT reference on a
+    /// call operand.
+    MO_PLT
+  };
+} // end namespace ARMII
+
 } // end namespace llvm;
 
 #endif