Add infrastructure to allow post instruction printing action triggers.
authorDavid Greene <greened@obbligato.org>
Mon, 13 Jul 2009 20:25:48 +0000 (20:25 +0000)
committerDavid Greene <greened@obbligato.org>
Mon, 13 Jul 2009 20:25:48 +0000 (20:25 +0000)
commit014700c1a8cba203fd21ff129426ba8a426ab244
tree0459af1b54ae0b03b14896eb77b53801d40d4997
parentb8ac841c9a275cc8d4e1a92dd06cc99323e35fa2
Add infrastructure to allow post instruction printing action triggers.
We'll eventually use this to print comments in asm files and do other
fun things.

This adds interfaces to the AsmPrinter and changes TableGen to invoke
the postInstructionAction when appropriate.  It also add parameters to
TargetAsmInfo to control comment layout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75490 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
include/llvm/Target/TargetAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/TargetAsmInfo.cpp
utils/TableGen/AsmWriterEmitter.cpp