| 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 | /* Define if LLVM_ENABLE_DUMP is enabled */ |
| 18 | #define LLVM_ENABLE_DUMP |
| 19 | |
| 20 | /* Target triple LLVM will generate code for by default */ |
| 21 | /* Doesn't use `cmakedefine` because it is allowed to be empty. */ |
| 22 | #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-pc-linux-gnu" |
| 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 | #define LLVM_HOST_TRIPLE "x86_64-pc-linux-gnu" |
| 32 | |
| 33 | /* LLVM architecture name for the native architecture, if available */ |
| 34 | #define LLVM_NATIVE_ARCH X86 |
| 35 | |
| 36 | /* LLVM name for the native AsmParser init function, if available */ |
| 37 | #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser |
| 38 | |
| 39 | /* LLVM name for the native AsmPrinter init function, if available */ |
| 40 | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter |
| 41 | |
| 42 | /* LLVM name for the native Disassembler init function, if available */ |
| 43 | #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler |
| 44 | |
| 45 | /* LLVM name for the native Target init function, if available */ |
| 46 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target |
| 47 | |
| 48 | /* LLVM name for the native TargetInfo init function, if available */ |
| 49 | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo |
| 50 | |
| 51 | /* LLVM name for the native target MC init function, if available */ |
| 52 | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC |
| 53 | |
| 54 | /* LLVM name for the native target MCA init function, if available */ |
| 55 | /* #undef LLVM_NATIVE_TARGETMCA */ |
| 56 | |
| 57 | /* Define if this is Unixish platform */ |
| 58 | #define LLVM_ON_UNIX 1 |
| 59 | |
| 60 | /* Define if we have the Intel JIT API runtime support library */ |
| 61 | #define LLVM_USE_INTEL_JITEVENTS 0 |
| 62 | |
| 63 | /* Define if we have the oprofile JIT-support library */ |
| 64 | #define LLVM_USE_OPROFILE 0 |
| 65 | |
| 66 | /* Define if we have the perf JIT-support library */ |
| 67 | #define LLVM_USE_PERF 1 |
| 68 | |
| 69 | /* Major version of the LLVM API */ |
| 70 | #define LLVM_VERSION_MAJOR 17 |
| 71 | |
| 72 | /* Minor version of the LLVM API */ |
| 73 | #define LLVM_VERSION_MINOR 0 |
| 74 | |
| 75 | /* Patch version of the LLVM API */ |
| 76 | #define LLVM_VERSION_PATCH 6 |
| 77 | |
| 78 | /* LLVM version string */ |
| 79 | #define LLVM_VERSION_STRING "17.0.6" |
| 80 | |
| 81 | /* Whether LLVM records statistics for use with GetStatistics(), |
| 82 | * PrintStatistics() or PrintStatisticsJSON() |
| 83 | */ |
| 84 | #define LLVM_FORCE_ENABLE_STATS 0 |
| 85 | |
| 86 | /* Define if we have z3 and want to build it */ |
| 87 | /* #undef LLVM_WITH_Z3 */ |
| 88 | |
| 89 | /* Define if we have curl and want to use it */ |
| 90 | #define LLVM_ENABLE_CURL 1 |
| 91 | |
| 92 | /* Define if we have cpp-httplib and want to use it */ |
| 93 | /* #undef LLVM_ENABLE_HTTPLIB */ |
| 94 | |
| 95 | /* Define if zlib compression is available */ |
| 96 | #define LLVM_ENABLE_ZLIB 1 |
| 97 | |
| 98 | /* Define if zstd compression is available */ |
| 99 | #define LLVM_ENABLE_ZSTD 1 |
| 100 | |
| 101 | /* Define if LLVM is using tflite instead of libtensorflow */ |
| 102 | /* #undef LLVM_HAVE_TFLITE */ |
| 103 | |
| 104 | /* Define to 1 if you have the <sysexits.h> header file. */ |
| 105 | #define HAVE_SYSEXITS_H 1 |
| 106 | |
| 107 | /* Define if the xar_open() function is supported on this platform. */ |
| 108 | /* #undef LLVM_HAVE_LIBXAR */ |
| 109 | |
| 110 | /* Define if building libLLVM shared library */ |
| 111 | #define LLVM_BUILD_LLVM_DYLIB |
| 112 | |
| 113 | /* Define if building LLVM with BUILD_SHARED_LIBS */ |
| 114 | /* #undef LLVM_BUILD_SHARED_LIBS */ |
| 115 | |
| 116 | /* Define if building LLVM with LLVM_FORCE_USE_OLD_TOOLCHAIN_LIBS */ |
| 117 | /* #undef LLVM_FORCE_USE_OLD_TOOLCHAIN */ |
| 118 | |
| 119 | /* Define if llvm_unreachable should be optimized with undefined behavior |
| 120 | * in non assert builds */ |
| 121 | #define LLVM_UNREACHABLE_OPTIMIZE 1 |
| 122 | |
| 123 | /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ |
| 124 | #define LLVM_ENABLE_DIA_SDK 0 |
| 125 | |
| 126 | /* Define if plugins enabled */ |
| 127 | #define LLVM_ENABLE_PLUGINS |
| 128 | |
| 129 | #endif |
| 130 | |