Add a new function attribute 'cold' to functions.
[oota-llvm.git] / include / llvm / IR / Attributes.h
index 2c7da6485dce2bcfc8415ebfa55e027a42243187..0d14709fe9f9fc4e997d6ae2d53c7cca967de618 100644 (file)
@@ -68,6 +68,7 @@ public:
                            ///< 0 means unaligned (different from align(1))
     AlwaysInline,          ///< inline=always
     ByVal,                 ///< Pass structure by value
+    Cold,                  ///< Marks function as being in a cold path.
     InlineHint,            ///< Source said inlining was desirable
     InReg,                 ///< Force argument to be passed in register
     MinSize,               ///< Function must be optimized for size first