X86InstComments.h 900 B

1234567891011121314151617181920212223242526
  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. #ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTCOMMENTS_H
  14. #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTCOMMENTS_H
  15. namespace llvm {
  16. class MCInst;
  17. class MCInstrInfo;
  18. class raw_ostream;
  19. bool EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS,
  20. const MCInstrInfo &MCII);
  21. }
  22. #endif