llvm-config.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. /* #undef LLVM_ENABLE_DUMP */
  16. /* Define if we link Polly to the tools */
  17. /* #undef LINK_POLLY_INTO_TOOLS */
  18. /* Target triple LLVM will generate code for by default */
  19. #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-pc-windows-msvc"
  20. /* Define if threads enabled */
  21. #define LLVM_ENABLE_THREADS 1
  22. /* Has gcc/MSVC atomic intrinsics */
  23. #define LLVM_HAS_ATOMICS 1
  24. /* Host triple LLVM will be executed on */
  25. #define LLVM_HOST_TRIPLE "x86_64-pc-windows-msvc"
  26. /* LLVM architecture name for the native architecture, if available */
  27. #define LLVM_NATIVE_ARCH X86
  28. /* LLVM name for the native AsmParser init function, if available */
  29. #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
  30. /* LLVM name for the native AsmPrinter init function, if available */
  31. #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
  32. /* LLVM name for the native Disassembler init function, if available */
  33. #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
  34. /* LLVM name for the native Target init function, if available */
  35. #define LLVM_NATIVE_TARGET LLVMInitializeX86Target
  36. /* LLVM name for the native TargetInfo init function, if available */
  37. #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
  38. /* LLVM name for the native target MC init function, if available */
  39. #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
  40. /* Define if this is Unixish platform */
  41. /* #undef LLVM_ON_UNIX */
  42. /* Define if we have the Intel JIT API runtime support library */
  43. #define LLVM_USE_INTEL_JITEVENTS 0
  44. /* Define if we have the oprofile JIT-support library */
  45. #define LLVM_USE_OPROFILE 0
  46. /* Define if we have the perf JIT-support library */
  47. #define LLVM_USE_PERF 0
  48. /* Major version of the LLVM API */
  49. #define LLVM_VERSION_MAJOR 11
  50. /* Minor version of the LLVM API */
  51. #define LLVM_VERSION_MINOR 0
  52. /* Patch version of the LLVM API */
  53. #define LLVM_VERSION_PATCH 1
  54. /* LLVM version string */
  55. #define LLVM_VERSION_STRING "11.0.1"
  56. /* Whether LLVM records statistics for use with GetStatistics(),
  57. * PrintStatistics() or PrintStatisticsJSON()
  58. */
  59. #define LLVM_FORCE_ENABLE_STATS 0
  60. #endif