MSP430Attributes.cpp 910 B

12345678910111213141516171819202122
  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. #include "llvm/Support/MSP430Attributes.h"
  9. using namespace llvm;
  10. using namespace llvm::MSP430Attrs;
  11. static constexpr TagNameItem TagData[] = {{TagISA, "Tag_ISA"},
  12. {TagCodeModel, "Tag_Code_Model"},
  13. {TagDataModel, "Tag_Data_Model"},
  14. {TagEnumSize, "Tag_Enum_Size"}};
  15. constexpr TagNameMap MSP430AttributeTags{TagData};
  16. const TagNameMap &llvm::MSP430Attrs::getMSP430AttributeTags() {
  17. return MSP430AttributeTags;
  18. }