Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/X86InstComments.h
35294 views
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
17
namespace 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
27
28