Add comment flags so AsmPrinter can output additional information when
authorDavid Greene <greened@obbligato.org>
Thu, 12 Nov 2009 20:13:34 +0000 (20:13 +0000)
committerDavid Greene <greened@obbligato.org>
Thu, 12 Nov 2009 20:13:34 +0000 (20:13 +0000)
emitting comments.  These flags carry semantic information not otherwise
easily derivable from the IR text.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87016 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h

index 4a6b71d75b03ca0693d3748b1a61244b7fc05c6e..416f9120bbf168e6f5a8fcc3c2928e2808505dd7 100644 (file)
@@ -86,6 +86,14 @@ namespace llvm {
     DwarfWriter *DW;
 
   public:
+    /// Flags to specify different kinds of comments to output in
+    /// assembly code.  These flags carry semantic information not
+    /// otherwise easily derivable from the IR text.
+    ///
+    enum CommentFlag {
+      ReloadReuse = 0x1
+    };
+
     /// Output stream on which we're printing assembly code.
     ///
     formatted_raw_ostream &O;