2 /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
4 /* Part of the LLVM Project, under the Apache License v2.0 with LLVM */
6 /* See https://llvm.org/LICENSE.txt for license information. */
7 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
9 /*===----------------------------------------------------------------------===*/
11 /* This file enumerates variables from the LLVM configuration so that they
12 can be in exported headers and won't override package specific directives.
13 This is a C header that can be included in the llvm-c headers. */
18 /* Define if LLVM_ENABLE_DUMP is enabled */
19 /* #undef LLVM_ENABLE_DUMP */
21 /* Target triple LLVM will generate code for by default */
22 /* Doesn't use `cmakedefine` because it is allowed to be empty. */
23 /* #undef LLVM_DEFAULT_TARGET_TRIPLE */
25 /* Define if threads enabled */
26 #define LLVM_ENABLE_THREADS 1
28 /* Has gcc/MSVC atomic intrinsics */
29 #define LLVM_HAS_ATOMICS 1
31 /* Host triple LLVM will be executed on */
32 /* #undef LLVM_HOST_TRIPLE */
34 /* LLVM architecture name for the native architecture, if available */
35 /* #undef LLVM_NATIVE_ARCH */
37 /* LLVM name for the native AsmParser init function, if available */
38 /* #undef LLVM_NATIVE_ASMPARSER */
40 /* LLVM name for the native AsmPrinter init function, if available */
41 /* #undef LLVM_NATIVE_ASMPRINTER */
43 /* LLVM name for the native Disassembler init function, if available */
44 /* #undef LLVM_NATIVE_DISASSEMBLER */
46 /* LLVM name for the native Target init function, if available */
47 /* #undef LLVM_NATIVE_TARGET */
49 /* LLVM name for the native TargetInfo init function, if available */
50 /* #undef LLVM_NATIVE_TARGETINFO */
52 /* LLVM name for the native target MC init function, if available */
53 /* #undef LLVM_NATIVE_TARGETMC */
55 /* LLVM name for the native target MCA init function, if available */
56 /* #undef LLVM_NATIVE_TARGETMCA */
58 /* Define if this is Unixish platform */
59 #define LLVM_ON_UNIX 1
61 /* Define if we have the Intel JIT API runtime support library */
62 #define LLVM_USE_INTEL_JITEVENTS 0
64 /* Define if we have the oprofile JIT-support library */
65 #define LLVM_USE_OPROFILE 0
67 /* Define if we have the perf JIT-support library */
68 #define LLVM_USE_PERF 0
70 /* Major version of the LLVM API */
71 #define LLVM_VERSION_MAJOR 15
73 /* Minor version of the LLVM API */
74 #define LLVM_VERSION_MINOR 0
76 /* Patch version of the LLVM API */
77 #define LLVM_VERSION_PATCH 0
79 /* LLVM version string */
80 #define LLVM_VERSION_STRING "15.0.0git"
82 /* Whether LLVM records statistics for use with GetStatistics(),
83 * PrintStatistics() or PrintStatisticsJSON()
85 #define LLVM_FORCE_ENABLE_STATS 0
87 /* Define if we have z3 and want to build it */
88 /* #undef LLVM_WITH_Z3 */
90 /* Define if we have curl and want to use it */
91 /* #undef LLVM_ENABLE_CURL */
93 /* Define if we have cpp-httplib and want to use it */
94 /* #undef LLVM_ENABLE_HTTPLIB */
96 /* Define if zlib compression is available */
97 #define LLVM_ENABLE_ZLIB 1
99 /* Define if zstd compression is available */
100 #define LLVM_ENABLE_ZSTD 0
102 /* Define if LLVM was built with a dependency to the libtensorflow dynamic library */
103 /* #undef LLVM_HAVE_TF_API */
105 /* Define to 1 if you have the <sysexits.h> header file. */
106 #define HAVE_SYSEXITS_H 1
108 /* Define if the xar_open() function is supported on this platform. */
109 #if defined(__APPLE__)
110 #define LLVM_HAVE_LIBXAR 1
113 /* Define if building libLLVM shared library */
114 /* #undef LLVM_BUILD_LLVM_DYLIB */
116 /* Define if building LLVM with BUILD_SHARED_LIBS */
117 /* #undef LLVM_BUILD_SHARED_LIBS */
119 /* Define if building LLVM with LLVM_FORCE_USE_OLD_TOOLCHAIN_LIBS */
120 /* #undef LLVM_FORCE_USE_OLD_TOOLCHAIN */
122 /* Define if llvm_unreachable should be optimized with undefined behavior
123 * in non assert builds */
124 #define LLVM_UNREACHABLE_OPTIMIZE 1
126 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
127 #define LLVM_ENABLE_DIA_SDK 0