xref: /freebsd/lib/clang/include/llvm/Config/Disassemblers.def (revision 7a6dacaca14b62ca4b74406814becb87a3fefac0)
1/*===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- 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 all of the assembly-language parsers                  *|
11|* supported by this build of LLVM. Clients of this file should define        *|
12|* the LLVM_DISASSEMBLER macro to be a function-like macro with a             *|
13|* single parameter (the name of the target whose assembly can be             *|
14|* generated); including this file will then enumerate all of the             *|
15|* targets with assembly parsers.                                             *|
16|*                                                                            *|
17|* The set of targets supported by LLVM is generated at configuration         *|
18|* time, at which point this header is generated. Do not modify this          *|
19|* header directly.                                                           *|
20|*                                                                            *|
21\*===----------------------------------------------------------------------===*/
22
23#ifndef LLVM_DISASSEMBLER
24#  error Please define the macro LLVM_DISASSEMBLER(TargetName)
25#endif
26
27#ifdef LLVM_TARGET_ENABLE_AARCH64
28LLVM_DISASSEMBLER(AArch64)
29#endif
30#ifdef LLVM_TARGET_ENABLE_ARM
31LLVM_DISASSEMBLER(ARM)
32#endif
33#ifdef LLVM_TARGET_ENABLE_BPF
34LLVM_DISASSEMBLER(BPF)
35#endif
36#ifdef LLVM_TARGET_ENABLE_MIPS
37LLVM_DISASSEMBLER(Mips)
38#endif
39#ifdef LLVM_TARGET_ENABLE_POWERPC
40LLVM_DISASSEMBLER(PowerPC)
41#endif
42#ifdef LLVM_TARGET_ENABLE_RISCV
43LLVM_DISASSEMBLER(RISCV)
44#endif
45#ifdef LLVM_TARGET_ENABLE_SPARC
46LLVM_DISASSEMBLER(Sparc)
47#endif
48#ifdef LLVM_TARGET_ENABLE_X86
49LLVM_DISASSEMBLER(X86)
50#endif
51
52
53#undef LLVM_DISASSEMBLER
54