aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-11-17 05:50:14 +0000
committerCraig Topper <craig.topper@gmail.com>2014-11-17 05:50:14 +0000
commitcf0444ba2a7624409608f5854b16e432afeb3ed4 (patch)
tree2e8b9c682f56e9049f98eec0b6451cabe67c5d23 /llvm/lib/Object/COFFObjectFile.cpp
parenta3b5b60753667f11977476f2b8b278f3912d7076 (diff)
downloadllvm-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