summaryrefslogtreecommitdiff
path: root/lib/Target/X86/InstPrinter/X86InstComments.h
blob: 6b86db4f9e5c97ad700fe6c42465fbf1fd9f1b42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===-- X86InstComments.h - Generate verbose-asm comments for instrs ------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This defines functionality used to emit comments about X86 instructions to
// an output stream for -fverbose-asm.
//
//===----------------------------------------------------------------------===//

#ifndef X86_INST_COMMENTS_H
#define X86_INST_COMMENTS_H

namespace llvm {
  class MCInst;
  class raw_ostream;
  void EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
                              const char *(*getRegName)(unsigned));
}

#endif