xref: /freebsd/lib/clang/include/llvm/Config/llvm-config.h (revision 994297b01b98816bea1abf45ae4bac1bc69ee7a0)
1 /* $FreeBSD$ */
2 /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
3 /*                                                                            */
4 /* Part of the LLVM Project, under the Apache License v2.0 with LLVM          */
5 /* Exceptions.                                                                */
6 /* See https://llvm.org/LICENSE.txt for license information.                  */
7 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception                    */
8 /*                                                                            */
9 /*===----------------------------------------------------------------------===*/
10 
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. */
14 
15 #ifndef LLVM_CONFIG_H
16 #define LLVM_CONFIG_H
17 
18 /* Define if LLVM_ENABLE_DUMP is enabled */
19 /* #undef LLVM_ENABLE_DUMP */
20 
21 /* Target triple LLVM will generate code for by default */
22 /* #undef LLVM_DEFAULT_TARGET_TRIPLE */
23 
24 /* Define if threads enabled */
25 #define LLVM_ENABLE_THREADS 1
26 
27 /* Has gcc/MSVC atomic intrinsics */
28 #define LLVM_HAS_ATOMICS 1
29 
30 /* Host triple LLVM will be executed on */
31 /* #undef LLVM_HOST_TRIPLE */
32 
33 /* LLVM architecture name for the native architecture, if available */
34 /* #undef LLVM_NATIVE_ARCH */
35 
36 /* LLVM name for the native AsmParser init function, if available */
37 /* #undef LLVM_NATIVE_ASMPARSER */
38 
39 /* LLVM name for the native AsmPrinter init function, if available */
40 /* #undef LLVM_NATIVE_ASMPRINTER */
41 
42 /* LLVM name for the native Disassembler init function, if available */
43 /* #undef LLVM_NATIVE_DISASSEMBLER */
44 
45 /* LLVM name for the native Target init function, if available */
46 /* #undef LLVM_NATIVE_TARGET */
47 
48 /* LLVM name for the native TargetInfo init function, if available */
49 /* #undef LLVM_NATIVE_TARGETINFO */
50 
51 /* LLVM name for the native target MC init function, if available */
52 /* #undef LLVM_NATIVE_TARGETMC */
53 
54 /* Define if this is Unixish platform */
55 #define LLVM_ON_UNIX 1
56 
57 /* Define if we have the Intel JIT API runtime support library */
58 #define LLVM_USE_INTEL_JITEVENTS 0
59 
60 /* Define if we have the oprofile JIT-support library */
61 #define LLVM_USE_OPROFILE 0
62 
63 /* Define if we have the perf JIT-support library */
64 #define LLVM_USE_PERF 0
65 
66 /* Major version of the LLVM API */
67 #define LLVM_VERSION_MAJOR 13
68 
69 /* Minor version of the LLVM API */
70 #define LLVM_VERSION_MINOR 0
71 
72 /* Patch version of the LLVM API */
73 #define LLVM_VERSION_PATCH 0
74 
75 /* LLVM version string */
76 #define LLVM_VERSION_STRING "13.0.0"
77 
78 /* Whether LLVM records statistics for use with GetStatistics(),
79  * PrintStatistics() or PrintStatisticsJSON()
80  */
81 #define LLVM_FORCE_ENABLE_STATS 0
82 
83 /* Define if we have z3 and want to build it */
84 /* #undef LLVM_WITH_Z3 */
85 
86 /* Define if LLVM was built with a dependency to the libtensorflow dynamic library */
87 /* #undef LLVM_HAVE_TF_API */
88 
89 /* Define if LLVM was built with a dependency to the tensorflow compiler */
90 /* #undef LLVM_HAVE_TF_AOT */
91 
92 /* Define to 1 if you have the <sysexits.h> header file. */
93 #define HAVE_SYSEXITS_H 1
94 
95 /* Define to 1 to enable the experimental new pass manager by default */
96 #define LLVM_ENABLE_NEW_PASS_MANAGER 1
97 
98 /* Define if the xar_open() function is supported on this platform. */
99 #if defined(__APPLE__)
100 #define LLVM_HAVE_LIBXAR 1
101 #endif
102 
103 /* Whether Timers signpost passes in Xcode Instruments */
104 #if defined(__APPLE__)
105 #define LLVM_SUPPORT_XCODE_SIGNPOSTS 1
106 #else
107 #define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
108 #endif
109 
110 
111 #endif
112