Seperate asmstring parsing from emission. This allows the code to be simpler
authorChris Lattner <sabre@nondot.org>
Sat, 22 Jan 2005 17:32:42 +0000 (17:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 22 Jan 2005 17:32:42 +0000 (17:32 +0000)
commitb0b55e74a090454711b1bb17e4f872d62d6e6b65
tree5fdcd16881d47e17995132a355ee733ccdfc7c13
parent2fce6d1a6972cbf533615be92fa3f59064b56baf
Seperate asmstring parsing from emission.  This allows the code to be simpler
and more understandable.  It also allows us to do simple things like fold
consequtive literal strings together.  For example, instead of emitting this
for the X86 backend:

  O  << "adc" << "l" << " ";

we now generate this:

  O << "adcl ";

*whoa* :)

This shrinks the X86 asmwriters from 62729->58267 and 65176->58644 bytes
for the intel/att asm writers respectively.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19749 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/AsmWriterEmitter.cpp