diff options
author | David Greene <greened@obbligato.org> | 2009-11-12 20:13:34 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-11-12 20:13:34 +0000 |
commit | e55abe5cd0fbc1977a661251214ef01df6ec0b34 (patch) | |
tree | 6c44eadc45e7b06b0a2295ec4fe41d12629d0296 | |
parent | 12dd99dc308150a6beff32aafc824e1d6fec1139 (diff) |
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
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 4a6b71d75b..416f9120bb 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; |