[AVX] Create Inits Via Factory Method
authorDavid Greene <greened@obbligato.org>
Fri, 29 Jul 2011 19:07:07 +0000 (19:07 +0000)
committerDavid Greene <greened@obbligato.org>
Fri, 29 Jul 2011 19:07:07 +0000 (19:07 +0000)
commitdcd35c797d458d8b1dbc36cf7f1504166d5b2f16
treea16903db111f23b3a3bd3112d00d24af3a2db225
parentf37dd02f7743ebd2424480361f5a7db510495c4f
[AVX] Create Inits Via Factory Method

Replace uses of new *Init with *Init::get.  This hides the allocation
implementation so that we can unique Inits in various ways.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136486 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeEmitterGen.cpp
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenRegisters.cpp
utils/TableGen/Record.cpp
utils/TableGen/Record.h
utils/TableGen/TGParser.cpp