Rename TargetSubtargetInfo::enablePostMachineScheduler() to enablePostRAScheduler()
[oota-llvm.git] / include / llvm / Target / TargetRegisterInfo.h
index 418405299659c49937697b310b9dba85c4847df8..121b8a232526fd692b6d88bb2172830ea0c75af7 100644 (file)
@@ -46,6 +46,9 @@ public:
   const uint32_t *SubClassMask;
   const uint16_t *SuperRegIndices;
   const unsigned LaneMask;
+  /// Classes with a higher priority value are assigned first by register
+  /// allocators using a greedy heuristic. The value is in the range [0,63].
+  const uint8_t AllocationPriority;
   /// Whether the class supports two (or more) disjunct subregister indices.
   const bool HasDisjunctSubRegs;
   const sc_iterator SuperClasses;