summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/GRExprEngine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-15 08:22:03 +0000
committerChris Lattner <sabre@nondot.org>2010-11-15 08:22:03 +0000
commitefacb9ee420add47a1c439a4a522cd0be29e987a (patch)
tree5145095a97d7c37fafbd1da8cf65400d73906721 /clang/lib/Checker/GRExprEngine.cpp
parent8f4444d0031fce48a303ff3cba369ded93901d32 (diff)
downloadbcm5719-llvm-efacb9ee420add47a1c439a4a522cd0be29e987a.tar.gz
bcm5719-llvm-efacb9ee420add47a1c439a4a522cd0be29e987a.zip
split out an encoder for memri operands, allowing a relocation to be plopped
into the immediate field. This allows us to encode stuff like this: lbz r3, lo16(__ZL4init)(r4) ; globalopt.cpp:5 ; encoding: [0x88,0x64,A,A] ; fixup A - offset: 0, value: lo16(__ZL4init), kind: fixup_ppc_lo16 stw r3, lo16(__ZL1s)(r5) ; globalopt.cpp:6 ; encoding: [0x90,0x65,A,A] ; fixup A - offset: 0, value: lo16(__ZL1s), kind: fixup_ppc_lo16 With this, we should have a completely function MCCodeEmitter for PPC, wewt. llvm-svn: 119134
Diffstat (limited to 'clang/lib/Checker/GRExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud