1//=- X86InstComments.h - Generate verbose-asm comments for instrs -*- C++ -*-=//
2//
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
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
14#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTCOMMENTS_H
15#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTCOMMENTS_H
16
17namespace llvm {
18
19 class MCInst;
20 class MCInstrInfo;
21 class raw_ostream;
22 bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
23 const MCInstrInfo &MCII);
24}
25
26#endif
27

source code of llvm/lib/Target/X86/MCTargetDesc/X86InstComments.h