LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
lib
Target
X86
InstPrinter
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;
26
bool
EmitAnyX86InstComments
(
const
MCInst *
MI
, raw_ostream &OS,
27
const
char
*(*getRegName)(
unsigned
));
28
}
29
30
#endif
llvm::AsmComments
AsmComments
Definition:
X86InstComments.h:20
llvm::AC_EVEX_2_VEX
Definition:
X86InstComments.h:21
MI
IRTranslator LLVM IR MI
Definition:
IRTranslator.cpp:40
llvm::EmitAnyX86InstComments
bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, const char *(*getRegName)(unsigned))
EmitAnyX86InstComments - This function decodes x86 instructions and prints newline terminated strings...
Definition:
X86InstComments.cpp:416
Generated on Wed Mar 8 2017 17:31:33 for LLVM by
1.8.6