[PATCH] TableGen minor refactoring: AsmWriterEmitter and CodeGenDAGPatterns

Ahmed Bougacha ahmed.bougacha at gmail.com
Wed Oct 9 12:56:04 PDT 2013


Hello everyone,

Here are 2 patches that prepare for upcoming additions. There
shouldn't be any functionality change.
Thanks for reviewing!

- Ahmed

----

    TableGen: Refactor DAG patterns to enable parsing one pattern at a time.

 utils/TableGen/CodeGenDAGPatterns.cpp | 112
 utils/TableGen/CodeGenDAGPatterns.h   |   5
 2 files changed, 66 insertions(+), 51 deletions(-)

----

    TableGen: Refactor AsmWriterEmitter to keep AsmWriterInsts.

    These used to be referenced by the CGI->AWI map (in AsmWriterEmitter), but
    stored in a vector local to EmitPrintInstruction. Move the vector to
    AsmWriterEmitter too.

 utils/TableGen/AsmWriterEmitter.cpp | 51
 1 file changed, 25 insertions(+), 26 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-TableGen-Refactor-AsmWriterEmitter-to-keep-AsmWriter.patch
Type: application/octet-stream
Size: 4318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131009/8e34b772/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-TableGen-Refactor-DAG-patterns-to-enable-parsing-one.patch
Type: application/octet-stream
Size: 7217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131009/8e34b772/attachment-0001.obj>


More information about the llvm-commits mailing list