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 file enumerates variables from the LLVM configuration so that they
11   can be in exported headers and won't override package specific directives.
12   This is a C header that can be included in the llvm-c headers. */
13
14#ifndef LLVM_CONFIG_H
15#define LLVM_CONFIG_H
16
17/*
18 * When bsd.lib.mk builds shared libraries it builds with -DPIC which
19 * causes problems in the following files which use PIC as a variable name.
20 * undefine PIC here to minimise the diff to upstream LLVM
21 *
22 * include/llvm/MC/MCObjectFileInfo.h
23 * lib/MC/MCObjectFileInfo.cpp
24 * lib/Transforms/Scalar/LICM.cpp
25 * lib/Transforms/Utils/PredicateInfo.cpp
26 */
27#undef PIC
28
29/* Define if LLVM_ENABLE_DUMP is enabled */
30/* #undef LLVM_ENABLE_DUMP */
31
32/* Define if threads enabled */
33#define LLVM_ENABLE_THREADS 1
34
35/* Has gcc/MSVC atomic intrinsics */
36#define LLVM_HAS_ATOMICS 1
37
38/* Define if this is Unixish platform */
39#define LLVM_ON_UNIX 1
40
41/* Define if we have the Intel JIT API runtime support library */
42#define LLVM_USE_INTEL_JITEVENTS 0
43
44/* Define if we have the oprofile JIT-support library */
45#define LLVM_USE_OPROFILE 0
46
47/* Define if we have the perf JIT-support library */
48#define LLVM_USE_PERF 0
49
50/* Major version of the LLVM API */
51#define LLVM_VERSION_MAJOR 16
52
53/* Minor version of the LLVM API */
54#define LLVM_VERSION_MINOR 0
55
56/* Patch version of the LLVM API */
57#define LLVM_VERSION_PATCH 6
58
59/* LLVM version string */
60#define LLVM_VERSION_STRING "16.0.6"
61
62/* Whether LLVM records statistics for use with GetStatistics(),
63 * PrintStatistics() or PrintStatisticsJSON()
64 */
65#define LLVM_FORCE_ENABLE_STATS 0
66
67/* Define if we have z3 and want to build it */
68/* #undef LLVM_WITH_Z3 */
69
70/* Define if we have curl and want to use it */
71/* #undef LLVM_ENABLE_CURL */
72
73/* Define if we have cpp-httplib and want to use it */
74/* #undef LLVM_ENABLE_HTTPLIB */
75
76/* Define if zlib compression is available */
77#define LLVM_ENABLE_ZLIB 0
78
79/* Define if zstd compression is available */
80#define LLVM_ENABLE_ZSTD 0
81
82/* Define to 1 if you have the <sysexits.h> header file. */
83#define HAVE_SYSEXITS_H 1
84
85/* Define if the xar_open() function is supported on this platform. */
86/* #undef LLVM_HAVE_LIBXAR */
87
88/* Define if building LLVM with LLVM_FORCE_USE_OLD_TOOLCHAIN_LIBS */
89/* #undef LLVM_FORCE_USE_OLD_TOOLCHAIN */
90
91/* Define if llvm_unreachable should be optimized with undefined behavior
92 * in non assert builds */
93#define LLVM_UNREACHABLE_OPTIMIZE 1
94
95/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
96#define LLVM_ENABLE_DIA_SDK 0
97
98/* Define if plugins enabled */
99/* #undef LLVM_ENABLE_PLUGINS */
100
101