blob: 6b86db4f9e5c97ad700fe6c42465fbf1fd9f1b42 [file] [log] [blame]
Chris Lattner6aa928d2010-08-28 20:42:31 +00001//===-- X86InstComments.h - Generate verbose-asm comments for instrs ------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This defines functionality used to emit comments about X86 instructions to
11// an output stream for -fverbose-asm.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef X86_INST_COMMENTS_H
16#define X86_INST_COMMENTS_H
17
18namespace llvm {
19 class MCInst;
20 class raw_ostream;
21 void EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
22 const char *(*getRegName)(unsigned));
23}
24
25#endif