1 //=- X86InstComments.h - Generate verbose-asm comments for instrs -*- C++ -*-=//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This defines functionality used to emit comments about X86 instructions to
11 // an output stream for -fverbose-asm.
13 //===----------------------------------------------------------------------===//
15 #ifndef X86_INST_COMMENTS_H
16 #define X86_INST_COMMENTS_H
21 void EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
22 const char *(*getRegName)(unsigned));