1 //===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file enumerates all of the assembly-language printers
11 // supported by this build of LLVM. Clients of this file should define
12 // the LLVM_ASM_PRINTER 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 printers.
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
21 //===----------------------------------------------------------------------===//
23 #ifndef LLVM_ASM_PRINTER
24 # error Please define the macro LLVM_ASM_PRINTER(TargetName)
29 #elif defined(__mips__)
30 LLVM_ASM_PRINTER(Mips)
31 #elif defined(__i386__) || defined(__x86_64__)
33 #elif defined(__aarch64__)
34 LLVM_ASM_PRINTER(AArch64)
36 # error Unsupported TARGET_ARCH for LLVM_ASM_PRINTER
39 #undef LLVM_ASM_PRINTER