LLVM  6.0.0svn
X86InstComments.h
Go to the documentation of this file.
1 //=- X86InstComments.h - Generate verbose-asm comments for instrs -*- C++ -*-=//
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 LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H
16 #define LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H
17 
18 namespace llvm {
19 
20  enum AsmComments {
21  AC_EVEX_2_VEX = 0x2 // For instr that was compressed from EVEX to VEX.
22  };
23 
24  class MCInst;
25  class raw_ostream;
27  const char *(*getRegName)(unsigned));
28 }
29 
30 #endif
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
Instances of this class represent a single low-level machine instruction.
Definition: MCInst.h:159
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:44
IRTranslator LLVM IR MI
bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, const char *(*getRegName)(unsigned))
EmitAnyX86InstComments - This function decodes x86 instructions and prints newline terminated strings...