summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-11-12 20:13:34 +0000
committerDavid Greene <greened@obbligato.org>2009-11-12 20:13:34 +0000
commit33935767b9eb67f20bf65b84e1a5589f0e6a8de1 (patch)
tree65354a3d59b659bbd48ce1cc0fadc87abb800897 /llvm
parentda83f7d58b1bfcadb92a5955ae1b7a2c6b6933fe (diff)
downloadbcm5719-llvm-33935767b9eb67f20bf65b84e1a5589f0e6a8de1.tar.gz
bcm5719-llvm-33935767b9eb67f20bf65b84e1a5589f0e6a8de1.zip
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
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/AsmPrinter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h
index 4a6b71d75b0..416f9120bbf 100644
--- a/llvm/include/llvm/CodeGen/AsmPrinter.h
+++ b/llvm/include/llvm/CodeGen/AsmPrinter.h
@@ -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;
OpenPOWER on IntegriCloud