Add comment flags so AsmPrinter can output additional information when

emitting comments.  These flags carry semantic information not otherwise
easily derivable from the IR text.

llvm-svn: 87016
This commit is contained in:
David Greene 2009-11-12 20:13:34 +00:00
parent da83f7d58b
commit 33935767b9
1 changed files with 8 additions and 0 deletions

View 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;