blob: 05f1683848a89230c6d216067cc2feaac779687c [file] [log] [blame]
Jia Liub22310f2012-02-18 12:03:15 +00001//=- X86InstComments.h - Generate verbose-asm comments for instrs -*- C++ -*-=//
Chris Lattner7a05e6d2010-08-28 20:42:31 +00002//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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 Lattner7a05e6d2010-08-28 20:42:31 +00006//
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 Kramera7c40ef2014-08-13 16:26:38 +000014#ifndef LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H
15#define LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H
Chris Lattner7a05e6d2010-08-28 20:42:31 +000016
17namespace llvm {
Gadi Haber19c4fc52016-12-28 10:12:48 +000018
Chris Lattner7a05e6d2010-08-28 20:42:31 +000019 class MCInst;
Craig Topper9804c672018-03-10 03:12:00 +000020 class MCInstrInfo;
Chris Lattner7a05e6d2010-08-28 20:42:31 +000021 class raw_ostream;
Chandler Carruth23173112014-09-03 22:46:44 +000022 bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
Craig Toppera21758f2018-03-29 04:14:04 +000023 const MCInstrInfo &MCII);
Chris Lattner7a05e6d2010-08-28 20:42:31 +000024}
25
26#endif