llvm-config-osx.h 3.4 KB

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