Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 1 | /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/ |
| 2 | /* */ |
Andrew Walbran | 16937d0 | 2019-10-22 13:54:20 +0100 | [diff] [blame] | 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 */ |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 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 | /* #undef LLVM_ENABLE_DUMP */ |
| 19 | |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 20 | /* Target triple LLVM will generate code for by default */ |
| 21 | #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu" |
| 22 | |
| 23 | /* Define if threads enabled */ |
| 24 | #define LLVM_ENABLE_THREADS 1 |
| 25 | |
| 26 | /* Has gcc/MSVC atomic intrinsics */ |
| 27 | #define LLVM_HAS_ATOMICS 1 |
| 28 | |
| 29 | /* Host triple LLVM will be executed on */ |
| 30 | #define LLVM_HOST_TRIPLE "x86_64-unknown-linux-gnu" |
| 31 | |
| 32 | /* LLVM architecture name for the native architecture, if available */ |
| 33 | #define LLVM_NATIVE_ARCH X86 |
| 34 | |
| 35 | /* LLVM name for the native AsmParser init function, if available */ |
| 36 | #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser |
| 37 | |
| 38 | /* LLVM name for the native AsmPrinter init function, if available */ |
| 39 | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter |
| 40 | |
| 41 | /* LLVM name for the native Disassembler init function, if available */ |
| 42 | #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler |
| 43 | |
| 44 | /* LLVM name for the native Target init function, if available */ |
| 45 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target |
| 46 | |
| 47 | /* LLVM name for the native TargetInfo init function, if available */ |
| 48 | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo |
| 49 | |
| 50 | /* LLVM name for the native target MC init function, if available */ |
| 51 | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC |
| 52 | |
| 53 | /* Define if this is Unixish platform */ |
| 54 | #define LLVM_ON_UNIX 1 |
| 55 | |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 56 | /* Define if we have the Intel JIT API runtime support library */ |
| 57 | #define LLVM_USE_INTEL_JITEVENTS 0 |
| 58 | |
| 59 | /* Define if we have the oprofile JIT-support library */ |
| 60 | #define LLVM_USE_OPROFILE 0 |
| 61 | |
Andrew Scull | cdfcccc | 2018-10-05 20:58:37 +0100 | [diff] [blame] | 62 | /* Define if we have the perf JIT-support library */ |
| 63 | #define LLVM_USE_PERF 0 |
| 64 | |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 65 | /* Major version of the LLVM API */ |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame^] | 66 | #define LLVM_VERSION_MAJOR 12 |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 67 | |
| 68 | /* Minor version of the LLVM API */ |
| 69 | #define LLVM_VERSION_MINOR 0 |
| 70 | |
| 71 | /* Patch version of the LLVM API */ |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame^] | 72 | #define LLVM_VERSION_PATCH 5 |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 73 | |
| 74 | /* LLVM version string */ |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame^] | 75 | #define LLVM_VERSION_STRING "12.0.5git" |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 76 | |
| 77 | /* Whether LLVM records statistics for use with GetStatistics(), |
| 78 | * PrintStatistics() or PrintStatisticsJSON() |
| 79 | */ |
| 80 | #define LLVM_FORCE_ENABLE_STATS 0 |
| 81 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame^] | 82 | /* Define if we have z3 and want to build it */ |
| 83 | /* #undef LLVM_WITH_Z3 */ |
| 84 | |
| 85 | /* Define if LLVM was built with a dependency to the libtensorflow dynamic library */ |
| 86 | /* #undef LLVM_HAVE_TF_API */ |
| 87 | |
| 88 | /* Define if LLVM was built with a dependency to the tensorflow compiler */ |
| 89 | /* #undef LLVM_HAVE_TF_AOT */ |
| 90 | |
| 91 | /* Define to 1 if you have the <sysexits.h> header file. */ |
| 92 | #define HAVE_SYSEXITS_H 1 |
| 93 | |
| 94 | /* Define to 1 to enable the experimental new pass manager by default */ |
| 95 | #define LLVM_ENABLE_NEW_PASS_MANAGER 0 |
| 96 | |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 97 | #endif |