move the pic base symbol stuff up to MachineFunction
authorChris Lattner <sabre@nondot.org>
Sun, 14 Nov 2010 22:48:15 +0000 (22:48 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Nov 2010 22:48:15 +0000 (22:48 +0000)
commit142b531e024c7b814df74951b378b9e3e11d0d42
tree9b5fe19e9ea9e2cb92b1711699eaf7ce84f2c1b8
parent4fd0ea01660d7e447f072a1032abf0d7537821bf
move the pic base symbol stuff up to MachineFunction
since it is trivial and will be shared between ppc and x86.
This substantially simplifies the X86 backend also.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119089 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/MachineFunction.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/X86/X86AsmPrinter.cpp
lib/Target/X86/X86AsmPrinter.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86MCInstLower.cpp
lib/Target/X86/X86MCInstLower.h