|
|
|||
File indexing completed on 2026-05-10 08:44:32
0001 //===-- MSP430Attributes.h - MSP430 Attributes ------------------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===-----------------------------------------------------------------------===// 0008 /// 0009 /// \file 0010 /// This file contains enumerations for MSP430 ELF build attributes as 0011 /// defined in the MSP430 ELF psABI specification. 0012 /// 0013 /// MSP430 ELF psABI specification 0014 /// 0015 /// https://www.ti.com/lit/pdf/slaa534 0016 /// 0017 //===----------------------------------------------------------------------===// 0018 #ifndef LLVM_SUPPORT_MSP430ATTRIBUTES_H 0019 #define LLVM_SUPPORT_MSP430ATTRIBUTES_H 0020 0021 #include "llvm/Support/ELFAttributes.h" 0022 0023 namespace llvm { 0024 namespace MSP430Attrs { 0025 0026 const TagNameMap &getMSP430AttributeTags(); 0027 0028 enum AttrType : unsigned { 0029 // Attribute types in ELF/.MSP430.attributes. 0030 TagISA = 4, 0031 TagCodeModel = 6, 0032 TagDataModel = 8, 0033 TagEnumSize = 10 0034 }; 0035 0036 enum ISA { ISAMSP430 = 1, ISAMSP430X = 2 }; 0037 enum CodeModel { CMSmall = 1, CMLarge = 2 }; 0038 enum DataModel { DMSmall = 1, DMLarge = 2, DMRestricted = 3 }; 0039 enum EnumSize { ESSmall = 1, ESInteger = 2, ESDontCare = 3 }; 0040 0041 } // namespace MSP430Attrs 0042 } // namespace llvm 0043 0044 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|