llvm-config-linux.h 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
  7. /* */
  8. /* Part of the LLVM Project, under the Apache License v2.0 with LLVM */
  9. /* Exceptions. */
  10. /* See https://llvm.org/LICENSE.txt for license information. */
  11. /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
  12. /* */
  13. /*===----------------------------------------------------------------------===*/
  14. /* This file enumerates variables from the LLVM configuration so that they
  15. can be in exported headers and won't override package specific directives.
  16. This is a C header that can be included in the llvm-c headers. */
  17. #ifndef LLVM_CONFIG_H
  18. #define LLVM_CONFIG_H
  19. /* Define if LLVM_ENABLE_DUMP is enabled */
  20. #define LLVM_ENABLE_DUMP
  21. /* Target triple LLVM will generate code for by default */
  22. #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu"
  23. /* Define if threads enabled */
  24. #define LLVM_ENABLE_THREADS 1
  25. /* Has gcc/MSVC atomic intrinsics */
  26. #define LLVM_HAS_ATOMICS 1
  27. /* Host triple LLVM will be executed on */
  28. #define LLVM_HOST_TRIPLE "x86_64-unknown-linux-gnu"
  29. /* LLVM architecture name for the native architecture, if available */
  30. #define LLVM_NATIVE_ARCH X86
  31. /* LLVM name for the native AsmParser init function, if available */
  32. #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
  33. /* LLVM name for the native AsmPrinter init function, if available */
  34. #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
  35. /* LLVM name for the native Disassembler init function, if available */
  36. #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
  37. /* LLVM name for the native Target init function, if available */
  38. #define LLVM_NATIVE_TARGET LLVMInitializeX86Target
  39. /* LLVM name for the native TargetInfo init function, if available */
  40. #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
  41. /* LLVM name for the native target MC init function, if available */
  42. #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
  43. /* LLVM name for the native target MCA init function, if available */
  44. /* #undef LLVM_NATIVE_TARGETMCA */
  45. /* Define if this is Unixish platform */
  46. #define LLVM_ON_UNIX 1
  47. /* Define if we have the Intel JIT API runtime support library */
  48. #define LLVM_USE_INTEL_JITEVENTS 0
  49. /* Define if we have the oprofile JIT-support library */
  50. #define LLVM_USE_OPROFILE 0
  51. /* Define if we have the perf JIT-support library */
  52. #define LLVM_USE_PERF 1
  53. /* Major version of the LLVM API */
  54. #define LLVM_VERSION_MAJOR 14
  55. /* Minor version of the LLVM API */
  56. #define LLVM_VERSION_MINOR 0
  57. /* Patch version of the LLVM API */
  58. #define LLVM_VERSION_PATCH 6
  59. /* LLVM version string */
  60. #define LLVM_VERSION_STRING "14.0.6"
  61. /* Whether LLVM records statistics for use with GetStatistics(),
  62. * PrintStatistics() or PrintStatisticsJSON()
  63. */
  64. #define LLVM_FORCE_ENABLE_STATS 0
  65. /* Define if we have z3 and want to build it */
  66. /* #undef LLVM_WITH_Z3 */
  67. /* Define if we have curl and want to use it */
  68. /* #undef LLVM_ENABLE_CURL */
  69. /* Define if zlib compression is available */
  70. #define LLVM_ENABLE_ZLIB 1
  71. /* Define if LLVM was built with a dependency to the libtensorflow dynamic library */
  72. /* #undef LLVM_HAVE_TF_API */
  73. /* Define to 1 if you have the <sysexits.h> header file. */
  74. #define HAVE_SYSEXITS_H 1
  75. /* Define to 1 to enable the experimental new pass manager by default */
  76. #define LLVM_ENABLE_NEW_PASS_MANAGER 1
  77. /* Define if the xar_open() function is supported on this platform. */
  78. /* #undef LLVM_HAVE_LIBXAR */
  79. /* Define if building libLLVM shared library */
  80. /* #undef LLVM_BUILD_LLVM_DYLIB */
  81. /* Define if building LLVM with BUILD_SHARED_LIBS */
  82. #define LLVM_BUILD_SHARED_LIBS
  83. /* Define if building LLVM with LLVM_FORCE_USE_OLD_TOOLCHAIN_LIBS */
  84. /* #undef LLVM_FORCE_USE_OLD_TOOLCHAIN */
  85. #endif
  86. #ifdef __GNUC__
  87. #pragma GCC diagnostic pop
  88. #endif