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