LLVM 20.0.0git
X86InstComments.h
Go to the documentation of this file.
1//=- X86InstComments.h - Generate verbose-asm comments for instrs -*- C++ -*-=//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This defines functionality used to emit comments about X86 instructions to
10// an output stream for -fverbose-asm.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTCOMMENTS_H
15#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTCOMMENTS_H
16
17namespace llvm {
18
19 class MCInst;
20 class MCInstrInfo;
21 class raw_ostream;
22 bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
23 const MCInstrInfo &MCII);
24}
25
26#endif
IRTranslator LLVM IR MI
raw_pwrite_stream & OS
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, const MCInstrInfo &MCII)
EmitAnyX86InstComments - This function decodes x86 instructions and prints newline terminated strings...