summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 06:28:43 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 06:28:43 +0000
commit589c6f620e8dcf3d59af1ae0e15372c934647c82 (patch)
tree416f671c04eaddff62cc5fa28c6842862157b44c /include/llvm/CodeGen/AsmPrinter.h
parentbeeb93e6ba48af2661eabc4872d8b159fb43e5db (diff)
downloadllvm-589c6f620e8dcf3d59af1ae0e15372c934647c82.tar.gz
llvm-589c6f620e8dcf3d59af1ae0e15372c934647c82.tar.bz2
llvm-589c6f620e8dcf3d59af1ae0e15372c934647c82.tar.xz
Move getJTISymbol from MachineJumpTableInfo to MachineFunction,
which is more convenient, and change getPICJumpTableRelocBaseExpr to take a MachineFunction to match. Next, move the X86 code that create a PICBase symbol to X86TargetLowering::getPICBaseSymbol from X86MCInstLower::GetPICBaseSymbol, which was an asmprinter specific library. This eliminates a 'gross hack', and allows us to implement X86ISelLowering::getPICJumpTableRelocBaseExpr which now calls it. This in turn allows us to eliminate the X86AsmPrinter::printPICJumpTableSetLabel method, which was the only overload of printPICJumpTableSetLabel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
0 files changed, 0 insertions, 0 deletions