| 1 | /*===------- llvm/Config/Targets.h - LLVM target checks -----------*- 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 enables clients to know whether specific targets are enabled. */ |
| 11 | |
| 12 | #ifndef LLVM_CONFIG_TARGETS_H |
| 13 | #define LLVM_CONFIG_TARGETS_H |
| 14 | |
| 15 | /* Define if the AArch64 target is built in */ |
| 16 | #define LLVM_HAS_AARCH64_TARGET 1 |
| 17 | |
| 18 | /* Define if the AMDGPU target is built in */ |
| 19 | #define LLVM_HAS_AMDGPU_TARGET 1 |
| 20 | |
| 21 | /* Define if the ARC target is built in */ |
| 22 | #define LLVM_HAS_ARC_TARGET 0 |
| 23 | |
| 24 | /* Define if the ARM target is built in */ |
| 25 | #define LLVM_HAS_ARM_TARGET 1 |
| 26 | |
| 27 | /* Define if the AVR target is built in */ |
| 28 | #define LLVM_HAS_AVR_TARGET 1 |
| 29 | |
| 30 | /* Define if the BPF target is built in */ |
| 31 | #define LLVM_HAS_BPF_TARGET 1 |
| 32 | |
| 33 | /* Define if the CSKY target is built in */ |
| 34 | #define LLVM_HAS_CSKY_TARGET 0 |
| 35 | |
| 36 | /* Define if the DirectX target is built in */ |
| 37 | #define LLVM_HAS_DIRECTX_TARGET 1 |
| 38 | |
| 39 | /* Define if the Hexagon target is built in */ |
| 40 | #define LLVM_HAS_HEXAGON_TARGET 1 |
| 41 | |
| 42 | /* Define if the Lanai target is built in */ |
| 43 | #define LLVM_HAS_LANAI_TARGET 1 |
| 44 | |
| 45 | /* Define if the LoongArch target is built in */ |
| 46 | #define LLVM_HAS_LOONGARCH_TARGET 1 |
| 47 | |
| 48 | /* Define if the M68k target is built in */ |
| 49 | #define LLVM_HAS_M68K_TARGET 0 |
| 50 | |
| 51 | /* Define if the Mips target is built in */ |
| 52 | #define LLVM_HAS_MIPS_TARGET 1 |
| 53 | |
| 54 | /* Define if the MSP430 target is built in */ |
| 55 | #define LLVM_HAS_MSP430_TARGET 1 |
| 56 | |
| 57 | /* Define if the NVPTX target is built in */ |
| 58 | #define LLVM_HAS_NVPTX_TARGET 1 |
| 59 | |
| 60 | /* Define if the PowerPC target is built in */ |
| 61 | #define LLVM_HAS_POWERPC_TARGET 1 |
| 62 | |
| 63 | /* Define if the RISCV target is built in */ |
| 64 | #define LLVM_HAS_RISCV_TARGET 1 |
| 65 | |
| 66 | /* Define if the Sparc target is built in */ |
| 67 | #define LLVM_HAS_SPARC_TARGET 1 |
| 68 | |
| 69 | /* Define if the SPIRV target is built in */ |
| 70 | #define LLVM_HAS_SPIRV_TARGET 1 |
| 71 | |
| 72 | /* Define if the SystemZ target is built in */ |
| 73 | #define LLVM_HAS_SYSTEMZ_TARGET 1 |
| 74 | |
| 75 | /* Define if the VE target is built in */ |
| 76 | #define LLVM_HAS_VE_TARGET 1 |
| 77 | |
| 78 | /* Define if the WebAssembly target is built in */ |
| 79 | #define LLVM_HAS_WEBASSEMBLY_TARGET 1 |
| 80 | |
| 81 | /* Define if the X86 target is built in */ |
| 82 | #define LLVM_HAS_X86_TARGET 1 |
| 83 | |
| 84 | /* Define if the XCore target is built in */ |
| 85 | #define LLVM_HAS_XCORE_TARGET 1 |
| 86 | |
| 87 | /* Define if the Xtensa target is built in */ |
| 88 | #define LLVM_HAS_XTENSA_TARGET 0 |
| 89 | |
| 90 | #endif |
| 91 | |