Reapply r110396, with fixes to appease the Linux buildbot gods.
[oota-llvm.git] / lib / Target / ARM / ARMBuildAttrs.h
1 //===-------- ARMBuildAttrs.h - ARM Build Attributes ------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains enumerations and support routines for ARM build attributes
11 // as defined in ARM ABI addenda document (ABI release 2.07).
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef __TARGET_ARMBUILDATTRS_H__
16 #define __TARGET_ARMBUILDATTRS_H__
17
18 namespace ARMBuildAttrs {
19   enum {
20     File                      = 1,
21     Section                   = 2,
22     Symbol                    = 3,
23     CPU_raw_name              = 4,
24     CPU_name                  = 5,
25     CPU_arch                  = 6,
26     CPU_arch_profile          = 7,
27     ARM_ISA_use               = 8,
28     THUMB_ISA_use             = 9,
29     VFP_arch                  = 10,
30     WMMX_arch                 = 11,
31     Advanced_SIMD_arch        = 12,
32     PCS_config                = 13,
33     ABI_PCS_R9_use            = 14,
34     ABI_PCS_RW_data           = 15,
35     ABI_PCS_RO_data           = 16,
36     ABI_PCS_GOT_use           = 17,
37     ABI_PCS_wchar_t           = 18,
38     ABI_FP_rounding           = 19,
39     ABI_FP_denormal           = 20,
40     ABI_FP_exceptions         = 21,
41     ABI_FP_user_exceptions    = 22,
42     ABI_FP_number_model       = 23,
43     ABI_align8_needed         = 24,
44     ABI_align8_preserved      = 25,
45     ABI_enum_size             = 26,
46     ABI_HardFP_use            = 27,
47     ABI_VFP_args              = 28,
48     ABI_WMMX_args             = 29,
49     ABI_optimization_goals    = 30,
50     ABI_FP_optimization_goals = 31,
51     compatibility             = 32,
52     CPU_unaligned_access      = 34,
53     VFP_HP_extension          = 36,
54     ABI_FP_16bit_format       = 38,
55     nodefaults                = 64,
56     also_compatible_with      = 65,
57     T2EE_use                  = 66,
58     conformance               = 67,
59     Virtualization_use        = 68,
60     MPextension_use           = 70
61   };
62 }
63
64 #endif // __TARGET_ARMBUILDATTRS_H__