Bump version to 15.0.4
[platform/upstream/llvm.git] / utils / bazel / llvm-project-overlay / llvm / include / llvm / Config / llvm-config.h
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
10 /* This is a manual port of config.h.cmake for the symbols that do not change
11    based on platform. Those that do change should not be defined here and
12    instead use Bazel cc_library defines. Some attempt has been made to extract
13    such symbols that do vary based on platform (for the platforms we care about)
14    into Bazel defines, but it is by no means complete, so if you see something
15    that looks wrong, it probably is. */
16
17
18 /* This file enumerates variables from the LLVM configuration so that they
19    can be in exported headers and won't override package specific directives.
20    This is a C header that can be included in the llvm-c headers. */
21
22 #ifndef LLVM_CONFIG_H
23 #define LLVM_CONFIG_H
24
25 /* Define if LLVM_ENABLE_DUMP is enabled */
26 /* #undef LLVM_ENABLE_DUMP */
27
28 /* Target triple LLVM will generate code for by default */
29 /* LLVM_DEFAULT_TARGET_TRIPLE defined in Bazel */
30
31 /* Define if threads enabled */
32 #define LLVM_ENABLE_THREADS 1
33
34 /* Has gcc/MSVC atomic intrinsics */
35 #define LLVM_HAS_ATOMICS 1
36
37 /* Host triple LLVM will be executed on */
38 /* LLVM_HOST_TRIPLE defined in Bazel */
39
40 /* LLVM architecture name for the native architecture, if available */
41 /* LLVM_NATIVE_ARCH defined in Bazel */
42
43 /* LLVM name for the native AsmParser init function, if available */
44 /* LLVM_NATIVE_ASMPARSER defined in Bazel */
45
46 /* LLVM name for the native AsmPrinter init function, if available */
47 /* LLVM_NATIVE_ASMPRINTER defined in Bazel */
48
49 /* LLVM name for the native Disassembler init function, if available */
50 /* LLVM_NATIVE_DISASSEMBLER defined in Bazel */
51
52 /* LLVM name for the native Target init function, if available */
53 /* LLVM_NATIVE_TARGET defined in Bazel */
54
55 /* LLVM name for the native TargetInfo init function, if available */
56 /* LLVM_NATIVE_TARGETINFO defined in Bazel */
57
58 /* LLVM name for the native target MC init function, if available */
59 /* LLVM_NATIVE_TARGETMC defined in Bazel */
60
61 /* LLVM name for the native target MCA init function, if available */
62 /* LLVM_NATIVE_TARGETMCA defined in Bazel */
63
64 /* Define if this is Unixish platform */
65 /* LLVM_ON_UNIX defined in Bazel */
66
67 /* Define if we have the Intel JIT API runtime support library */
68 #define LLVM_USE_INTEL_JITEVENTS 0
69
70 /* Define if we have the oprofile JIT-support library */
71 #define LLVM_USE_OPROFILE 0
72
73 /* Define if we have the perf JIT-support library */
74 #define LLVM_USE_PERF 0
75
76 /* Major version of the LLVM API */
77 #define LLVM_VERSION_MAJOR 15
78
79 /* Minor version of the LLVM API */
80 #define LLVM_VERSION_MINOR 0
81
82 /* Patch version of the LLVM API */
83 #define LLVM_VERSION_PATCH 4
84
85 /* LLVM version string */
86 #define LLVM_VERSION_STRING "15.0.4"
87
88 /* Whether LLVM records statistics for use with GetStatistics(),
89  * PrintStatistics() or PrintStatisticsJSON()
90  */
91 #define LLVM_FORCE_ENABLE_STATS 0
92
93 /* Define if we have z3 and want to build it */
94 /* #undef LLVM_WITH_Z3 */
95
96 /* Define if we have curl and want to use it */
97 /* #undef LLVM_ENABLE_CURL */
98
99 /* Define if we have cpp-httplib and want to use it */
100 /* #undef LLVM_ENABLE_HTTPLIB */
101
102 /* Define if LLVM was built with a dependency to the libtensorflow dynamic library */
103 /* #undef LLVM_HAVE_TF_API */
104
105 /* Define if LLVM was built with a dependency to the tensorflow compiler */
106 /* #undef LLVM_HAVE_TF_AOT */
107
108 /* Define to 1 if you have the <sysexits.h> header file. */
109 /* HAVE_SYSEXITS_H defined in Bazel */
110
111 /* Define if the xar_open() function is supported this platform. */
112 /* #undef HAVE_LIBXAR */
113
114 /* Define if building libLLVM shared library */
115 /* #undef LLVM_BUILD_LLVM_DYLIB */
116
117 /* Define if building LLVM with BUILD_SHARED_LIBS */
118 /* #undef LLVM_BUILD_SHARED_LIBS */
119
120 /* Define if building LLVM with LLVM_FORCE_USE_OLD_TOOLCHAIN_LIBS */
121 /* #undef LLVM_FORCE_USE_OLD_TOOLCHAIN ${LLVM_FORCE_USE_OLD_TOOLCHAIN} */
122
123 /* Define if llvm_unreachable should be optimized with undefined behavior
124  * in non assert builds */
125 #define LLVM_UNREACHABLE_OPTIMIZE 1
126
127 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
128 #define LLVM_ENABLE_DIA_SDK 0
129
130 #endif