split call operands out to their own encoding class, simplifying
authorChris Lattner <sabre@nondot.org>
Mon, 15 Nov 2010 05:57:53 +0000 (05:57 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Nov 2010 05:57:53 +0000 (05:57 +0000)
commita9d9ab9673ec73817f3059ea430f1930a5b14948
tree7f6d1d9e28dfc30a89d16120253b5dbbaf63c752
parent3170a3bc04deadfc0a4de5ff3cba7680be548f29
split call operands out to their own encoding class, simplifying
code in the JIT.  Use this to form the first fixup for the PPC backend,
giving us stuff like this:

bl L_foo$stub ; encoding: [0b010010AA,A,A,0bAAAAAA01]
                                        ;   fixup A - offset: 0, value: L_foo$stub, kind: fixup_ppc_br24

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119123 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCCodeEmitter.cpp
lib/Target/PowerPC/PPCFixupKinds.h [new file with mode: 0644]
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCMCCodeEmitter.cpp