1 | /*===----- llvm/Config/TargetExegesis.def - LLVM Target Exegesis-*- 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 target's of llvm-exegesis *| |
11 | |* supported by this build of LLVM. Clients of this file should define *| |
12 | |* the LLVM_EXEGISIS 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 target llvm-exegsis support. *| |
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_EXEGESIS |
24 | # error Please define the macro LLVM_EXEGESIS(TargetName) |
25 | #endif |
26 | |
27 | LLVM_EXEGESIS(AArch64) |
28 | LLVM_EXEGESIS(Mips) |
29 | LLVM_EXEGESIS(PowerPC) |
30 | LLVM_EXEGESIS(X86) |
31 | |
32 | |
33 | #undef LLVM_EXEGESIS |
34 | |