diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-03 19:13:26 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-03 19:13:26 +0000 |
| commit | 5aeee5f854b1d03a410cd543549450a12b6000cf (patch) | |
| tree | 00751c73a90a1587d180460ea51ef7bf72b4e887 /llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp | |
| parent | dbe7f3bf2efa8fa4f8a9a8d75355f9564a018044 (diff) | |
| download | bcm5719-llvm-5aeee5f854b1d03a410cd543549450a12b6000cf.tar.gz bcm5719-llvm-5aeee5f854b1d03a410cd543549450a12b6000cf.zip | |
Shrink the asm matcher tables.
- Shrink the opcode field to 16 bits.
- Shrink the AsmVariantID field to 8 bits.
- Store the mnemonic string in a string table, store a 16 bit index.
- Store a pascal-style length byte in the string instead of a null terminator,
so we can avoid calling strlen on every entry we visit during mnemonic search.
Shrinks X86AsmParser.o from 434k to 201k on x86_64 and eliminates relocs from the table.
llvm-svn: 151984
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp')
0 files changed, 0 insertions, 0 deletions

