xref: /openbsd-src/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in (revision 5a38ef86d0b61900239c7913d24a05e7b88a58f0)
1/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
2/*                                                                            */
3/*                     The LLVM Compiler Infrastructure                       */
4/*                                                                            */
5/* This file is distributed under the University of Illinois Open Source      */
6/* License. See LICENSE.TXT for details.                                      */
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 13
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 0
58
59/* LLVM version string */
60#define LLVM_VERSION_STRING "13.0.0"
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 LLVM was built with a dependency to the libtensorflow dynamic library */
71/* #undef LLVM_HAVE_TF_API */
72
73/* Define if LLVM was built with a dependency to the tensorflow compiler */
74/* #undef LLVM_HAVE_TF_AOT */
75
76/* Define to 1 if you have the <sysexits.h> header file. */
77#define HAVE_SYSEXITS_H 1
78
79/* Define to 1 to enable the experimental new pass manager by default */
80#define LLVM_ENABLE_NEW_PASS_MANAGER 0
81
82/* Define if the xar_open() function is supported on this platform. */
83/* #undef LLVM_HAVE_LIBXAR */
84
85/* Whether Timers signpost passes in Xcode Instruments */
86#define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
87
88