xref: /freebsd/lib/clang/include/llvm/Config/AsmPrinters.def (revision 6f444019009a55aac18d18054d154155fbf606c9)
1*647cbc5dSDimitry Andric/*===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===*\
2*647cbc5dSDimitry Andric|*                                                                            *|
3*647cbc5dSDimitry Andric|* Part of the LLVM Project, under the Apache License v2.0 with LLVM          *|
4*647cbc5dSDimitry Andric|* Exceptions.                                                                *|
5*647cbc5dSDimitry Andric|* See https://llvm.org/LICENSE.txt for license information.                  *|
6*647cbc5dSDimitry Andric|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception                    *|
7*647cbc5dSDimitry Andric|*                                                                            *|
8*647cbc5dSDimitry Andric|*===----------------------------------------------------------------------===*|
9*647cbc5dSDimitry Andric|*                                                                            *|
10*647cbc5dSDimitry Andric|* This file enumerates all of the assembly-language printers                 *|
11*647cbc5dSDimitry Andric|* supported by this build of LLVM. Clients of this file should define        *|
12*647cbc5dSDimitry Andric|* the LLVM_ASM_PRINTER macro to be a function-like macro with a              *|
13*647cbc5dSDimitry Andric|* single parameter (the name of the target whose assembly can be             *|
14*647cbc5dSDimitry Andric|* generated); including this file will then enumerate all of the             *|
15*647cbc5dSDimitry Andric|* targets with assembly printers.                                            *|
16*647cbc5dSDimitry Andric|*                                                                            *|
17*647cbc5dSDimitry Andric|* The set of targets supported by LLVM is generated at configuration         *|
18*647cbc5dSDimitry Andric|* time, at which point this header is generated. Do not modify this          *|
19*647cbc5dSDimitry Andric|* header directly.                                                           *|
20*647cbc5dSDimitry Andric|*                                                                            *|
21*647cbc5dSDimitry Andric\*===----------------------------------------------------------------------===*/
22*647cbc5dSDimitry Andric
237fff4413SDimitry Andric#ifndef LLVM_ASM_PRINTER
247fff4413SDimitry Andric#  error Please define the macro LLVM_ASM_PRINTER(TargetName)
257fff4413SDimitry Andric#endif
267fff4413SDimitry Andric
27cbafd263SDimitry Andric#ifdef LLVM_TARGET_ENABLE_AARCH64
2847a80b92SDimitry AndricLLVM_ASM_PRINTER(AArch64)
29cbafd263SDimitry Andric#endif
30cbafd263SDimitry Andric#ifdef LLVM_TARGET_ENABLE_ARM
31ffd1746dSEd SchoutenLLVM_ASM_PRINTER(ARM)
32cbafd263SDimitry Andric#endif
3389edb881SDimitry Andric#ifdef LLVM_TARGET_ENABLE_BPF
3489edb881SDimitry AndricLLVM_ASM_PRINTER(BPF)
3589edb881SDimitry Andric#endif
36cbafd263SDimitry Andric#ifdef LLVM_TARGET_ENABLE_MIPS
372754fe60SDimitry AndricLLVM_ASM_PRINTER(Mips)
38cbafd263SDimitry Andric#endif
39cbafd263SDimitry Andric#ifdef LLVM_TARGET_ENABLE_POWERPC
40ffd1746dSEd SchoutenLLVM_ASM_PRINTER(PowerPC)
41cbafd263SDimitry Andric#endif
42b2689b12SMitchell Horne#ifdef LLVM_TARGET_ENABLE_RISCV
43b2689b12SMitchell HorneLLVM_ASM_PRINTER(RISCV)
44b2689b12SMitchell Horne#endif
45cbafd263SDimitry Andric#ifdef LLVM_TARGET_ENABLE_X86
46ffd1746dSEd SchoutenLLVM_ASM_PRINTER(X86)
47cbafd263SDimitry Andric#endif
4847c832c3SRoman Divacky
49*647cbc5dSDimitry Andric
5047c832c3SRoman Divacky#undef LLVM_ASM_PRINTER
51