LLVM
20.0.0git
lib
Support
MSP430Attributes.cpp
Go to the documentation of this file.
1
//===-- MSP430Attributes.cpp - MSP430 Attributes --------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#include "
llvm/Support/MSP430Attributes.h
"
10
11
using namespace
llvm
;
12
using namespace
llvm::MSP430Attrs
;
13
14
static
constexpr
TagNameItem
TagData
[] = {{
TagISA
,
"Tag_ISA"
},
15
{
TagCodeModel
,
"Tag_Code_Model"
},
16
{
TagDataModel
,
"Tag_Data_Model"
},
17
{
TagEnumSize
,
"Tag_Enum_Size"
}};
18
19
constexpr
TagNameMap
MSP430AttributeTags
{
TagData
};
20
const
TagNameMap
&
llvm::MSP430Attrs::getMSP430AttributeTags
() {
21
return
MSP430AttributeTags
;
22
}
TagData
static constexpr TagNameItem TagData[]
Definition:
MSP430Attributes.cpp:14
MSP430AttributeTags
constexpr TagNameMap MSP430AttributeTags
Definition:
MSP430Attributes.cpp:19
MSP430Attributes.h
This file contains enumerations for MSP430 ELF build attributes as defined in the MSP430 ELF psABI sp...
llvm::ArrayRef< TagNameItem >
llvm::MSP430Attrs
Definition:
MSP430Attributes.h:24
llvm::MSP430Attrs::TagDataModel
@ TagDataModel
Definition:
MSP430Attributes.h:32
llvm::MSP430Attrs::TagEnumSize
@ TagEnumSize
Definition:
MSP430Attributes.h:33
llvm::MSP430Attrs::TagISA
@ TagISA
Definition:
MSP430Attributes.h:30
llvm::MSP430Attrs::TagCodeModel
@ TagCodeModel
Definition:
MSP430Attributes.h:31
llvm::MSP430Attrs::getMSP430AttributeTags
const TagNameMap & getMSP430AttributeTags()
Definition:
MSP430Attributes.cpp:20
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::TagNameItem
Definition:
ELFAttributes.h:18
Generated on Sat Dec 21 2024 01:51:21 for LLVM by
1.9.6