aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commite55abe5cd0fbc1977a661251214ef01df6ec0b34 (patch)
tree6c44eadc45e7b06b0a2295ec4fe41d12629d0296 /include
parent12dd99dc308150a6beff32aafc824e1d6fec1139 (diff)
downloadexternal_llvm-e55abe5cd0fbc1977a661251214ef01df6ec0b34.zip
external_llvm-e55abe5cd0fbc1977a661251214ef01df6ec0b34.tar.gz
external_llvm-e55abe5cd0fbc1977a661251214ef01df6ec0b34.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 4a6b71d..416f912 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/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;