diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-11-17 05:50:14 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-11-17 05:50:14 +0000 |
commit | cf0444ba2a7624409608f5854b16e432afeb3ed4 (patch) | |
tree | 2e8b9c682f56e9049f98eec0b6451cabe67c5d23 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | a3b5b60753667f11977476f2b8b278f3912d7076 (diff) | |
download | llvm-cf0444ba2a7624409608f5854b16e432afeb3ed4.zip llvm-cf0444ba2a7624409608f5854b16e432afeb3ed4.tar.gz llvm-cf0444ba2a7624409608f5854b16e432afeb3ed4.tar.bz2 |
Move register class name strings to a single array in MCRegisterInfo to reduce static table size and number of relocation entries.
Indices into the table are stored in each MCRegisterClass instead of a pointer. A new method, getRegClassName, is added to MCRegisterInfo and TargetRegisterInfo to lookup the string in the table.
llvm-svn: 222118
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions