• Home
  • History
  • Annotate
  • only in /frameworks/compile/libbcc/
History log of /frameworks/compile/libbcc/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6f3138bbc93b7105ddb49a803c15c3f98077f533 19-Oct-2012 Stephen Hines <srhines@google.com> Fix missing data for mObjectSlots.

The refactored version for metadata extraction skipped actually populating
the mObjectSlots list. This can result in memory leaks in libRS, as well
as having the potential for corruption (since we are now returning an
empty list to a driver that expects legitimate boolean values).

Bug: 7377851
Change-Id: Id67d46232eeb6b1f59904037b0504a5c590874ee
ib/Renderscript/RSInfoExtractor.cpp
0d6d592c5c0d28331151e6c4b7fb7d0789b99974 01-Oct-2012 Stephen Hines <srhines@google.com> Fix improper cast for pown on CPU/GPU.

Bug: 7256001
Change-Id: I5231c418e19dab6682a2afd806f5068a3eceb3f7
ib/Renderscript/runtime/rs_cl.c
ceb4c0f5fc5f63c6e494fc2fda25e4461d27abb5 25-Sep-2012 Stephen Hines <srhines@google.com> Switch to TargetData::getTypeAllocSize().

We were accidentally using 12 for float3 instead of 16, so our pointer
updates would get out of sync.

Bug: 7224526
Change-Id: I0e3f7f52ef3a862d7f60a46755bb22e533ff289d
ib/Renderscript/RSForEachExpand.cpp
74a4b08235990916911b8fe758d656c1171faf26 22-Sep-2012 Stephen Hines <srhines@google.com> Fix pass-by-value when the return type uses pass-by-reference.

Since we are using a baseline ARM ABI for Renderscript's portable bitcode,
we need to handle the case where a large return value gets passed as a
pointer (it becomes the first argument). This also fixes a small issue
where the first argument could be the return value (i.e. passed by
reference). I also have verified that coerced struct pass-by-value is
now working with this change.

Bug: 7166741

Change-Id: I7c00ff437ad862f9b8b244d87ccbca19e46c5775
ib/Renderscript/RSForEachExpand.cpp
4fdec9b00e2643b764c4f9786def10d643818aba 21-Sep-2012 Jason Sams <jsams@google.com> Cleanup naming of aprox & half functions.
bug 7205089

Change-Id: I73261ae024507b21cfe85dcf2a7ba68de76f0bcf
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/rs_cl.c
7ae3a828fade4e30f7940415949f33ac1f15dc77 15-Sep-2012 Stephen Hines <srhines@google.com> Implement expandKernel() for pass-by-value.

This change implements the libbcc portion of pass-by-value in RS kernels.
The expandKernel() function creates the appropriate loop construct around
the kernel call (thus foo() -> foo.expand()).

Bug: 7166741

Change-Id: I2e4c85b8ac70372dc6d02671e8768381070e9721
ib/Renderscript/RSForEachExpand.cpp
1b84ea3be223d95e55965c0d5721d7c91a5a66b9 11-Sep-2012 Stephen Hines <srhines@google.com> am 2e00e3b8: am 89fb60df: Merge "Fix length(float v) issue"

* commit '2e00e3b8648dbc2fc865f14545bff532b75250ee':
Fix length(float v) issue
2e00e3b8648dbc2fc865f14545bff532b75250ee 11-Sep-2012 Stephen Hines <srhines@google.com> am 89fb60df: Merge "Fix length(float v) issue"

* commit '89fb60dff827dfb9210faca41ed3f8c1d4c2500f':
Fix length(float v) issue
89fb60dff827dfb9210faca41ed3f8c1d4c2500f 11-Sep-2012 Stephen Hines <srhines@google.com> Merge "Fix length(float v) issue"
2fde634e72b6f5744f4fd61391c0a4e6566a9ebf 10-Sep-2012 lianhd <haidong@multicorewareinc.com> Fix length(float v) issue

length(float v) just return v, so it causes length and distance(lhs, rhs) failed.

Change-Id: Ie6d85246739b9b112aecd5ab39b772ed998b12ad
Signed-off-by: lianhd <haidong@multicorewareinc.com>
ib/ScriptCRT/rs_cl.c
a565633ff50bdbb355bf3c1a9fed72a39d4514f7 06-Sep-2012 Stephen Hines <srhines@google.com> Merge "Fix up libbcc for LLVM upstream merge to r162314." into jb-mr1-dev
3ffc8330d765599e357197883f72c01bd43837c8 29-Aug-2012 Stephen Hines <srhines@google.com> Add support for generating .bcinfo files to bcinfo.

This allows us to use "bcinfo -i <foo.bc>" to create foo.bcinfo, which is a
simple text file containing relevant metadata for the RS support library to
parse.

Change-Id: Idf756fc9104b0998da31be6e383300fcd3f03cad
cinfo/tools/main.cpp
2ac4cb14fd34fff9ed1fede229aea9c84edb6556 29-Aug-2012 Jason Sams <jsams@google.com> Merge "Cache element type in allocation." into jb-mr1-dev
561df916775aa38f9b915889ded8824da02bc03f 29-Aug-2012 Jason Sams <jsams@google.com> Cache element type in allocation.

Change-Id: Ia99e56106fc9bd58282248e803cbf6610eb2cf0c
ib/Renderscript/runtime/rs_structs.h
dd9c0baa7efb4b31dc2360c78759ece6ca81073f 24-Aug-2012 Stephen Hines <srhines@google.com> Fix up libbcc for LLVM upstream merge to r162314.

Change-Id: I0779cc0d80aedf948fe31a1a5f581c9712350753
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
894a232da00ba58ce9b33fbd74f37b7e73b5ede4 23-Aug-2012 Stephen Hines <srhines@google.com> am 655dc2b8: am a5868783: Merge "Removed unused private member variable."

* commit '655dc2b88d8bbac6b276c0ae97b217c2bb87b944':
Removed unused private member variable.
38c94b68c77c9b91ce191d5ccfb718d9d8613eda 23-Aug-2012 Stephen Hines <srhines@google.com> am d906a2af: (-s ours) am 28464c41: Merge "Fix class redeclared as struct."

* commit 'd906a2af07a2683853848464da0b5fe77b13a0a7':
Fix class redeclared as struct.
a03671cc3b17da7881cb0bfbc04df40d2839024d 23-Aug-2012 Ying Wang <wangying@google.com> Fix build warning.

Change-Id: I5f68fd9f9a27d7e2b5e3ba972908e101b3bd629f
ools/mcld/Android.mk
655dc2b88d8bbac6b276c0ae97b217c2bb87b944 22-Aug-2012 Stephen Hines <srhines@google.com> am a5868783: Merge "Removed unused private member variable."

* commit 'a5868783cb834d9aaa379c34dc2e92f74a8f973d':
Removed unused private member variable.
d906a2af07a2683853848464da0b5fe77b13a0a7 22-Aug-2012 Stephen Hines <srhines@google.com> am 28464c41: Merge "Fix class redeclared as struct."

* commit '28464c41b111b13df3f8040959f5d45a4653d2ca':
Fix class redeclared as struct.
a5868783cb834d9aaa379c34dc2e92f74a8f973d 22-Aug-2012 Stephen Hines <srhines@google.com> Merge "Removed unused private member variable."
28464c41b111b13df3f8040959f5d45a4653d2ca 22-Aug-2012 Stephen Hines <srhines@google.com> Merge "Fix class redeclared as struct."
0a04898a5ecb4a695e2365942e734038021d5e85 14-Aug-2012 Tareq A. Siraj <tareq.a.siraj@intel.com> Removed unused private member variable.

This was causing the build to fail because of -Werror.

Change-Id: I028342d9c566e0089b137a46ef6bb4f2d9e77c4d
Author: Tareq A. Siraj <tareq.a.siraj@intel.com>
Reviewed-by: Ariel Bernal <ariel.j.bernal@intel.com>
cinfo/BitcodeWrapper.cpp
nclude/bcinfo/BitcodeWrapper.h
5d29677e179e7accce4924ccd957d7c74de0ddfb 07-Aug-2012 Kevin Schoedel <kevin.p.schoedel@intel.com> Fix class redeclared as struct.

Change-Id: I84935a4e14a24b3388cdfe52612ab4ddd2f02446
Author: Kevin Schoedel <kevin.p.schoedel@intel.com>
Reviewed-by: Tareq A Siraj <tareq.a.siraj@intel.com>
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
837cea4bd73a38f4688091fc5767d7e2b7ec832b 17-Aug-2012 Joe Onorato <joeo@google.com> fix bad merge

Change-Id: Iaa1316076e0bb0307e7c2085fa919101fc52ceb0
ools/bcc/Android.mk
fcd0ce39448343d9af1afb84744dd718bfe722a4 17-Aug-2012 Joe Onorato <joeo@google.com> resolved conflicts for merge of 5836d3b3 to jb-mr1-dev

Change-Id: I9e55eac53acf84e7fe5fddf860b4c5c267ef7b28
b0a2345b68f73ff8996e9ceef7e7388657f8b34b 17-Aug-2012 Joe Onorato <joeo@google.com> am d43ccf6a: Merge "host modules don\'t need LOCAL_MODULE_TAGS"

* commit 'd43ccf6ac42a9f7b36fa9d5e6fee90b083152ef6':
host modules don't need LOCAL_MODULE_TAGS
d43ccf6ac42a9f7b36fa9d5e6fee90b083152ef6 17-Aug-2012 Joe Onorato <joeo@google.com> Merge "host modules don't need LOCAL_MODULE_TAGS"
4bd259a15900da99869ab97ff107fc32cf8f1506 16-Aug-2012 Stephen Hines <srhines@google.com> Merge "Add approx_atan function" into jb-mr1-dev
73192d724f4179cdb876f7f889b936af54fb9000 16-Aug-2012 Shih-wei Liao <sliao@google.com> Propagate ARCH_ARM_HAVE_THUMB_SUPPORT.

Change-Id: Id2dffc27f4f65b2797f238dfb1aef9cefe5caf16
ibbcc-device-build.mk
99c8a6be8147edece2d052cbf3c52e1d48237cbb 16-Aug-2012 Shih-wei Liao <sliao@google.com> Add DEFAULT_THUMB_TRIPLE_STRING. BUG=6996910

Change-Id: I08f5b1d2c83949ba768938e42db0458fac23a424
nclude/bcc/Config/Config.h
42b88c3b3cdadf6fcd367ee2bc620c0c94bbfe1b 16-Aug-2012 Shih-wei Liao <sliao@google.com> Handle variable arguments for ARM/Mips/X86.

Expand va_arg LLVM instruction in a target-specific manner.

Change-Id: Iddf071b7f4026f003df2ad129fd940c506e9ec99
nclude/bcc/AndroidBitcode/ABCCompiler.h
nclude/bcc/AndroidBitcode/ABCCompilerDriver.h
nclude/bcc/AndroidBitcode/ABCExpandVAArgPass.h
ib/AndroidBitcode/ABCCompiler.cpp
ib/AndroidBitcode/ABCCompilerDriver.cpp
ib/AndroidBitcode/ABCExpandVAArgPass.cpp
ib/AndroidBitcode/ARM/ARMABCCompilerDriver.h
ib/AndroidBitcode/ARM/ARMABCExpandVAArg.cpp
ib/AndroidBitcode/Android.mk
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.h
ib/AndroidBitcode/Mips/MipsABCExpandVAArg.cpp
ib/AndroidBitcode/X86/X86ABCCompilerDriver.h
ib/AndroidBitcode/X86/X86ABCExpandVAArg.cpp
3f64f76a827af742d969fe0b699d42a70b069998 16-Aug-2012 Shih-wei Liao <sliao@google.com> A BCCompiler that supports "lowering" (target-defined) before codegen

Change-Id: Iaf327a4867bb00af57c253c9cea13e7a8cb0572e
nclude/bcc/AndroidBitcode/ABCCompiler.h
nclude/bcc/AndroidBitcode/ABCCompilerDriver.h
ib/AndroidBitcode/ABCCompiler.cpp
ib/AndroidBitcode/Android.mk
56de4e825771d5f751f62001b70651e9c177e362 16-Aug-2012 Shih-wei Liao <sliao@google.com> Include the target files according to the config.

Change-Id: I0bdcbe1e79379e2f230974da04bc1762326702c1
ib/AndroidBitcode/ABCCompilerDriver.cpp
ib/AndroidBitcode/ARM/ARMABCCompilerDriver.h
ib/AndroidBitcode/ARMABCCompilerDriver.h
ib/AndroidBitcode/Android.mk
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.cpp
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.h
ib/AndroidBitcode/MipsABCCompilerDriver.cpp
ib/AndroidBitcode/MipsABCCompilerDriver.h
ib/AndroidBitcode/X86/X86ABCCompilerDriver.cpp
ib/AndroidBitcode/X86/X86ABCCompilerDriver.h
ib/AndroidBitcode/X86ABCCompilerDriver.cpp
ib/AndroidBitcode/X86ABCCompilerDriver.h
31b7c5664f33fcc335c29d8533537ad3c50fe467 16-Aug-2012 Shih-wei Liao <sliao@google.com> Separate function list for each target.

Change-Id: I0f5f92efe206adb843a18ff05cd95707ee5a24d2
nclude/bcc/AndroidBitcode/ABCCompilerDriver.h
ib/AndroidBitcode/ABCCompilerDriver.cpp
ib/AndroidBitcode/Android.mk
ib/AndroidBitcode/MipsABCCompilerDriver.cpp
ib/AndroidBitcode/MipsABCCompilerDriver.h
ib/AndroidBitcode/X86ABCCompilerDriver.cpp
ib/AndroidBitcode/X86ABCCompilerDriver.h
3928c62048612cd7180136017be5b7436c55717c 16-Aug-2012 Shih-wei Liao <sliao@google.com> Refactor ABCCompilerDriver to allow target-dependent settings.

Change-Id: Ie46a8838c0b911d5dedf82bc09616dcd728c663d
nclude/bcc/AndroidBitcode/ABCCompilerDriver.h
ib/AndroidBitcode/ABCCompilerDriver.cpp
ib/AndroidBitcode/ARMABCCompilerDriver.h
ib/AndroidBitcode/MipsABCCompilerDriver.h
ib/AndroidBitcode/X86ABCCompilerDriver.h
ools/abcc/Main.cpp
de0d6bf95e1cd4c87bfbcaa122a99e038b773b8b 16-Aug-2012 Rajeev Sharma <rdsharma@google.com> Add approx_atan function

Change-Id: I3a4770ed1634dc5ec541d21acdd181be4d513deb
ib/Renderscript/runtime/rs_cl.c
3e46aee7434b98996f796d2161188ea0eab70b85 19-May-2012 Joe Onorato <joeo@google.com> host modules don't need LOCAL_MODULE_TAGS

Change-Id: Ia060c80e3292b3746ac3baf38f04a7c5d92bae91
cinfo/tools/Android.mk
ools/bcc/Android.mk
190cf9df9a06c0281fc8aa2e954e9c0e49c49b61 08-Aug-2012 Stephen Hines <srhines@google.com> Merge "LL version of rsClamp. Fix non-vector clamp." into jb-mr1-dev
6fa47d82e5ed8d695e26fad67a7509e529042e9c 08-Aug-2012 Shih-wei Liao <sliao@google.com> Merge "ARM/x86 agreeing: .init_array." into jb-mr1-dev
e9b41330000ec8ab22bd8a6c33756d5b59323b83 08-Aug-2012 Stephen Hines <srhines@google.com> am eb76bc4c: (-s ours) am 131bcb0f: Merge "Revert "Remove unnecessary metadata duplication in Script*.""

* commit 'eb76bc4cad531ee2c1bec8532dc99c920730ace1':
Revert "Remove unnecessary metadata duplication in Script*."
eb76bc4cad531ee2c1bec8532dc99c920730ace1 07-Aug-2012 Stephen Hines <srhines@google.com> am 131bcb0f: Merge "Revert "Remove unnecessary metadata duplication in Script*.""

* commit '131bcb0ff83cba14d18682ad940ac9999b40ab03':
Revert "Remove unnecessary metadata duplication in Script*."
131bcb0ff83cba14d18682ad940ac9999b40ab03 07-Aug-2012 Stephen Hines <srhines@google.com> Merge "Revert "Remove unnecessary metadata duplication in Script*.""
f3a719289eba0d2b47830b9e40858ed4a413d25b 03-Jul-2012 Rajeev Sharma <rdsharma@google.com> LL version of rsClamp. Fix non-vector clamp.

Change-Id: I7107425fa0c535b47ca4233ced05845b872b199f
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/rsClamp.ll
ib/Renderscript/runtime/rs_core.c
539ea206fe36a54de0cb2763244d61c1a8e1ff84 04-Aug-2012 Rajeev Sharma <rdsharma@google.com> Initial version of approx recip, sqrt, and rsqrt

Contains NEON implementations of approximate reciprocal, sqrt, and rsqrt, as
well as generic C implementations of generic sqrt and rsqrt.

Change-Id: I5a0a847c9b80e9aebee7f402ba1cb79b6663ad65
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/rs_cl.c
45445334a11ab825fb8ef03cf24bcfb898e02607 07-Aug-2012 Stephen Hines <srhines@google.com> Revert "Remove unnecessary metadata duplication in Script*."

This reverts commit 74785ec517941989cb9dc51aca3aab58a21bfa10.

It turns out that this information is really necessary for knowing whether
cleanup passes need to be performed during compile().
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
805a5e2b755a7869621f263e6321d890e06fcf24 06-Aug-2012 Shih-wei Liao <sliao@google.com> ARM/x86 agreeing: .init_array.

Change-Id: Ie9abc6d53ab4f53a5c30103296dfa6150a484365
nclude/bcc/Support/TargetCompilerConfigs.h
03547495b607bb2293a884c0335fe234de49e1dd 03-Aug-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate on MCLinker 1.4.0-phoenix.

Change-Id: Ib83f08c7bb115a5824ee67e8fd7869641a6a561c
ib/Core/Linker.cpp
ib/Support/LinkerConfig.cpp
8b5be8604307d0dd342235803dd45775830b84c6 03-Aug-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate to LLVM-160668-20120724.

Change-Id: I515f90ff6b7222f9e69481c21a10173e1b0b40d2
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
ib/Renderscript/RSForEachExpand.cpp
2b04086acbef6520ae2c54a868b1271abf053122 28-Jul-2012 Stephen Hines <srhines@google.com> Use known strides instead of input args when possible.

BUG=6892059

Change-Id: I15b3726624ff0eeca5e30aaa6de928f1c9912471
nclude/bcc/Renderscript/RSTransforms.h
ib/Renderscript/RSCompiler.cpp
ib/Renderscript/RSForEachExpand.cpp
6e9e89d1ed049ec931bb1000948c12698e6c5484 28-Jul-2012 Stephen Hines <srhines@google.com> Add back support for bccAssert.

Change-Id: Ib8abe1c5c1bd8390fd3b9268f43f6de3c8803560
nclude/bcc/Assert.h
ib/Renderscript/RSForEachExpand.cpp
ibbcc-device-build.mk
ibbcc-host-build.mk
e198abec6c5e3eab380ccf6897b0a0b9c2dd92dd 28-Jul-2012 Stephen Hines <srhines@google.com> Rename RenderScript -> Renderscript.

Change-Id: I187928033b47f3e3f4cb811a0b3562f479cfe417
ndroid.mk
leanSpec.mk
EADME.html
EADME.rst
nclude/bcc/RenderScript/RSCompiler.h
nclude/bcc/RenderScript/RSCompilerDriver.h
nclude/bcc/RenderScript/RSExecutable.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/RenderScript/RSTransforms.h
nclude/bcc/Renderscript/RSCompiler.h
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSExecutable.h
nclude/bcc/Renderscript/RSInfo.h
nclude/bcc/Renderscript/RSScript.h
nclude/bcc/Renderscript/RSTransforms.h
ib/RenderScript/Android.mk
ib/RenderScript/RSCompiler.cpp
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
ib/RenderScript/RSForEachExpand.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSInfoWriter.cpp
ib/RenderScript/RSScript.cpp
ib/RenderScript/runtime/Android.mk
ib/RenderScript/runtime/arch/generic.c
ib/RenderScript/runtime/arch/neon.ll
ib/RenderScript/runtime/build_bc_lib.mk
ib/RenderScript/runtime/build_clcore.sh
ib/RenderScript/runtime/convert.ll
ib/RenderScript/runtime/math.ll
ib/RenderScript/runtime/matrix.ll
ib/RenderScript/runtime/pixel_packing.ll
ib/RenderScript/runtime/rs_allocation.c
ib/RenderScript/runtime/rs_cl.c
ib/RenderScript/runtime/rs_core.c
ib/RenderScript/runtime/rs_element.c
ib/RenderScript/runtime/rs_mesh.c
ib/RenderScript/runtime/rs_program.c
ib/RenderScript/runtime/rs_sample.c
ib/RenderScript/runtime/rs_sampler.c
ib/RenderScript/runtime/rs_structs.h
ib/Renderscript/Android.mk
ib/Renderscript/RSCompiler.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSExecutable.cpp
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/RSInfoReader.cpp
ib/Renderscript/RSInfoWriter.cpp
ib/Renderscript/RSScript.cpp
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/build_bc_lib.mk
ib/Renderscript/runtime/build_clcore.sh
ib/Renderscript/runtime/convert.ll
ib/Renderscript/runtime/math.ll
ib/Renderscript/runtime/matrix.ll
ib/Renderscript/runtime/pixel_packing.ll
ib/Renderscript/runtime/rs_allocation.c
ib/Renderscript/runtime/rs_cl.c
ib/Renderscript/runtime/rs_core.c
ib/Renderscript/runtime/rs_element.c
ib/Renderscript/runtime/rs_mesh.c
ib/Renderscript/runtime/rs_program.c
ib/Renderscript/runtime/rs_sample.c
ib/Renderscript/runtime/rs_sampler.c
ib/Renderscript/runtime/rs_structs.h
2c1ea4bb3e4dbe935149e1a8e4a0c7d3a43348cc 28-Jul-2012 The Android Open Source Project <initial-contribution@android.com> am 1d81bd90: Reconcile with jb-release

* commit '1d81bd907f3fe7c642ed45f18049236305ed1e3f':
1d81bd907f3fe7c642ed45f18049236305ed1e3f 27-Jul-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-release

Change-Id: I004954e32fede7bc02333dcfa29982117be6bbea
33a56598fed29fa0adc8d871f5e5be50b79a87c2 27-Jul-2012 Shih-wei Liao <sliao@google.com> Fix Mac breakage. Unsigned vs. Signed.

Change-Id: I83fb3b7aee2420b3bc2cf507321b9800fd098ea9
ools/abcc/Main.cpp
40b9ba0213349a9eed81dfe974c0ea6f9a514558 27-Jul-2012 Shih-wei Liao <sliao@google.com> Add const.

Change-Id: I52b3f5756ced85cdb1027b6497ae40de54cc50b3
nclude/bcc/Support/LinkerConfig.h
7727153c233679e1f0fb60702c3966b4e590956b 27-Jul-2012 Shih-wei Liao <sliao@google.com> A bitcode compiler tool. BUG=6886348.

Change-Id: I0e412e47c07c76844ec0e88928c329707d102dd6
ools/abcc/Android.mk
ools/abcc/Main.cpp
52aefd86e18310cd7e5de81f8498bb3497978519 27-Jul-2012 Shih-wei Liao <sliao@google.com> Add a bitcode compiler driver. BUG=6886348.

ABCCompilerDriver takes bitcode as input and use
bcc::Compiler and bcc::Linker to generate a shared object.

Change-Id: Ie4d92e125bd0c694ebe152bdc128cfa2d95acb4f
ndroid.mk
nclude/bcc/AndroidBitcode/ABCCompilerDriver.h
ib/AndroidBitcode/ABCCompilerDriver.cpp
ib/AndroidBitcode/Android.mk
0dbd4fbaf5966b52e4382a748fd9c7c7b9b31f55 27-Jul-2012 Shih-wei Liao <sliao@google.com> Provide a way to obtain TargetMachine. BUG=6886348.

Change-Id: I39da6c634586f8993df10af4a1b7bfb603a38f84
nclude/bcc/Compiler.h
6202dda52b7898340aac05e73adebc4fb9199f4d 27-Jul-2012 Shih-wei Liao <sliao@google.com> Add Source::CreateFromFd(). BUG=6886348.

Change-Id: I70bba15b664d6290931faba0482be1241dcc6ede
nclude/bcc/Source.h
ib/Core/Source.cpp
f0407796f0c3e16065db7fd61a2b09e27aaac24d 27-Jul-2012 Shih-wei Liao <sliao@google.com> Remove MCLinker headers dependency.

Change-Id: I265770d4157068a934c9ae9d42fdd621b2683a68
nclude/bcc/Linker.h
ib/Core/Linker.cpp
ib/Support/LinkerConfig.cpp
8fe71dd4cd49c426cafa73ab21ab7a95dd15254a 27-Jul-2012 Shih-wei Liao <sliao@google.com> Fix McLinker and bcc::Linker default library search path.

Shared objects, for example, libm.so, can not be found under the
default search pathes (/usr.) This is because the sysroot cannot
propagate its value to the default search pathes since it was
given after the search pathes has been set.

Change-Id: I5e138713d1c061de7ef6ac1599d8c036ed35b3f2
nclude/bcc/Linker.h
ib/Core/Linker.cpp
ib/Support/TargetLinkerConfigs.cpp
ools/mcld/Main.cpp
353bf4498661226b349133653cbdd7726616663f 25-Jul-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
10a9e6a8fef436602cfec041f0a0381f51c73e4a 24-Jul-2012 Shih-wei Liao <sliao@google.com> Fix Mac build breakage.

Change-Id: Id25a77ccb7caa45c85d4654b47f566842efed1ed
ib/RenderScript/RSExecutable.cpp
d7f1bd6a5b27212522a59ce94537ac4431a94794 24-Jul-2012 Shih-wei Liao <sliao@google.com> Use USE_DISASSEMBLER and drop the letters "MC".

Change-Id: Iaae9a7c5a252ca5f70b90d434a342a257168d82b
nclude/bcc/Config/Config.h
ib/RenderScript/RSCompilerDriver.cpp
590a249d2a5fad67f4c386f4a4ca16ef633fe9ea 23-Jul-2012 Shih-wei Liao <sliao@google.com> Expose LLVM and MCLinker APIs currently.

And fix various errors discovered by WHOLE_STATIC_LIBRARY.

Change-Id: Iaf718cb4902a89e2593cf6f8672503c07e811306
ndroid.mk
ools/bcc/Android.mk
ools/mcld/Android.mk
6d01af642a7cacdbd483f0c57e9f17cdeaaa98d6 23-Jul-2012 Shih-wei Liao <sliao@google.com> Dump disassembly in RS after the compilation. BUG=6841435.

Change libbcc_DEBUG_MC_DISASSEMBLER in libbcc-config.mk to enable
this feature.

Change-Id: Iaac106dfa9cda1b1830ea4255807ab08b2f0e2bb
nclude/bcc/RenderScript/RSExecutable.h
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
b2b8c64cd0524f9210218df4738f40409631ea26 23-Jul-2012 Shih-wei Liao <sliao@google.com> Add a flag kAppend in FileBase. BUG=6841435.

Change-Id: I03613029e33867bc0ed731f232d1fc4b21c97dd9
nclude/bcc/Support/FileBase.h
ib/Support/FileBase.cpp
c02eae6f35de7dfd92233d591b27c05f15c2a6a1 23-Jul-2012 Shih-wei Liao <sliao@google.com> Add kTruncate in FileBase. BUG=6841435.

And remove O_TRUNC from the default flags to OutputFile.

Change-Id: Id2ff6d5bac319d8be498e438eb3ef84e85573218
nclude/bcc/Support/File.h
nclude/bcc/Support/FileBase.h
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
ib/Support/FileBase.cpp
ib/Support/OutputFile.cpp
ools/bcc/Main.cpp
388fec12e6bbf5798281d266cac63630bcaba333 23-Jul-2012 Shih-wei Liao <sliao@google.com> bcc::Disassemble() API. BUG=6841435.

Change-Id: Ie249f47ba2856aac300061e53dfd34b3ada999f7
nclude/bcc/Support/Disassembler.h
ib/Support/Android.mk
ib/Support/Disassembler.cpp
ib/Support/Initialization.cpp
b23b1568c3dcedc2305e459bff02256256bf3329 23-Jul-2012 Shih-wei Liao <sliao@google.com> Remove HAVE_BCC_CONFIG_MK_H.

Change-Id: I21334ea5279e814f427e39c75f0c89297e026ca5
nclude/bcc/Config/Config.h
ibbcc-gen-build-info.mk
ibbcc-gen-config-from-mk.mk
dbed728c3d4241ea463cc357e96afbd5d786091a 24-Jul-2012 Shih-wei Liao <sliao@google.com> Merge "Include MIPS target disassembler. BUG=6841435."
d4a359ed026bdb64b7513d9068c1f2b855654a45 24-Jul-2012 Shih-wei Liao <sliao@google.com> Merge "Add APIs to get symbol size and symbol name list. BUG=6841435."
f93b7e339eed62e6e7a94c2b5b4fc3ec0db4f792 24-Jul-2012 Stephen Hines <srhines@google.com> am 84739276: (-s ours) am f200803f: Merge "Add a property for overriding FP precision."

* commit '84739276c483e15c50fa4392ebf68cc0c2528542':
Add a property for overriding FP precision.
9cb69f6bd3b537e895f74325c931c989f3df042e 23-Jul-2012 Shih-wei Liao <sliao@google.com> Include MIPS target disassembler. BUG=6841435.

Change-Id: I1cab64a46d155ed1a95d0e9de68a8decb05e3766
ndroid.mk
ib/Support/Disassembler.cpp
9795754a34648d962f00ced51183b759b9eaf2b2 23-Jul-2012 Shih-wei Liao <sliao@google.com> Add APIs to get symbol size and symbol name list. BUG=6841435.

Change-Id: I4ed2af9fcfed1086f48830f9f041299fd037f436
nclude/bcc/ExecutionEngine/ObjectLoader.h
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.h
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoaderImpl.h
ddef99dbfd1a9747c20cdb3d62baa8895a3a561c 23-Jul-2012 Shih-wei Liao <sliao@google.com> Remove the vestige.

Change-Id: I8061e0cb308176937ddcb79456d987d8ea80dbc6
ib/ScriptCRT/math.ll
fe1003cc3c705b1392ddc6d2aa76c786908b3844 21-Jul-2012 Stephen Hines <srhines@google.com> am 163892e0: am c3e9f47c: Merge "Emit translated bitcode directly from bcinfo."

* commit '163892e07ee92616fdbf3ec08aa41ff48ba136d3':
Emit translated bitcode directly from bcinfo.
84739276c483e15c50fa4392ebf68cc0c2528542 21-Jul-2012 Stephen Hines <srhines@google.com> am f200803f: Merge "Add a property for overriding FP precision."

* commit 'f200803f4a5fe4e3d0032cb24cbd9a5e982d55a3':
Add a property for overriding FP precision.
163892e07ee92616fdbf3ec08aa41ff48ba136d3 21-Jul-2012 Stephen Hines <srhines@google.com> am c3e9f47c: Merge "Emit translated bitcode directly from bcinfo."

* commit 'c3e9f47ca2f450c9cb43ef8d7d7694df19d3f04f':
Emit translated bitcode directly from bcinfo.
f200803f4a5fe4e3d0032cb24cbd9a5e982d55a3 21-Jul-2012 Stephen Hines <srhines@google.com> Merge "Add a property for overriding FP precision."
c3e9f47ca2f450c9cb43ef8d7d7694df19d3f04f 20-Jul-2012 Stephen Hines <srhines@google.com> Merge "Emit translated bitcode directly from bcinfo."
ae4e28552fe1b8e4277ded66622b831414a76ebe 01-Jun-2012 Stephen Hines <srhines@google.com> Emit translated bitcode directly from bcinfo.

Change-Id: I6ccbdef189898668f1e60cac429307d83c655463
cinfo/tools/Android.mk
cinfo/tools/main.cpp
1680fe132a911cadd3180ccc682deb4df1fe8e1e 02-Jun-2012 Stephen Hines <srhines@google.com> Add a property for overriding FP precision.

adb shell setprop debug.rs.precision rs_fp_full
adb shell setprop debug.rs.precision rs_fp_relaxed
adb shell setprop debug.rs.precision rs_fp_imprecise

Change-Id: Ic7dcba631aeab1046ce928fe8b09122747939870
cinfo/MetadataExtractor.cpp
ib/ExecutionEngine/Script.cpp
4e3068285391db93b7b9691a52ba389a631d3508 19-Jul-2012 The Android Open Source Project <initial-contribution@android.com> am d8df6f30: Reconcile with jb-mr0-release

* commit 'd8df6f30a06a1cb4dcc92943b73ce2d60d8a75bc':
d8df6f30a06a1cb4dcc92943b73ce2d60d8a75bc 19-Jul-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr0-release

Change-Id: I61bf607f26244c3149ba7a7dedd041638b46d0e1
94c18593cf2896b3ddd2dbe9b59185e521873751 19-Jul-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
3f566e3cff809678ad6c226e46d1015f026e9f8a 18-Jul-2012 Shih-wei Liao <sliao@google.com> Mac breakage: Fix undefined symbols "llvm::SmallVectorBase::grow_pod" bug.

Change-Id: I373daaeaa77fef2894642b979a796814b4e76dbf
ools/mcld/Android.mk
aa42792424b1638543a19df12953b832b032377d 18-Jul-2012 Shih-wei Liao <sliao@google.com> Fix Mac build by exposing LLVM APIs.

Change-Id: I8b8022b7f7a1f6c5ea8f09b6c1a3ddf4a30e59fb
ndroid.mk
49e6b46052bca8f297d2be362cd1d327185b896d 18-Jul-2012 Shih-wei Liao <sliao@google.com> Fix Mac build breakage: Remove 2nd, redundant including of llvm.

Change-Id: Ic428ff290ffd1be11687d8bf1dfa7bc14bcf6a42
ib/Core/Android.mk
ib/Support/Android.mk
ools/mcld/Android.mk
93fab3393d206c6bc07921d717b637bc35db4536 17-Jul-2012 The Android Automerger <android-build@android.com> merge in jb-mr0-release history after reset to jb-dev
d7f81ef7c9544855984c11e653a19cdf72593483 17-Jul-2012 Stephen Hines <srhines@google.com> am 6044a0db: am d7034fe6: Merge "Add missing min function to neon.ll"

* commit '6044a0dbb39f6ea81e9c7062436cfe79cf90fd34':
Add missing min function to neon.ll
18e56eadd0f1ed27d354d71954e6caf9f36590af 17-Jul-2012 Stephen Hines <srhines@google.com> am ebf7c559: am 43e0a530: Merge "Fix typo in generic.c."

* commit 'ebf7c559ffca9d286bc0063dd3b36f782ad067de':
Fix typo in generic.c.
6044a0dbb39f6ea81e9c7062436cfe79cf90fd34 17-Jul-2012 Stephen Hines <srhines@google.com> am d7034fe6: Merge "Add missing min function to neon.ll"

* commit 'd7034fe692d1cbc11b14973c7f003d10f745ac83':
Add missing min function to neon.ll
ebf7c559ffca9d286bc0063dd3b36f782ad067de 17-Jul-2012 Stephen Hines <srhines@google.com> am 43e0a530: Merge "Fix typo in generic.c."

* commit '43e0a5303cf3e21b45142969e2eb6623544f1154':
Fix typo in generic.c.
d7034fe692d1cbc11b14973c7f003d10f745ac83 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Add missing min function to neon.ll"
43e0a5303cf3e21b45142969e2eb6623544f1154 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Fix typo in generic.c."
38a1b85339b73c19c2ecba1d6bd5df676bac0385 17-Jul-2012 Rajeev Sharma <rdsharma@google.com> Merge "Add missing min function to neon.ll"
806ae303609de9440d37c57b0cfc5418eb804c65 17-Jul-2012 Jason Sams <jsams@google.com> am cb8036fa: am c2ea45ef: Fix return range for rsSample.

* commit 'cb8036fae0a442efd368f9bded0299df4d94b769':
Fix return range for rsSample.
cb8036fae0a442efd368f9bded0299df4d94b769 17-Jul-2012 Jason Sams <jsams@google.com> am c2ea45ef: Fix return range for rsSample.

* commit 'c2ea45ef66c2debb0c1bfa84190a337f8a964160':
Fix return range for rsSample.
63257a4bb57a737f16c5193f9eed847dcb8fee83 17-Jul-2012 Rajeev Sharma <rdsharma@google.com> Add missing min function to neon.ll

Change-Id: If543a0c6f2a45593307b775cfe29ca21ad52b387
ib/ScriptCRT/arch/neon.ll
3097748afa9153181e9630b025a6f2ffca7070bb 17-Jul-2012 Rajeev Sharma <rdsharma@google.com> Fix typo in generic.c.

Change-Id: If1bcef8f3d62d400672ba9683b351b6fe411433e
ib/ScriptCRT/arch/generic.c
3c6ee0b12d1f2724eb7f78cf4c1419aeb3b53e81 17-Jul-2012 Rajeev Sharma <rdsharma@google.com> Merge "Fix typo in generic.c."
193898db2a4114bd9d7c7034e2f334097e49a902 16-Jul-2012 Shih-wei Liao <sliao@google.com> Add mcld system tool.

A standalone tool for testing MCLinker/libbcc.

Change-Id: I52ca8b2416b8ef0eedc3f62e8300dd0be2e8fa55
ools/mcld/Android.mk
ools/mcld/Main.cpp
93c8832a6916a54d984764bf83a8a77cbae4143b 16-Jul-2012 Shih-wei Liao <sliao@google.com> Linker funtionality based on MCLinker.

Change-Id: I0c0d105a2538f1f8ccf9f6925c027b32da3c9ca8
nclude/bcc/Linker.h
nclude/bcc/Support/LinkerConfig.h
nclude/bcc/Support/MemoryFactory.h
nclude/bcc/Support/TargetLinkerConfigs.h
ib/Core/Android.mk
ib/Core/Linker.cpp
ib/Support/Android.mk
ib/Support/Initialization.cpp
ib/Support/LinkerConfig.cpp
ib/Support/TargetLinkerConfigs.cpp
e6362661bb058a73c63efb11f4f25a63e77cac8c 16-Jul-2012 Shih-wei Liao <sliao@google.com> Add MCLinker hooks to libbcc.

Change-Id: I3f1260537d719f9501a1d6a140f02c258231b7c2
ndroid.mk
ib/Core/Android.mk
ib/Support/Android.mk
ibbcc.mk
a27e878feeae07d6a3e68e2931f183080a2e63f3 17-Jul-2012 Rajeev Sharma <rdsharma@google.com> Add missing min function to neon.ll

Change-Id: If543a0c6f2a45593307b775cfe29ca21ad52b387
ib/RenderScript/runtime/arch/neon.ll
61fa40b67aed880481e799d6646257076486c016 17-Jul-2012 Rajeev Sharma <rdsharma@google.com> Fix typo in generic.c.

Change-Id: If1bcef8f3d62d400672ba9683b351b6fe411433e
ib/RenderScript/runtime/arch/generic.c
223f3fefd33e516b3f10c8755418d5dd6c1d3125 17-Jul-2012 Stephen Hines <srhines@google.com> Properly turn NEON on.

BUG=6830374

Without this patch, we will always crash on scripts that use reduced precision.

Change-Id: If046d1a2a70db41bd1c2df8c57e9d7de713c4dc8
ib/Support/TargetCompilerConfigs.cpp
da0bbb3d40c85743dc6eae897869f643d45b3f9f 17-Jul-2012 Stephen Hines <srhines@google.com> am 5860909e: Merge "Fix return range for rsSample."

* commit '5860909e9a35e77e3502f3a332351c59892663ea':
Fix return range for rsSample.
9c25ed5aa03dedae0d489900cffd94ee6329c453 17-Jul-2012 Stephen Hines <srhines@google.com> am a61b122f: Merge "Wire up LLVM intrinsics for sqrt and pow."

* commit 'a61b122ff984c0651836675b7a76d64ee573464e':
Wire up LLVM intrinsics for sqrt and pow.
307bea5568a595a5d76a7456f9963019be78ee0a 17-Jul-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 717054ae to master

Change-Id: I87a2ce871ccc5e7bc1a27eac2aee36237729d100
1d58713f9b54b763ebfc7b7ba42e7c99b0614164 17-Jul-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of ace3a371 to master

Change-Id: I20dde36c9a32d9cdadf9734ed6f59aced566e90c
c56d4e57410802c47aeb513390c458448d7f1e3a 17-Jul-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 05143095 to master

Change-Id: I8212cdc06993cd9a4034d23de837819c760e9c60
ab27e27958d0eb6574849eed9770dca5cfbc1455 17-Jul-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 449f7c75 to master

Change-Id: I9efc5ce02f9430ac9a4b7785cafa097c3142492c
5860909e9a35e77e3502f3a332351c59892663ea 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Fix return range for rsSample."
cb6dda3031f4f8ad4eb03ff77666706bd1f78a4f 11-Jul-2012 Jason Sams <jsams@google.com> Fix return range for rsSample.

bug 6807206
RS sample was not scaling float to 0-1 range.

Change-Id: I5885561b915cf82611ed6bcd9fd9bb4aec16c707
ib/ScriptCRT/rs_sample.c
a61b122ff984c0651836675b7a76d64ee573464e 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Wire up LLVM intrinsics for sqrt and pow."
717054ae314ce970b14d6dcb3896e76becb2d80c 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Add missing conversion functions to convert.ll"
7ea913ce7d1151eb9bf455c2dfbe6b32987444f2 17-Jul-2012 Shih-wei Liao <sliao@google.com> Revert "Add MCLinker hooks to libbcc."

This reverts commit c441933658023404534825b8348f83650c8a15ee.
ndroid.mk
ib/Core/Android.mk
ib/Support/Android.mk
ibbcc.mk
ace3a371f846a3fda9fc90549d63078326315b5d 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "NEON optimized min and max. Fix single-element fmin and fmax."
c441933658023404534825b8348f83650c8a15ee 16-Jul-2012 Shih-wei Liao <sliao@google.com> Add MCLinker hooks to libbcc.

Change-Id: I18117700788b685642498f80bbe0433b2fa2d186
ndroid.mk
ib/Core/Android.mk
ib/Support/Android.mk
ibbcc.mk
28e661a0b8ce57114ad495283addbcb028cd267f 28-Jun-2012 Rajeev Sharma <rdsharma@google.com> Wire up LLVM intrinsics for sqrt and pow.

Change-Id: I2a893f252bbaf688ae8aeed213f96e45aa77228c
ib/ScriptCRT/Android.mk
ib/ScriptCRT/math.ll
2e3a024721463a6353a6371416591594e664ef50 19-Jun-2012 Rajeev Sharma <rdsharma@google.com> Add missing conversion functions to convert.ll

Change-Id: I62fc6407bb3b686bd0be46c553bbce5ae97d86c4
ib/ScriptCRT/convert.ll
ib/ScriptCRT/rs_cl.c
43afabe189d74b81d343ff3b6d270715edc2d2cc 19-Jun-2012 Rajeev Sharma <rdsharma@google.com> NEON optimized min and max. Fix single-element fmin and fmax.

Change-Id: I95b68e0ea5e2cdb8c2a480eebb006e3af66ff601
ib/ScriptCRT/arch/generic.c
ib/ScriptCRT/arch/neon.ll
ib/ScriptCRT/rs_cl.c
051430953e11ea06acdc08e9647e29fd34b97657 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Improve existing convert functions (remove unnecessary shuffles/widenings)"
449f7c7549a93ee62aab2b53172da03549efe2b0 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Add NEON fmin and fmax functions. Refactor previous files for clamp into general architecture files."
8f569507c283a080041cc82515dc3b03b96c3683 14-Jul-2012 Shih-wei Liao <sliao@google.com> Fix build. Move math.ll.

Change-Id: I2d22e607a7f98d39048c87e65d230758171937da
ib/RenderScript/runtime/math.ll
ib/ScriptCRT/math.ll
1216f36c5ab18ca8838cc683327655ab40f223ca 25-Jun-2012 Shih-wei Liao <sliao@google.com> Fix mesa3d.

Change-Id: Iab88ee0b77f1b642141c8d42818ec220705c1b91
nclude/bcc/Config/Config.h
ibbcc-gen-build-info.mk
b8f9fb12f2d879f8f83e8dda1f302741a124513d 30-Jun-2012 Shih-wei Liao <sliao@google.com> Link against NEON version of libclcore.bc when possible.

Change-Id: I078f64a7e697bd7f0a65f3dc6f30ae017c4ad8b4
ib/RenderScript/RSScript.cpp
ed7fffbc0e3fe3c5dced1248f6be52b6c95b513b 30-Jun-2012 Shih-wei Liao <sliao@google.com> Add a property for overriding FP precision.

This merges the Stephen's CL 32c56ec on Jun. 1. It also renames
RSInfo::{Full,Relaxed,Imprecise} to RSInfo::{FP_Full,FP_Relaxed,
FP_Imprecise} which is more descriptive.

Change-Id: I6f202524d58a7f5a9dd8ea122aa0fd81162291b0
nclude/bcc/RenderScript/RSInfo.h
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSInfo.cpp
ba4206445e192f4c0fa519eae55c4b84cfb0efee 30-Jun-2012 Shih-wei Liao <sliao@google.com> Refactor linking RS runtime after having RSInfo.

Change-Id: I96119297de4c98463af7dad9dce3ac9304880637
nclude/bcc/RenderScript/RSCompilerDriver.h
ib/RenderScript/RSCompilerDriver.cpp
b1cc74f2fc38ea115b69f65302bc62478fe59a4a 30-Jun-2012 Shih-wei Liao <sliao@google.com> Add libclcore_neon.bc as a built-in dependency.

Change-Id: If23d3b4950ab3f28f8186313ada18d9eeec0e3e6
ndroid.mk
nclude/bcc/RenderScript/RSInfo.h
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
c104ec91f241413c38763cba70c8ed02ee82f5a9 26-Apr-2012 Stephen Hines <srhines@google.com> Fix RSExpandForEach pass.

The bug here is that the c_str() storage of a temporary std::string is not
guaranteed to persist beyond the scope of the std::string. In this case, we
were keeping a const char * to freed memory (and using garbage values to
populate our list of functions to keep).

Change-Id: I6e1bd64bbf302c004a34c926b2f7cd643ed98e76
ib/RenderScript/RSCompiler.cpp
1f4de3d8ba8fc991cc814701d294fa5f5d74f9cc 26-Apr-2012 Ying Wang <wangying@google.com> LOCAL_REQUIRED_MODULES accepts module names, not file names.

Change-Id: Ic77df11794987d7803d1eb8eb62c0ff9751ea6ff
ndroid.mk
6d4e8c85d150bf6d3fedc86b46edf0801ee6671d 05-Jun-2012 Shih-wei Liao <sliao@google.com> Add CleanSpec.

Change-Id: I0ab4c9240dd65198549835da9b988314ef60e143
leanSpec.mk
3a9bbfb248e1728d89defabb18e037df31e29558 25-Apr-2012 Shih-wei Liao <sliao@google.com> Refactoring into lib/RenderScript/runtime.

Change-Id: Ie53d08736f5128739f3da6753174e672a7116119
ib/RenderScript/runtime/clamp.ll
7bcec85228c1eceade6efc9cd7d02ef81c8d55e9 25-Apr-2012 Shih-wei Liao <sliao@google.com> Remove all deprecated BCC C APIs.

This commit revises RSCompilerDriver::build(...) method which is
custom-made for RenderScript. It also removes
RSScript::SourceDependency since RSScript no longer needs to keep
dependency information for its associated source.

Change-Id: Ic70f6db9fd7dd57a42f0b464132636b9d8ddf5c0
nclude/bcc/RenderScript/RSCompilerDriver.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/bcc.h
ib/Core/Android.mk
ib/Core/bcc.cpp
ib/Core/bcc_internal.h
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSScript.cpp
ibbcc-gen-build-info.mk
2665c2f94ed14c1d15925d83b47aa519a11dafe5 25-Apr-2012 Shih-wei Liao <sliao@google.com> Link libclcore.bc for RenderScript by default.

Change-Id: I6278bb4183a13ae3485a2afecb6b87ea849ad01e
ndroid.mk
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
ib/Core/bcc.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSScript.cpp
d577d11347cdad9b88c0802bf6f5ee1fd3c06f19 25-Apr-2012 Shih-wei Liao <sliao@google.com> Rewrite the command line tool "bcc."

Get rid of deprecated BCC C APIs using in bcc command.

For the usage, see "/system/bin/bcc -help" for detail.

Change-Id: I26dccd63034624509cb7311c72a45b908fc6d92c
ools/bcc/Android.mk
ools/bcc/Main.cpp
ools/bcc/main.cpp
f290793bc65b8483332ac8b568962395c4a63927 13-Apr-2012 Zonr Chang <zonr.net@gmail.com> Refine SHA-1 related stuffs.

1. Introduce libbcc.sha1.so instead of raw file libbcc.so.sha1
* Now tools/build/gen-sha1-stamp.py generated assembly contains
symbols libbcc_so_SHA1 and libRS_so_SHA1 associated with their
SHA-1 digests.
* In that way, their SHA-1 information can be obtained via
dlopen().
2. Refine Sha1Helper to Sha1Util.
2. Remove unused tools/build/dataconvert.py by the way.

Change-Id: I345e1a09e6206748fb8dfabf891154de97a063ec
ndroid.mk
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/Support/Sha1Helper.h
nclude/bcc/Support/Sha1Util.h
ib/Core/bcc.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/Support/Android.mk
ib/Support/Sha1Helper.cpp
ib/Support/Sha1Util.cpp
ools/build/dataconvert.py
ools/build/gen-sha1-stamp.py
ef73a242762bcd8113b9b65ceccbe7d909b5acbc 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Refine DebugHelper.h into Log.h.

This removes USE_FUNC_LOGGER from libbcc-config.mk.

Change-Id: Ia496d41388135706a501bd362075f53d1c0eb6aa
nclude/bcc/ExecutionEngine/SymbolResolverProxy.h
nclude/bcc/RenderScript/RSExecutable.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/Support/DebugHelper.h
nclude/bcc/Support/Log.h
ib/Core/BCCContext.cpp
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Core/bcc.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ObjectLoader.cpp
ib/RenderScript/RSCompiler.cpp
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
ib/RenderScript/RSForEachExpand.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSInfoWriter.cpp
ib/RenderScript/RSScript.cpp
ib/Support/CompilerConfig.cpp
ib/Support/Disassembler.cpp
ib/Support/Initialization.cpp
ib/Support/InputFile.cpp
ib/Support/OutputFile.cpp
ib/Support/Sha1Helper.cpp
ibbcc-config.mk
7a5d423014e1cc95e34764b3ddf8e80ace3509b8 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Get build information in C++ way.

Change-Id: I5d2d2c18192bf9e5d2b9aa5a2bc1cce331191572
ndroid.mk
nclude/bcc/Config/BuildInfo.h
ib/Core/bcc.cpp
ibbcc-gen-build-info.mk
ibbcc-gen-build-stamp.mk
ools/build/gen-build-info.py
ools/build/gen-build-stamp.py
c72c4ddfcd79c74f70713da91a69569451b5c19e 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Make libbcc public.

This commit is not expected to change any functionality.

Change-Id: I364e8bad32d946281b78b1ce36a1b26bf60e3055
ndroid.mk
onfig.h
elper/Android.mk
elper/DebugHelper.h
elper/sha1.c
elper/sha1.h
nclude/bcc/BCCContext.h
nclude/bcc/Compiler.h
nclude/bcc/Config/Config.h
nclude/bcc/ExecutionEngine/BCCRuntimeSymbolResolver.h
nclude/bcc/ExecutionEngine/GDBJIT.h
nclude/bcc/ExecutionEngine/GDBJITRegistrar.h
nclude/bcc/ExecutionEngine/ObjectLoader.h
nclude/bcc/ExecutionEngine/SymbolResolverInterface.h
nclude/bcc/ExecutionEngine/SymbolResolverProxy.h
nclude/bcc/ExecutionEngine/SymbolResolvers.h
nclude/bcc/RenderScript/RSCompiler.h
nclude/bcc/RenderScript/RSCompilerDriver.h
nclude/bcc/RenderScript/RSExecutable.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/RenderScript/RSTransforms.h
nclude/bcc/Script.h
nclude/bcc/Source.h
nclude/bcc/Support/CompilerConfig.h
nclude/bcc/Support/DebugHelper.h
nclude/bcc/Support/Disassembler.h
nclude/bcc/Support/File.h
nclude/bcc/Support/FileBase.h
nclude/bcc/Support/FileMutex.h
nclude/bcc/Support/Initialization.h
nclude/bcc/Support/InputFile.h
nclude/bcc/Support/OutputFile.h
nclude/bcc/Support/Sha1Helper.h
nclude/bcc/Support/TargetCompilerConfigs.h
ib/Core/Android.mk
ib/Core/BCCContext.cpp
ib/Core/BCCContextImpl.cpp
ib/Core/BCCContextImpl.h
ib/Core/Compiler.cpp
ib/Core/Script.cpp
ib/Core/Source.cpp
ib/Core/bcc.cpp
ib/Core/bcc_internal.h
ib/Disassembler/Android.mk
ib/Disassembler/Disassembler.cpp
ib/Disassembler/Disassembler.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.cpp
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/BCCRuntimeSymbolResolver.cpp
ib/ExecutionEngine/BCCRuntimeSymbolResolver.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerConfig.cpp
ib/ExecutionEngine/CompilerConfig.h
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/File.h
ib/ExecutionEngine/FileBase.cpp
ib/ExecutionEngine/FileBase.h
ib/ExecutionEngine/FileMutex.h
ib/ExecutionEngine/GDBJIT.cpp
ib/ExecutionEngine/GDBJIT.h
ib/ExecutionEngine/GDBJITRegistrar.cpp
ib/ExecutionEngine/GDBJITRegistrar.h
ib/ExecutionEngine/Initialization.cpp
ib/ExecutionEngine/Initialization.h
ib/ExecutionEngine/InputFile.cpp
ib/ExecutionEngine/InputFile.h
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoader.h
ib/ExecutionEngine/ObjectLoaderImpl.h
ib/ExecutionEngine/OutputFile.cpp
ib/ExecutionEngine/OutputFile.h
ib/ExecutionEngine/RSCompiler.cpp
ib/ExecutionEngine/RSCompiler.h
ib/ExecutionEngine/RSCompilerDriver.cpp
ib/ExecutionEngine/RSCompilerDriver.h
ib/ExecutionEngine/RSExecutable.cpp
ib/ExecutionEngine/RSExecutable.h
ib/ExecutionEngine/RSForEachExpand.cpp
ib/ExecutionEngine/RSInfo.cpp
ib/ExecutionEngine/RSInfo.h
ib/ExecutionEngine/RSInfoExtractor.cpp
ib/ExecutionEngine/RSInfoReader.cpp
ib/ExecutionEngine/RSInfoWriter.cpp
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/RSTransforms.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
ib/ExecutionEngine/Source.cpp
ib/ExecutionEngine/Source.h
ib/ExecutionEngine/SymbolResolverInterface.h
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/ExecutionEngine/SymbolResolverProxy.h
ib/ExecutionEngine/SymbolResolvers.cpp
ib/ExecutionEngine/SymbolResolvers.h
ib/ExecutionEngine/TargetCompilerConfigs.cpp
ib/ExecutionEngine/TargetCompilerConfigs.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
ib/RenderScript/Android.mk
ib/RenderScript/RSCompiler.cpp
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
ib/RenderScript/RSForEachExpand.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSInfoWriter.cpp
ib/RenderScript/RSScript.cpp
ib/RenderScript/runtime/Android.mk
ib/RenderScript/runtime/arch/generic.c
ib/RenderScript/runtime/arch/neon.ll
ib/RenderScript/runtime/build_bc_lib.mk
ib/RenderScript/runtime/build_clcore.sh
ib/RenderScript/runtime/clamp.ll
ib/RenderScript/runtime/convert.ll
ib/RenderScript/runtime/matrix.ll
ib/RenderScript/runtime/pixel_packing.ll
ib/RenderScript/runtime/rs_allocation.c
ib/RenderScript/runtime/rs_cl.c
ib/RenderScript/runtime/rs_core.c
ib/RenderScript/runtime/rs_element.c
ib/RenderScript/runtime/rs_mesh.c
ib/RenderScript/runtime/rs_program.c
ib/RenderScript/runtime/rs_sample.c
ib/RenderScript/runtime/rs_sampler.c
ib/RenderScript/runtime/rs_structs.h
ib/ScriptCRT/Android.mk
ib/ScriptCRT/arch/generic.c
ib/ScriptCRT/arch/neon.ll
ib/ScriptCRT/build_bc_lib.mk
ib/ScriptCRT/build_clcore.sh
ib/ScriptCRT/convert.ll
ib/ScriptCRT/matrix.ll
ib/ScriptCRT/pixel_packing.ll
ib/ScriptCRT/rs_allocation.c
ib/ScriptCRT/rs_cl.c
ib/ScriptCRT/rs_core.c
ib/ScriptCRT/rs_element.c
ib/ScriptCRT/rs_mesh.c
ib/ScriptCRT/rs_program.c
ib/ScriptCRT/rs_sample.c
ib/ScriptCRT/rs_sampler.c
ib/ScriptCRT/rs_structs.h
ib/Support/Android.mk
ib/Support/CompilerConfig.cpp
ib/Support/Disassembler.cpp
ib/Support/FileBase.cpp
ib/Support/Initialization.cpp
ib/Support/InputFile.cpp
ib/Support/OutputFile.cpp
ib/Support/Sha1Helper.cpp
ib/Support/TargetCompilerConfigs.cpp
ib/Support/sha1.c
ib/Support/sha1.h
ibbcc-device-build.mk
ibbcc-gen-build-stamp.mk
ibbcc-gen-config-from-mk.mk
ibbcc-host-build.mk
ddf5661793de8fb4e16906b7f7822972fcb13c6d 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Refine the makefiles.

* Introduce libbcc.mk which defines the path for makefiles and libbcc
configuration.
* Introduce libbcc-{device,host}-build.mk which defines the build
flags for building libbcc itself and/or for building module using
libbcc.
* Add header guard for generated ConfigFromMk.h.

Change-Id: I892f6d3637f628ea6aa0116d92ebc54770ce3a47
ndroid.mk
elper/Android.mk
ib/Disassembler/Android.mk
ib/ExecutionEngine/Android.mk
ibbcc-build-rules.mk
ibbcc-config.mk
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
untime/Android.mk
ools/bcc/Android.mk
ools/bcc/main.cpp
ools/build/gen-build-stamp.py
ools/build/gen-config-from-mk.py
ools/build/gen-sha1-stamp.py
ade92778b99382413ff9c556c724dd3f447e5dfb 13-Apr-2012 Zonr Chang <zonr.net@gmail.com> Switch to use RSCompilerDriver.

This commit is large. It does:

1. Clean-up RSScript. ScriptCached and ScriptCompiled are removed.
2. Switch to use CompilerConfig.
3. Switch to use RSInfo. MCCacheReader and MCCacheWriter are removed.
4. Update C API implementation of libbcc (i.e., bcc.cpp). Note that
it'll be completely removed once there's no clients relying on it.

Change-Id: I9cbe9f9441f73b7c0b3b84793cb35810dd3a9f4c
nclude/bcc/bcc.h
nclude/bcc/bcc_mccache.h
ib/Disassembler/Disassembler.cpp
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSCompiler.cpp
ib/ExecutionEngine/RSCompiler.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
ools/bcc/main.cpp
7a66e6cbb1ae32cd56b19822c4e66560deb857db 25-Apr-2012 Shih-wei Liao <sliao@google.com> Merge lib/Transforms into lib/ExecutionEngine.

Rename BCCTransforms to RSTransforms and ForEachExpand.cpp to
RSForEachExpand.cpp. These are RenderScript-specific stuffs.

Type of parameter passed to RSForEachExpand pass was also modified to
use "vector of pairs (function name, foreach signature)."

bcc_assert.h is removed in this commit.

This commit is not expected to change any sematics.

Change-Id: I6663f66b25176cf970b6d10f742c15e2d302885e
ndroid.mk
nclude/bcc/bcc_assert.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/RSForEachExpand.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/RSTransforms.h
ib/Transforms/Android.mk
ib/Transforms/BCCTransforms.h
ib/Transforms/ForEachExpand.cpp
ibbcc-config.mk
0fffa7e4adc90079dc0f252359050fe872b360dd 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce RSCompilerDriver.

RSCompilerDriver hosts a Compiler. It brings all things together.
Given a RSScript and its output path, RSCompilerDriver::build()
either loads the object file from the previous built or runs the
compiler to get one.

Change-Id: I9664ac6c91dc5c023d164956b889da9e89807b65
ib/ExecutionEngine/RSCompilerDriver.cpp
ib/ExecutionEngine/RSCompilerDriver.h
f74ee1940ac8e01c862e90de49eb10982648f6a1 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce CompilerConfig.

CompilerConfig defines the "attributes" of a Compiler. It contains
target information, configuration, etc. to setup an instance of
Compiler (more specifically, a instance of LLVM TargetMachine used by
the compiler.)

CompilerConfig together with bcc::init::Initialize() will replace
current Compiler::GlobalInitialization().

Change-Id: I879b189632093de9bbef130eaa5e74502536951c
onfig.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/CompilerConfig.cpp
ib/ExecutionEngine/CompilerConfig.h
ib/ExecutionEngine/Initialization.cpp
ib/ExecutionEngine/Initialization.h
ib/ExecutionEngine/TargetCompilerConfigs.cpp
ib/ExecutionEngine/TargetCompilerConfigs.h
0f9cad99f9e3c4db42e9836cc0e316c3a84448f5 13-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce ObjectLoader and RSExecutable.

ObjectLoader loads an object file into memory.

ObjectLoaderImpl defines a set of format-independent interfaces
that a object file format loader has to provide.

ELFObjectLoaderImpl is a subclass of ObjectLoaderImpl and can be used
to load an ELF relocatable object built based on librsloader. It
directly uses the C++ APIs provided by librsloader instead of using
wrapped C APIs defined in librsloader.h

RSExecutable holds the build results of a RSScript.

Change-Id: Ib73d3f567fce3dcfea8c9f2c9bc19fbc47ec78bc
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.h
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoader.h
ib/ExecutionEngine/ObjectLoaderImpl.h
ib/ExecutionEngine/RSExecutable.cpp
ib/ExecutionEngine/RSExecutable.h
1e2adce6df4414d827149ec563c9c89f21ea7426 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce RSInfo and its reader/extractor/writer.

This commit only adds files that implements RSInfo class and DOES
NOT switch to use it.

RSInfo defines the new file format to cache the metadata and
RS-specific information from the source bitcode.

It's the replacement of the old "MC cache" whose name is ambiguous
and some fields within that are deprecated after legacy JIT was
removed.

Reader of RSInfo reads information from the file we called "RS info
file." It will replace MCCacheReader.

Extractor of RSInfo extracts information from the metadata section of
the source bitcode. It will replace MetadataExtractor.

Writer of RSInfo serializes a RSInfo object to a file such that
we can load it quickly using RSInfo reader later. It will replace
MCCacheWriter.

RSInfo unifies the interfaces to get the RS-specific information
such as #rs_export_var supplied by the developers either from file
(RS info file) or from the source bitcode. Later commit will prove
that.

RSInfo uses signature ("\0rsinfo\n") which is different from the
old MC cache ("\0bcc").

The version (MCO_VERSION in bcc_mccache.h) is increased by 1 in this
commit since we remove res_type in MCO_Dependency. RSInfo inherits
the version number comes from old MC cache therefore its version
number starts with 3.

Change-Id: Ie306d26599a3736ff80ccfb8fb6c1355b71872df
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSInfo.cpp
ib/ExecutionEngine/RSInfo.h
ib/ExecutionEngine/RSInfoExtractor.cpp
ib/ExecutionEngine/RSInfoReader.cpp
ib/ExecutionEngine/RSInfoWriter.cpp
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/bcc.cpp
862f3ba997e14b61dce9d341a75688951e67fd1b 11-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce SymbolResolver and its subclasses.

SymbolResolver provides a clean way to do the symbol lookup at
runtime.

LookupFunctionSymbolResolver searches a symbol through a given
function with context supplied.

BCCRuntimeSymbolResolver searches symbol from a predefined symbol-to-
address array which replaces the FindRuntime() function defined in
Runtime.c previously.

SymbolResolverProxy chains the SymbolResolvers and searches the symbol
one by one following the chain until it founds the definition of the
symbol.

Change-Id: I47a8557c0c4be6d0a7ae5c3ac4166fdd1fd26329
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCRuntime.def
ib/ExecutionEngine/BCCRuntimeStub.c
ib/ExecutionEngine/BCCRuntimeStub.h
ib/ExecutionEngine/BCCRuntimeSymbolResolver.cpp
ib/ExecutionEngine/BCCRuntimeSymbolResolver.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/Runtime.c
ib/ExecutionEngine/Runtime.def
ib/ExecutionEngine/Runtime.h
ib/ExecutionEngine/RuntimeStub.c
ib/ExecutionEngine/RuntimeStub.h
ib/ExecutionEngine/SymbolResolverInterface.h
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/ExecutionEngine/SymbolResolverProxy.h
ib/ExecutionEngine/SymbolResolvers.cpp
ib/ExecutionEngine/SymbolResolvers.h
af3f1dd50b486b789dcd7c41fb097fbd02213720 22-Jun-2012 Rajeev Sharma <rdsharma@google.com> Improve existing convert functions (remove unnecessary shuffles/widenings)

Change-Id: I3e1e7c1414ab05410be55ed821087bd1f5484dfb
ib/ScriptCRT/convert.ll
2c7a6ec23864d13da7cbe12ca863d017d9f63fc4 13-Jun-2012 Rajeev Sharma <rdsharma@google.com> Add NEON fmin and fmax functions. Refactor previous files for clamp into general architecture files.

Change-Id: Icc5a0b78ab46c82b62551ae3c6012d5ae740dce0
ib/ScriptCRT/Android.mk
ib/ScriptCRT/arch/generic.c
ib/ScriptCRT/arch/neon.ll
ib/ScriptCRT/clamp.c
ib/ScriptCRT/neon/clamp.ll
ib/ScriptCRT/rs_cl.c
c2ea45ef66c2debb0c1bfa84190a337f8a964160 11-Jul-2012 Jason Sams <jsams@google.com> Fix return range for rsSample.

bug 6807206
RS sample was not scaling float to 0-1 range.

Change-Id: I5885561b915cf82611ed6bcd9fd9bb4aec16c707
ib/ScriptCRT/rs_sample.c
b4f98eab72d121b58a8775083f12143968db7952 11-Jul-2012 Jason Sams <jsams@google.com> Merge "Fix return range for rsSample."
ee4906849895a5f46ac51c17b4e52fa859ad8725 29-Jun-2012 Jason Sams <jsams@google.com> Fix return range for rsSample.

RS sample was not scaling float to 0-1 range.

Change-Id: I5885561b915cf82611ed6bcd9fd9bb4aec16c707
ib/ScriptCRT/rs_sample.c
cf77331a017f25c2676f224f13d8df7179b2522a 28-Jun-2012 Rajeev Sharma <rdsharma@google.com> Wire up LLVM intrinsics for sqrt and pow.

Change-Id: I2a893f252bbaf688ae8aeed213f96e45aa77228c
ib/ScriptCRT/Android.mk
ib/ScriptCRT/math.ll
c996b870ae40603b477a8d7a50f461b82389aaf1 23-Jun-2012 Shih-wei Liao <sliao@google.com> Fix mesh test.

Module name can't be same as variable name.

Change-Id: I061e64a8e7d4ce1c0ca2c63c6ec3ec9de269bc5e
ib/ExecutionEngine/Source.cpp
01b196bb32556be241b9f8702355720eef0a99a0 25-Jun-2012 Rajeev Sharma <rdsharma@google.com> Merge "Add missing conversion functions to convert.ll"
d14994d0c77dbd688d6771f5283554aa0ad55808 05-Jun-2012 Shih-wei Liao <sliao@google.com> Handle GCC 4.2 idiosyncracy on Mac.

Change-Id: I722c14e1674bae802048a48e4c3c6a10d5052790
ib/ExecutionEngine/InputFile.cpp
ib/ExecutionEngine/OutputFile.cpp
e8b283a0581be19344caf4a29dce538b7d046f9d 23-Jun-2012 Shih-wei Liao <sliao@google.com> Merge "Introduce InputFile/OutputFile and FileMutex."
2b0c7cd8d797da292ffd14d7b2a3875f077f47e7 23-Jun-2012 Shih-wei Liao <sliao@google.com> Merge "Introduce new Script class."
81eb33eb7706360800b55e9c4aa49e58e89248aa 19-Jun-2012 Rajeev Sharma <rdsharma@google.com> Add missing conversion functions to convert.ll

Change-Id: I62fc6407bb3b686bd0be46c553bbce5ae97d86c4
ib/ScriptCRT/convert.ll
ib/ScriptCRT/rs_cl.c
4b6da5bb89c284f08d1d9cfa6a988e0d0fb7f8a1 19-Jun-2012 Rajeev Sharma <rdsharma@google.com> NEON optimized min and max. Fix single-element fmin and fmax.

Change-Id: I63fd5178a38afe97835fadeeb00ee071f9d49f2b
ib/ScriptCRT/arch/generic.c
ib/ScriptCRT/arch/neon.ll
ib/ScriptCRT/rs_cl.c
4f94c520f8d699a5973956a1716272146be17128 05-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce InputFile/OutputFile and FileMutex.

FileHandle is replaced with InputFile/OutputFile and FileMutex.

Use InputFile when you want to open a file in read-only.
USe OutputFile when you open a file for writing.
Both of them provide a reliable way to access the files and perform
the I/O operations.

Given a name "foo", FileMutex creates a file named "foo.lock" and
tries to acquire an advisory lock (flock) on this file.

FileHandle, which uses the file it's openning for locking, may corrupt
the file contents when two or more processes are trying to gain the
lock for reading/writing. For example:

Process #2 creates foo
Process #1 opens foo
Process #2 opens foo
Process #2 locks foo (exclusively) (success)
Process #1 locks foo (failed, retry #1)
Process #2 starts writing foo
Process #1 opens and truncates foo (note there’s O_TRUNC in the flag)
Process #2 writes foo continually (foo is corrupted from now on ...)
Process #1 locks foo (failed, retry #2)
...
Process #1 locks foo (reach the max retries and return)
Process #2 gets done on writing foo (foo is corrupted ...)
Process #2 unlocks and closes foo (foo is corrupted)

Change-Id: If416383717cc692741e59ff1e387adf90546e36f
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/File.h
ib/ExecutionEngine/FileBase.cpp
ib/ExecutionEngine/FileBase.h
ib/ExecutionEngine/FileHandle.cpp
ib/ExecutionEngine/FileHandle.h
ib/ExecutionEngine/FileMutex.h
ib/ExecutionEngine/InputFile.cpp
ib/ExecutionEngine/InputFile.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/OutputFile.cpp
ib/ExecutionEngine/OutputFile.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/Sha1Helper.cpp
ccc39a8f412edaec2d231ed1ec70ff25fa83af37 05-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce new Script class.

Script basically manages a source object to be compiled.

Refactor Renderscript stuffs out from class Script to RSScript and
extend RSScript from Script (IS-A relation.)

No functionality changed.

Change-Id: I2fe4b56bef4fd8dc941f98d8276def61e0d8da49
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
504f71241a4208258e594900e5a9090efc3439a9 22-Jun-2012 Rajeev Sharma <rdsharma@google.com> Merge "Improve existing convert functions (remove unnecessary shuffles/widenings)"
3ebd16f5f68606363ae395174d2a3be443caa8f9 22-Jun-2012 Rajeev Sharma <rdsharma@google.com> Improve existing convert functions (remove unnecessary shuffles/widenings)

Change-Id: I3e1e7c1414ab05410be55ed821087bd1f5484dfb
ib/ScriptCRT/convert.ll
89a115c0899c100c1009bf5c2a2b86dd89776457 22-Jun-2012 Stephen Hines <srhines@google.com> Pass +long64 flag when compiling Renderscript's runtime library.

BUG=6690719

Change-Id: I2c7bf2b9dc208b3bdd684fabd654fafe5fe58da6
ib/ScriptCRT/build_bc_lib.mk
5678001d1868ba53a9cc79fea6c13eac687e5145 22-Jun-2012 Stephen Hines <srhines@google.com> Merge "Provide support for Disassembler again."
d55f9d14066b23c6dc0753255a3a953d9af0ab1c 21-Jun-2012 Stephen Hines <srhines@google.com> Provide support for Disassembler again.

Change-Id: I83296c2304b36823f76ade7e120ee235e710e5a1
onfig.h
ib/Disassembler/Disassembler.cpp
ibbcc-gen-build-stamp.mk
3d11147050399e4c208b6f653d5526be77770318 19-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am ca1904d4: am 1957e34d: Merge "Add missed compiler support function for "/" and "%""

* commit 'ca1904d414062a381350f9081089f32ff12b7006':
Add missed compiler support function for "/" and "%"
ca1904d414062a381350f9081089f32ff12b7006 19-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 1957e34d: Merge "Add missed compiler support function for "/" and "%""

* commit '1957e34d4367bba5ab414ab8097044afcb3e591b':
Add missed compiler support function for "/" and "%"
1957e34d4367bba5ab414ab8097044afcb3e591b 19-Jun-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Add missed compiler support function for "/" and "%""
b4164724bec8964a8424e27ab1898236128ab640 10-Feb-2012 xqian6 <xi.qian@intel.com> Add missed compiler support function for "/" and "%"

i386 does not support div for 64bit integer. Thus llvm will generate
intrinsic call (__udivdi3, __divdi3, __moddi3 and __umoddi3) for "/"
and "%" of 64bit integer.

These intrinsic functions are missed in libbcc intrinsic function table
on i386 platform. It causes symbol missing failure in basic operator
test. This change adds them into the table and fixes the problem.

Change-Id: Iea58dced1776a2dc872ff399c41394bbeca4b04d
ib/ExecutionEngine/Runtime.def
ib/ExecutionEngine/RuntimeStub.h
ec8e68d5bb2588dcf6b5e389ef592f0f1d0739a6 13-Jun-2012 Jason Sams <jsams@google.com> Add yuv to rgb intrinsics.

Change-Id: I451a5075ea61f9f492f78ebb6d5d1bc74aca0d16
ib/ScriptCRT/arch/generic.c
ib/ScriptCRT/arch/neon.ll
606cb796e20c766b347eca2bc3d499fce1fbcc62 13-Jun-2012 Rajeev Sharma <rdsharma@google.com> Merge "Add NEON fmin and fmax functions. Refactor previous files for clamp into general architecture files."
a08e47801f1c220fb4ebbd4e9c046e0d30408c4d 13-Jun-2012 Rajeev Sharma <rdsharma@google.com> Add NEON fmin and fmax functions. Refactor previous files for clamp into general architecture files.

Change-Id: Icc5a0b78ab46c82b62551ae3c6012d5ae740dce0
ib/ScriptCRT/Android.mk
ib/ScriptCRT/arch/generic.c
ib/ScriptCRT/arch/neon.ll
ib/ScriptCRT/clamp.c
ib/ScriptCRT/neon/clamp.ll
ib/ScriptCRT/rs_cl.c
d2a5a0eab7a1273797029702652e50b2ed9e6a6d 25-Apr-2012 Shih-wei Liao <sliao@google.com> Refactor SourceInfo into Source.

A Script object is associated with a Source object (HAS-A relation.)

A Source object describes the source code (more specifically, the LLVM
module) that is going to be compiled.

BCCContext contains the context used in a Source object.

BCCContext is now managed by the user not the libbcc itself. That is,
user should supply the context object when they create a Source object.

Change-Id: Icc5e2cab8a673a8e9d4ec1d2df9d612740151e27
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.cpp
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/Source.cpp
ib/ExecutionEngine/Source.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
ib/ExecutionEngine/bcc.cpp
1c30cee77f9a148215a0dacee2d922d1ec1b3bae 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Add BCCContext.

BCCContext manages the global data across the libbcc infrastructure.
This includes LLVMContext object required by materialize bitcode into
llvm::Module and LLVM compilation infrastructure.

Furthermore, BCCContext is escalated to be managed in Script instead
of in the SourceInfo.

Change-Id: I6b212a29d5144d40b6e9ca1e53b605ddc4d4541c
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
c61c011bec66bbef19e92bae50f5101f77837c5d 10-Jun-2012 Shih-wei Liao <sliao@google.com> Merge "Define HAVE_BCC_CONFIG_MK_H for ConfigFromMk.h."
85d9de7369d2002957ecc93afc9a91d8b59c4683 09-Jun-2012 Jason Sams <jsams@google.com> Merge "Add vector version of angle conversion funcs."
a73e6b263e57c7732c925b7715b6fb9d31d47a82 25-Apr-2012 Shih-wei Liao <sliao@google.com> Define HAVE_BCC_CONFIG_MK_H for ConfigFromMk.h.

HAVE_BCC_CONFIG_MK_H will add to CFLAGS if ConfigForMk.h is built
(i.e., libbcc-gen-build-stamp.mk was included.)

Change-Id: I74781af63058fc5f9c9e660989b4b474b4e772fe
onfig.h
ibbcc-gen-build-stamp.mk
ecdfcd043b94b6b5398fa5b9e2aaead2fce3830b 09-Jun-2012 Jason Sams <jsams@google.com> Add vector version of angle conversion funcs.

Change-Id: Ic9a9dfb49864dd3ca29d727ceb8216849e514d59
ib/ScriptCRT/rs_cl.c
b2037f9e298c44db73ec50761db39f07c33ec9e6 09-Jun-2012 Shih-wei Liao <sliao@google.com> Merge "Remove USE_LOGGER and DebugHelper.c."
b14dbdc9eb4e2b3e73d4a4d7503b43f9140dca23 07-Jun-2012 The Android Open Source Project <initial-contribution@android.com> am a51d94fb: Reconcile with jb-release

* commit 'a51d94fbcb21d594bd2f290955e75f7ff79e6ac8':
a51d94fbcb21d594bd2f290955e75f7ff79e6ac8 07-Jun-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-release

Change-Id: I54161f1cd312c2690c96b942f6adb46aa08220d9
aa4a4b9cda3a611a82ac178572aecbe0dbd7f48c 07-Jun-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
8fbde10da2bcce8316fd769a5a175218feb1023b 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Remove USE_LOGGER and DebugHelper.c.

USE_LOGGER is always enabled.

DebugHelper.c is no longer required since liblog which containing
these functions is statically linked into libbcc for the host build.

Change-Id: I9919827b1f8c12c89ead107a546d7d1b9e12a076
elper/Android.mk
elper/DebugHelper.c
elper/DebugHelper.h
ib/ExecutionEngine/FileHandle.cpp
ibbcc-config.mk
ac2874efbe6df4cc7b67340c57410ea9369c8fc2 07-Jun-2012 Stephen Hines <srhines@google.com> am e52f0466: am 3e4cac48: Fix mac build breakage.

* commit 'e52f0466fddc264f14de64bf80003f2efffdac4f':
Fix mac build breakage.
e52f0466fddc264f14de64bf80003f2efffdac4f 07-Jun-2012 Stephen Hines <srhines@google.com> am 3e4cac48: Fix mac build breakage.

* commit '3e4cac486bc5a48640c4e65596a0be1ad05192e1':
Fix mac build breakage.
3e4cac486bc5a48640c4e65596a0be1ad05192e1 07-Jun-2012 Stephen Hines <srhines@google.com> Fix mac build breakage.

Change-Id: Iea3d587d6975200c3680af2cc2ba53965ad249b3
cinfo/MetadataExtractor.cpp
a89eef7cbab908c0bf8eb36061cd3fe8c1802fdf 07-Jun-2012 Jason Sams <jsams@google.com> am 4cd60938: am e35a905e: Fix mad performance.

* commit '4cd60938784ac6bad16a7855f81897280456b27a':
Fix mad performance.
66d0a51ba7acd5a18febba32c8d5e3b68c2d51d8 07-Jun-2012 Stephen Hines <srhines@google.com> am 6a4c1e35: am 6649e6b1: Fix subtle bug with legacy bitcode files + forEach signatures.

* commit '6a4c1e3594fbb9d46f65f325a801553e3be68505':
Fix subtle bug with legacy bitcode files + forEach signatures.
4cd60938784ac6bad16a7855f81897280456b27a 07-Jun-2012 Jason Sams <jsams@google.com> am e35a905e: Fix mad performance.

* commit 'e35a905ec5924695a93c0fcb0789a3a82e786ca3':
Fix mad performance.
6a4c1e3594fbb9d46f65f325a801553e3be68505 07-Jun-2012 Stephen Hines <srhines@google.com> am 6649e6b1: Fix subtle bug with legacy bitcode files + forEach signatures.

* commit '6649e6b10d92f850e9a50c5fa639ad80a2b0d071':
Fix subtle bug with legacy bitcode files + forEach signatures.
e35a905ec5924695a93c0fcb0789a3a82e786ca3 02-Jun-2012 Jason Sams <jsams@google.com> Fix mad performance.

Change-Id: Ia706369deee1efc65e1b2cd2e1eb89db53c0c5cf
ib/ScriptCRT/rs_cl.c
6649e6b10d92f850e9a50c5fa639ad80a2b0d071 07-Jun-2012 Stephen Hines <srhines@google.com> Fix subtle bug with legacy bitcode files + forEach signatures.

BUG=6620727

Change-Id: Id0cae36722a71cb89126c0cc6009c772ea90df1e
cinfo/MetadataExtractor.cpp
13c07f8a350d09847284315d9f45a42a7e20df0d 07-Jun-2012 Stephen Hines <srhines@google.com> Merge "Fix subtle bug with legacy bitcode files + forEach signatures."
4db5fa51820a413f1fbdb77d6908003987d71642 07-Jun-2012 Stephen Hines <srhines@google.com> Merge "Add a property for overriding FP precision."
748b6b90eea546784416bd16d1164a7390f00371 07-Jun-2012 Jason Sams <jsams@google.com> Merge "Fix mad performance."
109be674a4ad2042f58f486042dded8c954e5300 07-Jun-2012 Stephen Hines <srhines@google.com> Fix subtle bug with legacy bitcode files + forEach signatures.

BUG=6620727

Change-Id: Id0cae36722a71cb89126c0cc6009c772ea90df1e
cinfo/MetadataExtractor.cpp
3f0012721afb0f31aed4875f390739c31e09d3c8 02-Jun-2012 Jason Sams <jsams@google.com> Fix mad performance.

Change-Id: Ia706369deee1efc65e1b2cd2e1eb89db53c0c5cf
ib/ScriptCRT/rs_cl.c
32c56ecf42ad3d99d40e9bf1ac2a097d27f12744 02-Jun-2012 Stephen Hines <srhines@google.com> Add a property for overriding FP precision.

adb shell setprop debug.rs.precision rs_fp_full
adb shell setprop debug.rs.precision rs_fp_relaxed
adb shell setprop debug.rs.precision rs_fp_imprecise

Change-Id: Ic7dcba631aeab1046ce928fe8b09122747939870
cinfo/MetadataExtractor.cpp
ib/ExecutionEngine/Script.cpp
e126b62760b4bf115cfed162f0234e4e722011df 01-Jun-2012 Stephen Hines <srhines@google.com> Emit translated bitcode directly from bcinfo.

Change-Id: I6ccbdef189898668f1e60cac429307d83c655463
cinfo/tools/Android.mk
cinfo/tools/main.cpp
2f5dbbca4d50a1718ce1e784bb7a6ed415f9fc7f 16-May-2012 The Android Open Source Project <initial-contribution@android.com> am 1ff59275: Reconcile with jb-release nakasi-factoryrom-release

* commit '1ff59275f952a0d93fc33b761936251f12d946b0':
1ff59275f952a0d93fc33b761936251f12d946b0 16-May-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-release nakasi-factoryrom-release

Change-Id: I7fe18f291d1b712be3c2735789000a39c83d5763
cfee7e990e3c2ecad2cb3396c726c5b30fc509d2 15-May-2012 Stephen Hines <srhines@google.com> Remove rsDebug() helpers for float vector types.

This is now able to be handled directly by libRS, since we build it with Clang.

Change-Id: I0df64a363ed42357e758f2a7158a62f8fe85000c
ib/ScriptCRT/rs_core.c
846d9ad767d9739a3b19330e258216fc4542a59f 14-May-2012 Stephen Hines <srhines@google.com> am fc274770: Properly handle turning off NEON on ARM devices.

* commit 'fc2747709d3628132c31ac3a53bc06d3c18976ca':
Properly handle turning off NEON on ARM devices.
317e322aa238210bdf338ee2e31365ff924b0bd5 14-May-2012 Stephen Hines <srhines@google.com> am 43b3727e: Support building a NEON-enabled libclcore.bc.

* commit '43b3727e5c4f6bcd03ea4fdfbae1c205ace798a6':
Support building a NEON-enabled libclcore.bc.
f554d5428e27c8e325c5bc8c3fdcd52fedd3f3cc 14-May-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
fc2747709d3628132c31ac3a53bc06d3c18976ca 10-May-2012 Stephen Hines <srhines@google.com> Properly handle turning off NEON on ARM devices.

BUG=6127576

Change-Id: I82880a9ef92a3222b5a15e663104aad4bf508392
ib/ExecutionEngine/Compiler.cpp
43b3727e5c4f6bcd03ea4fdfbae1c205ace798a6 09-May-2012 Stephen Hines <srhines@google.com> Support building a NEON-enabled libclcore.bc.

BUG=6127576

Change-Id: Id61e47a7459fcd929217c6c5b53a6222067e4aa9
ndroid.mk
ib/ScriptCRT/Android.mk
ib/ScriptCRT/build_bc_lib.mk
fb2adce3b51b872c4974d05290f2e46970b90a74 05-May-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
9b004a1da8822093b004832c094497747195edaa 04-May-2012 Stephen Hines <srhines@google.com> am e708ffe6: Update to new llvm::MemoryBuffer::getMemBuffer() interface.

* commit 'e708ffe612f4566bea20334d2c9dac34db508e6e':
Update to new llvm::MemoryBuffer::getMemBuffer() interface.
81b9d9d9388454d4922b3c6ae92d0a0a1ab13a6e 04-May-2012 Stephen Hines <srhines@google.com> am 65f2663b: Update cleanspec to remove libclcore.bc.

* commit '65f2663bbd4702d4b4d5dcf7f519841e6ceb84ec':
Update cleanspec to remove libclcore.bc.
cc739b5946bb3aee16cc6f90fdbef57cab82c04d 04-May-2012 Stephen Hines <srhines@google.com> am 802d1384: Revert "Remove USE_LOGGER and DebugHelper.c."

* commit '802d1384b9d2285780fd709222793e33c68c62b2':
Revert "Remove USE_LOGGER and DebugHelper.c."
edea9e38e78ea487814058ec760850df8e1a548c 04-May-2012 Stephen Hines <srhines@google.com> am d6917e1d: Revert "Define HAVE_BCC_CONFIG_MK_H for ConfigFromMk.h."

* commit 'd6917e1d149f189125eb555e25c056886e548c75':
Revert "Define HAVE_BCC_CONFIG_MK_H for ConfigFromMk.h."
1c65eba0d75441a611c027a26a1dfd47120d88c4 04-May-2012 Stephen Hines <srhines@google.com> am 274926b0: Revert "Add BCCContext."

* commit '274926b0bcde562d51cbcf401a6f4a20cc2ddd70':
Revert "Add BCCContext."
030a96722a2407202329bddf6ba69dbe14bbb52f 04-May-2012 Stephen Hines <srhines@google.com> am ead5ccba: Revert "Refactor SourceInfo into Source."

* commit 'ead5ccba05af33df1a061b39847a9be137c00143':
Revert "Refactor SourceInfo into Source."
35d04da049fae154b892873f600bca1754318942 04-May-2012 Stephen Hines <srhines@google.com> am 97c92c2d: Revert "Introduce new Script class."

* commit '97c92c2d0604ea9cc4cd878f0f1901efc79c8835':
Revert "Introduce new Script class."
4632fcaeb4f2ab136660ace3f385d0b38a9dba0c 04-May-2012 Stephen Hines <srhines@google.com> am 758d00c6: Revert "Introduce InputFile/OutputFile and FileMutex."

* commit '758d00c68b5bb43ed8062563bdd55285b883e8ca':
Revert "Introduce InputFile/OutputFile and FileMutex."
04b6edb51c021cdfcea0ad117d788bce128678db 04-May-2012 Stephen Hines <srhines@google.com> am 5fb1474a: Revert "Introduce SymbolResolver and its subclasses."

* commit '5fb1474ac61aa87a2622661e1708672ef96ec8c0':
Revert "Introduce SymbolResolver and its subclasses."
4946d9bb678483bbf9411362e5f7ab02a0c5a8dd 04-May-2012 Stephen Hines <srhines@google.com> am 0f6b1d31: Revert "Introduce RSInfo and its reader/extractor/writer."

* commit '0f6b1d319d0d3605042345c4a6973e9c4e9161d7':
Revert "Introduce RSInfo and its reader/extractor/writer."
4673a1747a5ec7569af74c52f63ed77859cd00ce 04-May-2012 Stephen Hines <srhines@google.com> am addca8fc: Revert "Introduce ObjectLoader and RSExecutable."

* commit 'addca8fc02254162220f6d512c59c84d65f44d2d':
Revert "Introduce ObjectLoader and RSExecutable."
e2156557ae8b69f244474155682ee488ac854b7b 04-May-2012 Stephen Hines <srhines@google.com> am ffbfa101: Revert "Introduce CompilerConfig."

* commit 'ffbfa1016fcc7e6cd48528e7b64aaaff191d0202':
Revert "Introduce CompilerConfig."
d8204019450bec13bf198b27399d71a8f97e91d1 04-May-2012 Stephen Hines <srhines@google.com> am 91efcb0c: Revert "Introduce RSCompilerDriver."

* commit '91efcb0c48885d88f7682d36667d541a342f4a5e':
Revert "Introduce RSCompilerDriver."
c6a4ed6a4664cf0b7e19cbcfd64588eafb0d4970 04-May-2012 Stephen Hines <srhines@google.com> am 09ebd17a: Revert "Merge lib/Transforms into lib/ExecutionEngine."

* commit '09ebd17a324628b420f091fd1a05a139c6d07d2b':
Revert "Merge lib/Transforms into lib/ExecutionEngine."
18f79a1c393f1b1aca729ebb760ca38453c82b4e 04-May-2012 Stephen Hines <srhines@google.com> am 4a68b1cb: Revert "Switch to use RSCompilerDriver."

* commit '4a68b1cb89df9507584a51c3444aff99347afb74':
Revert "Switch to use RSCompilerDriver."
79f23f14196ce38d6c45bfa00a8be3e4737a54b9 04-May-2012 Stephen Hines <srhines@google.com> Merge commit 'b8ef6908' into manualmerge

Conflicts:
tools/bcc/Android.mk

Change-Id: I634049e64416dba665ea6839337555f662b439fe
5a2ea99ee8b1e3d279561491b945283e86468865 04-May-2012 Stephen Hines <srhines@google.com> am 2f6a493a: Revert "Make libbcc public."

* commit '2f6a493aea1b6e5ad318a759fedb58713a5a374c':
Revert "Make libbcc public."
82d4e6229a6877f39997a2ac11c7f2725f0221f8 04-May-2012 Stephen Hines <srhines@google.com> am aa72a210: Revert "Get build information in C++ way."

* commit 'aa72a210b0f73671b01984020a74360c10427e31':
Revert "Get build information in C++ way."
20b667c15cac6d3124d1bd776c0ed227cd58ea75 04-May-2012 Stephen Hines <srhines@google.com> am 5b948190: Revert "Refine DebugHelper.h into Log.h."

* commit '5b948190e3b311d06526addbb8f0e77a76da2467':
Revert "Refine DebugHelper.h into Log.h."
0b344ff71d3b705941e110665e9ea5573f9bbbc6 04-May-2012 Stephen Hines <srhines@google.com> am 6975a665: Revert "Refine SHA-1 related stuffs."

* commit '6975a6653f5c433ba2fc009b4400c1c8157b512f':
Revert "Refine SHA-1 related stuffs."
c31f3087373cd3409d701f52fd58a4c5f4e50ca7 04-May-2012 Stephen Hines <srhines@google.com> am 3fb139a6: Revert "Rewrite the command line tool "bcc.""

* commit '3fb139a6da99499f227e4f21fe966b509e509ca4':
Revert "Rewrite the command line tool "bcc.""
5621c4910fb9e2a2fe6d1b7b5270e6a6aa245e08 04-May-2012 Stephen Hines <srhines@google.com> am c4fba315: Revert "Link libclcore.bc for RenderScript by default."

* commit 'c4fba3156a3fefef4d5893031d37a5b6b4373896':
Revert "Link libclcore.bc for RenderScript by default."
c1fc557cb4b8bc725e3eeeb2e8b0516a5798bf42 04-May-2012 Stephen Hines <srhines@google.com> am 7dfc4d8e: Revert "Remove all deprecated BCC C APIs."

* commit '7dfc4d8e7c29fb65ee8c0bef6ad91bf3928a77d1':
Revert "Remove all deprecated BCC C APIs."
46b3a717270645ddf84bb952e7114e54124c4689 04-May-2012 Stephen Hines <srhines@google.com> am 8709b1e2: Revert "Refactoring into lib/RenderScript/runtime."

* commit '8709b1e2caaca34a0d8360d62f2a582b58101846':
Revert "Refactoring into lib/RenderScript/runtime."
e4aa87da0de28a6c5f38876ee35746b9ea56a82a 04-May-2012 Stephen Hines <srhines@google.com> am a34cc2aa: Fix assert.

* commit 'a34cc2aa2a70a4cff57579aea884b3f1227f5f49':
Fix assert.
e708ffe612f4566bea20334d2c9dac34db508e6e 04-May-2012 Stephen Hines <srhines@google.com> Update to new llvm::MemoryBuffer::getMemBuffer() interface.

The latest version of this function checks whether the incoming buffer is
NULL-terminated. In the case of bitcode, this is not true, so we need to pass
additional arguments to the function to ensure that the assert doesn't trip.

Change-Id: Iaab9bdea67387dfaa88dde1f408cfcf654a741af
cinfo/BitcodeTranslator.cpp
cinfo/MetadataExtractor.cpp
ib/ExecutionEngine/SourceInfo.cpp
65f2663bbd4702d4b4d5dcf7f519841e6ceb84ec 03-May-2012 Stephen Hines <srhines@google.com> Update cleanspec to remove libclcore.bc.

Change-Id: I54cdf96b92d274a73db6c6370defb4721a7f37c1
leanSpec.mk
802d1384b9d2285780fd709222793e33c68c62b2 03-May-2012 Stephen Hines <srhines@google.com> Revert "Remove USE_LOGGER and DebugHelper.c."

This reverts commit 57b933381b96bf9e5a80030aa9693dafabd66783.
elper/Android.mk
elper/DebugHelper.c
elper/DebugHelper.h
ib/ExecutionEngine/FileHandle.cpp
ibbcc-config.mk
d6917e1d149f189125eb555e25c056886e548c75 03-May-2012 Stephen Hines <srhines@google.com> Revert "Define HAVE_BCC_CONFIG_MK_H for ConfigFromMk.h."

This reverts commit d2068d48166ea2a019faa169ebf15c2edc66b775.
onfig.h
ibbcc-gen-build-stamp.mk
274926b0bcde562d51cbcf401a6f4a20cc2ddd70 03-May-2012 Stephen Hines <srhines@google.com> Revert "Add BCCContext."

This reverts commit c09dee62ae85df78e72f77900501a359f4a9fd99.
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
ead5ccba05af33df1a061b39847a9be137c00143 03-May-2012 Stephen Hines <srhines@google.com> Revert "Refactor SourceInfo into Source."

This reverts commit 4ce024bcff99bb154f44a73f4cf6201a0fe75917.
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.cpp
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/Source.cpp
ib/ExecutionEngine/Source.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
ib/ExecutionEngine/bcc.cpp
97c92c2d0604ea9cc4cd878f0f1901efc79c8835 03-May-2012 Stephen Hines <srhines@google.com> Revert "Introduce new Script class."

This reverts commit 19218c0731e8172bd0af476779a57da4c30ec77d.
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
758d00c68b5bb43ed8062563bdd55285b883e8ca 03-May-2012 Stephen Hines <srhines@google.com> Revert "Introduce InputFile/OutputFile and FileMutex."

This reverts commit d670be7a08cb85329ff3b5e9039cda9ffa4a35a1.

Conflicts:

lib/ExecutionEngine/InputFile.cpp
lib/ExecutionEngine/OutputFile.cpp

Change-Id: I99d5ed4cbda7296a399d683dfa264ce68bc4ddf3
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/File.h
ib/ExecutionEngine/FileBase.cpp
ib/ExecutionEngine/FileBase.h
ib/ExecutionEngine/FileHandle.cpp
ib/ExecutionEngine/FileHandle.h
ib/ExecutionEngine/FileMutex.h
ib/ExecutionEngine/InputFile.cpp
ib/ExecutionEngine/InputFile.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/OutputFile.cpp
ib/ExecutionEngine/OutputFile.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/Sha1Helper.cpp
5fb1474ac61aa87a2622661e1708672ef96ec8c0 03-May-2012 Stephen Hines <srhines@google.com> Revert "Introduce SymbolResolver and its subclasses."

This reverts commit ee69009f3590748aac4db17c0f9774252326d6cb.
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCRuntime.def
ib/ExecutionEngine/BCCRuntimeStub.c
ib/ExecutionEngine/BCCRuntimeStub.h
ib/ExecutionEngine/BCCRuntimeSymbolResolver.cpp
ib/ExecutionEngine/BCCRuntimeSymbolResolver.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/Runtime.c
ib/ExecutionEngine/Runtime.def
ib/ExecutionEngine/Runtime.h
ib/ExecutionEngine/RuntimeStub.c
ib/ExecutionEngine/RuntimeStub.h
ib/ExecutionEngine/SymbolResolverInterface.h
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/ExecutionEngine/SymbolResolverProxy.h
ib/ExecutionEngine/SymbolResolvers.cpp
ib/ExecutionEngine/SymbolResolvers.h
0f6b1d319d0d3605042345c4a6973e9c4e9161d7 03-May-2012 Stephen Hines <srhines@google.com> Revert "Introduce RSInfo and its reader/extractor/writer."

This reverts commit 255cbc8a78131fd828de0fac3ff70baeaa2f032f.

Conflicts:

lib/ExecutionEngine/RSInfoExtractor.cpp

Change-Id: I533398c25cd7fde2a76418101d29374b6e1d2b27
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSInfo.cpp
ib/ExecutionEngine/RSInfo.h
ib/ExecutionEngine/RSInfoExtractor.cpp
ib/ExecutionEngine/RSInfoReader.cpp
ib/ExecutionEngine/RSInfoWriter.cpp
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/bcc.cpp
addca8fc02254162220f6d512c59c84d65f44d2d 03-May-2012 Stephen Hines <srhines@google.com> Revert "Introduce ObjectLoader and RSExecutable."

This reverts commit bf6498ed6b222694ee42c4adda14015d45ca2a3d.
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.h
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoader.h
ib/ExecutionEngine/ObjectLoaderImpl.h
ib/ExecutionEngine/RSExecutable.cpp
ib/ExecutionEngine/RSExecutable.h
ffbfa1016fcc7e6cd48528e7b64aaaff191d0202 03-May-2012 Stephen Hines <srhines@google.com> Revert "Introduce CompilerConfig."

This reverts commit 8b2c3e72f7652bd579bf0467b333090ff7730390.
onfig.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/CompilerConfig.cpp
ib/ExecutionEngine/CompilerConfig.h
ib/ExecutionEngine/Initialization.cpp
ib/ExecutionEngine/Initialization.h
ib/ExecutionEngine/TargetCompilerConfigs.cpp
ib/ExecutionEngine/TargetCompilerConfigs.h
91efcb0c48885d88f7682d36667d541a342f4a5e 03-May-2012 Stephen Hines <srhines@google.com> Revert "Introduce RSCompilerDriver."

This reverts commit 64a2af1546d6ec98eeb845833e626f87f53d2641.
ib/ExecutionEngine/RSCompilerDriver.cpp
ib/ExecutionEngine/RSCompilerDriver.h
09ebd17a324628b420f091fd1a05a139c6d07d2b 03-May-2012 Stephen Hines <srhines@google.com> Revert "Merge lib/Transforms into lib/ExecutionEngine."

This reverts commit cd52b55716a2e4d78b0a6609b041c3aeb45b40f2.
ndroid.mk
nclude/bcc/bcc_assert.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/RSForEachExpand.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/RSTransforms.h
ib/Transforms/Android.mk
ib/Transforms/BCCTransforms.h
ib/Transforms/ForEachExpand.cpp
ibbcc-config.mk
4a68b1cb89df9507584a51c3444aff99347afb74 03-May-2012 Stephen Hines <srhines@google.com> Revert "Switch to use RSCompilerDriver."

This reverts commit fef9a1b0b772034b4f0894d1e2b29d1115617be0.

Conflicts:

lib/ExecutionEngine/RSCompiler.cpp

Change-Id: Ic6f3a3643e286a20799e1c7f03dee5d6c3683fef
nclude/bcc/bcc.h
nclude/bcc/bcc_mccache.h
ib/Disassembler/Disassembler.cpp
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSCompiler.cpp
ib/ExecutionEngine/RSCompiler.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
ools/bcc/main.cpp
b8ef690813bf3b32f996afb0ddc048c5bb23c8f5 03-May-2012 Stephen Hines <srhines@google.com> Revert "Refine the makefiles."

This reverts commit fa52e2083927dd4ea543528c557d52ab578ad34c.
ndroid.mk
elper/Android.mk
ib/Disassembler/Android.mk
ib/ExecutionEngine/Android.mk
ibbcc-build-rules.mk
ibbcc-config.mk
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
untime/Android.mk
ools/bcc/Android.mk
ools/bcc/main.cpp
ools/build/gen-build-stamp.py
ools/build/gen-config-from-mk.py
ools/build/gen-sha1-stamp.py
2f6a493aea1b6e5ad318a759fedb58713a5a374c 03-May-2012 Stephen Hines <srhines@google.com> Revert "Make libbcc public."

This reverts commit 80232dd16c0affb2afae01cde6c94abf23ac1ba8.
ndroid.mk
onfig.h
elper/Android.mk
elper/DebugHelper.h
elper/sha1.c
elper/sha1.h
nclude/bcc/BCCContext.h
nclude/bcc/Compiler.h
nclude/bcc/Config/Config.h
nclude/bcc/ExecutionEngine/BCCRuntimeSymbolResolver.h
nclude/bcc/ExecutionEngine/GDBJIT.h
nclude/bcc/ExecutionEngine/GDBJITRegistrar.h
nclude/bcc/ExecutionEngine/ObjectLoader.h
nclude/bcc/ExecutionEngine/SymbolResolverInterface.h
nclude/bcc/ExecutionEngine/SymbolResolverProxy.h
nclude/bcc/ExecutionEngine/SymbolResolvers.h
nclude/bcc/RenderScript/RSCompiler.h
nclude/bcc/RenderScript/RSCompilerDriver.h
nclude/bcc/RenderScript/RSExecutable.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/RenderScript/RSTransforms.h
nclude/bcc/Script.h
nclude/bcc/Source.h
nclude/bcc/Support/CompilerConfig.h
nclude/bcc/Support/DebugHelper.h
nclude/bcc/Support/Disassembler.h
nclude/bcc/Support/File.h
nclude/bcc/Support/FileBase.h
nclude/bcc/Support/FileMutex.h
nclude/bcc/Support/Initialization.h
nclude/bcc/Support/InputFile.h
nclude/bcc/Support/OutputFile.h
nclude/bcc/Support/Sha1Helper.h
nclude/bcc/Support/TargetCompilerConfigs.h
ib/Core/Android.mk
ib/Core/BCCContext.cpp
ib/Core/BCCContextImpl.cpp
ib/Core/BCCContextImpl.h
ib/Core/Compiler.cpp
ib/Core/Script.cpp
ib/Core/Source.cpp
ib/Core/bcc.cpp
ib/Core/bcc_internal.h
ib/Disassembler/Android.mk
ib/Disassembler/Disassembler.cpp
ib/Disassembler/Disassembler.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.cpp
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/BCCRuntimeSymbolResolver.cpp
ib/ExecutionEngine/BCCRuntimeSymbolResolver.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerConfig.cpp
ib/ExecutionEngine/CompilerConfig.h
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/File.h
ib/ExecutionEngine/FileBase.cpp
ib/ExecutionEngine/FileBase.h
ib/ExecutionEngine/FileMutex.h
ib/ExecutionEngine/GDBJIT.cpp
ib/ExecutionEngine/GDBJIT.h
ib/ExecutionEngine/GDBJITRegistrar.cpp
ib/ExecutionEngine/GDBJITRegistrar.h
ib/ExecutionEngine/Initialization.cpp
ib/ExecutionEngine/Initialization.h
ib/ExecutionEngine/InputFile.cpp
ib/ExecutionEngine/InputFile.h
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoader.h
ib/ExecutionEngine/ObjectLoaderImpl.h
ib/ExecutionEngine/OutputFile.cpp
ib/ExecutionEngine/OutputFile.h
ib/ExecutionEngine/RSCompiler.cpp
ib/ExecutionEngine/RSCompiler.h
ib/ExecutionEngine/RSCompilerDriver.cpp
ib/ExecutionEngine/RSCompilerDriver.h
ib/ExecutionEngine/RSExecutable.cpp
ib/ExecutionEngine/RSExecutable.h
ib/ExecutionEngine/RSForEachExpand.cpp
ib/ExecutionEngine/RSInfo.cpp
ib/ExecutionEngine/RSInfo.h
ib/ExecutionEngine/RSInfoExtractor.cpp
ib/ExecutionEngine/RSInfoReader.cpp
ib/ExecutionEngine/RSInfoWriter.cpp
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/RSTransforms.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
ib/ExecutionEngine/Source.cpp
ib/ExecutionEngine/Source.h
ib/ExecutionEngine/SymbolResolverInterface.h
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/ExecutionEngine/SymbolResolverProxy.h
ib/ExecutionEngine/SymbolResolvers.cpp
ib/ExecutionEngine/SymbolResolvers.h
ib/ExecutionEngine/TargetCompilerConfigs.cpp
ib/ExecutionEngine/TargetCompilerConfigs.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
ib/RenderScript/Android.mk
ib/RenderScript/RSCompiler.cpp
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
ib/RenderScript/RSForEachExpand.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSInfoWriter.cpp
ib/RenderScript/RSScript.cpp
ib/RenderScript/runtime/Android.mk
ib/RenderScript/runtime/build_clcore.sh
ib/RenderScript/runtime/clamp.ll
ib/RenderScript/runtime/convert.ll
ib/RenderScript/runtime/matrix.ll
ib/RenderScript/runtime/pixel_packing.ll
ib/RenderScript/runtime/rs_allocation.c
ib/RenderScript/runtime/rs_cl.c
ib/RenderScript/runtime/rs_core.c
ib/RenderScript/runtime/rs_element.c
ib/RenderScript/runtime/rs_mesh.c
ib/RenderScript/runtime/rs_program.c
ib/RenderScript/runtime/rs_sample.c
ib/RenderScript/runtime/rs_sampler.c
ib/RenderScript/runtime/rs_structs.h
ib/ScriptCRT/Android.mk
ib/ScriptCRT/build_clcore.sh
ib/ScriptCRT/convert.ll
ib/ScriptCRT/matrix.ll
ib/ScriptCRT/pixel_packing.ll
ib/ScriptCRT/rs_allocation.c
ib/ScriptCRT/rs_cl.c
ib/ScriptCRT/rs_core.c
ib/ScriptCRT/rs_element.c
ib/ScriptCRT/rs_mesh.c
ib/ScriptCRT/rs_program.c
ib/ScriptCRT/rs_sample.c
ib/ScriptCRT/rs_sampler.c
ib/ScriptCRT/rs_structs.h
ib/Support/Android.mk
ib/Support/CompilerConfig.cpp
ib/Support/Disassembler.cpp
ib/Support/FileBase.cpp
ib/Support/Initialization.cpp
ib/Support/InputFile.cpp
ib/Support/OutputFile.cpp
ib/Support/Sha1Helper.cpp
ib/Support/TargetCompilerConfigs.cpp
ib/Support/sha1.c
ib/Support/sha1.h
ibbcc-device-build.mk
ibbcc-gen-build-stamp.mk
ibbcc-gen-config-from-mk.mk
ibbcc-host-build.mk
aa72a210b0f73671b01984020a74360c10427e31 03-May-2012 Stephen Hines <srhines@google.com> Revert "Get build information in C++ way."

This reverts commit 44d991658dbd5b80648a3944f1760ad19bbcac09.
ndroid.mk
nclude/bcc/Config/BuildInfo.h
ib/Core/bcc.cpp
ibbcc-gen-build-info.mk
ibbcc-gen-build-stamp.mk
ools/build/gen-build-info.py
ools/build/gen-build-stamp.py
5b948190e3b311d06526addbb8f0e77a76da2467 03-May-2012 Stephen Hines <srhines@google.com> Revert "Refine DebugHelper.h into Log.h."

This reverts commit b519fe3f1d780873608f41d69316054e05c7e918.
nclude/bcc/ExecutionEngine/SymbolResolverProxy.h
nclude/bcc/RenderScript/RSExecutable.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/Support/DebugHelper.h
nclude/bcc/Support/Log.h
ib/Core/BCCContext.cpp
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Core/bcc.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ObjectLoader.cpp
ib/RenderScript/RSCompiler.cpp
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
ib/RenderScript/RSForEachExpand.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSInfoWriter.cpp
ib/RenderScript/RSScript.cpp
ib/Support/CompilerConfig.cpp
ib/Support/Disassembler.cpp
ib/Support/Initialization.cpp
ib/Support/InputFile.cpp
ib/Support/OutputFile.cpp
ib/Support/Sha1Helper.cpp
ibbcc-config.mk
6975a6653f5c433ba2fc009b4400c1c8157b512f 03-May-2012 Stephen Hines <srhines@google.com> Revert "Refine SHA-1 related stuffs."

This reverts commit 6378d8f50449d79b8937c238b968ceeb9dbd4ee1.

Conflicts:

Android.mk

Change-Id: Ib8988583a0b916d21e9314e919269f02c4dd600e
ndroid.mk
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/Support/Sha1Helper.h
nclude/bcc/Support/Sha1Util.h
ib/Core/bcc.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/Support/Android.mk
ib/Support/Sha1Helper.cpp
ib/Support/Sha1Util.cpp
ools/build/dataconvert.py
ools/build/gen-sha1-stamp.py
3fb139a6da99499f227e4f21fe966b509e509ca4 03-May-2012 Stephen Hines <srhines@google.com> Revert "Rewrite the command line tool "bcc.""

This reverts commit a7b5a26a5487851706ddd6c33c1bb88137333df4.
ools/bcc/Android.mk
ools/bcc/Main.cpp
ools/bcc/main.cpp
c4fba3156a3fefef4d5893031d37a5b6b4373896 03-May-2012 Stephen Hines <srhines@google.com> Revert "Link libclcore.bc for RenderScript by default."

This reverts commit 0467d9a53b20f8c9069019cde9f035c127acbc9a.
ndroid.mk
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
ib/Core/bcc.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSScript.cpp
7dfc4d8e7c29fb65ee8c0bef6ad91bf3928a77d1 03-May-2012 Stephen Hines <srhines@google.com> Revert "Remove all deprecated BCC C APIs."

This reverts commit 170d420231f10d5b914fde505202c58f11f43e27.
nclude/bcc/RenderScript/RSCompilerDriver.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/bcc.h
ib/Core/Android.mk
ib/Core/bcc.cpp
ib/Core/bcc_internal.h
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSScript.cpp
ibbcc-gen-build-info.mk
8709b1e2caaca34a0d8360d62f2a582b58101846 03-May-2012 Stephen Hines <srhines@google.com> Revert "Refactoring into lib/RenderScript/runtime."

This reverts commit 1708c426565e100f9a7adaddb874029adc343d02.
ib/RenderScript/runtime/clamp.c
ib/RenderScript/runtime/clamp.ll
ib/RenderScript/runtime/neon/clamp.ll
ib/ScriptCRT/clamp.c
ib/ScriptCRT/neon/clamp.ll
a34cc2aa2a70a4cff57579aea884b3f1227f5f49 03-May-2012 Stephen Hines <srhines@google.com> Fix assert.
ib/RenderScript/RSInfoExtractor.cpp
59a24ea5f12f99ef5aa890df98acc57f6c9a82d3 02-May-2012 Shih-wei Liao <sliao@google.com> Turn on the bcc build on Mac.

libLLVMSupport is required for bcc on host build.

Change-Id: I4aad8ed30fb5cf975798a9c370644b6366977f81
ools/bcc/Android.mk
6652d8920b3ad67ea36c937037bdf57e99eaa73d 02-May-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
a6d53aaf4d51c0a51151b3e999cadb9878f1beff 01-May-2012 Jason Sams <jsams@google.com> am 03c5eed1: Fix bug in pixel packing code.

* commit '03c5eed1397f13d86675c4566ea96e2d88cca54f':
Fix bug in pixel packing code.
03c5eed1397f13d86675c4566ea96e2d88cca54f 01-May-2012 Jason Sams <jsams@google.com> Fix bug in pixel packing code.

BUG=5878222

Change-Id: I979d8ca1534b31891abf05d0482ea79753d0d9cd
ib/RenderScript/runtime/pixel_packing.ll
83eed4d83c0c971c825fcfec85d0b0b8f1a27c96 30-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
1938451f2be21245ee06fa5e93a966d760e98f30 26-Apr-2012 Stephen Hines <srhines@google.com> am a624616e: Fix RSExpandForEach pass.

* commit 'a624616e99260f7e49f65113cfee5050087d36cf':
Fix RSExpandForEach pass.
dd01f1de6ce879d4890036dcbe1e961a3ea003db 26-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
9ffdb59e4404d7d47643ae1b5bcd116782075105 26-Apr-2012 Ying Wang <wangying@google.com> am 5954a53d: Merge "LOCAL_REQUIRED_MODULES accepts module names, not file names." into jb-dev

* commit '5954a53d174f955d70266333a7035600e3d8b703':
LOCAL_REQUIRED_MODULES accepts module names, not file names.
46a17b75ad296741b00267eb76b353176b49d3be 26-Apr-2012 Shih-wei Liao <sliao@google.com> am 284d652a: Fix Mac build. Don\'t build bcc on Mac for now.

* commit '284d652a87e6ce1ad4f8cc2a5a05c75bbd84f301':
Fix Mac build. Don't build bcc on Mac for now.
bfbf42938938f0d5f0d040ba70e67831c675a6b9 26-Apr-2012 Shih-wei Liao <sliao@google.com> am 4f475093: Add CleanSpec.

* commit '4f47509317af846277ade7360213882709185d09':
Add CleanSpec.
e5456c72501666deb0bfa194cd2abd8a9469f041 26-Apr-2012 Shih-wei Liao <sliao@google.com> am eee91d73: Fix MAC build. Format requires %zu.

* commit 'eee91d73534835e42c4011c5e8bb051be86c6694':
Fix MAC build. Format requires %zu.
e83c75da6d904776284ad01e2975a30392435d45 26-Apr-2012 Shih-wei Liao <sliao@google.com> am cff7ac28: Fix MAC build. Use %zu.

* commit 'cff7ac284b9581d1f4b5cce7f4731308faa4a956':
Fix MAC build. Use %zu.
a624616e99260f7e49f65113cfee5050087d36cf 26-Apr-2012 Stephen Hines <srhines@google.com> Fix RSExpandForEach pass.

The bug here is that the c_str() storage of a temporary std::string is not
guaranteed to persist beyond the scope of the std::string. In this case, we
were keeping a const char * to freed memory (and using garbage values to
populate our list of functions to keep).

Change-Id: I40712471c05dec1847c08dee1d6db13070c3e6ac
ib/RenderScript/RSCompiler.cpp
5954a53d174f955d70266333a7035600e3d8b703 26-Apr-2012 Ying Wang <wangying@google.com> Merge "LOCAL_REQUIRED_MODULES accepts module names, not file names." into jb-dev
34cd767dcc08d3dc00cd00f35671878634d9cb30 26-Apr-2012 Ying Wang <wangying@google.com> LOCAL_REQUIRED_MODULES accepts module names, not file names.

Change-Id: Icdec018a11216be91953746acb3d6e7954270a28
ndroid.mk
284d652a87e6ce1ad4f8cc2a5a05c75bbd84f301 25-Apr-2012 Shih-wei Liao <sliao@google.com> Fix Mac build. Don't build bcc on Mac for now.

Change-Id: I5681b3b9512e445a6761b5b300206aacbe39955e
ools/bcc/Android.mk
4f47509317af846277ade7360213882709185d09 25-Apr-2012 Shih-wei Liao <sliao@google.com> Add CleanSpec.

Change-Id: Ic29524d7736d53916d9f191bd9656fd3e0d44f95
leanSpec.mk
eee91d73534835e42c4011c5e8bb051be86c6694 25-Apr-2012 Shih-wei Liao <sliao@google.com> Fix MAC build. Format requires %zu.

Change-Id: Ic837fa67d12a0de385c2c6f79a8e641434884d72
ib/Support/OutputFile.cpp
cff7ac284b9581d1f4b5cce7f4731308faa4a956 25-Apr-2012 Shih-wei Liao <sliao@google.com> Fix MAC build. Use %zu.

Change-Id: If2b8fd73f86264bf39da3d17c598fec720c5e2f6
ib/Support/InputFile.cpp
3684c688e00adab8800580f5181842f0a2f2dc08 25-Apr-2012 Shih-wei Liao <sliao@google.com> Fix Mac build. Don't build bcc on Mac for now.

Change-Id: I5681b3b9512e445a6761b5b300206aacbe39955e
ools/bcc/Android.mk
07fb1ac7c2c899c3355e1fb0abbd3b4614378812 25-Apr-2012 Shih-wei Liao <sliao@google.com> Add CleanSpec.

Change-Id: Ic29524d7736d53916d9f191bd9656fd3e0d44f95
leanSpec.mk
f2bf5afd1dba5be52a21174b17c9b46d6761e91d 25-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
5a6206fa2b4e812b316844817efd65dd2d809ab8 25-Apr-2012 Shih-wei Liao <sliao@google.com> Fix MAC build. Format requires %zu.

Change-Id: Ic837fa67d12a0de385c2c6f79a8e641434884d72
ib/Support/OutputFile.cpp
0fadb3c0cabc333a1f27bdd5ffb7374ccdb86378 25-Apr-2012 Shih-wei Liao <sliao@google.com> Fix MAC build. Use %zu.

Change-Id: If2b8fd73f86264bf39da3d17c598fec720c5e2f6
ib/Support/InputFile.cpp
1708c426565e100f9a7adaddb874029adc343d02 25-Apr-2012 Shih-wei Liao <sliao@google.com> Refactoring into lib/RenderScript/runtime.

Change-Id: Ie23bc68dd5fda28b7b9ed221771ff901f6d0700d
ib/RenderScript/runtime/clamp.c
ib/RenderScript/runtime/clamp.ll
ib/RenderScript/runtime/neon/clamp.ll
ib/ScriptCRT/clamp.c
ib/ScriptCRT/neon/clamp.ll
170d420231f10d5b914fde505202c58f11f43e27 25-Apr-2012 Shih-wei Liao <sliao@google.com> Remove all deprecated BCC C APIs.

This commit revises RSCompilerDriver::build(...) method which is
custom-made for RenderScript. It also removes
RSScript::SourceDependency since RSScript no longer needs to keep
dependency information for its associated source.

Change-Id: I74335b52d0f9fe91343c30caada2a4df07008e5b
nclude/bcc/RenderScript/RSCompilerDriver.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/bcc.h
ib/Core/Android.mk
ib/Core/bcc.cpp
ib/Core/bcc_internal.h
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSScript.cpp
ibbcc-gen-build-info.mk
0467d9a53b20f8c9069019cde9f035c127acbc9a 25-Apr-2012 Shih-wei Liao <sliao@google.com> Link libclcore.bc for RenderScript by default.

Change-Id: I93eb5a09689373afa973b8c08dd0842152220217
ndroid.mk
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
ib/Core/bcc.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSScript.cpp
a7b5a26a5487851706ddd6c33c1bb88137333df4 25-Apr-2012 Shih-wei Liao <sliao@google.com> Rewrite the command line tool "bcc."

Get rid of deprecated BCC C APIs using in bcc command.

For the usage, see "/system/bin/bcc -help" for detail.

Change-Id: Ie6da4779098af368c01900d54e618ee17220594e
ools/bcc/Android.mk
ools/bcc/Main.cpp
ools/bcc/main.cpp
6378d8f50449d79b8937c238b968ceeb9dbd4ee1 13-Apr-2012 Zonr Chang <zonr.net@gmail.com> Refine SHA-1 related stuffs.

1. Introduce libbcc.sha1.so instead of raw file libbcc.so.sha1
* Now tools/build/gen-sha1-stamp.py generated assembly contains
symbols libbcc_so_SHA1 and libRS_so_SHA1 associated with their
SHA-1 digests.
* In that way, their SHA-1 information can be obtained via
dlopen().
2. Refine Sha1Helper to Sha1Util.
2. Remove unused tools/build/dataconvert.py by the way.
ndroid.mk
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/Support/Sha1Helper.h
nclude/bcc/Support/Sha1Util.h
ib/Core/bcc.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/Support/Android.mk
ib/Support/Sha1Helper.cpp
ib/Support/Sha1Util.cpp
ools/build/dataconvert.py
ools/build/gen-sha1-stamp.py
b519fe3f1d780873608f41d69316054e05c7e918 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Refine DebugHelper.h into Log.h.

This removes USE_FUNC_LOGGER from libbcc-config.mk.
nclude/bcc/ExecutionEngine/SymbolResolverProxy.h
nclude/bcc/RenderScript/RSExecutable.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/Support/DebugHelper.h
nclude/bcc/Support/Log.h
ib/Core/BCCContext.cpp
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Core/bcc.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ObjectLoader.cpp
ib/RenderScript/RSCompiler.cpp
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
ib/RenderScript/RSForEachExpand.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSInfoWriter.cpp
ib/RenderScript/RSScript.cpp
ib/Support/CompilerConfig.cpp
ib/Support/Disassembler.cpp
ib/Support/Initialization.cpp
ib/Support/InputFile.cpp
ib/Support/OutputFile.cpp
ib/Support/Sha1Helper.cpp
ibbcc-config.mk
44d991658dbd5b80648a3944f1760ad19bbcac09 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Get build information in C++ way.
ndroid.mk
nclude/bcc/Config/BuildInfo.h
ib/Core/bcc.cpp
ibbcc-gen-build-info.mk
ibbcc-gen-build-stamp.mk
ools/build/gen-build-info.py
ools/build/gen-build-stamp.py
80232dd16c0affb2afae01cde6c94abf23ac1ba8 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Make libbcc public.

This commit is not expected to change any functionality.
ndroid.mk
onfig.h
elper/Android.mk
elper/DebugHelper.h
elper/sha1.c
elper/sha1.h
nclude/bcc/BCCContext.h
nclude/bcc/Compiler.h
nclude/bcc/Config/Config.h
nclude/bcc/ExecutionEngine/BCCRuntimeSymbolResolver.h
nclude/bcc/ExecutionEngine/GDBJIT.h
nclude/bcc/ExecutionEngine/GDBJITRegistrar.h
nclude/bcc/ExecutionEngine/ObjectLoader.h
nclude/bcc/ExecutionEngine/SymbolResolverInterface.h
nclude/bcc/ExecutionEngine/SymbolResolverProxy.h
nclude/bcc/ExecutionEngine/SymbolResolvers.h
nclude/bcc/RenderScript/RSCompiler.h
nclude/bcc/RenderScript/RSCompilerDriver.h
nclude/bcc/RenderScript/RSExecutable.h
nclude/bcc/RenderScript/RSInfo.h
nclude/bcc/RenderScript/RSScript.h
nclude/bcc/RenderScript/RSTransforms.h
nclude/bcc/Script.h
nclude/bcc/Source.h
nclude/bcc/Support/CompilerConfig.h
nclude/bcc/Support/DebugHelper.h
nclude/bcc/Support/Disassembler.h
nclude/bcc/Support/File.h
nclude/bcc/Support/FileBase.h
nclude/bcc/Support/FileMutex.h
nclude/bcc/Support/Initialization.h
nclude/bcc/Support/InputFile.h
nclude/bcc/Support/OutputFile.h
nclude/bcc/Support/Sha1Helper.h
nclude/bcc/Support/TargetCompilerConfigs.h
ib/Core/Android.mk
ib/Core/BCCContext.cpp
ib/Core/BCCContextImpl.cpp
ib/Core/BCCContextImpl.h
ib/Core/Compiler.cpp
ib/Core/Script.cpp
ib/Core/Source.cpp
ib/Core/bcc.cpp
ib/Core/bcc_internal.h
ib/Disassembler/Android.mk
ib/Disassembler/Disassembler.cpp
ib/Disassembler/Disassembler.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.cpp
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/BCCRuntimeSymbolResolver.cpp
ib/ExecutionEngine/BCCRuntimeSymbolResolver.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerConfig.cpp
ib/ExecutionEngine/CompilerConfig.h
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/File.h
ib/ExecutionEngine/FileBase.cpp
ib/ExecutionEngine/FileBase.h
ib/ExecutionEngine/FileMutex.h
ib/ExecutionEngine/GDBJIT.cpp
ib/ExecutionEngine/GDBJIT.h
ib/ExecutionEngine/GDBJITRegistrar.cpp
ib/ExecutionEngine/GDBJITRegistrar.h
ib/ExecutionEngine/Initialization.cpp
ib/ExecutionEngine/Initialization.h
ib/ExecutionEngine/InputFile.cpp
ib/ExecutionEngine/InputFile.h
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoader.h
ib/ExecutionEngine/ObjectLoaderImpl.h
ib/ExecutionEngine/OutputFile.cpp
ib/ExecutionEngine/OutputFile.h
ib/ExecutionEngine/RSCompiler.cpp
ib/ExecutionEngine/RSCompiler.h
ib/ExecutionEngine/RSCompilerDriver.cpp
ib/ExecutionEngine/RSCompilerDriver.h
ib/ExecutionEngine/RSExecutable.cpp
ib/ExecutionEngine/RSExecutable.h
ib/ExecutionEngine/RSForEachExpand.cpp
ib/ExecutionEngine/RSInfo.cpp
ib/ExecutionEngine/RSInfo.h
ib/ExecutionEngine/RSInfoExtractor.cpp
ib/ExecutionEngine/RSInfoReader.cpp
ib/ExecutionEngine/RSInfoWriter.cpp
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/RSTransforms.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
ib/ExecutionEngine/Source.cpp
ib/ExecutionEngine/Source.h
ib/ExecutionEngine/SymbolResolverInterface.h
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/ExecutionEngine/SymbolResolverProxy.h
ib/ExecutionEngine/SymbolResolvers.cpp
ib/ExecutionEngine/SymbolResolvers.h
ib/ExecutionEngine/TargetCompilerConfigs.cpp
ib/ExecutionEngine/TargetCompilerConfigs.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
ib/RenderScript/Android.mk
ib/RenderScript/RSCompiler.cpp
ib/RenderScript/RSCompilerDriver.cpp
ib/RenderScript/RSExecutable.cpp
ib/RenderScript/RSForEachExpand.cpp
ib/RenderScript/RSInfo.cpp
ib/RenderScript/RSInfoExtractor.cpp
ib/RenderScript/RSInfoReader.cpp
ib/RenderScript/RSInfoWriter.cpp
ib/RenderScript/RSScript.cpp
ib/RenderScript/runtime/Android.mk
ib/RenderScript/runtime/build_clcore.sh
ib/RenderScript/runtime/clamp.ll
ib/RenderScript/runtime/convert.ll
ib/RenderScript/runtime/matrix.ll
ib/RenderScript/runtime/pixel_packing.ll
ib/RenderScript/runtime/rs_allocation.c
ib/RenderScript/runtime/rs_cl.c
ib/RenderScript/runtime/rs_core.c
ib/RenderScript/runtime/rs_element.c
ib/RenderScript/runtime/rs_mesh.c
ib/RenderScript/runtime/rs_program.c
ib/RenderScript/runtime/rs_sample.c
ib/RenderScript/runtime/rs_sampler.c
ib/RenderScript/runtime/rs_structs.h
ib/ScriptCRT/Android.mk
ib/ScriptCRT/build_clcore.sh
ib/ScriptCRT/convert.ll
ib/ScriptCRT/matrix.ll
ib/ScriptCRT/pixel_packing.ll
ib/ScriptCRT/rs_allocation.c
ib/ScriptCRT/rs_cl.c
ib/ScriptCRT/rs_core.c
ib/ScriptCRT/rs_element.c
ib/ScriptCRT/rs_mesh.c
ib/ScriptCRT/rs_program.c
ib/ScriptCRT/rs_sample.c
ib/ScriptCRT/rs_sampler.c
ib/ScriptCRT/rs_structs.h
ib/Support/Android.mk
ib/Support/CompilerConfig.cpp
ib/Support/Disassembler.cpp
ib/Support/FileBase.cpp
ib/Support/Initialization.cpp
ib/Support/InputFile.cpp
ib/Support/OutputFile.cpp
ib/Support/Sha1Helper.cpp
ib/Support/TargetCompilerConfigs.cpp
ib/Support/sha1.c
ib/Support/sha1.h
ibbcc-device-build.mk
ibbcc-gen-build-stamp.mk
ibbcc-gen-config-from-mk.mk
ibbcc-host-build.mk
fa52e2083927dd4ea543528c557d52ab578ad34c 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Refine the makefiles.

* Introduce libbcc.mk which defines the path for makefiles and libbcc
configuration.
* Introduce libbcc-{device,host}-build.mk which defines the build
flags for building libbcc itself and/or for building module using
libbcc.
* Add header guard for generated ConfigFromMk.h.
ndroid.mk
elper/Android.mk
ib/Disassembler/Android.mk
ib/ExecutionEngine/Android.mk
ibbcc-build-rules.mk
ibbcc-config.mk
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
untime/Android.mk
ools/bcc/Android.mk
ools/bcc/main.cpp
ools/build/gen-build-stamp.py
ools/build/gen-config-from-mk.py
ools/build/gen-sha1-stamp.py
fef9a1b0b772034b4f0894d1e2b29d1115617be0 13-Apr-2012 Zonr Chang <zonr.net@gmail.com> Switch to use RSCompilerDriver.

This commit is large. It does:

1. Clean-up RSScript. ScriptCached and ScriptCompiled are removed.
2. Switch to use CompilerConfig.
3. Switch to use RSInfo. MCCacheReader and MCCacheWriter are removed.
4. Update C API implementation of libbcc (i.e., bcc.cpp). Note that
it'll be completely removed once there's no clients relying on it.
nclude/bcc/bcc.h
nclude/bcc/bcc_mccache.h
ib/Disassembler/Disassembler.cpp
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSCompiler.cpp
ib/ExecutionEngine/RSCompiler.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
ools/bcc/main.cpp
cd52b55716a2e4d78b0a6609b041c3aeb45b40f2 25-Apr-2012 Shih-wei Liao <sliao@google.com> Merge lib/Transforms into lib/ExecutionEngine.

Rename BCCTransforms to RSTransforms and ForEachExpand.cpp to
RSForEachExpand.cpp. These are RenderScript-specific stuffs.

Type of parameter passed to RSForEachExpand pass was also modified to
use "vector of pairs (function name, foreach signature)."

bcc_assert.h is removed in this commit.

This commit is not expected to change any sematics.

Change-Id: I4fbd89d9c36e5df29d03f8c938c111dd742dc079
ndroid.mk
nclude/bcc/bcc_assert.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/RSForEachExpand.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/RSTransforms.h
ib/Transforms/Android.mk
ib/Transforms/BCCTransforms.h
ib/Transforms/ForEachExpand.cpp
ibbcc-config.mk
64a2af1546d6ec98eeb845833e626f87f53d2641 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce RSCompilerDriver.

RSCompilerDriver hosts a Compiler. It brings all things together.
Given a RSScript and its output path, RSCompilerDriver::build()
either loads the object file from the previous built or runs the
compiler to get one.
ib/ExecutionEngine/RSCompilerDriver.cpp
ib/ExecutionEngine/RSCompilerDriver.h
8b2c3e72f7652bd579bf0467b333090ff7730390 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce CompilerConfig.

CompilerConfig defines the "attributes" of a Compiler. It contains
target information, configuration, etc. to setup an instance of
Compiler (more specifically, a instance of LLVM TargetMachine used by
the compiler.)

CompilerConfig together with bcc::init::Initialize() will replace
current Compiler::GlobalInitialization().
onfig.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/CompilerConfig.cpp
ib/ExecutionEngine/CompilerConfig.h
ib/ExecutionEngine/Initialization.cpp
ib/ExecutionEngine/Initialization.h
ib/ExecutionEngine/TargetCompilerConfigs.cpp
ib/ExecutionEngine/TargetCompilerConfigs.h
bf6498ed6b222694ee42c4adda14015d45ca2a3d 13-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce ObjectLoader and RSExecutable.

ObjectLoader loads an object file into memory.

ObjectLoaderImpl defines a set of format-independent interfaces
that a object file format loader has to provide.

ELFObjectLoaderImpl is a subclass of ObjectLoaderImpl and can be used
to load an ELF relocatable object built based on librsloader. It
directly uses the C++ APIs provided by librsloader instead of using
wrapped C APIs defined in librsloader.h

RSExecutable holds the build results of a RSScript.
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.h
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoader.h
ib/ExecutionEngine/ObjectLoaderImpl.h
ib/ExecutionEngine/RSExecutable.cpp
ib/ExecutionEngine/RSExecutable.h
255cbc8a78131fd828de0fac3ff70baeaa2f032f 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce RSInfo and its reader/extractor/writer.

This commit only adds files that implements RSInfo class and DOES
NOT switch to use it.

RSInfo defines the new file format to cache the metadata and
RS-specific information from the source bitcode.

It's the replacement of the old "MC cache" whose name is ambiguous
and some fields within that are deprecated after legacy JIT was
removed.

Reader of RSInfo reads information from the file we called "RS info
file." It will replace MCCacheReader.

Extractor of RSInfo extracts information from the metadata section of
the source bitcode. It will replace MetadataExtractor.

Writer of RSInfo serializes a RSInfo object to a file such that
we can load it quickly using RSInfo reader later. It will replace
MCCacheWriter.

RSInfo unifies the interfaces to get the RS-specific information
such as #rs_export_var supplied by the developers either from file
(RS info file) or from the source bitcode. Later commit will prove
that.

RSInfo uses signature ("\0rsinfo\n") which is different from the
old MC cache ("\0bcc").

The version (MCO_VERSION in bcc_mccache.h) is increased by 1 in this
commit since we remove res_type in MCO_Dependency. RSInfo inherits
the version number comes from old MC cache therefore its version
number starts with 3.
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSInfo.cpp
ib/ExecutionEngine/RSInfo.h
ib/ExecutionEngine/RSInfoExtractor.cpp
ib/ExecutionEngine/RSInfoReader.cpp
ib/ExecutionEngine/RSInfoWriter.cpp
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/bcc.cpp
ee69009f3590748aac4db17c0f9774252326d6cb 11-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce SymbolResolver and its subclasses.

SymbolResolver provides a clean way to do the symbol lookup at
runtime.

LookupFunctionSymbolResolver searches a symbol through a given
function with context supplied.

BCCRuntimeSymbolResolver searches symbol from a predefined symbol-to-
address array which replaces the FindRuntime() function defined in
Runtime.c previously.

SymbolResolverProxy chains the SymbolResolvers and searches the symbol
one by one following the chain until it founds the definition of the
symbol.
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCRuntime.def
ib/ExecutionEngine/BCCRuntimeStub.c
ib/ExecutionEngine/BCCRuntimeStub.h
ib/ExecutionEngine/BCCRuntimeSymbolResolver.cpp
ib/ExecutionEngine/BCCRuntimeSymbolResolver.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/Runtime.c
ib/ExecutionEngine/Runtime.def
ib/ExecutionEngine/Runtime.h
ib/ExecutionEngine/RuntimeStub.c
ib/ExecutionEngine/RuntimeStub.h
ib/ExecutionEngine/SymbolResolverInterface.h
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/ExecutionEngine/SymbolResolverProxy.h
ib/ExecutionEngine/SymbolResolvers.cpp
ib/ExecutionEngine/SymbolResolvers.h
d670be7a08cb85329ff3b5e9039cda9ffa4a35a1 05-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce InputFile/OutputFile and FileMutex.

FileHandle is replaced with InputFile/OutputFile and FileMutex.

Use InputFile when you want to open a file in read-only.
USe OutputFile when you open a file for writing.
Both of them provide a reliable way to access the files and perform
the I/O operations.

Given a name "foo", FileMutex creates a file named "foo.lock" and
tries to acquire an advisory lock (flock) on this file.

FileHandle, which uses the file it's openning for locking, may corrupt
the file contents when two or more processes are trying to gain the
lock for reading/writing. For example:

Process #2 creates foo
Process #1 opens foo
Process #2 opens foo
Process #2 locks foo (exclusively) (success)
Process #1 locks foo (failed, retry #1)
Process #2 starts writing foo
Process #1 opens and truncates foo (note there’s O_TRUNC in the flag)
Process #2 writes foo continually (foo is corrupted from now on ...)
Process #1 locks foo (failed, retry #2)
...
Process #1 locks foo (reach the max retries and return)
Process #2 gets done on writing foo (foo is corrupted ...)
Process #2 unlocks and closes foo (foo is corrupted)
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/File.h
ib/ExecutionEngine/FileBase.cpp
ib/ExecutionEngine/FileBase.h
ib/ExecutionEngine/FileHandle.cpp
ib/ExecutionEngine/FileHandle.h
ib/ExecutionEngine/FileMutex.h
ib/ExecutionEngine/InputFile.cpp
ib/ExecutionEngine/InputFile.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/OutputFile.cpp
ib/ExecutionEngine/OutputFile.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/Sha1Helper.cpp
19218c0731e8172bd0af476779a57da4c30ec77d 05-Apr-2012 Zonr Chang <zonr.net@gmail.com> Introduce new Script class.

Script basically manages a source object to be compiled.

Refactor Renderscript stuffs out from class Script to RSScript and
extend RSScript from Script (IS-A relation.)

No functionality changed.
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/RSScript.cpp
ib/ExecutionEngine/RSScript.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
4ce024bcff99bb154f44a73f4cf6201a0fe75917 25-Apr-2012 Shih-wei Liao <sliao@google.com> Refactor SourceInfo into Source.

A Script object is associated with a Source object (HAS-A relation.)

A Source object describes the source code (more specifically, the LLVM
module) that is going to be compiled.

BCCContext contains the context used in a Source object.

BCCContext is now managed by the user not the libbcc itself. That is,
user should supply the context object when they create a Source object.

Change-Id: Icb8980d6f15cf30aa0415e69e3ae585d990dc156
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.cpp
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/Source.cpp
ib/ExecutionEngine/Source.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
ib/ExecutionEngine/bcc.cpp
c09dee62ae85df78e72f77900501a359f4a9fd99 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Add BCCContext.

Convention:
* namespace bcc {
/* no space here */class [ClassName] {
...
};

} // end namespace bcc
* Instance variables are prefixed with "m";
* Class variable/method are captialized;
* Local variables in the function are in lower case with underscore;
* Parameters to the function are prefixed with "p";
* Include guard in the header will look like
#ifndef BCC_<sub folder>_<class>_H
* The order of implementation in .cpp is in the order of their
declaration with the following constraints:
i. Class methods go first
ii. Recursively apply this rule to the sub-class
iii. Then the constructor and destructor of the class
iv. And then the instance methods
* The order of includes in Foo.cpp should be:
i. Foo.h should always go first
ii. C headers
iii. C++ headers
iv. LLVM headers
iv. Other headers from the project other than libbcc and Android
frameworks (i.e., f/b/include/utils/)
v. Header files defined in libbcc
vi. Header files from Android frameworks (f/b/include/utils/)

Android frameworks should be included in the last since it
implicitly includes cutils/log.h which may cause LOG_TAG be
defined to NULL if no LOG_TAG hasn't been defined ever before
include it.

* Avoid including STL and LLVM headers in the BCC headers. Some
clients (e.g., RenderScript) may prefer not include the C++ STL
support and don't want to associate with LLVM directly.

BCCContext manages the global data across the libbcc infrastructure.
This includes LLVMContext object required by materialize bitcode into
llvm::Module and LLVM compilation infrastructure.

Furthermore, BCCContext is escalated to be managed in Script instead
of in the SourceInfo.

Change-Id: I60b9da7b5c61f6c684dcf981ba5abaf066e3c883
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCContext.cpp
ib/ExecutionEngine/BCCContext.h
ib/ExecutionEngine/BCCContextImpl.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
d2068d48166ea2a019faa169ebf15c2edc66b775 25-Apr-2012 Shih-wei Liao <sliao@google.com> Define HAVE_BCC_CONFIG_MK_H for ConfigFromMk.h.

HAVE_BCC_CONFIG_MK_H will add to CFLAGS if ConfigForMk.h is built
(i.e., libbcc-gen-build-stamp.mk was included.)

Change-Id: I6af68ede415facefc0b852182079d3763f6e1a6e
onfig.h
ibbcc-gen-build-stamp.mk
57b933381b96bf9e5a80030aa9693dafabd66783 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Remove USE_LOGGER and DebugHelper.c.

USE_LOGGER is always enabled.

DebugHelper.c is no longer required since liblog which containing
these functions is statically linked into libbcc for the host build.
elper/Android.mk
elper/DebugHelper.c
elper/DebugHelper.h
ib/ExecutionEngine/FileHandle.cpp
ibbcc-config.mk
c989dcec0385c20a9174a8ed536e0d304c29a2e2 11-Apr-2012 Zonr Chang <zonr.net@gmail.com> Fix the order of libraries in linking.

libcutils should go after libutils since the former contains the
definitions required by the later.
ndroid.mk
99ec29fadbc4affc204b1aba22d2e54612125c9e 18-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
d3095c93cd875794e59230c267255efd88cda89f 16-Apr-2012 Alex Sakhartchouk <alexst@google.com> fixing api rename

Change-Id: I96a9599d0df90da7dc239f00e502748fdc7f9628
ib/ScriptCRT/rs_element.c
ib/ScriptCRT/rs_program.c
3d1e36413f6243a1b74001aca508363c111a2d72 12-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
eb157ab83c105549682b26a8b5c8bb64fdacc212 11-Apr-2012 Stephen Hines <srhines@google.com> Merge "Fix correctness bug for rootn(x, n) with negative x, odd n."
61468a6298ec2384a3271223ea40c5e4cb22e289 11-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
998462c6623277d494dd629a931af944615f5323 11-Apr-2012 Stephen Hines <srhines@google.com> Fix correctness bug for rootn(x, n) with negative x, odd n.

BUG=6319010

Change-Id: Idca9af75c340d994f96e759170a662d5b9b49256
ib/ScriptCRT/rs_cl.c
17930e17cd48b1d1253a94db58312451f2c9e9e2 11-Apr-2012 Jason Sams <jsams@google.com> Implement optimized clamp.

Provide both generic C impl file and optimized
neon path. Makefile will need switch to build both.

Change-Id: I24cc80de03260a9053eff7dc8e64dc7fe03a92ac
ib/ScriptCRT/Android.mk
ib/ScriptCRT/clamp.c
ib/ScriptCRT/clamp.ll
ib/ScriptCRT/neon/clamp.ll
ib/ScriptCRT/rs_cl.c
ib/ScriptCRT/rs_core.c
ccb615cc2dce41fde13e86ff974eeb44c46138b2 09-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
98abb2d77b6519a43c98427141ba1ded42441b8a 07-Apr-2012 Stephen Hines <srhines@google.com> Fix missing initializer in MetadataExtractor constructor.

BUG=4540719

Change-Id: I21472c51134b14c55b2408bb0ab3a4e9707a48e4
cinfo/MetadataExtractor.cpp
d8c4be378ec6fb105a95d7fc808011bf94d08627 05-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
08ee60c1d5afc378c3b792958b53ba3783774786 04-Apr-2012 Jason Sams <jsams@google.com> Add sampler support for strides in lod0.

Change-Id: I212c42b1c72f2fb400fd48e389ed8e3cf742a988
ib/ScriptCRT/rs_sample.c
ce5cb899cf40c3b6d6549410d9cdfcb5712fbf27 04-Apr-2012 Jason Sams <jsams@google.com> Add support for width != stride

BUG=6111812

Change-Id: Ie7e01613051160aa7071ea40431fe2eff1c8ab88
ib/ScriptCRT/rs_allocation.c
ib/ScriptCRT/rs_structs.h
327b11086e6296c932be2a5d5163915663f6533f 03-Apr-2012 Mike Lockwood <lockwood@google.com> Merge remote-tracking branch 'goog/ics-aah'
55e8b866a474f0f623fa9a3f4b926b6acf1c5d79 03-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
5b7310ba2cdb986fb4d5c6233b128396b7aa3a37 03-Apr-2012 Stephen Hines <srhines@google.com> Update one more spot for ARM-specific gdb.

Change-Id: Ie4a25221c499a9e1cbd5c289d4afe5a2d34b162f
ests/debuginfo/lit.site.cfg
a663b778625f3de523e251ca810f4dc722c706be 03-Apr-2012 Stephen Hines <srhines@google.com> Translate x86->ARM + AOSP->JellyBean for RS debugging.

Change-Id: Ib7890840f8a3b96080af069547c0181b94ddf705
db_plugin/android-commands.py
ests/debuginfo/target-tests/lit.cfg
74785ec517941989cb9dc51aca3aab58a21bfa10 02-Apr-2012 Stephen Hines <srhines@google.com> Remove unnecessary metadata duplication in Script*.

Change-Id: If29710fc1a2d0a80413b3014bb6933b0f7b40acb
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
922b1b5a5044a3fb2c91cea38da68021fc079eff 02-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
6a09731be03a117f150b5287379f74278cc3fe3e 02-Apr-2012 Andrew Hsieh <andrewhsieh@google.com> Fixed Mac compilation error

Initialize errMsg to silence warnning on uninitialized var
which treated as error.

Change-Id: I2507f88b444dc71e30652cca902d6da845b4de98
ools/bcc/main.cpp
0db6718aadeddc49e324f311915ced1ccdb2a936 02-Apr-2012 Logan Chien <loganchien@google.com> Fix unused variable bug.

Change-Id: I44c1c087159c9c0725186ee9705fa4f647c9ca8a
ools/bcc/Android.mk
ools/bcc/main.cpp
23999ef39fa4ce48dcb24fd2cb616c3b68e32898 31-Mar-2012 Jason Sams <jsams@google.com> implement nan

BUG=3394801

Change-Id: I59ecbe23570ee66f9c62b5faa4150e108a5c09c2
ib/ScriptCRT/rs_cl.c
4b588bda7f4060d2513ad2e73c198469879c0136 29-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
5ba99e45340b8d5380fe957c5b9690931ab649ed 29-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "Moving libRS"
5f3417f80b84fb809f6be282455a9db76fceaa53 28-Mar-2012 Stephen Hines <srhines@google.com> am 44f4eb29: am 03cfe0e3: Merge "Check infile arguments for BitcodeWrapperer."

* commit '44f4eb292b2b9aebb50cceb7b42f7a77fb3808b3':
Check infile arguments for BitcodeWrapperer.
a7e5c8f85434e9b8cb0637da302135ba2e2976f5 28-Mar-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of f46fa664 to master

Change-Id: I073ac3c0f95b3da9567e54c1fc8e8b1b0d69e33f
44f4eb292b2b9aebb50cceb7b42f7a77fb3808b3 28-Mar-2012 Stephen Hines <srhines@google.com> am 03cfe0e3: Merge "Check infile arguments for BitcodeWrapperer."

* commit '03cfe0e30d65d6e2ecbe6282cec4b20d3be690cc':
Check infile arguments for BitcodeWrapperer.
f46fa664497f7933f0a28ddfe9afdf2a459b3a05 28-Mar-2012 Stephen Hines <srhines@google.com> am 0d1bf1af: Merge "Switch optimization level from metadata to bitcode wrapper."

* commit '0d1bf1af537d62279b58a4bdd8d8c50f293b0a72':
Switch optimization level from metadata to bitcode wrapper.
e784c1bc4a6a758860047a1017ea9868c115efca 28-Mar-2012 Alex Sakhartchouk <alexst@google.com> Moving libRS

Change-Id: I99047ed93fba66ed0f18a40cc9e801697fc38309
leanSpec.mk
ib/ScriptCRT/Android.mk
a7f140fbcfdfd660e14ef1a43a3fa2f8f5edd7d7 28-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
03cfe0e30d65d6e2ecbe6282cec4b20d3be690cc 28-Mar-2012 Stephen Hines <srhines@google.com> Merge "Check infile arguments for BitcodeWrapperer."
0d1bf1af537d62279b58a4bdd8d8c50f293b0a72 28-Mar-2012 Stephen Hines <srhines@google.com> Merge "Switch optimization level from metadata to bitcode wrapper."
a75396f25b870ef51bf8d40daeef3846a775357d 27-Mar-2012 Stephen Hines <srhines@google.com> NEON cannot be used if we require full precision FP.

BUG=4540719

Change-Id: I157d8d90bfa7eb0cf8da34bcf210d6e318e4e034
ib/ExecutionEngine/Compiler.cpp
e1fd804a58c0ed67c75566c784d0b20d81e97ada 27-Mar-2012 Stephen Hines <srhines@google.com> Parse pragmas for floating point precision requirements.

BUG=4540719

Change-Id: Ice57a87f2f2cce3a641a4183b5f0bd8dc1ac0585
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcinfo/MetadataExtractor.h
1ad35fbd78f6965bb59572e1cf6a2223ee767c57 26-Mar-2012 Stephen Hines <srhines@google.com> Check infile arguments for BitcodeWrapperer.

It would be better to use a const reference for infile, but unfortunately, we
must mutate it during the lifetime of BitcodeWrapperer - Seek() is the
primary issue here. Since we don't want to use a non-const reference, we
instead insert appropriate NULL checks into the various functions where
infile is used.

Change-Id: Ic408c9dba684b57237cc8e29fff61c103161f7b3
cinfo/Wrap/bitcode_wrapperer.cpp
nclude/bcinfo/Wrap/bitcode_wrapperer.h
ac89e18f704e6b7e5c480b20164f16283991ecc8 26-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
b67c9e7a28cb734c1d62d835c33dedbe45074356 22-Mar-2012 Stephen Hines <srhines@google.com> Switch optimization level from metadata to bitcode wrapper.

Change-Id: Ieb547d38f2ad1c84af30717da9172d0ac928e52d
ndroid.mk
cinfo/BitcodeWrapper.cpp
cinfo/MetadataExtractor.cpp
nclude/bcinfo/MetadataExtractor.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
6d99712e408f98f0ee13c734fc0bdea44e0fc567 24-Mar-2012 Shih-wei Liao <sliao@google.com> Migrate to upstream-153224-20120321.

Change-Id: If666d707f066bb6c11850b4252b82e953426660e
ndroid.mk
629b5564f9a889a24c1f9707ebcbb140a21f84eb 23-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "Cleanspec"
752e088091a39fb0dc856adda46db12df79e407d 23-Mar-2012 Alex Sakhartchouk <alexst@google.com> Cleanspec

Change-Id: I6a6b50f5c142c0395c4f999ac5182cdae6921d48
leanSpec.mk
9d0c4ac3620b32c4b312ceec6c3d07612a662870 23-Mar-2012 Jason Sams <jsams@google.com> Add surface texture to keep allocation structure in sync.

Change-Id: I37ff6bf49ab104c81e6ca22ce64787b3d6a79c38
ib/ScriptCRT/rs_structs.h
2bde5ea65e84c0d86f3329120b9bfee1cbced03e 23-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "Adding RS_VERSION to libbcc"
9f545cb1df41c28db558aea8c514fe1d9c58fe25 23-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "More renaming."
592adb5f0cfc82c6ffce3109f7b8ca38fcc59dfc 22-Mar-2012 Alex Sakhartchouk <alexst@google.com> Adding RS_VERSION to libbcc

Change-Id: I18d0fb2b42fcddba43147dcb44514c5218e9845d
ib/ScriptCRT/Android.mk
3cbc3daea8f6e6f25e28b0661269651e92c194b5 22-Mar-2012 Alex Sakhartchouk <alexst@google.com> More renaming.

Change-Id: I6be2d61ca851e07aacb7b6c0a0f7646989be5a14
ib/ScriptCRT/rs_mesh.c
ib/ScriptCRT/rs_program.c
f2f743bfa22759b7374b0a50b7304637092ea9ac 22-Mar-2012 Stephen Hines <srhines@google.com> am e7483737: am 98265568: Merge "Fix (GDB) debugging of code loaded from cache"

* commit 'e748373746b0a9224f1a1367321d53cdca8220c4':
Fix (GDB) debugging of code loaded from cache
e748373746b0a9224f1a1367321d53cdca8220c4 22-Mar-2012 Stephen Hines <srhines@google.com> am 98265568: Merge "Fix (GDB) debugging of code loaded from cache"

* commit '98265568b11f2ca55dcdeca62f3d6fb4899346a3':
Fix (GDB) debugging of code loaded from cache
98265568b11f2ca55dcdeca62f3d6fb4899346a3 22-Mar-2012 Stephen Hines <srhines@google.com> Merge "Fix (GDB) debugging of code loaded from cache"
76a57eaef13489b981364a2891c894b6e9610ecd 21-Mar-2012 Daniel Malea <daniel.malea@intel.com> Fix (GDB) debugging of code loaded from cache

When loading code from cache, set ELF section headers to point to real
location of executable code. This fixes GDB errors about being unable to
insert breakpoints at an invalid address.

Change-Id: I81f56a50b29ba34085fcac8630a188224313b3d1
ib/ExecutionEngine/MCCacheReader.cpp
1ef61fc2476077ad4c4b94c36512340d970e9fd2 22-Mar-2012 Stephen Hines <srhines@google.com> am 236011e0: am d3ceda68: Merge "Add in missing NULL pointer checks."

* commit '236011e0a7cc050d23acf1317d78649fe7471cd6':
Add in missing NULL pointer checks.
236011e0a7cc050d23acf1317d78649fe7471cd6 22-Mar-2012 Stephen Hines <srhines@google.com> am d3ceda68: Merge "Add in missing NULL pointer checks."

* commit 'd3ceda685bae5cdacfcc24866c625f4c28951a2a':
Add in missing NULL pointer checks.
f534c384332d07f55499e5a380128ef2efe63fe2 22-Mar-2012 Stephen Hines <srhines@google.com> am ea8f8a79: am 381a3651: Merge "Work around buggy toolchains."

* commit 'ea8f8a795b61a716d71289cc2f38ab373e82dd73':
Work around buggy toolchains.
ea8f8a795b61a716d71289cc2f38ab373e82dd73 22-Mar-2012 Stephen Hines <srhines@google.com> am 381a3651: Merge "Work around buggy toolchains."

* commit '381a3651b8635a8e8cac3d79e69c7a589128e094':
Work around buggy toolchains.
d3ceda685bae5cdacfcc24866c625f4c28951a2a 22-Mar-2012 Stephen Hines <srhines@google.com> Merge "Add in missing NULL pointer checks."
3f782a74b1a44bdf6e13aa1ddd5aea11ece1f12c 22-Mar-2012 Stephen Hines <srhines@google.com> Add in missing NULL pointer checks.

Change-Id: Ib19c9dc4db7e09525ea42eed9086e6fdb94c3648
cinfo/Wrap/file_wrapper_output.cpp
cinfo/Wrap/in_memory_wrapper_input.cpp
381a3651b8635a8e8cac3d79e69c7a589128e094 22-Mar-2012 Stephen Hines <srhines@google.com> Merge "Work around buggy toolchains."
26218cebf31dd9d0ec3c677fec91e1847a87a6d2 22-Mar-2012 Stephen Hines <srhines@google.com> Work around buggy toolchains.

Change-Id: I93756929c3910249c7aa4ff33d28fa3331b8af92
nclude/bcinfo/Wrap/BCHeaderField.h
db6604f1136452ad9a20501e998a205b2f02bb50 21-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "Changing rsg to rs because functions don't rely on graphics. Renaming one of the includes for clarity."
e9c850f5d85f3aa31b6e841478ea52e82d76c261 21-Mar-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 6ec896af to master

Change-Id: I2b179d8b637df5e71c3018df50b7a3cc1fd2367f
6ec896afa25b83d36a95f8e04b1b5bea931101b9 21-Mar-2012 Stephen Hines <srhines@google.com> am 052609c0: Merge "Update support for BitcodeWrapper using BitcodeWrapperer."

* commit '052609c08b8a5a1d382fd8d1ec4ffe4913327fc5':
Update support for BitcodeWrapper using BitcodeWrapperer.
052609c08b8a5a1d382fd8d1ec4ffe4913327fc5 21-Mar-2012 Stephen Hines <srhines@google.com> Merge "Update support for BitcodeWrapper using BitcodeWrapperer."
ff52255ab6cd9bbb31baa0243abafbfe02241651 21-Mar-2012 Alex Sakhartchouk <alexst@google.com> Changing rsg to rs because functions don't rely on graphics.
Renaming one of the includes for clarity.

Change-Id: Ibe7593de6898b95e6d6a4656ed15b63a93f8e87d
ib/ScriptCRT/rs_allocation.c
ib/ScriptCRT/rs_core.c
ib/ScriptCRT/rs_core.h
ib/ScriptCRT/rs_element.c
ib/ScriptCRT/rs_mesh.c
ib/ScriptCRT/rs_program.c
ib/ScriptCRT/rs_sample.c
ib/ScriptCRT/rs_sampler.c
ib/ScriptCRT/rs_structs.h
6fc18a1cac575828c8f545e1847aad077c3d35d3 21-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "Organizing libcore by logical components."
7cd4c49d575478b2380f129dcd376a4e5e37939c 14-Mar-2012 Stephen Hines <srhines@google.com> Update support for BitcodeWrapper using BitcodeWrapperer.

This change uses a common helper library created for PNaCl, and adapts it
for use with Android. We also add some new fields to the wrapper for the
offline compiler version used to generate the bitcode.

Change-Id: I04c4ee20b7b09a68a35cdda1891616ee482a0072
cinfo/Android.mk
cinfo/BitcodeTranslator.cpp
cinfo/BitcodeWrapper.cpp
cinfo/Wrap/Android.mk
cinfo/Wrap/LLVMBuild.txt
cinfo/Wrap/Makefile
cinfo/Wrap/bitcode_wrapperer.cpp
cinfo/Wrap/file_wrapper_input.cpp
cinfo/Wrap/file_wrapper_output.cpp
cinfo/Wrap/in_memory_wrapper_input.cpp
cinfo/Wrap/wrapper_output.cpp
cinfo/tools/main.cpp
nclude/bcinfo/BitcodeWrapper.h
nclude/bcinfo/Wrap/BCHeaderField.h
nclude/bcinfo/Wrap/bitcode_wrapperer.h
nclude/bcinfo/Wrap/file_wrapper_input.h
nclude/bcinfo/Wrap/file_wrapper_output.h
nclude/bcinfo/Wrap/in_memory_wrapper_input.h
nclude/bcinfo/Wrap/support_macros.h
nclude/bcinfo/Wrap/wrapper_input.h
nclude/bcinfo/Wrap/wrapper_output.h
c8a19b77c1af0f693a771ccbb5d44c9291127fc3 21-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
4a048eb11457407771e77039e169f6d38d64874e 20-Mar-2012 Alex Sakhartchouk <alexst@google.com> Organizing libcore by logical components.

Change-Id: I753344b1f621283586f909a0b6a70d0761dae0c8
ib/ScriptCRT/Android.mk
ib/ScriptCRT/rs_allocation.c
ib/ScriptCRT/rs_core.c
ib/ScriptCRT/rs_element.c
ib/ScriptCRT/rs_mesh.c
ib/ScriptCRT/rs_program.c
ib/ScriptCRT/rs_sampler.c
6db1a2def28e6f15d2651fb8a711fd328f73c62c 20-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "Fixing some bugs and inefficiencies"
71877244af6ae2750d49e8f71747ab18e8eaa27f 19-Mar-2012 Alex Sakhartchouk <alexst@google.com> Fixing some bugs and inefficiencies

Change-Id: I17cf2400ed9c68a095e4c5bb40a31beed89fb9d5
ib/ScriptCRT/rs_sample.c
2baf0ecdf9d1de8afcf914c46cc1ffaa813a18d4 15-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
cb892c55bb92603c8a60d20ab401c75faef2da3d 14-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "Adding 1D sampling to the library."
af8013dc04d4a44c186e3e3dfaa6ae30e2e10cc4 14-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
8e7b2839549af7aa96da2ba503238a245e08c2b3 13-Mar-2012 Alex Sakhartchouk <alexst@google.com> Adding 1D sampling to the library.

Change-Id: I6e20a31d7f701398a659924eebcccd4a2cda8468
ib/ScriptCRT/Android.mk
ib/ScriptCRT/rs_core.c
ib/ScriptCRT/rs_core.h
ib/ScriptCRT/rs_sample.c
a76d6c80166d97519387ee67c833993e0592c717 13-Mar-2012 Alex Sakhartchouk <alexst@google.com> Merge "First draft of allocation sampling."
7cd4debf63c6323e22c76712824e08564b891119 13-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
1d364097b9caccaadf2380faace5fc4e212d89d6 13-Mar-2012 Alex Sakhartchouk <alexst@google.com> First draft of allocation sampling.

Change-Id: I82efe119bb05c52d8e9a1e2146dce5eb4b9f79a8
ib/ScriptCRT/rs_core.c
671bb273b126ec896c349ad841c9f989ea86a820 12-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
0e56786df8c1d4828798f91fe2bf850d414ee04f 12-Mar-2012 Stephen Hines <srhines@google.com> Remove USE_CACHE support, since we only need MC support.

BUG=6051742

This change also removes the legacy bcc_cache.h header by moving any relevant
defines still there to bcc_mccache.h. These types/values are now renamed to
generally use "MCO" instead of "OBCC".

Change-Id: I6c611bd296c0335cacd82025933f36eb55bff72f
EADME.html
EADME.rst
nclude/bcc/bcc_cache.h
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
ibbcc-config.mk
369996246f0e2a33bb1a0aae2a8d9f91a8ffa671 12-Mar-2012 Stephen Hines <srhines@google.com> Remove USE_MCJIT configuration flags, since MC is the only path.

BUG=6051742

This also removes references to MCJIT, since we use MC CodeGen, and not the
actual LLVM MCJIT path.

Change-Id: I3518ae7c91952251a3bd2fc4c3b2a418572a4998
ndroid.mk
onfig.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/SourceInfo.cpp
ibbcc-config.mk
9ddeb6b4afb1c3366fd4f95d6d31b3e221f46c85 12-Mar-2012 Stephen Hines <srhines@google.com> Remove OLD_JIT support from libbcc.

BUG=6051742

This change removes some legacy defines and files related to the original
LLVM JIT path. A follow-up change should remove MCJIT-related defines, since
we are not a JIT, but instead using MC CodeGen to emit ELF.

Change-Id: I193235a7716e5f8c653a617a2fb74840bf3406e0
ndroid.mk
onfig.h
ib/CodeGen/Android.mk
ib/CodeGen/CodeEmitter.cpp
ib/CodeGen/CodeEmitter.h
ib/CodeGen/CodeMemoryManager.cpp
ib/CodeGen/CodeMemoryManager.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/OldJIT/CacheReader.cpp
ib/ExecutionEngine/OldJIT/CacheReader.h
ib/ExecutionEngine/OldJIT/CacheWriter.cpp
ib/ExecutionEngine/OldJIT/CacheWriter.h
ib/ExecutionEngine/OldJIT/ContextManager.cpp
ib/ExecutionEngine/OldJIT/ContextManager.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/SourceInfo.cpp
ibbcc-config.mk
569986da116ed602c752395f9563260db38f6945 10-Mar-2012 Stephen Hines <srhines@google.com> Switch libbcc to start using MetadataExtractor.

BUG=6051742

This reduces code duplication, and makes us a client of our own helper library.
It also helps to fix a potential issue that can come up with older bitcode
containing only ForEach signatures and not names (something that was fixed in
MetadataExtractor, but not libbcc). We no longer look at metadata nodes at all
from libbcc.

Change-Id: I5cdacec82e4cd164f1aec5aa28a5e82feb9cfc15
ndroid.mk
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcinfo/MetadataExtractor.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
88d93c664e6f74acd571d57fed7ea4cb51204fa5 10-Mar-2012 Stephen Hines <srhines@google.com> Use ALOGE instead of fprintf() for logging.

Change-Id: I4f5bb30bede43a76c30feac596ee44efe8fedb08
nclude/bcc/bcc_assert.h
16e798d03e1864e950d70b81616e01bc9df19692 08-Mar-2012 Alex Sakhartchouk <alexst@google.com> exposing lod offsets in type.

Change-Id: I5aa44bdc8e2e271d3f2415af07d6c56f29b79c04
ib/ScriptCRT/rs_core.c
fda0543185f517cb7be2280bbdcdabfa760ae126 08-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
9af1e4d23ffa811fdf027d7e95a4dd3fc24b2113 08-Mar-2012 Stephen Hines <srhines@google.com> Merge "Turn off NEON until we fix potential alignment issues."
8a1ca2c94d16d623d4e8d2a4877dac5e62d6bca0 08-Mar-2012 Stephen Hines <srhines@google.com> Merge "Apply changes to migrate to upstream"
6a57e24f1cd2b3f9d96717dab09246badf7d8265 07-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
227059198eab33bcac7badbfee03e3c11d0d9734 07-Mar-2012 Shih-wei Liao <sliao@google.com> Registers targets etc. before looking up targets.

Change-Id: Id206f44e4271885fea7af2f20e45a002ce9cd54a
ib/ExecutionEngine/Compiler.cpp
e063d50bda96e9e3698c68dea6cb4e577de8cc04 07-Mar-2012 Shih-wei Liao <sliao@google.com> Fix a bug of -C in bcc command.

Value for triple option (-C) should be in the arg[1] instead of
arg[0].

Change-Id: I0e35ec757cd8e247daf0b42389e879ee2857b25b
ools/bcc/main.cpp
f6b202b43e6edebf098348142bd707d94abb2ca9 07-Mar-2012 Stephen Hines <srhines@google.com> Turn off NEON until we fix potential alignment issues.

BUG=6127576

Change-Id: If7b0f289a56f8a0ded553c75a30f099599f8c386
ib/ExecutionEngine/Compiler.cpp
dbc45df95d18a3722edbdf4ae0460ece95173aa2 06-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
c73b5214fa71ef6e3378fa121bb8b6312d2e6d3b 05-Mar-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate to upstream

- Following constants have been removed by the upstream,
so we have to define our version.

- bitc::FUNC_CODE_INST_UNWIND
- Intrinsic::eh_exception
- Intrinsic::eh_selector

- 'unwind' instruction has been removed by upstream.
Emitting 'landingpad' and 'resume' instead when readers
find 'unwind' instructions in bitcode.

- llvm::Attribute now is a class, not unsigned.
Adjust the way to use llvm::Attribute according to upstream.

Change-Id: Iecefbc17e29093e09ada60c928cc951de681ea98
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitcodeTranslator.cpp
3e36c69b4d0b9f3ff24a7c54efb429a663f6fad5 05-Mar-2012 Stephen Hines <srhines@google.com> Fix spelling, grammar, and formatting issues.

Change-Id: Ie433486c36a75699e55427fa8be496f7bfbf7f1d
ib/ExecutionEngine/Script.cpp
ools/bcc/main.cpp
78fb3108f87bde8d3c6e22cb8ff660718f8a2001 05-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
8454a3a6b7cc876a0c8c79aba12e8da31d9ae5b7 03-Mar-2012 Shih-wei Liao <sliao@google.com> Change the meaning of member Script::mObjectType.

Script::mObjectType is The type of the object behind this script
after compilation. For example, after returning from a successful
call to prepareRelocatable(), the value of mObjectType will be
ScriptObject::Relocatable.

Change-Id: I82ae2990772a9fb424150d3711e31f13acc521e6
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
01d3432f173d8fac4d4f45660a6bac6a768b8d8f 03-Mar-2012 Shih-wei Liao <sliao@google.com> Add -or option to bcc command.

It enables user to specify the path to output the intermediate
relocatable file when performs linking (-shared.)

Change-Id: Ice9d7bb3629abaf777ba36cf210f9a28f9c46745
ools/bcc/main.cpp
b0fe1bab063bfbbf54bafc1f69ec4d88da8e88d2 03-Mar-2012 Shih-wei Liao <sliao@google.com> Announce that bcc cannot generate executable.

bccPrepareExecutable() is RS-specific object file generation.
Moreover, the output of this function is not an executable like
the one in realworld. It should not be used in bcc for the output
type of executable.

Change-Id: I0f7125b383fffb4189852e9e17384423ff15c258
ests/test.py
ools/bcc/main.cpp
6934174c018f64214934165aa8e0ba7d361c4de5 03-Mar-2012 Shih-wei Liao <sliao@google.com> Change the API of bccPrepareSharedObject().

Change-Id: I2d0ecf6b062b52dc4b6b514d93ba8191920a00aa
nclude/bcc/bcc.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/bcc.cpp
ools/bcc/main.cpp
d8ed6a9d7b20f1b772087b8afcd8d70477672338 03-Mar-2012 Shih-wei Liao <sliao@google.com> Change the API of bccPrepareRelocatable().

Remove the caching from this function. It makes the API simpler
and intuitive. OBJPATH in the prototype is the path of the output
relocatable object file.

Change-Id: I03c423661a5ad306e8a18e30c838770a00a37f55
nclude/bcc/bcc.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/bcc.cpp
ools/bcc/main.cpp
a0ed34e86a06b16306768965b6431bf3f632f8d3 03-Mar-2012 Shih-wei Liao <sliao@google.com> Refactor cache writing out from internalCompile().

Add public writeCache() interface in bcc::Script.

Change-Id: If7b8ce56f7197e379613976c71c568ca0c019876
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
a8cfeedbb32703c5ecc4abf33da49bcc5d70759b 03-Mar-2012 Shih-wei Liao <sliao@google.com> Minor changes on bcc command.

Use snprintf() instead of memcpy/strncpy sequence to improve the
readibility.

Change-Id: Ia119769c111a349d50dc0a9ee1e9c77cef8260a8
ools/bcc/main.cpp
bc76dfb1cf34b7aa48d9866ed9ab58cdbf9d7805 03-Mar-2012 Shih-wei Liao <sliao@google.com> Clean up.

Change-Id: I16c61925a4cc70b951278937e19179d825d70202
ools/bcc/main.cpp
b378cf04368c41cf5dbcca8f9ea4907ca11b63c5 03-Mar-2012 Shih-wei Liao <sliao@google.com> Capitalize the name of global variables.

Improve the readability.

Change-Id: Ib577af1d6cb3c5ba86f5c566837460c17f5942dd
ools/bcc/main.cpp
c7d7a89c7902d818d1698f7349981c995f44e510 07-Feb-2012 Zonr Chang <zonr.net@gmail.com> Add -shared option to bcc command.

This functionality is based on the bccPrepareSharedObject().
ools/bcc/main.cpp
cf9b2d27e00720e99ddd5823e3a67d111fb0bdf8 07-Feb-2012 Zonr Chang <zonr.net@gmail.com> Add -fPIC option to command bcc.

Relax the setting to the output relocation model for -c.
ools/bcc/main.cpp
422aa9e2af89e9d05714bc10380a765279eb2cb4 07-Feb-2012 Zonr Chang <zonr.net@gmail.com> Refactoring.

Better and more specific name for implement -R option in bcc
command.
ools/bcc/main.cpp
c3dd75e0d38709c9b0e43ce6a6fabb8f189c20e9 07-Feb-2012 Zonr Chang <zonr.net@gmail.com> Rename the option processing functions.

No functionality changed.
ools/bcc/main.cpp
4c056486f7a725702c27cf8f7e5fdb8ebf861899 07-Feb-2012 Zonr Chang <zonr.net@gmail.com> Add -c option to command bcc.

It's based on bccPrepareRelocatable.
ools/bcc/main.cpp
ac1a24edb0228c29d65275b74e22f42ad8f69e8e 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> No need to check the dependency in bcc command.
ools/bcc/main.cpp
c12ca213e325ad06de8ee9b47101950a57488215 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Refactor.
ools/bcc/main.cpp
05655c5464e828c2de2354418807f8070bf758a0 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Add -o option to bcc command.
ools/bcc/main.cpp
937eb870d572367a72a9fcc6344519f2fbe41a0b 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Clean.
ools/bcc/main.cpp
ee2286c09476b56ff61c2de1beaef1a6cd814b0a 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Add help page for command bcc.

Execute `bcc -h' to see it.
ools/bcc/main.cpp
eea4a71dcf953536a62aa502a220b864bc557f36 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Rewrite parseOption in command bcc.

Such that it can read option like '-shared'.
ools/bcc/main.cpp
1a03e1cf383950c3a1698097a428d3c8dfc09244 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Using bccReadFile() in bcc command.

Instead of bccReadBC().
ools/bcc/main.cpp
33157f45dd90c55b84d1fbac13d62a7ed11e19cf 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Fix memory leak.
ools/bcc/main.cpp
02f343831bdd0a525a68d41623faab7bb65a8ff8 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Remove printPragma().

It's unused and unusable. All APIs to implements this function
have gone away.
ools/bcc/main.cpp
411ced0492d579e1ba776e1df3911cb9e4c89698 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Remove unsed and also unusable -T option.
ools/bcc/main.cpp
f3fad0402f0a21aaf0157bb7525e22bff1623777 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Remove code for disassembly in bcc command.

It's unused for a long time. And it remains unusable when you
remove the comment marks.
ools/bcc/Android.mk
ools/bcc/armreg.h
ools/bcc/disassem.cpp
ools/bcc/disassem.h
ools/bcc/main.cpp
5eecbfa04d8c6259953b46bb0be5c5964a8823a2 07-Feb-2012 Zonr Chang <zonr.net@gmail.com> Include bcc command to be as a system tool.

It is no longer just a testing tool.
ools/Android.mk
ools/bcc/Android.mk
458d4d87dfd64dbaae5d18759a3ac131073697c1 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Move bcc command from tests/ to tools/bcc/.

No functionality changed.
ests/Android.mk
ests/armreg.h
ests/disassem.cpp
ests/disassem.h
ests/main.cpp
ools/bcc/Android.mk
ools/bcc/armreg.h
ools/bcc/disassem.cpp
ools/bcc/disassem.h
ools/bcc/main.cpp
b4db722b7e400d9ce93f41b3d4243fd4f20ef300 06-Feb-2012 Zonr Chang <zonr.net@gmail.com> Move the build-related script under tools/build.
ndroid.mk
ibbcc-gen-build-stamp.mk
ibbcc-gen-config-from-mk.mk
ools/build/dataconvert.py
ools/build/gen-build-stamp.py
ools/build/gen-config-from-mk.py
ools/build/gen-sha1-stamp.py
ools/dataconvert.py
ools/gen-build-stamp.py
ools/gen-config-from-mk.py
ools/gen-sha1-stamp.py
4adbcb275454d7cc179a541ff07f37474f31b522 07-Feb-2012 Zonr Chang <zonr.net@gmail.com> Add a non-null guard in ~SourceInfo().

Prevent dereference from null Module object.
ib/ExecutionEngine/SourceInfo.cpp
e0918ac3cd6070c084b76d737af055e88a7679db 02-Mar-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 7c75d915 to master

Change-Id: I25c1dc90af679e2463abffd33ee8838b4727396f
7c75d9156426d82c1e6616a4a5741f5a37ae3f0e 02-Mar-2012 Stephen Hines <srhines@google.com> am f581ac45: Merge "Enable debugging of RS code under GDB"

* commit 'f581ac450e8626f4dbc33f24a7d669a411949a59':
Enable debugging of RS code under GDB
f581ac450e8626f4dbc33f24a7d669a411949a59 02-Mar-2012 Stephen Hines <srhines@google.com> Merge "Enable debugging of RS code under GDB"
094881f513ab366f7ffd0b2c7778ab50281ca59e 14-Dec-2011 Daniel Malea <daniel.malea@intel.com> Enable debugging of RS code under GDB

- Add/integrate GDBJITRegistrar support class for interfacing with GDB
-- Once the GDBJITRegistrar is merged into LLVM trunk (and AOSP upgrades LLVM)
all files GDB* should be removed, and replaced with appropriate includes

- Basic [host|target]-side integration tests
-- host-tests: use bcc driver and clang to verify gdb output
-- target-tests: run skeleton apk on target and verify gdb output

- Add support for optimization_level metadata in bcinfo, libbcc
-- Disabled some LTO passes when optimization_level = 0
-- move register allocator registration after metadata inspection

- Initial version of android-commands.py GDB plugin (for test infrastructure)
-- relevant commands: load-android-app, run-android-app, start-android-app
-- tested versions: gdb (7.2, 7.3), python (2.6, 2.7)

- build 'bcc' driver tool by default in eng builds

Change-Id: I99e0c11c8591c6d911632c1dcc82dd8fbe1244a8
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
db_plugin/android-commands.py
nclude/bcinfo/MetadataExtractor.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/GDBJIT.cpp
ib/ExecutionEngine/GDBJIT.h
ib/ExecutionEngine/GDBJITRegistrar.cpp
ib/ExecutionEngine/GDBJITRegistrar.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCached.h
ibbcc-config.mk
ests/Android.mk
ests/debuginfo/README
ests/debuginfo/build_test_apk.sh
ests/debuginfo/host-tests/aggregate-indirect-arg.cpp
ests/debuginfo/host-tests/forward-declare-class.cpp
ests/debuginfo/host-tests/func_invoke_and_crash.cpp
ests/debuginfo/host-tests/global_struct.c
ests/debuginfo/host-tests/globals.c
ests/debuginfo/host-tests/jit.cpp
ests/debuginfo/host-tests/lit.cfg
ests/debuginfo/host-tests/locals.cpp
ests/debuginfo/host-tests/nested-struct.cpp
ests/debuginfo/host-tests/parameters.cpp
ests/debuginfo/host-tests/pass-function.c
ests/debuginfo/host-tests/pass-struct.c
ests/debuginfo/host-tests/simple_func_invoke_and_crash.cpp
ests/debuginfo/host-tests/test_info_sources.cpp
ests/debuginfo/lit.site.cfg
ests/debuginfo/llvm-lit
ests/debuginfo/target-tests/breakpoint_function.rs
ests/debuginfo/target-tests/breakpoint_inlined_function.rs
ests/debuginfo/target-tests/breakpoint_inlined_sourceline.rs
ests/debuginfo/target-tests/breakpoint_sourceline.rs
ests/debuginfo/target-tests/crash.rs
ests/debuginfo/target-tests/driver-common/AndroidManifest.xml
ests/debuginfo/target-tests/driver-common/SRC/DriverRS.java.template
ests/debuginfo/target-tests/driver-common/SRC/DriverView.java.template
ests/debuginfo/target-tests/driver-int-param/ACTIVITY.java.template
ests/debuginfo/target-tests/driver-int-param/DriverRS.java.template
ests/debuginfo/target-tests/driver-simple-exit/ACTIVITY.java.template
ests/debuginfo/target-tests/driver-simple/ACTIVITY.java.template
ests/debuginfo/target-tests/global_int.rs
ests/debuginfo/target-tests/info_sources.rs
ests/debuginfo/target-tests/lit.cfg
ests/debuginfo/target-tests/locals.rs
ests/debuginfo/test_bcc_debuginfo.pl
ests/main.cpp
50560117cd01b3dceefb2f0be865d6d23b9fcbaa 01-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
208fbc25dab2bf875bee765becb5f0726d513dfb 01-Mar-2012 Jason Sams <jsams@google.com> Fix llvm codegen hints

Change-Id: I35eb62a8402afc792045f7f580890173048f05e5
ib/ScriptCRT/matrix.ll
ib/ScriptCRT/pixel_packing.ll
f7ab3778dfe2be557fb457fdc842408fb9a2a261 01-Mar-2012 Jason Sams <jsams@google.com> Handcode pixel packing and unpacking.

Change-Id: Ibe0f0ca5630140913040b3f1d339cb69d2ed48d4
ib/ScriptCRT/Android.mk
ib/ScriptCRT/pixel_packing.ll
ib/ScriptCRT/rs_core.c
979ef6f8a876c9d14a9bd84b4367dd57af587447 29-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
bde378ee470a983263a37b90bc016e024ee2bb6e 29-Feb-2012 Jason Sams <rjsams@android.com> Merge "llvm matrix ops"
9c0ec9a509f67d4b9d82ed25afdfe9ba831bf5a0 28-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
5bc951cd1b1e504e19c8625fcab00712c123484b 28-Feb-2012 Jason Sams <rjsams@android.com> llvm matrix ops

Change-Id: I4e761c1c472e7b525141b0a676686639d0fdefb3
ib/ScriptCRT/Android.mk
ib/ScriptCRT/convert.ll
ib/ScriptCRT/matrix.ll
ib/ScriptCRT/rs_cl.c
ib/ScriptCRT/rs_core.c
f7d573d03c76eb32be372cb7391fa39d3cc349e3 28-Feb-2012 Stephen Hines <srhines@google.com> Force signed chars since Clang defaults Arm to unsigned.

BUG=6080056

Change-Id: I211a5d447760853634242b786947ced0679eb5d0
ib/ScriptCRT/Android.mk
3ca39d4472a39d6136266d9a4539062a2eca8ec6 27-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
85b860c2e503d6b7401fbc96dffc71e65c2c2d70 25-Feb-2012 Stephen Hines <srhines@google.com> Support handwritten LLVM bitcode in libclcore.bc.

Change-Id: I2c9c4defbdcc7a68b93fc300098e1d58d62f3a5a
ib/ScriptCRT/Android.mk
ib/ScriptCRT/clamp.ll
ib/ScriptCRT/rs_core.c
60307ed7acbee1cce27551334e2b35839e47aee8 25-Feb-2012 Stephen Hines <srhines@google.com> Libbcc should really require llvm-as/llvm-dis.

Change-Id: Iaf920b8341bfe6f96d2a1a7c9b7245e570b089b9
ib/ScriptCRT/Android.mk
cc366e573e31f43a6101fd6e04b90c6afdc3b7a7 22-Feb-2012 Stephen Hines <srhines@google.com> Support ForEachExpand on non-root functions.

BUG=6000538

Change-Id: I36e78ced0715b060af0938f1480df240cf6ba707
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/bcc.h
nclude/bcc/bcc_cache.h
nclude/bcc/bcc_mccache.h
nclude/bcinfo/MetadataExtractor.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
ib/Transforms/BCCTransforms.h
ib/Transforms/ForEachExpand.cpp
15dd81c0d68a6c7f7db0a95bfaf69df2394f77bf 16-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
8c504fb0e0a8136bad2b7dc5139b6c8b05ae283b 15-Feb-2012 Jason Sams <rjsams@android.com> Maintain compatibility with the structures in rsAllocation.h

Change-Id: I99110a0cbb28faa8c13b1b7ec05920f51cf13620
ib/ScriptCRT/rs_core.c
cf404f79d1c9706dbdf093ae54072df558ca40a1 15-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
2bfafab8282d5fd89016a488c8d38aebc20967c2 13-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
a416d2cecfdf9937c9e486527187072fd654a206 11-Feb-2012 Jason Sams <jsams@google.com> Merge commit 'a0b6c068' into manualmerge

Conflicts:
lib/ScriptCRT/rs_core.c

Change-Id: I8c8209d9d6afed798ba4773fa189e9d772adbd3b
a0b6c068c5946faf8011f26fce86bfc9557502c3 10-Feb-2012 Jason Sams <rjsams@android.com> Add surface texture.

Change-Id: Iec42b3638079c4c0f4ab1744d4591a8ba46a8226

Conflicts:

lib/ScriptCRT/rs_core.c
ib/ScriptCRT/rs_core.c
8d0e7bda235e8060814341afcccc9c574b78abb9 06-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
618edc65d2e4c22e537dd5f2eb515ac14146a097 05-Feb-2012 Shih-wei Liao <sliao@google.com> am a471ebb0: Refactoring interface.

* commit 'a471ebb05c3c6f31102cd512d2b73ed9d74ac2d7':
Refactoring interface.
930bcf4900d96e612f1374fb59ea34423de3b849 05-Feb-2012 Shih-wei Liao <sliao@google.com> am 32ef88bd: Minor refactoring.

* commit '32ef88bdd04a7ec83394905746e47c77fba2627b':
Minor refactoring.
6fb34857c6f013e3b9872412305c76d6edba55cd 05-Feb-2012 Zonr Chang <zonr.net@gmail.com> am 743dd714: Refactoring into Script::internalLoadCache()

* commit '743dd7144d2f9f60cc9000cdb1cab490846136a7':
Refactoring into Script::internalLoadCache()
a471ebb05c3c6f31102cd512d2b73ed9d74ac2d7 05-Feb-2012 Shih-wei Liao <sliao@google.com> Refactoring interface.

Change-Id: I7afcd83408d381dcf4d053ffe66150f567e02545
nclude/bcc/bcc.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/bcc.cpp
32ef88bdd04a7ec83394905746e47c77fba2627b 05-Feb-2012 Shih-wei Liao <sliao@google.com> Minor refactoring.

Change-Id: I70123dd22672dacd30d7f7624af8d82d8a0e8525
ib/ExecutionEngine/Script.cpp
743dd7144d2f9f60cc9000cdb1cab490846136a7 19-Jan-2012 Zonr Chang <zonr.net@gmail.com> Refactoring into Script::internalLoadCache()

Move some duplicate code from prepareRelocatable() and prepareExecutable()
into internalLoadCache().

Change-Id: I32b321ef789217f40f47c0a3783e4b232fdd16ee
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
b260d408c57a28eb8873c79cccec47880cc66e7c 01-Feb-2012 The Android Open Source Project <initial-contribution@android.com> am 90fe84bb: am 3f140994: am 2e1c9443: Reconcile with ics-mr1-release

* commit '90fe84bbc286aca1d82532916fa07baa894ffb85':
90fe84bbc286aca1d82532916fa07baa894ffb85 01-Feb-2012 The Android Open Source Project <initial-contribution@android.com> am 3f140994: am 2e1c9443: Reconcile with ics-mr1-release

* commit '3f140994a82bb604eaf5c80d6252b55f394054ef':
3f140994a82bb604eaf5c80d6252b55f394054ef 01-Feb-2012 The Android Open Source Project <initial-contribution@android.com> am 2e1c9443: Reconcile with ics-mr1-release

* commit '2e1c94436c634c1b4a7ab6a75a98a14f8ddc1077':
2e1c94436c634c1b4a7ab6a75a98a14f8ddc1077 01-Feb-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with ics-mr1-release

Change-Id: Ice68ea83118251595574a0910b1a1341da0cff87
ce5aac37a50bbc1556dfeca8b46101806fd86391 23-Jan-2012 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
20ecdfeb5a572563ae65b434025faaa3253c7efb 22-Jan-2012 Stephen Hines <srhines@google.com> am 04261e0b: Update bcinfo to do automatic translation.

* commit '04261e0bf97b15033efd697bd0e4cfbae7107f4b':
Update bcinfo to do automatic translation.
04261e0bf97b15033efd697bd0e4cfbae7107f4b 22-Jan-2012 Stephen Hines <srhines@google.com> Update bcinfo to do automatic translation.

Change-Id: Iab7ffc91a218f9842630456fd74ac4d756dbffd5
cinfo/tools/main.cpp
8be9082d8127cc8ece4722bd7d35c6e4fbcebfb5 19-Jan-2012 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
606311b56bb050144390bf895e6874f6fc9d3852 18-Jan-2012 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
6f9ae04a17342ed038b689edee7159366e77b8ee 18-Jan-2012 Shih-wei Liao <sliao@google.com> am abc7f516: Don\'t have the string “debug.bcc.nocache” scattered in Script.cpp.

* commit 'abc7f516da4c3a7236beb9b7ecc26e59b8a82a8a':
Don't have the string “debug.bcc.nocache” scattered in Script.cpp.
abc7f516da4c3a7236beb9b7ecc26e59b8a82a8a 18-Jan-2012 Shih-wei Liao <sliao@google.com> Don't have the string “debug.bcc.nocache” scattered in Script.cpp.

bccPrepareSharedObject() will also use isCacheable() function to set up the
cache.

Change-Id: I3d6a09348398beb0987bd747ad5ed13b6fb1ddb0
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
99f7955cec88c4086b969388f9fc3a684ffe3a45 18-Jan-2012 Shih-wei Liao <sliao@google.com> am 4bcfaa8d: Fix the build.

* commit '4bcfaa8d0911379848f6139c4324a8038fae2d13':
Fix the build.
4bcfaa8d0911379848f6139c4324a8038fae2d13 18-Jan-2012 Shih-wei Liao <sliao@google.com> Fix the build.

Change-Id: I9e8b91abe99fa3a320042cfed8be7c9ac2ad29cc
ib/ExecutionEngine/CompilerOption.h
e7f12cd5cb49f48b4d6ba33256e6b22e2cbd4dd3 18-Jan-2012 Shih-wei Liao <sliao@google.com> am 16e84cff: Minor clean up.

* commit '16e84cff3e53be8bd95b82a397b144d6a5266761':
Minor clean up.
16e84cff3e53be8bd95b82a397b144d6a5266761 18-Jan-2012 Shih-wei Liao <sliao@google.com> Minor clean up.

Change-Id: I763e4068fc8801a88468a4c4535133fafb74f95d
ib/ExecutionEngine/CompilerOption.h
cefe1ed3dcf064fe7785428193056ae235f66335 18-Jan-2012 Shih-wei Liao <sliao@google.com> am d88c0d14: Check the ability to link library during setup.

* commit 'd88c0d144d452f194a26d5bc971b241476dc23f4':
Check the ability to link library during setup.
d88c0d144d452f194a26d5bc971b241476dc23f4 18-Jan-2012 Shih-wei Liao <sliao@google.com> Check the ability to link library during setup.

Checking at the right place fixes the missing functions when we were
trying to link the function later on.

Change-Id: I4ebae8a3cb6d31988510d09552215f4ff0ab0078
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Script.cpp
71c297c985a74d712503d87875c7051aaf103ef3 18-Jan-2012 Shih-wei Liao <sliao@google.com> am 2b7db0e9: Typo and clean up.

* commit '2b7db0e9b5a924b261d6e7940ae33a3490ca2a68':
Typo and clean up.
2b7db0e9b5a924b261d6e7940ae33a3490ca2a68 18-Jan-2012 Shih-wei Liao <sliao@google.com> Typo and clean up.

Change-Id: I1b9dceb935c93f0fcf8256f01c09948a460ceaf9
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/Script.h
c9fa5ce7a6352d1d008080ed28a4f1fa313c89cc 18-Jan-2012 Shih-wei Liao <sliao@google.com> am 9e81e37a: Add "const". And clean up.

* commit '9e81e37a0400874aa3a327123c0e4d6e8bfc5290':
Add "const". And clean up.
9e81e37a0400874aa3a327123c0e4d6e8bfc5290 18-Jan-2012 Shih-wei Liao <sliao@google.com> Add "const". And clean up.

Change-Id: I70e6994a0cd1d897e6981d5642108fee1324708f
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
f8e8922b90370e05e4665c316218e69ae7e81ec9 18-Jan-2012 Shih-wei Liao <sliao@google.com> am 4deffde5: Add Compiler::ArchType. And fix the CodeModel and NoFramePointerElim.

* commit '4deffde52a049eb1b5f2e5504653e5b810c554bf':
Add Compiler::ArchType. And fix the CodeModel and NoFramePointerElim.
4deffde52a049eb1b5f2e5504653e5b810c554bf 17-Jan-2012 Shih-wei Liao <sliao@google.com> Add Compiler::ArchType. And fix the CodeModel and NoFramePointerElim.

Details: Add static member Compiler::ArchType and determine its value during the
Compiler::GlobalInitialization() according to the given triple.

Determine values of the option NoFramePointerElim and CodeModel in
CompilerOption.

Change-Id: I4432ee0c81d379a61df9355bc8079f2093936563
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
be97a4b234812a308c83bca33e1685af554f2822 17-Jan-2012 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
5f49648fc06f264dc11b152cb5af143231f55a11 17-Jan-2012 Shih-wei Liao <sliao@google.com> am 89e8490c: Using \%zu for size_t.

* commit '89e8490c80505468f2b816ca9d12fefa53f05959':
Using \%zu for size_t.
9d277c7d0360251afff70ad209a2c7ddf868e9f3 17-Jan-2012 Shih-wei Liao <sliao@google.com> am 6a60f4ee: Follow the ELF spec. Use the terms relocatable.

* commit '6a60f4ee19940a3e4a8ac0b3719493736d54caaf':
Follow the ELF spec. Use the terms relocatable.
89e8490c80505468f2b816ca9d12fefa53f05959 17-Jan-2012 Shih-wei Liao <sliao@google.com> Using \%zu for size_t.

Change-Id: Ia962bfc2d1fb7cfb669642848f78fb46bc0098f2
ib/Transforms/ForEachExpand.cpp
6a60f4ee19940a3e4a8ac0b3719493736d54caaf 17-Jan-2012 Shih-wei Liao <sliao@google.com> Follow the ELF spec. Use the terms relocatable.

Also, clean up the code.

Change-Id: I135050b1c3072ebb33ea0b48f9e2902c9eccd587
nclude/bcc/bcc.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/bcc.cpp
cb6c3b945bd109d06c3e8f4b685ad426d751a5e2 17-Jan-2012 Zonr Chang <zonr.net@gmail.com> am 6692ab57: Use object filename (cacheName + extension) + ".info".

* commit '6692ab57b5b8dc40f6406751a5597016eb764507':
Use object filename (cacheName + extension) + ".info".
e3f23ac5490ee1cd7afd721c3958b5679d049b16 17-Jan-2012 Zonr Chang <zonr.net@gmail.com> am 4ea08862: Refactoring.

* commit '4ea08862f6b84e4855e14a3569f12de7d2a8a695':
Refactoring.
6692ab57b5b8dc40f6406751a5597016eb764507 17-Jan-2012 Zonr Chang <zonr.net@gmail.com> Use object filename (cacheName + extension) + ".info".

Note that object filename .info is filename for storing the cache info.

Change-Id: Ifba81465f2153973b7079683b292327710672273
ib/ExecutionEngine/Script.h
4ea08862f6b84e4855e14a3569f12de7d2a8a695 17-Jan-2012 Zonr Chang <zonr.net@gmail.com> Refactoring.

Change-Id: I283837f0adc00ba328e981f419483a0defb22f65
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
852b841df0eb3746855e07d152019625ebc346f4 17-Jan-2012 Zonr Chang <zonr.net@gmail.com> am df3fee4c: Let SourceInfo take charage of and LLVM module.

* commit 'df3fee4cc5190480970200f0162b00b841f22011':
Let SourceInfo take charage of and LLVM module.
df3fee4cc5190480970200f0162b00b841f22011 10-Jan-2012 Zonr Chang <zonr.net@gmail.com> Let SourceInfo take charage of and LLVM module.

I.e., a module never escapes from its associated SourceInfo object.

Change-Id: Ib7fe914052e8b1b06b879737f57828739d54e0f0
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
9c35df86774b7015757ad9e861cd8c5be9103bba 17-Jan-2012 Shih-wei Liao <sliao@google.com> am 8afed380: Have separate prepareSharedObject and prepareObject.

* commit '8afed380cda0bc4b3d325064fc44b181312651ad':
Have separate prepareSharedObject and prepareObject.
8afed380cda0bc4b3d325064fc44b181312651ad 10-Jan-2012 Shih-wei Liao <sliao@google.com> Have separate prepareSharedObject and prepareObject.

Also, provide option for prepareObject to specify relocation model.

Change-Id: Ia9f51f1a463165d069dc918654e0f55189e7a274
nclude/bcc/bcc.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/bcc.cpp
68a710ee3a3fdfe5b8b05dde122d982a90d04040 17-Jan-2012 Zonr Chang <zonr.net@gmail.com> am 2fcbd020: Introduce CompilerOption for compile() interface.

* commit '2fcbd02086984b45301d69104808e89772c8de90':
Introduce CompilerOption for compile() interface.
2fcbd02086984b45301d69104808e89772c8de90 06-Jan-2012 Zonr Chang <zonr.net@gmail.com> Introduce CompilerOption for compile() interface.

This provides flexibility. We can now setup different configuration
from the outside of compile() easily.

Change-Id: Ic4e593dd3c9f41de2fdfa492fecabd9f0e231463
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/CompilerOption.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
990077b10f6944174d7d05fa639e4b8f04a0a70d 16-Jan-2012 Shih-wei Liao <sliao@google.com> am 92686fed: Add dependency for LLVM_LD.

* commit '92686fed0265dcb48c6e857830879b36be892416':
Add dependency for LLVM_LD.
92686fed0265dcb48c6e857830879b36be892416 16-Jan-2012 Shih-wei Liao <sliao@google.com> Add dependency for LLVM_LD.

Change-Id: Ifb6ceba885bf72ac62264e11688c84c3e46adba6
ib/ScriptCRT/Android.mk
4281423d292818e2df91f816fa5b4ffb31bb2156 15-Jan-2012 Andrew Hsieh <andrewhsieh@google.com> am e7371e11: Add llvm::Triple::thumb to __HOST__ cross-compiler discovery list

* commit 'e7371e1197b73e57c218fbd933b0287fef02ae89':
Add llvm::Triple::thumb to __HOST__ cross-compiler discovery list
e7371e1197b73e57c218fbd933b0287fef02ae89 15-Jan-2012 Andrew Hsieh <andrewhsieh@google.com> Add llvm::Triple::thumb to __HOST__ cross-compiler discovery list

Change-Id: I4ad680e9f8e33df633a8f1091a1f6fae72826da0
ib/ExecutionEngine/Compiler.cpp
11bca83d668e0a1cbb8f8f05582fcdddd6798816 14-Jan-2012 Shih-wei Liao <sliao@google.com> am fbeb9b6e: Improve readability. Fix format.

* commit 'fbeb9b6eba4efdc36b7c58fb4829756fe92c13d5':
Improve readability. Fix format.
fbeb9b6eba4efdc36b7c58fb4829756fe92c13d5 14-Jan-2012 Shih-wei Liao <sliao@google.com> Improve readability. Fix format.

Change-Id: I46a4b52ff292c2ee52cc7b49a43893b3f4b1edc8
ib/ExecutionEngine/Compiler.cpp
92fca5655a8ddb416c0bb8d5c6de6936c057da7d 14-Jan-2012 Andrew Hsieh <andrewhsieh@google.com> am c0554e25: Determine Features based on Triple; Fix for Intel

* commit 'c0554e25638bec2462daf1a66ed0270a60aec8ea':
Determine Features based on Triple; Fix for Intel
c0554e25638bec2462daf1a66ed0270a60aec8ea 14-Jan-2012 Andrew Hsieh <andrewhsieh@google.com> Determine Features based on Triple; Fix for Intel

1) In __HOST__, determine Features and code_model based on Triple rather than hard-wired define
2) Disable frame-pointer-emlimination for x86/x86_64

Change-Id: I956e93b74b834b250f2969a055645254260aeb05
ib/ExecutionEngine/Compiler.cpp
08879f61e5d9a395689fe01f3a4d6dfc71ea90e0 13-Jan-2012 Stephen Hines <srhines@google.com> am 9ab98992: Fix mac warning about size_t and %d.

* commit '9ab98992649585542616d6b5adb34eda89c448c0':
Fix mac warning about size_t and %d.
9ab98992649585542616d6b5adb34eda89c448c0 13-Jan-2012 Stephen Hines <srhines@google.com> Fix mac warning about size_t and %d.

Change-Id: Iea1e8d110f25eef8f3d6ff002186fb9a4ab336fa
ib/Transforms/ForEachExpand.cpp
db1e436f810b3179890cd72fba70d7c6430a2dbe 13-Jan-2012 Stephen Hines <srhines@google.com> am db169187: Add ForEach expansion optimization to libbcc.

* commit 'db169187dea4602e4ad32058762d23d474753fd0':
Add ForEach expansion optimization to libbcc.
0de77ff64feaeac884f91b233652b2bd11a992ed 13-Jan-2012 Jason Sams <jsams@google.com> Merge "Add surface texture." into graphics-dev
db169187dea4602e4ad32058762d23d474753fd0 06-Jan-2012 Stephen Hines <srhines@google.com> Add ForEach expansion optimization to libbcc.

BUG=5444144

Change-Id: I31045a8de43c20d11898a943db294e8594047973
ndroid.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/Transforms/Android.mk
ib/Transforms/BCCTransforms.h
ib/Transforms/ForEachExpand.cpp
7acc49dd7364b323b46be62c93dc05a64f993631 10-Jan-2012 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
9f6a83820daf1c6736afddb5e2bc6ffdaf311fb6 10-Jan-2012 Bhanu Chetlapalli <bhanu@mips.com> am 12c849b7: am eb4509bf: [MIPS] Include header file unistd.h

* commit '12c849b7768b71f65cdf77df6081f484d4a2df78':
[MIPS] Include header file unistd.h
12c849b7768b71f65cdf77df6081f484d4a2df78 09-Jan-2012 Bhanu Chetlapalli <bhanu@mips.com> am eb4509bf: [MIPS] Include header file unistd.h

* commit 'eb4509bf00a5d3be4caaa8f1b6a062a2d0311e9a':
[MIPS] Include header file unistd.h
cabd18741d31f2ffe13709f497850967460e779d 09-Jan-2012 Steve Block <steveblock@google.com> am 10c1412e: Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

* commit '10c1412e6cb35cfc90abb5e36ba1340a8c55f44e':
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
b86af18183c4978bbf010dab53c5fd3bd4fde06a 09-Jan-2012 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
eb4509bf00a5d3be4caaa8f1b6a062a2d0311e9a 09-Jan-2012 Bhanu Chetlapalli <bhanu@mips.com> [MIPS] Include header file unistd.h

required by unlink()

Change-Id: I4893cd5b341fc7965f5a1f68e55ffcbd037762b9
Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
ib/ExecutionEngine/Script.cpp
10c1412e6cb35cfc90abb5e36ba1340a8c55f44e 08-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic34de235eb1cd094af555d7299da643a626ca092
cinfo/BitcodeTranslator.cpp
cinfo/BitcodeWrapper.cpp
cinfo/MetadataExtractor.cpp
elper/DebugHelper.h
ib/CodeGen/CodeMemoryManager.cpp
ib/Disassembler/Disassembler.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/FileHandle.cpp
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/OldJIT/CacheReader.cpp
ib/ExecutionEngine/OldJIT/CacheWriter.cpp
ib/ExecutionEngine/OldJIT/ContextManager.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/SourceInfo.cpp
ccd5277240b34789cf4fa63f7fcf5890a3d0b0b4 05-Jan-2012 Jason Sams <jsams@google.com> Add surface texture.

Change-Id: Iec42b3638079c4c0f4ab1744d4591a8ba46a8226
ib/ScriptCRT/rs_core.c
c91c6bd33e92fb4ecd628b933f5e8fd72a7f78a3 06-Jan-2012 Steve Block <steveblock@google.com> am 10c51459: Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

* commit '10c51459fd4e6262e2284ffad49a1e581659771e':
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
10c51459fd4e6262e2284ffad49a1e581659771e 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I93980a1ca8073dc080e017c9965d43ec7d5c4337
elper/DebugHelper.h
ib/ExecutionEngine/FileHandle.cpp
ib/ExecutionEngine/OldJIT/ContextManager.cpp
ib/ExecutionEngine/SourceInfo.cpp
5ca1725106039be55db71c46d95572187df80acf 05-Jan-2012 Steve Block <steveblock@google.com> am 440e031e: Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

* commit '440e031e407dc3db983784cf0b23322a33ebfdca':
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
6a4fe8b21796e800b51ca0453023d0a1d9d5d087 05-Jan-2012 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
cba23a31910cea9dd406033946690b983b4b3df1 05-Jan-2012 Alex Sakhartchouk <alexst@google.com> Merge "Better error handling." into graphics-dev
440e031e407dc3db983784cf0b23322a33ebfdca 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I53a03ecbc37acbc7f175faef64f74423f491827a
elper/DebugHelper.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/OldJIT/CacheReader.cpp
ib/ExecutionEngine/OldJIT/ContextManager.cpp
ib/ExecutionEngine/bcc.cpp
ec68e99914a64296726cc3ed686c7da9e1ba95ed 04-Jan-2012 Steve Block <steveblock@google.com> am b20498ea: Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

* commit 'b20498ea84029ae2d793bd2ca488883a804b061b':
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
b20498ea84029ae2d793bd2ca488883a804b061b 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: Icceeacebb848533d7e9200e1c643b096d75b6e4a
elper/DebugHelper.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/bcc.cpp
d536473d8eabe900518d1d8eafc57721b2d6875d 29-Dec-2011 Alex Sakhartchouk <alexst@google.com> Better error handling.

Change-Id: I5d249c02a8669e6e5bdd69b46a934b47015fc535
ib/ScriptCRT/rs_core.c
a6f221e1555b2924840a39cfa0b607c03830f009 22-Dec-2011 Alex Sakhartchouk <alexst@google.com> Missing getter implementation.

Change-Id: I729ce2fa76481a93bc9cdf3504a538f8c6cca71c
ib/ScriptCRT/rs_core.c
26301b47f0ef1b8d7c7b282d9a38fc9220f7156b 20-Dec-2011 Alex Sakhartchouk <alexst@google.com> Implementation to various getter types.

Change-Id: I0b36de41d12a4d36cc878685f5a50adabaf4ab7d
ib/ScriptCRT/rs_core.c
f4bb1c4e06f60263ca06f8b2252fd74fa7b2b265 19-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
9d723e5240b4575b6af056cf71fbfd3f3cf39b5c 17-Dec-2011 Logan Chien <loganchien@google.com> am c7d67a70: Translate API 14 and 15 with BitReader 3.0

* commit 'c7d67a701663191bcdab2416c11b69fae16d49fb':
Translate API 14 and 15 with BitReader 3.0
ff518a3d8ca63e96641a8a89e0c45ac1e6529716 17-Dec-2011 Logan Chien <loganchien@google.com> am 3bdc2a8f: Add bitcode reader 3.0 to libbcinfo.

* commit '3bdc2a8fde18e9e82a1e6ccef1c7379ef57bca35':
Add bitcode reader 3.0 to libbcinfo.
272497240b92dfb2c5bb6abb87e1b65c688655d5 17-Dec-2011 Logan Chien <loganchien@google.com> am be81e107: Apply changes to migrate to upstream (Dec 16th 2011)

* commit 'be81e1078cd32c1c4a2b8f60e16e2c7760c2a353':
Apply changes to migrate to upstream (Dec 16th 2011)
c7d67a701663191bcdab2416c11b69fae16d49fb 16-Dec-2011 Logan Chien <loganchien@google.com> Translate API 14 and 15 with BitReader 3.0

Change-Id: I9390b1d6df3db8cf65e0165d5270c38879980a03
cinfo/Android.mk
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_3_0/Android.mk
cinfo/BitReader_3_0/BitReader_3_0.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
cinfo/BitcodeTranslator.cpp
3bdc2a8fde18e9e82a1e6ccef1c7379ef57bca35 16-Dec-2011 Logan Chien <loganchien@google.com> Add bitcode reader 3.0 to libbcinfo.

Since LLVM 3.1 remove some auto upgrade code, the old bitcode
will become bitcode incompatible. So we have to add the
bitcode reader 3.0 to libbcinfo.

Change-Id: I3ac1a1132c361cb9251c0a4ac9782c8cc62df7ea
cinfo/BitReader_3_0/BitReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
cinfo/BitReader_3_0/CMakeLists.txt
cinfo/BitReader_3_0/LLVMBuild.txt
cinfo/BitReader_3_0/Makefile
be81e1078cd32c1c4a2b8f60e16e2c7760c2a353 16-Dec-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to upstream (Dec 16th 2011)

- Following constants has been removed from llvm::bitc by the
upstream, so we have to define our version.

- TYPE_BLOCK_ID_OLD 10
- TYPE_SYMTAB_BLOCK_ID_OLD 13
- TYPE_CODE_STRUCT_OLD 10

- CheckDebugInfoIntrinsics has been removed by the upstream,
so we have to copy it from lib/VMCore/AutoUpgrade.cpp

- llvm::TargetMachine::createTargetMachine now takes a new
parameter for options, such as float ABI, soft float, and
no frame elimination, and etc.

Change-Id: Ied522748bf92956d23f41a6195916eda1c19c589
cinfo/BitReader_2_7/BitcodeReader.cpp
ib/ExecutionEngine/Compiler.cpp
46be5b938505909325fbb8560b5ac7ce735c4aab 10-Dec-2011 Jason Sams <jsams@google.com> Merge "Fix bug with inline allocation offsets." into graphics-dev
dcf7fecfc9799f9de7d9718677e0a0229ebc2d3b 10-Dec-2011 Jason Sams <jsams@google.com> Fix bug with inline allocation offsets.

Change-Id: I5d37eca8b9242b1fbe8431192d3b3930dc320f09
ib/ScriptCRT/rs_core.c
3bf4495a50c32c7ce7ab741c06619ba0b0e2715b 10-Dec-2011 The Android Open Source Project <initial-contribution@android.com> am 5749a60d: am 63acc68f: Reconcile with ics-mr1-release

* commit '5749a60d136d73af9d5a000e6bcbb7f45d7cf491':
5749a60d136d73af9d5a000e6bcbb7f45d7cf491 09-Dec-2011 The Android Open Source Project <initial-contribution@android.com> am 63acc68f: Reconcile with ics-mr1-release

* commit '63acc68fdda04376dbba33b875be49ba0897d1cd':
63acc68fdda04376dbba33b875be49ba0897d1cd 08-Dec-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with ics-mr1-release

Change-Id: I12f17a9da66ac9094aa6f09a83921dd91367cc35
c5c82333fed529efca0f10d12ad2f904c8dacf8a 07-Dec-2011 Alex Sakhartchouk <alexst@google.com> Merge "Revert "Removing changes not meant for MR1"" into graphics-dev
df67be6d770ba011cad40bf382f5163025cd0083 05-Dec-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with ics-mr1-release

Change-Id: I6eeb5c1cf2fe13716b3e56b87dc5dc1748b50574
8053c24995e4f90bdf83f86fbb1ad361d957effe 05-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
31e50d678d2a8aa28c6f38cccebfa3da2f78df4a 02-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-mr1-release history after reset to ics-mr1
01fc553a3fdf8ab39ff9cf2b128a174d8534a7d4 02-Dec-2011 Logan Chien <loganchien@google.com> Code cleanup.

Change-Id: I604fa83bb12081ffddb677d05f22b6a8e20db23a
ib/ExecutionEngine/Runtime.def
7c0c78eca053b82d7b14408315789309f5966437 02-Dec-2011 Logan Chien <loganchien@google.com> Fix MIPS compiler utils runtime table.

Change-Id: I97add4fb97ec4a42a0222cbe6740910834a316b2
ib/ExecutionEngine/Runtime.c
ib/ExecutionEngine/Runtime.def
7fd46c9a0b409ffed209da32736f857190972df7 02-Dec-2011 Stephen Hines <srhines@google.com> am 0164f464: Add support for handling a bitcode wrapper to bcinfo.

* commit '0164f4647511a71f5b495a3bef156e3ac4e6c6b3':
Add support for handling a bitcode wrapper to bcinfo.
b0e22905df056fd53f8a87b628459e3afecac403 02-Dec-2011 Stephen Hines <srhines@google.com> am 0164f464: Add support for handling a bitcode wrapper to bcinfo.

* commit '0164f4647511a71f5b495a3bef156e3ac4e6c6b3':
Add support for handling a bitcode wrapper to bcinfo.
0164f4647511a71f5b495a3bef156e3ac4e6c6b3 23-Nov-2011 Stephen Hines <srhines@google.com> Add support for handling a bitcode wrapper to bcinfo.

BUG=5425905

Change-Id: I9902bc89bef221e86dfc904d6935ef2c2091de33
cinfo/Android.mk
cinfo/BitcodeWrapper.cpp
nclude/bcinfo/BitcodeWrapper.h
8ff15ca12e41096f6d14af052ee722530929e51b 28-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
21392f0642029bb5c41e3255ae7a302a337ecd6b 26-Nov-2011 Logan Chien <loganchien@google.com> Add MIPS as build target.

Change-Id: Ib783443b3bed198b21638316178669331b012141
ndroid.mk
onfig.h
ib/ExecutionEngine/Compiler.cpp
ibbcc-build-rules.mk
untime/Android.mk
5bee8efcf124a8a3a62fa4d65d837965494da467 26-Nov-2011 Logan Chien <loganchien@google.com> Add newline character to the end of LOG print.

Change-Id: I7dbf6ab1da252f02256681a8089b5de0556c11a7
elper/DebugHelper.c
4e4485d889c6ea76ba89834a6729b5f8136b6e46 25-Nov-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to upstream. (Nov 25th 2011)

Change-Id: I3fd430640732fce5366e789bacd96628bc525616
ib/ExecutionEngine/Compiler.cpp
825b9aed7c01b050b2ee474327458b8958a28f39 23-Nov-2011 Stephen Hines <srhines@google.com> Add support for handling a bitcode wrapper to bcinfo.

BUG=5425905

Change-Id: I9902bc89bef221e86dfc904d6935ef2c2091de33
cinfo/Android.mk
cinfo/BitcodeWrapper.cpp
nclude/bcinfo/BitcodeWrapper.h
3e88bf7dfe2af63827099a7d5be0173cf4c74f4d 23-Nov-2011 Stephen Hines <srhines@google.com> Forgot to update the HC->ICS translator too.

BUG=5650262

Change-Id: Ie62a685684cd5ae32004598f92933541d8ecd268
cinfo/BitReader_2_7/BitcodeReader.cpp
998ec839672c0cf56945c860a7cf9e29864599af 21-Nov-2011 Andrew Hsieh <andrewhsieh@google.com> Enhance host bcc to allow cross-compilation (eg. debug arm codegen on host):
eg. bcc -C armv7-none-linux-gnueabi # generate ARMv7
bcc -C i686-unknown-linux # generate x86 (default on Goobuntu)
Other targets are not supported at this moment.

Change-Id: If2f1199656664327cf35cf6a3670136f48c42cad
onfig.h
cinfo/BitReader_2_7/Android.mk
cinfo/tools/Android.mk
elper/Android.mk
ib/CodeGen/Android.mk
ib/Disassembler/Android.mk
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ests/Android.mk
ests/main.cpp
7c8c59edb2d948557447e3ee76b1e71f5a14ad46 21-Nov-2011 Andrew Hsieh <andrewhsieh@google.com> Fix Disassmebler compilation for LLVM3.0
- Change Target/TargetRegistry.h to Support/TargetRegistry.h
- Change Target/TargetSelect.h to Support/TargetSelect.h
- Target->createMCSubtargetInfo() now take MCSubtargetInfo
- MCDisassembler::getInstruction take additional raw_ostream
- MCInstPrinter::printInst takes additional StringRef

Change-Id: Ic5cf732cd025d2026ad564eefcae90e462748d22
ib/CodeGen/CodeEmitter.cpp
ib/Disassembler/Disassembler.cpp
1704c7400346f4e2405d8703fc866f73f243a104 21-Nov-2011 Andrew Hsieh <andrewhsieh@google.com> Add __HOST__ for host bcc. Currently it's used to set disassembled file to /tmp instead of non-exisitence of dir /data/local/tmp on host.

Change-Id: I38da7aa6c43cb934e03eb99d67d8a035437d85aa
ndroid.mk
onfig.h
aa08fd6bdfa860dc874932b46a8aad0904214a9a 18-Nov-2011 Alex Sakhartchouk <alexst@google.com> Revert "Removing changes not meant for MR1"

This reverts commit 722846aaef22f1acb44c1a83c5d0b6bd0e3534c0.
ib/ScriptCRT/rs_core.c
95cee66c4d6069d5c561717cd1c9eff13eea2d97 17-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
e1bff14dce0fbf231323c0849f3f03da7ba0ee2d 15-Nov-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to llvm upstream r144606.

- Change linear scan register allocator to greedy register allocator
since llvm upstream is using greedy register allocator instead.

Change-Id: I66dab482d587e9c86823f8fd6e428d4868d1900c
ib/ExecutionEngine/Compiler.cpp
8534a6b4fdffe6de52c67c9e3c109b2462d563c5 10-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
7f079ebdf578d3662f300b5cd1b8287412e930e8 10-Nov-2011 Stephen Hines <srhines@google.com> Make sure NEON is off for Xoom when ARCH_ARM_HAVE_NEON isn't set.

Without defining -neon and -neonfp, the ARM backend will potentially generate
NEON opcodes. It is not sufficient to just have the +neon/+neonfp go unused.

Change-Id: I6e935902918e0375886e6e16ad68376413fc671d
ib/ExecutionEngine/Compiler.cpp
fe48ebc684b4bd7ecc5aede7d9191cd314ba7daf 09-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
58fa9d851c1c66817f52710392a09c72f666001d 09-Nov-2011 Shih-wei Liao <sliao@google.com> Merge "Change USE_ARM_NEON to !DISABLE_ARCH_ARM_HAVE_NEON."
8612f1bd03e6c42c7c85a20584939af0cc679819 31-Oct-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with ics-mr1-release

Change-Id: I74cf6086a2a5cfb1240ee8c68e4af1940b32744e
044edf60bfec97133c9d240110619771e196beb3 31-Oct-2011 Ed Heyl <ed@google.com> Merge remote branch 'goog/ics-mr1' into ics-aah
257a1d02034e4fb74cf7e4dd99b673f2b4e0baf0 30-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
9b8900c847507c129f32375769ddef98717eefca 30-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-mr1-release history after reset to ics-mr1
f1dcbbd6c475954ed434ea1d76c9fc7aa9c5c7c7 28-Oct-2011 Ed Heyl <ed@google.com> keep previous history after reset to mr1 plus aah changes (ics-aah-wip)
9bdede116341a564ca28bb0000fa3044dd78e141 27-Oct-2011 Alex Sakhartchouk <alexst@google.com> am 722846aa: Removing changes not meant for MR1

* commit '722846aaef22f1acb44c1a83c5d0b6bd0e3534c0':
Removing changes not meant for MR1
722846aaef22f1acb44c1a83c5d0b6bd0e3534c0 27-Oct-2011 Alex Sakhartchouk <alexst@google.com> Removing changes not meant for MR1

Change-Id: I553ab453ed1e22dd2c144c8e4965804c4f191f62
ib/ScriptCRT/rs_core.c
840c0ac3a014fc8601824bba793fa5949b381a7a 26-Oct-2011 Ed Heyl <ed@google.com> undo reset to ics-mr1 until we have a better method
7ae30192e02e9764d2c90c56eb1395507c015c8c 26-Oct-2011 Ed Heyl <ed@google.com> reset to ics-mr1, but keep history
8bb81bc7d595074b67b0679307320fc0834e3075 26-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
8fe4727341d19799124a65b640ceba779be2e1ac 26-Oct-2011 Steve Block <steveblock@google.com> am 7ef2cf48: (-s ours) Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

* commit '7ef2cf486432afdf6e59a49a716be64bcfde803c':
Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
7ef2cf486432afdf6e59a49a716be64bcfde803c 20-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I6a220f3126c2f6d0f3a749939fae4a67f8dbb1c6
elper/DebugHelper.h
ib/ExecutionEngine/FileHandle.cpp
48ec3facd473a6b7be0a5b29d15c59835bd3762f 23-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
40bcd66ab9dc4811f2015543f5c918cbfa7ad8c2 23-Oct-2011 Shih-wei Liao <sliao@google.com> Change USE_ARM_NEON to !DISABLE_ARCH_ARM_HAVE_NEON.

Change-Id: I4edb0583ab3efbbb350427b01ce85c05d1e1a226
ib/ExecutionEngine/Compiler.cpp
d78601fe29ab97ff3cc54af389ece6db12097fbf 22-Oct-2011 Logan Chien <loganchien@google.com> am bc9eb8fa: Apply changes to migrate to LLVM upstream Oct 20th 2011.

* commit 'bc9eb8fa13ee44d7bb46285e4c30da1236aefddf':
Apply changes to migrate to LLVM upstream Oct 20th 2011.
bc9eb8fa13ee44d7bb46285e4c30da1236aefddf 21-Oct-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to LLVM upstream Oct 20th 2011.

- StructType::isAnonymous is renamed to isLiteral.

- StructType::createNamed is renamed to create.

- ConstantExpr::getGetElementPtr and
ConstantExpr::getInboundsGetElementPtr is adopting llvm::ArrayRef.

- TargetRegistry and TargetSelect is moved from Target to Support.

- LLVMInitialize<TARGET>MCInfo, LLVMInitialize<TARGET>MCCodeGenInfo, and
LLVMInitialize<TARGET>MCSubtargetInfo has been unified by
LLVMInitialize<TARGET>TargetMC.

- llvm::setCodeModel is no longer available. Now we should pass the code
model to createTargetMachine.

- llvm::Linker::LinkerModules come with one addtional parameter (3rd),
which indicate that rather the source module should be destroyed or
not. Passing llvm::Linker::DestroySource should result in same
semantics as the old code.

Change-Id: I863f804893e528c9e6c7bf73737c17176277b18b
cinfo/BitReader_2_7/BitcodeReader.cpp
ib/ExecutionEngine/Compiler.cpp
6580e09f0a4fb78ad68b5b8d0f9387d07d2a2d4d 19-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
0c8b44f75aa3f979679d6d7bfa00634377061686 19-Oct-2011 Shih-wei Liao <sliao@google.com> am 9d9d6bd0: Cherry-pick the useful part of Icf882af (Android.mk) and address earlier comments.

* commit '9d9d6bd0938d15646b32d55320b89d9bcb834898':
Cherry-pick the useful part of Icf882af (Android.mk) and address earlier comments.
9d9d6bd0938d15646b32d55320b89d9bcb834898 19-Oct-2011 Shih-wei Liao <sliao@google.com> Cherry-pick the useful part of Icf882af (Android.mk) and address earlier comments.

Change-Id: Iae992b05c714ec332b3931d46ad7a6ab246aee92
ndroid.mk
ests/Android.mk
9fcef08f6bee7ff30aacdcb6304a21d1bfb0eccd 19-Oct-2011 Logan Chien <loganchien@google.com> am 3bb77072: Enhance target architecture selection rules.

* commit '3bb77072f4dd09c26d7397f92b7eb8b5d0f79de7':
Enhance target architecture selection rules.
3bb77072f4dd09c26d7397f92b7eb8b5d0f79de7 17-Sep-2011 Logan Chien <loganchien@google.com> Enhance target architecture selection rules.

Change-Id: I595f8b6d9acd36bffc0017f06a959e709b9707d5
onfig.h
elper/Android.mk
ib/CodeGen/Android.mk
ib/Disassembler/Android.mk
ib/Disassembler/Disassembler.cpp
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/Compiler.cpp
ibbcc-build-rules.mk
ibbcc-config.mk
untime/Android.mk
2594411fd05bd67e0a81cbc2e64aae19a7d1b7e0 18-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
587dcfdfc3a946b39b78489d5fb2be9a0e165417 18-Oct-2011 Stephen Hines <srhines@google.com> am 41c91538: Remove unnecessary ARM-check for StopWatch.

* commit '41c9153873875b9b34722fd5bd1788d39fbe1cad':
Remove unnecessary ARM-check for StopWatch.
41c9153873875b9b34722fd5bd1788d39fbe1cad 18-Oct-2011 Stephen Hines <srhines@google.com> Remove unnecessary ARM-check for StopWatch.

Change-Id: I73fb2e0595cd7f14adb8d41ebf6b22b9143b7563
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/bcc.cpp
41d2b64e27d3caf00f7c60914c869f096969f911 17-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
284dfdbe59202206196577ef980cad5a2cf76ce1 16-Oct-2011 Alex Sakhartchouk <alexst@google.com> am 5681ee64: RS getter implementation.

* commit '5681ee64c240eb79bc5a80ab5faf831d91e1f2e6':
RS getter implementation.
e1dcdccca9b046278ac336cdf39e6029dc273103 16-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
5681ee64c240eb79bc5a80ab5faf831d91e1f2e6 15-Oct-2011 Alex Sakhartchouk <alexst@google.com> RS getter implementation.

Change-Id: Ie292a70d13f1d2e5b0778c9bae6103453c7fbe60
ib/ScriptCRT/rs_core.c
70ddec7d1041b5b0eb03e515d60b7a0db3104602 14-Oct-2011 Jason Sams <jsams@google.com> am 28fdb1b5: am df1bc78e: Merge "Fix off by one error when converting between unorm8 and float." into ics-mr0

* commit '28fdb1b57179a42ed7fd1b1fe92cdac561152789':
Fix off by one error when converting between unorm8 and float.
28fdb1b57179a42ed7fd1b1fe92cdac561152789 14-Oct-2011 Jason Sams <jsams@google.com> am df1bc78e: Merge "Fix off by one error when converting between unorm8 and float." into ics-mr0

* commit 'df1bc78e24cf2b6a71f2b3809ffb46521e5521a8':
Fix off by one error when converting between unorm8 and float.
df1bc78e24cf2b6a71f2b3809ffb46521e5521a8 14-Oct-2011 Jason Sams <jsams@google.com> Merge "Fix off by one error when converting between unorm8 and float." into ics-mr0
5ef7811ac7df4f0a1a863e7b092f4ad650ca5b10 14-Oct-2011 Shih-wei Liao <sliao@google.com> am 48e848f2: (-s ours) am 72e3e8ca: (-s ours) Hide unnecessary symbols. Save .4MB. DO NOT MERGE

* commit '48e848f2cab73248fd6b5029bf9f4ec23424dde8':
Hide unnecessary symbols. Save .4MB. DO NOT MERGE
48e848f2cab73248fd6b5029bf9f4ec23424dde8 14-Oct-2011 Shih-wei Liao <sliao@google.com> am 72e3e8ca: (-s ours) Hide unnecessary symbols. Save .4MB. DO NOT MERGE

* commit '72e3e8ca815482a2a43d9bf75d6c662acba6bc42':
Hide unnecessary symbols. Save .4MB. DO NOT MERGE
72e3e8ca815482a2a43d9bf75d6c662acba6bc42 13-Oct-2011 Shih-wei Liao <sliao@google.com> Hide unnecessary symbols. Save .4MB. DO NOT MERGE

Change-Id: I7a6a23c6b9d4be18bf2784897309f6ef174b3ddf
ndroid.mk
9d3f8a71dd04d606d7f677ec9512d00f374f1e7a 14-Oct-2011 Jason Sams <jsams@google.com> Fix off by one error when converting between
unorm8 and float.

Change-Id: I3eaeaff240ab9d943027ada6e28a83ea71cbcc8b
ib/ScriptCRT/rs_core.c
6fb71c5385bc6f8019bb4f6eef92052f053a5797 13-Oct-2011 Shih-wei Liao <sliao@google.com> Hide unnecessary symbols. Save .4MB.

Change-Id: I4bd308427d112f01287aca2f98d1ffe6bdff5bb0
ndroid.mk
b1bca5585a86bd38745709e6c6e4664c726e1f8f 11-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
0231bb069417690bb4f513b80a9c0238112744f7 11-Oct-2011 Stephen Hines <srhines@google.com> Handle legacy RS root functions.

We generate a fake signature for a potential root function in this case.

Change-Id: I685d7299d99eb6b5cb02a89d60c5b90e78009e07
cinfo/MetadataExtractor.cpp
dc4f0ecdbf79e990bb8e3e6b261cd262d81beb32 08-Sep-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
a12d2f3ee66366097ca59941eb91f75d97ab09b2 08-Sep-2011 Stephen Hines <srhines@google.com> Add proper build-time configs for VFP/NEON/...

This change fixes the way that libbcc is built. First, it properly sets up
all required libbcc_CFLAGS-specified defines (i.e. ARCH_ARM_HAVE_NEON) to be
passed to the compiler. It also builds the host binary (standalone bcc) to
cross-compile for the target architecture (along with associated features).
This will aid in debugging NEON issues.

Change-Id: If499e944244493ca65ceb691b097bad6b6da94f5
ib/ExecutionEngine/Compiler.cpp
ibbcc-config.mk
6be21d0a1b0c70ae203be106f1845695952167aa 03-Sep-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
6416010e183301fc4243a2a1e43d7bcbd9dd7527 02-Sep-2011 Stephen Hines <srhines@google.com> Don't forget to export .rs.dtor() for Renderscript.

BUG=5186750

Change-Id: I7e22edd906a7bf0024daf32bfb663aa430b120c9
ib/ExecutionEngine/Compiler.cpp
1162ed3abb10326a925ac0d18ee450ba5b433089 18-Aug-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
33f8fe2bfafe00ad2c74e4590ffdd0bcfc5eb31d 17-Aug-2011 Stephen Hines <srhines@google.com> Support ForEach info in MetadataExtractor.

BUG=5076887

Change-Id: Icfe1aebbc620df750279af19d10a624c4c760430
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcinfo/MetadataExtractor.h
5e1293117ca3875df0681a50da007de16ea23ee6 10-Aug-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
05f25d2a959ad25f3bcad0e0ccbcad92011bf925 09-Aug-2011 Stephen Hines <srhines@google.com> Include proper header files.

Change-Id: Iee886a39e2df608def4ac367c2d05c33458f0f64
ib/ScriptCRT/rs_core.c
88add3293d7f16fd990169df7c4c4ad11468df6a 09-Aug-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
d4740c5d3539b57ef172d83dece278363cb9f3b1 09-Aug-2011 Stephen Hines <srhines@google.com> Migrate perf-critical functions to device bitcode.

BUG=3497315

Change-Id: I5dc1f38020c14a39b61b067e073305346b52d62d
ib/ScriptCRT/rs_core.c
48f2a2ee1e1eb5c398e684eb02e5d34462c3771f 08-Aug-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
4f57c8ceaf54cf0311460a6b9aae13aa588e2caf 05-Aug-2011 Stephen Hines <srhines@google.com> Merge "Provide legacy bitcode translation mechanism."
932bc6e35bcef7adff05d890a9dcc7212426fb6a 28-Jul-2011 Stephen Hines <srhines@google.com> Provide legacy bitcode translation mechanism.

BUG=4942491

Change-Id: I73e96ef7f27bbaa8740cad70a4b93a1e5137e87b
cinfo/Android.mk
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_2_7/BitReader.cpp
cinfo/BitReader_2_7/BitReader_2_7.h
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_2_7/CMakeLists.txt
cinfo/BitReader_2_7/Makefile
cinfo/BitcodeTranslator.cpp
cinfo/MetadataExtractor.cpp
cinfo/bcinfo.cpp
cinfo/tools/Android.mk
cinfo/tools/main.cpp
nclude/bcinfo/BitcodeTranslator.h
nclude/bcinfo/MetadataExtractor.h
nclude/bcinfo/bcinfo.h
b82f8e177e3602889a0eae4d46026cf4698e0521 04-Aug-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
2558ae40f4614f119a3bccfe3c2d753d83f3593e 04-Aug-2011 Logan Chien <loganchien@google.com> Initialize required component.

Without the initialization of MCRegisterInfo for X86,
libbcc will crash at compile time for some input, for example:

define double @testDouble() {
entry:
ret double 2.000000e-01
}

Change-Id: Ifde89c5bd39e67f852c25cc7dc08c8f0c256ea6b
ib/ExecutionEngine/Compiler.cpp
7890d437030c1594bc9c9f61fa1e80a57754b078 03-Aug-2011 Logan Chien <loganchien@google.com> Add bccMarkExternalSymbol (to specify external symbol.)

By default libbcc will internalize every symbol, and perform
LTO. However, in many situations we have to export a specific
function, such as "root" or "init" for RenderScript, so we are
adding bccMarkExternalSymbol.

Change-Id: I136eb8ff68e9ccf8c6595eb470f9718e1cb1e4ab
nclude/bcc/bcc.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
6e20286db21ee304555ab35ebe65e8be5e0fa200 02-Aug-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
d548e008c69314e23884c73c7e09ffba9d5a90ee 30-Jul-2011 Logan Chien <loganchien@google.com> Remove unused code.

Change-Id: I5fd240ed03654af1ac6fcbe4f45d5e05825374a2
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
bd76bc9349e788fd87bc21e2d6847f8c7a3b19b3 30-Jul-2011 Logan Chien <loganchien@google.com> Finish the refactor work of bccPrepareExecutable.

Change-Id: I20c122811d26b26dfdd64132f7229e5f5baa6d1e
nclude/bcc/bcc.h
ib/ExecutionEngine/bcc.cpp
ests/main.cpp
42189ee9367a54afdf195f87f9b8a5da02610d54 28-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
78bc365fecf76224332542d6228a694e10d4f0c8 27-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
f9931b82453072d66b04b94bf30544df8f447eec 27-Jul-2011 Jason Sams <rjsams@android.com> Add const variants to matrix x vector multiply.

Change-Id: Ied372bb02de49f8a18f006c03d1b859130bc3bdc
ib/ScriptCRT/rs_core.c
4928104ef3aad39e00d22ac81fd2aad6d41a25bf 26-Jul-2011 Joseph Wen <josephwen@google.com> Fixbug remove symbol lookup at MCCacheWriter

Change-Id: I4755bc99a414653c897f26609ad1bdc640f571ea
nclude/bcc/bcc.h
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/Script.cpp
f7b391c679aa19838bf7408aa114ac9f2cb933c7 26-Jul-2011 The Android Automerger <android-build@android.com> keep history after reset
34c600a77b0dd2f27fabbc4b6b3b94ed12af2a57 26-Jul-2011 Joseph Wen <josephwen@google.com> Add bccPrepareSharedObject

Unlike bccPrepareExecuteable, bccPrepareSharedObject does not
resolve external symbols; therefore it only generate cache file
not execuable.

Change-Id: I3ef093015a4f54011fbf298123cac2464230b408
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/bcc.cpp
bf3eb6b4ff72d1524b7fe0762e0d9d9c75396bd2 21-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
311cdf0d9a01196aabca292f7a203c36950951b3 21-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Fix Old JIT Disassembler"
e024ebde4f2ad86222a475dcc1db4b911aa5a49f 21-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Apply changes to migrate to llvm upstream r135568."
a4745beab14e01df72d0cd8612d89a5ef6a3711d 21-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Refine the disassembler config code."
70b2e1830848a953cab42b116682493947aaa520 21-Jul-2011 Logan Chien <loganchien@google.com> Fix Old JIT Disassembler

CurBufferPtr will be reset, so we should save FnEnd
before CurBufferPtr being reset.

Change-Id: I770cbeeee97b00f4523a93678b8a40cb670a645f
ib/CodeGen/CodeEmitter.cpp
e49a38f32eb10736aae9bedc939c289a82846853 20-Jul-2011 Stephen Hines <srhines@google.com> Merge "Remove unused APIs from libbcc."
d3fe15c7b86a438020553c7a7ef7ec102c63d712 20-Jul-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to llvm upstream r135568.

- Remove const qualifier for some llvm::Type variables,
due to the change of the API.

- Update the relocation model setup code, since
llvm::TargetMachine changes its API.

Change-Id: I87305d093d5b06870669b97228b66821addfaee4
ib/CodeGen/CodeEmitter.cpp
ib/CodeGen/CodeEmitter.h
ib/ExecutionEngine/Compiler.cpp
c62a45c07f3bbee50e202cb78a5cb85a4234c785 20-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
4885cf8889f2290ecd04a02e067cb2f44c3cdf6c 20-Jul-2011 Logan Chien <loganchien@google.com> Refine the disassembler config code.

Change-Id: I7cd3923f0d185efef9cc43dfb5448380735d0ad9
onfig.h
ib/CodeGen/CodeEmitter.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ibbcc-config.mk
ools/gen-config-from-mk.py
b9ef9ab8e80b25fb26dfec11647629af887b260b 20-Jul-2011 Logan Chien <loganchien@google.com> Initialize AsmPrinter for compiler.

It is required to initialize AsmPrinter for compiler
in order to generate machine code. Without this commit,
libbcc will not work if we set USE_DISASSEMBLER to 0.

Change-Id: If6a18c82df5c8cab84fb26afd163152ed1307aa8
ib/Disassembler/Disassembler.cpp
ib/ExecutionEngine/Compiler.cpp
d2a5f305f48c47b9e98a0d7ccdd0cf027bdcfe18 19-Jul-2011 Logan Chien <loganchien@google.com> Separate OLD_JIT code.

Either move Old JIT code into OldJIT directory or wrap them
with #if USE_OLD_JIT, so that we can remove Old JIT easily
in the future.

Change-Id: Id820cc2143ac4b7685460ba38258c664f4da495e
ib/CodeGen/CodeMemoryManager.cpp
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/CacheReader.cpp
ib/ExecutionEngine/CacheReader.h
ib/ExecutionEngine/CacheWriter.cpp
ib/ExecutionEngine/CacheWriter.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/ContextManager.cpp
ib/ExecutionEngine/ContextManager.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/OldJIT/CacheReader.cpp
ib/ExecutionEngine/OldJIT/CacheReader.h
ib/ExecutionEngine/OldJIT/CacheWriter.cpp
ib/ExecutionEngine/OldJIT/CacheWriter.h
ib/ExecutionEngine/OldJIT/ContextManager.cpp
ib/ExecutionEngine/OldJIT/ContextManager.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/SourceInfo.cpp
16c9b3674960eef4fda4955694bf186af4cfd5c0 19-Jul-2011 Stephen Hines <srhines@google.com> Remove unused APIs from libbcc.

BUG=4278636

Change-Id: I457e59efc525ad492008e1199a2bb98849eb98fa
cinfo/Android.mk
nclude/bcc/bcc.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
ests/Android.mk
ests/main.cpp
0120ef7159122c6c4cd2b9c3e1e6a569e129cbde 19-Jul-2011 Stephen Hines <srhines@google.com> Merge "Extract BC metadata using a single call via bcinfo."
c2be0a15b2dfcc6f471527a0112ac42d51a0bf2f 19-Jul-2011 Logan Chien <tzuhsiang.chien@gmail.com> Change the argument of bccPrepareExecutable.

This is almost the last step of the refactoring process of
bccPrepareExecutable. Now, we change the argument of
bccPrepareExecutable, and we will remove bccPrepareExecutableEx
later.
nclude/bcc/bcc.h
ib/ExecutionEngine/bcc.cpp
0194b2bbd71e1dc09f8542bfbdf00b0b01681498 19-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
c2e23c39553bf10d7199441065e9d9a4f1fa9a71 19-Jul-2011 Shih-wei Liao <sliao@google.com> Register MCAsmInfo.

The upstream adds new registry LLVMInitial{Target}MCAsmInfo().
We need to register it first before invoking createMCAsmInfo().

Change-Id: I4e8098380d5ac6eb878614a0603599715447c81f
ib/ExecutionEngine/Compiler.cpp
bb5df5c59e6a8bf1b63ec210367c3003479cdf41 19-Jul-2011 Shih-wei Liao <sliao@google.com> Apply changes to migrate to upstream API.

Change-Id: I1b131826edb40b12f4fbc816f0b358924eea75dc
ndroid.mk
ib/Disassembler/Disassembler.cpp
150a70be696f5a93446bb0c5da558699103520e6 19-Jul-2011 Stephen Hines <srhines@google.com> Extract BC metadata using a single call via bcinfo.

BUG=4278636

Change-Id: I0f60d134e5e9209996b6bcf5f541d5497d7f2665
cinfo/Android.mk
cinfo/bcinfo.cpp
nclude/bcinfo/bcinfo.h
e756554138c1a183063ceac40951f794d688eda7 18-Jul-2011 Logan Chien <loganchien@google.com> Remove the duplicated DebugHelper.h

Change-Id: I8c412ce3a9c0f44edc58ab4400eb05c64b92a328
ib/ExecutionEngine/DebugHelper.h
76bb588a309ba11c1b6a3c2af3b97f784f29a833 14-Jul-2011 Logan Chien <loganchien@google.com> Fix modification detection.

Change-Id: I0ec69582a8c7b85bf94b1e4f4158eb27519bc8ec
ools/gen-build-stamp.py
eb567849ac8b123f7afe78bb81ff8a4f921a6a6f 14-Jul-2011 Logan Chien <loganchien@google.com> Move configuration from Config.h to libbcc-config.mk

In order to avoid the excessive use of $(shell) in Android.mk,
this commit moves the configuration options to libbcc-config.mk,
automatically generate ConfigFromMk.h by calling
tools/gen-config-from-mk.

Change-Id: Ib5e9771dc9808f7bef2fa8da4db8e25c2a170c34
ndroid.mk
onfig.h
elper/Android.mk
ib/CodeGen/Android.mk
ib/Disassembler/Android.mk
ib/ExecutionEngine/Android.mk
ibbcc-config.mk
ibbcc-gen-config-from-mk.mk
ools/gen-config-from-mk.py
1c13147fd7d2294a0f34a569fe36660b6b056a91 18-Jul-2011 Daniel Sandler <dsandler@google.com> Restore Python2.4 compatibility.

- remove X if T else Y syntax
- try hashlib, fall back to sha

Change-Id: Iffabba6cea736bd104de69205c130ff6bb212445
ools/gen-build-stamp.py
ools/gen-sha1-stamp.py
ee465befb27e39835bfaf2943b0b446d7fa736da 18-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
f68882e5ba9a965a6281aac3084f57e75c8a16b0 18-Jul-2011 Logan Chien <loganchien@google.com> Compile bcc.cpp with libbcc shared library

This should fix the Mac OS SDK breakage.

Change-Id: Icea55222bd55f60cf6fdfeac49d9fefd5c975dc7
ndroid.mk
ib/ExecutionEngine/Android.mk
ibbcc-gen-build-stamp.mk
0935e8819d4a9b763c43bf88b895518f196dd067 18-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Add LOCAL_IS_HOST_MODULE for host build."
3baf607193b50b0bdfdddf9add63d6d60f4690f6 18-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Fix CFLAGS. (Should use libbcc_CFLAGS instead)"
621b29e49248a01b8dcccbdd3a4976a9b2b1532d 18-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Fix compilation error when we disable the LOGCAT."
69024cfc447a95d5d7ef0886c31659c7dc9f2227 18-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Split JIT image from oBCC."
3d6005232e4643c8707c5ea26cb7f5c63a1ac564 15-Jul-2011 Logan Chien <loganchien@google.com> Depend on .git/COMMIT_EDITMSG instead of .git/*

Change-Id: I95a4634c55a5350b740acf70b9d997ccd2a9b8f2
ibbcc-gen-build-stamp.mk
57991d73a662d564bf6feb017ec578ab8e85ce93 14-Jul-2011 Logan Chien <loganchien@google.com> Add LOCAL_IS_HOST_MODULE for host build.

Change-Id: Idc70587a8511fc08fd0750b07706777b8da85504
elper/Android.mk
ib/CodeGen/Android.mk
ib/Disassembler/Android.mk
ib/ExecutionEngine/Android.mk
67005271fbab5e4919cc2119f6e234642ec409bd 14-Jul-2011 Logan Chien <loganchien@google.com> Fix CFLAGS. (Should use libbcc_CFLAGS instead)

Change-Id: I683c54e2edf2ebf0a2e442e486891009a1ac2478
ib/Disassembler/Android.mk
ib/ExecutionEngine/Android.mk
08f1f1cf18a0861004629eb6227a0b887280a565 14-Jul-2011 Logan Chien <loganchien@google.com> Fix compilation error when we disable the LOGCAT.

Change-Id: I14294d113c6921419d55515bc14434b86d4a411d
elper/DebugHelper.c
ib/ExecutionEngine/FileHandle.cpp
03a2e30e9ee0e3a880eb60f5047302d216db9582 13-Jul-2011 Logan Chien <loganchien@google.com> Split JIT image from oBCC.

This change is the first step to merge CacheReader and
MCCacheReader (CacheWriter and MCCacheWriter.) In this
commit, we split the executable generated by OLD JIT
into a separated file with ".jit-image" as the file extension.

Change-Id: Icd40623e1247ffdfa93558b8e9fc4378a78b4ea1
nclude/bcc/bcc_cache.h
ib/ExecutionEngine/CacheReader.cpp
ib/ExecutionEngine/CacheReader.h
ib/ExecutionEngine/CacheWriter.cpp
ib/ExecutionEngine/CacheWriter.h
ib/ExecutionEngine/Script.cpp
3bfcd866e752a77e42b93dea1754417e5c466472 13-Jul-2011 Logan Chien <loganchien@google.com> Add git work directory modified detection.

Change-Id: I90ca1241cc599d4b43224671ee2bbf59c0801656
ools/gen-build-stamp.py
3378a02729c2874b890e3939628a383ad0d1fe64 13-Jul-2011 Logan Chien <loganchien@google.com> Print build time and revision to logcat.

Change-Id: I0be4cc09a3bde320628687ca58588206b76079b2
ib/ExecutionEngine/bcc.cpp
48dc01db0b865b73f41cef53bcb72f65fd027af4 13-Jul-2011 Logan Chien <loganchien@google.com> Add build time and build revision support.

Change-Id: I7badfcb7bd18d8b73910c5fad290b578765377fa
ndroid.mk
nclude/bcc/bcc.h
ibbcc-gen-build-stamp.mk
ools/gen-build-stamp.py
c4eb0fcaa7249b7a8416bcef2cb67ee7c53b2ada 18-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Remove unused bcc_checksum.h"
948b1a5dc689b206c0fae3f2472bbcf71299ed48 18-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Split Android.mk into several Android.mk"
bd48570bc63fe9dd28fcf92f30bb69434aefcc08 18-Jul-2011 Logan Chien <loganchien@google.com> Fix breakage of full_x86-eng build.

libLLVMX86AsmPrinter is missing when TARGET_ARCH is x86.

Change-Id: I61c39f3f665a7943a9085989cb237c6fbdbce5df
ndroid.mk
788a41e79438663bbaaf07156410cfb647aadc7f 14-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
e6c391836e217a7007f2db6e57da08aa7b785e2d 13-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
e475ef0d80cf9355bb7d1fe515ec845ac3d10f77 12-Jul-2011 Logan Chien <loganchien@google.com> Remove unused bcc_checksum.h

Change-Id: Ic6cc678a7fedae91daaa7ea70c61f73b41760746
nclude/bcc/bcc.h
nclude/bcc/bcc_checksum.h
743968520a8a6c1e23212d4ed155d053891f630a 12-Jul-2011 Logan Chien <loganchien@google.com> Split Android.mk into several Android.mk

Split a HUGE Android.mk into:

helper/Android.mk
runtime/Android.mk
lib/CodeGen/Android.mk
lib/Disassembler/Android.mk
lib/ExecutionEngine/Android.mk

Change-Id: I060c31b897387e2a892b2ec769e2c5a62738d6f0
ndroid.mk
elper/Android.mk
ib/CodeGen/Android.mk
ib/CodeGen/CodeEmitter.cpp
ib/CodeGen/CodeMemoryManager.cpp
ib/Disassembler/Android.mk
ib/ExecutionEngine/Android.mk
ibbcc-config.mk
untime/Android.mk
6888aaefad5a8dfc56d76187d8ff2e3311783e27 12-Jul-2011 Logan Chien <loganchien@google.com> Use python to calculate the sha1sum.

By changing to gen-sha1-stamp.py, we get two benefits:
(1) No need to build another sha1sum executable
(2) sha1sum command in the system won't be hidden by our version.

Change-Id: Ia5efc711c7b7eca197dcf52b3cb9192e8d3f119e
ndroid.mk
ools/gen-sha1-stamp.py
3445f904394e8de523d6114cd1674be0e0bce2c2 12-Jul-2011 Logan Chien <loganchien@google.com> Remove unused variable from Android.mk.

Change-Id: Ia62fb06552bcea06b302ba7be75a378885c76fff
ndroid.mk
8d3b5e184b776dbf0b4af8a1c95f027d8653ca66 12-Jul-2011 Logan Chien <loganchien@google.com> Cleanup LOCAL_C_INCLUDES.

Change-Id: I27d05890a0aaa20e6b8bfe67aec7ff9aa6c01f08
ndroid.mk
ib/CodeGen/CodeEmitter.h
ib/CodeGen/CodeMemoryManager.h
ib/ExecutionEngine/Compiler.h
41cb761b5b36126fa4cc7f1f97e46dce6617fc81 12-Jul-2011 Logan Chien <loganchien@google.com> Cleanup and reorder LOCAL_STATIC_LIBRARIES.

Change-Id: If9dbdceb19e12d84dbaaea4e53f2ef78d6225949
ndroid.mk
4386a2c5ff6f96d5273ceefdd6aa101580aa9acb 12-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
ca45a58402d08a75f87be7715be5f42cf75ab161 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: Id9fb33c51f84d90f9540cfc3f6f2f4940ee54dd7
ndroid.mk
ib/ScriptCRT/Android.mk
f882b699dcb344947a0d3f5fe2f2bd6d305aac75 11-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
d9db38a7163c471e00019091f5c2dc0f05d742ef 11-Jul-2011 Logan Chien <loganchien@google.com> Update documentation and add deprecate attribute.

Change-Id: I4a73b739789cedeba1cf7e64be11aaaa09a9474b
EADME.html
EADME.rst
nclude/bcc/bcc.h
a869cc1072fa587e323b333137355ec511ce38a3 11-Jul-2011 Logan Chien <loganchien@google.com> Use libbcc new api bccPrepareExecutableEx.

Change-Id: I60d71a673bf5c9433cc781b125cb43b4e1fa2c68
ests/main.cpp
02153938c898e6c83943e59536942e8a6d0bcd5b 11-Jul-2011 Guozhi Wei <carrot@google.com> Merge "Fix conversion from a bool value to a pointer."
311c26faa483c639f03702a75220ca6f6509a01f 11-Jul-2011 Logan Chien <loganchien@google.com> Add new libbcc API bccPrepareExecutableEx

We are undergoing a migration to new bccPrepareExecutable,
which splits cachePath argument into cacheDir and cacheName
(no file extension).

Change-Id: I48ecb9bc6c038650bf766318ff96b78723d0f4bc
nclude/bcc/bcc.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/bcc.cpp
ffb4b5146a1ea69ec356c8329af235a28971c376 11-Jul-2011 Logan Chien <loganchien@google.com> Remove the unused code for cache path.

Change-Id: I6fb6d769669e3f0932cd1f5e4b9bb62553b15e98
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/ScriptCompiled.h
f11da3081765d3323381b16f2867b2f1df2b9cba 10-Jul-2011 Logan Chien <loganchien@google.com> Always print the disassembler output to file.

It will be better to print the disassembler output to a file
instead of stdout, since the stdout will be dropped by default.
Even if we have "setprop log.redirect-stdio true", you will
find out the output will be messed up by other messages.

Change-Id: I0fc02b082a5a3dff22f8b1ea5809562810a20915
ndroid.mk
onfig.h
ib/Disassembler/Disassembler.cpp
0c109fe8b7e169b0d3e70d16dbbc33dd4b1763a7 11-Jul-2011 Guozhi Wei <carrot@google.com> Merge "Extract duplicated disassembler."
deff73980feb4eb760e98e24611375d967bf6107 11-Jul-2011 Doug Kwan <dougkwan@google.com> Fix conversion from a bool value to a pointer.

Change-Id: I7e634ac08b6a54586ed2a335095515619ef1614d
ib/ExecutionEngine/MCCacheReader.cpp
6789a813d4a48454bc1dc686e89d3e1a946a2ae8 11-Jul-2011 Guozhi Wei <carrot@google.com> Merge "Remove unused code in MCCacheReader/Writer"
9347e0bdf9d9cb691c3681ea06c87716b6251af4 07-Jul-2011 Logan Chien <loganchien@google.com> Extract duplicated disassembler.

Change-Id: I6c607a0ed881dbd808ec43ec65e88f4ef06dea90
ndroid.mk
onfig.h
ib/CodeGen/CodeEmitter.cpp
ib/CodeGen/CodeEmitter.h
ib/Disassembler/Disassembler.cpp
ib/Disassembler/Disassembler.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
6fc65134ae483389dbcf80b2ced7b5ef78df3f4d 08-Jul-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
f335578d6e9b35584a49ff0b4afea291fb108c18 08-Jul-2011 The Android Automerger <android-build@android.com> keep previous history
ca65dc35bdb1e4f3e0fa8a14420bbf6092664e55 08-Jul-2011 Joseph Wen <josephwen@google.com> Add run-time hash check for libRS.so

Change-Id: I327215cdf74bc0e969c45efb0ff83c3fd0165f1d
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
275599ecb84c9355797c817b67d0b6d30451a835 07-Jul-2011 Joseph Wen <josephwen@google.com> Enable libbcc MC JIT

Change-Id: I8c94e73d60e5357456b6000674ddfd52b06ce69b
onfig.h
bb9c69464112e825e2d66e1a5af5c57be939ff80 08-Jul-2011 Joseph Wen <josephwen@google.com> Merge "Add run-time hash check for libRS.so"
769190765f7a920ac7f30ff6d424f3ae850b1c3a 08-Jul-2011 Joseph Wen <josephwen@google.com> Add run-time hash check for libRS.so

Change-Id: I327215cdf74bc0e969c45efb0ff83c3fd0165f1d
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
7f3eaaac5a528d553201fac0298fee0d5eee3da8 08-Jul-2011 Ed Heyl <edheyl@google.com> Merge "Enable libbcc MC JIT"
afa4e90b9a261375b139420895b3848c33d90a72 08-Jul-2011 Ying Wang <wangying@google.com> Merge "Use 20-byte libbcc.so.sha1 to store checksum"
b5070f48d63344e951e84c876342e414d30d90f4 08-Jul-2011 Jason Sams <rjsams@android.com> Merge "Temporarly disable the RS Cache while some issues are worked on."
eeeccd9dbdcbda90c9e0e8e6d5db8e4f54e1f1e0 07-Jul-2011 Jason Sams <rjsams@android.com> Temporarly disable the RS Cache while some issues are worked on.

Change-Id: Ic0fbc36aecee4cc0c1b73fd5e068ec40ce9005b7
ib/ExecutionEngine/Script.cpp
8eabcbf188f6e58217ad316271ea5e984d6eacce 07-Jul-2011 Joseph Wen <josephwen@google.com> Remove unused code in MCCacheReader/Writer

Change-Id: I31dd0c401bbd4f979849387c1b34e60c7d33770d
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
739527e7b5c899656ded995584fd7d9f94f11abf 07-Jul-2011 Joseph Wen <josephwen@google.com> Enable libbcc MC JIT

Change-Id: I8c94e73d60e5357456b6000674ddfd52b06ce69b
onfig.h
f36637f60d8fd35c43ad52bd06d3372c9bc8fb19 07-Jul-2011 Joseph Wen <josephwen@google.com> Fixbug 4995931

Do symbol look up every time the object file is loaded from cache.

Change-Id: I63184d3fc519270dfe4fc86e90efbf8552e0f584
nclude/bcc/bcc_cache.h
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
73bebe10844cc5329a0daf52d5ef088b13b89e5f 06-Jul-2011 Joseph Wen <josephwen@google.com> Switch to old JIT

Change-Id: Idab52012834d1292140be3d5d7e058ee5a2c83d5
onfig.h
26fea10655613ad184b37dfd24dd21e92a5afa95 06-Jul-2011 Ying Wang <wangying@google.com> Use 20-byte libbcc.so.sha1 to store checksum

Change-Id: I1e66e559918426e995b92785666beb7b6a49869d
ndroid.mk
leanSpec.mk
elper/sha1.c
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
029057e3fe74548f64ced090600205df08ef5d32 02-Jul-2011 Shih-wei Liao <sliao@google.com> Fix API changes of llvm::SubtargetFeatures.

Change-Id: Ia427295ac8aab71228cee1abfa1ebc5e30fd2078
ib/ExecutionEngine/Compiler.cpp
d50be3231d4d2e4d7ca96b892b04f2d71af8a398 02-Jul-2011 Shih-wei Liao <sliao@google.com> Code cleanup: Improve code readability and remove dead code.

Change-Id: Ic7fc159eb19a9eef210afc1fca45b8a646321f2c
ib/ExecutionEngine/Script.cpp
54bdd6f0a0a3bd14b1e3d524b7a64cb841923707 02-Jul-2011 Mike Lockwood <lockwood@android.com> Fix problem building on Ubuntu Natty

Change-Id: Ib42ae0dcbccc2ae26c6834ef1762227c05c51a82
Signed-off-by: Mike Lockwood <lockwood@android.com>
ib/ExecutionEngine/Script.cpp
d092b9a3d94bbcc4c97fc522aff4fd14d739b71e 02-Jul-2011 Ying Wang <wangying@google.com> Merge "Fix build."
a61d501206d5bee1ff331caa29bd556dd20551ac 02-Jul-2011 Ying Wang <wangying@google.com> Fix build.

Change-Id: I48b2fdedc86100d3896d2145cf7d0046abdfc767
ib/ExecutionEngine/MCCacheReader.cpp
207686fbd519bca79bdc3840698bd2b44365c9d4 02-Jul-2011 Shih-wei Liao <sliao@google.com> Work with Ying's build fix.

Change-Id: I7431e450211c456bdd5e9a2aa60c556c855d6cb3
onfig.h
eeed6366a548aa23a1e9bf0df2cec42b93ddb6a2 02-Jul-2011 Shih-wei Liao <sliao@google.com> Fix MAC build.

Change-Id: Id76bc310225e28aa4d77ceeffac7f692ecb2bb38
onfig.h
85605dcddbff70c47f63a58492c1b38c057397af 01-Jul-2011 Shih-wei Liao <sliao@google.com> Undo the damage.

Change-Id: I0fb78ad083ca66c1e006cb1ff9769a2cb2184f9c
onfig.h
da6c2b10601d71b681c137434c14d7375711e21f 01-Jul-2011 Shih-wei Liao <sliao@google.com> Fix the build.

Change-Id: I70252db45fbf9fca2a5bdbd77a2b6d1f69a1305f
onfig.h
0f81db288619ec7827e03366f1e42a0d6b18ae8b 01-Jul-2011 Shih-wei Liao <sliao@google.com> Testing code generation.

Change-Id: I4983919b25261b9793a6bdc3b71f5a022bd2e63c
onfig.h
0b48695f1d6ef6f86169957bec69c9762666fe5b 01-Jul-2011 Ying Wang <wangying@google.com> Refine the dependency.

Change-Id: I86096114711c8bff684ed83d0731cbe6c22dd91a
ndroid.mk
873aa907beea8154ae31a6a136712fee1d725b2e 01-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Clean up #if directives."
587e1e8bc6521f6453ef46c5b5c0129f00db9ff5 01-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Enhance the disassembler for MCJIT codegen."
68612fb215bd281cead8955a77f37ebc79a4d255 01-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Bring up installation of sha1sum before libbcc_sha1.s generation."
9f73de0deb296f6431523e2ebb2f888ee21c0bb4 01-Jul-2011 Shih-wei Liao <sliao@google.com> Clean up #if directives.

Change-Id: Ib0a4699331c00c7ef8d82dd4894f7f641062878a
onfig.h
ib/CodeGen/CodeEmitter.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/bcc.cpp
d3c551fbc76ad424577335b40491436cbc0dbd86 01-Jul-2011 Shih-wei Liao <sliao@google.com> Enhance the disassembler for MCJIT codegen.

Change-Id: I2658ae0fd205913f0467287b2d080d747720e19d
ib/ExecutionEngine/Compiler.cpp
5061c44a5707e1911af588574845e5dba7ca9157 01-Jul-2011 Shih-wei Liao <sliao@google.com> Bring up installation of sha1sum before libbcc_sha1.s generation.

Change-Id: I054d3ad12ac3c7b8a1fb15cf2887e7206f72ddcd
ndroid.mk
7f69f02944a9524651b985a768bd121a448581d0 01-Jul-2011 Joseph Wen <josephwen@google.com> Remove debug information

Change-Id: Idf8db7cff7d51afe002d98e7f400cb61650d50d8
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
2ca6e576421e86e0128991b825c238f1d4221910 24-Jun-2011 Joseph Wen <josephwen@google.com> Fix the libbcc SHA1 checksum dependency

Calculate SHA1 checksum of libbcc.so and libRS.so at compile time.

Change-Id: Ief1c20e20d62f5d5bf0a62592e081d4a6d77dcd4
ndroid.mk
onfig.h
nclude/bcc/bcc_cache.h
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/CacheReader.cpp
ib/ExecutionEngine/CacheWriter.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
ools/dataconvert.py
d18a3df2628d26f65a1172ec2e3e0816731499f9 25-Jun-2011 Stephen Hines <srhines@google.com> Revert "Fix the libbcc SHA1 checksum dependency"

This reverts commit 89175b9e4c07df1302374421096d6e1355954ace.
ndroid.mk
onfig.h
nclude/bcc/bcc_cache.h
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/CacheReader.cpp
ib/ExecutionEngine/CacheWriter.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
ools/dataconvert.py
89175b9e4c07df1302374421096d6e1355954ace 24-Jun-2011 Joseph Wen <josephwen@google.com> Fix the libbcc SHA1 checksum dependency

Calculate SHA1 checksum of libbcc.so and libRS.so at compile time.

Change-Id: Ifc6cf6e309155229fe1ab1228c0eb77175fbd8f0
ndroid.mk
onfig.h
nclude/bcc/bcc_cache.h
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/CacheReader.cpp
ib/ExecutionEngine/CacheWriter.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
ools/dataconvert.py
f9a20439fd6ebe43cf150f363d7ef43bb38a1dc4 24-Jun-2011 Joseph Wen <josephwen@google.com> Merge "Turn on NEON support for Nexus S"
51001b86751c1ca36307eddc44a65336079fb698 24-Jun-2011 Joseph Wen <josephwen@google.com> Turn on NEON support for Nexus S

Change-Id: I81c9cdd56539990a05bb67cd60cc805dd31861b5
ib/ExecutionEngine/Compiler.cpp
a5865c6458f34294e82aaaff013d3e59a3fabf85 24-Jun-2011 Joseph Wen <josephwen@google.com> Merge "Fixbug libbcc cache variable relocation."
4e199def03f60a4b5ba03f741603eeb25316527b 24-Jun-2011 Joseph Wen <josephwen@google.com> Fixbug libbcc cache variable relocation.

Change-Id: I18f98e366dfc57b5e81dfdcfadcf5d99fbf9ffd2
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
33f8af8257da01cb5d7090b01790e1908a9ba519 24-Jun-2011 Stephen Hines <srhines@google.com> Move divsi3, modsi3, udivsi3, umodsi3 to libbcc.

BUG=3435530

Change-Id: I7225ff7a1b3b8078db24fd28a38296c1bdc78f4e
ib/ExecutionEngine/Runtime.def
ib/ExecutionEngine/RuntimeStub.c
ib/ExecutionEngine/RuntimeStub.h
2d4c5f6da8a6f05d0866a6451fd8563078f728bd 22-Jun-2011 Shih-wei Liao <sliao@google.com> Fix soju runtime. (Tablet is fine, but phone now requires __aeabi_memset.)

Add __aeabi_memset.
Change-Id: I7f08d6b5cbc179a41b00b7e5b6bf507b07d50cd2
ib/ExecutionEngine/Runtime.def
3cafd226be61812a73704830702bbe8c004ad5f9 21-Jun-2011 Shih-wei Liao <sliao@google.com> Add missing Config.h (for USE_MCJIT)

Change-Id: I4defab3a1ac07aaab9720e628bc86f678688aed4
ib/ExecutionEngine/ScriptCached.cpp
ce13b660370b3fe6b200189edd031ca804f12e21 22-Jun-2011 Ying Wang <wangying@google.com> Fix build.

Change-Id: I1a49c088055e34a8fe0b5e23a59b4fac29393405
ndroid.mk
5de1adfe315bbb088f7614936b1023c6d6d3fc35 22-Jun-2011 Joseph Wen <josephwen@google.com> Use SHA1 to verify libbcc is consistent with cache

Modify Android.mk to build a host version of sha1sum.
Modify bcc and MCCacheReader/Writer to check for sha1 on runtime.

Change-Id: I0aa32e2efd85e21f67cd46a20a9e55a430c41f30
ndroid.mk
onfig.h
elper/sha1.c
nclude/bcc/bcc.h
nclude/bcc/bcc_cache.h
nclude/bcc/bcc_checksum.h
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/CacheReader.cpp
ib/ExecutionEngine/CacheWriter.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/bcc.cpp
320b5499c78f8b94bc61f609a5fc9053a91d3c18 21-Jun-2011 Shih-wei Liao <sliao@google.com> Add missing #if USE_MCJIT header guard. Clean up debugging message.

Change-Id: I110b9d57985e817b3d29bc905dc834a142ee069b
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/ScriptCached.h
34499f455006ca068bc3d2aa495c648613672434 21-Jun-2011 Shih-wei Liao <sliao@google.com> Fix Android library dependency order.

Change-Id: I6af59ced3445334ad530b0003c66e63aa077c222
ndroid.mk
f12077c0691a1043a2dd7c0430f4edf4508a7b99 21-Jun-2011 Shih-wei Liao <sliao@google.com> Fix MCJIT LTO breakage problem.

Change-Id: Ib71ae33e65058aeeb0a587db8c7e5be764880a16
ib/ExecutionEngine/Compiler.cpp
e201976cdcd46421bfd91c4135fd3bceb9949989 21-Jun-2011 Shih-wei Liao <sliao@google.com> Add more MC JIT Debugging.

Change-Id: I36cd6c515c496e93fc15ad1b4605009d9c6dd2c0
ib/ExecutionEngine/Compiler.cpp
90cd3d1ec93c46389c00cd41375608632dd4ceb5 21-Jun-2011 Shih-wei Liao <sliao@google.com> Add DEBUG_MCJIT_REFLECT and DEBUG_MCJIT_DISASSEMBLE.

Add disassembler support for MCJTI. Courtesy of outstanding intern
logan: To use disassembler for MCJIT, you have to change
USE_DISASSEMBLER to 1, and touch /data/local/tmp/mcjit-dis.s.

The disassembled assembly will be printed to
/data/local/tmp/mcjit-dis.s.

Change-Id: I488fc60ae399e7298f1360ac7219af46a980b577
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
a883314928f34f8c701403aeb0a12d9cb2eaabe3 20-Jun-2011 Shih-wei Liao <sliao@google.com> Reorder LLVMAnalysis and LLVMSupport.

Change-Id: I9cb1e27c4e5637472105f89d5b9ae691a0c2a75f
ndroid.mk
be857c0e816e66240c21b2e2a6406483ea54289b 19-Jun-2011 Shih-wei Liao <sliao@google.com> Fix missing LOCAL_STATIC_LIBRARIES.

Change-Id: Ib9ad566915878a8ed7a6ec0f0d6f46f042a8891f
ndroid.mk
6d0804b59a47c62b287f1935fc955b2a4da91ad5 19-Jun-2011 Shih-wei Liao <sliao@google.com> Fix coding style

Change-Id: I1e9f9fb3dde91aee5da4fe89a94171a952d43781
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheWriter.cpp
b65410dc19b10afe3d99e28283b6206f94768ec3 19-Jun-2011 Shih-wei Liao <sliao@google.com> Style in using #if USE_MCJIT and #if USE_OLD_JIT

Change-Id: Ia824c7fac549b4cb6582b461336a18ce51faef74
ib/ExecutionEngine/Script.cpp
ddfd1ad1f1ddfd06a113632ec9f6b0ef64e6370d 18-Jun-2011 Shih-wei Liao <sliao@google.com> Take care of the host-side of Android.mk too.

Change-Id: Ia61f649a3ecdec458599abee5e871859254c5720
ndroid.mk
a6ced2a138f9edb1c91c04fa4dd7af476e30604a 18-Jun-2011 Shih-wei Liao <sliao@google.com> Fix MAC build.

Change-Id: I6975a5f54e4ea83d5a98116ac59c3e30b17b6eb4
ndroid.mk
ad39be484af742679d5b3bc3ff7bb8c3e21e40f9 18-Jun-2011 Shih-wei Liao <sliao@google.com> Fix MAC build.

Change-Id: I3ea95405ec825a7673865a7958070c1d75493462
ndroid.mk
749a51ca883cf7b0e181ec5ae2fb7d0fabca7c90 18-Jun-2011 Shih-wei Liao <sliao@google.com> Add BCC_REFLECT_TO_LIBRS debugging switch.

Change-Id: I9e743bdd6c5a8910476ab30db312fca543b094c4
ib/ExecutionEngine/Compiler.cpp
5e3e0ce19d80c9a42b89ca95f22d98fbbe6ffb14 17-Jun-2011 Shih-wei Liao <sliao@google.com> josephwen Adds caching for MC JIT.

New MCCacheReader in addition to the classic JIT's CacheReader.[cpp|h].
New MCCacheWriter in addition to the classic JIT's CacheReader.[cpp|h].

Change-Id: Iffd490caf25136d52cefc1c6bc2a78fa991236cd
ndroid.mk
nclude/bcc/bcc_mccache.h
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/MCCacheReader.cpp
ib/ExecutionEngine/MCCacheReader.h
ib/ExecutionEngine/MCCacheWriter.cpp
ib/ExecutionEngine/MCCacheWriter.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/SourceInfo.cpp
7d1bf58649eb8ddc3431f104dbde8cb5711b6ec9 13-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Add fine-grain debug message.
ib/ExecutionEngine/Compiler.cpp
70dd998ad9d75fddfa513a420e078bec2938d539 13-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Fix bug: Use same algorithm to generate export var list.
ib/ExecutionEngine/Compiler.cpp
2d37d30d205d907125d3560834c9cd13f5c4eee2 13-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Code cleanup: Print better-looking LOGD message.
ib/ExecutionEngine/bcc.cpp
998899fa3f8d598823fd3f8be48567d74a0a4c6c 13-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Fix DebugHelper in *.c source code.
elper/DebugHelper.h
da5e0c369ad20bf70556c7e7cf86807cf171730d 12-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Add MC-based code generation support (experimental)

This feature is disabled by default. To enable it, please
open Config.h and change USE_MCJIT from 0 to 1.
ndroid.mk
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/ScriptCompiled.cpp
4cc0033ef37fc28501d2e337c5bd3b072b9edad0 12-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Extract LTO related code from compile function.
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
b0ceca26bf000b6d18289b8491b174ad3d1fc93a 12-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Rename to USE_OLD_JIT and USE_MCJIT.
onfig.h
ib/ExecutionEngine/Compiler.cpp
f0b0d9785c9ff751792da1fa6a4a824dda437bdf 12-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Keep the onwership of TargetData. Dont give it to CodeGenPasses.
ib/ExecutionEngine/Compiler.cpp
f8d90120c146b4bbe636093df9281fcba1479bb4 11-Jun-2011 Logan Chien <tzuhsiang.chien@gmail.com> Fix typo: Cache.h -> Config.h
ndroid.mk
09b6c1cf826b7fcb31fb0590250352d037b5d249 24-May-2011 Nowar Gu <nowar100@gmail.com> Fix Android.mk and namespace prefix std.
ndroid.mk
ib/CodeGen/CodeEmitter.cpp
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Script.cpp
6c0c7b03307a6e6dacb163df804a03b6bae36ce6 22-May-2011 Shih-wei Liao <sliao@google.com> Use FileHandle for MC object file

Change-Id: If6330237145c9ca66c820db1495e9745a90f7aea
ib/ExecutionEngine/Compiler.cpp
96f9e99623c406070bc73e5304425a134133dc94 21-May-2011 Shih-wei Liao <sliao@google.com> Merge "Set up the file permission correctly."
4fdaa3e622a4780980e79ce465fca53ee0b80b09 21-May-2011 Shih-wei Liao <sliao@google.com> Set up the file permission correctly.

Change-Id: I76e896c9ee5680fec332a5586e049f05f6eb8904
ib/ExecutionEngine/Compiler.cpp
4b88cf745c373d06a58d8ee2cebad31d0d0a4aae 20-May-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with honeycomb-release

Change-Id: I4e2da9b9247aa807b1f2caa998c0ef7492084170
5c00f4f46a22d9fa8f3eb0ce90aec5eb40d30a9d 20-May-2011 Shih-wei Liao <sliao@google.com> Remove mResName and remove the hardwire pathname "/data/data".

Make the code robust.

Change-Id: Ia49eda1885ace0f9603cc181ba95d4d63ab586fc
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
de0ba06cf9f96118261e8d242c0ac08869a54442 19-May-2011 Shih-wei Liao <sliao@google.com> MC should use cache directory cache/ as oBCC does.

Use std::string in constructing cache path above.

Change-Id: I02c478a7513ac87af07357137f56a42fe4615bc2
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
898c5a90f3a63248d236161130003b3315e03956 18-May-2011 Shih-wei Liao <sliao@google.com> Integrate from jush MC Assembler is done.

Change-Id: I5e640691397b8988a6b27fb454c4bfc24a4f5c41
onfig.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCompiled.h
27b35101c2323e96fbb4df41b0de0eed468f6fa9 12-May-2011 Stephen Hines <srhines@google.com> Log LLVM error messages in libbcc.

Change-Id: I97f1e73f28c326c5df8a3cfca2bb50692ce32999
ib/ExecutionEngine/Script.cpp
bbcef8ad069ee33c3bfc52dcd1bd6e1a7633e1f9 05-May-2011 Stephen Hines <srhines@google.com> Properly handle asserts for libbcc.

BUG=3430681

Change-Id: I906bbdefa6724cefa0e11f04ff1c5a9bc85ab88b
ndroid.mk
nclude/bcc/bcc_assert.h
ib/CodeGen/CodeEmitter.cpp
ib/CodeGen/CodeEmitter.h
ib/CodeGen/CodeMemoryManager.cpp
ib/CodeGen/CodeMemoryManager.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Runtime.c
untime/BlocksRuntime/runtime.c
cfd23fde40cf0cb600dd8a09563ff8fe3e5f9c0a 20-Apr-2011 Shih-wei Liao <sliao@google.com> Modify CodeEmitter due to upstream API changes.

Upstream changed the API of mpTarget->createMCInstPritner.
Apply changes of csmon to migrate to llvm upstream r129128. More CLs coming next.

Change-Id: I1d8f840f6564431374fde7be9e09cd0ddac88e8e
ib/CodeGen/CodeEmitter.cpp
ib/CodeGen/CodeEmitter.h
8a8766deedde855d98c22dc8acea75d97089416b 05-Apr-2011 Stephen Hines <srhines@google.com> Merge "Re-enable warnings as errors."
40b7fba14f35a159991067132990463bfaa800c0 18-Mar-2011 Stephen Hines <srhines@google.com> Re-enable warnings as errors.

Change-Id: I0a512eea437e38759a53e0cafec13b8157bf86a5
ndroid.mk
ib/ExecutionEngine/CacheReader.cpp
bb5adc7c3870d2125cb8fdecf6e42e8be98c4769 18-Mar-2011 Shih-wei Liao <sliao@google.com> SHA1sum usage.

Change-Id: I7829cd57bf0fb9878a04c3d81edf17a5de2da741
onfig.h
965597c4d9d85117962128d6cb2a8a7f9542d3b7 17-Mar-2011 Shih-wei Liao <sliao@google.com> am f3461374: Save 100+ms in launching Books, Youtube, ... apps each time. b/3381327

* commit 'f34613746616aad79e1a40162e6ad2d3933fc0e0':
Save 100+ms in launching Books, Youtube, ... apps each time. b/3381327
f34613746616aad79e1a40162e6ad2d3933fc0e0 17-Mar-2011 Shih-wei Liao <sliao@google.com> Save 100+ms in launching Books, Youtube, ... apps each time. b/3381327

Use build-time hash (timestamp) instead of runtime computation of
SHA1sum. This impacts Videos, Movie Studio, ... all the apps
using RenderScript.

Change-Id: Ia18f5164a21e4282c1bf810adb26245a0eb9a631
onfig.h
63ef306792b0315a59c72f1e04a7eeef09600b3e 15-Mar-2011 Joe Onorato <joeo@google.com> -Werror was triggering errors on mac

Change-Id: I39ec41eeb437c0eb060ccf689b60df9c55412025
ndroid.mk
2df88edabd665bfdf8e52c2fe8a5c083df415dd5 15-Mar-2011 Stephen Hines <srhines@google.com> Merge "All warnings should be enabled/errors in libbcc."
97bd44dd749c26b03333cb769d6f7c41d1a1bbfe 14-Mar-2011 Iliyan Malchev <malchev@google.com> frameworks/compile/libbcc: remove LOCAL_PRELINK_MODULE

Change-Id: I82f02ebffca898810e074dd6b27f1698d31cfc9b
Signed-off-by: Iliyan Malchev <malchev@google.com>
ndroid.mk
3b910a514abc7e0901094157d32f6079b69e2393 12-Mar-2011 Stephen Hines <srhines@google.com> All warnings should be enabled/errors in libbcc.

Change-Id: Ib2b440362e0d30d74d8e6a8a41fb8ae8c7438771
ndroid.mk
9b96b188001fce8924322a6bec33057772d09a38 11-Mar-2011 Shih-wei Liao <sliao@google.com> Move libLLVMX86AsmPrinter to the next line of libLLVMX86Utils.

Fix x86 build.

Change-Id: I5d0e2a01bed64e8eb392eafa8a101dbbffff278f
ndroid.mk
6228f9dbf3150ceaa72fa7734b905b1d74075b2a 11-Mar-2011 Shih-wei Liao <sliao@google.com> libbcc host needs to have STATIC library libLLVMX86Utils.

Fix x86 build.

Change-Id: I43cc829992a4395096f95857cd009a878018ca94
ndroid.mk
dbadbf4602ba5353055c7eb2dc5094cf928acc60 11-Mar-2011 Shih-wei Liao <sliao@google.com> Fix x86 build.

Link libLLVMX86Utils.

Change-Id: I272f3647a0e2bed17448797f145e40df5a58c970
ndroid.mk
c4ea07fae41dad1b38cb5d9ab802f78d99c8b00f 09-Mar-2011 Logan Chien <tzuhsiang.chien@gmail.com> Apply changes to sync with llvm upstream.
ndroid.mk
ib/CodeGen/CodeEmitter.cpp
ib/ExecutionEngine/ContextManager.cpp
ib/ExecutionEngine/ContextManager.h
ib/ExecutionEngine/SourceInfo.cpp
2638e4c3c82c1e0fa7e3b56851b2f3228e1dc7a2 03-Mar-2011 Stephen Hines <srhines@google.com> Use arm target triple instead of x86.

BUG=3508986

Change-Id: I785359697fa7986e124d7d1e00ad2c2f7f36efcf
ib/ScriptCRT/Android.mk
ib/ScriptCRT/build_clcore.sh
48ff862fc5317232be714b7d57caeaa79e886467 02-Mar-2011 Shih-wei Liao <sliao@google.com> libbcc Compiler Runtime Function Info

Change-Id: Ic839cce50235b77811e28ce1ce58d32241295e8f
untime/RuntimeDoc.rst
8f5389af3e2741f90bdb6909f97e8c72addfe536 02-Mar-2011 Shih-wei Liao <sliao@google.com> Fix x86 builds.

Add libLLVMX86InstPrinter, which was recently added to LLVM upstream.

Change-Id: Ic4044f3f66e864e99e4d4261d3f8addbfde75783
ndroid.mk
79f500c7abb42cbd0d6bfd8a2e8fea114ed15ba5 02-Mar-2011 Shih-wei Liao <sliao@google.com> Fix NOTICE.

Change-Id: I0d0f06b26c7711fdc6f7b59c5096f8992530954d
OTICE
33a12273586d99ce9a58fdba9b6d15ce3b2a17e7 02-Mar-2011 Shih-wei Liao <sliao@google.com> Check in CleanSpec.

Change-Id: Ic662e11745a2e66ad1e76e75a522e9197356977a
leanSpec.mk
53dc5d5901f80215a6c8b60ded929c1b3f05de6e 02-Mar-2011 Shih-wei Liao <sliao@google.com> Add NOTICE.

Change-Id: Iaae92303140ccbf2f8e9bea24d6c840ef7246898
OTICE
45e84be0bbe39c5e08e1c2a45c62e09c9dcd0582 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Rename bcc -> ExecutionEngine , runtime -> ScriptCRT
ndroid.mk
ib/ExecutionEngine/CacheReader.cpp
ib/ExecutionEngine/CacheReader.h
ib/ExecutionEngine/CacheWriter.cpp
ib/ExecutionEngine/CacheWriter.h
ib/ExecutionEngine/Compiler.cpp
ib/ExecutionEngine/Compiler.h
ib/ExecutionEngine/ContextManager.cpp
ib/ExecutionEngine/ContextManager.h
ib/ExecutionEngine/DebugHelper.h
ib/ExecutionEngine/FileHandle.cpp
ib/ExecutionEngine/FileHandle.h
ib/ExecutionEngine/Runtime.c
ib/ExecutionEngine/Runtime.def
ib/ExecutionEngine/Runtime.h
ib/ExecutionEngine/RuntimeStub.c
ib/ExecutionEngine/RuntimeStub.h
ib/ExecutionEngine/Script.cpp
ib/ExecutionEngine/Script.h
ib/ExecutionEngine/ScriptCached.cpp
ib/ExecutionEngine/ScriptCached.h
ib/ExecutionEngine/ScriptCompiled.cpp
ib/ExecutionEngine/ScriptCompiled.h
ib/ExecutionEngine/Sha1Helper.cpp
ib/ExecutionEngine/Sha1Helper.h
ib/ExecutionEngine/SourceInfo.cpp
ib/ExecutionEngine/SourceInfo.h
ib/ExecutionEngine/bcc.cpp
ib/ExecutionEngine/bcc_internal.h
ib/ScriptCRT/Android.mk
ib/ScriptCRT/build_clcore.sh
ib/ScriptCRT/rs_cl.c
ib/ScriptCRT/rs_core.c
ib/bcc/CacheReader.cpp
ib/bcc/CacheReader.h
ib/bcc/CacheWriter.cpp
ib/bcc/CacheWriter.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/ContextManager.cpp
ib/bcc/ContextManager.h
ib/bcc/DebugHelper.h
ib/bcc/FileHandle.cpp
ib/bcc/FileHandle.h
ib/bcc/Runtime.c
ib/bcc/Runtime.def
ib/bcc/Runtime.h
ib/bcc/RuntimeStub.c
ib/bcc/RuntimeStub.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCached.cpp
ib/bcc/ScriptCached.h
ib/bcc/ScriptCompiled.cpp
ib/bcc/ScriptCompiled.h
ib/bcc/Sha1Helper.cpp
ib/bcc/Sha1Helper.h
ib/bcc/SourceInfo.cpp
ib/bcc/SourceInfo.h
ib/bcc/bcc.cpp
ib/bcc/bcc_internal.h
ib/runtime/Android.mk
ib/runtime/build_clcore.sh
ib/runtime/rs_cl.c
ib/runtime/rs_core.c
52ca0185b65bf2f73fcb807d8b6dd04a82427dc6 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Eliminate rs_cl compilation warning.
ib/runtime/rs_cl.c
2f789f30fe97d0eb0dad2cc7b4b26665dca7d514 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Move DebugHelper files to helper directory.
ndroid.mk
elper/DebugHelper.c
elper/DebugHelper.h
elper/logd_write.c
4dcd6798f3db374a056ea6acc6b425f544c5207c 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Create DebugHelper.h

From now on, include DebugHelper.h for debug purpose.
onfig.h
nclude/bcc/bcc.h
ib/bcc/CacheReader.cpp
ib/bcc/CacheWriter.cpp
ib/bcc/Compiler.cpp
ib/bcc/ContextManager.cpp
ib/bcc/ContextManager.h
ib/bcc/DebugHelper.h
ib/bcc/FileHandle.cpp
ib/bcc/Script.cpp
ib/bcc/ScriptCached.cpp
ib/bcc/ScriptCompiled.cpp
ib/bcc/Sha1Helper.cpp
ib/bcc/Sha1Helper.h
ib/bcc/SourceInfo.cpp
ib/bcc/bcc.cpp
825c3b2d2e18d54626d277f441de47ee849ef03b 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Add NULL guard for mSourceList[i].
ib/bcc/Script.cpp
96d250ebab6569a18c9edb7f03a03dd7d77ef288 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Add const-qualifier for isManagingContext.
ib/bcc/ContextManager.cpp
ib/bcc/ContextManager.h
a6f41a76ed28224bccaf3c207943f84c7ef4fb8a 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Extract runtime stub and update 2 runtime function

- Extract runtime stub from Runtime.c
- Remove __muldsi3 from Runtime.def. Since it is declared static by
llvm compiler-rt, we should not export them.
- Add alias for __aeabi_f2uiz because libgcc (for android) does not
come with __aeabi_f2uiz.
ndroid.mk
ib/bcc/Runtime.c
ib/bcc/Runtime.def
ib/bcc/RuntimeStub.c
ib/bcc/RuntimeStub.h
4fe966f57524077720f1b729eecf5f320b19513b 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Turn off neon which is not working now.
ib/bcc/Compiler.cpp
7583c132c44eb63204357bf64b2918f0e98520f7 27-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Add ARM runtime abi support
ib/bcc/Runtime.def
1dc6314a03b320f9ba5431834c2deeba13f5f065 25-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Refine ContextManager

- Add isManagingContext API
- Remove global lock and global variable (use Singleton instead)
- Encapsulate getSlotIndexFromAddress API
- Extract configurable define to Config.h
onfig.h
ib/CodeGen/CodeMemoryManager.cpp
ib/bcc/CacheReader.cpp
ib/bcc/CacheWriter.cpp
ib/bcc/ContextManager.cpp
ib/bcc/ContextManager.h
ib/bcc/Script.cpp
ib/bcc/ScriptCached.cpp
ib/bcc/ScriptCompiled.cpp
34678abffcc138b8a735156a3eb2284613eafd7c 07-Feb-2011 Kenny Root <kroot@google.com> Add x86 target support

Change makefiles to allow targeting X86 along with ARM.

Add some #if statements in Runtime.{c,def} to allow targeting X86 along
wtih ARM.

Change-Id: I3b26ade0e2b464ad410d892bfec22897fa7f7009
ndroid.mk
ib/bcc/Runtime.c
ib/bcc/Runtime.def
9365a3da8796df17a50862a829582a8f7fe5d158 05-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
30efbccca471ec28c559ca17cc8b4c69c7b34b7f 05-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
eab426991ea24a92d11086ce859ee38161ee420b 05-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
f3d65d027ab20e2f6deb994e4b5aedcd7f8d080e 04-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
a6e6347fae235c272f19799418c9ad60bb9f03f7 04-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
8be4f51fcac75e2b3465015848e5078ee5d54a99 04-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
000f261010bc11b1e245435b45a2e16bec474d92 04-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
111f319baf125010f52c303e58cb6d816df2f5da 03-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
e787ee74d439707bd7a2d7ee86feb2beb80f39ed 03-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
0901f854906122d223b2b9d804ccc9aeef97ed4e 03-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
6f329d93dd0d4353c32def961d35eec6cc3e2d90 02-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
65ea7414e97aa5d88c344c17a8023b51882f5d6c 01-Feb-2011 Shih-wei Liao <sliao@google.com> am 8eb5fe9a: This fix is for a correctness bug. An app may black-screens due to this caching bug.

* commit '8eb5fe9af685c5a2717f3c1ee6b2565b22692c00':
This fix is for a correctness bug. An app may black-screens due to this caching bug.
619d844d8c42dca0c7e67caae171e4190b184db6 01-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
8eb5fe9af685c5a2717f3c1ee6b2565b22692c00 01-Feb-2011 Shih-wei Liao <sliao@google.com> This fix is for a correctness bug. An app may black-screens due to this caching bug.

The 1-character fix is straightforward. I just added "!" before an if-expression.
I.e., when a cache file is NOT threadable, we should clear the threadable. The bug
is because I missed the "NOT" above. This issue is different from 3398625.

Change-Id: Iae89a0a754fbd5ad74f80be4d7744fb6734680a7
ib/bcc/Script.cpp
d64e1e202423a18ea2eaed06725cdc004dbfb7a6 01-Feb-2011 Shih-wei Liao <sliao@google.com> Remove dirty hack. libRS will use bccLinkFile.

Change-Id: I1b7a8fe9840154ff40755c00f62cd05a59e0c209
ib/bcc/bcc.cpp
0671ee77dcd97a60a493a1213eaf7db08d224049 01-Feb-2011 Shih-wei Liao <sliao@google.com> Sha1sum usage.

Change-Id: I6987585484846fb5feb42706a5e03969414cc905
onfig.h
54a72673b1448c23c2b4a9ed5c37739b8f052974 01-Feb-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
c1d27438480d9333227e1db6039942f6b2ca0b2b 30-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add dirty hack for libRS backward compatibility.
ib/bcc/bcc.cpp
474cbd2fde362e63375f7a5099ca38b5c67835cf 30-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add bccReadFile, bccLinkFile.
ndroid.mk
nclude/bcc/bcc.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCompiled.h
ib/bcc/SourceInfo.cpp
ib/bcc/SourceInfo.h
ib/bcc/bcc.cpp
42598054d2d278bddde812f160517162e95342c1 26-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Enhance the cache-writing policy.
ib/bcc/CacheReader.cpp
ib/bcc/CacheReader.h
ib/bcc/ContextManager.cpp
ib/bcc/ContextManager.h
ib/bcc/Script.cpp
ib/bcc/Script.h
0b24083e7e9845209f8ecd11ef77498cf24a73dd 30-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
0502ee9c2afcd31427f4cafcc3c0d93d65660771 30-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
7c6250c4913ba076f4409a40267c0a327117f975 29-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
39ebe2c22f8557752065465345bb3006d06e4497 28-Jan-2011 Shih-wei Liao <sliao@google.com> For b/3381327: Save 159+ms for every launch of Books, YouTube, Movie Studio...

Before this CL, you will see in the logcat:
698 StopWatch D StopWatch calcFileSHA1 time (us): 159162
698 bcc I File opened. fd=45
698 bcc I File closed. fd=45
698 StopWatch D StopWatch calcFileSHA1 time (us): 19282
...
This CL also cleans up bcc's logcat.

Change-Id: I4e23b459eee0dc77ef186fb761a64d731a721517
onfig.h
ib/bcc/CacheReader.cpp
ib/bcc/Compiler.h
ib/bcc/ContextManager.cpp
ib/bcc/FileHandle.cpp
ib/bcc/Script.cpp
ib/bcc/bcc.cpp
ib/runtime/rs_core.c
716e7630e627721d877933a02c9643216d74265c 28-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
071288a0a3bbc3c4a6e161ea7474a5c06bd15ae0 27-Jan-2011 Stephen Hines <srhines@google.com> Add BCC support for rs_object_slots metadata.

This is added to support proper cleanup of RS resources. We were leaking some
global resources because there was no way to tell which slots to clear.

Change-Id: I3e01ff4f7105444b7610d514f10dd56cb1b359b8
b: 3381615
nclude/bcc/bcc.h
nclude/bcc/bcc_cache.h
ib/bcc/CacheReader.cpp
ib/bcc/CacheReader.h
ib/bcc/CacheWriter.cpp
ib/bcc/CacheWriter.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCached.cpp
ib/bcc/ScriptCached.h
ib/bcc/ScriptCompiled.cpp
ib/bcc/ScriptCompiled.h
ib/bcc/bcc.cpp
894f1ec4fa73c2373859feb0a854d8d6dc29ca1e 27-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
937a0bc1c7396b1da63917b3dc5c5aa6d920005b 27-Jan-2011 Jeff Brown <jeffbrown@google.com> Fix concurrency bugs in BCC JIT cache.

ContextManager could potentially be accessed by multiple threads
so we now use a Mutex.

Fixed a bug in ContextManager where it could mark a slot as having
been assigned even though the subsequent call to mmap failed.

Added code to delete the cache file before recreating it. The existing
file may still be mmapped and executing somewhere else so we don't want
to modify its contents.

Bug: 3345334
Change-Id: I9c8382d9695741b92a4f66c4529ebb5d9a95f1d9
ndroid.mk
ib/bcc/ContextManager.cpp
ib/bcc/Script.cpp
b3d3f230fe19870b8dabaad470f6f32330c84996 27-Jan-2011 Shih-wei Liao <sliao@google.com> Fix _RS_STATIC (used while we do on-host linking). Now we do
on-device linking, STATIC no longer makes sense. (b/2943524)

Change-Id: I41ab2266699998957d77d675116ade82c0660fb8
ib/runtime/rs_cl.c
9099ddc17389469d25a348b42f00c2e033e6f1d7 26-Jan-2011 Shih-wei Liao <sliao@google.com> Change the Cache Version to 1, after those on-device linking CLs.

Change-Id: Ie087909df44b7dbce00ffc5861ba06a62aee9089
b:2943524
nclude/bcc/bcc_cache.h
50cdf8f0f96362b03fc0476381bd853298c94439 26-Jan-2011 Shih-wei Liao <sliao@google.com> Part II of Fix b/2943524: On-device linking rs_core.

Change-Id: I3a633396e4f93b9453fc5795e092c37f18cf5dd5
ib/runtime/rs_core.c
f6519c7a5d4d35f611d9a60259eea41d1ecfea66 26-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
9e658b40138789ffc88be5e2a63818b6c1e1e5ff 26-Jan-2011 Shih-wei Liao <sliao@google.com> Fix b/2943524: On-device linking the rs_cl.

Change-Id: I8df53bcc68723e5551bd2472597f9befb4843a8b
ib/runtime/rs_cl.c
43ecd19bf251eab2144c834fc066f5484b82770e 25-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
13cc037c2fda5e0abcd35146daef3bc3232c11ec 24-Jan-2011 Stephen Hines <srhines@google.com> Add encoded instruction bits to disassembly log.

This is added to help track down code generation bugs like:
b: 3378908

Change-Id: I61a28282a1634f1fe310de7debeb8abc2507c4df
ib/CodeGen/CodeEmitter.cpp
976f700ae46f20b2864f2756b51ade7f110342d5 24-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
1bdcc5466a965c1ff356f78f90be78414098cc02 23-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
74dba49af66a29b6d591db8777d149348fd2e9d4 22-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
15010ef79c77ba1ff3859919c149891d86ede7c3 21-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
ce82d492bbcc4da2d5358275c27ec38eef060fbd 20-Jan-2011 Shih-wei Liao <sliao@google.com> Handle fatal errors for bccRegisterSymbolCallback.

Change-Id: Ifc4e076628c510aee184857e0f8b9df346ad93d7
nclude/bcc/bcc.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/bcc.cpp
6ddcc91a85621b29ac257a01839b395288033401 20-Jan-2011 Stephen Hines <srhines@google.com> Merge "Skip builtin functions for compiling libraries." into honeycomb
d993b91e6766ec26b904de52d9c8a54bda0d6700 20-Jan-2011 Stephen Hines <srhines@google.com> Skip builtin functions for compiling libraries.

Change-Id: I1121178f45d7a9bc5fbeb2da2addab61a1a04f15
ib/runtime/Android.mk
fe1cbef9b5b18674b1daeb79ea961b30ad678554 20-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
be849444026ddd3b864164d96068b37c231440c1 20-Jan-2011 Shih-wei Liao <sliao@google.com> Clean up.

Change-Id: If4eaef7909dd6aba8fa210ae624b33a5423eece7
EADME.html
EADME.rst
362cd36e5ed927a565d216e21c0acc0c56cccb64 19-Jan-2011 Shih-wei Liao <sliao@google.com> Merge "external/clang/lib/Headers should also be included for libclcore.bc" into honeycomb
dce5985ff48ec9cbf20c4483c43980b73776c033 19-Jan-2011 Ying Wang <wangying@google.com> external/clang/lib/Headers should also be included for libclcore.bc

Change-Id: If00789fd8d7a1313cd2c8ec99dcd791aaf2a4d39
ib/runtime/Android.mk
0e570cb2c49ba66caa171a8e97158016bceed08e 19-Jan-2011 Ying Wang <wangying@google.com> Generate header dependency for libclcore.bc.

Change-Id: I15582486170835a0c8c77b1456592620842e19d7
ib/runtime/Android.mk
25f7c744b3ed16642f04c446f4f1b6937d1b4436 19-Jan-2011 Ying Wang <wangying@google.com> Add cleanstep to remove libruntime.bc

libruntime.bc was replaced by libclcore.bc.

Change-Id: I365e9dfcf153244e1a37a13888b89a4627e109b4
leanSpec.mk
719b89cee0d9b328344873d3c553c78d74ab17f3 19-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
9ab89a9d87693b73f9f0836d51c5405d0ed6ba89 19-Jan-2011 Shih-wei Liao <sliao@google.com> Clean up. C99 enforcement.

Change-Id: I08a80a4448c94a4bebd51bc627c504dfecd72123
ib/runtime/Android.mk
ib/runtime/build_clcore.sh
ib/runtime/rs_core.c
ac949c65877acf1aa5b20bf0195e2b07d0ad48d0 19-Jan-2011 Shih-wei Liao <sliao@google.com> Fix on-device lib.

Change-Id: I8effc170e5984c6ba4ed075e28a6dc2dd3730448
ib/bcc/Compiler.cpp
77643ba4fb6e93037940294a03149e68c353b4fa 19-Jan-2011 Ying Wang <wangying@google.com> Add rule to build librclcore.bc as replacement for libruntime.bc.

Change-Id: Ief73c30f426e3f262a6c703fc42ac27d09fb1905
ndroid.mk
ib/Android.mk
ib/runtime/Android.mk
ib/runtime/Android.mk.disabled
ib/runtime/build_clcore.mk
ib/runtime/build_clcore.sh
ib/runtime/libruntime.bc
ib/runtime/libruntime.ll
ib/runtime/rs_cl.c
ib/runtime/rs_core.c
ff361e6ecced0c211f9b211d96e52968a2e15eab 19-Jan-2011 Shih-wei Liao <sliao@google.com> Rewrite build_clcore.

Change-Id: I1241e66ec691ebb419728042e873ea5f0d337b50
ib/runtime/build_clcore.sh
ib/runtime/rs_cl.c
ib/runtime/rs_core.c
92035ff3581262b2f25b99c4219ca9976ab4eb5f 18-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
862ca81763a52384c6c33facd7632392bc37e691 18-Jan-2011 Shih-wei Liao <sliao@google.com> Build clcore mk.

Change-Id: I6b9275b18fb61c9b12e1811057c9cd5c5fc41f88
ib/runtime/Android.mk.disabled
ib/runtime/build_clcore.mk
fdaf43f9923f5a9937eed3014ef39dd8273717f6 18-Jan-2011 Shih-wei Liao <sliao@google.com> build_clcore.sh

Change-Id: I3acf45f629279117b9004397934c501469c8345d
ib/runtime/build_clcore.sh
ib/runtime/build_runtime.sh
f9728b9705e0cff1ee7151daeb21944320b438da 18-Jan-2011 Shih-wei Liao <sliao@google.com> Build runtime

Change-Id: I8a5c72baa7a05fdf48512bb82ce6a5067475597b
ib/runtime/build_runtime.sh
ib/runtime/rs_cl.c
ib/runtime/rs_core.c
7860b7d325779e6cf331558ec067a8aad7a0aeaa 17-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
36a0f0c82eec8ec81925ba571e813407d908bbe3 17-Jan-2011 Shih-wei Liao <sliao@google.com> lib/runtime

Change-Id: I676353142b5e65e3ee5402fd47b342838eed6246
ndroid.mk
ib/bcc/Compiler.cpp
ib/bcc/rslib.bc
ib/bcc/rslib.ll
ib/runtime/libruntime.bc
ib/runtime/libruntime.ll
20bfaf7a8ae94ce067545c4dbefb550ba8a95f77 17-Jan-2011 Shih-wei Liao <sliao@google.com> Clean up.

Change-Id: Iac63c79527d4d18ad6ccfe2495f8afc91325b32a
ODULE_LICENSE_APACHE2
67d8f37778f6730cef365a0d469113bc929c0a66 17-Jan-2011 Shih-wei Liao <sliao@google.com> Fix the build.

Change-Id: I345b5485fb13e1db7d94cc0a1ab729bb671a4331
ndroid.mk
ib/CodeGen/CodeEmitter.cpp
ib/CodeGen/CodeEmitter.h
ib/CodeGen/CodeMemoryManager.cpp
ib/CodeGen/CodeMemoryManager.h
585f22c6115b165a5b1e5513f1a545787fbfa06c 17-Jan-2011 Shih-wei Liao <sliao@google.com> Rearrangement.

Change-Id: Ice93d6f674b69448af17311367abf9c55dcf9197
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeEmitter.h
ib/bcc/CodeMemoryManager.cpp
ib/bcc/CodeMemoryManager.h
644fcf2e08c7373d7080a2be81444ce6aaba9e2e 17-Jan-2011 Shih-wei Liao <sliao@google.com> Fix rslib.ll.

Change-Id: Icb153e880ceba0d7805c7a9eafb9f1b17faf2f72
ib/bcc/Compiler.cpp
ib/bcc/rslib.bc
ib/bcc/rslib.ll
3ec1d0f8a4760146f325c31e297d32fcaca029a3 17-Jan-2011 Shih-wei Liao <sliao@google.com> Should do "== 1" check.

Change-Id: I49aab50a9269f8f171972f5073e14037fc1ffd44
ib/bcc/Compiler.cpp
74fbea7f289935b8593035c26311a8aad1b5e949 17-Jan-2011 Shih-wei Liao <sliao@google.com> Fix bccLinkBC.

Change-Id: I67d6f1a0dabfb272416a1f89258252facfbb3c00
ib/bcc/Compiler.cpp
ib/bcc/Script.cpp
ib/bcc/rslib.bc
ib/bcc/rslib.ll
623b180f041f22cc059b0eb95786298a6fdd0ef8 16-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
9e27e3b331da916bee6c6c041805e22c3023a83c 16-Jan-2011 Shih-wei Liao <sliao@google.com> bitcode.

Change-Id: I46579d1253ebaebfa70e40e01488601af156cfc2
ib/bcc/rslib.ll
847181c8e9dd431e7fab83e04210e3a410e76ce3 16-Jan-2011 Shih-wei Liao <sliao@google.com> Turn on on-device linnking using getFile.

Change-Id: I6451c60fd947824b07dd3ba0793681b19fe3f7f7
ib/bcc/Compiler.cpp
f60c0fc9a38521df848346a81801e64860b04c13 16-Jan-2011 Shih-wei Liao <sliao@google.com> Update rslib.bc using llvm-as of r112347.

Change-Id: I90696ac3b76d362ee103a3f7646fbdf0d8f92a82
ib/bcc/rslib.bc
358490082d8435aa36feaff8107aa55c3cf363ad 15-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Introduce Config.h. So that libbcc will rebuild on config change.
ndroid.mk
onfig.h
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeEmitter.h
ib/bcc/Compiler.cpp
ib/bcc/Runtime.c
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/Sha1Helper.cpp
ib/bcc/Sha1Helper.h
ib/bcc/bcc.cpp
e89f60008eedc589f41c200c4e6012e660d4aea2 14-Jan-2011 Ying Wang <wangying@google.com> Merge "Install rslib.bc into the device as a prebuilt target shared library." into honeycomb
a74d32b37eb358ff007f7de28a807749178121ff 14-Jan-2011 Ying Wang <wangying@google.com> Clean step for the host libbcc.

Change-Id: I6a0716e98541cf485c351c255562cb544a15eb90
leanSpec.mk
3ae8c2a783ead3f233d6b290019cad37bfe6bbf5 14-Jan-2011 Ying Wang <wangying@google.com> Install rslib.bc into the device as a prebuilt target shared library.

Change-Id: Ice921ef851c143303f1cdf7fac4813e79c35ce94
ndroid.mk
fa196a614d61ef4e280b0fdc1ccf233b30a741eb 14-Jan-2011 Kristian Monsen <kristianm@google.com> I think this is needed for incremental builds

Change-Id: I1ebabddf9c9ed6dcab0dde6ce2a72026d87c44bc
leanSpec.mk
9c7982b6d79424884c43e37d2935e0432d35fac6 14-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
b8b4d105d242cb41b69f48bb6ef31ce1cf6d1656 14-Jan-2011 Shih-wei Liao <sliao@google.com> Clean up.

Change-Id: I57fdce30f2958c94990e285fac38f7c0da4244f6
OTICE
50b13e7c90cef8cd9bee4af19f18b326188cd60e 14-Jan-2011 Shih-wei Liao <sliao@google.com> Turn off on-device linking.

Change-Id: I22744cffc13b4bbb5c5b9224fde3473d2f9af24c
ndroid.mk
52fb1e93af048acde6405038fe8bfabfd8c45a0f 14-Jan-2011 Shih-wei Liao <sliao@google.com> For on-device linking the rslib.bc.

Change-Id: Ia2bddadd60f33e33310f87dda6c21f0136aea76a
ndroid.mk
adc2b9a8248d1fae12b11be1b4ff25db6e108867 14-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Eliminate compilation warning.
ib/bcc/Script.cpp
f340bf71ff377979d279132dcf5a801d76747d1f 14-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Redesign libbcc api.
EADME.html
EADME.rst
nclude/bcc/bcc.h
nclude/bcc/bcc_cache.h
ib/bcc/CacheWriter.cpp
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeEmitter.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/EmittedFuncInfo.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCached.cpp
ib/bcc/ScriptCached.h
ib/bcc/ScriptCompiled.cpp
ib/bcc/ScriptCompiled.h
ib/bcc/bcc.cpp
ib/bcc/bcc_internal.h
ests/Android.mk
ests/main.cpp
be79ada39b5e77b638940d2e157a45904ee09275 12-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Rewrite the internal code of get functions.

getExportVars -> getExportVarCount , getExportVarList
getExportFuncs -> getExportFuncCount , getExportFuncList
getPragmas -> getPragmaCount , getPragmaList
getFunctions -> getFuncCount, getFuncNameList
getFunctionBinary -> getFuncBinary
ib/bcc/CacheWriter.cpp
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCached.cpp
ib/bcc/ScriptCached.h
ib/bcc/ScriptCompiled.cpp
ib/bcc/ScriptCompiled.h
ib/bcc/bcc.cpp
94bf1c1882a5f5dbc57faa4898b10312d704857b 14-Jan-2011 Shih-wei Liao <sliao@google.com> Need sha1 for libbcc.

Change-Id: Id54a8addcc3b87cdbdfbe9b9dc22334cc5e8cda6
ndroid.mk
b8b7f2d58836ac5204fd3206cc2d6fae56dd5cbc 14-Jan-2011 Shih-wei Liao <sliao@google.com> Add libLLVMBitReader, libLLVMCore, libLLVMSupport

Change-Id: Iaf29e6af4d6dd8099361e345e1a7e0c6974b7d78
ndroid.mk
4f25cc7b54a594a13160757dd52e8c8437e0fbac 14-Jan-2011 Shih-wei Liao <sliao@google.com> Add a runtime library .bc file.

Change-Id: I394387e6100e90af08f7294ec78a85ac0d27ec5b
ib/bcc/rslib.bc
bb89365dec117041bcf955d4b4d69059122f38b2 13-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
8b67c072b0f8b0f10c62e9cbb707d65719428dd4 13-Jan-2011 Shih-wei Liao <sliao@google.com> MemoryBuffer::getFile alternative.

Change-Id: I4a421d893e8e52ea24b3a8de3a070c0010c14922
ib/bcc/Compiler.cpp
4ed0ce03ca1d68b279b9e4b5f0ba74cae3a10824 13-Jan-2011 Shih-wei Liao <sliao@google.com> Bitcode checking should return 1 upon failure. Bug fix.

Change-Id: Ic0dc7a4cc1a236044963914134676ddf19f8ffcf
ib/bcc/Compiler.cpp
c4cf6545a73aa43c6e74a7fcff72b4d1fe88399f 13-Jan-2011 Shih-wei Liao <sliao@google.com> Life cycle bug-fix. Log library info.

Change-Id: I4fd03560f81369f9f0987a3147e953e2fda0b10b
ib/bcc/Script.cpp
20860f9c7d3b315d07f1a00a420bf01622abd3df 12-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
a65266520846ecca8cc95587776c050c646ad624 12-Jan-2011 Shih-wei Liao <sliao@google.com> OBCC_VERSION.

Change-Id: I2eb7759ac6179cad66890fd1424638edb66a2475
ib/bcc/CacheReader.cpp
44882e19db46fa173ff97f86f2ca30feb4b00906 11-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Remove the unused variables.
ib/bcc/CodeEmitter.cpp
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
e132399eb9dc93123d50e9492ac7b01c2c9a4d35 11-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Check libbcc build time instead of sha1sum.

Since libbcc.so is larger than 3+Mb, it takes a lot of time
to calculate its sha1 checksum. In order to shorten the startup
time, we introduce the build time check. There will be a string
called libbcc_build_time in libbcc.so and the cached file,
which will store the build time of libbcc.so.

In case that you have to upate libbcc.so frequently, and you
want to enable the sha1 checksum of libbcc, then you may change
USE_LIBBCC_SHA1SUM to true.
ndroid.mk
nclude/bcc/bcc_cache.h
ib/bcc/CacheReader.cpp
ib/bcc/CacheWriter.cpp
ib/bcc/Compiler.cpp
ib/bcc/Script.cpp
ib/bcc/Sha1Helper.cpp
ib/bcc/Sha1Helper.h
ib/bcc/bcc.cpp
0dd8132b25f8e2b610e13ef573b2b6cb6c457bd6 11-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
344ccb59dba6bf7455819a48110ea5bda3d89b7d 11-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
22e8b2deb801b458cbf05f759b9e6d56909578e0 11-Jan-2011 Shih-wei Liao <sliao@google.com> Further clean up.

Change-Id: Id2d60712028e82ea3637480293a0ae8c6fd3a574
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeMemoryManager.cpp
ib/bcc/CodeMemoryManager.h
9aec09824b119cfd041c49a1fb2689a4987841e4 11-Jan-2011 Shih-wei Liao <sliao@google.com> Clean up.

Change-Id: I6917e2a735dcc19ba157f9a2c61d0cb854632751
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeEmitter.h
4079b593051c61af2aa3a89e2cdfe213177f5be7 11-Jan-2011 Shih-wei Liao <sliao@google.com> bccLinkBC returns int.

Change-Id: I389240a5bd01c8468b5c08b64b32a221d9018784
nclude/bcc/bcc.h
ib/bcc/bcc.cpp
cb2e4ee3b1d44d38246236efb1d209a68469e436 10-Jan-2011 Shih-wei Liao <sliao@google.com> README.html.

Change-Id: Icc2216eba3d39ba90b222ec4861fbcad8ca2d809
EADME.html
5ddcae509666b623419656351a078c4a4613cb43 10-Jan-2011 Stephen Hines <srhines@google.com> Fix a small typo.

Change-Id: I636071db4aec9b7b1a6aa2db804f617c40fda476
EADME.rst
0e43cc377ae2c5b6ba90fe994dbf59c967fe90b0 10-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
0dc51b1873ba340722f483eb2a639922360fbaf9 10-Jan-2011 Shih-wei Liao <sliao@google.com> Improve README.

Change-Id: Iec64ef92118b12f194c77c1cc29649059ed2daf5
EADME.html
EADME.rst
ac4e45840bade73558330a60ae26f3eab02f7db2 10-Jan-2011 Shih-wei Liao <sliao@google.com> Minor fix.

Change-Id: I200d0b114c8645fd07b7ad0d7edede6c1d11954f
EADME.html
EADME.rst
cecdab21b205a7cd8910e25c540d57bf4c709aa4 10-Jan-2011 Shih-wei Liao <sliao@google.com> Change "Machien Integer Type Information."
Chagne to "AOT and JIT" description.

Change-Id: I4df1c49a3aa2f8e7606a0299afc66c44adc76397
EADME.html
EADME.rst
8538dfa267837f95d83a0828e5c56a14d708b7b6 10-Jan-2011 Shih-wei Liao <sliao@google.com> resouece -> resource.

Change-Id: I0d21b1081bbcad4592240a8020ff4a9324cc9dfe
EADME.html
EADME.rst
7fff228542fa7dea6ea161063429b8152c57c488 09-Jan-2011 Shih-wei Liao <sliao@google.com> README.

Change-Id: I95a56df9b1c0b256f9149c5b13b963463fd3dd02
EADME.html
EADME.rst
e961c66347eb5dbe4f36004a71c58ca22e18d8c1 09-Jan-2011 Shih-wei Liao <sliao@google.com> Add README.html.

Change-Id: I4732059a2eb064b682690693a10415bb5cc239ed
EADME.html
0d4984b6819dd9c25d9f512893c46d86bac06a10 09-Jan-2011 Shih-wei Liao <sliao@google.com> README

Change-Id: I293ec329bbf94e825b469908780c788a85d11553
EADME.rst
36fafd9aa0d605ec6e2cb2ab8f3999625c164ba9 08-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Update README, and markup with reStructuredText.

Update the API documentation, since bccCompileBC and bccLoadBinary
are removed. Update the document about the cache file format.
Since the caching mechanism has been rewritten completely.

Note: Now, we are going to adopt reStructuredText to markup
the document. reStructuredText is a natural markup language,
which is human-eye-friendly (contrast to html).
EADME
EADME.rst
25e7da419b6be6cfde784fadd366f290532fe859 08-Jan-2011 Shih-wei Liao <sliao@google.com> Remove bccLoadBinary and remove the outdated comments (Now, invoking
Compiler::readBC is before knowing cache hit or not.)

Change-Id: I32fb075310abebdb3a7401a75fa76443d0a20c58
nclude/bcc/bcc.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/bcc.cpp
ests/main.cpp
f6267d1f0c65b10fa1d9b8aae08ad2c31df4a2e8 08-Jan-2011 Shih-wei Liao <sliao@google.com> Rename bccCompileBC as bccPrepareExecutable. Reason: caching case doesn't perform
CompileBC.

Change-Id: I940c7402126d5f7a513f504fb8c92698dc53a9dd
EADME
nclude/bcc/bcc.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/bcc.cpp
ests/main.cpp
ef7f1fe7f114a85d9edc36c869368c62743358f1 07-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
f7cfc026ec9e3a307d1252c46be9a089d74d3ef3 07-Jan-2011 Shih-wei Liao <sliao@google.com> Remove spaces.

Change-Id: Icc61ee2de259ab99a4acaaff4e329bb0b5b813ef
ib/bcc/CacheWriter.cpp
ib/bcc/FileHandle.cpp
ib/bcc/Sha1Helper.cpp
efbd0ed65bd9ffae9eb3e64c3acfa56beba62adf 07-Jan-2011 Shih-wei Liao <sliao@google.com> LOGI for loading both Source BC and Source Module

Change-Id: Ifb3d5ed4a9ec950a31c266b006ceb1a5a03e1a15
ib/bcc/Script.cpp
269df4664051504b8f543ef3154f601ab8ee5458 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Change the order of close(fd) and flock(fd, LOCK_UN)
ib/bcc/FileHandle.cpp
216ec7157e6f4ff946ee640895e9b9c466977a86 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Make ScriptCached orthogonal to ScriptCompiled.
ib/bcc/Script.cpp
ib/bcc/ScriptCached.cpp
a2e15af1239e9d5bf6c6c9c5ecb9651217d0efdf 07-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Fix several bugs.

1. Incorrect string pool offset calculation.
2. Move the sha1 checksum calculation code forward.
3. Assign file to mFile (in order to share with different method).
ib/bcc/CacheReader.cpp
ib/bcc/CacheWriter.cpp
ib/bcc/Script.cpp
c7745d929b5044eb9f136897a142a436a74a3222 07-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Fix readBC error. (Since the API semantics has been changed)
ests/main.cpp
65719819c51612480a355267c160af56a37c01a9 07-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Fix Compiler::compile() return code. Fix some uninitialized variable.
ib/bcc/Compiler.cpp
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCompiled.h
cc6da3fbb1196e6895e32e9e4b37a8e1d705c539 07-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add LOGE when failed to truncate the file.
ib/bcc/FileHandle.cpp
89eb47f387f96e63cad73a4f832ac737b9d73969 07-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add cache write invocation code.
ib/bcc/Script.cpp
9d93894295ac70d85c5792da4c1398391fb67915 07-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add CacheWriter destructor. And cleanup the code.
ib/bcc/CacheWriter.cpp
a27a83f2b01b1710238d077dc9dfd7655f4513cd 07-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add CacheWriter.
ndroid.mk
nclude/bcc/bcc_cache.h
ib/bcc/CacheWriter.cpp
ib/bcc/CacheWriter.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCached.h
ib/bcc/ScriptCompiled.h
e7eb773baa51408a0f8f871d779888d0d381b5d7 07-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Change the constructor of CacheReader.
ib/bcc/CacheReader.cpp
ib/bcc/CacheReader.h
ib/bcc/Script.cpp
f3c83cef382eabf2afb9de36278e27bc00a50c7b 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add __isThreadable libRS hack.
nclude/bcc/bcc_cache.h
ib/bcc/CacheReader.cpp
ib/bcc/Script.cpp
ib/bcc/ScriptCached.h
9a5f868bf0e9a45d2f22c10435ee607f5431389c 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add dependencies to cache reader.
ib/bcc/Script.cpp
75cc8a5c58b3260e530eae9f2edd502b71d25373 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Reorganize SHA1 checksum code.
ndroid.mk
nclude/bcc/bcc_cache.h
ib/bcc/CacheReader.cpp
ib/bcc/CacheReader.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/Script.h
ib/bcc/Sha1Helper.cpp
ib/bcc/Sha1Helper.h
856ceb2774bd2c601970c2bc26fb87b2e9b00258 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Complete CacheReader.
nclude/bcc/bcc_cache.h
ib/bcc/CacheReader.cpp
ib/bcc/CacheReader.h
ib/bcc/ScriptCached.cpp
b349a980e9b6119676e9b8b0669531c3db9ac813 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Correct typo: Dependancy -> Dependency.
nclude/bcc/bcc_cache.h
f7f0ac5d3e12b2e84bd18aa32add4a11bf296dbb 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add the CacheReader. (incomplete)
ndroid.mk
nclude/bcc/bcc_cache.h
ib/bcc/CacheReader.cpp
ib/bcc/CacheReader.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCached.cpp
ib/bcc/ScriptCached.h
55e6a28f8c720aa3f626ed775addf5b8f8c15802 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Comment oBCCRelocationEntry code.
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeEmitter.h
02286cbd7505ed355cb9b301326db51639789049 06-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Rename Compiler::mCodeDataAddr -> ScriptCompiled::mContext.
ib/bcc/CodeMemoryManager.cpp
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCompiled.cpp
ib/bcc/ScriptCompiled.h
d52b7fc4701b973506d6bdb72239679531c43387 06-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to honeycomb
77124dfc0db4005d37dbd9d7e5e114dda4e3e430 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Change the naming style of OpenMode.
ib/bcc/FileHandle.h
ib/bcc/Script.cpp
7d2219fbc8ed4599e747d5a161bbc96780a4e74f 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Change the behavior of bccRegisterSymbolLookupFn.
ib/bcc/Script.cpp
3133c4178f7486dd61abd053f401bfae0a42ef9f 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add linkBC delegation.
ib/bcc/Script.cpp
ib/bcc/Script.h
04329718e7cc524351742397e02cde13d9c4bf95 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add incomplete cache code.
ib/bcc/Script.cpp
f30a6717f97b6cf1f802e32144153d5a891936c4 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Remove the deprecated parameter (internally).
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCompiled.h
ib/bcc/bcc.cpp
033f46ea98d154040fbfcf9ee844f09e6aceebc6 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Cleanup the new Script::compile() function.
ib/bcc/Script.cpp
ib/bcc/Script.h
719f6a11f2488518eff6f6739d03b712a7de423f 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Remove the unrelated code.
ib/bcc/Compiler.cpp
ecf4cbd022f72436fa7c7e2eb5f920ab6cba4a83 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Remove cachine mechanism.
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCompiled.h
ib/bcc/bcc.cpp
9d54769a37ee9bdb1f6b7d8eeb4402a220658ed2 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Rename the deprecated parameter name.
nclude/bcc/bcc.h
ib/bcc/bcc.cpp
69735840d48e29a08a1ca6d604ee3fbc34250f36 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Include logcat header for CodeEmitter.
ib/bcc/CodeEmitter.cpp
7dcaac9898741e701098537808296f4e2f2fb422 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Extract lookup, getFunctions, getFunctionBinary out of Compiler.
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeEmitter.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/ScriptCompiled.cpp
ib/bcc/ScriptCompiled.h
2a6dc82a465631f82fc589c6bc68c15ed264f7eb 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Extract getExportVars, getExportFuncs, getPragmas out of Compiler.
ndroid.mk
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/ScriptCompiled.cpp
ib/bcc/ScriptCompiled.h
b28a6d13dfe36c8ae40f8fc9440d34f71a0494fe 05-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to master
ef9e4f7b23f110093bce85b92d8522d496676098 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Add file handle class (a simple file wrapper)
ndroid.mk
ib/bcc/FileHandle.cpp
ib/bcc/FileHandle.h
3a098f9ef485dfcf780570463dda3e8e05d528ab 31-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Fix the incorrect script status assumption.
ib/bcc/Script.cpp
b1feb38a9ebe36f0b864323d185a08b21b4ada71 29-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Cleanup ContextManagaer.
ib/bcc/CodeMemoryManager.cpp
ib/bcc/ContextManager.cpp
cf3e5219a81a19773bc36368876deb378ad513bf 28-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Make compiler independent of script.
ndroid.mk
ib/bcc/Script.cpp
ib/bcc/Script.h
ib/bcc/ScriptCompiled.h
eaa0cc3412cdbda8f81476aac15d5cea40b43206 28-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Encapsulate Script::compiler -> Script::mCompiler.
ib/bcc/Script.h
ib/bcc/bcc.cpp
e4fe88783a4d553fe41cafb3a0ca2d8df240e49c 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Remove the unused variables. And cleanup the code.
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
4b7ac51e44a55271f1e010ac86b7e160b6aca6cb 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Change %x -> %p to eliminate warning.
ib/bcc/Compiler.cpp
384c1c024b982cdad89d9ba976729ee6b4a4c07f 05-Jan-2011 Logan <tzuhsiang.chien@gmail.com> Remove useless makefile.
ndroid.mk.no_cross_compile
a74fbcc2c1e783dba08ad51bb8f27e4483dfd018 05-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to master
8087fff4915cb08146dff8436f573fb5b058d9d4 04-Jan-2011 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to master
5a943b616322c9fb6d6e5d3bfab64f6b303833ce 03-Jan-2011 Shih-wei Liao <sliao@google.com> Bump the version number.

Change-Id: Idfcea4b35c8cda89c9d6b9701078b1ad99a00fe2
nclude/bcc/bcc_cache.h
707a294f9de17f33f9225b52e30f507f7af37c8a 03-Jan-2011 Shih-wei Liao <sliao@google.com> Tune the logging info.

Change-Id: I6d1f0313ea16bafa1025dbe9344652003dce0e3f
ib/bcc/bcc.cpp
18dede77de86dd33430252f85444c8fa1115c480 03-Jan-2011 Shih-wei Liao <sliao@google.com> Debugging destructor of Compiler.

Change-Id: I9474263fc0690ff4f7ddf2956ee3b84d19e65700
ib/bcc/Compiler.cpp
5a765f701b8634f771d8ba0fa293ee936598dcd1 28-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Rename EmittedFuncEntry -> EmittedFuncInfo.
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeEmitter.h
ib/bcc/EmittedFuncEntry.h
ib/bcc/EmittedFuncInfo.h
e2ad1395223c8fda8e81b390839c1c2476b5d562 31-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Remove bitcode timestamp and crc32 check.

The value passed by libRS is not reliable, and we have sha1
checksum now. So remove timestamp and crc32 checksum.
nclude/bcc/bcc_cache.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
6dba3fbd5fffdb0637c79c82ac6f793845589f97 31-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Enhance the close mCacheFd code when loadCacheFile fails.
ib/bcc/Compiler.cpp
839134991f6ecd2fb2aed73b8cc93722a4323f88 31-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Remove strange resName slot check.

The resName slot check was added to fix the segmentation
fault. Such segmentation fault is caused by calling
bccReadBC again after bccLoadBinary fails. The problem is
that: the condition which distinguishs the caching mechanism
and compiler is no longer correct after this calling sequence:

bccReadBC -> bccLoadBinary -> bccReadBC
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
3c01aaae81208937b7a961f330b27f83eded9cba 31-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Add bcc function logger to ease debug.
ib/bcc/bcc.cpp
f15ede3927bd61feba885e928a83f288fc8f4f32 31-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Eliminate the use of MAP_FIXED.

Now we use the address as a suggestion, and then check if our
suggestion is used or not. Since the MAP_FIXED is less portable,
and may overlapped with other mappings, remove MAP_FIXED will
help a lot.
ib/bcc/ContextManager.cpp
069b331508c58b4cef37bde60f6b4e4eb9058615 31-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Add log information for bcc context deallocation.
ib/bcc/ContextManager.cpp
fd91a240443c9306c59c54c5aea74dbb1b3f88fe 29-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Change the ownership of CodeMemMgr.

Fix the problem of double deallocation of bcc context. Without
this commit, the check in destructor of Compiler doesn't work
properly.
ib/bcc/CodeEmitter.cpp
ib/bcc/Compiler.cpp
87066279da78172bc669793fc45f2af860fe8a5a 28-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Add build time for debugging.
ib/bcc/Compiler.cpp
39736415539953552bc2090adca56684dbcdb323 28-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Rename bccError -> mErrorCode and encapsulate it.
ib/bcc/Script.h
0647e9ef2e1d169c55cd0ec2ace86e27f251501e 28-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Rename bcc::BCCscript -> bcc::Script.
nclude/bcc/bcc.h
ib/bcc/Script.h
38d0607284fc6fdc52b4a3337b2bf9c1f1b0aaa1 28-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Eliminate the unnecessary const cast.
ib/bcc/Compiler.h
ib/bcc/bcc.cpp
d161309b8a97921cdccd34306ee7e7585fa93ad6 23-Dec-2010 Shih-wei Liao <sliao@google.com> Make caching work in terms of the following:
As long as ~Compiler() is triggered from libRS side correctly, we minimize the need of re-JITting.
Use cache as much as possible.

Change-Id: I32c0456d1cba064029888f7211d8d32139d3c672
ib/bcc/Compiler.cpp
829c24d125af299ea8ca239bee56566c75a08add 23-Dec-2010 Shih-wei Liao <sliao@google.com> Force the turn-off of caching when it's a cache-hit but
some Script instance is still using this cache.

Change-Id: I58738ef5a1c4f55e030120bd2c031f204e4fe977
ib/bcc/Compiler.cpp
8f779978f4f0ef8874212775b9653fbfc0e46c4e 22-Dec-2010 Shih-wei Liao <sliao@google.com> Implement the short-term solution outlined in b/3304773.

Change-Id: Ia36379345ee3d8fbff04e6aa489d04e936331296
ib/bcc/Compiler.cpp
ib/bcc/bcc.cpp
d50d157ee03d4b904108303ff92380ef1f613dc4 22-Dec-2010 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to master
474d32375b5e5099056889c62639283ecb353601 22-Dec-2010 Shih-wei Liao <sliao@google.com> For resource entry in ZipArchive, the mod time seems to be wrong
sometimes. Turn off the source mod time checking. Rely on SHA1sum.

Change-Id: I949d4a26912b688b002aaf2eafda12e8867e11fc
ib/bcc/Compiler.cpp
6466b8462257a2d095f17b1a1a755557f653ac7e 21-Dec-2010 Shih-wei Liao <sliao@google.com> Re-deploy caching.

Change-Id: Ifad19b3f41453dd4165c8c57309c28cdd24df1ef
ib/bcc/Compiler.cpp
be65a48b68c08948c91dc4658376ae9f52d62627 21-Dec-2010 Shih-wei Liao <sliao@google.com> Stale cache management: Upgrade the MAGIC version.

Change-Id: I574a2c43f4f785cafecd2c820c044fad74142fc3
nclude/bcc/bcc_cache.h
a780e349c054e58fbfaa3783bb7093b9a9148fe9 21-Dec-2010 The Android Automerger <android-build@android.com> merge in honeycomb-release history after reset to master
8ec6fb84f4709fc97b346420669020bcc4813819 21-Dec-2010 Shih-wei Liao <sliao@google.com> Return that is bailing.

Change-Id: Ib7b21c251d3e434590d31f1129d9265dc74c761d
ib/bcc/Compiler.cpp
8b77a77e785f0e25b13016ed60770e521dc60e0b 21-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Add sha1sum check for bitcode.
ndroid.mk
elper/sha1.c
elper/sha1.h
nclude/bcc/bcc_cache.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
de60e20a3e8ee3dbc382c8e001a748c968c320f2 20-Dec-2010 The Android Automerger <android-build@android.com> Merge branch 'master' into honeycomb-release

* master:
is_threadable: "present" to "set"
Add modify time and crc32 to bccReadBC and cache header.
Change caching default to off.
1fdeb27423baa3ca14a4f0c1606457812883c7a6 20-Dec-2010 Shih-wei Liao <sliao@google.com> is_threadable: "present" to "set"

Change-Id: Ic1df1525a02d26eb59710fdceed0b66dc137e22e
ib/bcc/Compiler.cpp
b9b04161de73d43e4f94de26a7211761267ed71a 20-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Add modify time and crc32 to bccReadBC and cache header.
nclude/bcc/bcc.h
nclude/bcc/bcc_cache.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/bcc.cpp
ests/main.cpp
e05d35f40b08eecfc4633be5fa58d3ed190252e7 17-Dec-2010 Jason Sams <rjsams@android.com> Change caching default to off.

Change-Id: I1e1fd23045dae91063d332971ff4a08a42853afe
ib/bcc/Compiler.cpp
8e695a9cb4402a47d33fccf8dd5128f568329fa5 17-Dec-2010 Jason Sams <rjsams@android.com> Change caching default to off.

Change-Id: I1e1fd23045dae91063d332971ff4a08a42853afe
ib/bcc/Compiler.cpp
2417cef58cd051c0b43ce9f9cdc01a17d83ef95a 16-Dec-2010 Shih-wei Liao <sliao@google.com> Add property debug.bcc.nocache in Compiler.cpp. Set to 1 if
you want to turn off caching.

Change-Id: I2e997b387e5c7fd76592fbf2d651ca425f06a506
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
931501add5c8199ebe6950766bca69162a322531 16-Dec-2010 Shih-wei Liao <sliao@google.com> When we hit the cache, check if some Script instance is still using this cache.
If so, whenever relocation is turned off,
we need to force the turn off the caching for this Script instance.

Change-Id: I1c9a17a106d656a5eded1515123752c364ea6b69
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/ContextManager.cpp
e728cb8a96c7db39f4c6115d20865ab3bacf199b 16-Dec-2010 Shih-wei Liao <sliao@google.com> Interworking with possible GCC-generated code fixed.

Change-Id: I984d51edb6187bea6faf7f411741afe847930204
ib/bcc/Compiler.cpp
c5eec48d5085c84a65be85ad3083d3bd9f0231e2 15-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Remove tailing spaces.
ib/bcc/ContextManager.h
eb3d12b84ae215ec08de00f6f33228a823e20338 15-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Add context manager (which manages code and data block of each script.)
ndroid.mk
ib/bcc/CodeMemoryManager.cpp
ib/bcc/CodeMemoryManager.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/ContextManager.cpp
ib/bcc/ContextManager.h
4ea118f3660a5575680f85641dd19d8d0a139334 07-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Change software float point to hardware float point.
ib/bcc/Compiler.cpp
19ee311267b9eda6491a229641a90d1da3a8bb4e 15-Dec-2010 Shih-wei Liao <sliao@google.com> 2 scripts shouldn't use the same area such as global variable region. I.e., fixed the code right after mmap().

Change-Id: I0fc3f4b9beb24f5e4fc70c72dcbfceb58bf1e813
ib/bcc/Compiler.cpp
72f67a6b00007e8a222496b1566184d2131cdce8 14-Dec-2010 Shih-wei Liao <sliao@google.com> Aggressive optimization (Initial run).

Change-Id: I05f8d0f311b4f5e81445a11daf2fd1c9cdd1111a
ib/bcc/Compiler.cpp
e6a1851734f11fcc194e746f42da09daad3f60e7 09-Dec-2010 Shih-wei Liao <sliao@google.com> 1. New caching deployment mechanism: Now use per-app cache directory.

2. New cache naming.

Change-Id: I2d11b4e587cf76471792abf2d292a0075dea74d1
nclude/bcc/bcc.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/bcc.cpp
ests/main.cpp
db69c5520780785860423e47841cba54e6d157d4 07-Dec-2010 Shih-wei Liao <sliao@google.com> ScriptC's mEnvironment.mIsThreadable needs to survive caching and then caching-reloading.

Change-Id: Id79931ce1a15c7c81aefee8b963958d97e76e6de
ib/bcc/CodeEmitter.h
ib/bcc/Compiler.cpp
9d94f16d9f684f8c5c941fb8673a3d4dc283bf00 06-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Add modify timestamp check for libbcc and libRS.
ib/bcc/Compiler.cpp
cd045f9ad6387c5fb38cade3f2af2250e0bb7b8b 06-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Change the variable name.
ib/bcc/Compiler.cpp
a21958a6df9724e6064114f5b153e074cb7677de 05-Dec-2010 Shih-wei Liao <sliao@google.com> Typecast to llvm::raw_fd_ostream*

Change-Id: I1ec33d9bf73168a8990881d3c81a25d5cec2ba57
ib/bcc/CodeEmitter.cpp
d6d488c22238badd2a1e13c4bfc68f952e8cc43a 05-Dec-2010 Shih-wei Liao <sliao@google.com> Add debug.

Change-Id: Ib4cd484edbe3b0be68530de68caa4124bbfa4e46
ib/bcc/bcc.cpp
3f3e87bc45869f72b0c9a2e01440a676da4b54b7 03-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Load cached file if bccReadBC returns negative int.
ests/main.cpp
d80e65b0376b721220be0caaeccb2adf5866521c 03-Dec-2010 Logan <tzuhsiang.chien@gmail.com> Propogate return code of Compiler::compile() to caller of bccCompileBC.
nclude/bcc/bcc.h
ib/bcc/bcc.cpp
139dc3c57c9367f50ca9e37db05eed318e678d8a 02-Dec-2010 Logan <tzuhsiang.chien@gmail.com> readBC should return negative number if cache file exists.
ib/bcc/Compiler.cpp
9ea54b5c030d6d800f480f43fdb9caae5fb7eda3 02-Dec-2010 Shih-wei Liao <sliao@google.com> Successful mmap is not an error. Checksum passing is no longer an error.

Change-Id: Ieedabaca4e2ace8d4587da75ea4f65897b2ec274
ib/bcc/CodeMemoryManager.cpp
ib/bcc/Compiler.cpp
7cc1baf27cacd15b23012d074e32bc7d3f0bb4d2 28-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add export pragma table for caching. And fix the bug which breaks Ball and Fountain.
EADME
nclude/bcc/bcc_cache.h
ib/bcc/Compiler.cpp
de2ca79b82b533bae32176c84378d7082788e9ee 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Re-order the member. (variables first method later)
ib/bcc/CodeEmitter.h
ib/bcc/CodeMemoryManager.h
ib/bcc/Compiler.h
59318b805fc66af5216a8d3030069ecbca301d1d 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Synchronize README with the code.
EADME
c4395235b212be7a626becb0c03020eab4859739 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Rename the file name (looks more similar to LLVM).
ndroid.mk
cc.cpp
cc_code_emitter.cpp
cc_code_emitter.h
cc_code_mem_manager.cpp
cc_code_mem_manager.h
cc_compiler.cpp
cc_compiler.h
cc_emitted_func_entry.h
cc_runtime.c
cc_runtime.def
cc_runtime.h
cc_script.h
elper/logd_write.c
ib/bcc/CodeEmitter.cpp
ib/bcc/CodeEmitter.h
ib/bcc/CodeMemoryManager.cpp
ib/bcc/CodeMemoryManager.h
ib/bcc/Compiler.cpp
ib/bcc/Compiler.h
ib/bcc/EmittedFuncEntry.h
ib/bcc/Runtime.c
ib/bcc/Runtime.def
ib/bcc/Runtime.h
ib/bcc/Script.h
ib/bcc/bcc.cpp
ogd_write.c
e57b332656572e6713003f882294e79af18d0154 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Cleanup the code for Disassemble().
cc_code_emitter.cpp
cc_code_emitter.h
9b504ebbab0ed81121fdba22617ea4f6cf4a467f 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Code cleanup.
cc_code_mem_manager.h
cc_compiler.h
bce48b9a4a9fe1b9a77bd6293c8733ad81f95c0e 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Move lookup from bcc_code_emitter.h to bcc_code_emitter.cpp in order to minimize the header dependency.
cc_code_emitter.cpp
cc_code_emitter.h
1db37e3bc9833e7a482abd6c1621b7a46d54d8b8 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Rename EmittedFunctionCode to EmittedFuncEntry.
cc_code_emitter.cpp
cc_code_emitter.h
cc_emitted_func_code.h
cc_emitted_func_entry.h
2037d72661444fd2c44d2db1ded56e8add25830d 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Move BufferMemoryObject to static namespace.
cc_buff_mem_object.h
cc_code_emitter.cpp
61cb230180231bbcff0166ebc90ca8e16aba05dc 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Cleanup Android.mk.
ndroid.mk
a4994f55617d251575013a41d5f9267fd68ce110 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Cleanup the code.
cc_compiler.cpp
3f3d31fc9eac3d82ed9d04690aafb58f1715b8d8 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Extract BCCscript from bcc.cpp.
cc.cpp
cc_script.h
nclude/bcc/bcc.h
0dbc4976ed776e46a35d9157d18eb06c2185478e 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Remove hashmap.c (we are not using them).
ndroid.mk
ashmap.c
814166576b89fd1181ee634e703fe48833216573 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Include android cutils/log.h to get the prototype.
ogd_write.c
7e182e730768664a6b2c5db24e470067b7101648 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Remove useless code and define.
cc.cpp
cc_compiler.h
df23afaf4459778bade8c822d996865096ad033e 27-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Cleanup included header.
cc_compiler.cpp
5079c88cdb1309a256b927010dd6d4405749b12f 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Mark virtual for the inherited virtual function. And remove inline keyword for inline-by-default function.
cc_buff_mem_object.h
cc_code_emitter.h
cc_code_mem_manager.h
e3f0ca93bd0423595355e0e90ef3dd82236ed070 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Update build rules.
ndroid.mk
1f17b25fb37285dafc820fd65eff184a762c18c4 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> CodeMemoryManager code cleanup.
cc_code_mem_manager.cpp
cc_code_mem_manager.h
f2b79d0cce442472ba0525346c9dc6709cafcb04 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Fill in the missing function. Qualify Triple with Compiler.
cc_code_emitter.cpp
cc_code_emitter.h
39a2ca59c9021fe539c05b8c0520c56bd8b49a24 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Remove Compiler class from bcc.cpp.
cc.cpp
1f028c027b1df7fde0cd1a1eef9730856e8e5ae9 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Extract Compiler from bcc.cpp.
cc_compiler.cpp
cc_compiler.h
4eea1193ca9df0bb6a1f6ad3d069798c87ecbf4d 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add bcc_runtime.h include dependency.
cc_code_emitter.cpp
95d0e4e59bca520c93f262b675f57cf72a4fd4fb 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add build rules for bcc_code_emitter.cpp and bcc_code_mem_manager.cpp.
ndroid.mk
30a3616fd772dc7deed3671a884f03f019877840 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Remove CodeEmitter and CodeMemManager from bcc.cpp.
cc.cpp
aae8f2c2e3b22f920f23f0067214c64a796bde15 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Extract oBCCHeader and oBCCRelocEntry from bcc.cpp.
nclude/bcc/bcc_cache.h
2aaaee81f3134cc4060dc3d914a7654f009fcb6f 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Extract CodeMemoryManager from bcc.cpp
cc_code_mem_manager.cpp
cc_code_mem_manager.h
28325bfba340296d97f737d50428039815b71607 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Extract CodeEmitter from bcc.cpp.
cc_code_emitter.cpp
cc_code_emitter.h
a9c089d8eb322f2727851c30fd599a4986698c7d 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Use C standard header with *.h
cc_emitted_func_code.h
f2dbef880875761f389de4d61d602f65dc2dcb20 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Extract bcc::BufferMemoryObject class from bcc.cpp.
cc.cpp
cc_buff_mem_object.h
a2528453969cbf259a3370776d8ea4cab72f5573 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add comment when bcc namespace ends.
cc_emitted_func_code.h
fc9530e94921615bc5c125ecf285a1fb58900f04 26-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Split out EmittedFunctionCode.
cc.cpp
cc_emitted_func_code.h
9f6a10d4f3bae01ead7f82cd2e7b6709cc1fd52d 25-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add checksum verified message for developement.
cc.cpp
2ad855d4fcb2e35547428fab75cb2d46a6611255 25-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add simple even parity check.
cc.cpp
43830d5a53392506ddbaa5a83c42417a9697205d 25-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Reset all of the private variable if loadCacheFile failed.
cc.cpp
f49c9e3a14462dbc2e835ff0c4d778c6585963c6 24-Nov-2010 Shih-wei Liao <sliao@google.com> MMAP_PRIVATE in its own line.

Change-Id: I46c097c9a8cbf2e70667caf8838107864ba8eede
cc.cpp
efd637b0c09b9c4102059aca8aa3863f4e3faac6 24-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Ensure codeOffset and cachedCodeDataAddr aligned to pagesize.
cc.cpp
82e67017850e012380c67ac6bb992d4403d5dde4 24-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Cleanup mmap and pointer arithematic code. Fix one overflow.
cc.cpp
c0b9f65164a847dd587bd6373f2133c1da8067e4 24-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add multiple cache file support (without relocation)
cc.cpp
eac346ddd3c7cf7b4992b973e7160cb351fe1777 24-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Remove end of line spaces.
ndroid.mk
bc5ed67ad0b0c96c3b72aefdc188fde97a7aa722 24-Nov-2010 Shih-wei Liao <sliao@google.com> Minimize the need to having to relocate.

Change-Id: I5d0819ce0d3d68ed29ecb4c898893d367aec9cc7
ndroid.mk
cc.cpp
0ea73a8ac6d09dbfda6af104f213129507fd4a88 23-Nov-2010 Shih-wei Liao <sliao@google.com> Guard against double free via checking mCodeMemMgr.get() first.

Change-Id: Id6cc8b3e269c94891c097317274b33b6d200828c
cc.cpp
1c6ac2b87d724c55aa6199e9dd5d01633bc735c4 23-Nov-2010 Shih-wei Liao <sliao@google.com> oBCC caching design that minimizes the need to do relocation.

Change-Id: I6abb950b05bf6d02f200a000a22e7319c83242a7
cc.cpp
ad7e8e1bf367ec8e940d0f1b321b6c64102d24c0 22-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Rewrite 1 cache + recompilation code.
cc.cpp
30a51506bb572bf9481276cb445ddcef42ed5cbf 22-Nov-2010 Shih-wei Liao <sliao@google.com> 1. Enforce the turn-off of caching for now. 2. LOGE -> LOGW. 3. mmap bug.
Fix the sporadic crash.

Change-Id: I2c153c3d584522d79d325e4378bcb2a231ec3e67
cc.cpp
1f45b86ba3ac01d8df439027f3b5124dbb3f1535 22-Nov-2010 Shih-wei Liao <sliao@google.com> Add mBccCodeAddrTaken. Now BCC_CODE_ADDR should always be defined.
mBccCodeAddrTaken functions as the knob now.

Change-Id: I5b2475bb49fe9a91c25910ba1aa6f4b201da6148
cc.cpp
3d77c42812b14d9e40d7b228ec20b44695fe6dc6 22-Nov-2010 Shih-wei Liao <sliao@google.com> Make loader() seek to the beginning first. Focus on BCC_CODE_ADDR path.

Change-Id: I871c22d9a9026a8636ffeed3927414e928ffff4c
cc.cpp
cc7f143421921c6b90e2476c00f1162901e84bf8 22-Nov-2010 Shih-wei Liao <sliao@google.com> Add message for the non-working disassembler.

Change-Id: If5d559a3af0478216af8fece59720052f42a1a67
ests/main.cpp
6180069869540e11cb9f92e0a20e52f9cc33eda6 22-Nov-2010 Shih-wei Liao <sliao@google.com> Remove temporary debug code.

Change-Id: Iace439945ad3505f5a31f4b7b4a0f050d007c5c2
cc.cpp
fdc568db116ff6ed5b8e759619c2ff7f55c49a96 20-Nov-2010 Shih-wei Liao <sliao@google.com> In loader, add Disassemble functionality.

Change-Id: I5ca54992a5a2316eecd402e3c6c8cc27842698e6
cc.cpp
634bd83ec0ce81751e2a13c68d347de06d647206 20-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add fprintf to show relocation information at first compile time.
cc.cpp
798280dd74d10aab42fed7b3688e20dabaa3301a 19-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Fix mCacheMapAddr typo.
cc.cpp
d1e5e442769df3cd3a8efee574c4333f48cba671 19-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Remove mNeverCache true in order to test caching.
cc.cpp
7f00befea5516ce0307fbf0567c00ffcd5737317 19-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add address check before adding mCacheDiff.
cc.cpp
824dd0a1a09d466884645e20c4ca65fe5853e592 19-Nov-2010 Logan <tzuhsiang.chien@gmail.com> Add relocation support.
EADME
cc.cpp
7f941bb43180260dacb6dbcca3689acc6041832b 19-Nov-2010 Shih-wei Liao <sliao@google.com> Testing on the Books, Youtube, and other RenderScript apps pass. Add mCacheSize and add munmap when Compile destructs
from logn.

Change-Id: Ie6dc37db1dafa2b83f4ee8b93ca41293c5e079d9
cc.cpp
420c73d84db27efbdf4a162837ee879c415564b8 19-Nov-2010 Shih-wei Liao <sliao@google.com> Add README.

Change-Id: I85b6b4368f134cfaef41f512337e4bd45e9eedcf
EADME
7c5a5f755c5604950d8e31724ed02a532a47114b 08-Nov-2010 Shih-wei Liao <sliao@google.com> Add caching framework of binaries. Caching is not turned on for now. ARM & relocation (todo) of logan

Change-Id: I097e626b3c5d5dd4a37478144ce50f68d08d361d
ndroid.mk
cc.cpp
nclude/bcc/bcc.h
ests/main.cpp
4c335b1ba387fc88bd92fd5818b4a0f4b9204326 25-Oct-2010 Shih-wei Liao <sliao@google.com> hashmap and logd_write.

Change-Id: I24233e5ccdb081913129b9d18efaa9e1339655c5
ndroid.mk.no_cross_compile
ashmap.c
ogd_write.c
e64c287611f826ef7fd75a62861dc463e5ec819f 25-Oct-2010 Shih-wei Liao <sliao@google.com> Add host-side cross-compile aka bcc.

Change-Id: Ia3d23742a0ce0c9c40af377a4ff070e1a82d1083
ndroid.mk
cc.cpp
bfda6c90ce6186ef58957f12569c881fe6d1a612 24-Oct-2010 Shih-wei Liao <sliao@google.com> Improve JIT time.

Change-Id: Iedeec580fb922b607f8cbc130dc952508a395408
cc.cpp
21ef307ebc3c55e9e2f27cd49c6e08200aaaf5ae 24-Oct-2010 Shih-wei Liao <sliao@google.com> Use D0-D15 instead of D0-D31.

Change-Id: Ieb741bb3dc823eedd3eb398aed2eb65deb60b7b0
cc.cpp
e5c7a54989522e83cfb9c4bcf1535f4c4204f85e 23-Oct-2010 Zonr Chang <zonr@google.com> Expand llvm::createStandardLTOPasses().

This enables us to select a subset of passes to run.
cc.cpp
5d35b97a9a00f331994ec0cb21dc4abcddfdf523 23-Oct-2010 Zonr Chang <zonr@google.com> Bug fix & add internalize pass to LTO.
cc.cpp
nclude/bcc/bcc.h
6e1d6c3aa38f9f2f87d326a67d309d3f2dbeda3f 23-Oct-2010 Zonr Chang <zonr@google.com> Advanced on-device linking: LTO enabled!

This will add another ~500KB on libbcc.so.
ndroid.mk
cc.cpp
97f5e614b456d0736372ec4a4bb6f5081d424b57 22-Oct-2010 Zonr Chang <zonr@google.com> Implement basic version of on-device linking.

Basic means no LTO passes running after linking the modules.
ndroid.mk
cc.cpp
nclude/bcc/bcc.h
dbee68b6e0df256797ce8ab13370d36699973664 21-Oct-2010 Zonr Chang <zonr@google.com> Add inteface to libbcc for llvm::Module input.
cc.cpp
nclude/bcc/bcc.h
932648d528f333d43defdf16b3f8e84afa865cc8 13-Oct-2010 Zonr Chang <zonr@google.com> Coding style fix, legal announcement.

No new function added and semantics changed.
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
cc.cpp
cc_runtime.c
cc_runtime.def
cc_runtime.h
nclude/bcc/bcc.h
ests/Android.mk
ests/main.cpp
ests/test.py
c7c9cd517251e3e28c4628cf9ceba178b829f649 27-Sep-2010 Shih-wei Liao <sliao@google.com> 1. Remove PROT_EXEC for global variables, per srhines' suggestion.
2. For code memory, make it writable only when bcc is INSIDE the code
emission of a given function.

Change-Id: I8de1e9841d540511adef3965c3f7ecb9f2fc29c4
cc.cpp
78db12e0cf697c3bdff67c274ce6c36dabf18a3d 26-Sep-2010 Ying Wang <wangying@google.com> Fix build in Mac OS.

Change-Id: Ice31660030fba87dec3ab391ece16e8ee0429e25
cc.cpp
c4e4ddf294ac6bf0c15ffcadae36babf867d0764 24-Sep-2010 Shih-wei Liao <sliao@google.com> Here is the second attempt to push CL after separating out the Globals...
1. Use mmap/mprotect instead of llvm::MemoryBlock to provide code memory
protection after I generate the code and do the linker relocation.
2. A blame assignment tool to find who is corrupting the JITted code and
the Stub/GOT (Global Offset Table).
3. Separate out Globals into another memory regions, otherwise, my JIT
will always get the blame when the JITted code attempts to writes to
the global.
4. New memory layout:
@mpCodeMem:
+--------------------------------------------------------------+
| Function Memory ... -> <- ... Stub/GOT |
+--------------------------------------------------------------+
|<------------------ Total: @MaxCodeSize KiB ----------------->|
|
, where size of GOT is @MaxGOTSize KiB.
|
@mpGVMem:
+--------------------------------------------------------------+
| Global variable ... -> |
+--------------------------------------------------------------+
|<--------------- Total: @MaxGlobalVarSize KiB --------------->|
|
, where the direction of arrows (-> and <-) shows memory's
growth direction when more space is needed.

Change-Id: I5a8ecff3face9412fe621f1140d4ed8010038197
cc.cpp
ec5f1ec71aa4b9402d7d8d922f18d7a4b1ae4149 21-Sep-2010 Shih-wei Liao <sliao@google.com> Add missing libdl so that bcc builds with gold on gLucid.

Change-Id: I7515982e15a85608cdb27d8d81b1a4214b46123a
ests/Android.mk
16016016c14b088561ef92e9181d7102b967296d 11-Sep-2010 Shih-wei Liao <sliao@google.com> Apply changes on libbcc such that it can work with LLVM upstream r112364.
For instance, LocalRegisterAllocator has been deprecated.

Change-Id: I19d4b209b42e7ffcb595dcc28f9c769ce0cadb10
cc.cpp
2c06c3ef2b23e48dcdf527c823e1debf7bc52596 08-Sep-2010 Ying Wang <wangying@google.com> Disable LLVM_ENABLE_ASSERTION

LLVM_ENABLE_ASSERTION causes eprintf definition collision in Mac OSX.

Change-Id: I6c5ed29a5262fcf5e7a8ef1e2208b2471f459e09
ndroid.mk
de6e2d7ca297972223d05f29d9221fb16b5dc790 08-Sep-2010 Anatol Pomazau <anatol@google.com> Merge "fix LLVM_ROOT"
784096172a9be11b670db796c3c1d7bb7874df00 08-Sep-2010 Anatol Pomazau <anatol@google.com> fix LLVM_ROOT

Change-Id: I5eacc13b5e2caa4e5ef1b7482cf058f43de2e59a
ndroid.mk
210a1ef6791db6d19856256346a318e8ba8b5ad9 08-Sep-2010 Shih-wei Liao <sliao@google.com> Upgrade LLVM_ROOT_PATH from external/llvm/llvm to external/llvm.

Change-Id: I254c0ae7499e7d601e648eb6886f6709eb28ee46
ndroid.mk
210eb40e3d604293f477aeb15b4a58a598325016 26-Aug-2010 Shih-wei Liao <sliao@google.com> Add support so that in an rs file when dividing uint by uint our libbcc should support it.

Change-Id: Ie7af89f3f1aedfd868cfa57875fb0fb5cefda1c4
cc_runtime.c
cc_runtime.def
e6573e8b0392570b1cc09d13a6c209c77f0a0926 20-Aug-2010 Ying Wang <wangying@google.com> Fix sim build.

Note that this only makes the sim build green, but the built images won't work for sure:
No libbcc.so, which depends on something else that can not build in sim mode.
No x86 bitcode is generated as well, I believe.

Change-Id: Idca8378427196622ac77cd56a38c6a160f03ba22
ests/Android.mk
75dacc153f6fc6a6a23abd41f0ed44f5b2413942 21-Jul-2010 Doug Kwan <dougkwan@google.com> Hide symbols in libbcc.so to save 800k space.

Change-Id: I036428b42e8232ab306a9d6a322012849a7140ba
ndroid.mk
e405ef4f8a375b440b31fed16471f5b52e2357e3 08-Jun-2010 Shih-wei Liao <sliao@google.com> Fix simulator build.

Change-Id: Ib7ddcb19cc45ee8db754223d986e4de16a00548f
ests/Android.mk
7b399fd37edc8a02241a841252a777dd17d3eb2a 04-Jun-2010 Jing Yu <jingyu@google.com> Add missing libraries in order for gold to work.

gold is more strict than gnu ld. If A depends on libB directly,
we must specify -lB at link time.

Change-Id: Ie246f36436abb53b4208da8017e6da0bb230a91f
ests/Android.mk
fc97e9fe856287b19e118d6f18e15f66e73ff7d4 17-May-2010 Nick Kralevich <nnk@google.com> Get rid of warnings when compiled with -Wformat-security

Change-Id: I7d66001ed1d73f116e9d112e021e6b2da22f4349
cc.cpp
7a0e42ad86065674a46527f58662a125d9a18338 11-May-2010 Shih-wei Liao <sliao@google.com> load_module

Change-Id: If43d2baddb18c065667a6d98f07ebb04fd998cd9
cc.cpp
066d5ef179ab8fe135f8032a4c35a1994a540429 11-May-2010 Shih-wei Liao <sliao@google.com> Fix ErrorHandler

Change-Id: Ia8d5871d07f774278bef756a5ee836dd9716f16f
cc.cpp
c561199a8bb39386b07bd6960fe5b85970cc0856 09-May-2010 Shih-wei Liao <sliao@google.com> mError

Change-Id: I29399bbfa3b4b8cabb6caf64f5f3121727b17583
cc.cpp
be5c5310a8096458709d13b2348d00bb24d1eb89 09-May-2010 Shih-wei Liao <sliao@google.com> atomics.h

Change-Id: Iad1cf587770d21d2d7306fc661ee159901cc4d18
cc.cpp
6bfd542175fa5e0e15630b8c9e2982a8175073e8 07-May-2010 Shih-wei Liao <sliao@google.com> Multiple LLVM context.

Change-Id: I6a0c0952afbb5f0e0d18bd29db65616ca95a4fdb
cc.cpp
nclude/bcc/bcc.h
5bde66c14d5bf8bd9c566fe27219c0f394ece456 07-May-2010 Shih-wei Liao <sliao@google.com> Make compiler class reentrant within a single process

Change-Id: I422947bbbf8667234794737d6632449ed4e5f193
cc.cpp
ests/main.cpp
3cf39d1f2044c5c18af3a650a1c5fa3edddfae9b 30-Apr-2010 Shih-wei Liao <sliao@google.com> 1. Default disassembler is on.
2. + hardfloat.
3. + vfp3

Change-Id: I02240e41ab7d578ccbe29c7a406dc1fa3d59a490
cc.cpp
untime/lib/arm/gesf2vfp.S
untime/lib/arm/gtsf2vfp.S
untime/lib/arm/ltsf2vfp.S
bb0782b45560c7dc2209376efa17258b7a4c1d31 29-Apr-2010 Shih-wei Liao <sliao@google.com> Don't do +neonfp etc.

Change-Id: I073bf17570d389a5714b8df3943e044f46942bf3
cc.cpp
cd61af3513b64e6eb0cbfbb4e0182f898bae91ed 29-Apr-2010 Shih-wei Liao <sliao@google.com> Add disassembler

Change-Id: I0b7aa48ee758f9a9ccf3db63c647fb339d0dc35b
ndroid.mk
cc.cpp
abd1e3dd923239043a865a9eeaca69b24857e77e 28-Apr-2010 Shih-wei Liao <sliao@google.com> Sync upstream to r102410.
Re-turn on sdk.

Change-Id: I91a890863989a67243b4d2dfd1ae09b843ebaeaf
ndroid.mk
cc.cpp
cc_runtime.c
cc_runtime.def
cc_runtime.h
nclude/bcc/bcc.h
untime/lib/arm/lesf2vfp.S
ests/Android.mk
ests/main.cpp
f30a48c5c5bf60150c8729bef35bf26e18f407b6 22-Apr-2010 Doug Kwan <dougkwan@google.com> Add missing libdl so that bcc builds with gold.

Change-Id: I75b8bec6b5714e4d910d231886bfe7d1d9e9bfc3
ests/Android.mk
800e9c2c78fea83e3a0a5b2699b8d15b70004282 19-Apr-2010 Shih-wei Liao <sliao@google.com> branch_to_sub issue resolved.
turn off sdk.

Change-Id: I1a6def700a2333ca8612138dadb610180d3dcbf3
ndroid.mk
cc.cpp
5065e1757b0c7b2ca2bf33ddb1372640ae7a61a6 18-Apr-2010 Shih-wei Liao <sliao@google.com> Branch to 0 bug fixed

Change-Id: I9212fb594f51310451389047b98377f2ea3a81ad
cc.cpp
105a9d2c57759532f70baa8b47b594f86a2a15a2 14-Apr-2010 Carl Shapiro <cshapiro@google.com> Fix the sim-eng build.

Change-Id: I3e7262220c92b9973da909d94ed3cff59ffc9294
ndroid.mk
9ca68347c7acb684a7b5c4e5aa3d691795e79b1d 08-Apr-2010 Shih-wei Liao <sliao@google.com> Fix lesf2vfp bug.

Change-Id: I18f4b79764d9455577383a6530de7dffead61bec
untime/lib/arm/lesf2vfp.S
77ed6142daed1e068fbda64405d0de9845e40e1a 07-Apr-2010 Shih-wei Liao <sliao@google.com> libbcc

Change-Id: Ieaa3ebd5a38f370752495549f8870b534eeedfc5
ndroid.mk
cc.cpp
cc_runtime.c
cc_runtime.def
cc_runtime.h
nclude/bcc/bcc.h
untime/.gitignore
untime/BlocksRuntime/Block.h
untime/BlocksRuntime/Block_private.h
untime/BlocksRuntime/CMakeLists.txt
untime/BlocksRuntime/data.c
untime/BlocksRuntime/runtime.c
untime/CMakeLists.txt
untime/CREDITS.TXT
untime/LICENSE.TXT
untime/Makefile
untime/README.txt
untime/cmake/ConfigureChecks.cmake
untime/cmake/Modules/DefineCompilerFlags.cmake
untime/cmake/Modules/MacroAddCheckTest.cmake
untime/cmake/Modules/MacroEnsureOutOfSourceBuild.cmake
untime/cmake/config.h.cmake
untime/lib/CMakeLists.txt
untime/lib/Makefile.mk
untime/lib/absvdi2.c
untime/lib/absvsi2.c
untime/lib/absvti2.c
untime/lib/addvdi3.c
untime/lib/addvsi3.c
untime/lib/addvti3.c
untime/lib/apple_versioning.c
untime/lib/arm/CMakeLists.txt
untime/lib/arm/Makefile.mk
untime/lib/arm/adddf3vfp.S
untime/lib/arm/addsf3vfp.S
untime/lib/arm/bswapdi2.S
untime/lib/arm/bswapsi2.S
untime/lib/arm/divdf3vfp.S
untime/lib/arm/divsf3vfp.S
untime/lib/arm/eqdf2vfp.S
untime/lib/arm/eqsf2vfp.S
untime/lib/arm/extendsfdf2vfp.S
untime/lib/arm/fixdfsivfp.S
untime/lib/arm/fixsfsivfp.S
untime/lib/arm/fixunsdfsivfp.S
untime/lib/arm/fixunssfsivfp.S
untime/lib/arm/floatsidfvfp.S
untime/lib/arm/floatsisfvfp.S
untime/lib/arm/floatunssidfvfp.S
untime/lib/arm/floatunssisfvfp.S
untime/lib/arm/gedf2vfp.S
untime/lib/arm/gesf2vfp.S
untime/lib/arm/gtdf2vfp.S
untime/lib/arm/gtsf2vfp.S
untime/lib/arm/ledf2vfp.S
untime/lib/arm/lesf2vfp.S
untime/lib/arm/ltdf2vfp.S
untime/lib/arm/ltsf2vfp.S
untime/lib/arm/muldf3vfp.S
untime/lib/arm/mulsf3vfp.S
untime/lib/arm/nedf2vfp.S
untime/lib/arm/negdf2vfp.S
untime/lib/arm/negsf2vfp.S
untime/lib/arm/nesf2vfp.S
untime/lib/arm/restore_vfp_d8_d15_regs.S
untime/lib/arm/save_vfp_d8_d15_regs.S
untime/lib/arm/subdf3vfp.S
untime/lib/arm/subsf3vfp.S
untime/lib/arm/switch16.S
untime/lib/arm/switch32.S
untime/lib/arm/switch8.S
untime/lib/arm/switchu8.S
untime/lib/arm/sync_synchronize.S
untime/lib/arm/truncdfsf2vfp.S
untime/lib/arm/unorddf2vfp.S
untime/lib/arm/unordsf2vfp.S
untime/lib/ashldi3.c
untime/lib/ashlti3.c
untime/lib/ashrdi3.c
untime/lib/ashrti3.c
untime/lib/assembly.h
untime/lib/clear_cache.c
untime/lib/clzdi2.c
untime/lib/clzsi2.c
untime/lib/clzti2.c
untime/lib/cmpdi2.c
untime/lib/cmpti2.c
untime/lib/ctzdi2.c
untime/lib/ctzsi2.c
untime/lib/ctzti2.c
untime/lib/divdc3.c
untime/lib/divdi3.c
untime/lib/divsc3.c
untime/lib/divsi3.c
untime/lib/divti3.c
untime/lib/divxc3.c
untime/lib/enable_execute_stack.c
untime/lib/endianness.h
untime/lib/eprintf.c
untime/lib/ffsdi2.c
untime/lib/ffsti2.c
untime/lib/fixdfdi.c
untime/lib/fixdfti.c
untime/lib/fixsfdi.c
untime/lib/fixsfti.c
untime/lib/fixunsdfdi.c
untime/lib/fixunsdfsi.c
untime/lib/fixunsdfti.c
untime/lib/fixunssfdi.c
untime/lib/fixunssfsi.c
untime/lib/fixunssfti.c
untime/lib/fixunsxfdi.c
untime/lib/fixunsxfsi.c
untime/lib/fixunsxfti.c
untime/lib/fixxfdi.c
untime/lib/fixxfti.c
untime/lib/floatdidf.c
untime/lib/floatdisf.c
untime/lib/floatdixf.c
untime/lib/floattidf.c
untime/lib/floattisf.c
untime/lib/floattixf.c
untime/lib/floatundidf.c
untime/lib/floatundisf.c
untime/lib/floatundixf.c
untime/lib/floatuntidf.c
untime/lib/floatuntisf.c
untime/lib/floatuntixf.c
untime/lib/gcc_personality_v0.c
untime/lib/i386/CMakeLists.txt
untime/lib/i386/Makefile.mk
untime/lib/i386/ashldi3.S
untime/lib/i386/ashrdi3.S
untime/lib/i386/divdi3.S
untime/lib/i386/floatdidf.S
untime/lib/i386/floatdisf.S
untime/lib/i386/floatdixf.S
untime/lib/i386/floatundidf.S
untime/lib/i386/floatundisf.S
untime/lib/i386/floatundixf.S
untime/lib/i386/lshrdi3.S
untime/lib/i386/moddi3.S
untime/lib/i386/muldi3.S
untime/lib/i386/udivdi3.S
untime/lib/i386/umoddi3.S
untime/lib/int_lib.h
untime/lib/lshrdi3.c
untime/lib/lshrti3.c
untime/lib/moddi3.c
untime/lib/modsi3.c
untime/lib/modti3.c
untime/lib/muldc3.c
untime/lib/muldi3.c
untime/lib/mulsc3.c
untime/lib/multi3.c
untime/lib/mulvdi3.c
untime/lib/mulvsi3.c
untime/lib/mulvti3.c
untime/lib/mulxc3.c
untime/lib/negdi2.c
untime/lib/negti2.c
untime/lib/negvdi2.c
untime/lib/negvsi2.c
untime/lib/negvti2.c
untime/lib/paritydi2.c
untime/lib/paritysi2.c
untime/lib/parityti2.c
untime/lib/popcountdi2.c
untime/lib/popcountsi2.c
untime/lib/popcountti2.c
untime/lib/powidf2.c
untime/lib/powisf2.c
untime/lib/powitf2.c
untime/lib/powixf2.c
untime/lib/ppc/CMakeLists.txt
untime/lib/ppc/DD.h
untime/lib/ppc/Makefile.mk
untime/lib/ppc/divtc3.c
untime/lib/ppc/fixtfdi.c
untime/lib/ppc/fixunstfdi.c
untime/lib/ppc/floatditf.c
untime/lib/ppc/floatunditf.c
untime/lib/ppc/gcc_qadd.c
untime/lib/ppc/gcc_qdiv.c
untime/lib/ppc/gcc_qmul.c
untime/lib/ppc/gcc_qsub.c
untime/lib/ppc/multc3.c
untime/lib/ppc/restFP.S
untime/lib/ppc/saveFP.S
untime/lib/subvdi3.c
untime/lib/subvsi3.c
untime/lib/subvti3.c
untime/lib/trampoline_setup.c
untime/lib/ucmpdi2.c
untime/lib/ucmpti2.c
untime/lib/udivdi3.c
untime/lib/udivmoddi4.c
untime/lib/udivmodti4.c
untime/lib/udivsi3.c
untime/lib/udivti3.c
untime/lib/umoddi3.c
untime/lib/umodsi3.c
untime/lib/umodti3.c
untime/lib/x86_64/CMakeLists.txt
untime/lib/x86_64/Makefile.mk
untime/lib/x86_64/floatdidf.c
untime/lib/x86_64/floatdisf.c
untime/lib/x86_64/floatdixf.c
untime/lib/x86_64/floatundidf.S
untime/lib/x86_64/floatundisf.S
untime/lib/x86_64/floatundixf.S
untime/make/AppleBI.mk
untime/make/config.mk
untime/make/filter-inputs
untime/make/lib_info.mk
untime/make/lib_platforms.mk
untime/make/lib_util.mk
untime/make/options.mk
untime/make/platform/clang_darwin.mk
untime/make/platform/darwin_bni.mk
untime/make/platform/darwin_fat.mk
untime/make/platform/multi_arch.mk
untime/make/subdir.mk
untime/make/test/test-util.mk
untime/make/util.mk
untime/test/CMakeLists.txt
untime/test/Unit/absvdi2_test.c
untime/test/Unit/absvsi2_test.c
untime/test/Unit/absvti2_test.c
untime/test/Unit/adddf3vfp_test.c
untime/test/Unit/addsf3vfp_test.c
untime/test/Unit/addvdi3_test.c
untime/test/Unit/addvsi3_test.c
untime/test/Unit/addvti3_test.c
untime/test/Unit/ashldi3_test.c
untime/test/Unit/ashlti3_test.c
untime/test/Unit/ashrdi3_test.c
untime/test/Unit/ashrti3_test.c
untime/test/Unit/bswapdi2_test.c
untime/test/Unit/bswapsi2_test.c
untime/test/Unit/clear_cache_test.c
untime/test/Unit/clzdi2_test.c
untime/test/Unit/clzsi2_test.c
untime/test/Unit/clzti2_test.c
untime/test/Unit/cmpdi2_test.c
untime/test/Unit/cmpti2_test.c
untime/test/Unit/ctzdi2_test.c
untime/test/Unit/ctzsi2_test.c
untime/test/Unit/ctzti2_test.c
untime/test/Unit/divdc3_test.c
untime/test/Unit/divdf3vfp_test.c
untime/test/Unit/divdi3_test.c
untime/test/Unit/divsc3_test.c
untime/test/Unit/divsf3vfp_test.c
untime/test/Unit/divsi3_test.c
untime/test/Unit/divtc3_test.c
untime/test/Unit/divti3_test.c
untime/test/Unit/divxc3_test.c
untime/test/Unit/enable_execute_stack_test.c
untime/test/Unit/endianness.h
untime/test/Unit/eqdf2vfp_test.c
untime/test/Unit/eqsf2vfp_test.c
untime/test/Unit/extebdsfdf2vfp_test.c
untime/test/Unit/ffsdi2_test.c
untime/test/Unit/ffsti2_test.c
untime/test/Unit/fixdfdi_test.c
untime/test/Unit/fixdfsivfp_test.c
untime/test/Unit/fixdfti_test.c
untime/test/Unit/fixsfdi_test.c
untime/test/Unit/fixsfsivfp_test.c
untime/test/Unit/fixsfti_test.c
untime/test/Unit/fixunsdfdi_test.c
untime/test/Unit/fixunsdfsi_test.c
untime/test/Unit/fixunsdfsivfp_test.c
untime/test/Unit/fixunsdfti_test.c
untime/test/Unit/fixunssfdi_test.c
untime/test/Unit/fixunssfsi_test.c
untime/test/Unit/fixunssfsivfp_test.c
untime/test/Unit/fixunssfti_test.c
untime/test/Unit/fixunstfdi_test.c
untime/test/Unit/fixunsxfdi_test.c
untime/test/Unit/fixunsxfsi_test.c
untime/test/Unit/fixunsxfti_test.c
untime/test/Unit/fixxfdi_test.c
untime/test/Unit/fixxfti_test.c
untime/test/Unit/floatdidf_test.c
untime/test/Unit/floatdisf_test.c
untime/test/Unit/floatdixf_test.c
untime/test/Unit/floatsidfvfp_test.c
untime/test/Unit/floatsisfvfp_test.c
untime/test/Unit/floattidf_test.c
untime/test/Unit/floattisf_test.c
untime/test/Unit/floattixf_test.c
untime/test/Unit/floatundidf_test.c
untime/test/Unit/floatundisf_test.c
untime/test/Unit/floatundixf_test.c
untime/test/Unit/floatunssidfvfp_test.c
untime/test/Unit/floatunssisfvfp_test.c
untime/test/Unit/floatuntidf_test.c
untime/test/Unit/floatuntisf_test.c
untime/test/Unit/floatuntixf_test.c
untime/test/Unit/gcc_personality_test.c
untime/test/Unit/gcc_personality_test_helper.cxx
untime/test/Unit/gedf2vfp_test.c
untime/test/Unit/gesf2vfp_test.c
untime/test/Unit/gtdf2vfp_test.c
untime/test/Unit/gtsf2vfp_test.c
untime/test/Unit/ledf2vfp_test.c
untime/test/Unit/lesf2vfp_test.c
untime/test/Unit/lshrdi3_test.c
untime/test/Unit/lshrti3_test.c
untime/test/Unit/ltdf2vfp_test.c
untime/test/Unit/ltsf2vfp_test.c
untime/test/Unit/moddi3_test.c
untime/test/Unit/modsi3_test.c
untime/test/Unit/modti3_test.c
untime/test/Unit/muldc3_test.c
untime/test/Unit/muldf3vfp_test.c
untime/test/Unit/muldi3_test.c
untime/test/Unit/mulsc3_test.c
untime/test/Unit/mulsf3vfp_test.c
untime/test/Unit/multc3_test.c
untime/test/Unit/multi3_test.c
untime/test/Unit/mulvdi3_test.c
untime/test/Unit/mulvsi3_test.c
untime/test/Unit/mulvti3_test.c
untime/test/Unit/mulxc3_test.c
untime/test/Unit/nedf2vfp_test.c
untime/test/Unit/negdf2vfp_test.c
untime/test/Unit/negdi2_test.c
untime/test/Unit/negsf2vfp_test.c
untime/test/Unit/negti2_test.c
untime/test/Unit/negvdi2_test.c
untime/test/Unit/negvsi2_test.c
untime/test/Unit/negvti2_test.c
untime/test/Unit/nesf2vfp_test.c
untime/test/Unit/paritydi2_test.c
untime/test/Unit/paritysi2_test.c
untime/test/Unit/parityti2_test.c
untime/test/Unit/popcountdi2_test.c
untime/test/Unit/popcountsi2_test.c
untime/test/Unit/popcountti2_test.c
untime/test/Unit/powidf2_test.c
untime/test/Unit/powisf2_test.c
untime/test/Unit/powitf2_test.c
untime/test/Unit/powixf2_test.c
untime/test/Unit/ppc/CMakeLists.txt
untime/test/Unit/ppc/DD.h
untime/test/Unit/ppc/fixtfdi_test.c
untime/test/Unit/ppc/floatditf_test.c
untime/test/Unit/ppc/floatditf_test.h
untime/test/Unit/ppc/floatunditf_test.c
untime/test/Unit/ppc/floatunditf_test.h
untime/test/Unit/ppc/qadd_test.c
untime/test/Unit/ppc/qdiv_test.c
untime/test/Unit/ppc/qmul_test.c
untime/test/Unit/ppc/qsub_test.c
untime/test/Unit/ppc/test
untime/test/Unit/subdf3vfp_test.c
untime/test/Unit/subsf3vfp_test.c
untime/test/Unit/subvdi3_test.c
untime/test/Unit/subvsi3_test.c
untime/test/Unit/subvti3_test.c
untime/test/Unit/test
untime/test/Unit/trampoline_setup_test.c
untime/test/Unit/truncdfsf2vfp_test.c
untime/test/Unit/ucmpdi2_test.c
untime/test/Unit/ucmpti2_test.c
untime/test/Unit/udivdi3_test.c
untime/test/Unit/udivmoddi4_test.c
untime/test/Unit/udivmodti4_test.c
untime/test/Unit/udivsi3_test.c
untime/test/Unit/udivti3_test.c
untime/test/Unit/umoddi3_test.c
untime/test/Unit/umodsi3_test.c
untime/test/Unit/umodti3_test.c
untime/test/Unit/unorddf2vfp_test.c
untime/test/Unit/unordsf2vfp_test.c
untime/test/timing/CMakeLists.txt
untime/test/timing/ashldi3.c
untime/test/timing/ashrdi3.c
untime/test/timing/divdi3.c
untime/test/timing/floatdidf.c
untime/test/timing/floatdisf.c
untime/test/timing/floatdixf.c
untime/test/timing/floatundidf.c
untime/test/timing/floatundisf.c
untime/test/timing/floatundixf.c
untime/test/timing/lshrdi3.c
untime/test/timing/moddi3.c
untime/test/timing/muldi3.c
untime/test/timing/negdi2.c
untime/test/timing/time
untime/test/timing/timing.h
untime/test/timing/udivdi3.c
untime/test/timing/umoddi3.c
untime/www/content.css
untime/www/index.html
untime/www/menu.css
untime/www/menu.html.incl
ests/Android.mk
ests/armreg.h
ests/bccarm
ests/data/addressOf.bc
ests/data/array.bc
ests/data/assignment.bc
ests/data/assignmentop.bc
ests/data/b2071670.bc
ests/data/brackets.bc
ests/data/casts.bc
ests/data/char.bc
ests/data/comma.bc
ests/data/constants.bc
ests/data/defines.bc
ests/data/double.bc
ests/data/expr-ansi.bc
ests/data/expr2.bc
ests/data/film.bc
ests/data/float.bc
ests/data/floatdouble.bc
ests/data/flops.bc
ests/data/hello.bc
ests/data/inc.bc
ests/data/iops.bc
ests/data/missing-main.bc
ests/data/otcc-ansi.bc
ests/data/otcc.c
ests/data/pointers.bc
ests/data/pointers2.bc
ests/data/returnval-ansi.bc
ests/data/returnval.c
ests/data/short.bc
ests/data/simplest.bc
ests/data/src/addressOf.c
ests/data/src/array.c
ests/data/src/assignment.c
ests/data/src/assignmentop.c
ests/data/src/b2071670.c
ests/data/src/bellard.otccex.c
ests/data/src/brackets.c
ests/data/src/casts.c
ests/data/src/char.c
ests/data/src/comma.c
ests/data/src/constants.c
ests/data/src/defines.c
ests/data/src/double.c
ests/data/src/error.c
ests/data/src/expr-ansi.c
ests/data/src/expr.c
ests/data/src/expr2.c
ests/data/src/film.c
ests/data/src/float.c
ests/data/src/floatdouble.c
ests/data/src/flops.c
ests/data/src/funcargs.c
ests/data/src/hello.c
ests/data/src/inc.c
ests/data/src/iops.c
ests/data/src/locals.c
ests/data/src/missing-main.c
ests/data/src/otcc-ansi.c
ests/data/src/otcc-noinclude.c
ests/data/src/pointers.c
ests/data/src/pointers2.c
ests/data/src/returnval-ansi.c
ests/data/src/rollo3.c
ests/data/src/short.c
ests/data/src/simplest.c
ests/data/src/structs.c
ests/data/src/testStringConcat.c
ests/data/structs.bc
ests/data/testStringConcat.bc
ests/disassem.cpp
ests/disassem.h
ests/main.cpp
ests/test
ests/test.py