NVPTXMCTargetDesc.h 997 B

123456789101112131415161718192021222324252627282930
  1. //===-- NVPTXMCTargetDesc.h - NVPTX Target Descriptions ---------*- 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 file provides NVPTX specific target descriptions.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. #ifndef LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H
  13. #define LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H
  14. #include <stdint.h>
  15. // Defines symbolic names for PTX registers.
  16. #define GET_REGINFO_ENUM
  17. #include "NVPTXGenRegisterInfo.inc"
  18. // Defines symbolic names for the PTX instructions.
  19. #define GET_INSTRINFO_ENUM
  20. #define GET_INSTRINFO_MC_HELPER_DECLS
  21. #include "NVPTXGenInstrInfo.inc"
  22. #define GET_SUBTARGETINFO_ENUM
  23. #include "NVPTXGenSubtargetInfo.inc"
  24. #endif