Jia Liu | b22310f | 2012-02-18 12:03:15 +0000 | [diff] [blame] | 1 | //=- X86InstComments.h - Generate verbose-asm comments for instrs -*- C++ -*-=// |
Chris Lattner | 7a05e6d | 2010-08-28 20:42:31 +0000 | [diff] [blame] | 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Chris Lattner | 7a05e6d | 2010-08-28 20:42:31 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This defines functionality used to emit comments about X86 instructions to |
| 10 | // an output stream for -fverbose-asm. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
Benjamin Kramer | a7c40ef | 2014-08-13 16:26:38 +0000 | [diff] [blame] | 14 | #ifndef LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H |
| 15 | #define LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H |
Chris Lattner | 7a05e6d | 2010-08-28 20:42:31 +0000 | [diff] [blame] | 16 | |
| 17 | namespace llvm { |
Gadi Haber | 19c4fc5 | 2016-12-28 10:12:48 +0000 | [diff] [blame] | 18 | |
Chris Lattner | 7a05e6d | 2010-08-28 20:42:31 +0000 | [diff] [blame] | 19 | class MCInst; |
Craig Topper | 9804c67 | 2018-03-10 03:12:00 +0000 | [diff] [blame] | 20 | class MCInstrInfo; |
Chris Lattner | 7a05e6d | 2010-08-28 20:42:31 +0000 | [diff] [blame] | 21 | class raw_ostream; |
Chandler Carruth | 2317311 | 2014-09-03 22:46:44 +0000 | [diff] [blame] | 22 | bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, |
Craig Topper | a21758f | 2018-03-29 04:14:04 +0000 | [diff] [blame] | 23 | const MCInstrInfo &MCII); |
Chris Lattner | 7a05e6d | 2010-08-28 20:42:31 +0000 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | #endif |