|
|
|||
File indexing completed on 2026-05-10 08:43:39
0001 /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/ 0002 /* */ 0003 /* Part of the LLVM Project, under the Apache License v2.0 with LLVM */ 0004 /* Exceptions. */ 0005 /* See https://llvm.org/LICENSE.txt for license information. */ 0006 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ 0007 /* */ 0008 /*===----------------------------------------------------------------------===*/ 0009 0010 /* This file enumerates variables from the LLVM configuration so that they 0011 can be in exported headers and won't override package specific directives. 0012 This is a C header that can be included in the llvm-c headers. */ 0013 0014 #ifndef LLVM_CONFIG_H 0015 #define LLVM_CONFIG_H 0016 0017 /* Define if LLVM_ENABLE_DUMP is enabled */ 0018 /* #undef LLVM_ENABLE_DUMP */ 0019 0020 /* Target triple LLVM will generate code for by default */ 0021 /* Doesn't use `cmakedefine` because it is allowed to be empty. */ 0022 #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu" 0023 0024 /* Define if threads enabled */ 0025 #define LLVM_ENABLE_THREADS 1 0026 0027 /* Has gcc/MSVC atomic intrinsics */ 0028 #define LLVM_HAS_ATOMICS 1 0029 0030 /* Host triple LLVM will be executed on */ 0031 #define LLVM_HOST_TRIPLE "x86_64-unknown-linux-gnu" 0032 0033 /* LLVM architecture name for the native architecture, if available */ 0034 #define LLVM_NATIVE_ARCH X86 0035 0036 /* LLVM name for the native AsmParser init function, if available */ 0037 #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser 0038 0039 /* LLVM name for the native AsmPrinter init function, if available */ 0040 #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter 0041 0042 /* LLVM name for the native Disassembler init function, if available */ 0043 #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler 0044 0045 /* LLVM name for the native Target init function, if available */ 0046 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target 0047 0048 /* LLVM name for the native TargetInfo init function, if available */ 0049 #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo 0050 0051 /* LLVM name for the native target MC init function, if available */ 0052 #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC 0053 0054 /* LLVM name for the native target MCA init function, if available */ 0055 /* #undef LLVM_NATIVE_TARGETMCA */ 0056 0057 /* Define if the AArch64 target is built in */ 0058 #define LLVM_HAS_AARCH64_TARGET 1 0059 0060 /* Define if the AMDGPU target is built in */ 0061 #define LLVM_HAS_AMDGPU_TARGET 1 0062 0063 /* Define if the ARC target is built in */ 0064 #define LLVM_HAS_ARC_TARGET 0 0065 0066 /* Define if the ARM target is built in */ 0067 #define LLVM_HAS_ARM_TARGET 1 0068 0069 /* Define if the AVR target is built in */ 0070 #define LLVM_HAS_AVR_TARGET 1 0071 0072 /* Define if the BPF target is built in */ 0073 #define LLVM_HAS_BPF_TARGET 1 0074 0075 /* Define if the CSKY target is built in */ 0076 #define LLVM_HAS_CSKY_TARGET 0 0077 0078 /* Define if the DirectX target is built in */ 0079 #define LLVM_HAS_DIRECTX_TARGET 0 0080 0081 /* Define if the Hexagon target is built in */ 0082 #define LLVM_HAS_HEXAGON_TARGET 1 0083 0084 /* Define if the Lanai target is built in */ 0085 #define LLVM_HAS_LANAI_TARGET 1 0086 0087 /* Define if the LoongArch target is built in */ 0088 #define LLVM_HAS_LOONGARCH_TARGET 1 0089 0090 /* Define if the M68k target is built in */ 0091 #define LLVM_HAS_M68K_TARGET 0 0092 0093 /* Define if the Mips target is built in */ 0094 #define LLVM_HAS_MIPS_TARGET 1 0095 0096 /* Define if the MSP430 target is built in */ 0097 #define LLVM_HAS_MSP430_TARGET 1 0098 0099 /* Define if the NVPTX target is built in */ 0100 #define LLVM_HAS_NVPTX_TARGET 1 0101 0102 /* Define if the PowerPC target is built in */ 0103 #define LLVM_HAS_POWERPC_TARGET 1 0104 0105 /* Define if the RISCV target is built in */ 0106 #define LLVM_HAS_RISCV_TARGET 1 0107 0108 /* Define if the Sparc target is built in */ 0109 #define LLVM_HAS_SPARC_TARGET 1 0110 0111 /* Define if the SPIRV target is built in */ 0112 #define LLVM_HAS_SPIRV_TARGET 1 0113 0114 /* Define if the SystemZ target is built in */ 0115 #define LLVM_HAS_SYSTEMZ_TARGET 1 0116 0117 /* Define if the VE target is built in */ 0118 #define LLVM_HAS_VE_TARGET 1 0119 0120 /* Define if the WebAssembly target is built in */ 0121 #define LLVM_HAS_WEBASSEMBLY_TARGET 1 0122 0123 /* Define if the X86 target is built in */ 0124 #define LLVM_HAS_X86_TARGET 1 0125 0126 /* Define if the XCore target is built in */ 0127 #define LLVM_HAS_XCORE_TARGET 1 0128 0129 /* Define if the Xtensa target is built in */ 0130 #define LLVM_HAS_XTENSA_TARGET 0 0131 0132 /* Define if this is Unixish platform */ 0133 #define LLVM_ON_UNIX 1 0134 0135 /* Define if we have the Intel JIT API runtime support library */ 0136 #define LLVM_USE_INTEL_JITEVENTS 0 0137 0138 /* Define if we have the oprofile JIT-support library */ 0139 #define LLVM_USE_OPROFILE 0 0140 0141 /* Define if we have the perf JIT-support library */ 0142 #define LLVM_USE_PERF 0 0143 0144 /* Major version of the LLVM API */ 0145 #define LLVM_VERSION_MAJOR 20 0146 0147 /* Minor version of the LLVM API */ 0148 #define LLVM_VERSION_MINOR 1 0149 0150 /* Patch version of the LLVM API */ 0151 #define LLVM_VERSION_PATCH 8 0152 0153 /* LLVM version string */ 0154 #define LLVM_VERSION_STRING "20.1.8" 0155 0156 /* Whether LLVM records statistics for use with GetStatistics(), 0157 * PrintStatistics() or PrintStatisticsJSON() 0158 */ 0159 #define LLVM_FORCE_ENABLE_STATS 0 0160 0161 /* Define if we have z3 and want to build it */ 0162 /* #undef LLVM_WITH_Z3 */ 0163 0164 /* Define if we have curl and want to use it */ 0165 /* #undef LLVM_ENABLE_CURL */ 0166 0167 /* Define if we have cpp-httplib and want to use it */ 0168 /* #undef LLVM_ENABLE_HTTPLIB */ 0169 0170 /* Define if zlib compression is available */ 0171 #define LLVM_ENABLE_ZLIB 1 0172 0173 /* Define if zstd compression is available */ 0174 #define LLVM_ENABLE_ZSTD 0 0175 0176 /* Define if LLVM is using tflite */ 0177 /* #undef LLVM_HAVE_TFLITE */ 0178 0179 /* Define to 1 if you have the <sysexits.h> header file. */ 0180 #define HAVE_SYSEXITS_H 1 0181 0182 /* Define if building libLLVM shared library */ 0183 #define LLVM_BUILD_LLVM_DYLIB 0184 0185 /* Define if building LLVM with BUILD_SHARED_LIBS */ 0186 /* #undef LLVM_BUILD_SHARED_LIBS */ 0187 0188 /* Define if building LLVM with LLVM_FORCE_USE_OLD_TOOLCHAIN_LIBS */ 0189 /* #undef LLVM_FORCE_USE_OLD_TOOLCHAIN */ 0190 0191 /* Define if llvm_unreachable should be optimized with undefined behavior 0192 * in non assert builds */ 0193 #define LLVM_UNREACHABLE_OPTIMIZE 1 0194 0195 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ 0196 #define LLVM_ENABLE_DIA_SDK 0 0197 0198 /* Define if plugins enabled */ 0199 #define LLVM_ENABLE_PLUGINS 0200 0201 /* Define if logf128 is available */ 0202 /* #undef LLVM_HAS_LOGF128 */ 0203 0204 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|