[globalisel][tablegen] Factor out implicit def/use renderers from createAndImportInst...
authorDaniel Sanders <daniel_l_sanders@apple.com>
Tue, 31 Oct 2017 19:09:29 +0000 (19:09 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Tue, 31 Oct 2017 19:09:29 +0000 (19:09 +0000)
commitdf258e328a6327317c3a67e853eea7cdca902562
treea75ef5c4ac2b965ba508148f0eba819625998811
parent7c7fcabd3f4a7e1f484af8c69ac3514de5737ea5
[globalisel][tablegen] Factor out implicit def/use renderers from createAndImportInstructionRenderer(). NFC

Multi-instruction emission will require that we have separate handling for
the defs between the implicitly created temporaries and the rule outputs.
The former require new temporary vregs while the latter should copy existing
operands. Factor out the implicit def/use renderers to minimize the code
duplication when we implement that.

llvm-svn: 317025
llvm/utils/TableGen/GlobalISelEmitter.cpp