Move the enum attributes defined in Attributes.h to a table-gen file.
authorAkira Hatanaka <ahatanaka@apple.com>
Wed, 11 Nov 2015 20:35:42 +0000 (20:35 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Wed, 11 Nov 2015 20:35:42 +0000 (20:35 +0000)
commitf805775e099a8ed0fb6f5f5dfd6c4504f7187fcf
tree915bc78f89bba2d22f8444346c0bd6c621506ca5
parent8de34ad8f7dd5c159c1989c011fa70fd6f62026a
Move the enum attributes defined in Attributes.h to a table-gen file.

This is a step towards consolidating some of the information regarding
attributes in a single place.

This patch moves the enum attributes in Attributes.h to the table-gen
file. Additionally, it adds definitions of target independent string
attributes that will be used in follow-up commits by the inliner to
check attribute compatibility.

rdar://problem/19836465

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252796 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Attributes.h
include/llvm/IR/Attributes.td [new file with mode: 0644]
include/llvm/IR/CMakeLists.txt
lib/IR/Makefile
utils/TableGen/Attributes.cpp [new file with mode: 0644]
utils/TableGen/CMakeLists.txt
utils/TableGen/TableGen.cpp
utils/TableGen/TableGenBackends.h