Refactor the ARM target parsing to use a def file with macros to expand
authorChandler Carruth <chandlerc@gmail.com>
Sun, 30 Aug 2015 05:27:31 +0000 (05:27 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 30 Aug 2015 05:27:31 +0000 (05:27 +0000)
commit19f4e17b6d75d9303eff4c5dcdeb3c5ed633417e
treece3da2aecb2273fb9d65482d017319e3fed8ae45
parent79888dbdef94bfa99a34597f1de0d63d08aee80c
Refactor the ARM target parsing to use a def file with macros to expand
the necessary tables.

This will allow me to restructure the code and structures using this to
be significantly more efficient. It also removes the duplication of the
list of several enumerators. It also enshrines that the order of
enumerators match the order of the entries in the tables, something the
implementation code actually uses.

No functionality changed (yet).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246370 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ARMTargetParser.def [new file with mode: 0644]
include/llvm/Support/TargetParser.h
lib/Support/TargetParser.cpp