Give AsmMatcherInfo a CodeGenTarget, which simplifies a bunch of
authorChris Lattner <sabre@nondot.org>
Mon, 1 Nov 2010 01:37:30 +0000 (01:37 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 1 Nov 2010 01:37:30 +0000 (01:37 +0000)
commit02bcbc97fbf55803c660729aa9d2c154a2101331
tree2b883537a57677fc01cc85407ee2d51470ab3f8d
parent4d43d0fd996a01c2cd21fd51082bc1bba783ef3c
Give AsmMatcherInfo a CodeGenTarget, which simplifies a bunch of
argument passing.  Consolidate all SingletonRegister detection
and handling into a new
InstructionInfo::getSingletonRegisterForToken method instead of
having it scattered about.  No change in generated .inc files.

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