1*349cc55cSDimitry Andric //===-- MSP430Attributes.cpp - MSP430 Attributes --------------------------===// 2*349cc55cSDimitry Andric // 3*349cc55cSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*349cc55cSDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*349cc55cSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*349cc55cSDimitry Andric // 7*349cc55cSDimitry Andric //===----------------------------------------------------------------------===// 8*349cc55cSDimitry Andric 9*349cc55cSDimitry Andric #include "llvm/Support/MSP430Attributes.h" 10*349cc55cSDimitry Andric 11*349cc55cSDimitry Andric using namespace llvm; 12*349cc55cSDimitry Andric using namespace llvm::MSP430Attrs; 13*349cc55cSDimitry Andric 14*349cc55cSDimitry Andric static constexpr TagNameItem TagData[] = {{TagISA, "Tag_ISA"}, 15*349cc55cSDimitry Andric {TagCodeModel, "Tag_Code_Model"}, 16*349cc55cSDimitry Andric {TagDataModel, "Tag_Data_Model"}, 17*349cc55cSDimitry Andric {TagEnumSize, "Tag_Enum_Size"}}; 18*349cc55cSDimitry Andric 19*349cc55cSDimitry Andric constexpr TagNameMap MSP430AttributeTags{TagData}; getMSP430AttributeTags()20*349cc55cSDimitry Andricconst TagNameMap &llvm::MSP430Attrs::getMSP430AttributeTags() { 21*349cc55cSDimitry Andric return MSP430AttributeTags; 22*349cc55cSDimitry Andric } 23