Put instruction names into an indexed string table on the side, removing a pointer...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 10 Feb 2012 13:18:44 +0000 (13:18 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 10 Feb 2012 13:18:44 +0000 (13:18 +0000)
commitc667ba69ac342563c0886e20509e68705d78a0a5
tree1911023516ce937d5165eafcd85ed02c34ea0e30
parent06efdd238ed7d14eaabc3b074c3b0b292c1c3127
Put instruction names into an indexed string table on the side, removing a pointer from MCInstrDesc.

Make them accessible through MCInstrInfo. They are only used for debugging purposes so this doesn't
have an impact on performance. X86MCTargetDesc.o goes from 630K to 461K on x86_64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150245 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCInstrDesc.h
include/llvm/MC/MCInstrInfo.h
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
utils/TableGen/InstrInfoEmitter.cpp