xref: /freebsd/lib/clang/include/llvm/Config/Targets.def (revision 47c832c3dd9374a1d4a9e84e5670056ea0189a42)
1*47c832c3SRoman Divacky/* $FreeBSD$ */
2*47c832c3SRoman Divacky/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
3*47c832c3SRoman Divacky|*                                                                            *|
4*47c832c3SRoman Divacky|*                     The LLVM Compiler Infrastructure                       *|
5*47c832c3SRoman Divacky|*                                                                            *|
6*47c832c3SRoman Divacky|* This file is distributed under the University of Illinois Open Source      *|
7*47c832c3SRoman Divacky|* License. See LICENSE.TXT for details.                                      *|
8*47c832c3SRoman Divacky|*                                                                            *|
9*47c832c3SRoman Divacky|*===----------------------------------------------------------------------===*|
10*47c832c3SRoman Divacky|*                                                                            *|
11*47c832c3SRoman Divacky|* This file enumerates all of the target architectures supported by          *|
12*47c832c3SRoman Divacky|* this build of LLVM. Clients of this file should define the                 *|
13*47c832c3SRoman Divacky|* LLVM_TARGET macro to be a function-like macro with a single                *|
14*47c832c3SRoman Divacky|* parameter (the name of the target); including this file will then          *|
15*47c832c3SRoman Divacky|* enumerate all of the targets.                                              *|
16*47c832c3SRoman Divacky|*                                                                            *|
17*47c832c3SRoman Divacky|* The set of targets supported by LLVM is generated at configuration         *|
18*47c832c3SRoman Divacky|* time, at which point this header is generated. Do not modify this          *|
19*47c832c3SRoman Divacky|* header directly.                                                           *|
20*47c832c3SRoman Divacky|*                                                                            *|
21*47c832c3SRoman Divacky\*===----------------------------------------------------------------------===*/
22*47c832c3SRoman Divacky
23*47c832c3SRoman Divacky#ifndef LLVM_TARGET
24*47c832c3SRoman Divacky#  error Please define the macro LLVM_TARGET(TargetName)
25*47c832c3SRoman Divacky#endif
26*47c832c3SRoman Divacky
27*47c832c3SRoman DivackyLLVM_TARGET(Mips) LLVM_TARGET(ARM) LLVM_TARGET(PowerPC) LLVM_TARGET(X86)
28*47c832c3SRoman Divacky
29*47c832c3SRoman Divacky#undef LLVM_TARGET
30