make MachineFunction keep track of its ID and make
authorChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 04:35:26 +0000 (04:35 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 04:35:26 +0000 (04:35 +0000)
commitb84822fb7b64977c16e97b870891da1d6c9736fe
treefb43db9cabf515f2751c5c0aeb5e362a63fbc017
parentb8da4ac698dbb219e093b3159e2b5519063b011c
make MachineFunction keep track of its ID and make
MachineFunctionAnalysis dole them out, instead of having
AsmPrinter do both.  Have the AsmPrinter::SetupMachineFunction
method set the 'AsmPrinter::MF' variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94509 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
include/llvm/CodeGen/MachineFunction.h
include/llvm/CodeGen/MachineFunctionAnalysis.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/MachineFunctionAnalysis.cpp
lib/Target/X86/X86CodeEmitter.cpp