• Home
  • History
  • Annotate
  • only in /frameworks/compile/libbcc/
History log of /frameworks/compile/libbcc/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0cc760fa22753022ba2a5eaf3042c43abb8feda3 25-May-2017 android-build-team Robot <android-build-team-robot@google.com> release-request-33b11ddd-d658-45bf-bdb2-acceb024fe39-for-git_oc-release-4042766 snap-temp-L87400000067730042

Change-Id: Ie475fb9c5f751c89dba8b432a177d5246c34ff27
bcb03e5437a811eeaf1dfa895bfe93d841e76660 11-May-2017 David Gross <dgross@google.com> Strip unknown attributes during bitcode translation.

We need to remove attributes unknown to old versions of LLVM before
writing out bitcode, to avoid errors when writing or reading the
bitcode.

Why do we need to strip unknown attributes during bitcode translation
(which always translates from an older version of bitcode to a newer
version of bitcode), even if the input .bc does not contain those
attributes? Because the LLVM bitcode reader calls
llvm::UpgradeCallsToIntrinsic() to canonicalize the attributes of
intrinsic functions. For example, rslist.bc from RsTest_11 contains
calls to @llvm.lifetime.start and @llvm.lifetime.end, which get
canonicalized to have the argmemonly attribute.

Remember that we're writing an old fixed version of bitcode, older
than the "native" LLVM IR we're using, so there may be attributes in
that IR that are not representible in that old fixed version of
bitcode. Furthermore, argmemonly is one of a set of attributes that
seem to be designed as "transient" -- they can appear in the IR
(possibly only on intrinsics, or as the result of some analysis?) but
can never appear in bitcode.

Bug: 37720701

Test: aosp_angler-eng FORCE_BUILD_LLVM_DISABLE_NDEBUG=true
1) slang/tests
2) slang/lit-tests
3) RsTest (32-bit, 64-bit)
4) RsTest_11
5) cts -m RenderscriptTest

Change-Id: I42374acb34029f7cf5a3dbf7d9a701250d53ecc8
cinfo/Android.bp
cinfo/BitcodeTranslator.cpp
3cfa6a0673124a51dece1e6f2d2d6eaf55396818 19-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Insert a new `versionInfo` field into the `.rs.info` symbol" into oc-dev
ca949a93598d13f1ed2400af0459b05076104f5a 19-Jan-2017 Luke Drummond <luke.drummond@codeplay.com> Insert a new `versionInfo` field into the `.rs.info` symbol

This allows us to warn the user when compiling bitcode with different
frontend / backend versions both at compile time, as well as debug time
(a check is to be inserted into lldb as well).

- Extract from the bitcode metadata the version of LLVM slang has
generated used to emit bitcode (if possible) and embed it alongside
the version of LLVM this version of libbcc is linked against. This
allows us to notify the user of any possible known or unknown
incompatibilities between the version, and in our case let the
debugger track the difference between versions of LLVM used to
generate the debug symbols which is known to have no cross-version
compatibility guarantees
- update bcc to emit a warning when the bitcode version doesn't match
- Add positive version match tests + compatibility tests + negative
tests

Test: aosp_x86_64-eng (emulator)
- libbcc/tests
- RsTest (32-bit, 64-bit)
- cts -m RenderscriptTest
- rs/lldb (required various other pending CLs)

Bug: 23535482

Change-Id: I3b0ad8bbaba1846adb615da0988980cb1c95ad02
Signed-off-by: Luke Drummond <luke.drummond@codeplay.com>
(cherry picked from commit f4c3483f3abc4cadd20672ce49acfe0c88a1c1da)
ib/RSEmbedInfo.cpp
ests/libbcc/lit.cfg
ests/libbcc/test_slang_version_info.ll
94350549959ebc4c9ec70803a418bec09ad27378 29-Mar-2017 David Gross <dgross@google.com> Structure layout logic cleanup.

Do not run special x86-32 transformations when slang has explicitly
padded structs.

Verify that front end (Module) and back end (TargetMachine) agree on
the layout of every exported struct type.

Cannot build without slang change:
https://android-review.googlesource.com/#/c/359135/

Bug: http://b/29154200
Bug: http://b/28070272

Test: (aosp_x86_64-eng emulator, full_fugu-eng, aosp_angler-eng) x
(RsTest 32-bit, RsTest 64-bit, cts -m RenderscriptTest)
tests/run-lit-tests.sh
Tried (unmodified slang, modified bcc) and
( modified slang, unmodified bcc) and
( modified slang, modified bcc)
By instrumenting modified bcc, confimed that:
- Special x8632 layout transformations only run with unmodified slang,
and only when test is compiled for x8632.
"Modified slang" is a forthcoming slang change to add explicit padding
to struct types:
https://android-review.googlesource.com/#/c/359135/

Change-Id: Id938db661497710275a318e0964a36f64fcfa05b
(cherry picked from commit 97e50993c70083fdedb4f1dd2c487aa55c6f60cf)
nclude/bcc/Compiler.h
nclude/bcc/Script.h
ib/Android.bp
ib/Compiler.cpp
ib/RSCompilerDriver.cpp
ib/RSKernelExpand.cpp
ools/bcc/Android.bp
ools/bcc_compat/Android.bp
1cbb49a68f139d8ce8ed636378aab8e20e242a40 22-Mar-2017 David Gross <dgross@google.com> Merge "Make bitcode wrapper info available to MetadataExtractor." am: b2c126c9a2 am: a08c410586
am: 0e056fefa8

Change-Id: I89269150d7527cfefc1774973dc83c1aa2a36e25
0e056fefa82f7b22ae1fc9b227d5630e8dc87953 22-Mar-2017 David Gross <dgross@google.com> Merge "Make bitcode wrapper info available to MetadataExtractor." am: b2c126c9a2
am: a08c410586

Change-Id: Ic14e1c70e7b51a8f74c1e6cbfa062b97edd1b13e
a08c410586b6ab7ed07384fa2dab0ace1c6b1a68 22-Mar-2017 David Gross <dgross@google.com> Merge "Make bitcode wrapper info available to MetadataExtractor."
am: b2c126c9a2

Change-Id: I2d51b4f3e827d22681de2a769dc7207f123f0874
b2c126c9a2560f1ea230044888eba6205dd96ba8 22-Mar-2017 David Gross <dgross@google.com> Merge "Make bitcode wrapper info available to MetadataExtractor."
cf5afcb229806de1b62dee5a7cc0c7ba6a69f482 20-Mar-2017 David Gross <dgross@google.com> Make bitcode wrapper info available to MetadataExtractor.

Copy bitcode wrapper information (compiler version, optimization
level) from bitcode wrapper to Module metadata, where it can be found
by MetadataExtractor instantiated from Module. Previously, such a
MetadataExtractor ignored the information in the bitcode wrapper;
instead, it
- nonsensically set compiler version to RS_VERSION, which is an API
level rather than a slang version; and
- set optimization level to 3.

Remove unused MetadataExtractor::getTargetAPI():
- Old behavior:
- For user bitcode, got actual targetAPI.
- For libclcore, got 0.
- For linked bitcode (user bitcode + libclcore), got
uninitialized/garbage value.
- It's not clear what a sensible value would be for libclcore or for
linked bitcode (or perhaps it should be an error to query the
targetAPI in those cases). What a sensible value would be depends
on how we intend to use it.

This change enables a forthcoming libbcc change that needs to know the
slang version.

Bug: http://b/29154200
Bug: http://b/28070272

Test: full_fugu-eng
Tried ( modified slang, modified bcc) and
(unmodified slang, modified bcc):
- libbcc/tests/run_lit_tests.sh; RsTest; cts -m RenderscriptTest
- confirmed that our driver is loaded rather than libPVRRS.so
- By instrumenting modified bcc and running RsTest, confirmed
that:
- MetadataExtractor properly obtains slang version from Module.
"Modified slang" is a forthcoming slang change that changes
the slang version.

Change-Id: Ifc9c1348c96a88bf7ddb344721f67f89359a4fe6
cinfo/MetadataExtractor.cpp
cinfo/include/bcinfo/MetadataExtractor.h
nclude/bcc/Script.h
nclude/bcc/Source.h
ib/Assert.h
ib/RSCompilerDriver.cpp
ib/Script.cpp
ib/Source.cpp
ests/libbcc/getelementptr.ll
ests/libbcc/tbaa-through-alloca.ll
ests/libbcc/tbaa.ll
e9812c9a98545a01ce0c29e61f1fe482951616ae 04-Mar-2017 Miao Wang <miaowang@google.com> Merge "Make libbcc, libbcinfo, bcc no longer depend on libcutils and libutils." am: c26dd0180b am: 408af58dfc
am: a236b7b014

Change-Id: Ic07a561a4ca1ba8e89c04e2b5e0c7cc0119e0637
a236b7b01423a6e7c7e9c49ab70248228be42b24 04-Mar-2017 Miao Wang <miaowang@google.com> Merge "Make libbcc, libbcinfo, bcc no longer depend on libcutils and libutils." am: c26dd0180b
am: 408af58dfc

Change-Id: I7913f5e9b52d2bcdb2b47cc5669812b408204133
408af58dfc9f2eea5e74a0702dd57361bff07728 04-Mar-2017 Miao Wang <miaowang@google.com> Merge "Make libbcc, libbcinfo, bcc no longer depend on libcutils and libutils."
am: c26dd0180b

Change-Id: Iac2e032dd0525d604775fcd30ff70359b29b99b3
c26dd0180bf7e40d7b120fa112e944ee7cc049ca 04-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Make libbcc, libbcinfo, bcc no longer depend on libcutils and libutils."
110b1c1e87fe4a6a25f9ddc89ac4685779329b9d 03-Mar-2017 Miao Wang <miaowang@google.com> Make libbcc, libbcinfo, bcc no longer depend on libcutils and libutils.

Bug: 34396220
Test: mm and CTS tests pass
Change-Id: I9a5e608dfc2a92e411da5c7cff2406209052715d
cinfo/Android.bp
cinfo/MetadataExtractor.cpp
ib/Android.bp
ib/FileBase.cpp
ib/Properties.h
ib/RSCompilerDriver.cpp
ools/bcc/Android.bp
71fa1b1023e415a8b40b1aab5f630ff28f9c2237 03-Mar-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Don't rely on CPU name on configuring libbcc compilation flags." am: 0e4175b7c0 am: e1d6d7d282
am: cfebcafdf6

Change-Id: Ibdc30c87d67777501730198c2add74348ced8973
cfebcafdf6d05641c2beb354104a879f53d9459e 03-Mar-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Don't rely on CPU name on configuring libbcc compilation flags." am: 0e4175b7c0
am: e1d6d7d282

Change-Id: I2fdc3994ed276fd6eab812c118f41fd125cc2e1f
e1d6d7d2826e726b1d165501dc9e9e6560a6fdbf 03-Mar-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Don't rely on CPU name on configuring libbcc compilation flags."
am: 0e4175b7c0

Change-Id: I7d3fa9ef0ac726b7a6c803e622f26c6908e41b4b
0e4175b7c094196da76716ced5e1db53ecd83ad5 03-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Don't rely on CPU name on configuring libbcc compilation flags."
5379131149cfd74e2b65b7b4f31c0b8e8b2f8fa0 22-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Don't rely on CPU name on configuring libbcc compilation flags.

Low-end Sandybridge, Ivybridge, Haswell, and Broadwell CPUs lack some features
indicated by the architecture names. Hence, setCPU(getHostCPUName()) can lead
to illegal instructions. Instead, this CL sets up the feature flags from
the actual info obtained from cpuid.

Manual cherry pick of cl/1911608, I2156abd5edcebe74dec768de05c63b5b056b3818

Test: For the cherry pick, ran on Fugu the perf tests:
Test: adb shell setprop debug.rs.default-CPU-driver 1
Test: timing -c 13 15 33 5
Test: Verified that performance did not change
Test: Ran CTS, succeeded all but small_struct
Test: Rand on x86-64 emulator, no performance change

BUG: 33062150
Change-Id: I9f921c6057a47930c36f77a176b76613ad7f8267
ib/CompilerConfig.cpp
a40b3be10fffa80147296951ea5a772d0bd13a68 23-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove OutputFile and Disassembler from libbcc." am: 22c6bd75d9 am: 045dc3c1f8
am: dc7b65a562

Change-Id: I26fad6ab28d7860c5c51e9785125a19ba0c41541
dc7b65a562b8f425cb07472796cb5dbc3d911b97 23-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove OutputFile and Disassembler from libbcc." am: 22c6bd75d9
am: 045dc3c1f8

Change-Id: Iabbe1b3966f9a77a466ae7353bd52c9872f12fa6
045dc3c1f825e56dd45fd1f0a7d2389193cfe417 23-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove OutputFile and Disassembler from libbcc."
am: 22c6bd75d9

Change-Id: I31dabb3489ab3cb45c0749fe8898aafe31b5bd0b
22c6bd75d9edd4e03212f270ebeb0353427b0dbb 23-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove OutputFile and Disassembler from libbcc."
8322d4e94d0e688271f7be0b4ce2fcd4d7a84f48 23-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Add back version info to Script in libbcc" am: cfb3604f23 am: e26f228338
am: d050ed5499

Change-Id: I29621bde6040ae659fe97a576a4a27f6d3d83fe0
d050ed549953b4818c2b70bc8f72e106bcc6d851 23-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Add back version info to Script in libbcc" am: cfb3604f23
am: e26f228338

Change-Id: I4134e72fc2cd41e21ae4a21b8f0475c451a68e53
e26f228338b9929eeb15534bb438a431ae5b6a90 23-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Add back version info to Script in libbcc"
am: cfb3604f23

Change-Id: I14ae0a759195d22f0ef1d07eb2620ea834502128
cfb3604f234ce55c4bc2575cfdcf3f8c041fb869 23-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Add back version info to Script in libbcc"
295e50f60f2c0e27a2e5387400262f9db4477c39 22-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Remove OutputFile and Disassembler from libbcc.

For OutputFile, the code can be a lot simpler by just relying on what
llvm provides.

Disassembler was also not used.

Bug: 34265954
Test: Compiled. Ran imageprocessing_jb and a compat lab test.
Test: Ran CTS.
Change-Id: I360a55541b6bbb9c104415e44920728c8d451446
nclude/bcc/Compiler.h
ib/Android.bp
ib/Compiler.cpp
ib/Disassembler.cpp
ib/Disassembler.h
ib/OutputFile.cpp
ib/OutputFile.h
ib/RSCompilerDriver.cpp
fc9c55b0c248a04a325c3540b75ecd3ae64fd91f 22-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Add back version info to Script in libbcc

An upcoming CL for the debugger will need this.

Bug: 34265954
Test: Compiled. Ran rstest.
Change-Id: I6e133e19c5348659cdc799a9e2272142c6bc071a
nclude/bcc/Script.h
ib/RSCompilerDriver.cpp
ib/Script.cpp
8fca87ee45ac0c59edb750ba357849bd5705545f 22-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove unused InputFile in libbcc." am: a2b2545e07 am: eb5a87db09
am: 396232cb5c

Change-Id: Ic45ea99cc221486d806b638df7fc04473e0be35f
396232cb5c1f73412c7248590e23e57637a55e9f 22-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove unused InputFile in libbcc." am: a2b2545e07
am: eb5a87db09

Change-Id: I97ccf3b8e8316b31d3dfa70565cc0b4b2416b139
eb5a87db09ecc78875d4edf5f8d3ff2f0157b1a8 22-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove unused InputFile in libbcc."
am: a2b2545e07

Change-Id: I28fc4e30c74af362f82ef6d03240f0a44c338ecb
a2b2545e07cc5ef1baf5d866af726dcf3c175184 22-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove unused InputFile in libbcc."
d0d99315c02c9a69fde89607c09ad31979e08d05 22-Feb-2017 Luis A. Lozano <llozano@google.com> Merge "Disable static analyzer warning for google-runtime-int." am: 2a2fd29ef7 am: d50828878f
am: 736001be58

Change-Id: I3b02cc896813ec8759a304caeb2ca7ea1044155a
736001be588fe5db816b38a79da0743afd090028 22-Feb-2017 Luis A. Lozano <llozano@google.com> Merge "Disable static analyzer warning for google-runtime-int." am: 2a2fd29ef7
am: d50828878f

Change-Id: Ia4f2853dfc0f2c53857cf5dffc6e774dc2e5be38
d50828878f124696ddfcc46b8036447ef1e7a1b7 22-Feb-2017 Luis A. Lozano <llozano@google.com> Merge "Disable static analyzer warning for google-runtime-int."
am: 2a2fd29ef7

Change-Id: I77dfee61e361c0811bf1a968e5e45b3d83c35efd
2a2fd29ef74aa644bc830d376cc30aa7095d0825 22-Feb-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Disable static analyzer warning for google-runtime-int."
b3a2a97e6fc1bdf3a82bdcddc58cae3470b8c9ad 22-Feb-2017 Luis A. Lozano <llozano@google.com> Disable static analyzer warning for google-runtime-int.

User code is doing the right thing by passing "long" when
that is what fseek expects.

This is the warning that will be disabled:

file_wrapper_input.cpp:63:24: warning: consider replacing 'long' with 'int64' [google-runtime-int]

Bug: 28220065
Test: verified warning is not emitted anymore.
Change-Id: I8dbaf8be481f8e10575e6e45d7d0977d04a17461
cinfo/Wrap/file_wrapper_input.cpp
6926fae4a5d3c52250a00fe453a1f9ae863ab649 22-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Remove unused InputFile in libbcc.

This class is not used.

Bug: 34265954
Test: Compiled.
Change-Id: I3e23476c8085410fec4255e07a46bebe2a130c73
ib/Android.bp
ib/InputFile.cpp
ib/InputFile.h
ib/RSCompilerDriver.cpp
ad1f7533aa6ec16c4ae261c77679603c751fa284 21-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge changes Ic4218b49,Ib91e16d8 am: a6712f8077 am: 1e34aab155
am: 93bb46aa93

Change-Id: If965903f10beb8e39cc6df193a4756b86931a9de
93bb46aa93e8ca50c9decc6bdb8d013921dcd38c 21-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge changes Ic4218b49,Ib91e16d8 am: a6712f8077
am: 1e34aab155

Change-Id: I11cdaa8c4d259b45905fc3a636281f93543aac30
1e34aab155c87c1ab7940fc4c32016edf4fe9725 21-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge changes Ic4218b49,Ib91e16d8
am: a6712f8077

Change-Id: I3197db54195e45b8fe0331fcdbe1a50de16727d1
a6712f80778cb292e6ee361a07ca08f27feb01a8 21-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge changes Ic4218b49,Ib91e16d8

* changes:
Remove unused File code in libbcc.
Merge RSScript.cpp and Script.cpp
8486498c5f6083b8ab0f7aebb1944eaed33bd290 20-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Remove unused File code in libbcc.

Remove unused code from File related classes. More refactoring to come,
breaking this in small easy to understand steps.

Bug: 34265954
Test: Compiled. Ran imageprocessing_jb and a compat lab test.
Test: Compared that the APK have not changed in size.
Change-Id: Ic4218b49801d13f0fbbe267516882c150d6d4c93
ib/File.h
ib/FileBase.cpp
ib/FileBase.h
ib/FileMutex.h
ib/InputFile.cpp
ib/InputFile.h
ib/OutputFile.cpp
ib/OutputFile.h
ib/RSCompilerDriver.cpp
0a2acce3493df1609be2730e3058fe27af01b88f 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge RSScript.cpp and Script.cpp

We don't need two classes.

Bug: 34265954
Test: Compiled. Ran imageprocessing_jb and a compat lab test.
Test: Compared that the APK have not changed in size.

Change-Id: Ib91e16d80bd5ba33c5946ff6f5b11a579338eb1c
nclude/bcc/RSCompilerDriver.h
nclude/bcc/RSScript.h
nclude/bcc/Script.h
ib/Android.bp
ib/Compiler.cpp
ib/RSCompilerDriver.cpp
ib/RSScript.cpp
ib/Script.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
d3a576cb4e4f8035b07410c5841b5e679b28446c 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Flatten the libbcc directories." am: a9dd44f7e6 am: ac6d20c03c
am: dc4d4f7f1a

Change-Id: I18c60bfb50cc01274a38ac57e5c8752b211e8f31
dc4d4f7f1aa9cd7c0e71ea0f1299ad8fa1067edf 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Flatten the libbcc directories." am: a9dd44f7e6
am: ac6d20c03c

Change-Id: I8cdab762e015b55ace1ee2d323ffc1a41e739d0f
ac6d20c03cef510c8b976ccdf8b7f48db88fe2e3 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Flatten the libbcc directories."
am: a9dd44f7e6

Change-Id: Ie364fc9e0aef99b9f010c2340e7222f286d67127
a9dd44f7e6c67a62fa9c0a91ef6248a8ce8111a1 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Flatten the libbcc directories."
2c5013dfdb522c075ce2645435ab0392a4017bde 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove needless include for bcinfo" am: 77df0ef0ce am: 273375813e am: 8e7bf3601a
am: bd299fead4

Change-Id: I9344a65bb11eea38ddc94a9e882c7a877f378503
bd299fead42c72b75165fc36aa0817da80414400 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove needless include for bcinfo" am: 77df0ef0ce am: 273375813e
am: 8e7bf3601a

Change-Id: I33f71272a8eb1a85879ea7b3e02b21529f4b5f44
8e7bf3601ae5cf5507e188d6108d46debfa60df9 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove needless include for bcinfo" am: 77df0ef0ce
am: 273375813e

Change-Id: Iad19c6c7d018a4f19cca56547b3c55ff52009e9c
273375813eba925ea008e8ff6c35ba9ad7879657 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove needless include for bcinfo"
am: 77df0ef0ce

Change-Id: Iaa1c33e17c0af4f35a2186104b807e24edb4d8b8
a2dd52f0710c214e00c1a13e25116e1af5eec77a 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Flatten the libbcc directories.

Get rid of the Support, Core, and RenderScript subdirectories for
the sources and the header files.

Deleted the unused Sha1 header file.

Bug: 34265954
Test: Compiled everything, ran a regular and a support lib app.
Change-Id: Iac760ee3c1985259593e7bbd1dd2dd35e99f654b
ndroid.bp
nclude/bcc/Assert.h
nclude/bcc/CompilerConfig.h
nclude/bcc/Config.h
nclude/bcc/Config/Config.h
nclude/bcc/Initialization.h
nclude/bcc/RSCompilerDriver.h
nclude/bcc/RSScript.h
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSScript.h
nclude/bcc/Renderscript/RSScriptGroupFusion.h
nclude/bcc/Renderscript/RSTransforms.h
nclude/bcc/Renderscript/RSUtils.h
nclude/bcc/Support/CompilerConfig.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/Log.h
nclude/bcc/Support/OutputFile.h
nclude/bcc/Support/Properties.h
nclude/bcc/Support/Sha1Util.h
ib/Android.bp
ib/Assert.h
ib/BCCContext.cpp
ib/BCCContextImpl.cpp
ib/BCCContextImpl.h
ib/Compiler.cpp
ib/CompilerConfig.cpp
ib/Core/Android.bp
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/Disassembler.cpp
ib/Disassembler.h
ib/File.h
ib/FileBase.cpp
ib/FileBase.h
ib/FileMutex.h
ib/Initialization.cpp
ib/InputFile.cpp
ib/InputFile.h
ib/Log.h
ib/OutputFile.cpp
ib/OutputFile.h
ib/Properties.h
ib/RSAddDebugInfoPass.cpp
ib/RSCompilerDriver.cpp
ib/RSEmbedInfo.cpp
ib/RSGlobalInfoPass.cpp
ib/RSInvariant.cpp
ib/RSInvokeHelperPass.cpp
ib/RSIsThreadablePass.cpp
ib/RSKernelExpand.cpp
ib/RSScreenFunctionsPass.cpp
ib/RSScript.cpp
ib/RSScriptGroupFusion.cpp
ib/RSScriptGroupFusion.h
ib/RSStubsWhiteList.cpp
ib/RSStubsWhiteList.h
ib/RSTransforms.h
ib/RSUtils.h
ib/RSX86CallConvPass.cpp
ib/RSX86TranslateGEPPass.cpp
ib/Renderscript/Android.bp
ib/Renderscript/RSAddDebugInfoPass.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSInvariant.cpp
ib/Renderscript/RSInvokeHelperPass.cpp
ib/Renderscript/RSIsThreadablePass.cpp
ib/Renderscript/RSKernelExpand.cpp
ib/Renderscript/RSScreenFunctionsPass.cpp
ib/Renderscript/RSScript.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
ib/Renderscript/RSStubsWhiteList.cpp
ib/Renderscript/RSStubsWhiteList.h
ib/Renderscript/RSX86CallConvPass.cpp
ib/Renderscript/RSX86TranslateGEPPass.cpp
ib/Script.cpp
ib/Source.cpp
ib/Support/Android.bp
ib/Support/CompilerConfig.cpp
ib/Support/Disassembler.cpp
ib/Support/FileBase.cpp
ib/Support/Initialization.cpp
ib/Support/InputFile.cpp
ib/Support/OutputFile.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
77df0ef0cea9e0a0e36660d391dd2579d5d848bd 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove needless include for bcinfo"
4abd7a526dd489b2649bdbe1f890b80fbbe1d90a 17-Feb-2017 Jean-Luc Brouillet <jeanluc@google.com> Remove needless include for bcinfo

bcinfo does not depend on libbcc

Bug: 34265954
Test: Compiled bcinfo
Change-Id: I5d3dd3dd0fd80e739689aacd61c66fa8291c05f8
cinfo/tools/Android.bp
e483d9b2efb15d5f11e7d21bb981069175b28210 09-Feb-2017 Luis A. Lozano <llozano@google.com> Merge "Disable clang tidy checks under BitReader*." am: 0fdeaf2068 am: ae6210a34d am: 6be6f2baef
am: 6d482f0b5f

Change-Id: Ib7cc2d03fdea3bdf65131cf091faf73692be92e6
6d482f0b5f8005a0a491f4f6910ce5acee0468ca 09-Feb-2017 Luis A. Lozano <llozano@google.com> Merge "Disable clang tidy checks under BitReader*." am: 0fdeaf2068 am: ae6210a34d
am: 6be6f2baef

Change-Id: Ifd0937e7a61262ec785bfc4143872fd16dc7d2da
6be6f2baef521bc4f11f9007d6ea336896521427 09-Feb-2017 Luis A. Lozano <llozano@google.com> Merge "Disable clang tidy checks under BitReader*." am: 0fdeaf2068
am: ae6210a34d

Change-Id: I3b0d9a8f4daf1c0c6df88b1f32001140595b0a03
ae6210a34d52026d8eb3c465591678244e8835d6 09-Feb-2017 Luis A. Lozano <llozano@google.com> Merge "Disable clang tidy checks under BitReader*."
am: 0fdeaf2068

Change-Id: I71020fcdb124d58c8e41440668ef0f7050ac8991
0fdeaf2068348c39f9443b34e42936539491fc41 09-Feb-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Disable clang tidy checks under BitReader*."
2d6f9f225f6d8d64fbbc7fbe28b4cc88c1855264 08-Feb-2017 Luis A. Lozano <llozano@google.com> Disable clang tidy checks under BitReader*.

We don't control those files. We cannot fix warnings in them.
No point in getting tidy warnings on them.

Bug: 26936282
Test: WITH_TIDY=1 WITH_STATIC_ANALYZER=1 mm has no more warnings.
Change-Id: I6bf3e5d266f19512b382bc39de9ce09946ec4e2d
cinfo/BitReader_2_7/Android.bp
cinfo/BitReader_3_0/Android.bp
15719b9f4e91ce0ab44491d3400fb7794e28a203 26-Jan-2017 Pirama Arumuga Nainar <pirama@google.com> Merge "Export llvm_3_2::WriteBitcodeToFile from libbcinfo.so" am: 63d7c87253 am: d84a173a12 am: 2b76ca861f
am: f325c9d67c

Change-Id: I11529743a77c74e5f0ea4711b71218fd835bd542
f325c9d67c645b9050683b3f11106ba01867896a 26-Jan-2017 Pirama Arumuga Nainar <pirama@google.com> Merge "Export llvm_3_2::WriteBitcodeToFile from libbcinfo.so" am: 63d7c87253 am: d84a173a12
am: 2b76ca861f

Change-Id: I62d1cade6c7c19f711921df3706c12f6d4c8aa8d
2b76ca861f6f9096c4ff358b25eaf8a093c7cc11 26-Jan-2017 Pirama Arumuga Nainar <pirama@google.com> Merge "Export llvm_3_2::WriteBitcodeToFile from libbcinfo.so" am: 63d7c87253
am: d84a173a12

Change-Id: Ie9b4d04553d3f280d5a0897f6124a801f409ba02
d84a173a126c47d54d70343a3617e0369ab8a9a9 26-Jan-2017 Pirama Arumuga Nainar <pirama@google.com> Merge "Export llvm_3_2::WriteBitcodeToFile from libbcinfo.so"
am: 63d7c87253

Change-Id: I92cdca2942d4edcda25659087d02553a58b1adef
63d7c87253afa0a3b40e863d17fac186f819de01 26-Jan-2017 Pirama Arumuga Nainar <pirama@google.com> Merge "Export llvm_3_2::WriteBitcodeToFile from libbcinfo.so"
45eda8d41e23a5d38196fcf814765010e8c93b66 24-Jan-2017 Pirama Arumuga Nainar <pirama@google.com> Export llvm_3_2::WriteBitcodeToFile from libbcinfo.so

This function is used by a vendor driver.

Test: Build libbcinfo.so and check that this symbol is exported.
Change-Id: If8087cd6546bffeedfc0bd3b14790a043affc0dd
cinfo/libbcinfo.map
83ff1228b1715db6c8c68c2d889383d9c3b6e81e 13-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros" am: bc47cb1dc6 am: 0610e6ad56 am: 7ee55a24a8
am: 82e1763a85

Change-Id: I6a9636de89b8aa823b79137abb5c849c4dec9dac
82e1763a859a1c4ba01f45311a3ae6148e4c888d 13-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros" am: bc47cb1dc6 am: 0610e6ad56
am: 7ee55a24a8

Change-Id: I0ce45a25d2a68910dcfe7bec700734fc00fc99d7
7ee55a24a86ffe1eaea7354ce2da3e925ea60c0e 13-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros" am: bc47cb1dc6
am: 0610e6ad56

Change-Id: Ifd80582ea416eeb60ad03240e35730d076967792
0610e6ad5641e5eec8f4db5e8cae8839498bb8a3 13-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros"
am: bc47cb1dc6

Change-Id: Ia6aefc0b957ecd288333fa534dc49c370fab96ad
bc47cb1dc65be44cf0f8b3504b9eeb8f21d14c90 13-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros"
6a07535c8fe039b509c0dbd164b2436f1a635c5a 10-Jan-2017 Mark Salyzyn <salyzyn@google.com> liblog: use log/log.h when utilizing ALOG macros

Test: compile
Bug: 34250038
Change-Id: I65a106104f30daad7fa19eefe0d6fef743824478
cinfo/BitcodeWrapper.cpp
nclude/bcc/Assert.h
d216c884059c4d1bc83a9628ea90b4611e9f2680 11-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros" am: e37cd92af0 am: c618201866 am: e6d4e09c44
am: d159acf0c2

Change-Id: Ib5dc3597c19dc82edcabfa3ab3559ed67c2641e4
d159acf0c2cb80797bee2e66dbc60d3e609a061e 11-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros" am: e37cd92af0 am: c618201866
am: e6d4e09c44

Change-Id: Ieb66a83f91ce05767fb068359b4150a7315bbc96
e6d4e09c44f4e9c4333398df6e3a2fc4b65bc596 11-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros" am: e37cd92af0
am: c618201866

Change-Id: I14be05411d78c21fd790777b48b9dbf133f434ef
c618201866a6bf75389bb88c0893835f0133f33c 11-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros"
am: e37cd92af0

Change-Id: Ib660817688ec9219cf32b731349a2ad9dae067b5
e37cd92af035100eca2d86bd4d6b3fe2e8d24fe0 11-Jan-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros"
d5c690148285e5c3a396ff0a48a3c20bdd833dd5 10-Jan-2017 Mark Salyzyn <salyzyn@google.com> liblog: use log/log.h when utilizing ALOG macros

Test: compile
Bug: 30465923
Change-Id: I5dcef0e7708f018d3dea2a8184115b7aeb941686
cinfo/BitcodeTranslator.cpp
cinfo/MetadataExtractor.cpp
cinfo/Wrap/bitcode_wrapperer.cpp
nclude/bcc/Support/Log.h
ools/bcc/Main.cpp
9c6fb1cb72805c4f6507147721af492194b03f61 04-Jan-2017 Colin Cross <ccross@android.com> Merge "Move bcinfo headers next to library" am: 488d702e0e am: de28a8087f am: 3c49fdb8f8
am: dddd0e3b6e

Change-Id: Ia0c92f59d1d8167a9f734ff576d8914e4e0954af
dddd0e3b6e43a3a0bf518cafe66959f0c29bb831 04-Jan-2017 Colin Cross <ccross@android.com> Merge "Move bcinfo headers next to library" am: 488d702e0e am: de28a8087f
am: 3c49fdb8f8

Change-Id: I66f7dc80b0ad7bb1e2bbc2b3b912810753aedec8
3c49fdb8f8324cd04b119949811a422d393e713c 03-Jan-2017 Colin Cross <ccross@android.com> Merge "Move bcinfo headers next to library" am: 488d702e0e
am: de28a8087f

Change-Id: I1d25ea01927ddfe091957d5149247416df987163
de28a8087f33cfad8e817a9ae4d5d26dbf01371a 03-Jan-2017 Colin Cross <ccross@android.com> Merge "Move bcinfo headers next to library"
am: 488d702e0e

Change-Id: I4579775a010129de7cb679aaebb9880acfe5d0e1
488d702e0e4e20f3e4403d3c576275bf3c7bd927 03-Jan-2017 Colin Cross <ccross@android.com> Merge "Move bcinfo headers next to library"
d3a5bd09d9b79763d72b4c56075070c5e74e4755 17-Dec-2016 Colin Cross <ccross@android.com> Move bcinfo headers next to library

Move the bcinfo headers into bcinfo/include, and export the headers
to modules that depend on libbcinfo.

Test: m -j native
Change-Id: If50c88424055a754f5626201d8f05a9c404f24b9
cinfo/Android.bp
cinfo/Wrap/Android.bp
cinfo/include/bcinfo/BitcodeTranslator.h
cinfo/include/bcinfo/BitcodeWrapper.h
cinfo/include/bcinfo/MetadataExtractor.h
cinfo/include/bcinfo/Wrap/BCHeaderField.h
cinfo/include/bcinfo/Wrap/bitcode_wrapperer.h
cinfo/include/bcinfo/Wrap/file_wrapper_input.h
cinfo/include/bcinfo/Wrap/file_wrapper_output.h
cinfo/include/bcinfo/Wrap/in_memory_wrapper_input.h
cinfo/include/bcinfo/Wrap/support_macros.h
cinfo/include/bcinfo/Wrap/wrapper_input.h
cinfo/include/bcinfo/Wrap/wrapper_output.h
nclude/bcinfo/BitcodeTranslator.h
nclude/bcinfo/BitcodeWrapper.h
nclude/bcinfo/MetadataExtractor.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
ib/Core/Android.bp
ib/Renderscript/Android.bp
72913e2734d9f263e3f18d948c301217e36d79fc 14-Dec-2016 David Gross <dgross@google.com> Merge "Add regression test for debugging __fp16, float, and double constants" am: 5ffabb6138 am: 9a26a8de82 am: edd49dbc11
am: 99cd9fcb99

Change-Id: If2b4b766f9bff286bcb6230a0d97681dbec4ffc4
99cd9fcb999b3bc2ae6a5e323275d00ae1e19504 14-Dec-2016 David Gross <dgross@google.com> Merge "Add regression test for debugging __fp16, float, and double constants" am: 5ffabb6138 am: 9a26a8de82
am: edd49dbc11

Change-Id: Icb0e4b3da5ceb4118b87395ebebf1b4ce794fa0f
49ed56481d8cbe883a0b4d8c076e30738e4c429d 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove llvm-generated-headers" am: 7a27198c77 am: 97d54c86c6 am: 8dd0d0cf36
am: 0e6b49a63b

Change-Id: I311a8a5fa358cc728d0f50c092d176581abc10a2
edd49dbc11d627743c7282eaafd204692d9abe5d 14-Dec-2016 David Gross <dgross@google.com> Merge "Add regression test for debugging __fp16, float, and double constants" am: 5ffabb6138
am: 9a26a8de82

Change-Id: I6fdc9db8d85617afeb4fdfc45ed1673d346a2f35
0e6b49a63bc038a6ed6b6d65cc0f1daf45c76edb 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove llvm-generated-headers" am: 7a27198c77 am: 97d54c86c6
am: 8dd0d0cf36

Change-Id: I917adcc4943b9e272a8ba815ac628e9dd919ff9c
9a26a8de82f21e29b13cf243dbf4d762a44419ff 14-Dec-2016 David Gross <dgross@google.com> Merge "Add regression test for debugging __fp16, float, and double constants"
am: 5ffabb6138

Change-Id: Icc25ea2389b0a83c87968b3f4ec7ffe263e1b2d1
5ffabb6138928c279bedf558d92c529f90265d17 14-Dec-2016 David Gross <dgross@google.com> Merge "Add regression test for debugging __fp16, float, and double constants"
8dd0d0cf36737846aa56f228a4f36bf7c73806bd 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove llvm-generated-headers" am: 7a27198c77
am: 97d54c86c6

Change-Id: I644a66bc23e14899b672fa16f50317eb61ecac14
97d54c86c6287848ece85dac0d856f4067447c10 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove llvm-generated-headers"
am: 7a27198c77

Change-Id: I291c23ce864b40412cbc1bba4794a1e53aa42aae
7a27198c77f5bfc73d8779a9520d9b2efa714cfe 14-Dec-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "Remove llvm-generated-headers"
6f6330223b3f534ad8884cba88caa6a693ee9d06 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp" am: 8ce319b7bf am: 2ddcfa0b59 am: e0c0dbc251
am: 6f1aec5935

Change-Id: Ia06db27cf2d52027a4e2af14e95df1ac2ddbd77f
6f1aec5935e6cf545d1527602a460f2cc3a7d6c0 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp" am: 8ce319b7bf am: 2ddcfa0b59
am: e0c0dbc251

Change-Id: If8050774050595113de9f75064cf76a7463a7ae9
e0c0dbc25113c9b593163a73e42dbb6691760491 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp" am: 8ce319b7bf
am: 2ddcfa0b59

Change-Id: Ie80bc3e3d89d74e6eface0c9d35542ae74f64c0c
2ddcfa0b59ae141e1b9819f5da4820abb843ff61 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp"
am: 8ce319b7bf

Change-Id: I3db82c103eb80d3a7cd2dda9a6b001418256748f
8ce319b7bf54963813c307187b9fb47144af0fc7 14-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp"
d9758aaecf5093f2a506364f1bfc226b00aa72d0 13-Dec-2016 Colin Cross <ccross@android.com> Remove llvm-generated-headers

Generated headers are now part of llvm-defaults.

Test: mma -j
Change-Id: I23e5d93d8693d7dff99ae716e830d8712e752007
ndroid.bp
cinfo/Android.bp
cinfo/BitReader_2_7/Android.bp
cinfo/BitReader_3_0/Android.bp
cinfo/tools/Android.bp
1d3ac5662519c1864922c2edfba7a0f7a3de16b3 07-Dec-2016 Colin Cross <ccross@android.com> Convert libbcc to Android.bp

See build/soong/README.md for more information.

Includes one small code change to replace
FORCE_BUILD_LLVM_DISABLE_NDEBUG with _DEBUG, which is set already in
llvm-defaults in external/llvm/soong/llvm.go when the environment
variable is set.

libbcc-targets.mk remains, it is still used by frameworks/rs/cpu_ref.

Reapplies Iec37d2c33020bb5702c27497ae343a8312601202 with libbcinfo's
version_script only applied on device builds, and only building 64-bit
for host.

Test: mma -j
Test: mma -j FORCE_BUILD_LLVM_COMPONENTS=true
Change-Id: I6a024929bf90368f81f47c72f0c48866efc0e635
ndroid.bp
ndroid.mk
cinfo/Android.bp
cinfo/Android.mk
cinfo/BitReader_2_7/Android.bp
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_3_0/Android.bp
cinfo/BitReader_3_0/Android.mk
cinfo/Wrap/Android.bp
cinfo/Wrap/Android.mk
cinfo/tools/Android.bp
cinfo/tools/Android.mk
nclude/bcc/Renderscript/RSUtils.h
ib/Android.bp
ib/Android.mk
ib/Core/Android.bp
ib/Core/Android.mk
ib/Renderscript/Android.bp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Support/Android.bp
ib/Support/Android.mk
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
lvm-loadable-libbcc.mk
ools/Android.bp
ools/Android.mk
ools/bcc/Android.bp
ools/bcc/Android.mk
ools/bcc_compat/Android.bp
ools/bcc_compat/Android.mk
ools/bcc_strip_attr/Android.bp
ools/bcc_strip_attr/Android.mk
6918aed00d65d2e26cdeb98dd8c582ba466e7117 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Revert "Convert libbcc to Android.bp"" am: c62df60d9a am: 6d15fce439 am: cc03ae775c
am: 79506fabb1

Change-Id: Ib0151769ce79c56ed4baf4c50345f0efb664c8dc
79506fabb1d9856ffa7300a7fb9af73d8397d8c6 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Revert "Convert libbcc to Android.bp"" am: c62df60d9a am: 6d15fce439
am: cc03ae775c

Change-Id: Ifc4a528cc805006e01d7cca2e6a4fc06c03619fe
cc03ae775cad5e4b1268a692d0274df024f0ba56 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Revert "Convert libbcc to Android.bp"" am: c62df60d9a
am: 6d15fce439

Change-Id: I983557ed92eb764d5e9426bebbf08ba4f2da75f5
6d15fce4397e2644030223ad8a5bd14903f5432d 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Revert "Convert libbcc to Android.bp""
am: c62df60d9a

Change-Id: Idec06bbc6401a611d1fe99c5c0b5aa84f3047227
c62df60d9a5e9a8edcedc72633b564ebb950c22e 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Revert "Convert libbcc to Android.bp""
8e6abf0641e5ac6a88e4d974be6d7b60b914f3d5 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp" am: 5e96179cbc am: 20b5d84fae am: 8ac38b58df
am: eb6a3d9115

Change-Id: I0f1431cc87d44cdb19e20ae603fa89fb23761270
7e4c6d72d977de3e3635bc7280f52ab737c1ad34 13-Dec-2016 Colin Cross <ccross@android.com> Revert "Convert libbcc to Android.bp"

This reverts commit 5a2d24e315d79f735eeb8b6560118f10edbd6b05.

Reason for revert: breaks mac build

Change-Id: I6429aaddea2c2cc1e71c5ab66d656392a112bd8f
ndroid.bp
ndroid.mk
cinfo/Android.bp
cinfo/Android.mk
cinfo/BitReader_2_7/Android.bp
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_3_0/Android.bp
cinfo/BitReader_3_0/Android.mk
cinfo/Wrap/Android.bp
cinfo/Wrap/Android.mk
cinfo/tools/Android.bp
cinfo/tools/Android.mk
nclude/bcc/Renderscript/RSUtils.h
ib/Android.bp
ib/Android.mk
ib/Core/Android.bp
ib/Core/Android.mk
ib/Renderscript/Android.bp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Support/Android.bp
ib/Support/Android.mk
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
lvm-loadable-libbcc.mk
ools/Android.bp
ools/Android.mk
ools/bcc/Android.bp
ools/bcc/Android.mk
ools/bcc_compat/Android.bp
ools/bcc_compat/Android.mk
ools/bcc_strip_attr/Android.bp
ools/bcc_strip_attr/Android.mk
eb6a3d91156f4c4e89aa37f2249cb673eadd67ec 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp" am: 5e96179cbc am: 20b5d84fae
am: 8ac38b58df

Change-Id: If030694f11443a10f3ce458d1f967923a01fdb81
8ac38b58dfa945d3991c4c306a0f9f4c304a0cf4 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp" am: 5e96179cbc
am: 20b5d84fae

Change-Id: I35510bb6f36e4cbeed05d05b6a718d349811e3e6
20b5d84fae51b2bd8e3d36c575ac3c5cdab1e3df 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp"
am: 5e96179cbc

Change-Id: I781717e4789f6d8dd1e4e9c07b10d25213d061fe
5e96179cbcac73474dae799832b33fe78056051b 13-Dec-2016 Colin Cross <ccross@android.com> Merge "Convert libbcc to Android.bp"
5a2d24e315d79f735eeb8b6560118f10edbd6b05 07-Dec-2016 Colin Cross <ccross@android.com> Convert libbcc to Android.bp

See build/soong/README.md for more information.

Includes one small code change to replace
FORCE_BUILD_LLVM_DISABLE_NDEBUG with _DEBUG, which is set already in
llvm-defaults in external/llvm/soong/llvm.go when the environment
variable is set.

libbcc-targets.mk remains, it is still used by frameworks/rs/cpu_ref.

Test: mma -j
Test: mma -j FORCE_BUILD_LLVM_COMPONENTS=true
Change-Id: Iec37d2c33020bb5702c27497ae343a8312601202
ndroid.bp
ndroid.mk
cinfo/Android.bp
cinfo/Android.mk
cinfo/BitReader_2_7/Android.bp
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_3_0/Android.bp
cinfo/BitReader_3_0/Android.mk
cinfo/Wrap/Android.bp
cinfo/Wrap/Android.mk
cinfo/tools/Android.bp
cinfo/tools/Android.mk
nclude/bcc/Renderscript/RSUtils.h
ib/Android.bp
ib/Android.mk
ib/Core/Android.bp
ib/Core/Android.mk
ib/Renderscript/Android.bp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Support/Android.bp
ib/Support/Android.mk
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
lvm-loadable-libbcc.mk
ools/Android.bp
ools/Android.mk
ools/bcc/Android.bp
ools/bcc/Android.mk
ools/bcc_compat/Android.bp
ools/bcc_compat/Android.mk
ools/bcc_strip_attr/Android.bp
ools/bcc_strip_attr/Android.mk
6aea8d96a1467382fbf0f1edb9c8673b2f25320f 12-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove BOARD_OVERRIDE_RS_CPU_VARIANT_*" am: ece9b9d666 am: b48b174951 am: e34887908a
am: 61c8ea055e

Change-Id: Ica0e8803fe8f78cd2298e6323c88e496ceba2944
61c8ea055efef4cfed0d1fde6dbea42d73ff07ea 12-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove BOARD_OVERRIDE_RS_CPU_VARIANT_*" am: ece9b9d666 am: b48b174951
am: e34887908a

Change-Id: I1604a92a70f05ff9a11e18d661c93a86bf6860af
e34887908aa35edacdc05f6d92187a9cce56cf8c 12-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove BOARD_OVERRIDE_RS_CPU_VARIANT_*" am: ece9b9d666
am: b48b174951

Change-Id: I79fa6f0013fb5ca6454b955d6a1406ef0c1991cd
b48b174951cef847cf038f8db34d67c12cb41e8d 12-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove BOARD_OVERRIDE_RS_CPU_VARIANT_*"
am: ece9b9d666

Change-Id: I57295d1b51b16989ba0e4a000b91a6d33cc022c3
ece9b9d66607658694c1d7381a01634a2a05bcea 12-Dec-2016 Colin Cross <ccross@android.com> Merge "Remove BOARD_OVERRIDE_RS_CPU_VARIANT_*"
6134f455abc6cab4b4c31de5ea0d5353c90ad9ee 10-Dec-2016 David Gross <dgross@google.com> Add regression test for debugging __fp16, float, and double constants

See https://android-review.googlesource.com/#/c/312566/

NOTE: Upstream llvm/clang has changes "DebugInfo: New metadata
representation for global variables" (D20147, D20415) that rework
enough of the debug emission that this test case no longer makes sense
(in particular, the bitcode that forms part of this test case no
longer represents what slang will emit). Instead there is a separate
patch to make a corresponding fix (D27549, D27589).

We should throw away this patch when we incorporate those upstream
changes.

Test: full_fugu-eng: libbcc/tests

Change-Id: I56325195f447dccf5d9866380a5766476bed5e97
ests/libbcc/debug_info_static_const_fp.bc
ests/libbcc/debug_info_static_const_fp.ll
72521b5b019ba2e26b2f6c7b5e3aac15f19916a2 10-Dec-2016 Colin Cross <ccross@android.com> Remove BOARD_OVERRIDE_RS_CPU_VARIANT_*

These variables were only being used on flounder and dragon. Dragon
was copied from flounder, and was unnecessary as dragon has the same
Cortex A53/A57 CPUs as most other Android devices. Flounder is also
unnecessary, as LLVM is returning "generic" for A53/A57, and will
return "generic" for denver.

Test: mmma -j frameworks/compile/libbcc
Change-Id: Ic52e2dca219b4714488a9412aedcb0ecbea83540
ib/Support/CompilerConfig.cpp
ibbcc-device-build.mk
f471d09b07740cda5b26b1b693545ddab4c766cd 02-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove libbcc.sha1.mk" am: d41c02957f am: c42a04cd7b am: e42e5dfdec
am: 0399599c6d

Change-Id: Idfd013272c9ee8e983e369b8fa133edcb769831b
0399599c6d314f8f8eab1203af6a66f95b70466b 02-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove libbcc.sha1.mk" am: d41c02957f am: c42a04cd7b
am: e42e5dfdec

Change-Id: I68e2fc8585bf727a40eb91ed78840706e22a9faa
e42e5dfdeca3a52f46ad23651d0ba98ea0e1e2a5 02-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove libbcc.sha1.mk" am: d41c02957f
am: c42a04cd7b

Change-Id: Ifafbfa77f77dcd615116ebe8edd9ee433e3d8bb7
c42a04cd7b16326d7463d20328f7dd360663e969 02-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove libbcc.sha1.mk"
am: d41c02957f

Change-Id: Idea2fb056f7a30ed4817d673296c7f9122f1de91
d41c02957f86197972db5da95b2c97e5b45dabc0 02-Dec-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "Remove libbcc.sha1.mk"
8920d3433b108c5c80323880af58ff474f042dde 01-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not specify LOCAL_REQUIRED_MODULES for libbc.so" am: 6d797169a9 am: 0cdf535e42 am: b189e2279c
am: 98e5a57121

Change-Id: I1104a5278fbb125b8925c2c56b59684f2459bac7
98e5a571211318a766e3824f8c9244f8a252e4f6 01-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not specify LOCAL_REQUIRED_MODULES for libbc.so" am: 6d797169a9 am: 0cdf535e42
am: b189e2279c

Change-Id: I9d790e65579fa38416afba40b242b9edd7d42afa
b189e2279c9878f49c043fe5ee9a48e0bfae90c9 01-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not specify LOCAL_REQUIRED_MODULES for libbc.so" am: 6d797169a9
am: 0cdf535e42

Change-Id: Ia15d99a42a390c87296bf644842df3bed23caa97
0cdf535e426cd6112b043169ee28844a44f15cb9 01-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not specify LOCAL_REQUIRED_MODULES for libbc.so"
am: 6d797169a9

Change-Id: I7c4e2d473bed5641e3a87b0aad0f4e091bd01575
54dbe5ec71f32ac06b155cc2f13eebaa9be54129 01-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Remove libbcc.sha1.mk

This file was used for computing SHA of bcc-related binaries. It is no
longer used.

Test: Build.
Change-Id: Ib6be3c22f4a443a2ebd6b9986611d4ea89bb9e6a
ibbcc.sha1.mk
6d797169a95a607ceeadf6969acb81e417031c87 01-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not specify LOCAL_REQUIRED_MODULES for libbc.so"
dbf46f32aede4dcf3c3ee1436132b1994bccb173 01-Dec-2016 Pirama Arumuga Nainar <pirama@google.com> Do not specify LOCAL_REQUIRED_MODULES for libbc.so

Bug: http://b/28866258

libclcore*.bc and libcompiler-rt.so are instead listed as required
modules for libRS.

Test: - Build all topics in this CL
- RsTest (including the 32-bit ABI) and CTS tests pass on x86 and
x86_64 emulators and Angler.

Change-Id: Ic0b777e4891023dbb2e4ffd55bc40fe95bf2094f
ndroid.mk
ceb83859473a26414a1ad2cb34b74bb8715cbcf4 28-Nov-2016 Stephen Hines <srhines@google.com> Merge "libbcc: fix memory leak warnings." am: cc4781e8ff am: f7835832d9 am: d09d6c94b1
am: 993d1294aa

Change-Id: Id26aa779c674eaa3188b248687668cee93adb4b9
993d1294aa22ab69d52845d0e77e50d1f630407a 28-Nov-2016 Stephen Hines <srhines@google.com> Merge "libbcc: fix memory leak warnings." am: cc4781e8ff am: f7835832d9
am: d09d6c94b1

Change-Id: I856395938a1e6bb5794985da89f9e85a0df0f2e1
d09d6c94b1c92eda46912f05bbd23b5e73888268 28-Nov-2016 Stephen Hines <srhines@google.com> Merge "libbcc: fix memory leak warnings." am: cc4781e8ff
am: f7835832d9

Change-Id: I674ee6634a29966a219afdfbed4b1c0693d79b67
f7835832d926b3f55a600d9688ef41bd520ca351 28-Nov-2016 Stephen Hines <srhines@google.com> Merge "libbcc: fix memory leak warnings."
am: cc4781e8ff

Change-Id: Iffd75c1f9cbc9571f47d62585562fee26c7c763d
cc4781e8ffe338af23419c264b3640a1e755851c 28-Nov-2016 Stephen Hines <srhines@google.com> Merge "libbcc: fix memory leak warnings."
e2e04ca457e5379c57b2c9164f70e868750b7710 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not link libLLVM.so into libbcinfo.so" am: 28840649ba am: d5f859c33c am: 19c2c3fdda
am: 9f47b8a62e

Change-Id: I4e345cae73717c0293861858bd0f6219e43115dc
db33d703299fb96b895863f88851b8aaa1a3a6a2 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Do not link libLLVM.so into libbcinfo.so am: 50e1658b7b am: 205d9f862f am: 199fce6071
am: 574e571dd4

Change-Id: I544a026353c26e36590f6b349a37c26833fe8410
9f47b8a62e7d79181fb9703a5715884fdb19467b 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not link libLLVM.so into libbcinfo.so" am: 28840649ba am: d5f859c33c
am: 19c2c3fdda

Change-Id: Idd3dc3768742680dd80d6eeebeec7b5f7bd7fadf
574e571dd4e99b67de93230bffd114268fe1c599 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Do not link libLLVM.so into libbcinfo.so am: 50e1658b7b am: 205d9f862f
am: 199fce6071

Change-Id: I804426aaeb3fc1daa3e1f1ba620ddb40bcbcfc01
19c2c3fdda3764db7d70269678facf57e1dc6a71 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not link libLLVM.so into libbcinfo.so" am: 28840649ba
am: d5f859c33c

Change-Id: I69638fe0dc1688bb6cf6a31aeb8434847ed1cc82
199fce607199ac2061c098c0e6f1d9a71dafa134 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Do not link libLLVM.so into libbcinfo.so am: 50e1658b7b
am: 205d9f862f

Change-Id: I6dbc01858da5dc12e792baf50dc6c7af2cab922a
d5f859c33cd314e5438cee4871d1f8d5ca224188 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not link libLLVM.so into libbcinfo.so"
am: 28840649ba

Change-Id: Idb25583f361edc38ef3e9a1f78f35b3e2d724013
205d9f862f6d4fe27d7549a047b145a6f003ddfa 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Do not link libLLVM.so into libbcinfo.so
am: 50e1658b7b

Change-Id: Ieb79873e6f63733ead3929ce73c46a7af0d1b667
28840649ba797dadf4bfb5fdb2acd065197fbdb6 22-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Do not link libLLVM.so into libbcinfo.so"
50e1658b7b53a005eaaa71d80ba8f8f232915342 11-Nov-2016 Pirama Arumuga Nainar <pirama@google.com> Do not link libLLVM.so into libbcinfo.so

Bug: http://b/28866258

For the on-device libbcinfo.so, statically link required LLVM static
libraries into libbcinfo.so and export just the symbols in the bcinfo
namespace.

After this change, libLLVM.so should no longer get loaded during zygote
initialization. libbcinfo.so increases by roughly 700K for 32-bit and
900K for 64-bit.

Test: RenderScript CTS tests on Angler and libbcc lit tests pass (except
for 1 known failure)

Change-Id: If2f07336b09028b113086987f3ff02520b6aef92
cinfo/Android.mk
cinfo/libbcinfo.map
b12290a5a52d7d1baed67dd5ce8adceed13831e9 02-Nov-2016 Yang Ni <yangni@google.com> Merge "Add debuginfo to reduction `.expand` loops" am: 50efe38a6c am: e350b135c6 am: 66f9f16f05
am: 56a074ec6b

Change-Id: I8a25c35626f721773ac6b0dd2ca0c3c227ac14bf
56a074ec6b3a3065346879aa7994bdc324ebe996 02-Nov-2016 Yang Ni <yangni@google.com> Merge "Add debuginfo to reduction `.expand` loops" am: 50efe38a6c am: e350b135c6
am: 66f9f16f05

Change-Id: Ic01c6457757039b02848487fdb15a44f21bc4251
66f9f16f059b5151b3191d7a1a7e35455d72f7a2 02-Nov-2016 Yang Ni <yangni@google.com> Merge "Add debuginfo to reduction `.expand` loops" am: 50efe38a6c
am: e350b135c6

Change-Id: I2db1a361089ad66ed9f15fa1a0241d11ccef1f1c
e350b135c65cd8a61df47c8695d1e1b8b74faecb 02-Nov-2016 Yang Ni <yangni@google.com> Merge "Add debuginfo to reduction `.expand` loops"
am: 50efe38a6c

Change-Id: Ia6c9d0e640e3b1d1c9717005d4f7fb95c6d357c5
50efe38a6c5d84374583c8afcf272d15c131413a 02-Nov-2016 Yang Ni <yangni@google.com> Merge "Add debuginfo to reduction `.expand` loops"
0464789e86c9aa9a7f99762bd724444430bd86a7 02-Sep-2016 Luke Drummond <luke.drummond@codeplay.com> Add debuginfo to reduction `.expand` loops

Add debug symbols necessary for tracking general reduction kernel
invocations on a particular co-ordinate in the debugger. The list of
exported general reduce kernels is fetched from
`bcinfo::MetadataExtractor`, and the <accumulator>.expand
is added to the list of functions to be complemented with debug
metadata.

This works because reduction accumulators are expanded using the
same logic as ForEach kernels in `bcc::RSKernelExpandPass`

Test: Pending testuite to be pushed to frameworks/rs/tests/lldb in a
subsequent request.

Change-Id: I54f216fab95213fe2b070ed81e9e05c738943a9d
ib/Renderscript/RSAddDebugInfoPass.cpp
d389fdd75cab6b3ad25a499599761726e3840bcb 19-Oct-2016 Luis Lozano <llozano@google.com> libbcc: fix memory leak warnings.

Found by clang-tidy.

Test: RS CTS + libbcc/tests/run-lit-tests.sh
Change-Id: I552a0dd0a4bb37423ca0190027fa48a7cf2fc6f0
cinfo/MetadataExtractor.cpp
98cf77c45fa1fd20c6e930ffcd588fc8fbe7934c 27-Oct-2016 Stephen Hines <srhines@google.com> Merge "Re-enable libbcc as a loadable plugin." am: cae5ebd250 am: 77ad47ae4f am: 29116dee62
am: 287895727f

Change-Id: Ia4915ba06ca7d837ea06f60bc1716bcd5d60101b
287895727f6932f3ebf35b30dd83f5b8dab7cc30 27-Oct-2016 Stephen Hines <srhines@google.com> Merge "Re-enable libbcc as a loadable plugin." am: cae5ebd250 am: 77ad47ae4f
am: 29116dee62

Change-Id: Ib75e810b1482ffda5da735fd95a8f13803fb1348
29116dee62aeb3e641c9affc4dccbfaba46ccba7 27-Oct-2016 Stephen Hines <srhines@google.com> Merge "Re-enable libbcc as a loadable plugin." am: cae5ebd250
am: 77ad47ae4f

Change-Id: I6d25f1c65f2d9ce45638086d6e5a51cacce50529
77ad47ae4f9e01dd01f83800433bfa6371c9d012 27-Oct-2016 Stephen Hines <srhines@google.com> Merge "Re-enable libbcc as a loadable plugin."
am: cae5ebd250

Change-Id: I644839070713b99009f7d0dcd809d1f9f9490e99
cae5ebd25046f2383f9fd89fdba5ac341054cac5 27-Oct-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "Re-enable libbcc as a loadable plugin."
91ba4090d438e91d9b0f3d6bb777685418bf79e6 27-Oct-2016 Stephen Hines <srhines@google.com> Re-enable libbcc as a loadable plugin.

Bug: http://b/32448087

There is no OS-specific suffix support for
LOCAL_ALLOW_UNDEFINED_SYMBOLS, so I specify this now for all host
builds, rather than just Linux (which is the only consumer of the plugin
today).

Test: Built successfully and was able to run the loadable plugin tests
from tests/run-lit-tests.sh successfully.

Change-Id: I1090ab569e76579707456c65071717f7c94d46f7
ndroid.mk
cinfo/Android.mk
lvm-loadable-libbcc.mk
dbe9cedb41b97a1a3304f0be7ec957e3245ef39d 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic 'rs-rebase-275480' am: 0fd0024657 am: 3540b4c08d am: ef4c0c4905
am: f28e264384

Change-Id: Iac5a76a74e98ffe4eca898b215150b14ed9c47a9
fbfe8f8786da52d7dac1b57eb3888743310ac6e0 26-Oct-2016 Stephen Hines <srhines@google.com> Allow undefined symbols if we are loading libbcc dynamically. am: 1cc8b4e81a am: 8aaea00149 am: ebf94cc476
am: f77bb46196

Change-Id: I554118c45a0a9a107873e7a62483140afb62151a
c29c53e8fa92e49405914eee8ae0460d2adb8e10 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Fix libbcc to compile with LLVM r275480 am: f5b49a0ca1 am: f0764a90ae am: 636f9862ec
am: 2dd9d5db5a

Change-Id: I8cb56f1a4c16f34416a53fcdf186b1d5442a63d5
f28e264384c025110971c17752afb72d17bb425b 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic 'rs-rebase-275480' am: 0fd0024657 am: 3540b4c08d
am: ef4c0c4905

Change-Id: I0317b7f60c50fde29434a6b0c62281046014a1f9
f77bb461961e2a40bef20132f38557207bae01e2 26-Oct-2016 Stephen Hines <srhines@google.com> Allow undefined symbols if we are loading libbcc dynamically. am: 1cc8b4e81a am: 8aaea00149
am: ebf94cc476

Change-Id: I807ff4c27b7f15a58067efd84aa1aa28de08432d
2dd9d5db5a5b3ffeb75234b2be954c18208f1d7a 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Fix libbcc to compile with LLVM r275480 am: f5b49a0ca1 am: f0764a90ae
am: 636f9862ec

Change-Id: I442e846ad14d1c22a3456b54e8dca1e4bfd51f0a
ef4c0c490587456b8717036221e035d2cf40b776 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic 'rs-rebase-275480' am: 0fd0024657
am: 3540b4c08d

Change-Id: I3a89b15d384bd221337ce2fb523d5ba9598e2dbf
ebf94cc476c98dd3743e023fd6fa93cabfb7ba92 26-Oct-2016 Stephen Hines <srhines@google.com> Allow undefined symbols if we are loading libbcc dynamically. am: 1cc8b4e81a
am: 8aaea00149

Change-Id: I577f8e57505b1c9f400e14a4701a97a7dce61ca4
636f9862ec0ce271826de675f517a568ce63eaa4 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Fix libbcc to compile with LLVM r275480 am: f5b49a0ca1
am: f0764a90ae

Change-Id: Ib6930bfc0a0f85c2e2cb79eabae2d38cdd7f7b66
3540b4c08d6accd1d5fec779b425fe26e7becbc5 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic 'rs-rebase-275480'
am: 0fd0024657

Change-Id: Ic1cd4cd5fb5e6aa04733ff30bbd83203e90097f3
8aaea001498c3a85607dde22052cdab65b437d49 26-Oct-2016 Stephen Hines <srhines@google.com> Allow undefined symbols if we are loading libbcc dynamically.
am: 1cc8b4e81a

Change-Id: I7ba51ae8d23b4e2036d85536decf31e256eb7b2d
f0764a90aea08eafb018a945b06b1743a397ff8e 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Fix libbcc to compile with LLVM r275480
am: f5b49a0ca1

Change-Id: Iec80d03d7f9de33aef62314ee4fd23d5efd4dff2
0fd00246578513c1b0835102e1265cda23447782 26-Oct-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic 'rs-rebase-275480'

* changes:
Allow undefined symbols if we are loading libbcc dynamically.
Fix libbcc to compile with LLVM r275480
1cc8b4e81a483ad23b685ebfda4f8daec8744493 25-Oct-2016 Stephen Hines <srhines@google.com> Allow undefined symbols if we are loading libbcc dynamically.

Bug: http://b/31320715
Bug: http://b/32305815

Test: Run RenderScript tests (host tests for slang and libbcc, RsTest,
CTS)

Change-Id: I0c5d9f8b6c7d9c59893f5adb1da748b280c99f82
ndroid.mk
cinfo/Android.mk
lvm-loadable-libbcc.mk
f5b49a0ca149b09c8306b86db9f3aca703c4acd5 16-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Fix libbcc to compile with LLVM r275480

Bug: http://b/31320715

Test: Run RenderScript tests (host tests for slang and libbcc, RsTest,
CTS)

Change-Id: Id3f0d03ef019f9315216e7f7ac4cf60883719ad7
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/tools/main.cpp
nclude/bcc/Compiler.h
nclude/bcc/Support/CompilerConfig.h
ib/Core/Compiler.cpp
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
ib/Support/CompilerConfig.cpp
ools/bcc_strip_attr/bcc_strip_attr.cpp
47d1c0cf7a9379882726590652a8e4cee7d042db 05-Oct-2016 Elliott Hughes <enh@google.com> Merge "Test for _WIN32 in frameworks/compile/libbcc instead of USE_MINGW." am: ddc362e3fd am: 79d685e605 am: 00b7fa1122
am: 4f8294de1f

Change-Id: I09b5cf5d78fa152f833ac1be00b02951660cf271
4f8294de1f20b9069e1566ebb4580869da65ed02 05-Oct-2016 Elliott Hughes <enh@google.com> Merge "Test for _WIN32 in frameworks/compile/libbcc instead of USE_MINGW." am: ddc362e3fd am: 79d685e605
am: 00b7fa1122

Change-Id: Icfa4410ccdcb2bf904c960d31804cee0c2a9b0ec
00b7fa112203c361f30831a473a7c7510fca2746 05-Oct-2016 Elliott Hughes <enh@google.com> Merge "Test for _WIN32 in frameworks/compile/libbcc instead of USE_MINGW." am: ddc362e3fd
am: 79d685e605

Change-Id: I1f9a296e147beb44d647b6b671c073784b44eed2
79d685e605da8a1a0f85dc3350e236f28f5ea670 05-Oct-2016 Elliott Hughes <enh@google.com> Merge "Test for _WIN32 in frameworks/compile/libbcc instead of USE_MINGW."
am: ddc362e3fd

Change-Id: I43839e04a47c78fe173755c9ad987840841742c0
ddc362e3fd297a705b626620d1cf21dbe1471ce4 05-Oct-2016 Elliott Hughes <enh@google.com> Merge "Test for _WIN32 in frameworks/compile/libbcc instead of USE_MINGW."
495e806b7234762acdaa980f3e8d9ace230c996d 05-Oct-2016 Elliott Hughes <enh@google.com> Test for _WIN32 in frameworks/compile/libbcc instead of USE_MINGW.

Bug: http://b/23392815
Test: builds
Change-Id: I248d1afed2510d9cbb73a0de9d97b8b95644be11
ib/Renderscript/RSCompilerDriver.cpp
c2c821470fcb8b0afe38a7aac0d66d869538aa50 04-Oct-2016 Mark Salyzyn <salyzyn@google.com> Merge "libbcc: Replace cutils/log.h with android/log.h" am: 8428603f5d am: a674813bd6 am: ba93a7db5b
am: bd521c1bc3

Change-Id: I4c34b5cdfe320718166abe7dd76a0ae10ad8539c
bd521c1bc3f9064211fdde198c09316eda52a5fc 04-Oct-2016 Mark Salyzyn <salyzyn@google.com> Merge "libbcc: Replace cutils/log.h with android/log.h" am: 8428603f5d am: a674813bd6
am: ba93a7db5b

Change-Id: Ib7e2f832087b3ee0fe265e362af4d8a8710547a2
ba93a7db5b9df532bc58edde0665bd2a952a927e 04-Oct-2016 Mark Salyzyn <salyzyn@google.com> Merge "libbcc: Replace cutils/log.h with android/log.h" am: 8428603f5d
am: a674813bd6

Change-Id: I349f6c0cde65603fc05d57e6807a6775397d7942
a674813bd6e6e8993ec279a2a02e1596853179ad 04-Oct-2016 Mark Salyzyn <salyzyn@google.com> Merge "libbcc: Replace cutils/log.h with android/log.h"
am: 8428603f5d

Change-Id: Ic48188b712702d47f6db8f399e3d0ea61c6efdc4
8428603f5dac95ebdd0e166b58639c1d51ab6426 04-Oct-2016 Mark Salyzyn <salyzyn@google.com> Merge "libbcc: Replace cutils/log.h with android/log.h"
b5517abca2dc8bbc49a4bebeb618c7c657ba8cd7 29-Sep-2016 Mark Salyzyn <salyzyn@google.com> libbcc: Replace cutils/log.h with android/log.h

Should use android/log.h instead.

Test: compile
Bug: 26552300
Bug: 31289077
Change-Id: I932dcd8b71d0e2d3a4c908ee96e00afdda7713c6
cinfo/BitcodeTranslator.cpp
cinfo/BitcodeWrapper.cpp
cinfo/MetadataExtractor.cpp
cinfo/Wrap/bitcode_wrapperer.cpp
nclude/bcc/Assert.h
nclude/bcc/Support/Log.h
9890e48a9bb3e4390fb57bf09907158ddfae325c 15-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Revert "Don't internalize __truncxfhf2 for x86"" am: 9f22fc1a6f am: 7255e0d17e am: 8c1794a56a
am: ee2e4e9c16

Change-Id: I8cd0a0a4841b14824547507213e595e41570f161
ee2e4e9c163b28c5cedbd39a7ebb05414a73b48c 15-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Revert "Don't internalize __truncxfhf2 for x86"" am: 9f22fc1a6f am: 7255e0d17e
am: 8c1794a56a

Change-Id: Iac37f00528521c5476de5458c8f5bfc99ebd249d
8c1794a56abe2a2c0a7bddb621bcd7192bb4d090 15-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Revert "Don't internalize __truncxfhf2 for x86"" am: 9f22fc1a6f
am: 7255e0d17e

Change-Id: I91f848c85a7c5a35265bf1b94b4781331ac3abfb
7255e0d17e3e1568107f1faf41e94bc4d3431af8 15-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Revert "Don't internalize __truncxfhf2 for x86""
am: 9f22fc1a6f

Change-Id: I9f9ecf6c2fc308da40841c3a3cf5a5388c0c012b
9f22fc1a6f9fba9a423dc76316df6ad4ee6d6ccf 15-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Revert "Don't internalize __truncxfhf2 for x86""
73298cb1939b78da10b240fe8f4af6f96cc2bea0 15-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Revert "Don't internalize __truncxfhf2 for x86"

Bug: http://b/26165616 I had forgotten to revert this change when closing the bug.

This reverts commit 10f2a8f1d60724c306d01cdd0682e38122637502.

Change-Id: Ic967b1965c2f7ca8fc74122a365e2b075704727a
Test: RsTest and CTS pass on x86 emulator. small_struct test fails with
the same signature as b/29154200 - so unrelated to this CL.
ib/Core/Compiler.cpp
dfb538f008d6668d7c2710d87a3cf945149037ee 23-Aug-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix clang-tidy warnings in libbcc." am: d0f61f2d23 am: 52dcd991e0 am: d0bacb14b7
am: e149a45a92

Change-Id: Iacbf8019f11ef6ea56c5d57f541dcb402f694047
e149a45a92b59ba20035dee11d7181093a3f2e0d 23-Aug-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix clang-tidy warnings in libbcc." am: d0f61f2d23 am: 52dcd991e0
am: d0bacb14b7

Change-Id: I4459f50b1cb55f7101dc2d43b0b34707b3356a70
d0bacb14b73752b5d8452b5208c97ec7220f0211 23-Aug-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix clang-tidy warnings in libbcc." am: d0f61f2d23
am: 52dcd991e0

Change-Id: Ie87ff757d1d85a11d3416e06952c5b9c0107334a
52dcd991e0e7b873f395befd15712fc113c4fc78 23-Aug-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix clang-tidy warnings in libbcc."
am: d0f61f2d23

Change-Id: I1a5fbe4602471f00d58c6c065b7e1fdd047df785
d0f61f2d23af82380af3c60eee219e29749a9cc1 23-Aug-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix clang-tidy warnings in libbcc."
8a019dd0040bedf5078e4d18e06a244a675b80e8 13-Aug-2016 Chih-Hung Hsieh <chh@google.com> Fix clang-tidy warnings in libbcc.

These are proposed changes, looking for upstream changes.
* Add explicit keyword to conversion constructors.
Bug: 28341362
* Use const reference type for read-only parameters.
Bug: 30407689
* Use const reference type for loop index variables to avoid unnecessary copy.
Bug: 30413223
* Use faster overloaded string find function.
Bug: 30411878
Test: build with WITH_TIDY=1

Change-Id: I2a083651ba7aa7cb1b88fb84738d7caf37b4f511
cinfo/BitReader_2_7/BitReader_2_7.h
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitReader_3_0.h
cinfo/BitReader_3_0/BitcodeReader.cpp
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSScript.h
nclude/bcc/Script.h
nclude/bcc/Support/CompilerConfig.h
nclude/bcc/Support/FileMutex.h
nclude/bcc/Support/InputFile.h
nclude/bcc/Support/OutputFile.h
nclude/bcinfo/MetadataExtractor.h
nclude/bcinfo/Wrap/file_wrapper_input.h
nclude/bcinfo/Wrap/file_wrapper_output.h
ib/Core/BCCContextImpl.h
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSIsThreadablePass.cpp
ib/Renderscript/RSKernelExpand.cpp
ib/Renderscript/RSScreenFunctionsPass.cpp
ools/bcc/Main.cpp
d48e68e193d80bead0ad96de98e313621c2eaf7a 30-Jun-2016 Chih-hung Hsieh <chh@google.com> Merge \\\\"Fix misc-macro-parentheses warnings in libbcc.\\\\" am: cdfbd158dc am: 3c71546038 am: cfec334aad
am: f7d48075fa

Change-Id: I8fb9212f90d60292b40e8031dd18402346b8f5d9
f7d48075fa26464f5890e3ca016997009c3130bb 30-Jun-2016 Chih-Hung Hsieh <chh@google.com> Merge \\\"Fix misc-macro-parentheses warnings in libbcc.\\\" am: cdfbd158dc am: 3c71546038
am: cfec334aad

Change-Id: I22f7e45eccec8695897bb12c2c7b9309a1a30290
cfec334aad6f66bbd4e1e20a8bcbcab50634ae9b 30-Jun-2016 Chih-hung Hsieh <chh@google.com> Merge \\"Fix misc-macro-parentheses warnings in libbcc.\\" am: cdfbd158dc
am: 3c71546038

Change-Id: Ie7f6431b1aa644b0ff4ded10e3bdd64f174a944e
3c715460388f992930c27681c9e93a6f7f497c2e 30-Jun-2016 Chih-Hung Hsieh <chh@google.com> Merge \"Fix misc-macro-parentheses warnings in libbcc.\"
am: cdfbd158dc

Change-Id: I8b7056f413576cfe9c021e5814e666c982082559
cdfbd158dc4b4ca807105703dd3ea4f1b1dd8588 30-Jun-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix misc-macro-parentheses warnings in libbcc."
bb05b5fd42dde1aa4df1e22695a66a95dcd9e693 29-Jun-2016 Chih-Hung Hsieh <chh@google.com> Fix misc-macro-parentheses warnings in libbcc.

Use NOLINT to suppress wrong clang-tidy warnings
on type names used in a macro.
Bug: 28705665
Test: build with clang-tidy

Change-Id: Id9197d40258838245931bc0a0a00e8287ec0a764
nclude/bcinfo/Wrap/support_macros.h
ba82c0763344c2540e7a9110745692525553c0b1 16-Jun-2016 David Gross <dgross@google.com> Merge \\\\"Delete simple reduction implementation.\\\\" am: 07ca9f92bf am: c9400fc1e7 am: fdeeea8b12
am: a64535f77d

Change-Id: I420fffff385fc15f9e3f1e2bb09cdf7e59ae2023
a64535f77d9fc5cace3d0f82e5738b2bb62b7f2e 15-Jun-2016 David Gross <dgross@google.com> Merge \\\"Delete simple reduction implementation.\\\" am: 07ca9f92bf am: c9400fc1e7
am: fdeeea8b12

Change-Id: Ie2220b3de1ad7d3a1ac7aea28b23901466836d22
fdeeea8b1250ff2d5a6439611dea006398fe7e35 15-Jun-2016 David Gross <dgross@google.com> Merge \\"Delete simple reduction implementation.\\" am: 07ca9f92bf
am: c9400fc1e7

Change-Id: If9fa8ccd2a9dbdb6fb85f6faa538c578ab8a5bcd
c9400fc1e7785d8bc3bc0d4055eafa28a254efe3 15-Jun-2016 David Gross <dgross@google.com> Merge \"Delete simple reduction implementation.\"
am: 07ca9f92bf

Change-Id: I2957cd73e0bc86c0f1eab4536a8f01b8864ee61f
07ca9f92bf8e1bafdf96f9e3585028935ad74ee6 15-Jun-2016 David Gross <dgross@google.com> Merge "Delete simple reduction implementation."
a90171ce2ca4a9d5863f2e8c9590746c733de03b 15-Jun-2016 Yang Ni <yangni@google.com> Merge \\\\"Disable AVX support in bcc\\\\" am: d4af5eabb5 am: d4da0559b8 am: 201290b887
am: 26547bfc64

Change-Id: I134a15ae3b91145c7a7e67fa6c904abd64d14c26
26547bfc645da21268600ba0cbac7a1920e90c0c 15-Jun-2016 Yang Ni <yangni@google.com> Merge \\\"Disable AVX support in bcc\\\" am: d4af5eabb5 am: d4da0559b8
am: 201290b887

Change-Id: I7d95ca391d9d185538d6cb86fa478ace2881781f
201290b8876f4719155f0a30b88929cc546c5f08 15-Jun-2016 Yang Ni <yangni@google.com> Merge \\"Disable AVX support in bcc\\" am: d4af5eabb5
am: d4da0559b8

Change-Id: Ib73ec37dabd7ddf511d7b10e43e95a9047e5db08
d4da0559b8929a57e6c61e71bc9879ce9296c4aa 15-Jun-2016 Yang Ni <yangni@google.com> Merge \"Disable AVX support in bcc\"
am: d4af5eabb5

Change-Id: Iab5081d92f4a3aff63358973da19776ad6a9bb1d
d4af5eabb5461a298bda6c943124859a2ee2d78c 15-Jun-2016 Yang Ni <yangni@google.com> Merge "Disable AVX support in bcc"
48ef3bd9fbbe6824d807534706f4a8418a282ed0 13-Jun-2016 Yang Ni <yangni@google.com> Disable AVX support in bcc

Bug: 28879581

LLVM generates AVX code for long3 load/store, which treats a long3 value
as 256 bits, while the RS runtime only allocates 192 bits for a long3
element in an allocation.

This CL disables AVX codegen to avoid this issue.

Change-Id: Ia656a36c35a4cfbe620a555abb8b28c808843459
ib/Support/CompilerConfig.cpp
9fa4d4480252ecfe08c97bc35888360b1e19ec99 02-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation.

Bug: 27298560
Change-Id: Id826426fc81458ad66118bf7b2059a7a6f02a047
(cherry picked from commit a48ea364652efcf947dd33c8a6ba893e9c00dd6a)
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Renderscript/RSUtils.h
nclude/bcinfo/MetadataExtractor.h
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSKernelExpand.cpp
ests/libbcc/test_reduce_general_metadata.ll
cc509f30acf6465194ccce27283230488f619c8d 14-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation. am: a48ea36465 am: f8c5911850
am: 208c80f764

Change-Id: I1bc62bad1c89c3fc7d830382a454df58f713f86b
4ff316e05feea5fca71d313d96b2db88d0ed8c06 14-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation. am: a48ea36465 am: d2e35f9591
am: 5b1b8aef21

Change-Id: I11e24b96caf14092346af01df5de52b350cfb5b7
208c80f764b1d369624a5bd94beca2ce50f5054d 14-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation. am: a48ea36465
am: f8c5911850

Change-Id: I2e61baa4aa0aadaed3035556839b9393f0698a5b
5b1b8aef21160ce37cf2658923d7d86ed7a88896 14-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation. am: a48ea36465
am: d2e35f9591

Change-Id: I9156f4bc244e2086a2de15e98957b41013e74441
f8c591185061dde2bee154cd9e8f3881d9498176 14-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation.
am: a48ea36465

Change-Id: I66919a24f3b50d239fe3f347c8c88711f3a4da65
d2e35f95915d480fe203d6614df8b0f5d14de0e5 13-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation.
am: a48ea36465

Change-Id: Ie88be61a5b49bf4c0147db7d05c5cf00bb028ff3
a48ea364652efcf947dd33c8a6ba893e9c00dd6a 02-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation.

Bug: 27298560
Change-Id: Id826426fc81458ad66118bf7b2059a7a6f02a047
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Renderscript/RSUtils.h
nclude/bcinfo/MetadataExtractor.h
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSKernelExpand.cpp
ests/libbcc/test_reduce_general_metadata.ll
70d354da82211a22f9042f678d36a8d1dd61e257 30-Apr-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix google-explicit-constructor warnings." am: 0e1a7167e4 am: c643a4c927 am: 805a75180a
am: 9bf1ae7812

* commit '9bf1ae78129b9e6455e5ce01d3e57fd2b2417c5c':
Fix google-explicit-constructor warnings.

Change-Id: I892a5d817ae8927c9a51eb7f1805a31e72c1c885
9bf1ae78129b9e6455e5ce01d3e57fd2b2417c5c 30-Apr-2016 Chih-Hung Hsieh <chh@google.com> Merge "Fix google-explicit-constructor warnings." am: 0e1a7167e4 am: c643a4c927
am: 805a75180a

* commit '805a75180a629b35678e894306609556a0a896e6':
Fix google-explicit-constructor warnings.

Change-Id: I3d5c034f83ed0e07a74ac149fc1a475fcad28ecc
805a75180a629b35678e894306609556a0a896e6 30-Apr-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix google-explicit-constructor warnings." am: 0e1a7167e4
am: c643a4c927

* commit 'c643a4c92721ac436e8542efe71e0e10126030e7':
Fix google-explicit-constructor warnings.

Change-Id: I89df0ded440b86f3a6953986e6a83545ffebee69
c643a4c92721ac436e8542efe71e0e10126030e7 30-Apr-2016 Chih-Hung Hsieh <chh@google.com> Merge "Fix google-explicit-constructor warnings."
am: 0e1a7167e4

* commit '0e1a7167e4c7a9ebf4eb7c107103743615332a0d':
Fix google-explicit-constructor warnings.

Change-Id: I1f5be25800a87a11220ca1ec6e973df1d94c4784
0e1a7167e4c7a9ebf4eb7c107103743615332a0d 30-Apr-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix google-explicit-constructor warnings."
7e920a716693033edf32a6fedd03798bbfbd85eb 29-Apr-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: Ic1bb4f0eb47fa4f1b2118d0ed5bb668ba555c801
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSKernelExpand.cpp
543189a921202d84cb1e4372cf8942408bd90e2b 19-Apr-2016 David Gross <dgross@google.com> Merge "If a general reduction kernel lacks a combiner function, synthesize one." am: 1ca1ee8 am: 77b7a39 am: eeff67b
am: e4cca8e

* commit 'e4cca8ed175969a41f18257e92c6d5a39c315307':
If a general reduction kernel lacks a combiner function, synthesize one.

Change-Id: I9962ee3691e938e2408296bf4399e3d36fec99e5
e4cca8ed175969a41f18257e92c6d5a39c315307 19-Apr-2016 David Gross <dgross@google.com> Merge "If a general reduction kernel lacks a combiner function, synthesize one." am: 1ca1ee8 am: 77b7a39
am: eeff67b

* commit 'eeff67b2e0a9a33b1a8bfc5073f03125a9d7b9ea':
If a general reduction kernel lacks a combiner function, synthesize one.

Change-Id: Ic38976307dbeb86ce5cfc7d07668c1eee18e26f8
eeff67b2e0a9a33b1a8bfc5073f03125a9d7b9ea 19-Apr-2016 David Gross <dgross@google.com> Merge "If a general reduction kernel lacks a combiner function, synthesize one." am: 1ca1ee8
am: 77b7a39

* commit '77b7a394adf66687c11cc1e0ef6b093bb65ad460':
If a general reduction kernel lacks a combiner function, synthesize one.

Change-Id: I7bfd692073b2d6b087788fce798bb6dd2bb1ddb0
77b7a394adf66687c11cc1e0ef6b093bb65ad460 19-Apr-2016 David Gross <dgross@google.com> Merge "If a general reduction kernel lacks a combiner function, synthesize one."
am: 1ca1ee8

* commit '1ca1ee856d334c7e3bdd7dad6184d10384790512':
If a general reduction kernel lacks a combiner function, synthesize one.

Change-Id: I579c085edd93169f9cb9db8f9554d96d060dfb14
1ca1ee856d334c7e3bdd7dad6184d10384790512 19-Apr-2016 David Gross <dgross@google.com> Merge "If a general reduction kernel lacks a combiner function, synthesize one."
263a1e9f5861386b706456ba5321bd1309c5d8d5 19-Apr-2016 David Gross <dgross@google.com> resolve merge conflicts of 1726942 to nyc-dev-plus-aosp am: ca4b041
am: cf71a21

* commit 'cf71a21b88e74e04c38cfd83cb549f2a66bb7ba0':
Preserve generalized reduction combiner function for use by driver.

Change-Id: I6b28bd686bf55bf10ed3c7f577a9330e7befdfa9
cf71a21b88e74e04c38cfd83cb549f2a66bb7ba0 19-Apr-2016 David Gross <dgross@google.com> resolve merge conflicts of 1726942 to nyc-dev-plus-aosp
am: ca4b041

* commit 'ca4b0414c4ae387587a6a167406ca3b2bda823e5':
Preserve generalized reduction combiner function for use by driver.

Change-Id: I680ac019d601974ba551357f61c7202b724ad357
dd33eb89cfb81b152ae39f9afadb3c73a00fd46a 08-Apr-2016 David Gross <dgross@google.com> If a general reduction kernel lacks a combiner function, synthesize one.

The CPU reference driver can only go multithreaded for a reduction kernel
if that kernel has a combiner function.

Bug: 27299475

Change-Id: If7f3a9ba8ec5e15ed5f3ef96968d28d650b01c20
(cherry picked from commit 57fd9f882f3359be4201c42b02aebf785d311df2)
nclude/bcc/Renderscript/RSUtils.h
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSKernelExpand.cpp
ca4b0414c4ae387587a6a167406ca3b2bda823e5 18-Apr-2016 David Gross <dgross@google.com> resolve merge conflicts of 1726942 to nyc-dev-plus-aosp

Merge commit '17269421eb8e0c74290d23f95cbcb518ddcc3fa9' into manual_merge_1726942

Change-Id: Ic07ff58a68feb1f48d864c88219665b37a363eca
17269421eb8e0c74290d23f95cbcb518ddcc3fa9 18-Apr-2016 David Gross <dgross@google.com> Merge "Preserve generalized reduction combiner function for use by driver."
am: ba87381

* commit 'ba87381eff4539ad6fc7e7c958c01007c26eec78':
Preserve generalized reduction combiner function for use by driver.

Change-Id: Ia17b0381888ee9547d52d6e93cc28c5b6927e390
ba87381eff4539ad6fc7e7c958c01007c26eec78 18-Apr-2016 David Gross <dgross@google.com> Merge "Preserve generalized reduction combiner function for use by driver."
1a7f21fff6d8740cb5e770cb3b6b58ebdd2a8f46 15-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes from topic \'struct-fix\' into nyc-dev am: c6c9c1f
am: 356b9db

* commit '356b9dbac912b1918a9137f20c9113aff4ea6b45':
Translate GEP instructions on structs to GEP on int8*
X86: Fix kernel Input/Output GetElementPtr offset issue

Change-Id: Ie28b6e5662003bda60d1b0c6a5ad902b14fa87cf
356b9dbac912b1918a9137f20c9113aff4ea6b45 15-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic \'struct-fix\' into nyc-dev
am: c6c9c1f

* commit 'c6c9c1f04b480a395daa1bdd5d634060e505bd80':
Translate GEP instructions on structs to GEP on int8*
X86: Fix kernel Input/Output GetElementPtr offset issue

Change-Id: I12cf5b0a98481b2408993f8d3e25f7bf028e7df8
c6c9c1f04b480a395daa1bdd5d634060e505bd80 15-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes from topic 'struct-fix' into nyc-dev

* changes:
Translate GEP instructions on structs to GEP on int8*
X86: Fix kernel Input/Output GetElementPtr offset issue
f1855f7b710feb0c72378b6995f96fb7dd324465 21-Mar-2016 David Gross <dgross@google.com> Preserve generalized reduction combiner function for use by driver.

This is needed for multithreaded execution of a reduction kernel.

Bug: 27299475

Change-Id: Id94606f73eea3462232a7f7473fa7a3324f536c6
(cherry picked from commit 8ca13573dee07254c95067d05476a82980d8fd6f)
ib/Core/Compiler.cpp
ib/Renderscript/RSKernelExpand.cpp
9e0f8f0c8965834de02d007bb30e1dc950cf9762 12-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Translate GEP instructions on structs to GEP on int8*

http://b/24142721

X86 data layout has 64-bit scalars aligned at 4-byte boundaries, while
ARM aligns these data at 8-byte boundaries. To bring frontend- and
backend-generated code into agreement, this patch adds a pass to
translate GEPs on structs to GEPs with int8* operands and byte offsets.
This pass runs only on X86 targets.

Change-Id: I961b2bc7db9f57f15126f27396db42c9deedfd43
(cherry picked from commit d2d5ee3893220cec256c829a4740a718232f84ac)
nclude/bcc/Compiler.h
nclude/bcc/Config/Config.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSX86TranslateGEPPass.cpp
7d6cde16bde7c6c65d47b51bb992bdfb94077393 21-Oct-2015 Yong Chen <yong.a.chen@intel.com> X86: Fix kernel Input/Output GetElementPtr offset issue

http://b/24142721

The disagreement between module and x86 target datalayout causes
mismatched size calculation of structs with 64-bit scalar fields.

This patch solves the issue by treating input and output pointers as
byte* pointers, indexing them with explicit byte offsets computed using
a modified data layout for x86, with alignment for 64-bit scalars set to
8-bytes, and casting the indexed pointers back to the real type.

Change-Id: Id99ea0e37f5cc9ad93cc6a5979db79ff11b3998c
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
(cherry picked from commit f039d98d346006442b61255a2889b8513a8cd56f)
nclude/bcc/Config/Config.h
ib/Renderscript/RSKernelExpand.cpp
5bda78ea969fe43f9145db9b29211a96bb85ec3e 15-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic \'fix-struct-layout\' am: ea61366 am: 25dc2b1
am: efc2fec

* commit 'efc2feca9f42709f66ef4b9c4872f6b55c769dff':
Translate GEP instructions on structs to GEP on int8*
X86: Fix kernel Input/Output GetElementPtr offset issue

Change-Id: I1d029585f8b966a491a69b2dc266ec951b07ae40
efc2feca9f42709f66ef4b9c4872f6b55c769dff 15-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic \'fix-struct-layout\' am: ea61366
am: 25dc2b1

* commit '25dc2b1b8574314afba50843b74318cf9d8676db':
Translate GEP instructions on structs to GEP on int8*
X86: Fix kernel Input/Output GetElementPtr offset issue

Change-Id: I93adb80cf93db3ba13187aa823f09bd0137cd734
25dc2b1b8574314afba50843b74318cf9d8676db 15-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic \'fix-struct-layout\'
am: ea61366

* commit 'ea613661f50e49d9a8074a6342c2091a1bc55d3e':
Translate GEP instructions on structs to GEP on int8*
X86: Fix kernel Input/Output GetElementPtr offset issue

Change-Id: If350936ccc606dbb38cfe1fe766765aada7137b3
ea613661f50e49d9a8074a6342c2091a1bc55d3e 15-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge changes from topic 'fix-struct-layout'

* changes:
Translate GEP instructions on structs to GEP on int8*
X86: Fix kernel Input/Output GetElementPtr offset issue
d2d5ee3893220cec256c829a4740a718232f84ac 12-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Translate GEP instructions on structs to GEP on int8*

http://b/24142721

X86 data layout has 64-bit scalars aligned at 4-byte boundaries, while
ARM aligns these data at 8-byte boundaries. To bring frontend- and
backend-generated code into agreement, this patch adds a pass to
translate GEPs on structs to GEPs with int8* operands and byte offsets.
This pass runs only on X86 targets.

Change-Id: I961b2bc7db9f57f15126f27396db42c9deedfd43
nclude/bcc/Compiler.h
nclude/bcc/Config/Config.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSX86TranslateGEPPass.cpp
f039d98d346006442b61255a2889b8513a8cd56f 21-Oct-2015 Yong Chen <yong.a.chen@intel.com> X86: Fix kernel Input/Output GetElementPtr offset issue

http://b/24142721

The disagreement between module and x86 target datalayout causes
mismatched size calculation of structs with 64-bit scalar fields.

This patch solves the issue by treating input and output pointers as
byte* pointers, indexing them with explicit byte offsets computed using
a modified data layout for x86, with alignment for 64-bit scalars set to
8-bytes, and casting the indexed pointers back to the real type.

Change-Id: Id99ea0e37f5cc9ad93cc6a5979db79ff11b3998c
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
nclude/bcc/Config/Config.h
ib/Renderscript/RSKernelExpand.cpp
7b883fd82746d9d6a6604f9362ca8396d93ae002 13-Apr-2016 David Gross <dgross@google.com> If a general reduction kernel lacks a combiner function, synthesize one. am: 57fd9f8
am: 2241246

* commit '224124653d24969e95bbe486c135002bcca2b789':
If a general reduction kernel lacks a combiner function, synthesize one.

Change-Id: Id86999d42f91f9eb424dd9c96d4b9dc557b1cb7a
224124653d24969e95bbe486c135002bcca2b789 13-Apr-2016 David Gross <dgross@google.com> If a general reduction kernel lacks a combiner function, synthesize one.
am: 57fd9f8

* commit '57fd9f882f3359be4201c42b02aebf785d311df2':
If a general reduction kernel lacks a combiner function, synthesize one.

Change-Id: I3187508fc8d6f2f14b42f9d1ae401a33183d4701
57fd9f882f3359be4201c42b02aebf785d311df2 08-Apr-2016 David Gross <dgross@google.com> If a general reduction kernel lacks a combiner function, synthesize one.

The CPU reference driver can only go multithreaded for a reduction kernel
if that kernel has a combiner function.

Bug: 27299475

Change-Id: If7f3a9ba8ec5e15ed5f3ef96968d28d650b01c20
nclude/bcc/Renderscript/RSUtils.h
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSKernelExpand.cpp
e085999a70bf0d0f600547451277faaeb2e44334 05-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with rsDebug for half" am: 4ef674e am: 08241de
am: 1376297

* commit '137629762e59586575f8904dd777f2a0f38b6e7e':
Update bcc's whitelist with rsDebug for half

Change-Id: Ib186b73ad23c934501f76e40ea8359d510129bad
137629762e59586575f8904dd777f2a0f38b6e7e 05-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with rsDebug for half" am: 4ef674e
am: 08241de

* commit '08241de26207a537b5dac6af25f9545e583a6000':
Update bcc's whitelist with rsDebug for half

Change-Id: I201f0eb52b391779b0402194e366cadf46f3f84d
08241de26207a537b5dac6af25f9545e583a6000 05-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with rsDebug for half"
am: 4ef674e

* commit '4ef674e6cb6ae82d849817390a1364d0f490b0d0':
Update bcc's whitelist with rsDebug for half

Change-Id: I883778082412f9b9c48730592102e98df4bf929a
4ef674e6cb6ae82d849817390a1364d0f490b0d0 05-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc's whitelist with rsDebug for half"
95dc971a4949c37e8ad5145fd9d95d4dd99f8757 04-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc's whitelist with rsDebug for half

http://b/27556050

Change-Id: Ic3f89c67e94c071c4da46554a293fe21b84a9ffc
(cherry picked from commit 741f72bde7704e49c096dd90effdff4ab099d2d9)
ib/Renderscript/RSStubsWhiteList.cpp
d119c14b75cb4183ea3e1ea91fb4afdfda4fc955 05-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc\'s whitelist with rsDebug for half am: 741f72b
am: 2f469a1

* commit '2f469a19ce33b9e93f81322563fb1b6ab4eeddd7':
Update bcc's whitelist with rsDebug for half

Change-Id: I40b31cbb97e11816cbb2ec916e98b5feca68e017
2f469a19ce33b9e93f81322563fb1b6ab4eeddd7 05-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc\'s whitelist with rsDebug for half
am: 741f72b

* commit '741f72bde7704e49c096dd90effdff4ab099d2d9':
Update bcc's whitelist with rsDebug for half

Change-Id: I581eebcae8a014effe124b1963d8d26e836dbeb1
741f72bde7704e49c096dd90effdff4ab099d2d9 04-Apr-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc's whitelist with rsDebug for half

http://b/27556050

Change-Id: Ic3f89c67e94c071c4da46554a293fe21b84a9ffc
ib/Renderscript/RSStubsWhiteList.cpp
4a939db1a5d01151afc55e5211f9f2a7c76e2409 01-Apr-2016 Dean De Leo <dean@codeplay.com> Merge "Fix the MD debug info to the `expand\' kernels" am: 4a82aa5 am: 8c57a75
am: aa355be

* commit 'aa355bec557ade1c6213427b3259d89e6578780d':
Fix the MD debug info to the `expand' kernels

Change-Id: Iec646e8208e30f2f505c9264991f112cfd7538b2
aa355bec557ade1c6213427b3259d89e6578780d 01-Apr-2016 Dean De Leo <dean@codeplay.com> Merge "Fix the MD debug info to the `expand\' kernels" am: 4a82aa5
am: 8c57a75

* commit '8c57a75aad2a60b3aaf875e372c3a3f7ed82d3ef':
Fix the MD debug info to the `expand' kernels

Change-Id: I32bfb70fc1f0c231f95b7db060ebe3bc889f2274
8c57a75aad2a60b3aaf875e372c3a3f7ed82d3ef 01-Apr-2016 Dean De Leo <dean@codeplay.com> Merge "Fix the MD debug info to the `expand\' kernels"
am: 4a82aa5

* commit '4a82aa54a9286bd29ea7175e1096d993b5a9e4f1':
Fix the MD debug info to the `expand' kernels

Change-Id: Idd9d80e1ca84ba1527eee20dabc4ba78b17de260
4a82aa54a9286bd29ea7175e1096d993b5a9e4f1 01-Apr-2016 Stephen Hines <srhines@google.com> Merge "Fix the MD debug info to the `expand' kernels"
3ca8fe934c6147f486dbb346fea9ec14ada97dae 01-Apr-2016 Dean De Leo <dean@codeplay.com> Fix the MD debug info to the `expand' kernels

As follow up of the change of [1] in llvm upstream, function metadata
should now be set through the function object. With [2], the above change
from upstream has been pulled into the LLVM version of the AOSP, requiring
to update RSAddDebugInfoPass.cpp to adapt to the new introduced logic.

Without this fix, the debug information for the 'kernel.expand'
functions is corrupt, making not possible to inspect the local variables
through a debugger.

References
[1] http://reviews.llvm.org/D14265
[2] https://android.googlesource.com/platform/frameworks/compile/libbcc/+/7a611ce47aed312cd92d2749dd4243d4384d2dd9

Change-Id: I95acb22d9d9fd0e2c28b859b01e84ed4a773e17b
ib/Renderscript/RSAddDebugInfoPass.cpp
736ca458b21cde0acf551d0df6e2957cd1460156 01-Apr-2016 Miao Wang <miaowang@google.com> Merge "Add __HOST__ check for bcc-compat" am: 678ecd1 am: 42a7fe2
am: 65162a0

* commit '65162a0121e007009a4a64ebdafa92cd1dbe7b40':
Add __HOST__ check for bcc-compat

Change-Id: I67e6b9db78d44fd236a3b3659afbf8fe5230d380
65162a0121e007009a4a64ebdafa92cd1dbe7b40 01-Apr-2016 Miao Wang <miaowang@google.com> Merge "Add __HOST__ check for bcc-compat" am: 678ecd1
am: 42a7fe2

* commit '42a7fe25462bf539ed68fa34e781654d525bceef':
Add __HOST__ check for bcc-compat

Change-Id: I7d68fc1733337e2410048dd65db4764863d1a1b0
42a7fe25462bf539ed68fa34e781654d525bceef 01-Apr-2016 Miao Wang <miaowang@google.com> Merge "Add __HOST__ check for bcc-compat"
am: 678ecd1

* commit '678ecd14f649a27df2e8186a0914b57d639b63b1':
Add __HOST__ check for bcc-compat

Change-Id: I0ec780a1a95c625ac384322c3163bc0f272628eb
690bce91094178b95ea13cc4d1df3f0d10e60149 01-Apr-2016 Miao Wang <miaowang@google.com> Add __HOST__ check for bcc-compat am: 4e39604
am: dacf87d

* commit 'dacf87dccdc07cf681b2d0d70fde8897ef20f6e3':
Add __HOST__ check for bcc-compat

Change-Id: If6aba2f1f351945eea9fb28c8d08efd1706a4c74
dacf87dccdc07cf681b2d0d70fde8897ef20f6e3 01-Apr-2016 Miao Wang <miaowang@google.com> Add __HOST__ check for bcc-compat
am: 4e39604

* commit '4e39604f2b7b1371cc0b0da4bf682616143e5bd6':
Add __HOST__ check for bcc-compat

Change-Id: I25b559054b157c2e4b886a0711c19467b5220c0c
678ecd14f649a27df2e8186a0914b57d639b63b1 01-Apr-2016 Miao Wang <miaowang@google.com> Merge "Add __HOST__ check for bcc-compat"
86e8d4d08a394d8f6610e87a376aa9349d013da4 01-Apr-2016 Miao Wang <miaowang@google.com> Add __HOST__ check for bcc-compat

Bug: 27952962

- For x86_64, setCPU("core2") for bcc-compat.

Change-Id: I5322543deffb121b9231b14cd77c5143fdcd5bec
(cherry picked from commit 4e39604f2b7b1371cc0b0da4bf682616143e5bd6)
ib/Support/CompilerConfig.cpp
4e39604f2b7b1371cc0b0da4bf682616143e5bd6 01-Apr-2016 Miao Wang <miaowang@google.com> Add __HOST__ check for bcc-compat

Bug: 27952962

- For x86_64, setCPU("core2") for bcc-compat.

Change-Id: I5322543deffb121b9231b14cd77c5143fdcd5bec
ib/Support/CompilerConfig.cpp
c7d1c422b652ee7eb9286fc8b09220410ff57922 31-Mar-2016 Ewan Crawford <ewan.codeplay@googlemail.com> Merge "Use RenderScript DWARF tag for bcc generated code." am: 2413a9a am: 336355c
am: 37df2ca

* commit '37df2caf6bee98712e254c485633fc8de3059497':
Use RenderScript DWARF tag for bcc generated code.

Change-Id: Ib23319f94a6e00124b2bc8f8e72f4d641b80a6fc
37df2caf6bee98712e254c485633fc8de3059497 31-Mar-2016 Ewan Crawford <ewan.codeplay@googlemail.com> Merge "Use RenderScript DWARF tag for bcc generated code." am: 2413a9a
am: 336355c

* commit '336355cfeae22d5f78f2b26d6439f584b1a49f49':
Use RenderScript DWARF tag for bcc generated code.

Change-Id: I4a3a39708e3e00da8e8c3e48ccf8aa6bad69041c
336355cfeae22d5f78f2b26d6439f584b1a49f49 30-Mar-2016 Ewan Crawford <ewan.codeplay@googlemail.com> Merge "Use RenderScript DWARF tag for bcc generated code."
am: 2413a9a

* commit '2413a9acf2399c145068e85ce38a80c2fc6d612a':
Use RenderScript DWARF tag for bcc generated code.

Change-Id: I81a4012e0ecd254a45d7443f46875184acd302c6
2413a9acf2399c145068e85ce38a80c2fc6d612a 30-Mar-2016 Stephen Hines <srhines@google.com> Merge "Use RenderScript DWARF tag for bcc generated code."
a6eb6c94c11d9ff9ab53a142440e8b477a99ea64 30-Mar-2016 David Gross <dgross@google.com> Merge "Preserve generalized reduction combiner function for use by driver." into nyc-dev am: 791d57c
am: 70bf334

* commit '70bf33455584bdbe43ef089b7e54f7b9a795fe77':
Preserve generalized reduction combiner function for use by driver.

Change-Id: I8f1d9d8fbdea0be31553341c90df3da88fc95d32
70bf33455584bdbe43ef089b7e54f7b9a795fe77 30-Mar-2016 David Gross <dgross@google.com> Merge "Preserve generalized reduction combiner function for use by driver." into nyc-dev
am: 791d57c

* commit '791d57c5b387448cd672010ff970daed5ae41773':
Preserve generalized reduction combiner function for use by driver.

Change-Id: I64e297340c8b0fc908cb039613b0a4c40ae77ae8
791d57c5b387448cd672010ff970daed5ae41773 30-Mar-2016 David Gross <dgross@google.com> Merge "Preserve generalized reduction combiner function for use by driver." into nyc-dev
170293e23c38428aaf667a6433c78d839995e042 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with convert_halfN(halfN) variants" am: 75588dd am: 1bfc25c
am: 948bfb2

* commit '948bfb2e16c3b745619a2fb748b599901b7029d3':
Update bcc's whitelist with convert_halfN(halfN) variants

Change-Id: I4328c553205458fa5b7780cd3ac03f3f9a1172f7
948bfb2e16c3b745619a2fb748b599901b7029d3 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with convert_halfN(halfN) variants" am: 75588dd
am: 1bfc25c

* commit '1bfc25c8c8c062ec38236cafd73f6290ccbb5870':
Update bcc's whitelist with convert_halfN(halfN) variants

Change-Id: Ief629489c71db6f139b128ce3cfd12b769eef61a
1bfc25c8c8c062ec38236cafd73f6290ccbb5870 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with convert_halfN(halfN) variants"
am: 75588dd

* commit '75588dd8bd00789e0b986fd8e8b1f313bf2b4e65':
Update bcc's whitelist with convert_halfN(halfN) variants

Change-Id: Ide79fc214f5a391c4ae5c09903579192db000c9d
75588dd8bd00789e0b986fd8e8b1f313bf2b4e65 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc's whitelist with convert_halfN(halfN) variants"
5f7c1a8db8d0cd7db845338960603516a8854167 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc\'s whitelist with convert_halfN(halfN) variants am: 1ebe36a
am: 94949f4

* commit '94949f40819a1ffd340482bf9a0377e630740cd3':
Update bcc's whitelist with convert_halfN(halfN) variants

Change-Id: I1f1796150299e3f3393a63c4f294543ccac48712
94949f40819a1ffd340482bf9a0377e630740cd3 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc\'s whitelist with convert_halfN(halfN) variants
am: 1ebe36a

* commit '1ebe36a439886d7bf60978c2c5c25c973cc6bf3c':
Update bcc's whitelist with convert_halfN(halfN) variants

Change-Id: Ibb80d160d4367feafa15884ef640645038edab06
d10cafeadb6afb50decdc987398aaad4d42250dd 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc's whitelist with convert_halfN(halfN) variants

Bug: http://b/27529996
Change-Id: I7824eaccb9e0d4c7e4557510ded5ba0516872620
ib/Renderscript/RSStubsWhiteList.cpp
587ccf6cde210fcde07d9a424c171be8956dc106 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc\'s whitelist with native_distance for half am: 19eeecb
am: b93d56d

* commit 'b93d56d85fe38c18985647ded13bb98d3090ab44':
Update bcc's whitelist with native_distance for half

Change-Id: I10b3436504d7c3df6adce40d41d3432aab5a3fed
b93d56d85fe38c18985647ded13bb98d3090ab44 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc\'s whitelist with native_distance for half
am: 19eeecb

* commit '19eeecb82f25cd25032b8c9c35acb5b299ef0937':
Update bcc's whitelist with native_distance for half

Change-Id: I80e4330dd409a5063ebab9362ca0652eb6032dcc
fc835d1c85e0be7cc67942c378bbd847a424fad3 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with native_distance for half" am: b39dfc5 am: b440931
am: 671077f

* commit '671077f24e8fa76dcd14515589282298924b50d9':
Update bcc's whitelist with native_distance for half

Change-Id: I45ec5234101521a45f151c7fec014a28515d17c5
671077f24e8fa76dcd14515589282298924b50d9 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with native_distance for half" am: b39dfc5
am: b440931

* commit 'b440931da55ab4dac046e332de03919ab8c9d9f3':
Update bcc's whitelist with native_distance for half

Change-Id: If2ea827b39afcf36e75c3c11e776f5c1d99642c1
b440931da55ab4dac046e332de03919ab8c9d9f3 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc\'s whitelist with native_distance for half"
am: b39dfc5

* commit 'b39dfc5033b8c212dea7dbe4c64e61762abd221a':
Update bcc's whitelist with native_distance for half

Change-Id: Ibd201af4bd03fc531aeff66945d30c9737e3e283
1ebe36a439886d7bf60978c2c5c25c973cc6bf3c 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc's whitelist with convert_halfN(halfN) variants

Bug: http://b/27529996
Change-Id: I7824eaccb9e0d4c7e4557510ded5ba0516872620
ib/Renderscript/RSStubsWhiteList.cpp
b39dfc5033b8c212dea7dbe4c64e61762abd221a 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc's whitelist with native_distance for half"
caf07a3fa4977b23194de43db3bac6488ecf75df 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc's whitelist with native_distance for half

Bug: http://b/27547875
Change-Id: Idf34df2d3ba9ebcfc1ff2c7d1d77550dac1c28d1
ib/Renderscript/RSStubsWhiteList.cpp
19eeecb82f25cd25032b8c9c35acb5b299ef0937 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc's whitelist with native_distance for half

Bug: http://b/27547875
Change-Id: Idf34df2d3ba9ebcfc1ff2c7d1d77550dac1c28d1
ib/Renderscript/RSStubsWhiteList.cpp
3785f67a69a6f45d9a441e710def9abe70644f63 29-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Enable +fp16 feature for ARM code generation on AArch64 device
am: ae3184b

* commit 'ae3184b98e2ff4a786979423e59b5c0ae6c16bd5':
Enable +fp16 feature for ARM code generation on AArch64 device
8ca13573dee07254c95067d05476a82980d8fd6f 21-Mar-2016 David Gross <dgross@google.com> Preserve generalized reduction combiner function for use by driver.

This is needed for multithreaded execution of a reduction kernel.

Bug: 27299475

Change-Id: Id94606f73eea3462232a7f7473fa7a3324f536c6
ib/Core/Compiler.cpp
ib/Renderscript/RSKernelExpand.cpp
ae3184b98e2ff4a786979423e59b5c0ae6c16bd5 24-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Enable +fp16 feature for ARM code generation on AArch64 device

Bug: http://b/27512382

On AArch64, 'asimd' feature in /proc/cpuinfo signals the presence of
hardware half-precision conversion instructions. 'asimd' in this
feature list is parsed and translated to the "neon" feature in LLVM's
getHostCPUFeatures. Enable the "+fp16" feature if "neon" is in the
feature list, to signal the ARM backend that hardware fp16 support is
present.

Change-Id: If6a7db8f39b044fe262ac6953ab41535184973e4
ib/Support/CompilerConfig.cpp
8b805c0266814aacc316fd555de9b89b43fb71f6 21-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for LLVM rebase to r256229
am: 8e90893

* commit '8e9089377848628813a697b972773e969b942c3b':
Update libbcc for LLVM rebase to r256229
8e9089377848628813a697b972773e969b942c3b 07-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for LLVM rebase to r256229

http://b/26987366

(cherry picked from commit f229c40f0d2da19985e68955aef1a06ce4121e63)

Change-Id: I3d89bb15d0c3e7d64f74656365ed1d472e7de4c7
cinfo/Android.mk
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/Android.mk
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/MetadataExtractor.cpp
cinfo/tools/Android.mk
cinfo/tools/main.cpp
nclude/bcc/Source.h
nclude/bcinfo/MetadataExtractor.h
ib/Core/Android.mk
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSAddDebugInfoPass.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSKernelExpand.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
ib/Renderscript/RSX86CallConvPass.cpp
ib/Support/CompilerConfig.cpp
ib/Support/Initialization.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
ools/bcc_strip_attr/Android.mk
cedceb93af2e4273f01cd7e3bf32eb714cec8f1e 18-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update libbcc for LLVM rebase to r256229"
am: 7a611ce

* commit '7a611ce47aed312cd92d2749dd4243d4384d2dd9':
Update libbcc for LLVM rebase to r256229
7a611ce47aed312cd92d2749dd4243d4384d2dd9 18-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update libbcc for LLVM rebase to r256229"
f229c40f0d2da19985e68955aef1a06ce4121e63 07-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for LLVM rebase to r256229

http://b/26987366

Change-Id: Ib5459acda9c4e612948290d0f68456dd4dc414af
cinfo/Android.mk
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/Android.mk
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/MetadataExtractor.cpp
cinfo/tools/Android.mk
cinfo/tools/main.cpp
nclude/bcc/Source.h
nclude/bcinfo/MetadataExtractor.h
ib/Core/Android.mk
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSAddDebugInfoPass.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSKernelExpand.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
ib/Renderscript/RSX86CallConvPass.cpp
ib/Support/CompilerConfig.cpp
ib/Support/Initialization.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
ools/bcc_strip_attr/Android.mk
deca969e6aff8a9cc949efeb20f253f0a5a04c49 08-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove stale generate-whitelist.sh"
am: fe4bd2604d

* commit 'fe4bd2604dfde18c905597d36ae541291cfb1bb8':
Remove stale generate-whitelist.sh
fe4bd2604dfde18c905597d36ae541291cfb1bb8 08-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove stale generate-whitelist.sh"
38293eceefdba4641cab76f8fb9d40c0107c05d1 06-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Remove stale generate-whitelist.sh

The whitelist is generated by the API generator in frameworks/rs. This
file is no longer necessary.

Change-Id: I295a6d06f8e3846f5035b382419d0a41419abc57
ib/Renderscript/generate-whitelist.sh
8dc93f4048854d849abf3f63496b22849d9132ad 23-Feb-2016 David Gross <dgross@google.com> Merge "Metadata extractor must tolerate missing accumulator function." into nyc-dev
am: 785d397b4c

* commit '785d397b4cc1c04e065cd952702d43219fa4fecc':
Metadata extractor must tolerate missing accumulator function.
785d397b4cc1c04e065cd952702d43219fa4fecc 23-Feb-2016 David Gross <dgross@google.com> Merge "Metadata extractor must tolerate missing accumulator function." into nyc-dev
8d7fe847327eeb07c5a4770c31235dc28d570c97 18-Feb-2016 David Gross <dgross@google.com> Metadata extractor must tolerate missing accumulator function.

Looking up a general reduction accumulator function by name can fail,
just as looking up a foreach kernel function by name can fail: One of
the uses of MetadataExtractor is as part of the RSEmbedInfoPass, which
bcc_compat runs sufficiently late in the phase order that
RSKernelExpandPass has already run and the original (UNexpanded)
accumulator function may have been deleted as having no references (if
it has been inlined into the expanded accumulator function and is
otherwise unreferenced).

Bug: 23535724
(cherry picked from commit 34383a2fcec623b8696308d36e9522afb0c5b23d)

Change-Id: If9eba2bfca4c591de7bd5a464cf76e45007b3295
cinfo/MetadataExtractor.cpp
e41b9ff7665991919fbf26ae434d5f261ae2ba64 19-Feb-2016 David Gross <dgross@google.com> Merge "Metadata extractor must tolerate missing accumulator function."
am: f008ecb6e2

* commit 'f008ecb6e2c9f0b6e50dd915a5461cf34f6540bc':
Metadata extractor must tolerate missing accumulator function.
f008ecb6e2c9f0b6e50dd915a5461cf34f6540bc 19-Feb-2016 David Gross <dgross@google.com> Merge "Metadata extractor must tolerate missing accumulator function."
8684060a7a42ff2851d6d6799378fbf1892bc978 19-Feb-2016 David Gross <dgross@google.com> Merge "Remove dead argument from RSCompilerDriver()."
am: 396817338a

* commit '396817338a976fd926221f9d8c3df8e743ecd587':
Remove dead argument from RSCompilerDriver().
396817338a976fd926221f9d8c3df8e743ecd587 18-Feb-2016 David Gross <dgross@google.com> Merge "Remove dead argument from RSCompilerDriver()."
821b9e1c0753d4c21fa14dc469af9f5525c26945 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update RSStubsWhiteList with some vector f16 functions
am: ea79b56be9

* commit 'ea79b56be9bb01d85958c1b44078a76a00315b30':
Update RSStubsWhiteList with some vector f16 functions
2eaad18b5406e1cd6e582eab5f0341ee95135ea2 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update RSStubsWhiteList with some vector f16 functions"
am: 1ac5e147a0

* commit '1ac5e147a0cc994d8bd3416dc28ee76f60e4774a':
Update RSStubsWhiteList with some vector f16 functions
34383a2fcec623b8696308d36e9522afb0c5b23d 18-Feb-2016 David Gross <dgross@google.com> Metadata extractor must tolerate missing accumulator function.

Looking up a general reduction accumulator function by name can fail,
just as looking up a foreach kernel function by name can fail: One of
the uses of MetadataExtractor is as part of the RSEmbedInfoPass, which
bcc_compat runs sufficiently late in the phase order that
RSKernelExpandPass has already run and the original (UNexpanded)
accumulator function may have been deleted as having no references (if
it has been inlined into the expanded accumulator function and is
otherwise unreferenced).

Bug: 23535724
Change-Id: I41b1fc9cc5c780174ddf9b85af71cb3381928bcf
cinfo/MetadataExtractor.cpp
ea79b56be9bb01d85958c1b44078a76a00315b30 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update RSStubsWhiteList with some vector f16 functions

http://b/23536224

Auto-generated from spec file udpate in
https://android-review.googlesource.com/#/c/203325/.

Change-Id: I41f4e488ac0b682f252761009488273dfdf43c97
(cherry picked from commit 88c2cbd86222d268f51e50d23e45611790aa506c)
ib/Renderscript/RSStubsWhiteList.cpp
1ac5e147a0cc994d8bd3416dc28ee76f60e4774a 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update RSStubsWhiteList with some vector f16 functions"
efe14344d7fbe0456358285aa043cb9f9d3dd2a1 18-Feb-2016 David Gross <dgross@google.com> Remove dead argument from RSCompilerDriver().

Change-Id: I4307c10d01bc6886e47789a100845d5b784beb3c
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc_compat/Main.cpp
88c2cbd86222d268f51e50d23e45611790aa506c 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update RSStubsWhiteList with some vector f16 functions

http://b/23536224

Auto-generated from spec file udpate in
https://android-review.googlesource.com/#/c/203325/.

Change-Id: I41f4e488ac0b682f252761009488273dfdf43c97
ib/Renderscript/RSStubsWhiteList.cpp
28952d8c76022931024aace5b32fd152c64fa7ba 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update copyright date in RSStubsWhiteList.cpp"
am: ad81d1a772

* commit 'ad81d1a772c473a19f09005f2aa622896a1f7a74':
Update copyright date in RSStubsWhiteList.cpp
0135f8c91b66f397b8e5f481ad24dce760d8c2a5 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update copyright date in RSStubsWhiteList.cpp
am: 6e66918a08

* commit '6e66918a08f3c4819f3d266a718214525b883645':
Update copyright date in RSStubsWhiteList.cpp
6e66918a08f3c4819f3d266a718214525b883645 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update copyright date in RSStubsWhiteList.cpp

http://b/23536224

Change-Id: Iae17f757efaea5321ce381eab8b0eb2e3ae1d033
(cherry picked from commit 0fe574d1ff0ea823911f5d5a19fcafb84e6d47c2)
ib/Renderscript/RSStubsWhiteList.cpp
ad81d1a772c473a19f09005f2aa622896a1f7a74 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update copyright date in RSStubsWhiteList.cpp"
0fe574d1ff0ea823911f5d5a19fcafb84e6d47c2 18-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update copyright date in RSStubsWhiteList.cpp

http://b/23536224

Change-Id: Iae17f757efaea5321ce381eab8b0eb2e3ae1d033
ib/Renderscript/RSStubsWhiteList.cpp
518de047a9cacc44952337513433d7a2688a1d7e 13-Feb-2016 Dimitry Ivanov <dimitry@google.com> Merge "Add missing liblog dependency"
am: 1ca76b393b

* commit '1ca76b393ba31c3ca9e290fc5ad81fd91158416f':
Add missing liblog dependency
1ca76b393ba31c3ca9e290fc5ad81fd91158416f 13-Feb-2016 Dimitry Ivanov <dimitry@google.com> Merge "Add missing liblog dependency"
3e128dc6c8633ade15d4e504e772713421c1f94a 13-Feb-2016 Dimitry Ivanov <dimitry@google.com> Add missing liblog dependency

Bug: http://b/27171986
Change-Id: I5e45c422d3b100b60a848763f191971ea6df71d6
ools/bcc/Android.mk
323561a4e8152eac8dc107ac796d126ab45faa13 12-Feb-2016 Dean De Leo <dean@codeplay.com> Ensure libclcore_g.bc is installed on the device.
am: 0bbbd66e5f

* commit '0bbbd66e5f08bc494241f1b66ba564535493bdf3':
Ensure libclcore_g.bc is installed on the device.
31244611360660fe95bf4c591176aad394c9a4bc 12-Feb-2016 Dean De Leo <dean@codeplay.com> Avoid doing symbol internalization when compiling with -O0.
am: 7a9a96766a

* commit '7a9a96766a6636218b516d61fbe47a99dea8afc4':
Avoid doing symbol internalization when compiling with -O0.
e94f741ae7570bd1be991dfab854bc62f4912704 12-Feb-2016 Dean De Leo <dean@codeplay.com> Improvements to the RSAddDebugInfo pass.
am: 2351f9290c

* commit '2351f9290cb9de67e5afb79b2afc7408bf4eb926':
Improvements to the RSAddDebugInfo pass.
0e188ce60166c6046b489fc7b47d378d1c00f351 12-Feb-2016 Dean De Leo <dean@codeplay.com> Make RSKernelExpand use memory rather than registers.
am: ba1a8f1e6f

* commit 'ba1a8f1e6f3eb5b7069e9ba1575f16e393c84c23':
Make RSKernelExpand use memory rather than registers.
0bbbd66e5f08bc494241f1b66ba564535493bdf3 25-Nov-2015 Dean De Leo <dean@codeplay.com> Ensure libclcore_g.bc is installed on the device.

Ensure the new library libclcore_g.bc (added in
https://android-review.googlesource.com/181869) is installed on the
device.

(cherry picked from commit e2b6e952b4d1b3339845451ea66708a40b6fa2b7)

Change-Id: I5dc6231feaf2a851ab680440b6dca9103cc32b44
ndroid.mk
7a9a96766a6636218b516d61fbe47a99dea8afc4 25-Nov-2015 Dean De Leo <dean@codeplay.com> Avoid doing symbol internalization when compiling with -O0.

Don't call the symbol internalization pass when compiling with -O0.
This will allow all RenderScript library functions to be available to
lldb, so the developer can call these builtin functions from lldb's
command line.

(cherry picked from commit 688cf3ffb7efe543fb1c47b581b1f36a346dfb7c)

Change-Id: I38a57edda0366a7f54cbd066d21e6aadc7e4eab7
ib/Core/Compiler.cpp
2351f9290cb9de67e5afb79b2afc7408bf4eb926 25-Nov-2015 Dean De Leo <dean@codeplay.com> Improvements to the RSAddDebugInfo pass.

This change makes the RSAddDebugInfo pass generate much more complete
debug information than before.

Newly implemented features and changes:
* Debug info for each of the expanded kernel arguments is now generated.
This allows the debugger to inspect kernel invocation size,
current outer loop indices ('y' and 'z') and other useful information.
* Adds debug info for the expanded kernel loop index variable.
This allows the debugger to access the current thread index along the
'x' axis.
* Pass now uses MetadataExtractor to get the list of kernel functions
instead of relying on naming conventions.
* Various code improvements.

(cherry picked from commit 9d009b0a25bf7eea6f2da2521107dc37acea9acc)

Change-Id: I4d6ee8f1bd2844ed85ccd933ead0fb479d716aae
ib/Renderscript/RSAddDebugInfoPass.cpp
ba1a8f1e6f3eb5b7069e9ba1575f16e393c84c23 25-Nov-2015 Dean De Leo <dean@codeplay.com> Make RSKernelExpand use memory rather than registers.

The RSKernelExpand pass generates a loop around the main kernel body.
This patch changes it to use LLVM memory with loads and stores rather
than generating the SSA directly. This is required in order to be able
to attach debugging information to the memory location associated with
the loop iteration index variable, enabling the debugger to inspect
current thread coordinate. The regular SSA form of LLVM IR doesn't allow
this to be done efficiently.

If optimizations are enabled, the subsequent passes promote memory back
to registers, avoiding potential performance regressions.

(cherry picked from commit 4165d29822fc7caf81e435995ff6189608fc0323)

Change-Id: Ic394c2876e72a4b3c7e1fe888f2369510fdd3d33
nclude/bcc/Renderscript/RSTransforms.h
ib/Renderscript/RSKernelExpand.cpp
d6e0652dbbd088e8411bbb69e0436baf16f7d278 12-Feb-2016 Verena Beckham <verena@codeplay.com> Add quaternion functions to the stubs white list.
am: 16516c6e73

* commit '16516c6e73f0d89fcd05a0c6f9fc456888004c2a':
Add quaternion functions to the stubs white list.
16516c6e73f0d89fcd05a0c6f9fc456888004c2a 18-Dec-2015 Verena Beckham <verena@codeplay.com> Add quaternion functions to the stubs white list.

Update the stubs white list, which is generated by
frameworks/rs/api/generate.sh, after changes in the
rs_quaternion.spec file in
https://android-review.googlesource.com/188730/.
This also relies on https://android-review.googlesource.com/178432/
to generate the right signatures.

Signed-off-by: Verena Beckham <verena@codeplay.com>

(cherry picked from commit 2a3e5deca5c064be6a339e99ed5dcca81d727edf)

Change-Id: Ia5d88f5398b1c90e6b7dfda3071598b1e384ef77
ib/Renderscript/RSStubsWhiteList.cpp
be45e56908a26f58c0cc7c9603d11d6bf5dd6e61 11-Feb-2016 David Gross <dgross@google.com> General reduction initializer and outconverter functions must not be internalized.
am: c545d6f10f

* commit 'c545d6f10fa4827de235b5f85b58e803eba725bc':
General reduction initializer and outconverter functions must not be internalized.
c545d6f10fa4827de235b5f85b58e803eba725bc 08-Feb-2016 David Gross <dgross@google.com> General reduction initializer and outconverter functions must not be internalized.

Requires corresponding frameworks/compile/slang change.

Now that the front end is no longer adding these functions to
@llvm.used, we must ensure that they do not get deleted -- they
are needed by the CPU reference driver.

Note that it is not necessary for bcc to explicitly delete:
- the UNexpanded accumulator functions
- the @.rs.reduce_fn.* dummy variables created by slang to ensure that
the general reduction constituent functions survive front-end
compilation
The existing internalization and unreferenced symbol removal logic
takes care of this.

Bug: 23535724
(cherry picked from commit 79a19cec3bb00583edc55e2afa2a96b408268545)

Change-Id: I7d7a613e36ff7a1357cb9b5a75d4961c35edd09d
ib/Core/Compiler.cpp
ests/libbcc/lit.cfg
ests/libbcc/test_reduce_general_cleanup.ll
1ab9ca180b6cdd46bc923ff045c587069c6b6a6c 11-Feb-2016 David Gross <dgross@google.com> Merge "Refine comment describing RSKernelExpandPass."
am: b4fe63d379

* commit 'b4fe63d379bff326c2b94f913500962346ae4f5a':
Refine comment describing RSKernelExpandPass.
f082706080d1a9455ce14dd36f470bd75e9db7c8 11-Feb-2016 David Gross <dgross@google.com> Merge "General reduction initializer and outconverter functions must not be internalized."
am: 388e0ac19f

* commit '388e0ac19f2ec741abd0d1c1f75a510f9090fbba':
General reduction initializer and outconverter functions must not be internalized.
b4fe63d379bff326c2b94f913500962346ae4f5a 11-Feb-2016 David Gross <dgross@google.com> Merge "Refine comment describing RSKernelExpandPass."
388e0ac19f2ec741abd0d1c1f75a510f9090fbba 11-Feb-2016 David Gross <dgross@google.com> Merge "General reduction initializer and outconverter functions must not be internalized."
797b51672914cbe3f3b75e99df7ee7c25560dab7 10-Feb-2016 David Gross <dgross@google.com> Refine comment describing RSKernelExpandPass.

Bug: 23535724
Change-Id: I5b9a6b485132b10a4b972c536f944d656583fcb4
ib/Renderscript/RSKernelExpand.cpp
0c5cfaeeb30135efe5e21d1aa9c858965c3019a6 10-Feb-2016 Ewan Crawford <ewan.codeplay@googlemail.com> Use RenderScript DWARF tag for bcc generated code.

Patch sets the debug info source language to DW_LANG_GOOGLE_RenderScript
for the compile unit generated by BCC. A more suitable tag than
C99 since this pass is explicitly for RenderScript.

Change-Id: I14ba260928069fe0589bf42fd32d59abfa285c4c
Signed-off-by: Ewan Crawford <ewan.codeplay@googlemail.com>
ib/Renderscript/RSAddDebugInfoPass.cpp
5e356b10e30ff1b62832f08234c746c93e82dcfd 10-Feb-2016 Stephen Hines <srhines@google.com> Merge "Ensure libclcore_g.bc is installed on the device."
am: 351838f2b8

* commit '351838f2b8f2973986b0ee55c7c996512a497a4f':
Ensure libclcore_g.bc is installed on the device.
351838f2b8f2973986b0ee55c7c996512a497a4f 10-Feb-2016 Stephen Hines <srhines@google.com> Merge "Ensure libclcore_g.bc is installed on the device."
e2b6e952b4d1b3339845451ea66708a40b6fa2b7 25-Nov-2015 Dean De Leo <dean@codeplay.com> Ensure libclcore_g.bc is installed on the device.

Ensure the new library libclcore_g.bc (added in
https://android-review.googlesource.com/181869) is installed on the
device.

Change-Id: I06489445f03a3fc85b386b196063337fffbe52a3
ndroid.mk
b88b8955906173fa36502c72a72de1f75460c1aa 10-Feb-2016 Stephen Hines <srhines@google.com> Merge "Avoid doing symbol internalization when compiling with -O0."
am: 1ad7a5bc5c

* commit '1ad7a5bc5cfe904943b618bc880517eb12d5d315':
Avoid doing symbol internalization when compiling with -O0.
4493082c337f0e7fba5e4c4f495214ce9b12e7f5 10-Feb-2016 Stephen Hines <srhines@google.com> Merge "Improvements to the RSAddDebugInfo pass."
am: 5c5639fad1

* commit '5c5639fad105fd4f157498a5815eebdd421413e5':
Improvements to the RSAddDebugInfo pass.
b56791c8d0dee3b65574f1e076493b90eb60dd13 10-Feb-2016 Stephen Hines <srhines@google.com> Merge "Make RSKernelExpand use memory rather than registers."
am: f1f281f0de

* commit 'f1f281f0de7d8291c625ec022166a842f4751432':
Make RSKernelExpand use memory rather than registers.
1ad7a5bc5cfe904943b618bc880517eb12d5d315 10-Feb-2016 Stephen Hines <srhines@google.com> Merge "Avoid doing symbol internalization when compiling with -O0."
688cf3ffb7efe543fb1c47b581b1f36a346dfb7c 25-Nov-2015 Dean De Leo <dean@codeplay.com> Avoid doing symbol internalization when compiling with -O0.

Don't call the symbol internalization pass when compiling with -O0.
This will allow all RenderScript library functions to be available to
lldb, so the developer can call these builtin functions from lldb's
command line.

Change-Id: I30660312a0327e314b6297ec1bfbbd0d2b41a59a
ib/Core/Compiler.cpp
5c5639fad105fd4f157498a5815eebdd421413e5 10-Feb-2016 Stephen Hines <srhines@google.com> Merge "Improvements to the RSAddDebugInfo pass."
f1f281f0de7d8291c625ec022166a842f4751432 10-Feb-2016 Stephen Hines <srhines@google.com> Merge "Make RSKernelExpand use memory rather than registers."
9d009b0a25bf7eea6f2da2521107dc37acea9acc 25-Nov-2015 Dean De Leo <dean@codeplay.com> Improvements to the RSAddDebugInfo pass.

This change makes the RSAddDebugInfo pass generate much more complete
debug information than before.

Newly implemented features and changes:
* Debug info for each of the expanded kernel arguments is now generated.
This allows the debugger to inspect kernel invocation size,
current outer loop indices ('y' and 'z') and other useful information.
* Adds debug info for the expanded kernel loop index variable.
This allows the debugger to access the current thread index along the
'x' axis.
* Pass now uses MetadataExtractor to get the list of kernel functions
instead of relying on naming conventions.
* Various code improvements.

Change-Id: I0c792f153ea1b3caeecbed76196b21b1e5d63063
ib/Renderscript/RSAddDebugInfoPass.cpp
4165d29822fc7caf81e435995ff6189608fc0323 25-Nov-2015 Dean De Leo <dean@codeplay.com> Make RSKernelExpand use memory rather than registers.

The RSKernelExpand pass generates a loop around the main kernel body.
This patch changes it to use LLVM memory with loads and stores rather
than generating the SSA directly. This is required in order to be able
to attach debugging information to the memory location associated with
the loop iteration index variable, enabling the debugger to inspect
current thread coordinate. The regular SSA form of LLVM IR doesn't allow
this to be done efficiently.

If optimizations are enabled, the subsequent passes promote memory back
to registers, avoiding potential performance regressions.

Change-Id: Ic458e4f14537ff3a4fdd5123276aab0c75c04154
nclude/bcc/Renderscript/RSTransforms.h
ib/Renderscript/RSKernelExpand.cpp
79a19cec3bb00583edc55e2afa2a96b408268545 08-Feb-2016 David Gross <dgross@google.com> General reduction initializer and outconverter functions must not be internalized.

Requires corresponding frameworks/compile/slang change.

Now that the front end is no longer adding these functions to
@llvm.used, we must ensure that they do not get deleted -- they
are needed by the CPU reference driver.

Note that it is not necessary for bcc to explicitly delete:
- the UNexpanded accumulator functions
- the @.rs.reduce_fn.* dummy variables created by slang to ensure that
the general reduction constituent functions survive front-end
compilation
The existing internalization and unreferenced symbol removal logic
takes care of this.

Bug: 23535724
Change-Id: Ie8ea77c17d0a057442b30c461e2882b78de2fe0e
ib/Core/Compiler.cpp
ests/libbcc/lit.cfg
ests/libbcc/test_reduce_general_cleanup.ll
cf74c3ebbfa633d3e96e0d32ca5803ef0103206c 08-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc whitelist with a few more math functions for half
am: 4d0aa47a4e

* commit '4d0aa47a4ebd8ee432ca3f3f88616d23cbb43a10':
Update bcc whitelist with a few more math functions for half
4d0aa47a4ebd8ee432ca3f3f88616d23cbb43a10 06-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc whitelist with a few more math functions for half

http://b/23536224

Auto-generated from API specification change
https://android-review.googlesource.com/#/c/201420/.

(cherry picked from commit 23b23462f46866c079362870c2cb9a720b732006)

Change-Id: I39fd3a82f4d88041c8f19c7b3521a907606e253c
ib/Renderscript/RSStubsWhiteList.cpp
2434eaed2443f21228a0dcdd14b4469b854781d7 08-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc whitelist with a few more math functions for half"
2aa2d00b744b367483492cddaceebd800f3962bb 08-Feb-2016 Stephen Hines <srhines@google.com> Merge "Add quaternion functions to the stubs white list."
23b23462f46866c079362870c2cb9a720b732006 06-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc whitelist with a few more math functions for half

http://b/23536224

Auto-generated from API specification change
https://android-review.googlesource.com/#/c/201420/.

Change-Id: I0860291d04c478096ac76ad2a6f689c6a968e9a2
ib/Renderscript/RSStubsWhiteList.cpp
81dd06d4b45710b5ed02556022aa668d3e43869e 06-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Update bcc whitelist with a few math functions for half"
3491f318da4557bffb8c98c22c794964fcf6b734 04-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Update bcc whitelist with a few math functions for half

http://b/23536224

Auto-generated from API specificat change
https://android-review.googlesource.com/#/c/200910/.

Change-Id: I1e453c86c322215614ed21dfb3336a6041c7ba20
ib/Renderscript/RSStubsWhiteList.cpp
dcc9708ef905bd2b352a8fd4035c00fb6d0be087 04-Feb-2016 David Gross <dgross@google.com> Merge "Rename #rs_export_reduce_new to #rs_export_reduce."
a50e91a71f30441e7773e7b396db20d3f57b954a 04-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Merge "Don't internalize __truncxfhf2 for x86"
10f2a8f1d60724c306d01cdd0682e38122637502 04-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Don't internalize __truncxfhf2 for x86

http://b/26165616

As a WAR for this bug, we define __truncxfhf2 in
frameworks/rs/driver/runtime. Don't internalize this function for x86,
so that a script can find and link against it.

Change-Id: I6ad2feeeda0a26139782346344c403cf597d469b
ib/Core/Compiler.cpp
9197d612935852c05a641bc3418f79edaf402932 03-Feb-2016 David Gross <dgross@google.com> Rename #rs_export_reduce_new to #rs_export_reduce.

This brings general reduction metadata into conformance with the
specification and removes simple reduction metadata, thereby
disabling simple reduction. More work will be done later to
fully remove the simple reduction implementation.

Requires a corresponding change in frameworks/compile/slang.

Bug: 23535724
Change-Id: I7effa0ab1cd4ecd75f32e0c8509a737cfbb52dbd
cinfo/MetadataExtractor.cpp
ests/libbcc/test_reduce_general_metadata.ll
ests/libbcc/test_reduce_metadata.ll
0abb9a039922ee3043de7a276b947b961ee54a31 31-Jan-2016 Stephen Hines <srhines@google.com> Merge "Add matrix functions to the stubs white list."
69619e0a59ee5d571596dda0ffe560cb148c94fa 31-Jan-2016 Stephen Hines <srhines@google.com> Merge "Add fract(float) functions to the stubs white list."
8e2c5395b3f018306ccf7f3231c7e6624eee01b2 30-Jan-2016 Stephen Hines <srhines@google.com> Merge "Deduce whether the module contains debug info."
fff398dc41bb579c7ad668387eebf9e3e972aeca 25-Nov-2015 Dean De Leo <dean@codeplay.com> Deduce whether the module contains debug info.

Add functionality to the MetadataExtractor to deduce whether the
module contains debug info. This method will be used to deduce
whether we should link with a special runtime library with debug
information.

Change-Id: I8ebe8c465c785adfb2b24864714e654f49c12c6d
cinfo/MetadataExtractor.cpp
nclude/bcinfo/MetadataExtractor.h
f0bc959d8d2397fedc45ba5b283cf6b4cd274ea4 30-Jan-2016 Stephen Hines <srhines@google.com> Merge "Initial version of debug info pass for RS."
09c7a41f73602bec33e9d392cc959d78931f73c4 25-Nov-2015 Dean De Leo <dean@codeplay.com> Initial version of debug info pass for RS.

This introduces a new LLVM pass into libbcc called
RSAddDebugInfoPass. Its purpose is to add debug information metadata
to LLVM constructs generated by the other parts of libbcc. The
generated code generally lacks sufficient debugging information as it
has not been processed by the clang-based front-end.

The initial version of RSAddDebugInfoPass provides the following:
1. It annotates the expanded function generated by RSExpandKernel pass
with debug information, stating the name of the function and
source file indicating that the function has been generated.
2. It annotates the instructions of the *.expand function with
filename/line indicating that the function code has been generated.

The source file of both the generated function definition and
the instructions that make up the function is mapped to the source
location of /opt/renderscriptdebugger/1/generated.rs:1. That might be
source-mapped by the debugger to an appropriate file in the SDK, the
contents of which clearly indicate that the user is dealing with
generated code (i.e. one without a "physical" source file).

Change-Id: I2e566160a448d7bfbb3f8d16680e09e43c845693
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSTransforms.h
nclude/bcc/Source.h
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSAddDebugInfoPass.cpp
84ec850611f0cca36176b6aa76cfc6ed6ce8650a 30-Jan-2016 Stephen Hines <srhines@google.com> Merge "Split the libbcc pass manager into two phases."
1e321862daea867b44700360c4827bcb7b97968a 25-Nov-2015 Dean De Leo <dean@codeplay.com> Split the libbcc pass manager into two phases.

This is to prevent unintended interactions between passes as the
ordering of side effects is different when running inside of a pass
manager when compared to running passes one by one. For example, the
LLVM object file writer pass outputs some parts of the debug information
to the target file on pass initialization. If a pass that
is scheduled before the object file writer pass modifies the debug
info metadata in the pass run phase, the alterations will be
reflected in the resultant LLVM module but NOT in the output file.

Change-Id: I4dba6a5acb5535205f1208f94de7211db50644e4
ib/Core/Compiler.cpp
2fd449f29f32572f6721d9cb1a7aa966005508c7 30-Jan-2016 Stephen Hines <srhines@google.com> Merge "Fix code-generation on x86 targets"
463bbbd0ee80362c37d3d3a08f6928667597d0de 22-Jan-2016 David Gross <dgross@google.com> Merge "Support for general reduction kernels."
cf8897caf0ea4e53bd39f8c830980d24a8c895ae 20-Jan-2016 David Gross <dgross@google.com> Merge "Metadata support for general reduction."
e32af52d4be2bb80783404d99fa338b1143dbc9a 15-Jan-2016 David Gross <dgross@google.com> Support for general reduction kernels.

Bug: 23535724
Change-Id: I28b6b8fafab3fe9f5d09beb990791843875e1f26
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSKernelExpand.cpp
79e1a05f704ada1bb12749fe3f8b9b69309be9e5 11-Jan-2016 David Gross <dgross@google.com> Metadata support for general reduction.

Needs corresponding change in frameworks/rs: The driver and bcinfo
need to remain precisely in sync with regard to metadata format in
order for RenderScript to work at all.

Also fixed memory leak in MetadataExtractor.

Bug: 23535724
Change-Id: I6857f605c79139bdce362a7aeef73c91fc502ff6
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcinfo/MetadataExtractor.h
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ests/libbcc/test_reduce_general_metadata.ll
21d3858d67ac99fe38d58b29088aa5a6c60191c1 18-Dec-2015 Verena Beckham <verena@codeplay.com> Add matrix functions to the stubs white list.

Update the stubs white list, which is generated by
frameworks/rs/api/generate.sh, after changes in the
rs_matrix.spec file in
https://android-review.googlesource.com/188731/.

Change-Id: I0bc6c617569959aaa798e6b348e1cb98a93a8dd8
Signed-off-by: Verena Beckham <verena@codeplay.com>
ib/Renderscript/RSStubsWhiteList.cpp
80711a41336ada9628e09224a640dad08acc90b3 18-Dec-2015 Verena Beckham <verena@codeplay.com> Add fract(float) functions to the stubs white list.

Update the stubs white list, which is generated by
frameworks/rs/api/generate.sh, after changes in the
rs_math.spec file in
https://android-review.googlesource.com/188740/.

Change-Id: Ib87b98f0c5d4b76c07d87f785a1dbb797c60bd30
Signed-off-by: Verena Beckham <verena@codeplay.com>
ib/Renderscript/RSStubsWhiteList.cpp
2a3e5deca5c064be6a339e99ed5dcca81d727edf 18-Dec-2015 Verena Beckham <verena@codeplay.com> Add quaternion functions to the stubs white list.

Update the stubs white list, which is generated by
frameworks/rs/api/generate.sh, after changes in the
rs_quaternion.spec file in
https://android-review.googlesource.com/188730/.
This also relies on https://android-review.googlesource.com/178432/
to generate the right signatures.

Change-Id: Iac49b666884b715bc9514ee65b5f3ad5eed9a062
Signed-off-by: Verena Beckham <verena@codeplay.com>
ib/Renderscript/RSStubsWhiteList.cpp
e7e2dbafef023e94e62401c133e72b156c6d3d4e 12-Dec-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Update whitelist with f16 math functions."
9774f5028b0d2d22a903de03a810c9ea4a6071bc 10-Dec-2015 Pirama Arumuga Nainar <pirama@google.com> Update whitelist with f16 math functions.

Automatically generated from the spec file change in
https://android-review.googlesource.com/#/c/186324/

Bug: 23536224
Bug: 26099915

Change-Id: Ia5e849e2adb90655f965a59923a5e9210df897a7
ib/Renderscript/RSStubsWhiteList.cpp
7193f17997daaa55a62113e0a5b623f32d786e36 20-Nov-2015 Yang Ni <yangni@google.com> Merge "Updated whitelist and a fix for target x86_64"
02c61f6dbe389424a97b2ffd333bcfc6e1e952c1 19-Nov-2015 Yang Ni <yangni@google.com> Updated whitelist and a fix for target x86_64

Updated whitelist for new rsForEachInternal signature.

Correctly handles RS object parameters of rsForEachInternal for the
x86_64 target.

Change-Id: I1b53861083b87c51c5bdaeaec2be469dc7af7a0a
ib/Renderscript/RSStubsWhiteList.cpp
ib/Renderscript/RSX86CallConvPass.cpp
3c05a9cabc73640febb331e3df1d8f2e565c9e30 11-Nov-2015 Luke Drummond <luke.drummond@codeplay.com> Fix code-generation on x86 targets

- bcc code generation on x86 devices was generating invalid code in
unoptimized builds due to missing CPU detection in ``bcc::CompilerConfig``
- CPU type and code models properly belongs in compilerConfig.
- CompilerConfig: existing feature strings were being overwritten
instead of appending to existing configured CPU feature config list:

```cpp
if (HasF16C())
mFeatureString = "+f16c";
```

- Moved hardcoded compile-time SSE3/4.1/4.2 features in
bcc/tools/Main.cpp. These checks (if any) belong in
`bcc::CompilerConfig`.
ib/Support/CompilerConfig.cpp
ools/bcc/Main.cpp
e64b0bbe0d5f82582844db729febc8191265e84f 10-Nov-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Whitelist allocation-creation functions in libbcc"
49321872ca618ae314f7b6985b9d11368b408692 12-Oct-2015 Pirama Arumuga Nainar <pirama@google.com> Whitelist allocation-creation functions in libbcc

Automatically generated from
https://android-review.googlesource.com/#/c/175582/

Change-Id: Ic68c3c425e1c7b0d3d73a56c5de46f11ea7495b8
ib/Renderscript/RSStubsWhiteList.cpp
aa6aea951f4220810c5a41ced74d1a51d1655322 07-Nov-2015 Yang Ni <yangni@google.com> Merge "Launch options & multi inputs for single-source RS"
71335657996062f03dd754b2cdde461f9d167a4c 29-Oct-2015 Yang Ni <yangni@google.com> Launch options & multi inputs for single-source RS

Bug: 23535985

Updated bcc whitelist with the new rsForEach mangled function name.

Change-Id: Ibc22bd5e9585a4471b15920ef60fe1fe2312de49
ib/Renderscript/RSStubsWhiteList.cpp
28e9db258cce5d1c53506fd318d5a3222f097662 12-Oct-2015 Yang Ni <yangni@google.com> am 98343e30: Merge "Whitelisting rsForEachInternal calls"

* commit '98343e30612110aa8a59661c4000c37ed8b8434e':
Whitelisting rsForEachInternal calls
98343e30612110aa8a59661c4000c37ed8b8434e 12-Oct-2015 Yang Ni <yangni@google.com> Merge "Whitelisting rsForEachInternal calls"
bb8b06af6d01c01958c35b0b1e9d8cc41c7f44be 18-Sep-2015 Yang Ni <yangni@google.com> Whitelisting rsForEachInternal calls

Bug: 23535985

Auto generated from frameworks/rs/api/rs_for_each.spec

Change-Id: I6e2cf3db868f426aa8e0b9a77732b66c1e6b9f03
ib/Renderscript/RSStubsWhiteList.cpp
0c2b9b6ac81957a6c9323e0411791012da0348f2 23-Sep-2015 Stephen Hines <srhines@google.com> am a2231230: am 07e32c29: Merge "Remove unused sha1.h."

* commit 'a2231230b94b78522b17ccaaa0843ccdbec33e57':
Remove unused sha1.h.
a2231230b94b78522b17ccaaa0843ccdbec33e57 23-Sep-2015 Stephen Hines <srhines@google.com> am 07e32c29: Merge "Remove unused sha1.h."

* commit '07e32c29807e1256df8e8c3c5686e448e8998c39':
Remove unused sha1.h.
07e32c29807e1256df8e8c3c5686e448e8998c39 23-Sep-2015 Stephen Hines <srhines@google.com> Merge "Remove unused sha1.h."
ed775d37de029c48798c6e3f489bca10e0d93ab3 23-Sep-2015 Stephen Hines <srhines@google.com> Remove unused sha1.h.

Bug: 22199552
Change-Id: Ie03f73baf64c31cf9ac628a9db1a73192c866749
ib/Support/sha1.h
c60b3b9586c0264d2f1e804442ddd34099d60ef6 16-Sep-2015 Stephen Hines <srhines@google.com> am 90398279: am 86e3563a: Merge "Fix invalid read of literal (anonymous) structure names on assertion builds."

* commit '903982795e557dcee215bb2d2cf494a1e01e2b55':
Fix invalid read of literal (anonymous) structure names on assertion builds.
903982795e557dcee215bb2d2cf494a1e01e2b55 16-Sep-2015 Stephen Hines <srhines@google.com> am 86e3563a: Merge "Fix invalid read of literal (anonymous) structure names on assertion builds."

* commit '86e3563a9d5c66dadf97e20779e09bce24854b5e':
Fix invalid read of literal (anonymous) structure names on assertion builds.
86e3563a9d5c66dadf97e20779e09bce24854b5e 15-Sep-2015 Stephen Hines <srhines@google.com> Merge "Fix invalid read of literal (anonymous) structure names on assertion builds."
c31e101bed9d58be0388fead9c7344624978f580 26-Aug-2015 Stephen Hines <srhines@google.com> Fix invalid read of literal (anonymous) structure names on assertion builds.

Bug: 22926131

This change adds support for using libbcc with an assertion-enabled
build of LLVM via the FORCE_BUILD_LLVM_DISABLE_NDEBUG define. It also
restricts the use of getName() on literal structures. Although a
separate patch to frameworks/rs that makes our RS object types not just
typedefs of anonymous structs can fix this safely going forward, our
release builds will need to be able to read legacy bitcode that uses
anonymous literal structure types. Thus, we need the ability to call
getName() on all structures for release builds. In the case of assertion
builds, we will enforce that we are using the updated compiler + headers
so that the structures are not anonymous. If an older compiler + headers
are used in the host compile, the bcc compilation will fail with an
appropriate error message.

Change-Id: Ic2910aed069235b40a31c22b006a4db5c1b9e06c
nclude/bcc/Renderscript/RSUtils.h
ib/Renderscript/RSCompilerDriver.cpp
ibbcc-device-build.mk
ibbcc-host-build.mk
4434db4a079174987df1d1fd6cd637343478ce49 03-Sep-2015 Dan Willemsen <dwillemsen@google.com> am 0b68dc75: am 0acdcd16: Merge "Stop using HOST_OS, whitelist windows modules"

* commit '0b68dc75ecead4c11ba272b1311301cb601cf084':
Stop using HOST_OS, whitelist windows modules
0b68dc75ecead4c11ba272b1311301cb601cf084 03-Sep-2015 Dan Willemsen <dwillemsen@google.com> am 0acdcd16: Merge "Stop using HOST_OS, whitelist windows modules"

* commit '0acdcd16af6bf984f78fb69dab957a1d74f0545d':
Stop using HOST_OS, whitelist windows modules
0acdcd16af6bf984f78fb69dab957a1d74f0545d 03-Sep-2015 Dan Willemsen <dwillemsen@google.com> Merge "Stop using HOST_OS, whitelist windows modules"
6af50b75fc0132a9957f19a11357c446b4836b16 19-Aug-2015 Dan Willemsen <dwillemsen@google.com> Stop using HOST_OS, whitelist windows modules

Bug: 23566667
Change-Id: I7ef9d73b897788ed4c8a8d8ca9a582cc08af15f9
ndroid.mk
cinfo/Android.mk
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_3_0/Android.mk
cinfo/Wrap/Android.mk
ib/Core/Android.mk
ib/Renderscript/Android.mk
ib/Support/Android.mk
ibbcc-host-build.mk
lvm-loadable-libbcc.mk
ools/bcc_compat/Android.mk
ools/bcc_strip_attr/Android.mk
b9088471fe0d93448d2fdca892ec62d2dcffa93c 27-Aug-2015 Stephen Hines <srhines@google.com> am 17d21632: (-s ours) am fcb94c47: am 9436c894: Merge "RSKernelExpand: Remove loads of instep and outstep values in new-style forEach kernel expansion."

* commit '17d21632c919ef0d096f0b82d56df8ba89c49332':
1eb2ed678f73afb1f928ed135c3ac2c2720f9e32 27-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> am 8f5fbd01: (-s ours) am b7f05114: Restore missing min and max API.

* commit '8f5fbd0165ed6ff9bb32e68957120eff659efb85':
04c83d8407cd58da8bfe43d81061e915fb16499d 27-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> am 6061e1ce: (-s ours) am d515314f: am a73fab60: Merge "Restore missing min and max API."

* commit '6061e1ce1957f8d28eccf4546c34d449e20c4a95':
59442d3713feca18f73e7f3211dafb04098d1d08 27-Aug-2015 Stephen Hines <srhines@google.com> am b7ed0bee: (-s ours) am 4c8f31d9: am e610efc3: Merge "Remove ambiguous parse to fix mingw build breakage."

* commit 'b7ed0bee0fc07202b658425fd8715d83041a97e0':
49e12306485fddffcba6cf4c26193836a6ef7c76 27-Aug-2015 Stephen Hines <srhines@google.com> am a8b65683: (-s ours) am 503599b4: am 957d5f9d: Merge "Expand reduce-style kernels."

* commit 'a8b656835dcacd95c10a3fdf89424a91cc059891':
552645d6824253558766aa2c6ba197bca820ad4c 27-Aug-2015 Stephen Hines <srhines@google.com> am 03136c21: (-s ours) am 3de81cfc: am 7648c386: Merge "Update libbcc for LLVM rebase to r239765"

* commit '03136c210173e95c42b6b4af7c1bc5b82e1cbae6':
9a5d9aa70ec8a4abf3eaabc2440d443c59b3e42e 27-Aug-2015 Elliott Hughes <enh@google.com> am 84988c8e: (-s ours) am 82c9b06a: am 6aa68725: Merge "Lose HAVE_ANDROID_OS from frameworks/compile/libbcc."

* commit '84988c8e092b081298e3f5b8bf5edb8b6ded4193':
bc8c55ed6782227adf0bc53913d3b3729312ee12 27-Aug-2015 Dan Willemsen <dwillemsen@google.com> am 401142b3: (-s ours) am 6e28f1c4: am e56ba8b6: Merge "build: All paths are TOP-relative"

* commit '401142b32a3d137d20b61b0146301ebd270b7dfe':
b7669c7998301d7961d5111238cfc019535b3fc9 27-Aug-2015 David Gross <dgross@google.com> am c3df5d7c: (-s ours) am be0c7e65: am b971e8c8: Merge "Clean up Compiler::runPasses()."

* commit 'c3df5d7c125c99b6d70b7e13be6289ce13cd21d2':
15a0ce40c6c738485a71d65beea16c44f1f66867 27-Aug-2015 Stephen Hines <srhines@google.com> am 3a39cfb0: (-s ours) am 0896d8e6: am b49f3460: Merge "Fix alias metadata issues."

* commit '3a39cfb0cb8328c512aeb3bf93d0d8b28659032c':
c6cd58267bd8b0d7b1fd42787a31562307de8ab2 27-Aug-2015 Stephen Hines <srhines@google.com> am 8599758a: (-s ours) am f999f8b8: am ddcac09d: Merge "Avoid cpu mismatch to ARM during cross compiling"

* commit '8599758a591707ff046e5f34a9e6a490fab93c36':
2f041b66ae4833317b7f2d9782c3d3a3fb4938bf 27-Aug-2015 Stephen Hines <srhines@google.com> am 5f23bccc: (-s ours) am c7aac9dd: am 20328131: Merge "If the host supports it, build libbcc as an LLVM loadable module."

* commit '5f23bcccf58fc33f84f3daef86f852f8c7268892':
b4544c32f3ddb3a6a6494b266b00adf12c74d47a 27-Aug-2015 Stephen Hines <srhines@google.com> am 6aed2d8d: (-s ours) am d4777717: Fix missing call to setLinkRuntimeCallback() from compat path.

* commit '6aed2d8d1538e2afc66afe256cfa06c090dec722':
de7d4b1a31c273ae9e5e7d498cbe465498d7f4aa 27-Aug-2015 Stephen Hines <srhines@google.com> am 578914b7: (-s ours) am 84fbb900: am b0ea93b7: Merge "Do not specify FORCE_CPU_VARIANT_* for host build"

* commit '578914b74b93cfe096128d76f1ccf6bf3b9553d7':
5f3b2aaa3a448b4e38bce5849a6a78c26bab7b3b 27-Aug-2015 Stephen Hines <srhines@google.com> am 0e99097b: (-s ours) am 7955d942: am d5e8c3c9: Merge "Fix missing call to setLinkRuntimeCallback() from compat path."

* commit '0e99097b400ccf69d3092bc993e8644be5d50c85':
b7a7edac029225a991413474298647e26b80077c 27-Aug-2015 Stephen Hines <srhines@google.com> am 48c05e18: (-s ours) am 1f1ed937: am 4403b4f5: Merge "RSForEachExpand: Improve getelementptr instruction generation."

* commit '48c05e18e2eb8334b094b9ad8807c022beaea079':
c8ecba383ed4bd4fca0f95c9fe4f4d7ddde40c7b 27-Aug-2015 Stephen Hines <srhines@google.com> am 3f010917: (-s ours) am 0db373a0: am e26b178b: Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2).""

* commit '3f010917b144e4844c5af0525ed8c69405606194':
f1d928250852bcd0ff30cdd4f0214071e6ee17dd 27-Aug-2015 Stephen Hines <srhines@google.com> am 4d7108a1: (-s ours) am 0248f898: am 335e0bb9: Merge "Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly."

* commit '4d7108a1b28142ea600f301b919dfb8c057b97d4':
2d8fe5b848a40bbd8a479c6096cbd76ba655d569 27-Aug-2015 Stephen Hines <srhines@google.com> am 6ab985ce: (-s ours) am af53fba2: am 3950457e: Merge "Change libbcc so that it compiles as an LLVM loadable module (try 2)."

* commit '6ab985ce484dabf6145d9bbd6fef02be3a35d263':
58e2ac070bda52df440e1e8cf0265c998151fca2 27-Aug-2015 Stephen Hines <srhines@google.com> am f51c1398: (-s ours) am 97727360: am 953c9850: Merge "libbcc: Add support for reduce kernel metadata."

* commit 'f51c13980067e9781b377604a8668ddd5c974ad2':
6b1e98753d9abde28b775204002b636553fe56ff 27-Aug-2015 David Gross <dgross@google.com> am 48ce867b: (-s ours) am 6052c401: Fix rs_kernel_context_t type mismatch in call to kernel.

* commit '48ce867b5a880e25bf535293499cfe9359839818':
1564805373275a6d1348ef2a6e831df95941219a 27-Aug-2015 Stephen Hines <srhines@google.com> am 3a2e8d31: (-s ours) am 9add5a4a: am e823f4a5: Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module.""

* commit '3a2e8d311ed726973eda3142030769a63151d95f':
b018f90b2b52ba99ad1b0f9c180f0111364ff907 27-Aug-2015 Stephen Hines <srhines@google.com> am 02095c86: (-s ours) am cbcd1194: am e0ab34f7: Merge "Change libbcc so that it compiles as an LLVM loadable module."

* commit '02095c86921c18ec06bda32714c89a231c426350':
9eb48a4830c69efd2268aabddcc834c2d16607d4 27-Aug-2015 Stephen Hines <srhines@google.com> am d846b1b5: (-s ours) am 8eed3b9d: am 53f6e572: Merge "Stopped bcc from ignoring optimization level"

* commit 'd846b1b5eb36d65d5a20c7ef895b2448acdf85ef':
5d6e0d32f0fe0840227cc7a5eda390e4cde85d6f 27-Aug-2015 Matt Wala <wala@google.com> am 434917b0: (-s ours) am a38e29ba: Fix a bug where kernels could modify the input allocation.

* commit '434917b0125bcb2a638697eb21cb3d89a0ad8f24':
120de739a59ccea42f4225d0a2d504684b5c3636 27-Aug-2015 Stephen Hines <srhines@google.com> am 29860561: (-s ours) am 51c5a9da: am 767dd80c: Merge "Fix a bug where kernels could modify the input allocation."

* commit '2986056136abf5fc190876b3dbd05546461b0c28':
fc1392a69f641e35892ac452fc3bacc714303b65 27-Aug-2015 David Gross <dgross@google.com> am 51ae136c: (-s ours) am bc850f9c: am dc52c44c: Merge "Fix rs_kernel_context_t type mismatch in call to kernel."

* commit '51ae136cfcce77c5f496a0cb6e853904c09e95fa':
6f4e48349ce0821ba8f82951c1005e377c62a3cf 22-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> am b7f05114: Restore missing min and max API.

* commit 'b7f05114e5f408479b50647837cdf25187bfd164':
Restore missing min and max API.
e97e09d5331ff24d8619e1e6dd363483cacfe16b 22-Aug-2015 Stephen Hines <srhines@google.com> am fcb94c47: am 9436c894: Merge "RSKernelExpand: Remove loads of instep and outstep values in new-style forEach kernel expansion."

* commit 'fcb94c474da88edc0a56a4efb6508b2bec576dff':
RSKernelExpand: Remove loads of instep and outstep values in new-style forEach kernel expansion.
17d21632c919ef0d096f0b82d56df8ba89c49332 22-Aug-2015 Stephen Hines <srhines@google.com> am fcb94c47: am 9436c894: Merge "RSKernelExpand: Remove loads of instep and outstep values in new-style forEach kernel expansion."

* commit 'fcb94c474da88edc0a56a4efb6508b2bec576dff':
RSKernelExpand: Remove loads of instep and outstep values in new-style forEach kernel expansion.
fcb94c474da88edc0a56a4efb6508b2bec576dff 22-Aug-2015 Stephen Hines <srhines@google.com> am 9436c894: Merge "RSKernelExpand: Remove loads of instep and outstep values in new-style forEach kernel expansion."

* commit '9436c894e7d71d0665023f609fe0b823d1c604b7':
RSKernelExpand: Remove loads of instep and outstep values in new-style forEach kernel expansion.
9436c894e7d71d0665023f609fe0b823d1c604b7 22-Aug-2015 Stephen Hines <srhines@google.com> Merge "RSKernelExpand: Remove loads of instep and outstep values in new-style forEach kernel expansion."
8f5fbd0165ed6ff9bb32e68957120eff659efb85 22-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> am b7f05114: Restore missing min and max API.

* commit 'b7f05114e5f408479b50647837cdf25187bfd164':
Restore missing min and max API.
3bc475b206c3fa249a212b90fe989fdcda4d75f9 13-Aug-2015 Matt Wala <wala@google.com> RSKernelExpand: Remove loads of instep and outstep values in new-style
forEach kernel expansion.

InStep and OutStep are not used by expanded new-style forEach kernels.
Instead, the strides are inferred from the type information available
to the kernel expansion pass.

Change-Id: Ieb3dc46ac4fdcd19d7e26f6d84b7356479b9984e
ib/Renderscript/RSKernelExpand.cpp
ests/libbcc/getelementptr.ll
a7cf5fc9386ffb21c2f017281fff7c0a928cf176 21-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> am d515314f: am a73fab60: Merge "Restore missing min and max API."

* commit 'd515314faf798bd367b1260e2ba6ec825af7caf6':
Restore missing min and max API.
6061e1ce1957f8d28eccf4546c34d449e20c4a95 21-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> am d515314f: am a73fab60: Merge "Restore missing min and max API."

* commit 'd515314faf798bd367b1260e2ba6ec825af7caf6':
Restore missing min and max API.
d515314faf798bd367b1260e2ba6ec825af7caf6 21-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> am a73fab60: Merge "Restore missing min and max API."

* commit 'a73fab6004b7360d27639a42874fd1d94c701b6b':
Restore missing min and max API.
a73fab6004b7360d27639a42874fd1d94c701b6b 21-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> Merge "Restore missing min and max API."
b7f05114e5f408479b50647837cdf25187bfd164 21-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> Restore missing min and max API.

min(float2/3/4, float) and max(float2/3/4, float) were defined in our
headers in K. In L, they were removed by mistake. This continued to
work however because a float would be auto converted by the compiler to
a float4.

In M, we started validating for unexpected external references, which
_Z3minDv4_ff is. This can prevent programs compiled with K from running
on M.

This CL fixes the whitelist.

Bug:23389429

Change-Id: I21f59521b3744d0c5b6fd75dbf1810493e9c1d84
(cherry picked from commit 005666078051a3f8e1e0ff59678635f3c501cde8)
ib/Renderscript/RSStubsWhiteList.cpp
005666078051a3f8e1e0ff59678635f3c501cde8 21-Aug-2015 Jean-Luc Brouillet <jeanluc@google.com> Restore missing min and max API.

min(float2/3/4, float) and max(float2/3/4, float) were defined in our
headers in K. In L, they were removed by mistake. This continued to
work however because a float would be auto converted by the compiler to
a float4.

In M, we started validating for unexpected external references, which
_Z3minDv4_ff is. This can prevent programs compiled with K from running
on M.

This CL fixes the whitelist.

Bug:23389429

Change-Id: I21f59521b3744d0c5b6fd75dbf1810493e9c1d84
ib/Renderscript/RSStubsWhiteList.cpp
5254359114b94c43f920dadbe382f4ebf7c96d12 19-Aug-2015 Stephen Hines <srhines@google.com> am 4c8f31d9: am e610efc3: Merge "Remove ambiguous parse to fix mingw build breakage."

* commit '4c8f31d9c2e59de7749ae1990921a79066f5e052':
Remove ambiguous parse to fix mingw build breakage.
b7ed0bee0fc07202b658425fd8715d83041a97e0 19-Aug-2015 Stephen Hines <srhines@google.com> am 4c8f31d9: am e610efc3: Merge "Remove ambiguous parse to fix mingw build breakage."

* commit '4c8f31d9c2e59de7749ae1990921a79066f5e052':
Remove ambiguous parse to fix mingw build breakage.
4c8f31d9c2e59de7749ae1990921a79066f5e052 19-Aug-2015 Stephen Hines <srhines@google.com> am e610efc3: Merge "Remove ambiguous parse to fix mingw build breakage."

* commit 'e610efc3eb827f83ceb479df370bd3836f00c19b':
Remove ambiguous parse to fix mingw build breakage.
e610efc3eb827f83ceb479df370bd3836f00c19b 19-Aug-2015 Stephen Hines <srhines@google.com> Merge "Remove ambiguous parse to fix mingw build breakage."
dfde70a8ae9b77bbf0e8d9d22a55e1d1fda7d64d 19-Aug-2015 Stephen Hines <srhines@google.com> Remove ambiguous parse to fix mingw build breakage.

Change-Id: I5f30aaa1669dc9a1dfb019e94df261c5eafa5a1f
ib/Renderscript/RSKernelExpand.cpp
59e93cbcb45088af0fe603e346d669cbf5f3b4a3 19-Aug-2015 Stephen Hines <srhines@google.com> am 503599b4: am 957d5f9d: Merge "Expand reduce-style kernels."

* commit '503599b4aab1b5b7888c95a9310b3e19627d31a2':
Expand reduce-style kernels.
a8b656835dcacd95c10a3fdf89424a91cc059891 19-Aug-2015 Stephen Hines <srhines@google.com> am 503599b4: am 957d5f9d: Merge "Expand reduce-style kernels."

* commit '503599b4aab1b5b7888c95a9310b3e19627d31a2':
Expand reduce-style kernels.
503599b4aab1b5b7888c95a9310b3e19627d31a2 19-Aug-2015 Stephen Hines <srhines@google.com> am 957d5f9d: Merge "Expand reduce-style kernels."

* commit '957d5f9dadeecd792f3230acd1cb0cdbfefd187a':
Expand reduce-style kernels.
957d5f9dadeecd792f3230acd1cb0cdbfefd187a 19-Aug-2015 Stephen Hines <srhines@google.com> Merge "Expand reduce-style kernels."
4e7a50685ae18a24087f6f2a51c604e71fab69e2 31-Jul-2015 Matt Wala <wala@google.com> Expand reduce-style kernels.

Bug: 22631253

Rename the RSForEachExpand pass / source file to RSKernelExpand. In
addition to already being responsible for expanding foreach-style
kernels, RSKernelExpand now expands reduce-style kernels from

define foo @func(foo %a, foo %b)

into

define void @func.expand(i8* %inBuf, i8* %outBuf, i32 len)

The expanded function reduces a sub-range of its input.

Change-Id: I518fa9367b57111a2f2a1b23903ff870c421beeb
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSKernelExpand.cpp
ests/libbcc/getelementptr.ll
ests/libbcc/tbaa-through-alloca.ll
ests/libbcc/tbaa.ll
fca7fb7e7479c892b92327924ebc19e36d0592e3 15-Aug-2015 Stephen Hines <srhines@google.com> am 3de81cfc: am 7648c386: Merge "Update libbcc for LLVM rebase to r239765"

* commit '3de81cfc0603f05c163ebf8bf8bf5b2ee6ae89b3':
Update libbcc for LLVM rebase to r239765
03136c210173e95c42b6b4af7c1bc5b82e1cbae6 15-Aug-2015 Stephen Hines <srhines@google.com> am 3de81cfc: am 7648c386: Merge "Update libbcc for LLVM rebase to r239765"

* commit '3de81cfc0603f05c163ebf8bf8bf5b2ee6ae89b3':
Update libbcc for LLVM rebase to r239765
3de81cfc0603f05c163ebf8bf8bf5b2ee6ae89b3 15-Aug-2015 Stephen Hines <srhines@google.com> am 7648c386: Merge "Update libbcc for LLVM rebase to r239765"

* commit '7648c3864074dd3954bd7402a8de2c271dcee186':
Update libbcc for LLVM rebase to r239765
7648c3864074dd3954bd7402a8de2c271dcee186 15-Aug-2015 Stephen Hines <srhines@google.com> Merge "Update libbcc for LLVM rebase to r239765"
494fb47a4fafb71834fa40f9c2f435f103468bfe 13-Aug-2015 Elliott Hughes <enh@google.com> am 82c9b06a: am 6aa68725: Merge "Lose HAVE_ANDROID_OS from frameworks/compile/libbcc."

* commit '82c9b06a394b66abedd473ed562dd5b9ec57db48':
Lose HAVE_ANDROID_OS from frameworks/compile/libbcc.
84988c8e092b081298e3f5b8bf5edb8b6ded4193 13-Aug-2015 Elliott Hughes <enh@google.com> am 82c9b06a: am 6aa68725: Merge "Lose HAVE_ANDROID_OS from frameworks/compile/libbcc."

* commit '82c9b06a394b66abedd473ed562dd5b9ec57db48':
Lose HAVE_ANDROID_OS from frameworks/compile/libbcc.
82c9b06a394b66abedd473ed562dd5b9ec57db48 13-Aug-2015 Elliott Hughes <enh@google.com> am 6aa68725: Merge "Lose HAVE_ANDROID_OS from frameworks/compile/libbcc."

* commit '6aa6872593d89f6390a366544c20d933c8513ec4':
Lose HAVE_ANDROID_OS from frameworks/compile/libbcc.
6aa6872593d89f6390a366544c20d933c8513ec4 13-Aug-2015 Elliott Hughes <enh@google.com> Merge "Lose HAVE_ANDROID_OS from frameworks/compile/libbcc."
fe0de789385f766e2dacbcfdb05fa57509db874e 13-Aug-2015 Elliott Hughes <enh@google.com> Lose HAVE_ANDROID_OS from frameworks/compile/libbcc.

Change-Id: I445c64c3a3e571380d2efff39829a8d6cf48b329
cinfo/MetadataExtractor.cpp
nclude/bcc/Support/Properties.h
ib/Renderscript/RSCompilerDriver.cpp
401142b32a3d137d20b61b0146301ebd270b7dfe 07-Aug-2015 Dan Willemsen <dwillemsen@google.com> am 6e28f1c4: am e56ba8b6: Merge "build: All paths are TOP-relative"

* commit '6e28f1c42437c3f21b2e2e7a373bf4dae9a9e136':
build: All paths are TOP-relative
79a4c3ceff39ae570107cdf740d42917e2044115 07-Aug-2015 Dan Willemsen <dwillemsen@google.com> am 6e28f1c4: am e56ba8b6: Merge "build: All paths are TOP-relative"

* commit '6e28f1c42437c3f21b2e2e7a373bf4dae9a9e136':
build: All paths are TOP-relative
6e28f1c42437c3f21b2e2e7a373bf4dae9a9e136 07-Aug-2015 Dan Willemsen <dwillemsen@google.com> am e56ba8b6: Merge "build: All paths are TOP-relative"

* commit 'e56ba8b69613ff50e0b3321b58592d1cc19f54c5':
build: All paths are TOP-relative
e56ba8b69613ff50e0b3321b58592d1cc19f54c5 07-Aug-2015 Dan Willemsen <dwillemsen@google.com> Merge "build: All paths are TOP-relative"
adfbff4a860c1ac71165332f40d23c5297d8d74d 07-Aug-2015 Dan Willemsen <dwillemsen@google.com> build: All paths are TOP-relative

No need to use $(LOCAL_PATH)/../../../../../external/llvm, just
external/llvm works.

Change-Id: Icfbd1eb3345b4b496d58c715970234537449c4c7
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_3_0/Android.mk
cinfo/Wrap/Android.mk
c3df5d7c125c99b6d70b7e13be6289ce13cd21d2 06-Aug-2015 David Gross <dgross@google.com> am be0c7e65: am b971e8c8: Merge "Clean up Compiler::runPasses()."

* commit 'be0c7e6579525b7dd029512aab4748b6111c9402':
Clean up Compiler::runPasses().
36369dc4590b88d3eb7837c498854bb5873fbc7d 06-Aug-2015 David Gross <dgross@google.com> am be0c7e65: am b971e8c8: Merge "Clean up Compiler::runPasses()."

* commit 'be0c7e6579525b7dd029512aab4748b6111c9402':
Clean up Compiler::runPasses().
be0c7e6579525b7dd029512aab4748b6111c9402 06-Aug-2015 David Gross <dgross@google.com> am b971e8c8: Merge "Clean up Compiler::runPasses()."

* commit 'b971e8c886bf751bd10959cba9857ec50c89c5b3':
Clean up Compiler::runPasses().
b971e8c886bf751bd10959cba9857ec50c89c5b3 06-Aug-2015 David Gross <dgross@google.com> Merge "Clean up Compiler::runPasses()."
6192ad88843b6f361a7b3e743176fa0b78864478 06-Aug-2015 Stephen Hines <srhines@google.com> am 0896d8e6: am b49f3460: Merge "Fix alias metadata issues."

* commit '0896d8e6de20740fa46bd761971c8ee4b313b037':
Fix alias metadata issues.
3a39cfb0cb8328c512aeb3bf93d0d8b28659032c 06-Aug-2015 Stephen Hines <srhines@google.com> am 0896d8e6: am b49f3460: Merge "Fix alias metadata issues."

* commit '0896d8e6de20740fa46bd761971c8ee4b313b037':
Fix alias metadata issues.
0896d8e6de20740fa46bd761971c8ee4b313b037 06-Aug-2015 Stephen Hines <srhines@google.com> am b49f3460: Merge "Fix alias metadata issues."

* commit 'b49f346089f1dc3418d00da7866153a93c2aa64c':
Fix alias metadata issues.
b49f346089f1dc3418d00da7866153a93c2aa64c 06-Aug-2015 Stephen Hines <srhines@google.com> Merge "Fix alias metadata issues."
9296edce10caec9c901f24b65e7d54c8ffe9131c 06-Aug-2015 Matt Wala <wala@google.com> Fix alias metadata issues.

Bug: 22804168

(1) Remove the used of alias.scope metadata. This was not being used
correctly and had no effect.

(2) Fix the use of TBAA. Ensure that the temporary alloca used for
passing pointers to the kernel (if the kernel takes a pointer
parameter) does not get annotated with the RenderScript TBAA, because
this can conflict with existing TBAA metadata in the kernel.

Change-Id: I27018f809a33f213c6d4cc720b18b844f28b2d6f
ib/Renderscript/RSForEachExpand.cpp
ests/libbcc/tbaa-through-alloca.ll
ests/libbcc/tbaa.ll
5aefc98db2dc14a703ce3d4f134565b834686552 04-Aug-2015 David Gross <dgross@google.com> Clean up Compiler::runPasses().

Flatten out call tree rooted at Compiler::runPasses(), to make it
easier to understand.

Bug: 22801527

Change-Id: I680f9443bba3328c4c0da73a2358d4cd12094d20
nclude/bcc/Compiler.h
ib/Core/Compiler.cpp
8599758a591707ff046e5f34a9e6a490fab93c36 05-Aug-2015 Stephen Hines <srhines@google.com> am f999f8b8: am ddcac09d: Merge "Avoid cpu mismatch to ARM during cross compiling"

* commit 'f999f8b8402a8668c3b5c4fe0af8f9e9c098a1cd':
Avoid cpu mismatch to ARM during cross compiling
5c35e7685dc7760919a4e442b57f29ac81f0ab18 05-Aug-2015 Stephen Hines <srhines@google.com> am f999f8b8: am ddcac09d: Merge "Avoid cpu mismatch to ARM during cross compiling"

* commit 'f999f8b8402a8668c3b5c4fe0af8f9e9c098a1cd':
Avoid cpu mismatch to ARM during cross compiling
f999f8b8402a8668c3b5c4fe0af8f9e9c098a1cd 05-Aug-2015 Stephen Hines <srhines@google.com> am ddcac09d: Merge "Avoid cpu mismatch to ARM during cross compiling"

* commit 'ddcac09de5bc3174f9cafe535a900bc0afeae5d6':
Avoid cpu mismatch to ARM during cross compiling
ddcac09de5bc3174f9cafe535a900bc0afeae5d6 05-Aug-2015 Stephen Hines <srhines@google.com> Merge "Avoid cpu mismatch to ARM during cross compiling"
5f23bcccf58fc33f84f3daef86f852f8c7268892 05-Aug-2015 Stephen Hines <srhines@google.com> am c7aac9dd: am 20328131: Merge "If the host supports it, build libbcc as an LLVM loadable module."

* commit 'c7aac9dd2a6e6eeedddc4a95a714e408d14f039e':
If the host supports it, build libbcc as an LLVM loadable module.
47f0e2a40deb08e1abb604cd37710fb99bb7cc89 05-Aug-2015 Stephen Hines <srhines@google.com> am c7aac9dd: am 20328131: Merge "If the host supports it, build libbcc as an LLVM loadable module."

* commit 'c7aac9dd2a6e6eeedddc4a95a714e408d14f039e':
If the host supports it, build libbcc as an LLVM loadable module.
c7aac9dd2a6e6eeedddc4a95a714e408d14f039e 05-Aug-2015 Stephen Hines <srhines@google.com> am 20328131: Merge "If the host supports it, build libbcc as an LLVM loadable module."

* commit '203281314c38840efe15156d9557634c9bb5315c':
If the host supports it, build libbcc as an LLVM loadable module.
203281314c38840efe15156d9557634c9bb5315c 05-Aug-2015 Stephen Hines <srhines@google.com> Merge "If the host supports it, build libbcc as an LLVM loadable module."
b363328cce9d82bc11b1e6722ba935e580d533cd 05-Aug-2015 Stephen Hines <srhines@google.com> am d4777717: Fix missing call to setLinkRuntimeCallback() from compat path.

* commit 'd47777179abaffa360d4ba6a59c19498c61350c1':
Fix missing call to setLinkRuntimeCallback() from compat path.
6aed2d8d1538e2afc66afe256cfa06c090dec722 05-Aug-2015 Stephen Hines <srhines@google.com> am d4777717: Fix missing call to setLinkRuntimeCallback() from compat path.

* commit 'd47777179abaffa360d4ba6a59c19498c61350c1':
Fix missing call to setLinkRuntimeCallback() from compat path.
999d924f58fb97cc7b888c51095a83cf74971e3d 04-Aug-2015 Matt Wala <wala@google.com> If the host supports it, build libbcc as an LLVM loadable module.

Change-Id: I5c34e596c4a81944e286b44cc10688a0187e30f4
ndroid.mk
cinfo/Android.mk
lvm-loadable-libbcc.mk
d3860f6882b8649af72a0a25051208af4051144d 03-Aug-2015 Stephen Hines <srhines@google.com> am 84fbb900: am b0ea93b7: Merge "Do not specify FORCE_CPU_VARIANT_* for host build"

* commit '84fbb900e2b556aa42bc08e65f306da928d69469':
Do not specify FORCE_CPU_VARIANT_* for host build
578914b74b93cfe096128d76f1ccf6bf3b9553d7 03-Aug-2015 Stephen Hines <srhines@google.com> am 84fbb900: am b0ea93b7: Merge "Do not specify FORCE_CPU_VARIANT_* for host build"

* commit '84fbb900e2b556aa42bc08e65f306da928d69469':
Do not specify FORCE_CPU_VARIANT_* for host build
84fbb900e2b556aa42bc08e65f306da928d69469 03-Aug-2015 Stephen Hines <srhines@google.com> am b0ea93b7: Merge "Do not specify FORCE_CPU_VARIANT_* for host build"

* commit 'b0ea93b767d388f84ac7ec16708e6edefc11d7b9':
Do not specify FORCE_CPU_VARIANT_* for host build
b0ea93b767d388f84ac7ec16708e6edefc11d7b9 03-Aug-2015 Stephen Hines <srhines@google.com> Merge "Do not specify FORCE_CPU_VARIANT_* for host build"
d47777179abaffa360d4ba6a59c19498c61350c1 29-Jul-2015 Stephen Hines <srhines@google.com> Fix missing call to setLinkRuntimeCallback() from compat path.

Bug: 22809453

This call was missing from the buildForCompatLib() path, leading to
potential problems with GPGPU drivers that depend on that callback.

Change-Id: I236cf9f6e067d243977fbcce154e79953c9e33aa
(cherry picked from commit efb3af3ba00e8dc9a10130ec66727ebd8c11a2ed)
ib/Renderscript/RSCompilerDriver.cpp
0e99097b400ccf69d3092bc993e8644be5d50c85 29-Jul-2015 Stephen Hines <srhines@google.com> am 7955d942: am d5e8c3c9: Merge "Fix missing call to setLinkRuntimeCallback() from compat path."

* commit '7955d942d98882082983b649bca7cacda2092309':
Fix missing call to setLinkRuntimeCallback() from compat path.
1a7f0313f33fe1f4ec92c7b81f497013019a41da 29-Jul-2015 Stephen Hines <srhines@google.com> am 7955d942: am d5e8c3c9: Merge "Fix missing call to setLinkRuntimeCallback() from compat path."

* commit '7955d942d98882082983b649bca7cacda2092309':
Fix missing call to setLinkRuntimeCallback() from compat path.
7955d942d98882082983b649bca7cacda2092309 29-Jul-2015 Stephen Hines <srhines@google.com> am d5e8c3c9: Merge "Fix missing call to setLinkRuntimeCallback() from compat path."

* commit 'd5e8c3c902d732b6f68b7074614afeccc4959496':
Fix missing call to setLinkRuntimeCallback() from compat path.
d5e8c3c902d732b6f68b7074614afeccc4959496 29-Jul-2015 Stephen Hines <srhines@google.com> Merge "Fix missing call to setLinkRuntimeCallback() from compat path."
efb3af3ba00e8dc9a10130ec66727ebd8c11a2ed 29-Jul-2015 Stephen Hines <srhines@google.com> Fix missing call to setLinkRuntimeCallback() from compat path.

Bug: 22809453

This call was missing from the buildForCompatLib() path, leading to
potential problems with GPGPU drivers that depend on that callback.

Change-Id: I236cf9f6e067d243977fbcce154e79953c9e33aa
ib/Renderscript/RSCompilerDriver.cpp
947064f0732915714cd53ab89ccd79166d62a14e 29-Jul-2015 Shinichiro Hamaji <hamaji@google.com> Do not specify FORCE_CPU_VARIANT_* for host build

When we use ninja and switch a lunch target to another, they
may cause unnecessary rebuild because ninja detects command
line changes. They are used in #ifdef TARGET_BUILD so there
should be no semantics changes.

Change-Id: I3b57ef9bd88897850004f7ac47ddc22ebc1826b6
ibbcc-host-build.mk
48c05e18e2eb8334b094b9ad8807c022beaea079 29-Jul-2015 Stephen Hines <srhines@google.com> am 1f1ed937: am 4403b4f5: Merge "RSForEachExpand: Improve getelementptr instruction generation."

* commit '1f1ed9378eb960f4aea63ce430bc4a0fd3f4c7d5':
RSForEachExpand: Improve getelementptr instruction generation.
00b0682b8e41028868f7e3b83e90cbe5ed110fa0 29-Jul-2015 Stephen Hines <srhines@google.com> am 1f1ed937: am 4403b4f5: Merge "RSForEachExpand: Improve getelementptr instruction generation."

* commit '1f1ed9378eb960f4aea63ce430bc4a0fd3f4c7d5':
RSForEachExpand: Improve getelementptr instruction generation.
1f1ed9378eb960f4aea63ce430bc4a0fd3f4c7d5 29-Jul-2015 Stephen Hines <srhines@google.com> am 4403b4f5: Merge "RSForEachExpand: Improve getelementptr instruction generation."

* commit '4403b4f579a592bf9e2e4a6dc79209528be50940':
RSForEachExpand: Improve getelementptr instruction generation.
4403b4f579a592bf9e2e4a6dc79209528be50940 28-Jul-2015 Stephen Hines <srhines@google.com> Merge "RSForEachExpand: Improve getelementptr instruction generation."
083ef3c3d1991e9fa443ff76065ec6528dd4730c 23-Jul-2015 Matt Wala <wala@google.com> RSForEachExpand: Improve getelementptr instruction generation.

(1) The old pattern, when accessing fields of the driver info
structure, was:

%base = gep %DriverInfo *%info, 0, <base array index>
%addr = gep [N x i8*]* %base, 0, <index>

This change folds the above into:

%addr = gep %DriverInfo *%info, 0, <base array index>, <index>

which simplifies both way that we generate the GEP instructions as
well as the resulting bitcode.

(2) In addition, GEPs of input pointers and instep sizes can be
hoisted out of the loop body.

(3) Finally, mark all GEPs into the DriverInfo structure as inbounds,
because we know they are.

Change-Id: Icfabbdb464af8865c2a4623d967bbb63ef711680
ib/Renderscript/RSForEachExpand.cpp
ests/README.lit
ests/libbcc/getelementptr.ll
ests/libbcc/lit.cfg
b459fa1f69f0ff704d74cee8508790dd29a18f9d 24-Jul-2015 David Gross <dgross@google.com> am 6052c401: Fix rs_kernel_context_t type mismatch in call to kernel.

* commit '6052c4012d291951c0835a7a36bbb3baae2b2045':
Fix rs_kernel_context_t type mismatch in call to kernel.
3f010917b144e4844c5af0525ed8c69405606194 24-Jul-2015 Stephen Hines <srhines@google.com> am 0db373a0: am e26b178b: Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2).""

* commit '0db373a05690b2923d83299b2eaab4cd780d11cc':
Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2)."
99068f2fbeef4d651637aad3c30207a6ae712ca3 24-Jul-2015 Stephen Hines <srhines@google.com> am 0db373a0: am e26b178b: Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2).""

* commit '0db373a05690b2923d83299b2eaab4cd780d11cc':
Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2)."
0db373a05690b2923d83299b2eaab4cd780d11cc 24-Jul-2015 Stephen Hines <srhines@google.com> am e26b178b: Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2).""

* commit 'e26b178b24a323e067373132e16b3f68381df743':
Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2)."
e26b178b24a323e067373132e16b3f68381df743 24-Jul-2015 Stephen Hines <srhines@google.com> Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2).""
a6485fc1b7a45c54846bf8bfbf04fc30e5acaf8f 24-Jul-2015 Stephen Hines <srhines@google.com> Revert "Change libbcc so that it compiles as an LLVM loadable module (try 2)."

This reverts commit b58df0c96e17a33741adc8116af77ba16882bbfc.

Revert "Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly."

This reverts commit 90d862c2ff39787cbe377131294d29b1965706c7.

Both patches are reverted since this exposed a different Linux breakage
(when we aren't using FORCE_BUILD_LLVM_COMPONENTS).
ndroid.mk
cinfo/Android.mk
5d131700f86fb1c0b460d9a352732abce4f057a8 24-Jul-2015 Stephen Hines <srhines@google.com> am 0248f898: am 335e0bb9: Merge "Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly."

* commit '0248f898c3c8a8bcfedd564aeeb3d6d1268b1d14':
Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly.
4d7108a1b28142ea600f301b919dfb8c057b97d4 24-Jul-2015 Stephen Hines <srhines@google.com> am 0248f898: am 335e0bb9: Merge "Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly."

* commit '0248f898c3c8a8bcfedd564aeeb3d6d1268b1d14':
Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly.
0248f898c3c8a8bcfedd564aeeb3d6d1268b1d14 24-Jul-2015 Stephen Hines <srhines@google.com> am 335e0bb9: Merge "Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly."

* commit '335e0bb9e220c231cd93c982a7cb0dd4d4b30ecf':
Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly.
335e0bb9e220c231cd93c982a7cb0dd4d4b30ecf 24-Jul-2015 Stephen Hines <srhines@google.com> Merge "Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly."
90d862c2ff39787cbe377131294d29b1965706c7 24-Jul-2015 Stephen Hines <srhines@google.com> Add libLLVM to LOCAL_LDLIBS so that the mac build can link correctly.

Change-Id: Ic8bdf6b2978ba23064d4150742be857de02381fc
ndroid.mk
cinfo/Android.mk
6ab985ce484dabf6145d9bbd6fef02be3a35d263 24-Jul-2015 Stephen Hines <srhines@google.com> am af53fba2: am 3950457e: Merge "Change libbcc so that it compiles as an LLVM loadable module (try 2)."

* commit 'af53fba26ecd620badfd4ea66d590529cff795dd':
Change libbcc so that it compiles as an LLVM loadable module (try 2).
eb1e4a825e37e39068063103257aff9eb61541c7 24-Jul-2015 Stephen Hines <srhines@google.com> am af53fba2: am 3950457e: Merge "Change libbcc so that it compiles as an LLVM loadable module (try 2)."

* commit 'af53fba26ecd620badfd4ea66d590529cff795dd':
Change libbcc so that it compiles as an LLVM loadable module (try 2).
af53fba26ecd620badfd4ea66d590529cff795dd 24-Jul-2015 Stephen Hines <srhines@google.com> am 3950457e: Merge "Change libbcc so that it compiles as an LLVM loadable module (try 2)."

* commit '3950457e390cf6b81bd8807562b370293c6f52ce':
Change libbcc so that it compiles as an LLVM loadable module (try 2).
3950457e390cf6b81bd8807562b370293c6f52ce 24-Jul-2015 Stephen Hines <srhines@google.com> Merge "Change libbcc so that it compiles as an LLVM loadable module (try 2)."
f51c13980067e9781b377604a8668ddd5c974ad2 24-Jul-2015 Stephen Hines <srhines@google.com> am 97727360: am 953c9850: Merge "libbcc: Add support for reduce kernel metadata."

* commit '9772736015a91801ce1e86ea1c75488423022dfc':
libbcc: Add support for reduce kernel metadata.
e33c6510cc984d50cf74775b898992b771cedb9e 24-Jul-2015 Stephen Hines <srhines@google.com> am 97727360: am 953c9850: Merge "libbcc: Add support for reduce kernel metadata."

* commit '9772736015a91801ce1e86ea1c75488423022dfc':
libbcc: Add support for reduce kernel metadata.
9772736015a91801ce1e86ea1c75488423022dfc 24-Jul-2015 Stephen Hines <srhines@google.com> am 953c9850: Merge "libbcc: Add support for reduce kernel metadata."

* commit '953c98506af191c86aba7275a46c88c82bc3f0c4':
libbcc: Add support for reduce kernel metadata.
953c98506af191c86aba7275a46c88c82bc3f0c4 24-Jul-2015 Stephen Hines <srhines@google.com> Merge "libbcc: Add support for reduce kernel metadata."
48ce867b5a880e25bf535293499cfe9359839818 23-Jul-2015 David Gross <dgross@google.com> am 6052c401: Fix rs_kernel_context_t type mismatch in call to kernel.

* commit '6052c4012d291951c0835a7a36bbb3baae2b2045':
Fix rs_kernel_context_t type mismatch in call to kernel.
b58df0c96e17a33741adc8116af77ba16882bbfc 21-Jul-2015 Stephen Hines <srhines@google.com> Change libbcc so that it compiles as an LLVM loadable module (try 2).

The main change is not requiring libLLVM in the makefile for libbcc.
With this change, libbcc can be used as an LLVM loadable module, for
instance as in "opt -load libbcc.so". This is helpful for debugging
individual bcc passes. Note that we still must link directly against
libLLVM on Windows due to the fact that DLLs can't access unresolved
symbols.

Revert "Revert "Change libbcc so that it compiles as an LLVM loadable module.""

This reverts commit a2bbdcdec92f076a38e75bbd81542fc49da19862.

Change-Id: I6729c2fed8542579ad76fcc533db091138f5575e
ndroid.mk
cinfo/Android.mk
d8563169c10620e696106542e517f9fbd65984d2 20-Jul-2015 Yong Chen <yong.a.chen@intel.com> Avoid cpu mismatch to ARM during cross compiling

Change-Id: I80ebcdbd433e5bbbcf9c9d3a7bda6743037c0aad
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
ib/Support/CompilerConfig.cpp
6052c4012d291951c0835a7a36bbb3baae2b2045 08-Jul-2015 David Gross <dgross@google.com> Fix rs_kernel_context_t type mismatch in call to kernel.

The kernel function context argument (if any) is a pointer to an
opaque user-visible type (rs_kernel_context_t) that differs from
the RsExpandKernelDriverInfoPfx type used in the wrapper
function (although the two types represent the same thing).
Therefore, we must introduce a pointer cast when generating a
call to the kernel function.

Bug: 21812992
Bug: 22640073
Change-Id: I7680676a159cf052e2761b4f670f67891c3d6c1b
(cherry picked from commit 28c17995669687cecc96eaba232eecd3b65f5bbf)
ib/Renderscript/RSForEachExpand.cpp
d139eb0929cb7b395c46c0101ca32fede7fec4be 21-Jul-2015 Stephen Hines <srhines@google.com> am 9add5a4a: am e823f4a5: Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module.""

* commit '9add5a4aa0a7d8fedc7ba2324e89c9bf47995ae8':
Revert "Change libbcc so that it compiles as an LLVM loadable module."
efc85e7a3ea320653a0f34faf23c5583795dd899 21-Jul-2015 Stephen Hines <srhines@google.com> am cbcd1194: am e0ab34f7: Merge "Change libbcc so that it compiles as an LLVM loadable module."

* commit 'cbcd11947432d82bec34139b64ef39bf9f506045':
Change libbcc so that it compiles as an LLVM loadable module.
3a2e8d311ed726973eda3142030769a63151d95f 21-Jul-2015 Stephen Hines <srhines@google.com> am 9add5a4a: am e823f4a5: Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module.""

* commit '9add5a4aa0a7d8fedc7ba2324e89c9bf47995ae8':
Revert "Change libbcc so that it compiles as an LLVM loadable module."
02095c86921c18ec06bda32714c89a231c426350 21-Jul-2015 Stephen Hines <srhines@google.com> am cbcd1194: am e0ab34f7: Merge "Change libbcc so that it compiles as an LLVM loadable module."

* commit 'cbcd11947432d82bec34139b64ef39bf9f506045':
Change libbcc so that it compiles as an LLVM loadable module.
1895ac12bda8ebb1097dd3336e0919e2f08cbc4a 17-Jul-2015 Matt Wala <wala@google.com> libbcc: Add support for reduce kernel metadata.

Bug: 22631253

This change implements recognizing the #rs_export_reduce metadata
node for reduce-style kernels in libbcc and bcinfo.

Change-Id: I5323f607f7ac474d0f7b79486a2bbe900680e330
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcinfo/MetadataExtractor.h
ests/libbcc/lit.cfg
ests/libbcc/test_reduce_metadata.ll
ests/run-lit-tests.sh
9add5a4aa0a7d8fedc7ba2324e89c9bf47995ae8 21-Jul-2015 Stephen Hines <srhines@google.com> am e823f4a5: Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module.""

* commit 'e823f4a5e366695ff81258450501865689d5c1bd':
Revert "Change libbcc so that it compiles as an LLVM loadable module."
cbcd11947432d82bec34139b64ef39bf9f506045 21-Jul-2015 Stephen Hines <srhines@google.com> am e0ab34f7: Merge "Change libbcc so that it compiles as an LLVM loadable module."

* commit 'e0ab34f7583c460182b162651e3e12c439fd93e0':
Change libbcc so that it compiles as an LLVM loadable module.
e823f4a5e366695ff81258450501865689d5c1bd 21-Jul-2015 Stephen Hines <srhines@google.com> Merge "Revert "Change libbcc so that it compiles as an LLVM loadable module.""
a2bbdcdec92f076a38e75bbd81542fc49da19862 21-Jul-2015 Stephen Hines <srhines@google.com> Revert "Change libbcc so that it compiles as an LLVM loadable module."

This reverts commit 0eb3c42fedcd0a9770be27ae43f42f20b0fd7dea.
ndroid.mk
cinfo/Android.mk
e0ab34f7583c460182b162651e3e12c439fd93e0 21-Jul-2015 Stephen Hines <srhines@google.com> Merge "Change libbcc so that it compiles as an LLVM loadable module."
0eb3c42fedcd0a9770be27ae43f42f20b0fd7dea 21-Jul-2015 Matt Wala <wala@google.com> Change libbcc so that it compiles as an LLVM loadable module.

The main change is not requiring libLLVM in the makefile for libbcc.
With this change, libbcc can be used as an LLVM loadable module, for
instance as in "opt -load libbcc.so". This is helpful for debugging
individual bcc passes.

Change-Id: I6565694738c85baac7282a8dd24604f3d94cf783
ndroid.mk
cinfo/Android.mk
d846b1b5eb36d65d5a20c7ef895b2448acdf85ef 20-Jul-2015 Stephen Hines <srhines@google.com> am 8eed3b9d: am 53f6e572: Merge "Stopped bcc from ignoring optimization level"

* commit '8eed3b9d8392efc7dcebe6c1ec4ef6e44fb1b5f5':
Stopped bcc from ignoring optimization level
a6ff825493a3a7fe72bfbd8bee1229d719dc0baa 20-Jul-2015 Stephen Hines <srhines@google.com> am 8eed3b9d: am 53f6e572: Merge "Stopped bcc from ignoring optimization level"

* commit '8eed3b9d8392efc7dcebe6c1ec4ef6e44fb1b5f5':
Stopped bcc from ignoring optimization level
8eed3b9d8392efc7dcebe6c1ec4ef6e44fb1b5f5 20-Jul-2015 Stephen Hines <srhines@google.com> am 53f6e572: Merge "Stopped bcc from ignoring optimization level"

* commit '53f6e5725cd22d6a43ca3179e0791fd8ac079d99':
Stopped bcc from ignoring optimization level
53f6e5725cd22d6a43ca3179e0791fd8ac079d99 20-Jul-2015 Stephen Hines <srhines@google.com> Merge "Stopped bcc from ignoring optimization level"
656325bdb4751d5606f9e53d8f417bd727032c31 17-Jul-2015 Stephen McGroarty <stephen@codeplay.com> Stopped bcc from ignoring optimization level

Added in a constructor for RSScript which takes in the compiler
config and derives the optimization level from that rather than
defaulting it to opt level 3. Also added in a statement to catch
a null pointer for the case where the llvm-rs-cc produced bitcode
fails verification.

Change-Id: I6efdab6280a9c389268b5a40dc4a50eb9bc24370
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSScript.h
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSScript.cpp
ools/bcc/Main.cpp
813354228e13cb5d530288c053f510b19b31d0b1 15-Jul-2015 Matt Wala <wala@google.com> am a38e29ba: Fix a bug where kernels could modify the input allocation.

* commit 'a38e29bac8ebf1b1576d1244a886889f4af69264':
Fix a bug where kernels could modify the input allocation.
434917b0125bcb2a638697eb21cb3d89a0ad8f24 15-Jul-2015 Matt Wala <wala@google.com> am a38e29ba: Fix a bug where kernels could modify the input allocation.

* commit 'a38e29bac8ebf1b1576d1244a886889f4af69264':
Fix a bug where kernels could modify the input allocation.
2986056136abf5fc190876b3dbd05546461b0c28 15-Jul-2015 Stephen Hines <srhines@google.com> am 51c5a9da: am 767dd80c: Merge "Fix a bug where kernels could modify the input allocation."

* commit '51c5a9da33bb9daa49306ed2a663bfa9ba365c59':
Fix a bug where kernels could modify the input allocation.
590764cbd49228f518da5c7421261785b17e653e 15-Jul-2015 Stephen Hines <srhines@google.com> am 51c5a9da: am 767dd80c: Merge "Fix a bug where kernels could modify the input allocation."

* commit '51c5a9da33bb9daa49306ed2a663bfa9ba365c59':
Fix a bug where kernels could modify the input allocation.
51c5a9da33bb9daa49306ed2a663bfa9ba365c59 15-Jul-2015 Stephen Hines <srhines@google.com> am 767dd80c: Merge "Fix a bug where kernels could modify the input allocation."

* commit '767dd80cb44a9e973405672d0beb54d741382592':
Fix a bug where kernels could modify the input allocation.
a38e29bac8ebf1b1576d1244a886889f4af69264 07-Jul-2015 Matt Wala <wala@google.com> Fix a bug where kernels could modify the input allocation.

Bug: 22236496

A large struct in an input Allocation, passed by reference in AArch64,
was not being properly copied into a temporary location as the calling
convention requires. As a result, the kernel could have modified the
input allocation if it made any modifications to the argument.

Fix by copying the struct to a stack location before passing it to the
kernel.

Change-Id: I5089f9e5e27cd0d4ff249cbdc21f0c6ae186f189
(cherry picked from commit d96c9fae6bcbaa7d8bee0dab2d75beb8400248ff)
ib/Renderscript/RSForEachExpand.cpp
767dd80cb44a9e973405672d0beb54d741382592 15-Jul-2015 Stephen Hines <srhines@google.com> Merge "Fix a bug where kernels could modify the input allocation."
933b5a904f7215c692b41a1c0481f4ea5f4abde1 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for LLVM rebase to r239765

Change-Id: I32e347ab622099adc0bb77f6da90c7f14fac4ef5
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
eea0ab90f0aa1e9483d60802c5296f5bc95974ee 08-Jul-2015 David Gross <dgross@google.com> am bc850f9c: am dc52c44c: Merge "Fix rs_kernel_context_t type mismatch in call to kernel."

* commit 'bc850f9c10007e25ec1c20d279d9d258e06cc88c':
Fix rs_kernel_context_t type mismatch in call to kernel.
51ae136cfcce77c5f496a0cb6e853904c09e95fa 08-Jul-2015 David Gross <dgross@google.com> am bc850f9c: am dc52c44c: Merge "Fix rs_kernel_context_t type mismatch in call to kernel."

* commit 'bc850f9c10007e25ec1c20d279d9d258e06cc88c':
Fix rs_kernel_context_t type mismatch in call to kernel.
bc850f9c10007e25ec1c20d279d9d258e06cc88c 08-Jul-2015 David Gross <dgross@google.com> am dc52c44c: Merge "Fix rs_kernel_context_t type mismatch in call to kernel."

* commit 'dc52c44caf662a59ed6cdfcac19e74fd2ff8cee6':
Fix rs_kernel_context_t type mismatch in call to kernel.
dc52c44caf662a59ed6cdfcac19e74fd2ff8cee6 08-Jul-2015 David Gross <dgross@google.com> Merge "Fix rs_kernel_context_t type mismatch in call to kernel."
28c17995669687cecc96eaba232eecd3b65f5bbf 08-Jul-2015 David Gross <dgross@google.com> Fix rs_kernel_context_t type mismatch in call to kernel.

The kernel function context argument (if any) is a pointer to an
opaque user-visible type (rs_kernel_context_t) that differs from
the RsExpandKernelDriverInfoPfx type used in the wrapper
function (although the two types represent the same thing).
Therefore, we must introduce a pointer cast when generating a
call to the kernel function.

Bug: 21812992
Change-Id: I7680676a159cf052e2761b4f670f67891c3d6c1b
ib/Renderscript/RSForEachExpand.cpp
d96c9fae6bcbaa7d8bee0dab2d75beb8400248ff 07-Jul-2015 Matt Wala <wala@google.com> Fix a bug where kernels could modify the input allocation.

Bug: 22236496

A large struct in an input Allocation, passed by reference in AArch64,
was not being properly copied into a temporary location as the calling
convention requires. As a result, the kernel could have modified the
input allocation if it made any modifications to the argument.

Fix by copying the struct to a stack location before passing it to the
kernel.

Change-Id: I5089f9e5e27cd0d4ff249cbdc21f0c6ae186f189
ib/Renderscript/RSForEachExpand.cpp
173915db07dea641526f6ea219537c51b8d296ed 02-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> am 65ceb559: am 81f3dd38: Merge "Remove use of llvm::TargetOptions::NoFramePointerElim"

* commit '65ceb559e7c00cf53f3b4033ebc42bd099ac8829':
Remove use of llvm::TargetOptions::NoFramePointerElim
94d44fe2c0ef40a7400d65a3d766056f377a4945 02-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> am 4b6c2130: am 963b333a: Merge " Soft-float cleanup"

* commit '4b6c2130a58ddd93ac85f0550efdd59055e7daed':
Soft-float cleanup
6da87f169088483213d4ab3a20fd82940814561b 02-Jul-2015 Stephen Hines <srhines@google.com> am f16df9d9: am e1a08b7f: Merge "Fix static object construction."

* commit 'f16df9d92762802da028e1575c1dce9593c6a227':
Fix static object construction.
65ceb559e7c00cf53f3b4033ebc42bd099ac8829 02-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> am 81f3dd38: Merge "Remove use of llvm::TargetOptions::NoFramePointerElim"

* commit '81f3dd38a551ae31716e9f5f7e73d7b8e7eed5b7':
Remove use of llvm::TargetOptions::NoFramePointerElim
4b6c2130a58ddd93ac85f0550efdd59055e7daed 02-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> am 963b333a: Merge " Soft-float cleanup"

* commit '963b333a3a28635e70e6abbab2da11306e3ce01a':
Soft-float cleanup
f16df9d92762802da028e1575c1dce9593c6a227 02-Jul-2015 Stephen Hines <srhines@google.com> am e1a08b7f: Merge "Fix static object construction."

* commit 'e1a08b7f624e59966d61a4bc29c131a799eecb13':
Fix static object construction.
81f3dd38a551ae31716e9f5f7e73d7b8e7eed5b7 02-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove use of llvm::TargetOptions::NoFramePointerElim"
963b333a3a28635e70e6abbab2da11306e3ce01a 02-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Merge " Soft-float cleanup"
e1a08b7f624e59966d61a4bc29c131a799eecb13 01-Jul-2015 Stephen Hines <srhines@google.com> Merge "Fix static object construction."
e2423780bf482d2eeefa9a958b4793f865cba845 30-Jun-2015 Matt Wala <wala@google.com> Fix static object construction.

allocPointersExposed() maintains a static vector to hold a table of
function names. Unintentionally, the size of the table could grow with
each function call because the entries were being added by appending to
the existing object.

This can be fixed by using an initialization list instead of a
sequence of appends. Also, mark the table as const to ensure the code
doesn't try to modify it.

Change-Id: I0da0f99928e1614c945befff550b039d4f21e171
ib/Renderscript/RSForEachExpand.cpp
887fc99c435df92c4dcba8790431628b5e875657 30-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Remove use of llvm::TargetOptions::NoFramePointerElim

Bug: 22210139

This flag is removed from upstream. Removing its use will enable frame
pointer elimination by default. After the rebase, we need to add back
the ability to disable frame pointer elimination (b/22210139).

Commit c0554e25638bec2462daf1a66ed0270a60aec8ea disables frame pointer
elimination for x86 and x86_64. The reason behind this seems to be
lost. Removing the flag implicitly enables this optimization for x86
and doesn't cause any CTS failures on AOSP.

Change-Id: Ia051651adc132583bb6703513dd3eb5ec0b200d9
ib/Support/CompilerConfig.cpp
86e5c863d609de41b03033fd7e81ca41dbb181c8 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Soft-float cleanup

- UseSoftFloat target option is removed from upstream. Remove its use
and update the comment on how to skip FPU and use software
floating-point.
- Cleanup comment and remove a stale TODO about auto-detecting the
presence of hardware FPU. It is unlikely that any processor doesn't
have an FPU these days.

Change-Id: Ib0c0efc7e9dbd3a525aa714c8771247e2d96f9f2
ib/Support/CompilerConfig.cpp
a0cc7d86e4c4f6ea5821bb785b61f9ca1e6f71b1 30-Jun-2015 Yang Ni <yangni@google.com> am b74c5010: am 6c7dd3b8: Merge "bcc kernel fusion: Fixed checks and added better error messages"

* commit 'b74c501070d579f92170334aeaccfb525712f739':
bcc kernel fusion: Fixed checks and added better error messages
b74c501070d579f92170334aeaccfb525712f739 30-Jun-2015 Yang Ni <yangni@google.com> am 6c7dd3b8: Merge "bcc kernel fusion: Fixed checks and added better error messages"

* commit '6c7dd3b83a44765eec1077bd60627eb04a8d362f':
bcc kernel fusion: Fixed checks and added better error messages
6c7dd3b83a44765eec1077bd60627eb04a8d362f 30-Jun-2015 Yang Ni <yangni@google.com> Merge "bcc kernel fusion: Fixed checks and added better error messages"
f1eeeb14d117a67c5f35b72e866890bd8d1d694f 29-Jun-2015 Yang Ni <yangni@google.com> bcc kernel fusion: Fixed checks and added better error messages

b/21949580

Need to increment the slot iterator only after checking if the slot
is first in batch.

Succeeding kernel input data type has to strictly match the return
type of the preceding kernel.

Give error messages on all error exits, with better messages.

Change-Id: Icc50b85377e820333b13e57389e53363d4a7e89f
(cherry picked from commit 531d08c85971e47f58aedc093fbe83f1b909703e)
ib/Renderscript/RSScriptGroupFusion.cpp
aa87c4008b8ac4fdaa92fac6d7dc24dd8fab2ada 29-Jun-2015 Yang Ni <yangni@google.com> am 531d08c8: bcc kernel fusion: Fixed checks and added better error messages

* commit '531d08c85971e47f58aedc093fbe83f1b909703e':
bcc kernel fusion: Fixed checks and added better error messages
531d08c85971e47f58aedc093fbe83f1b909703e 29-Jun-2015 Yang Ni <yangni@google.com> bcc kernel fusion: Fixed checks and added better error messages

b/21949580

Need to increment the slot iterator only after checking if the slot
is first in batch.

Succeeding kernel input data type has to strictly match the return
type of the preceding kernel.

Give error messages on all error exits, with better messages.

Change-Id: Icc50b85377e820333b13e57389e53363d4a7e89f
ib/Renderscript/RSScriptGroupFusion.cpp
bd36ae3b689b36b29f89ee8e243e8458a7d59c55 23-Jun-2015 David Gross <dgross@google.com> am 25c7dfc3: Fix cases where RSInvariant pass might miss marking some loads as invariant.

* commit '25c7dfc342c5fc84561fe8567c2644b3c53bc732':
Fix cases where RSInvariant pass might miss marking some loads as invariant.
b32cedf5ce5bf33629060428e84621f5c165730d 23-Jun-2015 Stephen Hines <srhines@google.com> resolved conflicts for merge of 983411b5 to mnc-dev-plus-aosp

Change-Id: I852ad6e43e5c1ee3a49a2193ccb2d335fdbda0e5
975bcc2f32a38f0f2244c91c7ee5fb548cb39c84 23-Jun-2015 Stephen Hines <srhines@google.com> resolved conflicts for merge of 881d97e6 to mnc-dev-plus-aosp

Change-Id: I56c8654d23740d53072525efa37f17bf5bef6b19
25c7dfc342c5fc84561fe8567c2644b3c53bc732 22-Jun-2015 David Gross <dgross@google.com> Fix cases where RSInvariant pass might miss marking some loads as invariant.

llvm-rs-cc and bcc can add numeric suffixes to structure type names; we need
to tolerate this when looking for the context structure by name.

Bug: 21815112
Change-Id: If5ef169245f8d43affdc43abb2298c7015568dd0
(cherry picked from commit 23c2bfe96698091f2886d1959435d8949f76c46b)
nclude/bcc/Renderscript/RSUtils.h
ib/Renderscript/RSInvariant.cpp
983411b53f9442a7fde1c91dffeffb631f53835d 19-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Fix check for literal types

In my previous commit on "Get struct names only for non-literal structs"
I got the check for literal structs reversed. This commit fixes that.

Change-Id: I7b1b35d4ad85bdfde65a2d68fa39cf2cb8bde9cb
(cherry picked from commit 150eef4097c996e14b50b7f58184265385c44713)
ib/Renderscript/RSInvariant.cpp
881d97e6fd2b539418a731d43d241be14f327d6f 12-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Get struct names only for non-literal structs

Bug 19545955

While marking loads as invariant, test that a struct parameter is
not a literal struct before comparing/testing its name.

Change-Id: I92fb234b42306859ecad87c83321f9a8fe1a210b
(cherry picked from commit e8b9f0607d59e991d984302d790b8b16e3623cc3)
ib/Renderscript/RSInvariant.cpp
f006f501ce6485e38360f30136cfd6f48b6be389 23-Jun-2015 Yang Ni <yangni@google.com> am 5eb7d376: am 8180f6f1: Merge "Check kernels before fusing"

* commit '5eb7d3769bc1731fd9e4716bd6458cbf43a613e0':
Check kernels before fusing
5eb7d3769bc1731fd9e4716bd6458cbf43a613e0 23-Jun-2015 Yang Ni <yangni@google.com> am 8180f6f1: Merge "Check kernels before fusing"

* commit '8180f6f1a3a19662c100b1698132a50e984730ea':
Check kernels before fusing
8180f6f1a3a19662c100b1698132a50e984730ea 23-Jun-2015 Yang Ni <yangni@google.com> Merge "Check kernels before fusing"
0768d387bf665e6430d0ffa05f7f1228050047ad 20-Jun-2015 Yang Ni <yangni@google.com> Check kernels before fusing

b/21958851

Kernel fusion for a Script Group expects kernels to be chained up
via outputs (return values) and first arguments.
Check this condition during fusion. Otherwise, BCC may crash on
broken invariants.

Change-Id: I013558c77dc3f79d6e42986121927dd6c695f27e
(cherry picked from commit 8c12d615b4ed4b1d782722a125dd1d43bc44a71b)
nclude/bcc/Renderscript/RSScriptGroupFusion.h
ib/Renderscript/RSScriptGroupFusion.cpp
d71f823da33f71c7159e0cd85d6a9ffda3f09f3d 23-Jun-2015 Yang Ni <yangni@google.com> am 8c12d615: Check kernels before fusing

* commit '8c12d615b4ed4b1d782722a125dd1d43bc44a71b':
Check kernels before fusing
6126ff419bfb28e4f4a7d4d73c463eb19cb7ffc7 23-Jun-2015 David Gross <dgross@google.com> am 4c0e622e: am e4681b5d: Merge "Fix cases where RSInvariant pass might miss marking some loads as invariant."

* commit '4c0e622e99d4b32f8a4ded54f17da8ebb13dfe32':
Fix cases where RSInvariant pass might miss marking some loads as invariant.
8c12d615b4ed4b1d782722a125dd1d43bc44a71b 20-Jun-2015 Yang Ni <yangni@google.com> Check kernels before fusing

b/21958851

Kernel fusion for a Script Group expects kernels to be chained up
via outputs (return values) and first arguments.
Check this condition during fusion. Otherwise, BCC may crash on
broken invariants.

Change-Id: I013558c77dc3f79d6e42986121927dd6c695f27e
nclude/bcc/Renderscript/RSScriptGroupFusion.h
ib/Renderscript/RSScriptGroupFusion.cpp
4c0e622e99d4b32f8a4ded54f17da8ebb13dfe32 23-Jun-2015 David Gross <dgross@google.com> am e4681b5d: Merge "Fix cases where RSInvariant pass might miss marking some loads as invariant."

* commit 'e4681b5d75ecbdf8280025a009945df9daff9362':
Fix cases where RSInvariant pass might miss marking some loads as invariant.
e4681b5d75ecbdf8280025a009945df9daff9362 23-Jun-2015 David Gross <dgross@google.com> Merge "Fix cases where RSInvariant pass might miss marking some loads as invariant."
23c2bfe96698091f2886d1959435d8949f76c46b 22-Jun-2015 David Gross <dgross@google.com> Fix cases where RSInvariant pass might miss marking some loads as invariant.

llvm-rs-cc and bcc can add numeric suffixes to structure type names; we need
to tolerate this when looking for the context structure by name.

Bug: 21815112
Change-Id: If5ef169245f8d43affdc43abb2298c7015568dd0
nclude/bcc/Renderscript/RSUtils.h
ib/Renderscript/RSInvariant.cpp
4718c79d62086ad1f46f602f607f76c32fb9e887 19-Jun-2015 David Gross <dgross@google.com> am bba07fa7: am 07458deb: Merge "Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG."

* commit 'bba07fa7a27010f65ae78d7e7fafedf782f3d135':
Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG.
bba07fa7a27010f65ae78d7e7fafedf782f3d135 19-Jun-2015 David Gross <dgross@google.com> am 07458deb: Merge "Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG."

* commit '07458deb66777d206cec0b9a3c8a58e760abcb36':
Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG.
07458deb66777d206cec0b9a3c8a58e760abcb36 19-Jun-2015 David Gross <dgross@google.com> Merge "Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG."
6bc10872f547d8e573f3c119e93894846e194483 19-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am cb6c1597: Screen bitcode for non-RS functions before linking with runtime lib

* commit 'cb6c159729e7a9f2582e2758ff45e75bac5a00c0':
Screen bitcode for non-RS functions before linking with runtime lib
3c466305dc2726c807d07bbb659a8b59728ea1e7 19-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am 7a00a150: Update RSStubsWhiteList.cpp with a generated list

* commit '7a00a15005048e469911a695979c3f209dffd481':
Update RSStubsWhiteList.cpp with a generated list
cb6c159729e7a9f2582e2758ff45e75bac5a00c0 22-May-2015 Pirama Arumuga Nainar <pirama@google.com> Screen bitcode for non-RS functions before linking with runtime lib

Bug: 19425238
Bug: 20894432

Perform the screening of non-RenderScript functions in the script before
linking against the runtime lib. Previously, this used to be done after
linking with the runtime lib, LTO passes and just before code
generation.

This allows vendors to link against a different runtime library that may
not have all the functions as the CPU reference driver and add new
builtins specific to their driver.

Moreover, symbols introduced by LLVM optimizations no longer need any
special handling.

Change-Id: I5628aa15547a9d56ef7e6550fcb45e8ffa821ade
(cherry picked from commit ebff2ead4ad622ff1bd3f3c108790cead62fe7c7)
nclude/bcc/Compiler.h
ib/Core/Compiler.cpp
ib/Renderscript/RSCompilerDriver.cpp
7a00a15005048e469911a695979c3f209dffd481 15-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Update RSStubsWhiteList.cpp with a generated list

Bug: 19425238
Bug: 20894432

Use the automated mangled-name generation added in
https://android-review.googlesource.com/#/c/154754 to update libbcc's
whitelist.

Change-Id: I06ad3e1a0e71497cbd4c097a2fabec81f94ab8e2
(cherry picked from commit 1997f70e65091cfe8695324c12d2cefbfb784fd6)
ib/Renderscript/RSStubsWhiteList.cpp
ba7c82d11c4ecb80ab5964b4047ea99e478a09ad 19-Jun-2015 Jean-Luc Brouillet <jeanluc@google.com> am 11610a4f: am d7fc8037: Merge "Update RSStubsWhiteList.cpp with a generated list"

* commit '11610a4f209b236907945f6c3adb7b68881dc327':
Update RSStubsWhiteList.cpp with a generated list
d1ec178683c6145f7c02de6b68ec1f85910d7b19 19-Jun-2015 Jean-Luc Brouillet <jeanluc@google.com> am 34c24acd: am bb066cb4: Merge "Screen bitcode for non-RS functions before linking with runtime lib"

* commit '34c24acd99cc8eceae33acd22f28a8323ed42f41':
Screen bitcode for non-RS functions before linking with runtime lib
11610a4f209b236907945f6c3adb7b68881dc327 19-Jun-2015 Jean-Luc Brouillet <jeanluc@google.com> am d7fc8037: Merge "Update RSStubsWhiteList.cpp with a generated list"

* commit 'd7fc8037f075e1fa797bdf49aee4e096643981ed':
Update RSStubsWhiteList.cpp with a generated list
34c24acd99cc8eceae33acd22f28a8323ed42f41 19-Jun-2015 Jean-Luc Brouillet <jeanluc@google.com> am bb066cb4: Merge "Screen bitcode for non-RS functions before linking with runtime lib"

* commit 'bb066cb45575eabcdb5bad9d3f3bd48f3b9b6b94':
Screen bitcode for non-RS functions before linking with runtime lib
d7fc8037f075e1fa797bdf49aee4e096643981ed 19-Jun-2015 Jean-Luc Brouillet <jeanluc@google.com> Merge "Update RSStubsWhiteList.cpp with a generated list"
bb066cb45575eabcdb5bad9d3f3bd48f3b9b6b94 19-Jun-2015 Jean-Luc Brouillet <jeanluc@google.com> Merge "Screen bitcode for non-RS functions before linking with runtime lib"
d333383e447ed724fb6c8623b218f6270d34ce23 19-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am c85d1bda: am 91e62ec4: Merge "Fix check for literal types"

* commit 'c85d1bda38b13bf8b2672d7dc3fa177a25e74035':
Fix check for literal types
c85d1bda38b13bf8b2672d7dc3fa177a25e74035 19-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am 91e62ec4: Merge "Fix check for literal types"

* commit '91e62ec4a79baedfb9884d1a61be820d313eaf13':
Fix check for literal types
91e62ec4a79baedfb9884d1a61be820d313eaf13 19-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Fix check for literal types"
150eef4097c996e14b50b7f58184265385c44713 19-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Fix check for literal types

In my previous commit on "Get struct names only for non-literal structs"
I got the check for literal structs reversed. This commit fixes that.

Change-Id: I7b1b35d4ad85bdfde65a2d68fa39cf2cb8bde9cb
ib/Renderscript/RSInvariant.cpp
0ab47eb6792a7966011ed34298fb15520e9fdf7d 12-Jun-2015 David Gross <dgross@google.com> Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG.

FORCE_BUILD_LLVM_DISABLE_NDEBUG and FORCE_BUILD_LLVM_DEBUG are
environment variables analogous to FORCE_BUILD_LLVM_COMPONENTS.

FORCE_BUILD_LLVM_DISABLE_NDEBUG compiles with -D_DEBUG -UNDEBUG. This
has the effect of enabling assert() and certain internal behaviors
(e.g., various LLVM sanity checks). FORCE_BUILD_LLVM_DISABLE_NDEBUG
must be set consistently during builds of llvm, clang, libbcc, and
slang to avoid undefined behavior.

FORCE_BUILD_LLVM_DEBUG compiles host code (but not device code) with -O0 -g.

Depends on similar changes in llvm, clang, and slang.

Change-Id: Ic7cbfeb5fd97061c82a007324fb851eda2117f19
ndroid.mk
ebff2ead4ad622ff1bd3f3c108790cead62fe7c7 22-May-2015 Pirama Arumuga Nainar <pirama@google.com> Screen bitcode for non-RS functions before linking with runtime lib

Bug: 19425238
Bug: 20894432

Perform the screening of non-RenderScript functions in the script before
linking against the runtime lib. Previously, this used to be done after
linking with the runtime lib, LTO passes and just before code
generation.

This allows vendors to link against a different runtime library that may
not have all the functions as the CPU reference driver and add new
builtins specific to their driver.

Moreover, symbols introduced by LLVM optimizations no longer need any
special handling.

Change-Id: I5628aa15547a9d56ef7e6550fcb45e8ffa821ade
nclude/bcc/Compiler.h
ib/Core/Compiler.cpp
ib/Renderscript/RSCompilerDriver.cpp
1997f70e65091cfe8695324c12d2cefbfb784fd6 15-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Update RSStubsWhiteList.cpp with a generated list

Bug: 19425238
Bug: 20894432

Use the automated mangled-name generation added in
https://android-review.googlesource.com/#/c/154754 to update libbcc's
whitelist.

Change-Id: I06ad3e1a0e71497cbd4c097a2fabec81f94ab8e2
ib/Renderscript/RSStubsWhiteList.cpp
062950357721f5c190a0f4b5a77b2f73c9631514 13-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am 47c7b2f3: am 0ef3c2c1: Merge "Get struct names only for non-literal structs"

* commit '47c7b2f3fbd4e9d6ea62825e9548d3aaacc638cd':
Get struct names only for non-literal structs
47c7b2f3fbd4e9d6ea62825e9548d3aaacc638cd 13-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am 0ef3c2c1: Merge "Get struct names only for non-literal structs"

* commit '0ef3c2c1f34aa61541c0b67833821eb0adfdf198':
Get struct names only for non-literal structs
0ef3c2c1f34aa61541c0b67833821eb0adfdf198 12-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Get struct names only for non-literal structs"
e8b9f0607d59e991d984302d790b8b16e3623cc3 12-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Get struct names only for non-literal structs

Bug 19545955

While marking loads as invariant, test that a struct parameter is
not a literal struct before comparing/testing its name.

Change-Id: I92fb234b42306859ecad87c83321f9a8fe1a210b
ib/Renderscript/RSInvariant.cpp
4addf0e4c607a8bef84a6f7ce1ae7e08ff1b9281 11-Jun-2015 Matt Wala <wala@google.com> am 95ff0e9c: RSGlobalInfoPass: Fix types in global info tables

* commit '95ff0e9c382ced2aa2196a0a23c2276f280898a6':
RSGlobalInfoPass: Fix types in global info tables
95ff0e9c382ced2aa2196a0a23c2276f280898a6 10-Jun-2015 Matt Wala <wala@google.com> RSGlobalInfoPass: Fix types in global info tables

Bug: 20306487

With LLVM asserts enabled, the code that builds .rs.global_names and
.rs.global_addresses triggered an assertion because the table entries
were not void pointers.

Fix by casting the inputs appropriately.

Change-Id: I21310d8da46150dcf7590faf398d11b3b72a692b
(cherry picked from commit 721414ca0d1f1d6a1f98b5f16c5766cfa001d784)
ib/Renderscript/RSGlobalInfoPass.cpp
c81f36adb25ea2eb73b555c3e93ed3dbd2485552 10-Jun-2015 Stephen Hines <srhines@google.com> am 4e601ead: am 7848dee6: Merge "RSGlobalInfoPass: Fix types in global info tables"

* commit '4e601ead6e702766b36b7b42430f4f03f3d531c2':
RSGlobalInfoPass: Fix types in global info tables
4e601ead6e702766b36b7b42430f4f03f3d531c2 10-Jun-2015 Stephen Hines <srhines@google.com> am 7848dee6: Merge "RSGlobalInfoPass: Fix types in global info tables"

* commit '7848dee6cdc1db080ee739f78440fef6c2723354':
RSGlobalInfoPass: Fix types in global info tables
86a07a2729262669724104e1f03d9f3b9e79ef98 10-Jun-2015 Yong Chen <yong.a.chen@intel.com> am 6b43a636: X86_64: Set small CodeModel if use PIC_ relocation

* commit '6b43a636cf9918ae15ce0d1003148cc6c3f032ee':
X86_64: Set small CodeModel if use PIC_ relocation
7848dee6cdc1db080ee739f78440fef6c2723354 10-Jun-2015 Stephen Hines <srhines@google.com> Merge "RSGlobalInfoPass: Fix types in global info tables"
721414ca0d1f1d6a1f98b5f16c5766cfa001d784 10-Jun-2015 Matt Wala <wala@google.com> RSGlobalInfoPass: Fix types in global info tables

Bug: 20306487

With LLVM asserts enabled, the code that builds .rs.global_names and
.rs.global_addresses triggered an assertion because the table entries
were not void pointers.

Fix by casting the inputs appropriately.

Change-Id: I21310d8da46150dcf7590faf398d11b3b72a692b
ib/Renderscript/RSGlobalInfoPass.cpp
6b43a636cf9918ae15ce0d1003148cc6c3f032ee 08-May-2015 Yong Chen <yong.a.chen@intel.com> X86_64: Set small CodeModel if use PIC_ relocation

Change-Id: Idf0be1ae1d3ed1d0505cdeaac8023b4c7e1ccb85
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
(cherry picked from commit 166b8d08b66d7feb8262b31bc65fb297070b4700)
ib/Support/CompilerConfig.cpp
b1db6c29c3b48e0987c1654adbd0835714a169a8 08-Jun-2015 Stephen Hines <srhines@google.com> am 9a507791: am 3ce850a3: Merge "add aarch64 support for x86_64 bcc if specified"

* commit '9a5077910e89b1241b319154b5bdbd346e3c3244':
add aarch64 support for x86_64 bcc if specified
9a5077910e89b1241b319154b5bdbd346e3c3244 08-Jun-2015 Stephen Hines <srhines@google.com> am 3ce850a3: Merge "add aarch64 support for x86_64 bcc if specified"

* commit '3ce850a3ca6087215acf11a926f1c92a94c1478d':
add aarch64 support for x86_64 bcc if specified
3ce850a3ca6087215acf11a926f1c92a94c1478d 08-Jun-2015 Stephen Hines <srhines@google.com> Merge "add aarch64 support for x86_64 bcc if specified"
0ec207feeb88a81458994fb5e068797602e6e611 03-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am 8e3b7f32: bcc changes for fp16

* commit '8e3b7f32515684b2eb872acb8a716f87d8504884':
bcc changes for fp16
8e3b7f32515684b2eb872acb8a716f87d8504884 07-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> bcc changes for fp16

Bug: 7342860

Add fp16-specific attributes ("fp16" for ARM and "f16c" for x86) to the
compiler feature string. The attribute is not added on host versions of
the tools.

Change-Id: I7f0783d7228dccc5828c8d5900fceeec04b5a7c2
(cherry picked from commit 70e3dcff9f0450b13f8ccb8db3fba76653993e35)
ib/Support/CompilerConfig.cpp
84ac2b5139d6c7a6b064d6fd37d849f96064baa8 03-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am f7304ee2: am 93dba9f9: Merge "bcc changes for fp16"

* commit 'f7304ee2b4d4a19515fd5db8b2066d4a9c8d16e2':
bcc changes for fp16
f7304ee2b4d4a19515fd5db8b2066d4a9c8d16e2 03-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> am 93dba9f9: Merge "bcc changes for fp16"

* commit '93dba9f99ef7783f709a5a8056a35d1b122a4f96':
bcc changes for fp16
93dba9f99ef7783f709a5a8056a35d1b122a4f96 03-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "bcc changes for fp16"
70e3dcff9f0450b13f8ccb8db3fba76653993e35 07-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> bcc changes for fp16

Bug: 7342860

Add fp16-specific attributes ("fp16" for ARM and "f16c" for x86) to the
compiler feature string. The attribute is not added on host versions of
the tools.

Change-Id: I7f0783d7228dccc5828c8d5900fceeec04b5a7c2
ib/Support/CompilerConfig.cpp
6bae650575a05f4707240198ffa16443315831fd 30-May-2015 David Gross <dgross@google.com> am 51df0832: am 284149ec: Merge "Replace assert() with project-specific version."

* commit '51df0832b339fa2e2d7b13ed0b42df1f26d53303':
Replace assert() with project-specific version.
51df0832b339fa2e2d7b13ed0b42df1f26d53303 30-May-2015 David Gross <dgross@google.com> am 284149ec: Merge "Replace assert() with project-specific version."

* commit '284149ecc3e91659ab206d1a40de70c1b4d62739':
Replace assert() with project-specific version.
284149ecc3e91659ab206d1a40de70c1b4d62739 30-May-2015 David Gross <dgross@google.com> Merge "Replace assert() with project-specific version."
c2ca742d7d0197c52e49467862844463fb42280f 29-May-2015 David Gross <dgross@google.com> Replace assert() with project-specific version.

Our convention is to use our own form of assertion (bccAssert,
rsAssert, slangAssert) rather than C standard assertion (assert)
because the latter is disabled for the Android build process.
However, a few instances of assert() somehow made it through.

Bug 21444723

Change-Id: I6702268d452317bf0d78304f112fbfafefe3d5b9
ib/Core/Compiler.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSForEachExpand.cpp
002727cf8c656707d0d99f28902dee951e3d963b 28-May-2015 Stephen Hines <srhines@google.com> am 383508c4: am f6c347dd: Merge "X86_64: Set small CodeModel if use PIC_ relocation"

* commit '383508c465c312eb63d2c5c73cbcaa02ad4d15b2':
X86_64: Set small CodeModel if use PIC_ relocation
383508c465c312eb63d2c5c73cbcaa02ad4d15b2 28-May-2015 Stephen Hines <srhines@google.com> am f6c347dd: Merge "X86_64: Set small CodeModel if use PIC_ relocation"

* commit 'f6c347dd24566935594450e893a6eac7b3574f2f':
X86_64: Set small CodeModel if use PIC_ relocation
f6c347dd24566935594450e893a6eac7b3574f2f 28-May-2015 Stephen Hines <srhines@google.com> Merge "X86_64: Set small CodeModel if use PIC_ relocation"
166b8d08b66d7feb8262b31bc65fb297070b4700 08-May-2015 Yong Chen <yong.a.chen@intel.com> X86_64: Set small CodeModel if use PIC_ relocation

Change-Id: Idf0be1ae1d3ed1d0505cdeaac8023b4c7e1ccb85
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
ib/Support/CompilerConfig.cpp
74a8162a69870138253184ca1014b1b705f14cb6 26-May-2015 Stephen Hines <srhines@google.com> am 86acf1fb: Fix x86_64 issue with a missing "." in structure names.

* commit '86acf1fb02945f2e063da8718b6c8e3f80f18bf9':
Fix x86_64 issue with a missing "." in structure names.
86acf1fb02945f2e063da8718b6c8e3f80f18bf9 23-May-2015 Stephen Hines <srhines@google.com> Fix x86_64 issue with a missing "." in structure names.

Bug: 21375248

This patch refactors RSX86CallConvPass.cpp a little bit so that it uses
our latest utility functions for determining the Type of a given Value.
The prior implementation could miss structures that didn't have a
suffixed dot + number appended to them (i.e. struct.rs_allocation.17
worked fine, but struct.rs_allocation would go undetected). This
resulted in missing conversions for the parameter types on x86_64
compiles (and thus crashes in CTS for reference counting, etc.).

Change-Id: Ic437754399514d201d2fb69f6efb03badc5f535d
(cherry picked from commit abfa7852d33391671d972614bb21990c5f32ee2b)
nclude/bcc/Renderscript/RSUtils.h
ib/Renderscript/RSX86CallConvPass.cpp
7d9c6a4a56e8209f86f6b50cea77d28f240728d1 26-May-2015 Stephen Hines <srhines@google.com> am 3ab3efc0: am fc90fcae: Merge "Fix x86_64 issue with a missing "." in structure names."

* commit '3ab3efc06d2d286f7b0df37ab29bbfa53818c258':
Fix x86_64 issue with a missing "." in structure names.
3ab3efc06d2d286f7b0df37ab29bbfa53818c258 26-May-2015 Stephen Hines <srhines@google.com> am fc90fcae: Merge "Fix x86_64 issue with a missing "." in structure names."

* commit 'fc90fcaec42d53d2a4bfd36b8be894a4e09ce464':
Fix x86_64 issue with a missing "." in structure names.
fc90fcaec42d53d2a4bfd36b8be894a4e09ce464 26-May-2015 Stephen Hines <srhines@google.com> Merge "Fix x86_64 issue with a missing "." in structure names."
abfa7852d33391671d972614bb21990c5f32ee2b 23-May-2015 Stephen Hines <srhines@google.com> Fix x86_64 issue with a missing "." in structure names.

Bug: 21375248

This patch refactors RSX86CallConvPass.cpp a little bit so that it uses
our latest utility functions for determining the Type of a given Value.
The prior implementation could miss structures that didn't have a
suffixed dot + number appended to them (i.e. struct.rs_allocation.17
worked fine, but struct.rs_allocation would go undetected). This
resulted in missing conversions for the parameter types on x86_64
compiles (and thus crashes in CTS for reference counting, etc.).

Change-Id: Ic437754399514d201d2fb69f6efb03badc5f535d
nclude/bcc/Renderscript/RSUtils.h
ib/Renderscript/RSX86CallConvPass.cpp
2717db9993f44aa0196fc792df03bbfbfd21cca4 23-May-2015 Stephen Hines <srhines@google.com> am e6795bc2: Provide additional information about global variables.

* commit 'e6795bc257fae07bb8fbf2759bde9332b60a7f78':
Provide additional information about global variables.
e6795bc257fae07bb8fbf2759bde9332b60a7f78 19-May-2015 Stephen Hines <srhines@google.com> Provide additional information about global variables.

Bug: 20306487

This patch extends our global information pass to include details about the
type of a global variable, whether or not it is static, constant, or a
pointer. It also refactors code that deals with conversion between
RenderScript's internal data types and LLVM's type system. A subtle bug
has also been fixed with respect to the RSInvokeHelperPass. The previous
version could ignore an rs_* object that did not have a numeric suffix.
The new helper function properly addresses cases like this.

Change-Id: If9c933a885bf6a9063b7edec3f0873e1b144188d
(cherry picked from commit fb81ec1a875d13d9750006313b9123903336101d)
cinfo/Android.mk
cinfo/MetadataExtractor.cpp
nclude/bcc/Renderscript/RSUtils.h
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSInvokeHelperPass.cpp
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
274dc92bd680847fb88c61815d18dd0ebe12b6a3 23-May-2015 Stephen Hines <srhines@google.com> am 9ec2c105: am d6dba609: Merge "Provide additional information about global variables."

* commit '9ec2c105540b0d26ff90284866fa49c3c8e6d7a8':
Provide additional information about global variables.
9ec2c105540b0d26ff90284866fa49c3c8e6d7a8 23-May-2015 Stephen Hines <srhines@google.com> am d6dba609: Merge "Provide additional information about global variables."

* commit 'd6dba60912f3eb9b6257ebe97daf63d4600fbb51':
Provide additional information about global variables.
d6dba60912f3eb9b6257ebe97daf63d4600fbb51 23-May-2015 Stephen Hines <srhines@google.com> Merge "Provide additional information about global variables."
fb81ec1a875d13d9750006313b9123903336101d 19-May-2015 Stephen Hines <srhines@google.com> Provide additional information about global variables.

Bug: 20306487

This patch extends our global information pass to include details about the
type of a global variable, whether or not it is static, constant, or a
pointer. It also refactors code that deals with conversion between
RenderScript's internal data types and LLVM's type system. A subtle bug
has also been fixed with respect to the RSInvokeHelperPass. The previous
version could ignore an rs_* object that did not have a numeric suffix.
The new helper function properly addresses cases like this.

Change-Id: If9c933a885bf6a9063b7edec3f0873e1b144188d
cinfo/Android.mk
cinfo/MetadataExtractor.cpp
nclude/bcc/Renderscript/RSUtils.h
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSInvokeHelperPass.cpp
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
3d64c43a371cd1ec4fd9db19ae3205a43901ea4d 22-May-2015 Pirama Arumuga Nainar <pirama@google.com> am ddb0d3d8: am b23dd6fc: Merge "Add missing functions to RenderScript whitelist"

* commit 'ddb0d3d8cf244b31e9b7269e6005e65905239364':
Add missing functions to RenderScript whitelist
ddb0d3d8cf244b31e9b7269e6005e65905239364 22-May-2015 Pirama Arumuga Nainar <pirama@google.com> am b23dd6fc: Merge "Add missing functions to RenderScript whitelist"

* commit 'b23dd6fc362a88c20f4e783eb122884be2e7cb75':
Add missing functions to RenderScript whitelist
b23dd6fc362a88c20f4e783eb122884be2e7cb75 22-May-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Add missing functions to RenderScript whitelist"
53e1f4f8f2a4a2c39ee3080647fba99a8a81302f 22-May-2015 David Gross <dgross@google.com> am 378456d0: am baae283c: Merge "Sanitize Module\'s target information."

* commit '378456d06863c0f78977c757c9d82b890438f394':
Sanitize Module's target information.
378456d06863c0f78977c757c9d82b890438f394 22-May-2015 David Gross <dgross@google.com> am baae283c: Merge "Sanitize Module\'s target information."

* commit 'baae283c4d8cbcf76f1a937259085898e7d03cf0':
Sanitize Module's target information.
baae283c4d8cbcf76f1a937259085898e7d03cf0 22-May-2015 David Gross <dgross@google.com> Merge "Sanitize Module's target information."
9503a5a087fc6021813d6b3ae5f22acffdd3d6b1 21-May-2015 Pirama Arumuga Nainar <pirama@google.com> Add missing functions to RenderScript whitelist

bug 20894432

Some functions can be present in our compiled module because they
are absent from vendor-specific RS runtime libraries. These functions
need to be added to our whitelist so bcc doesn't report them as errors.

Change-Id: I98e8bbac9f111f81fcf5cf99a859feebc708e309
ib/Renderscript/RSStubsWhiteList.cpp
65a98e97378592ff28c509a652ebc31e923027ea 21-May-2015 Pirama Arumuga Nainar <pirama@google.com> am ec02944d: Add missing functions to RenderScript whitelist

* commit 'ec02944d8ff00a537fe5c07c58ddb137c2d5f002':
Add missing functions to RenderScript whitelist
ec02944d8ff00a537fe5c07c58ddb137c2d5f002 21-May-2015 Pirama Arumuga Nainar <pirama@google.com> Add missing functions to RenderScript whitelist

bug 20894432

Some functions can be present in our compiled module because they
are absent from vendor-specific RS runtime libraries. These functions
need to be added to our whitelist so bcc doesn't report them as errors.

Change-Id: I98e8bbac9f111f81fcf5cf99a859feebc708e309
ib/Renderscript/RSStubsWhiteList.cpp
cf8b2d0d2fcd7acf9769b3e1f26ac6e3a0a9b6e7 19-May-2015 David Gross <dgross@google.com> Sanitize Module's target information.

We have always used a command line specified triple when instantiating
TargetMachine, rather than the triple from the Module. Now sanitize
the Module by installing this same triple in the Module, and installing
the TargetMachine's data layout in the Module; this way, the Module and
the TargetMachine will be consistent.

Change-Id: I07480ba2c6effbabe15f72755d9d5792ed494fb0
ib/Core/Compiler.cpp
65c54c6e82c27184cbfd92fc2624d93d0e770d44 20-May-2015 Pirama Arumuga Nainar <pirama@google.com> am bc656681: Update libbcc for rebase to LLVM r235153

* commit 'bc656681ba7ce2a6eae3aded74f632fa2bd103d0':
Update libbcc for rebase to LLVM r235153
bc656681ba7ce2a6eae3aded74f632fa2bd103d0 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for rebase to LLVM r235153

Some changes related to GEP may impact us in the future:
- GEP constructors take an additional argument - the pointee type of the
resulting pointer. Update bitcode readers accordingly. They take
nullptr for now. This behavior should be retained at least for 3.x.
- Likewise, CreateStructGEP and CreateConstInBoundsGEP2_32 need the
pointee type argument. Passing nullptr for the extra argument for
now. According to commit message in r233938, passing nullptr may not
work in the future. Unlike the BitcodeReaders, we can pass the right
pointee type here. b/20886457 is created to track this issue.

Change-Id: I2450da1c36470fb9defd387d74360480c3e4bd2f
(cherry picked from commit 98137cca7eebca946b869b010fef2821c9bf4971)
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
nclude/bcc/Compiler.h
ib/Core/Compiler.cpp
ib/Renderscript/RSForEachExpand.cpp
66ead5b1b81452e85855a91e8a5557f98be68b29 15-May-2015 Stephen Hines <srhines@google.com> am e7c27f5c: Remove stale TODOs from Android.mk files.

* commit 'e7c27f5c73f92bcf95da9432b27f8670768022e0':
Remove stale TODOs from Android.mk files.
e7c27f5c73f92bcf95da9432b27f8670768022e0 13-May-2015 Stephen Hines <srhines@google.com> Remove stale TODOs from Android.mk files.

Change-Id: Ic2f07c5a62322be752a34c1bde8fc116d057bf1a
(cherry picked from commit 578f35e6e76b1beb5bd252c876446b70afe5202c)
ndroid.mk
cinfo/Android.mk
ibbcc-device-build.mk
aff554c0d577c4fd4effdc4ae3c08cfa341e5d0e 15-May-2015 Pirama Arumuga Nainar <pirama@google.com> am 8a693ac9: am e57fde54: Merge "Update libbcc for rebase to LLVM r235153"

* commit '8a693ac9a3bbd9f8d66c04fa7853fe367700a0d6':
Update libbcc for rebase to LLVM r235153
8a693ac9a3bbd9f8d66c04fa7853fe367700a0d6 15-May-2015 Pirama Arumuga Nainar <pirama@google.com> am e57fde54: Merge "Update libbcc for rebase to LLVM r235153"

* commit 'e57fde54a4145a85439545f79bd8747682f86ded':
Update libbcc for rebase to LLVM r235153
e57fde54a4145a85439545f79bd8747682f86ded 15-May-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Update libbcc for rebase to LLVM r235153"
98137cca7eebca946b869b010fef2821c9bf4971 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for rebase to LLVM r235153

Some changes related to GEP may impact us in the future:
- GEP constructors take an additional argument - the pointee type of the
resulting pointer. Update bitcode readers accordingly. They take
nullptr for now. This behavior should be retained at least for 3.x.
- Likewise, CreateStructGEP and CreateConstInBoundsGEP2_32 need the
pointee type argument. Passing nullptr for the extra argument for
now. According to commit message in r233938, passing nullptr may not
work in the future. Unlike the BitcodeReaders, we can pass the right
pointee type here. b/20886457 is created to track this issue.

Change-Id: I2450da1c36470fb9defd387d74360480c3e4bd2f
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
nclude/bcc/Compiler.h
ib/Core/Compiler.cpp
ib/Renderscript/RSForEachExpand.cpp
4c565655559321809cd2eab046d0a686fc9dbdf7 14-May-2015 Stephen Hines <srhines@google.com> am f78b2b53: am 57d68b41: Merge "Remove stale TODOs from Android.mk files."

* commit 'f78b2b5391f79c0e0b71ecb636e158b60b128bc1':
Remove stale TODOs from Android.mk files.
f78b2b5391f79c0e0b71ecb636e158b60b128bc1 14-May-2015 Stephen Hines <srhines@google.com> am 57d68b41: Merge "Remove stale TODOs from Android.mk files."

* commit '57d68b416e4444fbbde27ce61c432c5bb57c7ee9':
Remove stale TODOs from Android.mk files.
57d68b416e4444fbbde27ce61c432c5bb57c7ee9 14-May-2015 Stephen Hines <srhines@google.com> Merge "Remove stale TODOs from Android.mk files."
578f35e6e76b1beb5bd252c876446b70afe5202c 13-May-2015 Stephen Hines <srhines@google.com> Remove stale TODOs from Android.mk files.

Change-Id: Ic2f07c5a62322be752a34c1bde8fc116d057bf1a
ndroid.mk
cinfo/Android.mk
ibbcc-device-build.mk
1cc2912624614af9d30c2a7075a8a84151e96587 11-May-2015 Stephen Hines <srhines@google.com> am e67dab47: Provide a pass that creates information about global variables in RS.

* commit 'e67dab471c82c8df1cf73b2fe464792c78082616':
Provide a pass that creates information about global variables in RS.
a90e6b2624a9285c9f8826578ad856ebb921c8b1 11-May-2015 Jason Sams <jsams@google.com> am 16b80db1: am 43aebf9c: Merge "Provide a pass that creates information about global variables in RS."

* commit '16b80db17dca5791c319d92a391a7d0bd65fd40d':
Provide a pass that creates information about global variables in RS.
16b80db17dca5791c319d92a391a7d0bd65fd40d 11-May-2015 Jason Sams <jsams@google.com> am 43aebf9c: Merge "Provide a pass that creates information about global variables in RS."

* commit '43aebf9cc193cab94f6e3161c71d04a122e3175e':
Provide a pass that creates information about global variables in RS.
e67dab471c82c8df1cf73b2fe464792c78082616 17-Apr-2015 Stephen Hines <srhines@google.com> Provide a pass that creates information about global variables in RS.

Bug: 20306487

This change implements RSGlobalInfoPass, which is an optional LLVM pass that
adds several new global variables to a given Module. These variables contain
information about the other RenderScript global variables that are present.

Change-Id: I671013c11c7a528254edad5c66f2858953c0f5c4
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSScript.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSScript.cpp
ools/bcc/Main.cpp
43aebf9cc193cab94f6e3161c71d04a122e3175e 11-May-2015 Jason Sams <jsams@google.com> Merge "Provide a pass that creates information about global variables in RS."
750ee65e129a2baef2dc5bb9ad210b45c9184926 17-Apr-2015 Stephen Hines <srhines@google.com> Provide a pass that creates information about global variables in RS.

Bug: 20306487

This change implements RSGlobalInfoPass, which is an optional LLVM pass that
adds several new global variables to a given Module. These variables contain
information about the other RenderScript global variables that are present.

Change-Id: I671013c11c7a528254edad5c66f2858953c0f5c4
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSScript.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSGlobalInfoPass.cpp
ib/Renderscript/RSScript.cpp
ools/bcc/Main.cpp
c0c73b9983ee06201427593a66b25fbfc147e3d8 01-May-2015 Stephen Hines <srhines@google.com> am a108bc5e: Make better use of getStringOperand() for MetadataExtractor.

* commit 'a108bc5ec0ca0cb48c72492d54a71126bccfa7d6':
Make better use of getStringOperand() for MetadataExtractor.
a108bc5ec0ca0cb48c72492d54a71126bccfa7d6 15-Apr-2015 Stephen Hines <srhines@google.com> Make better use of getStringOperand() for MetadataExtractor.

This change also cleans up some of the code from a prior rebase.
It also captures two additional broken metadata cases (from corrupt
object slot and/or pragma metadata).

Change-Id: I61e161d2b0e211349683e36160d564493d802a12
cinfo/MetadataExtractor.cpp
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
ib/Support/Initialization.cpp
d83b7ab92c9f65e92cd320f483b403f7cfaf17c4 28-Apr-2015 Stephen Hines <srhines@google.com> am f9962b61: am effeec40: Merge "Make better use of getStringOperand() for MetadataExtractor."

* commit 'f9962b61e699ee8fd349ce56a6bad05a0961667c':
Make better use of getStringOperand() for MetadataExtractor.
f9962b61e699ee8fd349ce56a6bad05a0961667c 28-Apr-2015 Stephen Hines <srhines@google.com> am effeec40: Merge "Make better use of getStringOperand() for MetadataExtractor."

* commit 'effeec40e6f2393629c7762d09f68888bc4add1e':
Make better use of getStringOperand() for MetadataExtractor.
effeec40e6f2393629c7762d09f68888bc4add1e 28-Apr-2015 Stephen Hines <srhines@google.com> Merge "Make better use of getStringOperand() for MetadataExtractor."
66400b56384e897cb6792e1b1a78b9ee56e0ed31 24-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am 42f42a05: am 6a514e37: am 8b3963d5: Merge "Explicitly set x86 SSE feature for bcc_compat"

* commit '42f42a05306068d6192b4f00259d89d7b417c522':
Explicitly set x86 SSE feature for bcc_compat
42f42a05306068d6192b4f00259d89d7b417c522 24-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am 6a514e37: am 8b3963d5: Merge "Explicitly set x86 SSE feature for bcc_compat"

* commit '6a514e370eef2600e63684dd2d97b65208ccb259':
Explicitly set x86 SSE feature for bcc_compat
6a514e370eef2600e63684dd2d97b65208ccb259 24-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am 8b3963d5: Merge "Explicitly set x86 SSE feature for bcc_compat"

* commit '8b3963d58c7748ea7df870f31a80c88336bdb1df':
Explicitly set x86 SSE feature for bcc_compat
8b3963d58c7748ea7df870f31a80c88336bdb1df 24-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Explicitly set x86 SSE feature for bcc_compat"
e1c7d298e3e38ffff294ce57c37ab43827a67ee5 15-Apr-2015 Stephen Hines <srhines@google.com> Make better use of getStringOperand() for MetadataExtractor.

This change also cleans up some of the code from a prior rebase.
It also captures two additional broken metadata cases (from corrupt
object slot and/or pragma metadata).

Change-Id: I61e161d2b0e211349683e36160d564493d802a12
cinfo/MetadataExtractor.cpp
ib/Core/Compiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
ib/Support/Initialization.cpp
3f57467424264d6f1aa784fb911d7d3ac1861009 15-Apr-2015 Yang Ni <yangni@google.com> am 83011d07: am 51cd0298: am 65fb05fe: Merge "Embed a real chesksum in script group .so"

* commit '83011d07649b7a720ef3fac9d61bcac02b3868ee':
Embed a real chesksum in script group .so
83011d07649b7a720ef3fac9d61bcac02b3868ee 15-Apr-2015 Yang Ni <yangni@google.com> am 51cd0298: am 65fb05fe: Merge "Embed a real chesksum in script group .so"

* commit '51cd0298effe402264c07bb4c5f8c09a5baa157e':
Embed a real chesksum in script group .so
51cd0298effe402264c07bb4c5f8c09a5baa157e 15-Apr-2015 Yang Ni <yangni@google.com> am 65fb05fe: Merge "Embed a real chesksum in script group .so"

* commit '65fb05fec8ddb25b4e32dbb2e1fabda771749fb7':
Embed a real chesksum in script group .so
65fb05fec8ddb25b4e32dbb2e1fabda771749fb7 15-Apr-2015 Yang Ni <yangni@google.com> Merge "Embed a real chesksum in script group .so"
d249de3fe2de53e020f3a14424b76ea3dfb5be7c 14-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am 6e3405bf: am aa6cea0c: am 9dc65461: Merge "Undo AArch64 pass-by-pointer for X86-64"

* commit '6e3405bf9f721df5688bef1cbed63745bad2c81e':
Undo AArch64 pass-by-pointer for X86-64
6e3405bf9f721df5688bef1cbed63745bad2c81e 14-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am aa6cea0c: am 9dc65461: Merge "Undo AArch64 pass-by-pointer for X86-64"

* commit 'aa6cea0ceb8ddafd11f328037855cca0f3eb3d0e':
Undo AArch64 pass-by-pointer for X86-64
aa6cea0ceb8ddafd11f328037855cca0f3eb3d0e 14-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am 9dc65461: Merge "Undo AArch64 pass-by-pointer for X86-64"

* commit '9dc65461b4641bfb6bcfa8557922bfd0aabce308':
Undo AArch64 pass-by-pointer for X86-64
9dc65461b4641bfb6bcfa8557922bfd0aabce308 14-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Undo AArch64 pass-by-pointer for X86-64"
8c24f8d1d75b619130e8bfce204ed9695362d4a1 17-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> Undo AArch64 pass-by-pointer for X86-64

bug 19779488

AArch64's calling convention passes large objects by pointer/reference.
Consequently, RS functions exported in the driver need special handling
for x86-64. This patch creates a new pass to libbcc that identifies
pointer arguments created due to the AArch64 convention and marks them
as pass-by-value.

Change-Id: I2e24edd9704e843b118f4c445cfd92f61f9de909
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSX86CallConvPass.cpp
683b1c92de0bff67df2b01b54f7f89a7920f82c0 10-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am ea51f4ab: am 5687cdd0: am 60b76aa2: Merge "Update libbcc for LLVM rebase to r233350."

* commit 'ea51f4aba14c765313511d1a5547fbf50afb5fe9':
Update libbcc for LLVM rebase to r233350.
ea51f4aba14c765313511d1a5547fbf50afb5fe9 10-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am 5687cdd0: am 60b76aa2: Merge "Update libbcc for LLVM rebase to r233350."

* commit '5687cdd0e1142dab5248678758e1b0ec54bbf4f6':
Update libbcc for LLVM rebase to r233350.
5687cdd0e1142dab5248678758e1b0ec54bbf4f6 10-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> am 60b76aa2: Merge "Update libbcc for LLVM rebase to r233350."

* commit '60b76aa2d6161b36f30b6042cc54a70c41b9798c':
Update libbcc for LLVM rebase to r233350.
60b76aa2d6161b36f30b6042cc54a70c41b9798c 10-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Update libbcc for LLVM rebase to r233350."
de24241f06ed4bb3a81d68bbe61bd4669d8faa88 10-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> am 57b23820: am b5856a4e: am 0a3df652: Merge "Remove obsolete entry points."

* commit '57b2382044ddbfd9c4548a5be7218ff39f5d722d':
Remove obsolete entry points.
57b2382044ddbfd9c4548a5be7218ff39f5d722d 10-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> am b5856a4e: am 0a3df652: Merge "Remove obsolete entry points."

* commit 'b5856a4ecd3ad70ad26082b2476c3dc6bb48dc87':
Remove obsolete entry points.
b5856a4ecd3ad70ad26082b2476c3dc6bb48dc87 10-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> am 0a3df652: Merge "Remove obsolete entry points."

* commit '0a3df6528dfba4f417582d51b52f34946dee3f3f':
Remove obsolete entry points.
0a3df6528dfba4f417582d51b52f34946dee3f3f 10-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove obsolete entry points."
a8adba16f2d9c91568598b0244840a2a1056b10a 09-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Remove obsolete entry points.

Change-Id: I79c9f94dc4d5e8f498222b3d5a490f0ba4b63ba3
ib/Renderscript/RSStubsWhiteList.cpp
9689d5762afee3a0a7b50dc07f93297d50850e34 09-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> am e3e3ae76: am 4acc18fe: am 27269745: Merge "Remove the rs_path APIs from the white list."

* commit 'e3e3ae766d3ff76ed4eda982ac9a66facd24527d':
Remove the rs_path APIs from the white list.
e3e3ae766d3ff76ed4eda982ac9a66facd24527d 09-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> am 4acc18fe: am 27269745: Merge "Remove the rs_path APIs from the white list."

* commit '4acc18fe8affaaa7f81aaf845d54496c68e498ff':
Remove the rs_path APIs from the white list.
4acc18fe8affaaa7f81aaf845d54496c68e498ff 09-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> am 27269745: Merge "Remove the rs_path APIs from the white list."

* commit '27269745e81bb4a0cf8693f11c70f0c693b295ca':
Remove the rs_path APIs from the white list.
27269745e81bb4a0cf8693f11c70f0c693b295ca 09-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove the rs_path APIs from the white list."
186d2f34573eb20de197d8eb8e08bcadd031a9bd 07-Apr-2015 Yang Ni <yangni@google.com> Embed a real chesksum in script group .so

Change-Id: Icf2f37867692f94e344a292fa15f8b85e0fc30a5
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc/Main.cpp
5cb1f3949c5bdd43c84647920d147a6b8509e256 07-Apr-2015 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r233350.

- Remove direct calls/use of DataLayoutPass.
- Move BitcodeReader.h (declarations) into BitcodeReader.cpp files.
- Fix typed/untyped GEP.
- Add empty materializeMetadata(), since we don't defer it ever.
- Fix longstanding (but insconsequential) difference between
bitc::CST_CODE_INLINEASM and bitc::CST_CODE_INLINEASM_OLD.

Change-Id: I135e494beea2f5992db1cb5c038d52cced991e72
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
nclude/bcc/Compiler.h
ib/Core/Compiler.cpp
6a91ad088cd8499ef52eb12ef47cf968c8035e59 08-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Remove the rs_path APIs from the white list.

CL/141547 and CL/144668 removed rs_path but had not touched this file.

Change-Id: Ic5d6324fa4d1377728bad7e1f89fde2eb7962847
ib/Renderscript/RSStubsWhiteList.cpp
9b319726b5d3a47a559c55f9f02967cc9abfdd4d 06-Apr-2015 Yang Ni <yangni@google.com> am d1a72310: am b99a74c1: am fa0c1b9d: Merge "Make kernel fusion check OptEmitLLVM option"

* commit 'd1a7231030d509b63fbf449dadb01790a80164a4':
Make kernel fusion check OptEmitLLVM option
d1a7231030d509b63fbf449dadb01790a80164a4 06-Apr-2015 Yang Ni <yangni@google.com> am b99a74c1: am fa0c1b9d: Merge "Make kernel fusion check OptEmitLLVM option"

* commit 'b99a74c11db125ab9bc1abb6c27d9fbaca46db71':
Make kernel fusion check OptEmitLLVM option
b99a74c11db125ab9bc1abb6c27d9fbaca46db71 06-Apr-2015 Yang Ni <yangni@google.com> am fa0c1b9d: Merge "Make kernel fusion check OptEmitLLVM option"

* commit 'fa0c1b9d9f2d6876f0f37049e2ea59abc7a217ae':
Make kernel fusion check OptEmitLLVM option
fa0c1b9d9f2d6876f0f37049e2ea59abc7a217ae 06-Apr-2015 Yang Ni <yangni@google.com> Merge "Make kernel fusion check OptEmitLLVM option"
6b6fb446fb8ae5a293bf38267bd4be66be8759ef 06-Apr-2015 Yang Ni <yangni@google.com> Make kernel fusion check OptEmitLLVM option

b/19695899

So that it does not always emit llvm IR sources every time bcc is
invoked to fuse kernels for a script group.

Change-Id: I6318a95c0571c12bf8f8dc493246e91dbed725e0
ools/bcc/Main.cpp
bdd435dc95a0fe7a5d04e03ba33050a53cf1d7d0 06-Apr-2015 Stephen Hines <srhines@google.com> am af28abef: am 38370b30: am ad2b048f: Merge "Fix TBAA by using an additional distinct node for swapping."

* commit 'af28abef842f1f3874f78ebc5fd2ed9eff446f20':
Fix TBAA by using an additional distinct node for swapping.
af28abef842f1f3874f78ebc5fd2ed9eff446f20 06-Apr-2015 Stephen Hines <srhines@google.com> am 38370b30: am ad2b048f: Merge "Fix TBAA by using an additional distinct node for swapping."

* commit '38370b30e936b4a81dd8050e2fca51986c0788b0':
Fix TBAA by using an additional distinct node for swapping.
38370b30e936b4a81dd8050e2fca51986c0788b0 06-Apr-2015 Stephen Hines <srhines@google.com> am ad2b048f: Merge "Fix TBAA by using an additional distinct node for swapping."

* commit 'ad2b048f60e7fa9b5f7a8fc41c054297bcbf518c':
Fix TBAA by using an additional distinct node for swapping.
ad2b048f60e7fa9b5f7a8fc41c054297bcbf518c 06-Apr-2015 Stephen Hines <srhines@google.com> Merge "Fix TBAA by using an additional distinct node for swapping."
354d1c132ad7e1ff6fdb0da95443245848a0601f 04-Apr-2015 Stephen Hines <srhines@google.com> Fix TBAA by using an additional distinct node for swapping.

Bug: 20069947

We now create a distinct TBAA root node, so that we can easily swap the rest
of the RenderScript TBAA subtree into the simple C/C++ TBAA tree. This change
also reenables TBAA for RenderScript, which was disabled during the most recent
LLVM rebase. RAUW is only applicable to ReplaceableMetadata, which general
MDNodes (like those constructed for TBAA) are not. Fortunately,
replaceOperandWith() can be used for MDNodes with existing operands, which is
why we need to add an additional layer to the hierarchy.

Change-Id: I9f0def0eb109099f12e5292bc1f3a6deafd4aad9
ib/Renderscript/RSForEachExpand.cpp
6fc616426a5f0cbc5af5049be12882224ab5d295 04-Apr-2015 Stephen Hines <srhines@google.com> am 348848f3: am 31714d77: am dcb5110a: Merge "Add MetadataExtractor::getTargetAPI()."

* commit '348848f385b3cc4a96578ebfcf1918de58dcd771':
Add MetadataExtractor::getTargetAPI().
348848f385b3cc4a96578ebfcf1918de58dcd771 04-Apr-2015 Stephen Hines <srhines@google.com> am 31714d77: am dcb5110a: Merge "Add MetadataExtractor::getTargetAPI()."

* commit '31714d777f0d7cc293e6e99a28b48590f729dc24':
Add MetadataExtractor::getTargetAPI().
31714d777f0d7cc293e6e99a28b48590f729dc24 04-Apr-2015 Stephen Hines <srhines@google.com> am dcb5110a: Merge "Add MetadataExtractor::getTargetAPI()."

* commit 'dcb5110a9fe6a2e07f31b375d3bd1006997bace0':
Add MetadataExtractor::getTargetAPI().
dcb5110a9fe6a2e07f31b375d3bd1006997bace0 04-Apr-2015 Stephen Hines <srhines@google.com> Merge "Add MetadataExtractor::getTargetAPI()."
0947923cf0ae67d85e068877bd13aa4a6c9d6dd4 02-Apr-2015 Stephen Hines <srhines@google.com> Add MetadataExtractor::getTargetAPI().

This information was previously only available to the wrapper/translator,
but would also be useful to provide to the driver/runtime.

Change-Id: Ia3f1331730b526488632d05091917d1540be125d
cinfo/MetadataExtractor.cpp
nclude/bcinfo/MetadataExtractor.h
ce44e12c2bce7eb3ad448f106585c1a3dfef5998 02-Apr-2015 Stephen Hines <srhines@google.com> am 17be4909: am c833952f: am 00695e27: Merge "Update libbcc for LLVM rebase to r230699."

* commit '17be490900523054b9d0c9ba9f9ea5d8af8027c7':
Update libbcc for LLVM rebase to r230699.
17be490900523054b9d0c9ba9f9ea5d8af8027c7 01-Apr-2015 Stephen Hines <srhines@google.com> am c833952f: am 00695e27: Merge "Update libbcc for LLVM rebase to r230699."

* commit 'c833952f5af66f5ce7092a89698cae69c2066ca8':
Update libbcc for LLVM rebase to r230699.
c833952f5af66f5ce7092a89698cae69c2066ca8 01-Apr-2015 Stephen Hines <srhines@google.com> am 00695e27: Merge "Update libbcc for LLVM rebase to r230699."

* commit '00695e270ea2dc8b5372a039db2b407696e97b7d':
Update libbcc for LLVM rebase to r230699.
00695e270ea2dc8b5372a039db2b407696e97b7d 01-Apr-2015 Stephen Hines <srhines@google.com> Merge "Update libbcc for LLVM rebase to r230699."
1bd9f627fa0affb457507e86b0b6684c695fe726 18-Mar-2015 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r230699.

Change-Id: If6717d2df5cc74e7daa493a4be7ac891f8e4928f
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_2_7/BitReader_2_7.h
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
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/MetadataExtractor.cpp
nclude/bcc/Compiler.h
ib/Core/Android.mk
ib/Core/Compiler.cpp
ib/Renderscript/RSForEachExpand.cpp
ib/Support/Initialization.cpp
ools/bcc_strip_attr/bcc_strip_attr.cpp
efb54d498c75bb942eed0575168a7974c8858c15 30-Mar-2015 Tim Murray <timmurray@google.com> am fc06eb8d: am aa24c121: am be42b8a2: Merge "Add bitcast to invoke helper pass."

* commit 'fc06eb8d816fa3f8603f9305a043092aa378aca7':
Add bitcast to invoke helper pass.
fc06eb8d816fa3f8603f9305a043092aa378aca7 30-Mar-2015 Tim Murray <timmurray@google.com> am aa24c121: am be42b8a2: Merge "Add bitcast to invoke helper pass."

* commit 'aa24c12128e980bfe5b20837ad5a03045d26069d':
Add bitcast to invoke helper pass.
aa24c12128e980bfe5b20837ad5a03045d26069d 30-Mar-2015 Tim Murray <timmurray@google.com> am be42b8a2: Merge "Add bitcast to invoke helper pass."

* commit 'be42b8a2ef3e5bb7603b974f32dc25caba1bc716':
Add bitcast to invoke helper pass.
be42b8a2ef3e5bb7603b974f32dc25caba1bc716 30-Mar-2015 Tim Murray <timmurray@google.com> Merge "Add bitcast to invoke helper pass."
4100e8e25a51279b7586f5678a141fd85e33413f 30-Mar-2015 Tim Murray <timmurray@google.com> Add bitcast to invoke helper pass.

Change-Id: I53ddd68d62f09f83832d844d64e7d3da196863f5
ib/Renderscript/RSInvokeHelperPass.cpp
32e8068b311574a3085e7bc662daa18c1f2f285e 25-Mar-2015 Yong Chen <yong.a.chen@intel.com> Explicitly set x86 SSE feature for bcc_compat

Change-Id: I1a6c8d3de59bdbd61d7824cda2bb8b8651f083cb
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
ools/bcc_compat/Main.cpp
dce82504aff82ee7afdc68abf0ebff6c89bfa08f 26-Mar-2015 David Gross <dgross@google.com> am dd766469: am 53a1b4f1: am ff7b1d46: Merge "Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant."

* commit 'dd76646993c4d8adbbc89edde3af93aa81d9ee17':
Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant.
dd76646993c4d8adbbc89edde3af93aa81d9ee17 26-Mar-2015 David Gross <dgross@google.com> am 53a1b4f1: am ff7b1d46: Merge "Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant."

* commit '53a1b4f17a4b324085479603403a194653e92a66':
Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant.
53a1b4f17a4b324085479603403a194653e92a66 26-Mar-2015 David Gross <dgross@google.com> am ff7b1d46: Merge "Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant."

* commit 'ff7b1d467648aea6e771f78abcd7c5082827944f':
Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant.
ff7b1d467648aea6e771f78abcd7c5082827944f 26-Mar-2015 David Gross <dgross@google.com> Merge "Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant."
1d93a190e62ec1588b4724ca8759216b2d0b76d7 25-Mar-2015 David Gross <dgross@google.com> Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant.

This allows more-aggressive optimization of foreachexp-generated code and of the
rsGet*(rs_kernel_context) API functions. In particular, it facilitates LICM of
Loads out of the wrapper loop in a .expand function.

Bug: 18964628
Change-Id: I77a87b325724ca08c4a04f5a46f316be78a5e0fd
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSInvariant.cpp
33246e6279dcd72fde54c2665912fddeaba11fa2 25-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am e908771c: am 5e257c56: am 35b02efa: Merge "Include missing header"

* commit 'e908771c3a5c7c89177f12d9fb278504c797c64e':
Include missing header
f33bf1fdd121a86a1114cadb2581a7c9bee15236 25-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am e06770f8: am 72578350: am 0171a6f1: Merge "Remove RSInfo"

* commit 'e06770f8b42cca5b3ca80415f421006256a64311':
Remove RSInfo
e908771c3a5c7c89177f12d9fb278504c797c64e 25-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am 5e257c56: am 35b02efa: Merge "Include missing header"

* commit '5e257c56185874a56bd6b2ac9c54423ca587d288':
Include missing header
5e257c56185874a56bd6b2ac9c54423ca587d288 25-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am 35b02efa: Merge "Include missing header"

* commit '35b02efaf73f024527c7962b209c5169c4dbf8d4':
Include missing header
35b02efaf73f024527c7962b209c5169c4dbf8d4 25-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Include missing header"
552537979f312f62488eee9e45b2f78678eafbea 25-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> Include missing header

Fix build breakage in win_sdk.

Change-Id: I21b80b6354e337ba933ef76e8a238c4edeae2123
nclude/bcc/Renderscript/RSCompilerDriver.h
e06770f8b42cca5b3ca80415f421006256a64311 24-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am 72578350: am 0171a6f1: Merge "Remove RSInfo"

* commit '72578350ef7eca1c0b89f5841938b19c8a7c148c':
Remove RSInfo
72578350ef7eca1c0b89f5841938b19c8a7c148c 24-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am 0171a6f1: Merge "Remove RSInfo"

* commit '0171a6f1ed155806c71ff682a489984758442a80':
Remove RSInfo
0171a6f1ed155806c71ff682a489984758442a80 24-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove RSInfo"
a65fba6fd15b14d930809e64c84fb976a893d038 19-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> Remove RSInfo

bug 19602994

RSInfo is no longer used. Script-specific information is now passed via
.rs.info variable in the object file. This patch removes RSInfo and the
old caching path which was closely tied to RSInfo.

Change-Id: Icb62ed848d1a262dd13d5c49652d034fcd0bb943
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSInfo.h
nclude/bcc/Renderscript/RSScript.h
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/RSInfoReader.cpp
ib/Renderscript/RSInfoWriter.cpp
ib/Renderscript/RSScript.cpp
ib/Support/Android.mk
ib/Support/Sha1Util.cpp
ib/Support/sha1.c
ools/bcc/Main.cpp
fd091d999da429f653aa3471dfa44e457c2b8bfc 16-Mar-2015 David Gross <dgross@google.com> am a45e9400: am b12dfd74: am 4a9d40ee: Merge "Expect RsExpandKernelDriverInfo not RsExpandKernelParams."

* commit 'a45e9400642728d5c98db5709c4955209a0797af':
Expect RsExpandKernelDriverInfo not RsExpandKernelParams.
a45e9400642728d5c98db5709c4955209a0797af 16-Mar-2015 David Gross <dgross@google.com> am b12dfd74: am 4a9d40ee: Merge "Expect RsExpandKernelDriverInfo not RsExpandKernelParams."

* commit 'b12dfd74f2b5fd5f5e368f82da937643aa0bfd1a':
Expect RsExpandKernelDriverInfo not RsExpandKernelParams.
b12dfd74f2b5fd5f5e368f82da937643aa0bfd1a 16-Mar-2015 David Gross <dgross@google.com> am 4a9d40ee: Merge "Expect RsExpandKernelDriverInfo not RsExpandKernelParams."

* commit '4a9d40ee1ea2ffb64f2de5443bd2153b4bc0be68':
Expect RsExpandKernelDriverInfo not RsExpandKernelParams.
4a9d40ee1ea2ffb64f2de5443bd2153b4bc0be68 16-Mar-2015 David Gross <dgross@google.com> Merge "Expect RsExpandKernelDriverInfo not RsExpandKernelParams."
e44a3525b9703739534c3b62d7d1af4c95649a38 13-Mar-2015 David Gross <dgross@google.com> Expect RsExpandKernelDriverInfo not RsExpandKernelParams.

Which is to say: Retire RsExpandKernelParams and expect RsExpandKernelDriverInfo
to be passed to kernel wrapper functions instead.

Requires related change in frameworks/rs.

Also add kernel input count assertion.

Change-Id: I0d47905cc07f5896b6dc0e7887dbe1114f26359f
ib/Renderscript/RSForEachExpand.cpp
0fa2045a73cab18c666d4f0b6899a124df90a13f 13-Mar-2015 Yang Ni <yangni@google.com> am 3ea67ed5: am 8ee439d6: am eb86025a: Merge "Handle FP precision in kernel fusion"

* commit '3ea67ed5c5f4d42b575b04fdad7ac14f814ed7c9':
Handle FP precision in kernel fusion
3ea67ed5c5f4d42b575b04fdad7ac14f814ed7c9 12-Mar-2015 Yang Ni <yangni@google.com> am 8ee439d6: am eb86025a: Merge "Handle FP precision in kernel fusion"

* commit '8ee439d68bea3a68a952a2edf061694ea70331d7':
Handle FP precision in kernel fusion
8ee439d68bea3a68a952a2edf061694ea70331d7 12-Mar-2015 Yang Ni <yangni@google.com> am eb86025a: Merge "Handle FP precision in kernel fusion"

* commit 'eb86025a0464c378a453f391f6d27aaad6a1798c':
Handle FP precision in kernel fusion
eb86025a0464c378a453f391f6d27aaad6a1798c 12-Mar-2015 Yang Ni <yangni@google.com> Merge "Handle FP precision in kernel fusion"
6f69cab53cd785ec1142807380e0e68188f23fe6 12-Mar-2015 Bill Yi <byi@google.com> am addae1ac: am 698faa40: am 3b016184: Merge remote-tracking branch \'goog/stage-aosp-master\' into HEAD

* commit 'addae1ac7a3241c01b426f60224b41cd6914fe59':
83f074e99a71c08a970a863df3edbd95389d7a39 11-Mar-2015 Yang Ni <yangni@google.com> am de47ccdd: am 62e9c1bf: am 5cfc08a1: Merge "Create one single module for a script group"

* commit 'de47ccdd4afe3f8a497e6e65e438848968dd8d64':
Create one single module for a script group
18dc295d91d2f4dbcfc1487672ac18f657e6ba7b 11-Mar-2015 David Gross <dgross@google.com> am c705d63c: am f129f665: am 3b43c366: Merge "Backend support for new special kernel params ctxt and z."

* commit 'c705d63c021db7338225e06ebdfd2528a897d70c':
Backend support for new special kernel params ctxt and z.
6da4e253a513feef3405759fef6d0760828808ca 11-Mar-2015 Yang Ni <yangni@google.com> Handle FP precision in kernel fusion

b/19098612

Added a bcc command-line option for the relaxed core lib path.
If the relaxed lib path is provided, it will be used if the merged
module has relaxed FP precision.

Change-Id: I2a641387f0990463887594729a935a5c3f0f856f
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc/Main.cpp
addae1ac7a3241c01b426f60224b41cd6914fe59 11-Mar-2015 Bill Yi <byi@google.com> am 698faa40: am 3b016184: Merge remote-tracking branch \'goog/stage-aosp-master\' into HEAD

* commit '698faa40fbb5a6bdb0c0fc8b88b8f7697ebd0f38':
698faa40fbb5a6bdb0c0fc8b88b8f7697ebd0f38 11-Mar-2015 Bill Yi <byi@google.com> am 3b016184: Merge remote-tracking branch \'goog/stage-aosp-master\' into HEAD

* commit '3b016184a955f498ef23f4f6cf944f590341b4d9':
de47ccdd4afe3f8a497e6e65e438848968dd8d64 11-Mar-2015 Yang Ni <yangni@google.com> am 62e9c1bf: am 5cfc08a1: Merge "Create one single module for a script group"

* commit '62e9c1bf47bdd3b8047b2361123e7e8c7e83afdb':
Create one single module for a script group
62e9c1bf47bdd3b8047b2361123e7e8c7e83afdb 11-Mar-2015 Yang Ni <yangni@google.com> am 5cfc08a1: Merge "Create one single module for a script group"

* commit '5cfc08a1cdde952657a3a02647d97494d0c8a689':
Create one single module for a script group
3b016184a955f498ef23f4f6cf944f590341b4d9 10-Mar-2015 Bill Yi <byi@google.com> Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
5cfc08a1cdde952657a3a02647d97494d0c8a689 10-Mar-2015 Yang Ni <yangni@google.com> Merge "Create one single module for a script group"
0ab50b835805c75ad164466767c2c212f48954cc 16-Feb-2015 Yang Ni <yangni@google.com> Create one single module for a script group

This changed the way we compile a script group. Instead of compiling
each batch into a seperate module, we now compile the whole script
group into one single module, with each batch as a function (of fused
kernels) in that module. This allows invoke to (fused) kernel
communication via globals variables.

Added commoand line options "-merge" and "-invoke". The former
accepts fused kernel names, input kernels, while the latter accepts
new invoke name, and the original invoke function.

Additional changes:

- Bail out on encountering any unexpected bits in the foreach
signature of any kernel to fuse
- Made kernel fusion handle kernels without inputs.
If a kernel only takes global allocations but no inputs, bcc
needs to use a different signature for the fused kernel.
- Included in rs info the exported variables for the fused kernel.
- Keep all metadata in merged module from the input modules. This
would help correctly handling FP precision. (b/19098612)
- Handles Z (b/19610223)

Change-Id: I5553f86b2e58325f85649078d48685a38f12d62f
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSMetadata.h
nclude/bcc/Renderscript/RSScriptGroupFusion.h
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSMetadata.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
ools/bcc/Main.cpp
c705d63c021db7338225e06ebdfd2528a897d70c 10-Mar-2015 David Gross <dgross@google.com> am f129f665: am 3b43c366: Merge "Backend support for new special kernel params ctxt and z."

* commit 'f129f66544559034c035bd72ad20f3c4e86fd58b':
Backend support for new special kernel params ctxt and z.
f129f66544559034c035bd72ad20f3c4e86fd58b 10-Mar-2015 David Gross <dgross@google.com> am 3b43c366: Merge "Backend support for new special kernel params ctxt and z."

* commit '3b43c366c17620e35c6a4395a13b41ca3e977596':
Backend support for new special kernel params ctxt and z.
3b43c366c17620e35c6a4395a13b41ca3e977596 10-Mar-2015 David Gross <dgross@google.com> Merge "Backend support for new special kernel params ctxt and z."
33cda5cf335afc6aa2dbe02062bc9e6649e1f87c 30-Jan-2015 David Gross <dgross@google.com> Backend support for new special kernel params ctxt and z.

Also:
- Modify bcinfo dump to show signature metadata in hex instead of dec.
- Teach LLVM pass manager about (existing) "foreachexp" pass.
- Create MetadataSignatureBitval symbolic names for use by libbcc and slang.

Bug: 18964628

Change-Id: I1737ee0476b2005ec87f30473bbfa35aed5ded38
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Renderscript/RSMetadata.h
nclude/bcinfo/MetadataExtractor.h
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
540dab4f0351256b3211e847d579adbaf06ca898 04-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am 42dffcb2: am e55c4933: am b9cf06e4: Merge "Add a -build-checksum flag to bcc"

* commit '42dffcb2dddbf56085340b4d55227da86363a38a':
Add a -build-checksum flag to bcc
42dffcb2dddbf56085340b4d55227da86363a38a 04-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am e55c4933: am b9cf06e4: Merge "Add a -build-checksum flag to bcc"

* commit 'e55c49338362e190319594180d5bd59a57a6941f':
Add a -build-checksum flag to bcc
e55c49338362e190319594180d5bd59a57a6941f 04-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> am b9cf06e4: Merge "Add a -build-checksum flag to bcc"

* commit 'b9cf06e4bc592ce8bffd1376f97e358e6a671f6a':
Add a -build-checksum flag to bcc
b9cf06e4bc592ce8bffd1376f97e358e6a671f6a 04-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Add a -build-checksum flag to bcc"
6b59b5bea36b31f1c138d8107e41ea867ea81129 04-Mar-2015 jgu21 <jinghui.gu@intel.com> add aarch64 support for x86_64 bcc if specified

Change-Id: I372296d928e4ce0fa411f23b727c1bf16286004f
Signed-off-by: jgu21 <jinghui.gu@intel.com>
ibbcc-targets.mk
51ee77bd31e7d8ca6c89e37b5806c8fc2afcf0dc 20-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> Add a -build-checksum flag to bcc

bug 19216507

Add a flag to bcc to pass a build checksum. The checksum is passed to
RSEmbedInfo pass via LLVM metadata.

The old checksum path is tied to RSInfo. Removing this path can be done
along with RSInfo removal.

Change-Id: I3f21c96ddcfe42c16754fbb7749a72595f90964d
cinfo/MetadataExtractor.cpp
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Source.h
nclude/bcinfo/MetadataExtractor.h
ib/Core/Source.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSEmbedInfo.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
b85d890af8e650847092beca3c001ba6d82880e9 24-Feb-2015 Narayan Kamath <narayan@google.com> am a0198879: am 64d7528e: am bfbe9285: Merge "Track removal of refcounts from FileMap."

* commit 'a01988791a77fa3a8f2643ee2eb7b8d66ee0c0e5':
Track removal of refcounts from FileMap.
a01988791a77fa3a8f2643ee2eb7b8d66ee0c0e5 24-Feb-2015 Narayan Kamath <narayan@google.com> am 64d7528e: am bfbe9285: Merge "Track removal of refcounts from FileMap."

* commit '64d7528ec054c567f60e9884d9a9a84aee25d0aa':
Track removal of refcounts from FileMap.
64d7528ec054c567f60e9884d9a9a84aee25d0aa 24-Feb-2015 Narayan Kamath <narayan@google.com> am bfbe9285: Merge "Track removal of refcounts from FileMap."

* commit 'bfbe928511330670af5ecebdb45a718f57f3e14c':
Track removal of refcounts from FileMap.
bfbe928511330670af5ecebdb45a718f57f3e14c 24-Feb-2015 Narayan Kamath <narayan@google.com> Merge "Track removal of refcounts from FileMap."
f27f126fd25b9be38753f911e732e668384d969c 23-Feb-2015 Narayan Kamath <narayan@google.com> Track removal of refcounts from FileMap.

Use delete instead of release.

Change-Id: Id8c514a6f0196fdb19fe2bcececcc26519a18c9d
ib/Renderscript/RSInfoReader.cpp
ib/Support/FileBase.cpp
684f2c00bcaf357a4e08b36c6dd0f1fb6b6c592e 20-Feb-2015 Bill Yi <byi@google.com> am 2ab483d9: am 3257370f: Merge commit \'d4a84d8e983db6256a0f293839e77e138cdcbaa6\' into HEAD

* commit '2ab483d9ed61c6f9ea9ba83fa8f265c24cb0e581':
2ab483d9ed61c6f9ea9ba83fa8f265c24cb0e581 20-Feb-2015 Bill Yi <byi@google.com> am 3257370f: Merge commit \'d4a84d8e983db6256a0f293839e77e138cdcbaa6\' into HEAD

* commit '3257370f9dc47a41d3b1f30a6533ae011488fa9e':
3257370f9dc47a41d3b1f30a6533ae011488fa9e 19-Feb-2015 Bill Yi <byi@google.com> Merge commit 'd4a84d8e983db6256a0f293839e77e138cdcbaa6' into HEAD
d0fece1b98759e915d4297ae149e6e167275821a 19-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> am 648b537a: am d0bbc02b: Merge "Add exp2f, sqrtf, fabsf to whitelist"

* commit '648b537aa431006370fda1f4d795541a90274f8b':
Add exp2f, sqrtf, fabsf to whitelist
648b537aa431006370fda1f4d795541a90274f8b 18-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> am d0bbc02b: Merge "Add exp2f, sqrtf, fabsf to whitelist"

* commit 'd0bbc02bf2a526f56456f92e8009836e4ddfc368':
Add exp2f, sqrtf, fabsf to whitelist
d0bbc02bf2a526f56456f92e8009836e4ddfc368 18-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Add exp2f, sqrtf, fabsf to whitelist"
e7ba6d07e58252590a00ce929941a1699de59e59 18-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> Add exp2f, sqrtf, fabsf to whitelist

bug 19425238

LLVM constant folding introduces call to unmangled math functions. For
example, pow(2, x) becomes exp2(x). These functions must be added to
our whitelist.

Change-Id: I5dcadafbc821faf3e98d4a7d2106c082c8c09f63
ib/Renderscript/RSStubsWhiteList.cpp
85d3492a6640666f483b38a13bf23acfab9556ee 13-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> am d4a84d8e: am e147cd84: Merge "Make isThreadable const"

* commit 'd4a84d8e983db6256a0f293839e77e138cdcbaa6':
Make isThreadable const
d4a84d8e983db6256a0f293839e77e138cdcbaa6 13-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> am e147cd84: Merge "Make isThreadable const"

* commit 'e147cd8433e6e144a4fd79666bfd742cbd891f2b':
Make isThreadable const
e147cd8433e6e144a4fd79666bfd742cbd891f2b 13-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Make isThreadable const"
831111f9c525b20f756566321bdf222a78991a28 13-Feb-2015 Tim Murray <timmurray@google.com> am 9e2479e1: am d7e0f118: Merge "Disable autovectorization for now because of a scalarizer bug."

* commit '9e2479e14b5ae2dec76e20f34ac1bc4b60f93587':
Disable autovectorization for now because of a scalarizer bug.
9e2479e14b5ae2dec76e20f34ac1bc4b60f93587 12-Feb-2015 Tim Murray <timmurray@google.com> am d7e0f118: Merge "Disable autovectorization for now because of a scalarizer bug."

* commit 'd7e0f1184c696b5fda1d08f28a23108433d93085':
Disable autovectorization for now because of a scalarizer bug.
d7e0f1184c696b5fda1d08f28a23108433d93085 12-Feb-2015 Tim Murray <timmurray@google.com> Merge "Disable autovectorization for now because of a scalarizer bug."
7f59b5f76c7149b42ff6d4910c6f6165b3358e72 12-Feb-2015 Tim Murray <timmurray@google.com> Disable autovectorization for now because of a scalarizer bug.

bug 19324423

Change-Id: I7e15d66ff5cad7c53dc23384a2afb47caef5719e
ib/Core/Compiler.cpp
7de5fde8091a0fb32cc1cc531ec7401fbfb29986 27-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Make isThreadable const

Missed Steve's comment in
https://android-review.googlesource.com/#/c/125872/ to make this
function 'const'.

Change-Id: I9c43a3c850b35a0da1f98841d8a788aca34a567b
nclude/bcinfo/MetadataExtractor.h
4d357af938b1d52754bbbc6b3954ea6aadef167a 29-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> am c6f64093: am 29f866bc: Merge "Mark whether a script is threadable"

* commit 'c6f64093492cdfb3c98d8ae8f877bbd81f882897':
Mark whether a script is threadable
c6f64093492cdfb3c98d8ae8f877bbd81f882897 29-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> am 29f866bc: Merge "Mark whether a script is threadable"

* commit '29f866bc3b116aa748e6e6cd3eaf3b00b3e659ae':
Mark whether a script is threadable
29f866bc3b116aa748e6e6cd3eaf3b00b3e659ae 29-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Mark whether a script is threadable"
9fe081b8bae8a95d903f8fa8dc0a7590ae706606 27-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Mark whether a script is threadable

bug 19095896

Add a pass to check for calls to non-threadable functions. We add a
metadata flag to store the result. RSEmbedInfo also adds this
information to .rs.info.

Change-Id: Iba9a41b338d21a3529a1092656a51be985910fca
cinfo/MetadataExtractor.cpp
nclude/bcc/Renderscript/RSTransforms.h
nclude/bcinfo/MetadataExtractor.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSIsThreadablePass.cpp
d15e78b3a4da2e8c8e32bf7f12fef327a13cb0c5 26-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> am 19089988: am 0b104d63: Merge "Embed pragmas into object files"

* commit '19089988ec448a71a851b38f6e3508426b12ed02':
Embed pragmas into object files
19089988ec448a71a851b38f6e3508426b12ed02 26-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> am 0b104d63: Merge "Embed pragmas into object files"

* commit '0b104d630427c15f4001a4e6e1a333734c3c2126':
Embed pragmas into object files
0b104d630427c15f4001a4e6e1a333734c3c2126 26-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Embed pragmas into object files"
a99ef646b808e99cf870a8663170a1162851a42f 23-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Embed pragmas into object files

bug 18322681

RSEmbedInfo pass didn't embed pragmas since it was only used in the
compatibility path where (most) pragmas don't apply. We need to embed
pragmas into .rs.info for the shared library path.

Change-Id: I834c5f492ac5cef13ecc016cf8e5a1c7e5bce753
ib/Renderscript/RSEmbedInfo.cpp
831ef6254c0898a845e782eda97cb5b6c8fcedbb 23-Jan-2015 Tim Murray <timmurray@google.com> am 6052b0c3: am 89d305e9: Merge "Fix -emit-llvm with shared object compilation."

* commit '6052b0c3e400e4c1085e8fed498e18023df75330':
Fix -emit-llvm with shared object compilation.
0b52badf1b89e12978243a661364993dec1c205d 23-Jan-2015 Yang Ni <yangni@google.com> am 6319a06a: am 0743f576: Merge "Compiler kernel fusion for RenderScript."

* commit '6319a06a6d262e41fca4c34c2e8f3f51cfef2258':
Compiler kernel fusion for RenderScript.
6052b0c3e400e4c1085e8fed498e18023df75330 23-Jan-2015 Tim Murray <timmurray@google.com> am 89d305e9: Merge "Fix -emit-llvm with shared object compilation."

* commit '89d305e93cbc98fd0a2bd1cc568dadd480b16b6c':
Fix -emit-llvm with shared object compilation.
89d305e93cbc98fd0a2bd1cc568dadd480b16b6c 23-Jan-2015 Tim Murray <timmurray@google.com> Merge "Fix -emit-llvm with shared object compilation."
77c1d553e5799aef5add08667e71b62b6842ed2e 23-Jan-2015 Tim Murray <timmurray@google.com> Fix -emit-llvm with shared object compilation.

Change-Id: I696f3777a0981a875772d7340970a6cb49581cd7
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
6319a06a6d262e41fca4c34c2e8f3f51cfef2258 22-Jan-2015 Yang Ni <yangni@google.com> am 0743f576: Merge "Compiler kernel fusion for RenderScript."

* commit '0743f576413209c87f9dd702995503b8d4b1ba66':
Compiler kernel fusion for RenderScript.
0743f576413209c87f9dd702995503b8d4b1ba66 22-Jan-2015 Yang Ni <yangni@google.com> Merge "Compiler kernel fusion for RenderScript."
a4ded1373d7ad3e503f186e65bccf94126a0f020 18-Nov-2014 Yang Ni <yangni@google.com> Compiler kernel fusion for RenderScript.

This was started by Tobias Grosser during his internship at Google in 2013.
This CL includes his original changes and generalization to make it work with
the new proposed ScriptGroup API and made the ImageProcessing processing work
with this.
An enabling CL is needed in the RenderScript runtime, which I will post
seperately.

Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSMetadata.h
nclude/bcc/Renderscript/RSScriptGroupFusion.h
nclude/bcc/Source.h
ib/Core/Source.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSMetadata.cpp
ib/Renderscript/RSScriptGroupFusion.cpp
ools/bcc/Main.cpp
b9739fdb42561f5578717f5ac14388320ce5ac8f 21-Jan-2015 Stephen Hines <srhines@google.com> am 8e9d6baa: am 826137cc: Merge "Remove linkloader from frameworks/compile/libbcc."

* commit '8e9d6baabd3e86d77fc01861d821e8c4b9c85510':
Remove linkloader from frameworks/compile/libbcc.
8e9d6baabd3e86d77fc01861d821e8c4b9c85510 21-Jan-2015 Stephen Hines <srhines@google.com> am 826137cc: Merge "Remove linkloader from frameworks/compile/libbcc."

* commit '826137cc18fb4dbe3b92338c2b4486488103b755':
Remove linkloader from frameworks/compile/libbcc.
826137cc18fb4dbe3b92338c2b4486488103b755 21-Jan-2015 Stephen Hines <srhines@google.com> Merge "Remove linkloader from frameworks/compile/libbcc."
107f50d54d9606e495187d0e89225d3d9fdc1fa9 20-Jan-2015 Stephen Hines <srhines@google.com> Remove linkloader from frameworks/compile/libbcc.

Bug: 18322681

Now that we have switched completely to the new shared library object
loading path, we can safely remove the legacy linkloader path.

In frameworks/compile/libbcc, this removes all of libbccExecutionEngine,
since the loader is now self-contained in libRScpu_ref (similar to the
support library's shared object loader). We also remove support for
all symbol resolvers and the gdb JIT interface (which was already
unmaintained).

Change-Id: Ie5cc152d93f5e75383f7c21a4523579cfae8823f
ndroid.mk
nclude/bcc/ExecutionEngine/CompilerRTSymbolResolver.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/RSCompilerDriver.h
nclude/bcc/Renderscript/RSExecutable.h
ib/Core/Compiler.cpp
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.h
ib/ExecutionEngine/GDBJIT.cpp
ib/ExecutionEngine/GDBJITRegistrar.cpp
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoaderImpl.h
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/ExecutionEngine/SymbolResolvers.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSExecutable.cpp
ibbcc.mk
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
65b1038806ee570f6aeafd693b9725bbc53fcaef 16-Jan-2015 Stephen Hines <srhines@google.com> am b3467853: am 57620a1c: Merge "Add proper getAnalysisUsage() implementations to each Pass."

* commit 'b34678536297d7a2ff6c7981ebe661c14fc0d542':
Add proper getAnalysisUsage() implementations to each Pass.
b34678536297d7a2ff6c7981ebe661c14fc0d542 16-Jan-2015 Stephen Hines <srhines@google.com> am 57620a1c: Merge "Add proper getAnalysisUsage() implementations to each Pass."

* commit '57620a1ce5d19c5446100a958895e0d0f78be3ab':
Add proper getAnalysisUsage() implementations to each Pass.
57620a1ce5d19c5446100a958895e0d0f78be3ab 16-Jan-2015 Stephen Hines <srhines@google.com> Merge "Add proper getAnalysisUsage() implementations to each Pass."
c754d49ee856be620e041348a9f2b3d5610a5a26 09-Jan-2015 Stephen Hines <srhines@google.com> Add proper getAnalysisUsage() implementations to each Pass.

Change-Id: I2db9201dbfe5e8d705a873212f1f69f1fb7b5c20
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSInvokeHelperPass.cpp
ib/Renderscript/RSScreenFunctionsPass.cpp
ools/bcc_strip_attr/bcc_strip_attr.cpp
0c6c19929cd8ff705ceb7269ff64aa5e53937cfd 09-Jan-2015 Tim Murray <timmurray@google.com> am d8647cfe: am 12882999: Merge "Fix bcc initialization and shutdown issues."

* commit 'd8647cfe3608c3d59404ac9c31174512a24d8171':
Fix bcc initialization and shutdown issues.
56750457a4d63f6ec147de78ee8b486a1e52d9be 09-Jan-2015 Tim Murray <timmurray@google.com> am c1298f1f: am 933c29fb: Merge "Enable autovectorization."

* commit 'c1298f1ff7701b3de18daa982e36d7bb667b34e6':
Enable autovectorization.
d8647cfe3608c3d59404ac9c31174512a24d8171 09-Jan-2015 Tim Murray <timmurray@google.com> am 12882999: Merge "Fix bcc initialization and shutdown issues."

* commit '128829996c49dca9c2e27caba693180f1d8346e0':
Fix bcc initialization and shutdown issues.
c1298f1ff7701b3de18daa982e36d7bb667b34e6 09-Jan-2015 Tim Murray <timmurray@google.com> am 933c29fb: Merge "Enable autovectorization."

* commit '933c29fbce6ca1217cdf96a16b3632651014c9d6':
Enable autovectorization.
128829996c49dca9c2e27caba693180f1d8346e0 09-Jan-2015 Tim Murray <timmurray@google.com> Merge "Fix bcc initialization and shutdown issues."
933c29fbce6ca1217cdf96a16b3632651014c9d6 09-Jan-2015 Tim Murray <timmurray@google.com> Merge "Enable autovectorization."
c46a3f5370364ad5698756d5da5b8845be9970d0 08-Jan-2015 Tim Murray <timmurray@google.com> Fix bcc initialization and shutdown issues.

Actually call the correct LLVM init functions.

Change-Id: I883ebe70ae0bb4a535a9bc0536a517dab0cb3ebb
ib/Support/Initialization.cpp
ools/bcc/Main.cpp
50f5eb4b27ce6dd2a02cf389ac2acfa95c6939f1 10-Dec-2014 Tim Murray <timmurray@google.com> Enable autovectorization.

Change-Id: Ic35548c3875e5a078e46b594aae7accee79e47b6
ib/Core/Compiler.cpp
ib/Renderscript/RSForEachExpand.cpp
7b076b3a99f78d1f6711cf9b828f700e3e579623 06-Jan-2015 Stephen Hines <srhines@google.com> am 36763931: am f4843eab: Merge "Fix a few bugs in RSScreenFunctionsPass."

* commit '367639316f062b92809780514ebd82303f0339ba':
Fix a few bugs in RSScreenFunctionsPass.
bf7c51c1991b27815b748661acbd1689c1f3e87b 06-Jan-2015 Miao Wang <miaowang@google.com> am f48af891: am a642a8e5: Merge "Make bcc-compat use Small CodeModel."

* commit 'f48af891becab08cdb1b305a43f5562832bf8d49':
Make bcc-compat use Small CodeModel.
367639316f062b92809780514ebd82303f0339ba 06-Jan-2015 Stephen Hines <srhines@google.com> am f4843eab: Merge "Fix a few bugs in RSScreenFunctionsPass."

* commit 'f4843eabee7ca98436a01fe8f3dbe83a62da6891':
Fix a few bugs in RSScreenFunctionsPass.
f48af891becab08cdb1b305a43f5562832bf8d49 06-Jan-2015 Miao Wang <miaowang@google.com> am a642a8e5: Merge "Make bcc-compat use Small CodeModel."

* commit 'a642a8e505c983636a671a8f26e7ebd7da6250ef':
Make bcc-compat use Small CodeModel.
f4843eabee7ca98436a01fe8f3dbe83a62da6891 06-Jan-2015 Stephen Hines <srhines@google.com> Merge "Fix a few bugs in RSScreenFunctionsPass."
a642a8e505c983636a671a8f26e7ebd7da6250ef 06-Jan-2015 Miao Wang <miaowang@google.com> Merge "Make bcc-compat use Small CodeModel."
5db508c73e6177eb306bac4725616b7c001587c4 06-Jan-2015 Stephen Hines <srhines@google.com> Fix a few bugs in RSScreenFunctionsPass.

Bug: 18322681

This patch fixes a few small issues:
1) The debug context runtime stubs had a few minor name mangling errors.
2) The verification of functions needs to be done after we have stripped
away any unused code. Without this, there are issues with debug contexts,
because they have unused references to rsOffset()/rsOffsetNs().
3) We don't actually need to maintain a separate status return for the pass,
since llvm::report_fatal_error() will do the right thing in the case of
an illegal function being called.

Change-Id: I0afe7cf58148cd132f9356268d5ad8acdce1a02d
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/RSScreenFunctionsPass.cpp
ib/Renderscript/RSStubsWhiteList.cpp
ib/Support/Initialization.cpp
96627fc90a36bd7657dd86c66349a4a61ed976a5 06-Jan-2015 Miao Wang <miaowang@google.com> Make bcc-compat use Small CodeModel.

Change-Id: Iaac414ccfdcce9210e2195092f1db2db03a2716d
ools/bcc_compat/Main.cpp
de9170a998b04139500ded38e15e271f0bd77159 05-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> am 2e4107fc: am af9ff018: Merge "BCC updates to handle linkloader removal"

* commit '2e4107fcda870940aa2f47e22a97b4e5cb9887ac':
BCC updates to handle linkloader removal
2e4107fcda870940aa2f47e22a97b4e5cb9887ac 05-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> am af9ff018: Merge "BCC updates to handle linkloader removal"

* commit 'af9ff018f9986aa62a50bb1abeee40e467ed873d':
BCC updates to handle linkloader removal
af9ff018f9986aa62a50bb1abeee40e467ed873d 05-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "BCC updates to handle linkloader removal"
1e0557ae75ae780352845bd2ba0f4babdc5ae4e6 03-Dec-2014 Pirama Arumuga Nainar <pirama@google.com> BCC updates to handle linkloader removal

Bug: 18322681

- Add -fPIC and -embedRSInfo flags to bcc. fPIC generates relocatable
object code and -embedRSInfo embeds RS symbol information into the
.rs.info variable in the object file.

- PIC_ relocation in x86_64 also entails that the CodeModel must be
small. Otherwise, we end up with TEXTRELs in the shared library.

- Add an LLVM pass to screen functions visibile in RS.
lib/RenderScript/generate-whitelist.sh is used to automatically
generate the stubbed functions to the whitelist.

Change-Id: Ib0a16b7e7aff89490ac631885ffa97dd31c184ce
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSScreenFunctionsPass.cpp
ib/Renderscript/RSStubsWhiteList.cpp
ib/Renderscript/RSStubsWhiteList.h
ib/Renderscript/generate-whitelist.sh
ools/bcc/Main.cpp
84814259673a3b7deb5c9710489ae7ae6d68dc23 20-Dec-2014 Stephen Hines <srhines@google.com> am f9eed7a5: am daf78c5a: Merge "Remember to mark functions as materializable (or they are only "declared")."

* commit 'f9eed7a5925b4e9ea68e36b8baefbfa506fedfe2':
Remember to mark functions as materializable (or they are only "declared").
1178f81994912590ddd747422665041afab757ef 20-Dec-2014 Stephen Hines <srhines@google.com> am 33ffcbf9: am 02950d34: Merge "After translation, the bitcode version is now the most up-to-date."

* commit '33ffcbf9111baad0dbd47cb53dbda495b030474a':
After translation, the bitcode version is now the most up-to-date.
f9eed7a5925b4e9ea68e36b8baefbfa506fedfe2 20-Dec-2014 Stephen Hines <srhines@google.com> am daf78c5a: Merge "Remember to mark functions as materializable (or they are only "declared")."

* commit 'daf78c5afcd438633d1bfa870d280993d086464e':
Remember to mark functions as materializable (or they are only "declared").
33ffcbf9111baad0dbd47cb53dbda495b030474a 20-Dec-2014 Stephen Hines <srhines@google.com> am 02950d34: Merge "After translation, the bitcode version is now the most up-to-date."

* commit '02950d34d71cb224fbfe495b9cf071b7f6e3051e':
After translation, the bitcode version is now the most up-to-date.
daf78c5afcd438633d1bfa870d280993d086464e 20-Dec-2014 Stephen Hines <srhines@google.com> Merge "Remember to mark functions as materializable (or they are only "declared")."
02950d34d71cb224fbfe495b9cf071b7f6e3051e 20-Dec-2014 Stephen Hines <srhines@google.com> Merge "After translation, the bitcode version is now the most up-to-date."
34edb8ad024934c13741550bc825c9b352453ad8 19-Dec-2014 Stephen Hines <srhines@google.com> Remember to mark functions as materializable (or they are only "declared").

Bug: 18761789

Several relevant changes were made to BitcodeReader that we failed to update
on the last rebase. This results in functions not being properly translated
to the latest bitcode revision (which then causes the compiler to fail).
BitcodeReader::isMaterializable() is dead code, so I removed it as part of
this change, along with a missed 0 -> nullptr update.

Change-Id: Ifa5dfe4b146e1469e937fda0a107bb2c21936071
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
dc31b1cf67e4997f511eb22d6589a45e3e57209d 18-Dec-2014 Stephen Hines <srhines@google.com> After translation, the bitcode version is now the most up-to-date.

Marking the version as something old just triggers retranslation, which
is bad in all sorts of ways with standalone bcc (and/or bcinfo).

Change-Id: If175f1860a0a035964cab7f1ae5a9abf9253bef5
cinfo/BitcodeTranslator.cpp
2586365b7f7de9c800e2f0ed1487963d9448fb87 11-Dec-2014 Elliott Hughes <enh@google.com> am 8dab27fe: am d2a56182: Merge "libbcc doesn\'t use mclinker."

* commit '8dab27feb8218f196983069eda4c2a54a40d10bc':
libbcc doesn't use mclinker.
8dab27feb8218f196983069eda4c2a54a40d10bc 11-Dec-2014 Elliott Hughes <enh@google.com> am d2a56182: Merge "libbcc doesn\'t use mclinker."

* commit 'd2a56182e0a34dff568a1d960b56b2487e1bcaea':
libbcc doesn't use mclinker.
d2a56182e0a34dff568a1d960b56b2487e1bcaea 11-Dec-2014 Elliott Hughes <enh@google.com> Merge "libbcc doesn't use mclinker."
1b6bba4c9ed8b8c8b0a56a8bca7c1222da396b34 11-Dec-2014 Elliott Hughes <enh@google.com> libbcc doesn't use mclinker.

Change-Id: I9332671e0b9b9eebbf0b82b1b096ea8bd5f64ba3
ibbcc.mk
849ef6e373a87113bc44e56b962eeb5be43f9f62 04-Dec-2014 Stephen Hines <srhines@google.com> am 80b485e3: am 4b04c096: Merge "Update libbcc for LLVM rebase to r222494."

* commit '80b485e3a782cdff9ad71a742c2fa77d2505eb10':
Update libbcc for LLVM rebase to r222494.
80b485e3a782cdff9ad71a742c2fa77d2505eb10 04-Dec-2014 Stephen Hines <srhines@google.com> am 4b04c096: Merge "Update libbcc for LLVM rebase to r222494."

* commit '4b04c096cd740f538ecedec52d23d925a0fd8ac0':
Update libbcc for LLVM rebase to r222494.
4b04c096cd740f538ecedec52d23d925a0fd8ac0 04-Dec-2014 Stephen Hines <srhines@google.com> Merge "Update libbcc for LLVM rebase to r222494."
579361346abc6696c805e3904a18178ebce4e4a3 26-Nov-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r222494.

Change-Id: Idebd60a98bbe62007086386e5497d1df7d901e3d
cinfo/BitReader_2_7/BitReader_2_7.h
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitReader_3_0.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
cinfo/BitcodeTranslator.cpp
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Script.h
nclude/bcc/Source.h
ib/Core/Compiler.cpp
ib/Core/Script.cpp
ib/Core/Source.cpp
ib/Renderscript/RSInvokeHelperPass.cpp
ib/Renderscript/RSScript.cpp
ools/bcc_compat/Main.cpp
ools/bcc_strip_attr/bcc_strip_attr.cpp
b1815aae1562eaf9619f34b534175a43949d198d 21-Nov-2014 Stephen Hines <srhines@google.com> am 3e459e39: am b14e8690: Merge "Modify RSForEachExpand to move casting of pointer types outside the inner loop."

* commit '3e459e39430fe10fabcebb7356f36890fe5b88bc':
Modify RSForEachExpand to move casting of pointer types outside the inner loop.
593b26f60533bf3a3678da0084e1b28cbe36246a 21-Nov-2014 Stephen Hines <srhines@google.com> am f37bfb55: am 4b474b4a: Merge "generate calls to rsSetObject inside .helper invoke functions"

* commit 'f37bfb55d0f4333c3684bcb881b0b106411f1bf8':
generate calls to rsSetObject inside .helper invoke functions
3e459e39430fe10fabcebb7356f36890fe5b88bc 21-Nov-2014 Stephen Hines <srhines@google.com> am b14e8690: Merge "Modify RSForEachExpand to move casting of pointer types outside the inner loop."

* commit 'b14e86905e0ffbee1d2b80abe87f6616e6831bae':
Modify RSForEachExpand to move casting of pointer types outside the inner loop.
f37bfb55d0f4333c3684bcb881b0b106411f1bf8 21-Nov-2014 Stephen Hines <srhines@google.com> am 4b474b4a: Merge "generate calls to rsSetObject inside .helper invoke functions"

* commit '4b474b4a57c17dc8eae58fd68968aae352e8386b':
generate calls to rsSetObject inside .helper invoke functions
b14e86905e0ffbee1d2b80abe87f6616e6831bae 21-Nov-2014 Stephen Hines <srhines@google.com> Merge "Modify RSForEachExpand to move casting of pointer types outside the inner loop."
4b474b4a57c17dc8eae58fd68968aae352e8386b 21-Nov-2014 Stephen Hines <srhines@google.com> Merge "generate calls to rsSetObject inside .helper invoke functions"
bb73b74a9f6ad26c2ab30557bfe6916a44ed75f6 04-Nov-2014 Tim Murray <timmurray@google.com> Modify RSForEachExpand to move casting of pointer types outside the inner loop.

This makes autovectorization work in some limited cases.

bug 18071147

Change-Id: If9f08760310b90f62e88dfce257575205b3cb5b2
ib/Core/Compiler.cpp
ib/Renderscript/RSForEachExpand.cpp
b7bce7436876884dfd78ec41d147ddbe47e37cbd 04-Nov-2014 Tim Murray <timmurray@google.com> generate calls to rsSetObject inside .helper invoke functions

bug 18071147

Change-Id: I0ff00b3a86cd799cdb1eebcd1000b74070ee0cdf
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSInvokeHelperPass.cpp
059ed8ce4b2238e2e1396660e6f36e670e159e67 21-Nov-2014 Stephen Hines <srhines@google.com> resolved conflicts for merge of cd88bdc5 to master

Change-Id: I43a92a7543e1ad52a4831fdcd8a8675b87e2bbfd
cd88bdc53f9d47087adabde1396c64b66fe56ad6 21-Nov-2014 Stephen Hines <srhines@google.com> am 2463de95: Merge "De-cruft the libbcc compiler infrastructure."

* commit '2463de9572b126eeca4837a1b7bdcd6ed1c2c444':
De-cruft the libbcc compiler infrastructure.
2463de9572b126eeca4837a1b7bdcd6ed1c2c444 21-Nov-2014 Stephen Hines <srhines@google.com> Merge "De-cruft the libbcc compiler infrastructure."
b4447cd2b14f53efd9102d28da48000be7b2d4fd 20-Aug-2014 Chris Wailes <chriswailes@google.com> De-cruft the libbcc compiler infrastructure.

This patch removes the RSCompiler subclass of Compiler and moves most of its
functionality over to the original Compiler class. Methods and variables are
re-named to make the code clearer. In addition, unused functions have been
removed.

Change-Id: I121463df6309c377496cebea8cbb82bb49624ed1
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSCompiler.h
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Core/Compiler.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSCompiler.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
78451d5b632ef61ce6b8580f19bd0f3929387c31 14-Nov-2014 Stephen Hines <srhines@google.com> am 0fd2f0e3: am 4d938661: Merge "[MIPS] Set default MIPS64 ISA revision to R6"

* commit '0fd2f0e3f982f161d829da63c9b338ba8ca54529':
[MIPS] Set default MIPS64 ISA revision to R6
0fd2f0e3f982f161d829da63c9b338ba8ca54529 14-Nov-2014 Stephen Hines <srhines@google.com> am 4d938661: Merge "[MIPS] Set default MIPS64 ISA revision to R6"

* commit '4d93866172cdeeda20c78faade9b934f75f2033e':
[MIPS] Set default MIPS64 ISA revision to R6
4d93866172cdeeda20c78faade9b934f75f2033e 14-Nov-2014 Stephen Hines <srhines@google.com> Merge "[MIPS] Set default MIPS64 ISA revision to R6"
1bd23952e8d9c03f5bf57d5922772c5296022985 10-Nov-2014 Stephen Hines <srhines@google.com> am 44289f8f: am 3932f6ce: Merge "Disable step opt for 12-byte structs on 64-bit."

* commit '44289f8f7c7c482ce5737e9308b98b6838bdf943':
Disable step opt for 12-byte structs on 64-bit.
44289f8f7c7c482ce5737e9308b98b6838bdf943 10-Nov-2014 Stephen Hines <srhines@google.com> am 3932f6ce: Merge "Disable step opt for 12-byte structs on 64-bit."

* commit '3932f6cea5cdceced6f446b82e4d8bce517fc85d':
Disable step opt for 12-byte structs on 64-bit.
3932f6cea5cdceced6f446b82e4d8bce517fc85d 10-Nov-2014 Stephen Hines <srhines@google.com> Merge "Disable step opt for 12-byte structs on 64-bit."
429d94acbc64480d4f75233b66b4824cdc8b19c0 30-Oct-2014 Tim Murray <timmurray@google.com> Disable step opt for 12-byte structs on 64-bit.

bug 17663411

Change-Id: I21c67f95704e8aeb63f72bd371b1b5a5cc6e569d
(cherry picked from commit 4839c9acf4e935dab0b3de3fac0e315d00c3a369)
ib/Renderscript/RSForEachExpand.cpp
46acb6e3f66059296259295632af47e1e2cf432b 08-Nov-2014 Dan Albert <danalbert@google.com> am dda22b1e: am efa07f1f: Merge "Switch to 64-bit host builds for libbcc tools."

* commit 'dda22b1e48a9f56946af700868b4b76506b374e3':
Switch to 64-bit host builds for libbcc tools.
dda22b1e48a9f56946af700868b4b76506b374e3 08-Nov-2014 Dan Albert <danalbert@google.com> am efa07f1f: Merge "Switch to 64-bit host builds for libbcc tools."

* commit 'efa07f1f462d92c46143643b9f1ef92fe32b2917':
Switch to 64-bit host builds for libbcc tools.
efa07f1f462d92c46143643b9f1ef92fe32b2917 08-Nov-2014 Dan Albert <danalbert@google.com> Merge "Switch to 64-bit host builds for libbcc tools."
c868ae59d7109e096560a82885868e4ba09c80b9 08-Nov-2014 Stephen Hines <srhines@google.com> am 18fe4301: am d426b8ad: Merge "Fix format-string-related warnings for size of various types."

* commit '18fe4301de771f6b9260197293ebd9a8e0377e29':
Fix format-string-related warnings for size of various types.
18fe4301de771f6b9260197293ebd9a8e0377e29 08-Nov-2014 Stephen Hines <srhines@google.com> am d426b8ad: Merge "Fix format-string-related warnings for size of various types."

* commit 'd426b8ad4fb4a37accf3625072a8bda55df9c0fa':
Fix format-string-related warnings for size of various types.
9b1fc3d8b4d5091d29b1425263159978c2157913 08-Nov-2014 Stephen Hines <srhines@google.com> Switch to 64-bit host builds for libbcc tools.

Bug: 10653601
Bug: 13751317
ibbcc-host-build.mk
d426b8ad4fb4a37accf3625072a8bda55df9c0fa 08-Nov-2014 Stephen Hines <srhines@google.com> Merge "Fix format-string-related warnings for size of various types."
4cb4c555b4d339644fe9d13cdc45093721d0896e 07-Nov-2014 Stephen Hines <srhines@google.com> Fix format-string-related warnings for size of various types.
cinfo/tools/main.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
35ed0ce8aea01af4ae554644411de6ec82527440 06-Nov-2014 Stephen Hines <srhines@google.com> am b6110bf7: am b70f27af: am 4c94acac: Merge "Revert "Fix format-string-related warnings for size of various types.""

* commit 'b6110bf79cbb842da36409aafb18a0e7bf280fa1':
Revert "Fix format-string-related warnings for size of various types."
eeba0892fb9e89c61305e6ad30a92a3135ceeba6 06-Nov-2014 Stephen Hines <srhines@google.com> am e7c9153d: am 853161a8: am 39d5c2d5: Merge "Revert "Switch to 64-bit host builds for libbcc tools.""

* commit 'e7c9153d2f93c262c8278d7bac4efd068bd24643':
Revert "Switch to 64-bit host builds for libbcc tools."
6fe1ab6ec2d619da5ffb9f832c8578ba2fa54b6f 06-Nov-2014 Stephen Hines <srhines@google.com> am d5dfb072: am 741d9e1a: am 8b63df9e: Merge "Fix format-string-related warnings for size of various types."

* commit 'd5dfb072a8540464a1d9ec6e0aebb6db09633015':
Fix format-string-related warnings for size of various types.
46e800ff65ad36746aaef78ef7d3b3223542ff46 06-Nov-2014 Stephen Hines <srhines@google.com> am cbe5e8e1: am c1daf86d: am 8a016071: Merge "Switch to 64-bit host builds for libbcc tools."

* commit 'cbe5e8e19baf2447863c12f2f207b5c6335d2072':
Switch to 64-bit host builds for libbcc tools.
b6110bf79cbb842da36409aafb18a0e7bf280fa1 06-Nov-2014 Stephen Hines <srhines@google.com> am b70f27af: am 4c94acac: Merge "Revert "Fix format-string-related warnings for size of various types.""

* commit 'b70f27af63b60e36b922dad19056103003bb3506':
Revert "Fix format-string-related warnings for size of various types."
e7c9153d2f93c262c8278d7bac4efd068bd24643 06-Nov-2014 Stephen Hines <srhines@google.com> am 853161a8: am 39d5c2d5: Merge "Revert "Switch to 64-bit host builds for libbcc tools.""

* commit '853161a8f4066732f6ff6ef9d20c569c03473083':
Revert "Switch to 64-bit host builds for libbcc tools."
d5dfb072a8540464a1d9ec6e0aebb6db09633015 06-Nov-2014 Stephen Hines <srhines@google.com> am 741d9e1a: am 8b63df9e: Merge "Fix format-string-related warnings for size of various types."

* commit '741d9e1a0bc4bc1d8d4a5c25429c206428b134e8':
Fix format-string-related warnings for size of various types.
cbe5e8e19baf2447863c12f2f207b5c6335d2072 06-Nov-2014 Stephen Hines <srhines@google.com> am c1daf86d: am 8a016071: Merge "Switch to 64-bit host builds for libbcc tools."

* commit 'c1daf86d64dfde668095f842f1593a9842f8394a':
Switch to 64-bit host builds for libbcc tools.
b70f27af63b60e36b922dad19056103003bb3506 06-Nov-2014 Stephen Hines <srhines@google.com> am 4c94acac: Merge "Revert "Fix format-string-related warnings for size of various types.""

* commit '4c94acac3192ebaf86d1d3f6b650bb2c29255010':
Revert "Fix format-string-related warnings for size of various types."
853161a8f4066732f6ff6ef9d20c569c03473083 06-Nov-2014 Stephen Hines <srhines@google.com> am 39d5c2d5: Merge "Revert "Switch to 64-bit host builds for libbcc tools.""

* commit '39d5c2d5269d4c6a346f904fc67a407f22a5b42f':
Revert "Switch to 64-bit host builds for libbcc tools."
741d9e1a0bc4bc1d8d4a5c25429c206428b134e8 06-Nov-2014 Stephen Hines <srhines@google.com> am 8b63df9e: Merge "Fix format-string-related warnings for size of various types."

* commit '8b63df9eed7c5a2bc8b05bb4d604739dde34a888':
Fix format-string-related warnings for size of various types.
c1daf86d64dfde668095f842f1593a9842f8394a 06-Nov-2014 Stephen Hines <srhines@google.com> am 8a016071: Merge "Switch to 64-bit host builds for libbcc tools."

* commit '8a016071e59b15d1c0a6f97a0611adacdf97ea6f':
Switch to 64-bit host builds for libbcc tools.
4c94acac3192ebaf86d1d3f6b650bb2c29255010 06-Nov-2014 Stephen Hines <srhines@google.com> Merge "Revert "Fix format-string-related warnings for size of various types.""
39d5c2d5269d4c6a346f904fc67a407f22a5b42f 06-Nov-2014 Stephen Hines <srhines@google.com> Merge "Revert "Switch to 64-bit host builds for libbcc tools.""
288ad8e7a4e1ef9be741290af39eaeabec1ff21c 06-Nov-2014 Stephen Hines <srhines@google.com> Revert "Fix format-string-related warnings for size of various types."

This reverts commit 4418cf185eac9e82ba912e3f5ee3b80d518bf3da.

Change-Id: Iff80917cddc3a240d9fffa5d23cb2d67c1413da3
cinfo/tools/main.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
df32a33196ef61a3cb34b795e80a47c379fa8874 06-Nov-2014 Stephen Hines <srhines@google.com> Revert "Switch to 64-bit host builds for libbcc tools."

This reverts commit 5718caee080809ff922cbc5d6c77ffeabe225e08.

Change-Id: Id10dbbe78b2a883090e3436dcc308e51e3af423b
ibbcc-host-build.mk
8b63df9eed7c5a2bc8b05bb4d604739dde34a888 05-Nov-2014 Stephen Hines <srhines@google.com> Merge "Fix format-string-related warnings for size of various types."
8a016071e59b15d1c0a6f97a0611adacdf97ea6f 05-Nov-2014 Stephen Hines <srhines@google.com> Merge "Switch to 64-bit host builds for libbcc tools."
4418cf185eac9e82ba912e3f5ee3b80d518bf3da 05-Nov-2014 Stephen Hines <srhines@google.com> Fix format-string-related warnings for size of various types.

Change-Id: Iac94c2925919c729810d842f4251fbe90304fb84
cinfo/tools/main.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
5718caee080809ff922cbc5d6c77ffeabe225e08 05-Nov-2014 Stephen Hines <srhines@google.com> Switch to 64-bit host builds for libbcc tools.

Bug: 10653601
Bug: 13751317
Change-Id: I7629727c9f1dcda0a5a674ce7c90ca26024561b7
ibbcc-host-build.mk
3d7acfe413039eed73a7c89233f05bca89421e0c 04-Nov-2014 Tim Murray <timmurray@google.com> Modify RSForEachExpand to move casting of pointer types outside
the inner loop.

This makes autovectorization work in some limited cases.

bug 18071147

Change-Id: If9f08760310b90f62e88dfce257575205b3cb5b2
ib/Core/Compiler.cpp
ib/Renderscript/RSForEachExpand.cpp
83dff227828b6c591c53832cda5ecacf6e7b410e 04-Nov-2014 Tim Murray <timmurray@google.com> generate calls to rsSetObject inside .helper invoke functions

bug 18071147

Change-Id: I0ff00b3a86cd799cdb1eebcd1000b74070ee0cdf
nclude/bcc/Renderscript/RSCompiler.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Renderscript/Android.mk
ib/Renderscript/RSCompiler.cpp
ib/Renderscript/RSInvokeHelperPass.cpp
1b65b253be4ee9d7f151b75cd8748ce6a114e3f3 01-Nov-2014 Tim Murray <timmurray@google.com> am 5babe6fe: am 4839c9ac: Disable step opt for 12-byte structs on 64-bit.

* commit '5babe6fec8633049cfb143c93108b7d0a1952d71':
Disable step opt for 12-byte structs on 64-bit.
5babe6fec8633049cfb143c93108b7d0a1952d71 31-Oct-2014 Tim Murray <timmurray@google.com> am 4839c9ac: Disable step opt for 12-byte structs on 64-bit.

* commit '4839c9acf4e935dab0b3de3fac0e315d00c3a369':
Disable step opt for 12-byte structs on 64-bit.
4839c9acf4e935dab0b3de3fac0e315d00c3a369 30-Oct-2014 Tim Murray <timmurray@google.com> Disable step opt for 12-byte structs on 64-bit.

bug 17663411

Change-Id: I21c67f95704e8aeb63f72bd371b1b5a5cc6e569d
ib/Renderscript/RSForEachExpand.cpp
e6627cd3f9a0fd53123b8d625e538440e79baf95 27-Oct-2014 Tim Murray <timmurray@google.com> am 84242925: am 6e5118b9: am 38883df9: add ARM support for x86 bcc if specified

* commit '842429250268bed38360c0567fdf770a9ec8a513':
8481fa91d78503662412cd65e49bdad889f79731 27-Oct-2014 Tim Murray <timmurray@google.com> am 0d95682d: am 5e433f6c: am f084384e: Merge "Remove Atom workaround." into lmp-dev

* commit '0d95682d15a12555ce2bae730dda63f6cae6f50e':
ff81f9f7a3fe18f1a3b07a2fa3d3eb057b53f6b3 27-Oct-2014 Stephen Hines <srhines@google.com> am c20bf429: am e7c52898: am 8f5c2a1c: Switch from __do_message -> std::error_category.

* commit 'c20bf4299036a8fa80ecde98684a61e0af6735db':
a80da662dd29d992d45affb3470a9790a25feb0c 27-Oct-2014 Tim Murray <timmurray@google.com> am d66550b5: am 9c66e138: am 40990623: Merge "Remove Atom workaround."

* commit 'd66550b56f84378557d980532517902f6b813ddc':
842429250268bed38360c0567fdf770a9ec8a513 27-Oct-2014 Tim Murray <timmurray@google.com> am 6e5118b9: am 38883df9: add ARM support for x86 bcc if specified

* commit '6e5118b939a6c7dae3448c77b11d9eda24a8331a':
0d95682d15a12555ce2bae730dda63f6cae6f50e 27-Oct-2014 Tim Murray <timmurray@google.com> am 5e433f6c: am f084384e: Merge "Remove Atom workaround." into lmp-dev

* commit '5e433f6ce3f5c75cde4b2b68bf3c0e85903b695f':
c20bf4299036a8fa80ecde98684a61e0af6735db 27-Oct-2014 Stephen Hines <srhines@google.com> am e7c52898: am 8f5c2a1c: Switch from __do_message -> std::error_category.

* commit 'e7c5289801f9a6341cc993abf70cf4ac559317e4':
d66550b56f84378557d980532517902f6b813ddc 27-Oct-2014 Tim Murray <timmurray@google.com> am 9c66e138: am 40990623: Merge "Remove Atom workaround."

* commit '9c66e13813ca75ba6f6f311fc7c0b18ff8152439':
4171e69c678ee2590f1b8670d5be85e24ab1f635 17-Oct-2014 Petar Jovanovic <petar.jovanovic@imgtec.com> [MIPS] Set default MIPS64 ISA revision to R6

MIPS64 Android defaults to MIPS64R6, so set the CPU for it.

Change-Id: I0d286382de7ddd26a976d02bcd1a0dc0cc6fd0a7
ib/Support/CompilerConfig.cpp
44a4312cf8046f50b5a02373a8122354fbfdcfc5 16-Oct-2014 Tim Murray <timmurray@google.com> am 0233352a: am 38883df9: add ARM support for x86 bcc if specified

* commit '0233352a6792f3fecb0f43b5d5c6c2fc1d4afa27':
add ARM support for x86 bcc if specified
0233352a6792f3fecb0f43b5d5c6c2fc1d4afa27 16-Oct-2014 Tim Murray <timmurray@google.com> am 38883df9: add ARM support for x86 bcc if specified

* commit '38883df9fc8fc1c488d5b53828c6bd3dfe2ddbb8':
add ARM support for x86 bcc if specified
6e5118b939a6c7dae3448c77b11d9eda24a8331a 16-Oct-2014 Tim Murray <timmurray@google.com> am 38883df9: add ARM support for x86 bcc if specified

* commit '38883df9fc8fc1c488d5b53828c6bd3dfe2ddbb8':
add ARM support for x86 bcc if specified
38883df9fc8fc1c488d5b53828c6bd3dfe2ddbb8 15-Oct-2014 Tim Murray <timmurray@google.com> add ARM support for x86 bcc if specified

bug 17765171

Change-Id: I6442f51ed1cab343bb50a0fadbcfe1ab8e998a95
ibbcc-targets.mk
b8f7bff464abf3652f6880437c7a4333d7d67151 02-Oct-2014 Tim Murray <timmurray@google.com> am 5b33c039: am f084384e: Merge "Remove Atom workaround." into lmp-dev

* commit '5b33c0399dd0e59cfae096b6e05e4c8f2c3ddf41':
Remove Atom workaround.
5b33c0399dd0e59cfae096b6e05e4c8f2c3ddf41 02-Oct-2014 Tim Murray <timmurray@google.com> am f084384e: Merge "Remove Atom workaround." into lmp-dev

* commit 'f084384e0d00eb169928199bf1093e7f0a53358a':
Remove Atom workaround.
e3fbf8ce65110b93cbe76e76662a5504ed2c0e05 02-Oct-2014 Stephen Hines <srhines@google.com> am 9427bf71: am 8f5c2a1c: Switch from __do_message -> std::error_category.

* commit '9427bf71500de3fc4ad38813e965116c97053d7c':
Switch from __do_message -> std::error_category.
9427bf71500de3fc4ad38813e965116c97053d7c 02-Oct-2014 Stephen Hines <srhines@google.com> am 8f5c2a1c: Switch from __do_message -> std::error_category.

* commit '8f5c2a1c1392a6d6bdb5700f73eeadd7b01ea0b7':
Switch from __do_message -> std::error_category.
5e433f6ce3f5c75cde4b2b68bf3c0e85903b695f 02-Oct-2014 Tim Murray <timmurray@google.com> am f084384e: Merge "Remove Atom workaround." into lmp-dev

* commit 'f084384e0d00eb169928199bf1093e7f0a53358a':
Remove Atom workaround.
f084384e0d00eb169928199bf1093e7f0a53358a 02-Oct-2014 Tim Murray <timmurray@google.com> Merge "Remove Atom workaround." into lmp-dev
e7c5289801f9a6341cc993abf70cf4ac559317e4 02-Oct-2014 Stephen Hines <srhines@google.com> am 8f5c2a1c: Switch from __do_message -> std::error_category.

* commit '8f5c2a1c1392a6d6bdb5700f73eeadd7b01ea0b7':
Switch from __do_message -> std::error_category.
c7d73a063bfd38639c6fe823b2b45e983df0e363 01-Oct-2014 Tim Murray <timmurray@google.com> Remove Atom workaround.

This is no longer necessary because the upstream bug has been
fixed.

bug 15343872

Change-Id: I1fecb106626c357be726ca9d0922e3528e288a75
ools/bcc_compat/Main.cpp
9c66e13813ca75ba6f6f311fc7c0b18ff8152439 01-Oct-2014 Tim Murray <timmurray@google.com> am 40990623: Merge "Remove Atom workaround."

* commit '40990623cd268dfcf5503abcd58465d14453d2f4':
Remove Atom workaround.
e698a66f7562f6dad3ea7d104090a23d5f241e9b 01-Oct-2014 Tim Murray <timmurray@google.com> am c7208b72: am 40990623: Merge "Remove Atom workaround."

* commit 'c7208b72b99006dd19850e1c2951160a55758371':
Remove Atom workaround.
c7208b72b99006dd19850e1c2951160a55758371 01-Oct-2014 Tim Murray <timmurray@google.com> am 40990623: Merge "Remove Atom workaround."

* commit '40990623cd268dfcf5503abcd58465d14453d2f4':
Remove Atom workaround.
40990623cd268dfcf5503abcd58465d14453d2f4 01-Oct-2014 Tim Murray <timmurray@google.com> Merge "Remove Atom workaround."
a834fe4d15ff1bb4ec6f27920e418a87f6cf00f4 01-Oct-2014 Tim Murray <timmurray@google.com> Remove Atom workaround.

This is no longer necessary because the upstream bug has been
fixed.

bug 15343872

Change-Id: I1fecb106626c357be726ca9d0922e3528e288a75
ools/bcc_compat/Main.cpp
8f5c2a1c1392a6d6bdb5700f73eeadd7b01ea0b7 30-Sep-2014 Stephen Hines <srhines@google.com> Switch from __do_message -> std::error_category.

Bug: 14416410

The original class is just an implementation detail of libc++, and not
something we can depend on for other C++11 implementations (like mingw).

Change-Id: Ief34ff97c3877fed428998aff9d42a3f0634a6aa
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
4fa84174bcc0deae582bbcb0a54bd1aa3af4dbb1 12-Sep-2014 Stephen Hines <srhines@google.com> am df58b391: am 14ed738d: Merge "Ensure that we only compile the proper bitwidth bitcode for an architecture."

* commit 'df58b391cc42660050c0a32f01d684ff025917c9':
Ensure that we only compile the proper bitwidth bitcode for an architecture.
9a1abdb54752d1f7ced8ad3a5099f5af615c86cb 12-Sep-2014 Dan Albert <danalbert@google.com> am 2e946870: am 5c7849c8: Merge "Fix some broken debug statements and asserts."

* commit '2e946870e2238553be39853c6e795ebb2020f641':
Fix some broken debug statements and asserts.
df58b391cc42660050c0a32f01d684ff025917c9 11-Sep-2014 Stephen Hines <srhines@google.com> am 14ed738d: Merge "Ensure that we only compile the proper bitwidth bitcode for an architecture."

* commit '14ed738d702861137663653cf0301fd680e8ae15':
Ensure that we only compile the proper bitwidth bitcode for an architecture.
14ed738d702861137663653cf0301fd680e8ae15 11-Sep-2014 Stephen Hines <srhines@google.com> Merge "Ensure that we only compile the proper bitwidth bitcode for an architecture."
2e946870e2238553be39853c6e795ebb2020f641 11-Sep-2014 Dan Albert <danalbert@google.com> am 5c7849c8: Merge "Fix some broken debug statements and asserts."

* commit '5c7849c834cd11cbbe13ef27761590aadc708ba4':
Fix some broken debug statements and asserts.
5c7849c834cd11cbbe13ef27761590aadc708ba4 11-Sep-2014 Dan Albert <danalbert@google.com> Merge "Fix some broken debug statements and asserts."
32f22d4b70c8fa92b4eef1a73fbf2cd2635bf2f2 10-Sep-2014 Stephen Hines <srhines@google.com> am 81c6c7e9: am 10ee6af6: Ensure that we only compile the proper bitwidth bitcode for an architecture.

* commit '81c6c7e980616fb2dd3da36acab11c3ada840a46':
Ensure that we only compile the proper bitwidth bitcode for an architecture.
81c6c7e980616fb2dd3da36acab11c3ada840a46 10-Sep-2014 Stephen Hines <srhines@google.com> am 10ee6af6: Ensure that we only compile the proper bitwidth bitcode for an architecture.

* commit '10ee6af612d585301c6f2b2f0f04e9bc80b338bb':
Ensure that we only compile the proper bitwidth bitcode for an architecture.
ab2e6c314a666ad53fc3dcd9cade5756b64d00a2 10-Sep-2014 Stephen Hines <srhines@google.com> Ensure that we only compile the proper bitwidth bitcode for an architecture.

Bug: 16031597

Prior to this change, it was possible to compile 32-bit bitcode for a 64-bit
architecture and/or 64-bit bitcode for a 32-bit architecture. This change
enforces that the target architecture's pointer width matches the pointer
width of the individual RS triples that we work with.

Change-Id: Ida65582875fb061911fc6a92cd99454f1ab6c5e6
(cherry picked from commit 10ee6af612d585301c6f2b2f0f04e9bc80b338bb)
ib/Core/Compiler.cpp
10ee6af612d585301c6f2b2f0f04e9bc80b338bb 10-Sep-2014 Stephen Hines <srhines@google.com> Ensure that we only compile the proper bitwidth bitcode for an architecture.

Bug: 16031597

Prior to this change, it was possible to compile 32-bit bitcode for a 64-bit
architecture and/or 64-bit bitcode for a 32-bit architecture. This change
enforces that the target architecture's pointer width matches the pointer
width of the individual RS triples that we work with.

Change-Id: Ida65582875fb061911fc6a92cd99454f1ab6c5e6
ib/Core/Compiler.cpp
bff3c55dd2a1d47c785d14063b5a361a3a4305b0 08-Sep-2014 Stephen Hines <srhines@google.com> am 7dff8daa: am d18f72f9: Merge "Fix typo: __arch64__ -> __aarch64__."

* commit '7dff8daaa8f656c7d08020726de484dcd2479413':
Fix typo: __arch64__ -> __aarch64__.
7dff8daaa8f656c7d08020726de484dcd2479413 08-Sep-2014 Stephen Hines <srhines@google.com> am d18f72f9: Merge "Fix typo: __arch64__ -> __aarch64__."

* commit 'd18f72f9b528051e3d937f6cbbd582c94a66b787':
Fix typo: __arch64__ -> __aarch64__.
d18f72f9b528051e3d937f6cbbd582c94a66b787 08-Sep-2014 Stephen Hines <srhines@google.com> Merge "Fix typo: __arch64__ -> __aarch64__."
f1568f8f926cf8b194bf4c3197b28429b9905550 20-Jul-2014 Dan Albert <danalbert@google.com> Fix some broken debug statements and asserts.

Change-Id: I1d88009cf8a3283f055bea93107ba84f1214d6d4
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
6ef3ba0fbb9842d76cfd6cb02049a04857a1909f 05-Sep-2014 Jian Li <jian.y.li@intel.com> am d5ce0f62: am 9ac10443: Set x86 SSE features explicitly in bcc

* commit 'd5ce0f62c57bb271697f26b9b3c9d62564acdc6e':
Set x86 SSE features explicitly in bcc
d5ce0f62c57bb271697f26b9b3c9d62564acdc6e 05-Sep-2014 Jian Li <jian.y.li@intel.com> am 9ac10443: Set x86 SSE features explicitly in bcc

* commit '9ac104431b18727ee2f2d60be294213a47354266':
Set x86 SSE features explicitly in bcc
9ac104431b18727ee2f2d60be294213a47354266 03-Sep-2014 Jian Li <jian.y.li@intel.com> Set x86 SSE features explicitly in bcc

Signed-off-by: Yong Chen <yong.a.chen@intel.com>

(cherry picked from commit 602ce0336c0ff5109923cee9b4426e913e718605)

Change-Id: Id6fcf75221874f4ffcd80cfdcd99a118dc591db7
ools/bcc/Main.cpp
25e6c208d02e3e7cbd71dab52f2291498d79b225 04-Sep-2014 Stephen Hines <srhines@google.com> am 4f20f863: am 2d112c02: Merge "Set x86 SSE features explicitly in bcc"

* commit '4f20f86320d66c101111a6c302efca765aff5113':
Set x86 SSE features explicitly in bcc
4f20f86320d66c101111a6c302efca765aff5113 04-Sep-2014 Stephen Hines <srhines@google.com> am 2d112c02: Merge "Set x86 SSE features explicitly in bcc"

* commit '2d112c0241dfa3093c00912845b3a5f7f1eb2d67':
Set x86 SSE features explicitly in bcc
2d112c0241dfa3093c00912845b3a5f7f1eb2d67 04-Sep-2014 Stephen Hines <srhines@google.com> Merge "Set x86 SSE features explicitly in bcc"
867e8ddd05452a10fbfbf1c7340ef8ea3dd44df8 03-Sep-2014 Logan Chien <logan.chien@mediatek.com> Fix typo: __arch64__ -> __aarch64__.

Change-Id: I7e0fc83a0be43459435d802c919ae781aceaf77c
nclude/bcc/Config/Config.h
602ce0336c0ff5109923cee9b4426e913e718605 03-Sep-2014 Jian Li <jian.y.li@intel.com> Set x86 SSE features explicitly in bcc

Change-Id: Ia31393f08703f9474fee31fc03de7888fca78413
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
ools/bcc/Main.cpp
dc8e6834728d8e1df31f4b5cac1ecf378f4e774b 22-Aug-2014 Stephen Hines <srhines@google.com> am 8cb6cc6b: am ea6b1c5a: Merge "Replace NULL macros with nullptr literals."

* commit '8cb6cc6baed0e2739b1dc23a62626484594b3069':
Replace NULL macros with nullptr literals.
8cb6cc6baed0e2739b1dc23a62626484594b3069 22-Aug-2014 Stephen Hines <srhines@google.com> am ea6b1c5a: Merge "Replace NULL macros with nullptr literals."

* commit 'ea6b1c5af978698f266f352c8a6f00ec3677e7e5':
Replace NULL macros with nullptr literals.
ea6b1c5af978698f266f352c8a6f00ec3677e7e5 22-Aug-2014 Stephen Hines <srhines@google.com> Merge "Replace NULL macros with nullptr literals."
00f534dbde6ec228febf7066175547f9fb4212f9 21-Aug-2014 Stephen Hines <srhines@google.com> am ffb7afb7: am def585e3: Merge "Replace android::String8 with std::string in libbcc"

* commit 'ffb7afb76188e0ef366a9712aa95c7c9823e5391':
Replace android::String8 with std::string in libbcc
ffb7afb76188e0ef366a9712aa95c7c9823e5391 21-Aug-2014 Stephen Hines <srhines@google.com> am def585e3: Merge "Replace android::String8 with std::string in libbcc"

* commit 'def585e3621d073fe2f2b747cd1f0556d62c6656':
Replace android::String8 with std::string in libbcc
900c6c1f08f7c572125d7d39abe0f0f9eafbfa14 14-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: Id2311cda59dd42c74b3ed54d3ff6cfd509012738
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitcodeTranslator.cpp
cinfo/BitcodeWrapper.cpp
cinfo/MetadataExtractor.cpp
cinfo/Wrap/bitcode_wrapperer.cpp
cinfo/Wrap/file_wrapper_input.cpp
cinfo/Wrap/file_wrapper_output.cpp
cinfo/tools/main.cpp
nclude/bcc/ExecutionEngine/CompilerRTSymbolResolver.h
nclude/bcc/ExecutionEngine/ObjectLoader.h
nclude/bcc/ExecutionEngine/SymbolResolverInterface.h
nclude/bcc/ExecutionEngine/SymbolResolvers.h
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSExecutable.h
nclude/bcc/Renderscript/RSScript.h
nclude/bcinfo/Wrap/bitcode_wrapperer.h
ib/Core/BCCContext.cpp
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.h
ib/ExecutionEngine/GDBJITRegistrar.cpp
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/ExecutionEngine/SymbolResolvers.cpp
ib/Renderscript/RSCompiler.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSExecutable.cpp
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/RSInfoReader.cpp
ib/Renderscript/RSScript.cpp
ib/Support/CompilerConfig.cpp
ib/Support/Disassembler.cpp
ib/Support/FileBase.cpp
ib/Support/Initialization.cpp
ib/Support/InputFile.cpp
ib/Support/OutputFile.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
3d7ea2b32afc405bfbed7c025635ee1b130382fe 21-Aug-2014 Stephen Hines <srhines@google.com> am 23431e84: am 963a73ca: Merge "Replaced android::Vector with std::vector."

* commit '23431e84c891fb87b64100b0f1587c7fca313e53':
Replaced android::Vector with std::vector.
23431e84c891fb87b64100b0f1587c7fca313e53 21-Aug-2014 Stephen Hines <srhines@google.com> am 963a73ca: Merge "Replaced android::Vector with std::vector."

* commit '963a73ca7b5df2cb67bf025274ea0fb972f0446a':
Replaced android::Vector with std::vector.
def585e3621d073fe2f2b747cd1f0556d62c6656 21-Aug-2014 Stephen Hines <srhines@google.com> Merge "Replace android::String8 with std::string in libbcc"
35978e7a7e87b7147789ff3ca9c3a6bf7dd165b0 11-Aug-2014 Chris Wailes <chriswailes@google.com> Replace android::String8 with std::string in libbcc

Change-Id: Ic384d60f3e2af0ba02990c904212f77cb1493e90
nclude/bcc/Renderscript/RSInfo.h
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSExecutable.cpp
ib/Renderscript/RSInfo.cpp
963a73ca7b5df2cb67bf025274ea0fb972f0446a 20-Aug-2014 Stephen Hines <srhines@google.com> Merge "Replaced android::Vector with std::vector."
aaac154402204dfeaccd417c94b4db80b99bf517 19-Aug-2014 Stephen Hines <srhines@google.com> am e3fef7a1: am 9330a6ab: Merge "Remove the instep parameter from expanded kernels."

* commit 'e3fef7a10ab2c71740bf3bb6900401184e736d69':
Remove the instep parameter from expanded kernels.
e3fef7a10ab2c71740bf3bb6900401184e736d69 19-Aug-2014 Stephen Hines <srhines@google.com> am 9330a6ab: Merge "Remove the instep parameter from expanded kernels."

* commit '9330a6ab1affdd7bccdd341c4aa4737cdedaa09e':
Remove the instep parameter from expanded kernels.
9330a6ab1affdd7bccdd341c4aa4737cdedaa09e 19-Aug-2014 Stephen Hines <srhines@google.com> Merge "Remove the instep parameter from expanded kernels."
5e7d876f8bae477a97606afee93066849a798844 26-Jul-2014 Chris Wailes <chriswailes@google.com> Replaced android::Vector with std::vector.

Change-Id: I9bcf36d088d423246312d97e2a87a05e90f6617d
nclude/bcc/ExecutionEngine/ObjectLoader.h
nclude/bcc/ExecutionEngine/SymbolResolverProxy.h
nclude/bcc/Renderscript/RSExecutable.h
nclude/bcc/Renderscript/RSInfo.h
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.h
ib/ExecutionEngine/ObjectLoader.cpp
ib/ExecutionEngine/ObjectLoaderImpl.h
ib/ExecutionEngine/SymbolResolverProxy.cpp
ib/Renderscript/RSExecutable.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/RSInfoReader.cpp
5010f641d1df6bc3447646ca7ef837410fb9b3dc 26-Jul-2014 Chris Wailes <chriswailes@google.com> Remove the instep parameter from expanded kernels.

Change-Id: I059db548a57702c576963f6b17a002b2ee393cdb
ib/Renderscript/RSForEachExpand.cpp
a8aad2ae01cf90da5ecc96cb38a1fa8be3523232 18-Aug-2014 Stephen Hines <srhines@google.com> am d41d2173: am 5d312ea1: Merge "Collapse the code paths for single- and multi-input kernels."

* commit 'd41d21731fd5a277076df2de588e9fe36c2a2c04':
Collapse the code paths for single- and multi-input kernels.
d41d21731fd5a277076df2de588e9fe36c2a2c04 18-Aug-2014 Stephen Hines <srhines@google.com> am 5d312ea1: Merge "Collapse the code paths for single- and multi-input kernels."

* commit '5d312ea145a587b6ab25b11475a677b40a489568':
Collapse the code paths for single- and multi-input kernels.
5d312ea145a587b6ab25b11475a677b40a489568 18-Aug-2014 Stephen Hines <srhines@google.com> Merge "Collapse the code paths for single- and multi-input kernels."
e10b8641813c701159c6615faaa58dd1a9b31ce5 15-Jul-2014 Chris Wailes <chriswailes@google.com> Collapse the code paths for single- and multi-input kernels.

This patch removes the distinction between single- and multi-input kernels in
libbcc. The same code is now gerenated regardless of the number of inputs for
both old- and new-style kernels.

Change-Id: Id70a223ea5e3aa2b0b935b2b7f9af933339ae8a4
ib/Renderscript/RSForEachExpand.cpp
f58f2516787997adc834cd3e12f4105432bf8ae1 13-Aug-2014 Tim Murray <timmurray@google.com> am 4cea01fa: resolved conflicts for merge of 2f2f7737 to lmp-dev-plus-aosp

* commit '4cea01fa3b2185c3b398fbea9df576e42f500aec':
Fixes AArch64 struct calling convention issue.
4cea01fa3b2185c3b398fbea9df576e42f500aec 13-Aug-2014 Tim Murray <timmurray@google.com> resolved conflicts for merge of 2f2f7737 to lmp-dev-plus-aosp

Change-Id: Idb5df78dabb0bc93505bb9a2f7cf5d7d0c1504d7
05139962b631aa8a35bc61a4cbb9753ec3d538ee 13-Aug-2014 Stephen Hines <srhines@google.com> am a3ce6bbf: am 27f734fc: (-s ours) Merge "Revert "Collapse the code paths for single- and multi-input kernels.""

* commit 'a3ce6bbfc071f56e75ddfdd058baa077dd240833':
Revert "Collapse the code paths for single- and multi-input kernels."
a3ce6bbfc071f56e75ddfdd058baa077dd240833 13-Aug-2014 Stephen Hines <srhines@google.com> am 27f734fc: (-s ours) Merge "Revert "Collapse the code paths for single- and multi-input kernels.""

* commit '27f734fc0298fb896651588e6ca0a9124e91a914':
Revert "Collapse the code paths for single- and multi-input kernels."
2c211583d873f9c1238556edbc1cb2236fef7328 13-Aug-2014 Stephen Hines <srhines@google.com> am 2aa97ef2: am e47cc8ff: (-s ours) Merge "Collapse the code paths for single- and multi-input kernels."

* commit '2aa97ef26dcd38592fa7bca33ac1d4b3748b9b05':
Collapse the code paths for single- and multi-input kernels.
2aa97ef26dcd38592fa7bca33ac1d4b3748b9b05 13-Aug-2014 Stephen Hines <srhines@google.com> am e47cc8ff: (-s ours) Merge "Collapse the code paths for single- and multi-input kernels."

* commit 'e47cc8ff93fd5ccf90f5b2acf39d8639fc9adb53':
Collapse the code paths for single- and multi-input kernels.
2f2f77379d126ee51aec2c050e2692975a933418 13-Aug-2014 Tim Murray <timmurray@google.com> Merge "Fixes AArch64 struct calling convention issue."
326d02a9f3cfe30caa21e5c2aecbd4c85112b363 01-Aug-2014 Chris Wailes <chriswailes@google.com> Fixes AArch64 struct calling convention issue.

Cherry-pick of c43e1ba9cf40277dd496fe503e777906d2755251

Change-Id: I9a760c1238ff8b30e0a29a2cd11a030b17b283e2
ib/Renderscript/RSForEachExpand.cpp
e47cc8ff93fd5ccf90f5b2acf39d8639fc9adb53 13-Aug-2014 Stephen Hines <srhines@google.com> Merge "Collapse the code paths for single- and multi-input kernels."
c1892a85dc2332f65b0c660e81807bf208cc4615 13-Aug-2014 Stephen Hines <srhines@google.com> am d94735a5: am 0fff908e: Merge "Enable MIPS64 triples"

* commit 'd94735a5d8afcc1d8d44282cd1489efdf2dc9d88':
Enable MIPS64 triples
d94735a5d8afcc1d8d44282cd1489efdf2dc9d88 13-Aug-2014 Stephen Hines <srhines@google.com> am 0fff908e: Merge "Enable MIPS64 triples"

* commit '0fff908e90f8a063ed513aa0224366ae1b425cf9':
Enable MIPS64 triples
27f734fc0298fb896651588e6ca0a9124e91a914 13-Aug-2014 Stephen Hines <srhines@google.com> Merge "Revert "Collapse the code paths for single- and multi-input kernels.""
efcede6546a85d4b93088c99f330c8871ddd39a3 13-Aug-2014 Stephen Hines <srhines@google.com> Revert "Collapse the code paths for single- and multi-input kernels."

This reverts commit 4ca0fbf10c1b36f821dafd3dcf0c91d6329582dc.

Change-Id: Ib21cc25657ee738dc39ddda52d5ead9524cb4da9
ib/Renderscript/RSForEachExpand.cpp
0fff908e90f8a063ed513aa0224366ae1b425cf9 13-Aug-2014 Stephen Hines <srhines@google.com> Merge "Enable MIPS64 triples"
c399d10c03768ae14974739e44985df5ff0b2d55 09-Aug-2014 Ying Wang <wangying@google.co> am 2a8b0a74: am 8d01bd8b: Exclude only modules with prebuilt in prebuilts/sdk.

* commit '2a8b0a7428c91fecc652c235ecd83aff3062cf39':
Exclude only modules with prebuilt in prebuilts/sdk.
2a8b0a7428c91fecc652c235ecd83aff3062cf39 09-Aug-2014 Ying Wang <wangying@google.co> am 8d01bd8b: Exclude only modules with prebuilt in prebuilts/sdk.

* commit '8d01bd8b61482f83539a7dbcec38df9a2e5a6c56':
Exclude only modules with prebuilt in prebuilts/sdk.
4ca0fbf10c1b36f821dafd3dcf0c91d6329582dc 15-Jul-2014 Chris Wailes <chriswailes@google.com> Collapse the code paths for single- and multi-input kernels.

This patch removes the distinction between single- and multi-input kernels in
libbcc. The same code is now gerenated regardless of the number of inputs for
both old- and new-style kernels.

Change-Id: I77e4b155cc7ca1581b05bf901c70ae53a9ff0b12
ib/Renderscript/RSForEachExpand.cpp
8d01bd8b61482f83539a7dbcec38df9a2e5a6c56 01-Aug-2014 Ying Wang <wangying@google.co> Exclude only modules with prebuilt in prebuilts/sdk.

So we can do tapas build in the full platform source tree.

Change-Id: I9bf8bcd61c9c9883a4ac7c94f2bc8db5025d59f0
(cherry picked from commit 1819690a18a6a122cd85dc8d0ef1004f08d3f3a0)
ndroid.mk
cinfo/Android.mk
ools/bcc_strip_attr/Android.mk
d16761a087270d749f0bd42919b7e12ebcf5d139 04-Aug-2014 Chris Wailes <chriswailes@google.com> am ec190b93: am c43e1ba9: Fixes AArch64 struct calling convention issue.

* commit 'ec190b93405b36298a739cda70624b70c570447e':
Fixes AArch64 struct calling convention issue.
ec190b93405b36298a739cda70624b70c570447e 04-Aug-2014 Chris Wailes <chriswailes@google.com> am c43e1ba9: Fixes AArch64 struct calling convention issue.

* commit 'c43e1ba9cf40277dd496fe503e777906d2755251':
Fixes AArch64 struct calling convention issue.
1819690a18a6a122cd85dc8d0ef1004f08d3f3a0 01-Aug-2014 Ying Wang <wangying@google.co> Exclude only modules with prebuilt in prebuilts/sdk.

So we can do tapas build in the full platform source tree.

Change-Id: I9bf8bcd61c9c9883a4ac7c94f2bc8db5025d59f0
ndroid.mk
cinfo/Android.mk
ools/bcc_strip_attr/Android.mk
c43e1ba9cf40277dd496fe503e777906d2755251 01-Aug-2014 Chris Wailes <chriswailes@google.com> Fixes AArch64 struct calling convention issue.

Change-Id: I9a760c1238ff8b30e0a29a2cd11a030b17b283e2
ib/Renderscript/RSForEachExpand.cpp
e1c4317424e06c1ed4f6e6d7aa760a2a2976d09c 25-Jul-2014 Stephen Hines <srhines@google.com> am fb6f5701: am f21590ea: Update libbcc for LLVM rebase to r212749.

* commit 'fb6f5701533a03e8323ccb0078c9dd5edb6df812':
Update libbcc for LLVM rebase to r212749.
fb6f5701533a03e8323ccb0078c9dd5edb6df812 25-Jul-2014 Stephen Hines <srhines@google.com> am f21590ea: Update libbcc for LLVM rebase to r212749.

* commit 'f21590eae009b4f596d7e448d0b8e142c46fc382':
Update libbcc for LLVM rebase to r212749.
55fa2cc2a62877c335e4413a45c37b559db76cfe 25-Jul-2014 Stephen Hines <srhines@google.com> am 590257e4: am 3fc91521: Merge "Re-do the layout of the RsForEachKernelStruct."

* commit '590257e4a7a42b5ad8962a813a36833f038aac97':
Re-do the layout of the RsForEachKernelStruct.
6ca75aa2b9a4c5c45e1223edce854bd525437f00 25-Jul-2014 Stephen Hines <srhines@google.com> am 754e8f1a: am dab47508: Merge "Add support for extracting input counts from bitcode files."

* commit '754e8f1aec2ca4a12558da7bf8cca9c7eefe1e13':
Add support for extracting input counts from bitcode files.
590257e4a7a42b5ad8962a813a36833f038aac97 25-Jul-2014 Stephen Hines <srhines@google.com> am 3fc91521: Merge "Re-do the layout of the RsForEachKernelStruct."

* commit '3fc91521640692f844aece8b1743c4df702d1c66':
Re-do the layout of the RsForEachKernelStruct.
754e8f1aec2ca4a12558da7bf8cca9c7eefe1e13 25-Jul-2014 Stephen Hines <srhines@google.com> am dab47508: Merge "Add support for extracting input counts from bitcode files."

* commit 'dab475081c6e43342782980b87ab584d5412c1f1':
Add support for extracting input counts from bitcode files.
f21590eae009b4f596d7e448d0b8e142c46fc382 16-Jul-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r212749.

Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
ndroid.mk
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
cinfo/BitcodeTranslator.cpp
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Support/FileBase.h
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Support/FileBase.cpp
ib/Support/OutputFile.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
dab475081c6e43342782980b87ab584d5412c1f1 25-Jul-2014 Stephen Hines <srhines@google.com> Merge "Add support for extracting input counts from bitcode files."
3fc91521640692f844aece8b1743c4df702d1c66 25-Jul-2014 Stephen Hines <srhines@google.com> Merge "Re-do the layout of the RsForEachKernelStruct."
a1662fca0a6c576ec662b1f36f3fe28b9b7d89aa 24-Jul-2014 Stephen Hines <srhines@google.com> am 5a9ed45b: am 4566d155: Merge "Update libbcc for LLVM rebase to r212749."

* commit '5a9ed45b8b7de93e55f9fd5fa5d059610d271fb6':
Update libbcc for LLVM rebase to r212749.
5a9ed45b8b7de93e55f9fd5fa5d059610d271fb6 24-Jul-2014 Stephen Hines <srhines@google.com> am 4566d155: Merge "Update libbcc for LLVM rebase to r212749."

* commit '4566d155a7e7ae122986c8e11f40dd1c43fea312':
Update libbcc for LLVM rebase to r212749.
4566d155a7e7ae122986c8e11f40dd1c43fea312 24-Jul-2014 Stephen Hines <srhines@google.com> Merge "Update libbcc for LLVM rebase to r212749."
c9409fea8a606dfc84fa218be16de6225276540c 17-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> am c2ff24d5: am ef406964: Deprecate rs_fp_imprecise.

* commit 'c2ff24d5752c30d94f43eda803c30d83e47d4720':
fa17cf8bfe681066bdde85813fde3b6587cf556e 17-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> am ef406964: Deprecate rs_fp_imprecise.

* commit 'ef406964e2ba7e45d3a044d2fb459dce92569560':
Deprecate rs_fp_imprecise.
c2ff24d5752c30d94f43eda803c30d83e47d4720 17-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> am ef406964: Deprecate rs_fp_imprecise.

* commit 'ef406964e2ba7e45d3a044d2fb459dce92569560':
Deprecate rs_fp_imprecise.
cdaefb4131d90fce97f78cb4a5375470d73f0b1e 17-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> am 539e2985: am 0dd6efbc: Merge "Deprecate rs_fp_imprecise."

* commit '539e29852f2c47f037cf2702e6aab913c8fc51d3':
Deprecate rs_fp_imprecise.
539e29852f2c47f037cf2702e6aab913c8fc51d3 17-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> am 0dd6efbc: Merge "Deprecate rs_fp_imprecise."

* commit '0dd6efbce461336f96ccec7ac0e5040199709a44':
Deprecate rs_fp_imprecise.
ef406964e2ba7e45d3a044d2fb459dce92569560 08-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Deprecate rs_fp_imprecise.

If rs_fp_imprecise is specified, issue a warning and
use rs_fp_relaxed instead.

Change-Id: I054fa32128bda60a6d22a0a6a590cd9f3575a2ca
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Renderscript/RSInfo.h
nclude/bcinfo/MetadataExtractor.h
ib/Renderscript/RSInfo.cpp
0dd6efbce461336f96ccec7ac0e5040199709a44 17-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Deprecate rs_fp_imprecise."
d0993af5b1337f8186dd9aedea2e138a919e02e9 16-Jul-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r212749.

Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
ndroid.mk
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
cinfo/BitcodeTranslator.cpp
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Support/FileBase.h
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Support/FileBase.cpp
ib/Support/OutputFile.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
57eddc1be9aa7c6b2c337f4c58ddde2dd77cfcb9 16-Jul-2014 Tim Murray <timmurray@google.com> am fa898901: am 8d254fd4: Add override to force the CPU variant.

* commit 'fa898901521a16d1a63b847e132c06aca0f1a730':
Add override to force the CPU variant.
fa898901521a16d1a63b847e132c06aca0f1a730 16-Jul-2014 Tim Murray <timmurray@google.com> am 8d254fd4: Add override to force the CPU variant.

* commit '8d254fd40df498a21ca540cb355ee8c6a9250ac0':
Add override to force the CPU variant.
8d254fd40df498a21ca540cb355ee8c6a9250ac0 15-Jul-2014 Tim Murray <timmurray@google.com> Add override to force the CPU variant.

Change-Id: I5bed6d1c064c0e48b370acd3e9d3c2a5e39ffea4
ndroid.mk
ib/Support/CompilerConfig.cpp
ibbcc-device-build.mk
ibbcc-host-build.mk
5bac4661eb0806cb6b769e07c77bffb7998c516e 14-Jul-2014 Stephen Hines <srhines@google.com> am 5532ceb9: am dacf0ab3: am 4159bfdd: am 6fe275e6: Merge "Adds support for multi-input kernels to libbcc."

* commit '5532ceb9682971a24dd4377a54f2dc732d6eb537':
5532ceb9682971a24dd4377a54f2dc732d6eb537 14-Jul-2014 Stephen Hines <srhines@google.com> am dacf0ab3: am 4159bfdd: am 6fe275e6: Merge "Adds support for multi-input kernels to libbcc."

* commit 'dacf0ab3a5b1011bf39d05ca2a09b7666d232b07':
d9fa00bce9a8e113b71682e3df8840c6e677494f 14-Jul-2014 Stephen Hines <srhines@google.com> am 9e97c338: am 6fe275e6: Merge "Adds support for multi-input kernels to libbcc."

* commit '9e97c33808d8fc12517bdb9b4f6e3d145ddd01fe':
9e97c33808d8fc12517bdb9b4f6e3d145ddd01fe 13-Jul-2014 Stephen Hines <srhines@google.com> am 6fe275e6: Merge "Adds support for multi-input kernels to libbcc."

* commit '6fe275e6c4a093e1cac3bf48814db642839a58fd':
Adds support for multi-input kernels to libbcc.
097ca14d8b6908d0e5b7f8f38011cad4fb94bc26 09-Jul-2014 Chris Wailes <chriswailes@google.com> Re-do the layout of the RsForEachKernelStruct.

This patch changes libbcc to reflect the new layout of RsForEachKernelStruct
as defined in frameworks/rs/cpu_ref/rsCpuCore.h. It also introduces some
macros to eliminate the use of magic numbers.

Change-Id: I7788ef754add44463b17a6b571c7cde6e73b9712
ib/Renderscript/RSForEachExpand.cpp
a668182c61d2f3079416317b6c2914428a6a4c7a 12-Jul-2014 Chris Wailes <chriswailes@google.com> Add support for extracting input counts from bitcode files.

This patch adds functionality to the MetadataExtractor to calculate the number
of inputs that a kernel expects and store them in the
mExportForEachInputcountList member variable, accessable through
getExportForEachInputCountList().

Change-Id: I10516d15595cdc1f2301059619c29e62a05f3638
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcinfo/MetadataExtractor.h
55e11789bded7217aea270d5c60c0cf32b2a70c2 10-Jul-2014 Petar Jovanovic <petar.jovanovic@imgtec.com> Enable MIPS64 triples

Enable mips64 triples if PROVIDE_MIPS64_CODEGEN is defined, and apart
from acknowledging it, do nothing for the time being.

Change-Id: I46128e5698888bf327a32c08107cf23868b6c0b3
ib/Support/CompilerConfig.cpp
5f2e6b9bc70956fc30a9a6d1679f587e4a729884 08-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Deprecate rs_fp_imprecise.

If rs_fp_imprecise is specified, issue a warning and
use rs_fp_relaxed instead.

Change-Id: I054fa32128bda60a6d22a0a6a590cd9f3575a2ca
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Renderscript/RSInfo.h
nclude/bcinfo/MetadataExtractor.h
ib/Renderscript/RSInfo.cpp
dacf0ab3a5b1011bf39d05ca2a09b7666d232b07 09-Jul-2014 Stephen Hines <srhines@google.com> am 4159bfdd: am 6fe275e6: Merge "Adds support for multi-input kernels to libbcc."

* commit '4159bfdd2b6edb0359e16c377411adfa7cb0b57a':
Adds support for multi-input kernels to libbcc.
4159bfdd2b6edb0359e16c377411adfa7cb0b57a 08-Jul-2014 Stephen Hines <srhines@google.com> am 6fe275e6: Merge "Adds support for multi-input kernels to libbcc."

* commit '6fe275e6c4a093e1cac3bf48814db642839a58fd':
Adds support for multi-input kernels to libbcc.
6fe275e6c4a093e1cac3bf48814db642839a58fd 08-Jul-2014 Stephen Hines <srhines@google.com> Merge "Adds support for multi-input kernels to libbcc."
881cda4f5b793a1e7f7d33cf4a31efc3fdbba4fd 23-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to libbcc.

This patch modifies libbcc in the following ways:
* Adjusted the data-layout of the LLVM version of RsForEachStubParamStruct to
accommodate a pointer to an array of input allocations and a pointer to an
array of stride sizes for each of these allocations.
* Changed how some LLVM values are stored in ExpandKernel.
* Causes expanded multi-input kernels to extract input allocation base pointers
from a field in the param strcut and load values from these allocations
appropriately.
* Causes expanded multi-input kernels to use the provided dynamic input stride
sizes if no appropriate static type information is present.
* Modified bitinfo to support a new development API target which is used to
version gate support for multi-input kernels.

Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
cinfo/BitcodeTranslator.cpp
ib/Renderscript/RSForEachExpand.cpp
46f8974d0b40670fc280f9dfdb00cbda571c6330 01-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> am ddef31d8: am 2df3448d: Merge "Fix 64 bit issue in sha1.c"

* commit 'ddef31d805109a4f1684eb56b3bb0d9e2c9bb595':
Fix 64 bit issue in sha1.c
ddef31d805109a4f1684eb56b3bb0d9e2c9bb595 01-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> am 2df3448d: Merge "Fix 64 bit issue in sha1.c"

* commit '2df3448de56c84bb9d6dddb81aa916702c5cfc97':
Fix 64 bit issue in sha1.c
2df3448de56c84bb9d6dddb81aa916702c5cfc97 01-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Fix 64 bit issue in sha1.c"
73775bb7859ad9a326de3508a579c553c4dec6ce 01-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Fix 64 bit issue in sha1.c

Use uint32_t instead of unsigned long. Changed unsigned char to uint8_t for consistency.

Note that the length is still a 32 bit value. At some point, we could change it to a 64 bit value.

Change-Id: Ia3126ee46741d7ec5f6a249fd60b9951a416e929
ib/Support/sha1.c
ib/Support/sha1.h
00a68f0a68dbd3b71b9426d911b7334d5d3a5143 27-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am e17454cf: am 17d3aed6: Merge "Use build fingerprint and compile command for caching."

* commit 'e17454cf6ecdf4c14e9118712b63488e106b580f':
Use build fingerprint and compile command for caching.
e17454cf6ecdf4c14e9118712b63488e106b580f 27-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 17d3aed6: Merge "Use build fingerprint and compile command for caching."

* commit '17d3aed6c5c77210090b2e02a8e209d0a042c5f4':
Use build fingerprint and compile command for caching.
17d3aed6c5c77210090b2e02a8e209d0a042c5f4 27-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Use build fingerprint and compile command for caching."
f2ac3176c351cd80bce77fe1488f3de2d0789c1b 26-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Use build fingerprint and compile command for caching.

If either of those have changed, we need to invalidate the
compiled bit code.

Change-Id: I9b5cdc19e29237dc7fb2ec1627a167f3f8987702
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSInfo.h
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/RSInfoReader.cpp
ools/bcc/Main.cpp
a4cd44654e04b2dcd8e811b76617892c04efd39f 20-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 3108f9c6: am cd399bad: Merge "Change cache dependency tracking."

* commit '3108f9c6773c764396a644dc78eeb090c901cc5e':
Change cache dependency tracking.
3108f9c6773c764396a644dc78eeb090c901cc5e 20-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am cd399bad: Merge "Change cache dependency tracking."

* commit 'cd399bad1941cbc64e5d52314370fddb1b83faae':
Change cache dependency tracking.
cd399bad1941cbc64e5d52314370fddb1b83faae 20-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Change cache dependency tracking."
c5e607adff80a66bc5420baffd299862abdf368d 19-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Change cache dependency tracking.

Remove the fix dependencies and make it depend only on the source
hash. More changes coming soon to add dependencies on the Android
build fingerprint and the command line used to compile.

Change-Id: I8964044affccf52326ce286f879307eca79d0b24
ndroid.mk
leanSpec.mk
nclude/bcc/Config/BuildInfo.h
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSInfo.h
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/RSInfoReader.cpp
ib/Renderscript/RSInfoWriter.cpp
ib/Renderscript/RSScript.cpp
ibbcc-gen-build-info.mk
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
ools/build/gen-build-info.py
ools/build/gen-sha1-stamp.py
dcb4cfaa01ee8e5bc32f06a53310e5d915865885 19-Jun-2014 Brian Carlstrom <bdc@google.com> am 42747697: am dc6c3df3: Merge "Replace libdvm reference with libart"

* commit '42747697520ba193baaac263fa4abdb075aefc48':
Replace libdvm reference with libart
42747697520ba193baaac263fa4abdb075aefc48 19-Jun-2014 Brian Carlstrom <bdc@google.com> am dc6c3df3: Merge "Replace libdvm reference with libart"

* commit 'dc6c3df32c527dcfd1b454559e80e6b74d59750b':
Replace libdvm reference with libart
e23a74ef92c0344effa184a33661213323518069 19-Jun-2014 Tim Murray <timmurray@google.com> am 3a61b504: am ca5135eb: Merge "Fix build break caused by missing ifdefs."

* commit '3a61b50422b0e4383c7463b0f528cdcbc49df66d':
Fix build break caused by missing ifdefs.
3a61b50422b0e4383c7463b0f528cdcbc49df66d 19-Jun-2014 Tim Murray <timmurray@google.com> am ca5135eb: Merge "Fix build break caused by missing ifdefs."

* commit 'ca5135eb0f6aa12c28433f66249e218479e5d6dc':
Fix build break caused by missing ifdefs.
afb556afc4e79ad4cf95f3c8d8cb3c94bc594ede 19-Jun-2014 Tim Murray <timmurray@google.com> am 886f004b: am fd3f8c64: Merge "Don\'t require libclcore_neon.bc on AArch64."

* commit '886f004baac396bbb5b5f4a452e57aa5e09d2a40':
Don't require libclcore_neon.bc on AArch64.
886f004baac396bbb5b5f4a452e57aa5e09d2a40 19-Jun-2014 Tim Murray <timmurray@google.com> am fd3f8c64: Merge "Don\'t require libclcore_neon.bc on AArch64."

* commit 'fd3f8c64f5ff70660f9760dbc61064849905f1de':
Don't require libclcore_neon.bc on AArch64.
ca5135eb0f6aa12c28433f66249e218479e5d6dc 19-Jun-2014 Tim Murray <timmurray@google.com> Merge "Fix build break caused by missing ifdefs."
37dc23b9917dcb997ee144936b2b27d3881942eb 19-Jun-2014 Tim Murray <timmurray@google.com> Fix build break caused by missing ifdefs.

Change-Id: I29e8e1c58b9702873a2a4b932794720ee279492e
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/RSScript.cpp
dc6c3df32c527dcfd1b454559e80e6b74d59750b 19-Jun-2014 Brian Carlstrom <bdc@google.com> Merge "Replace libdvm reference with libart"
cb2d2e7a169b376f93f7fd24fc0f79d90d6160d4 19-Jun-2014 Brian Carlstrom <bdc@google.com> Replace libdvm reference with libart

Bug: 14298175
Change-Id: I661e3dcd36c473d9c3224c09735bf2f601134736
db_plugin/android-commands.py
fd3f8c64f5ff70660f9760dbc61064849905f1de 18-Jun-2014 Tim Murray <timmurray@google.com> Merge "Don't require libclcore_neon.bc on AArch64."
9d7e74f55ff8300b80f98cc60665349298af5869 17-Jun-2014 Andrew Hsieh <andrewhsieh@google.com> am 90eed704: am 3a962047: Merge "Use gcc instead of clang when building Windows SDK."

* commit '90eed70421328618dac77a9d94c7417a344cbf05':
Use gcc instead of clang when building Windows SDK.
90eed70421328618dac77a9d94c7417a344cbf05 17-Jun-2014 Andrew Hsieh <andrewhsieh@google.com> am 3a962047: Merge "Use gcc instead of clang when building Windows SDK."

* commit '3a9620475bd79de5668f8da903e24ba8287b3a33':
Use gcc instead of clang when building Windows SDK.
689b4f7a9562414d4ea748450b8acd57e6ba475e 17-Jun-2014 Dan Albert <danalbert@google.com> am d50c3571: am c1c2e6ff: Merge "Don\'t use bionic\'s sha1 functionality."

* commit 'd50c3571a96e325b85f61957080e37d87328c69d':
Don't use bionic's sha1 functionality.
d50c3571a96e325b85f61957080e37d87328c69d 17-Jun-2014 Dan Albert <danalbert@google.com> am c1c2e6ff: Merge "Don\'t use bionic\'s sha1 functionality."

* commit 'c1c2e6ff7d8e5ff0f28d9082e68a8ea8ea981475':
Don't use bionic's sha1 functionality.
3a9620475bd79de5668f8da903e24ba8287b3a33 17-Jun-2014 Andrew Hsieh <andrewhsieh@google.com> Merge "Use gcc instead of clang when building Windows SDK."
c1c2e6ff7d8e5ff0f28d9082e68a8ea8ea981475 17-Jun-2014 Dan Albert <danalbert@google.com> Merge "Don't use bionic's sha1 functionality."
18f5eb94759bb0ded32472ff7499815119bb9701 17-Jun-2014 Dan Albert <danalbert@google.com> Don't use bionic's sha1 functionality.

Bionic is getting rid of its SHA1 in favor of openssl's.

Change-Id: Ia64e1f6bb9633fccdb5bb61c0d6e4af599b8c938
ib/Support/Android.mk
ee44579ab1464d7b4dcd900eaccc3c857729f0e2 17-Jun-2014 Stephen Hines <srhines@google.com> am ef1ea78a: am f087ddb5: Merge "Simple cleanups in RSForEachExpand.cpp"

* commit 'ef1ea78aa5edfc8cd1307522f9d55f4a718ccad0':
Simple cleanups in RSForEachExpand.cpp
ef1ea78aa5edfc8cd1307522f9d55f4a718ccad0 17-Jun-2014 Stephen Hines <srhines@google.com> am f087ddb5: Merge "Simple cleanups in RSForEachExpand.cpp"

* commit 'f087ddb5436ea1e524548745e521039f923e675d':
Simple cleanups in RSForEachExpand.cpp
f087ddb5436ea1e524548745e521039f923e675d 16-Jun-2014 Stephen Hines <srhines@google.com> Merge "Simple cleanups in RSForEachExpand.cpp"
bdbff6e600b0d834e4770f65c7d2df93d7ef305c 13-Jun-2014 Chris Wailes <chriswailes@google.com> Simple cleanups in RSForEachExpand.cpp

Re-named single character variable names.
Re-named some variables for clarity.
Factored out type construction code to only occur once every time the pass is
run on a module.
Removed unnecessary temporary vectors.
Removed a check for an invariant guaranteed by another function.
Added some assertions.

Change-Id: I0debcc301ed28f4ecaf7dadcaada604e3eff9830
ib/Renderscript/RSForEachExpand.cpp
a5b1343e0db3eaf41ced3d9978cd72b8cf4cda1f 14-Jun-2014 Tim Murray <timmurray@google.com> Don't require libclcore_neon.bc on AArch64.

Change-Id: Ieb4eea41f74917c201a07aa8b246816430fcac5c
ndroid.mk
ib/Renderscript/RSInfo.cpp
ibbcc-targets.mk
ibbcc.sha1.mk
be115357011f1ddbaaa8069d5099878fed8f6d30 26-May-2014 Logan Chien <tzuhsiang.chien@gmail.com> Use gcc instead of clang when building Windows SDK.

Change-Id: I536f8fb3edfbb5f49d006d5119d4012d30f1d3ec
ndroid.mk
ibbcc-host-build.mk
d3f30c039f7d568337f6bb1e0a7580ce545ffc31 06-Jun-2014 Ian Rogers <irogers@google.com> am 15aeacc2: am 26c7d93b: Merge "Build libbcc for the host as 32-bit only."

* commit '15aeacc29b341de06551cacff2c4e34f04b02fa0':
Build libbcc for the host as 32-bit only.
15aeacc29b341de06551cacff2c4e34f04b02fa0 06-Jun-2014 Ian Rogers <irogers@google.com> am 26c7d93b: Merge "Build libbcc for the host as 32-bit only."

* commit '26c7d93bc832e3da72bf6999e64e26059a5eaa98':
Build libbcc for the host as 32-bit only.
26c7d93bc832e3da72bf6999e64e26059a5eaa98 06-Jun-2014 Ian Rogers <irogers@google.com> Merge "Build libbcc for the host as 32-bit only."
df2acbb7a6b6f81efdc4a065f12ac047e80fc24a 05-Jun-2014 Ian Rogers <irogers@google.com> Build libbcc for the host as 32-bit only.

Change-Id: I12acab423f12e1b3bc82c0d64a04e362b6969445
ndroid.mk
ibbcc-host-build.mk
6544220f685f0dd61cd0895dcbec9dc1be972617 05-Jun-2014 Stephen Hines <srhines@google.com> am a693779f: am 2bfe3abf: Merge "Remove unnecessary stlport dependency."

* commit 'a693779fd633e6cf0ee9e675b8dff2f2ea8a2272':
Remove unnecessary stlport dependency.
a693779fd633e6cf0ee9e675b8dff2f2ea8a2272 05-Jun-2014 Stephen Hines <srhines@google.com> am 2bfe3abf: Merge "Remove unnecessary stlport dependency."

* commit '2bfe3abf2b54fb39cb9879b6e30d202885c5aba6':
Remove unnecessary stlport dependency.
2bfe3abf2b54fb39cb9879b6e30d202885c5aba6 05-Jun-2014 Stephen Hines <srhines@google.com> Merge "Remove unnecessary stlport dependency."
52031f202ce4598dd499938fe82db94032c10a53 05-Jun-2014 Stephen Hines <srhines@google.com> Remove unnecessary stlport dependency.

Change-Id: Ie0ae94c514ab63fae52d3c66a93fde9bdba30757
cinfo/Android.mk
ools/bcc/Android.mk
57f43517221f142e78d93aad330a9d882455b4fb 05-Jun-2014 Stephen Hines <srhines@google.com> am b08d77d9: am 74ced127: Merge "[MIPS64] Add missing MIPS64_CODEGEN flags"

* commit 'b08d77d96158a84e9c8e0a51fb56e43d8f9a7a21':
[MIPS64] Add missing MIPS64_CODEGEN flags
b08d77d96158a84e9c8e0a51fb56e43d8f9a7a21 05-Jun-2014 Stephen Hines <srhines@google.com> am 74ced127: Merge "[MIPS64] Add missing MIPS64_CODEGEN flags"

* commit '74ced127cf0e5d02fb142a6a32fbff7a12d5c7ea':
[MIPS64] Add missing MIPS64_CODEGEN flags
74ced127cf0e5d02fb142a6a32fbff7a12d5c7ea 05-Jun-2014 Stephen Hines <srhines@google.com> Merge "[MIPS64] Add missing MIPS64_CODEGEN flags"
d5a4204de2cd1fd1601904f044137309ff6b7285 22-May-2014 Dragoslav Sicarov <dragoslav.sicarov@rt-rk.com> [MIPS64] Add missing MIPS64_CODEGEN flags

Change-Id: I891e6a5be4e6d3949f34c26a0db0f29f31e95261
nclude/bcc/Config/Config.h
ibbcc-targets.mk
368ec4c6effda78e525294435ef44ba64efdc300 03-Jun-2014 Tim Murray <timmurray@google.com> am ded75857: am 814abe9e: am d66c04c2: Merge "Update libbcc for ARM64."

* commit 'ded758571af6960b65b02a7a9e11939863cccad2':
Update libbcc for ARM64.
ded758571af6960b65b02a7a9e11939863cccad2 03-Jun-2014 Tim Murray <timmurray@google.com> am 814abe9e: am d66c04c2: Merge "Update libbcc for ARM64."

* commit '814abe9eae3bde1ddc64fad30e3ed930579ee797':
Update libbcc for ARM64.
814abe9eae3bde1ddc64fad30e3ed930579ee797 03-Jun-2014 Tim Murray <timmurray@google.com> am d66c04c2: Merge "Update libbcc for ARM64."

* commit 'd66c04c23fc97bd09a53a2d432d0f6f8bb936484':
Update libbcc for ARM64.
d66c04c23fc97bd09a53a2d432d0f6f8bb936484 03-Jun-2014 Tim Murray <timmurray@google.com> Merge "Update libbcc for ARM64."
08dd4c577f8f1c7b85d84b581bd3936fd1f755a6 31-May-2014 Stephen Hines <srhines@google.com> am e108e55f: am 8f20522b: am 3a410d73: Merge "Turn off Atom code generation for bcc_compat."

* commit 'e108e55f921b01da35c6fc90dab28d184d7664fa':
Turn off Atom code generation for bcc_compat.
7781b18b300490f605c3d642055d68fa25ed5d6e 31-May-2014 Stephen Hines <srhines@google.com> am 9028511a: am 65267572: am 31fe6e3d: Merge "Update libbcc for LLVM 3.5 rebase (r209713)."

* commit '9028511ab9f81c31a5d75a22453058cc8e935c3e':
Update libbcc for LLVM 3.5 rebase (r209713).
e108e55f921b01da35c6fc90dab28d184d7664fa 31-May-2014 Stephen Hines <srhines@google.com> am 8f20522b: am 3a410d73: Merge "Turn off Atom code generation for bcc_compat."

* commit '8f20522b93fe3440e193f153b0c1f20cdb5c014b':
Turn off Atom code generation for bcc_compat.
9028511ab9f81c31a5d75a22453058cc8e935c3e 31-May-2014 Stephen Hines <srhines@google.com> am 65267572: am 31fe6e3d: Merge "Update libbcc for LLVM 3.5 rebase (r209713)."

* commit '6526757274b749384f4d751d542215dd0ea945b7':
Update libbcc for LLVM 3.5 rebase (r209713).
8f20522b93fe3440e193f153b0c1f20cdb5c014b 31-May-2014 Stephen Hines <srhines@google.com> am 3a410d73: Merge "Turn off Atom code generation for bcc_compat."

* commit '3a410d73c47fb05d4a3918ef3340fd38b98656af':
Turn off Atom code generation for bcc_compat.
6526757274b749384f4d751d542215dd0ea945b7 31-May-2014 Stephen Hines <srhines@google.com> am 31fe6e3d: Merge "Update libbcc for LLVM 3.5 rebase (r209713)."

* commit '31fe6e3d719f673a0766eecd9943cd166ab18770':
Update libbcc for LLVM 3.5 rebase (r209713).
3a410d73c47fb05d4a3918ef3340fd38b98656af 31-May-2014 Stephen Hines <srhines@google.com> Merge "Turn off Atom code generation for bcc_compat."
31fe6e3d719f673a0766eecd9943cd166ab18770 31-May-2014 Stephen Hines <srhines@google.com> Merge "Update libbcc for LLVM 3.5 rebase (r209713)."
ebbee5f26063a1edb550de993ecf37047063a01f 30-May-2014 Stephen Hines <srhines@google.com> am afbeb7d4: am 5ae05e1c: am de1699ad: Merge "Only force MIPS to static relocation if they were using the default."

* commit 'afbeb7d40e6fd409f5dd6f3b15e8eea38644069d':
Only force MIPS to static relocation if they were using the default.
afbeb7d40e6fd409f5dd6f3b15e8eea38644069d 30-May-2014 Stephen Hines <srhines@google.com> am 5ae05e1c: am de1699ad: Merge "Only force MIPS to static relocation if they were using the default."

* commit '5ae05e1cc9f026012aa173405be7050bf3ee5766':
Only force MIPS to static relocation if they were using the default.
5ae05e1cc9f026012aa173405be7050bf3ee5766 30-May-2014 Stephen Hines <srhines@google.com> am de1699ad: Merge "Only force MIPS to static relocation if they were using the default."

* commit 'de1699ad93b242ce559bfa0fe2b206f76176cb6b':
Only force MIPS to static relocation if they were using the default.
de1699ad93b242ce559bfa0fe2b206f76176cb6b 30-May-2014 Stephen Hines <srhines@google.com> Merge "Only force MIPS to static relocation if they were using the default."
634ac6c59bf2d46270da48fdf7c2af834d2a78b2 30-May-2014 Stephen Hines <srhines@google.com> Turn off Atom code generation for bcc_compat.

Bug: 15343872
Change-Id: Ibd29f75ecf42835085089dc7f4a0c29c0812eebd
ools/bcc_compat/Main.cpp
a630078b32eb37a8de91ae09e26babf235d4fc9f 29-May-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM 3.5 rebase (r209713).

Change-Id: I0e882c84176d462958db05e4c9c10bfe995b8ed1
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/tools/main.cpp
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ools/bcc/Main.cpp
ools/bcc_strip_attr/bcc_strip_attr.cpp
a16a9161fd71ea0316bbb741df2da6f433d68b20 30-May-2014 Stephen Hines <srhines@google.com> Only force MIPS to static relocation if they were using the default.

Change-Id: Iddb83158f8862087cccea97e3ebcec980b8f044a
ib/Support/CompilerConfig.cpp
26318327257ffd6c7dd29db0373f608555f6ef97 28-May-2014 Tim Murray <timmurray@google.com> am 36b6829e: am 21ec904d: am 5a282855: Merge "Fix foreach func vector resize issue."

* commit '36b6829e53bc45719720c056f7b21ee0b0e7a11f':
Fix foreach func vector resize issue.
36b6829e53bc45719720c056f7b21ee0b0e7a11f 28-May-2014 Tim Murray <timmurray@google.com> am 21ec904d: am 5a282855: Merge "Fix foreach func vector resize issue."

* commit '21ec904d883dda37c5984ba1c70c3cf0e43063d1':
Fix foreach func vector resize issue.
21ec904d883dda37c5984ba1c70c3cf0e43063d1 28-May-2014 Tim Murray <timmurray@google.com> am 5a282855: Merge "Fix foreach func vector resize issue."

* commit '5a2828551cb24175698920a72f3e4ce390bc905e':
Fix foreach func vector resize issue.
4f7fdd47da5135a508bdfca445347fae5e8898ba 28-May-2014 Tim Murray <timmurray@google.com> Update libbcc for ARM64.

Properly sets NEON/VFP on ARM64. Begins to remove cache from libbcc.

Change-Id: I66f50fa20d606c38d5e7af0a6fa8c6e73b2aff32
ndroid.mk
ib/Renderscript/RSInfoReader.cpp
ibbcc-targets.mk
ibbcc.sha1.mk
5a2828551cb24175698920a72f3e4ce390bc905e 28-May-2014 Tim Murray <timmurray@google.com> Merge "Fix foreach func vector resize issue."
373f5e7baf1567fa32f6a3033788641ab445a28c 28-May-2014 Tim Murray <timmurray@google.com> Fix foreach func vector resize issue.

Change-Id: Ie446319900558bbf5ecb30ee1b874c260197080b
ib/Renderscript/RSCompiler.cpp
49fef74ba6757b17c583d27ade1cfebdd27330a3 23-May-2014 Ying Wang <wangying@google.com> am f5106c92: am 2f0974df: am 4d23981b: Merge "Fix host multilib build."

* commit 'f5106c92f4f6d5f778af9a6dd59c4ffe22c39e57':
Fix host multilib build.
9ac48f29648c6074cd3c2a2636ccc4269e40adda 23-May-2014 Stephen Hines <srhines@google.com> am 79e8a844: am b579d30a: am da0c1ea4: Merge "Separate out the symbol resolver from RSCompilerDriver."

* commit '79e8a844e119e595d3aeed024f959c97a2310e37':
Separate out the symbol resolver from RSCompilerDriver.
f5106c92f4f6d5f778af9a6dd59c4ffe22c39e57 23-May-2014 Ying Wang <wangying@google.com> am 2f0974df: am 4d23981b: Merge "Fix host multilib build."

* commit '2f0974dfbc714b79f5984c6be38a00a7eff3969d':
Fix host multilib build.
2f0974dfbc714b79f5984c6be38a00a7eff3969d 23-May-2014 Ying Wang <wangying@google.com> am 4d23981b: Merge "Fix host multilib build."

* commit '4d23981bced8ed40f3736f6c6e71be936e586567':
Fix host multilib build.
4d23981bced8ed40f3736f6c6e71be936e586567 23-May-2014 Ying Wang <wangying@google.com> Merge "Fix host multilib build."
79e8a844e119e595d3aeed024f959c97a2310e37 23-May-2014 Stephen Hines <srhines@google.com> am b579d30a: am da0c1ea4: Merge "Separate out the symbol resolver from RSCompilerDriver."

* commit 'b579d30a9757fbdecfeb5cb89eea4687f7078a98':
Separate out the symbol resolver from RSCompilerDriver.
b579d30a9757fbdecfeb5cb89eea4687f7078a98 23-May-2014 Stephen Hines <srhines@google.com> am da0c1ea4: Merge "Separate out the symbol resolver from RSCompilerDriver."

* commit 'da0c1ea4f64c6ebd9d7cc32cf385e9b3f63a09ce':
Separate out the symbol resolver from RSCompilerDriver.
da0c1ea4f64c6ebd9d7cc32cf385e9b3f63a09ce 22-May-2014 Stephen Hines <srhines@google.com> Merge "Separate out the symbol resolver from RSCompilerDriver."
b39557ea3f72e1854581aa1f859b2323499389b1 22-May-2014 Stephen Hines <srhines@google.com> Separate out the symbol resolver from RSCompilerDriver.

This change makes compilation distinct from loading. The symbol resolvers
now need to be instantiated directly by the RS driver.

Change-Id: I37ce409f1b2e538d9091c025895e639a250d6466
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
d485a4ff25af1edfc3dce58f4cdd5c2bba032723 21-May-2014 Ying Wang <wangying@google.com> Fix host multilib build.

Bug: 13751317
Change-Id: Ib05bf922736cb769469c1c219c3460776db7b1d0
ndroid.mk
ibbcc-gen-build-info.mk
7c61ad2bffbaabba5f8246ee16ca0f9e142bc824 20-May-2014 Stephen Hines <srhines@google.com> am 70bcf4d9: am 037d9f48: am f93d9266: Merge "Fix missing include of Config.h."

* commit '70bcf4d97e91847d1f6582d2d0fd6406958dfb9d':
Fix missing include of Config.h.
142c587d657610c1609f7712f98a94e72c0e4c9b 20-May-2014 Stephen Hines <srhines@google.com> am 51a81d37: am 3684882f: am fa33c512: Merge "Remove unused define from makefile."

* commit '51a81d3776fe28bd9dc2dc35b85f4262671b5ed1':
Remove unused define from makefile.
70bcf4d97e91847d1f6582d2d0fd6406958dfb9d 20-May-2014 Stephen Hines <srhines@google.com> am 037d9f48: am f93d9266: Merge "Fix missing include of Config.h."

* commit '037d9f4827e36c3a5469a570d4afd72ae5edd303':
Fix missing include of Config.h.
51a81d3776fe28bd9dc2dc35b85f4262671b5ed1 20-May-2014 Stephen Hines <srhines@google.com> am 3684882f: am fa33c512: Merge "Remove unused define from makefile."

* commit '3684882f8f946c23fbd37dba255967927db55e7d':
Remove unused define from makefile.
037d9f4827e36c3a5469a570d4afd72ae5edd303 20-May-2014 Stephen Hines <srhines@google.com> am f93d9266: Merge "Fix missing include of Config.h."

* commit 'f93d9266ddd0e43f78d42a55cf1e7877dfed63f4':
Fix missing include of Config.h.
3684882f8f946c23fbd37dba255967927db55e7d 20-May-2014 Stephen Hines <srhines@google.com> am fa33c512: Merge "Remove unused define from makefile."

* commit 'fa33c51247bc039ba9348b38be88ae812854622b':
Remove unused define from makefile.
f93d9266ddd0e43f78d42a55cf1e7877dfed63f4 20-May-2014 Stephen Hines <srhines@google.com> Merge "Fix missing include of Config.h."
fa33c51247bc039ba9348b38be88ae812854622b 20-May-2014 Stephen Hines <srhines@google.com> Merge "Remove unused define from makefile."
060bd2d6771e781ddbf5424c50af149fd0d80432 20-May-2014 Stephen Hines <srhines@google.com> Fix missing include of Config.h.

Without this include, we actually fail to configure a non-default
target backend. This results in the ARM target never selecting
NEON code (even when it is possible to use it).

Change-Id: I8891461709ac6a8d174afc5c1def5648b83e6226
ib/Support/CompilerConfig.cpp
d02e6b0cb5f396b4d4c1bdfc688d95f8ac067d45 20-May-2014 Stephen Hines <srhines@google.com> am 696b5f92: am 3828eced: am 508b17d6: Merge "Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc."

* commit '696b5f921814eab4db128eb103e980c104576f0d':
Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.
350d9a6c1b5bdb701b707f989db6dae57c64cece 19-May-2014 Stephen Hines <srhines@google.com> Remove unused define from makefile.

Change-Id: Ie8a17e90f058c85c19dc2bc5c5dff2b256de8c02
ib/ExecutionEngine/Android.mk
696b5f921814eab4db128eb103e980c104576f0d 19-May-2014 Stephen Hines <srhines@google.com> am 3828eced: am 508b17d6: Merge "Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc."

* commit '3828ecedcc67c8320b7e3da12e50b16713e37e15':
Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.
3828ecedcc67c8320b7e3da12e50b16713e37e15 19-May-2014 Stephen Hines <srhines@google.com> am 508b17d6: Merge "Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc."

* commit '508b17d6ddac22d25e54c60ed81bb497b4ac0f06':
Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.
508b17d6ddac22d25e54c60ed81bb497b4ac0f06 19-May-2014 Stephen Hines <srhines@google.com> Merge "Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc."
bde1a2599780d6eaebbc284976ceb690492f6abd 16-May-2014 Stephen Hines <srhines@google.com> Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.

Change-Id: Id4a5be7b2b4627bfa7ef6279eb3b5b8e75915a7d
nclude/bcc/Support/CompilerConfig.h
nclude/bcc/Support/TargetCompilerConfigs.h
ib/Renderscript/RSCompilerDriver.cpp
ib/Support/Android.mk
ib/Support/CompilerConfig.cpp
ib/Support/TargetCompilerConfigs.cpp
ools/bcc/Main.cpp
ools/bcc_compat/Main.cpp
acbd8c3383f4ceefbd190a0933ab5642e843d444 16-May-2014 Stephen Hines <srhines@google.com> am c63bed47: am 5bcba9f0: am ca63d3a9: Merge "Fix some minor issues picked up by valgrind."

* commit 'c63bed47f2c6a1701525bb11187e22b20a152845':
Fix some minor issues picked up by valgrind.
c63bed47f2c6a1701525bb11187e22b20a152845 16-May-2014 Stephen Hines <srhines@google.com> am 5bcba9f0: am ca63d3a9: Merge "Fix some minor issues picked up by valgrind."

* commit '5bcba9f0d216950b8d4b2037a837d91feec5e527':
Fix some minor issues picked up by valgrind.
5bcba9f0d216950b8d4b2037a837d91feec5e527 16-May-2014 Stephen Hines <srhines@google.com> am ca63d3a9: Merge "Fix some minor issues picked up by valgrind."

* commit 'ca63d3a9d45bcc1e3b872487223c44299f693309':
Fix some minor issues picked up by valgrind.
ca63d3a9d45bcc1e3b872487223c44299f693309 16-May-2014 Stephen Hines <srhines@google.com> Merge "Fix some minor issues picked up by valgrind."
1ae3fd6e2290fe1635bafe91a65e0e88e641b6fc 15-May-2014 Stephen Hines <srhines@google.com> Fix some minor issues picked up by valgrind.

Standalone bcc was leaking memory due to misuse of OwningPtr.
RSInfo was not clearing a buffer before using only part of it. The
whole buffer was being written out in the resulting file, however.

Change-Id: Icd455748f81a06d022f1e5ed83a2ab1cae3fef09
ib/Renderscript/RSInfo.cpp
ools/bcc/Main.cpp
bc362b623e3fc91c5c796d9bd1c00ac0e617c95d 15-May-2014 Stephen Hines <srhines@google.com> am e995ae93: am 1a9b5b61: am d3493fab: Merge "Switch RSForEachExpandPass to use MetadataExtractor."

* commit 'e995ae93aa5ed062aede5df96f809cca7de3037c':
Switch RSForEachExpandPass to use MetadataExtractor.
0e6aad13387bb983b09cb9ca36519ec7b4c0b5f0 15-May-2014 Stephen Hines <srhines@google.com> am f141a77c: am 16601acb: am 30bfe8cc: Merge "Switch to MetadataExtractor path."

* commit 'f141a77cdfdda8b1e2c5ae08bfd7e795df7ffd77':
Switch to MetadataExtractor path.
c9413df275adee53520b2e389fc4865812e1efde 15-May-2014 Stephen Hines <srhines@google.com> am 592950a3: am db59a7ac: am 94ee070f: Merge "Refactor RSEmbedInfo pass."

* commit '592950a3d27604db908827ac4a70f6dc979527af':
Refactor RSEmbedInfo pass.
06f1c11dd36704639b8720b479a8b721fadf87ba 15-May-2014 Stephen Hines <srhines@google.com> am 6260d457: am 6e1cbb39: am d02796ac: Merge "Switch to use rs_version.mk for consistency."

* commit '6260d4570fbec3688c30728692466e24e205d2df':
Switch to use rs_version.mk for consistency.
e995ae93aa5ed062aede5df96f809cca7de3037c 15-May-2014 Stephen Hines <srhines@google.com> am 1a9b5b61: am d3493fab: Merge "Switch RSForEachExpandPass to use MetadataExtractor."

* commit '1a9b5b61da5090b285b249ef6a01507897255a2d':
Switch RSForEachExpandPass to use MetadataExtractor.
f141a77cdfdda8b1e2c5ae08bfd7e795df7ffd77 15-May-2014 Stephen Hines <srhines@google.com> am 16601acb: am 30bfe8cc: Merge "Switch to MetadataExtractor path."

* commit '16601acb7dbe3a8be5cdb5cbe9143fdb0c97c3ea':
Switch to MetadataExtractor path.
592950a3d27604db908827ac4a70f6dc979527af 15-May-2014 Stephen Hines <srhines@google.com> am db59a7ac: am 94ee070f: Merge "Refactor RSEmbedInfo pass."

* commit 'db59a7ac4577f5a7fb97c1215ba9721f82613eb1':
Refactor RSEmbedInfo pass.
6260d4570fbec3688c30728692466e24e205d2df 15-May-2014 Stephen Hines <srhines@google.com> am 6e1cbb39: am d02796ac: Merge "Switch to use rs_version.mk for consistency."

* commit '6e1cbb39a1af9a4ac8348b659ee6a1a2f07a507f':
Switch to use rs_version.mk for consistency.
1a9b5b61da5090b285b249ef6a01507897255a2d 15-May-2014 Stephen Hines <srhines@google.com> am d3493fab: Merge "Switch RSForEachExpandPass to use MetadataExtractor."

* commit 'd3493fab9abc7c5c2b5f53838a217b81d81342a3':
Switch RSForEachExpandPass to use MetadataExtractor.
16601acb7dbe3a8be5cdb5cbe9143fdb0c97c3ea 15-May-2014 Stephen Hines <srhines@google.com> am 30bfe8cc: Merge "Switch to MetadataExtractor path."

* commit '30bfe8cc56fc6be9d9ed792abcac18a6c4c8f5d9':
Switch to MetadataExtractor path.
db59a7ac4577f5a7fb97c1215ba9721f82613eb1 15-May-2014 Stephen Hines <srhines@google.com> am 94ee070f: Merge "Refactor RSEmbedInfo pass."

* commit '94ee070fcd852a7d9815bc6c7799d06211c270dd':
Refactor RSEmbedInfo pass.
6e1cbb39a1af9a4ac8348b659ee6a1a2f07a507f 15-May-2014 Stephen Hines <srhines@google.com> am d02796ac: Merge "Switch to use rs_version.mk for consistency."

* commit 'd02796ac26e46e723640b7993131954555e8f98e':
Switch to use rs_version.mk for consistency.
d3493fab9abc7c5c2b5f53838a217b81d81342a3 15-May-2014 Stephen Hines <srhines@google.com> Merge "Switch RSForEachExpandPass to use MetadataExtractor."
30bfe8cc56fc6be9d9ed792abcac18a6c4c8f5d9 15-May-2014 Stephen Hines <srhines@google.com> Merge "Switch to MetadataExtractor path."
94ee070fcd852a7d9815bc6c7799d06211c270dd 15-May-2014 Stephen Hines <srhines@google.com> Merge "Refactor RSEmbedInfo pass."
d02796ac26e46e723640b7993131954555e8f98e 15-May-2014 Stephen Hines <srhines@google.com> Merge "Switch to use rs_version.mk for consistency."
25eb586bb055ae07c7e82a2b1bdbd6936641580c 09-May-2014 Stephen Hines <srhines@google.com> Switch RSForEachExpandPass to use MetadataExtractor.

Change-Id: I442054e7aa2329b369f578052bd41c7a973cc822
nclude/bcc/Renderscript/RSTransforms.h
ib/Renderscript/RSCompiler.cpp
ib/Renderscript/RSForEachExpand.cpp
1253c195dd7911ad91bd66790f03e4c2f8888ad2 09-May-2014 Stephen Hines <srhines@google.com> Switch to MetadataExtractor path.

Change-Id: Iabef9abb1c770ffe1e753cfd2fac808f60c19d8a
nclude/bcc/Renderscript/RSTransforms.h
ib/Renderscript/RSCompiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
2d201e547f1d32140ff8ead1818c169f441cf5fb 09-May-2014 Stephen Hines <srhines@google.com> Refactor RSEmbedInfo pass.

This change separates out the creation of the InfoString from the actual
embedding within the object file. This is important because we want to reuse
the InfoString for caching metadata.

Change-Id: I2524d39dc25c48fc968108e82c6aa01c1920ff1d
ib/Renderscript/RSEmbedInfo.cpp
e109434cfd2bc24d324506238483c1ecd587e228 14-May-2014 Stephen Hines <srhines@google.com> Switch to use rs_version.mk for consistency.

Change-Id: Ia19bb2f56653b10741d8b508c3dc3f93ce1c1495
ndroid.mk
cinfo/Android.mk
cinfo/BitcodeTranslator.cpp
cinfo/MetadataExtractor.cpp
ibbcc-device-build.mk
ibbcc-host-build.mk
c18e4956e43271fe19af90b8d252a3dfc87ab5d7 13-May-2014 Stephen Hines <srhines@google.com> am 544b6cfb: am 632b518c: am 4296d41d: Merge "ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets."

* commit '544b6cfb5d872d4aa6005013511690faa8ed9a1c':
ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets.
544b6cfb5d872d4aa6005013511690faa8ed9a1c 13-May-2014 Stephen Hines <srhines@google.com> am 632b518c: am 4296d41d: Merge "ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets."

* commit '632b518cf4ff76e43a8dc1df38ec218a7d49f19c':
ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets.
632b518cf4ff76e43a8dc1df38ec218a7d49f19c 13-May-2014 Stephen Hines <srhines@google.com> am 4296d41d: Merge "ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets."

* commit '4296d41de5d9a0446d0ba81c594b35f1254dd20f':
ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets.
4296d41de5d9a0446d0ba81c594b35f1254dd20f 13-May-2014 Stephen Hines <srhines@google.com> Merge "ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets."
1c4d30c707afbc2068b966d2ae6caefbb101f8ff 10-May-2014 Stephen Hines <srhines@google.com> ARCH_ARM_HAVE_NEON should be consistent for aarch64 targets.

Change-Id: I54979e9215f2a2cbc98641a841a24e32beb417b4
ib/Renderscript/RSInfo.cpp
0e9e066c879259c55828f46135e3d098f4f55bf8 07-May-2014 Stephen Hines <srhines@google.com> am 1041d213: am 76b7b4b0: am 5b8461d4: Merge "Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support."

* commit '1041d213051fa0414ea56007b03bec83203c5405':
Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support.
7b16f1b512ec97e077354f3704d30f531a7c3ffb 07-May-2014 Stephen Hines <srhines@google.com> am 8d7dfc68: am 335cbbbf: am b0f08d0b: Merge "Add options to device bcc for specifying the target architecture."

* commit '8d7dfc686d82b2dde364975ba87906569a7184ef':
Add options to device bcc for specifying the target architecture.
a7cb05306102e367d147faeb46683a64bf1e6ffe 07-May-2014 Stephen Hines <srhines@google.com> am 3d9f6c20: am 5d7f5ca6: am 3a9e5b35: Merge "Provide target-specific defines for libbcc and other libraries."

* commit '3d9f6c20dbed40a6b0581067536babde215ebbd0':
Provide target-specific defines for libbcc and other libraries.
476fefb8206e3e63b8717af9b002f97c33e1e5a8 07-May-2014 Stephen Hines <srhines@google.com> am f7c92d8b: am de089f3b: am cd3a9dca: Merge "Remove Makefile->Header code generation from libbcc."

* commit 'f7c92d8b1b8813cb49887d201c7def3b7a009c03':
Remove Makefile->Header code generation from libbcc.
7dcd80da6f665a7a1d5171461200205b241c5f33 07-May-2014 Stephen Hines <srhines@google.com> am af63dab4: am 76209885: am ef2ca310: Merge "Provide support for ARM on AArch64 builds as well."

* commit 'af63dab4f7c0135d4f9ebb4c1c0cc52bcd9d9f91':
Provide support for ARM on AArch64 builds as well.
1041d213051fa0414ea56007b03bec83203c5405 07-May-2014 Stephen Hines <srhines@google.com> am 76b7b4b0: am 5b8461d4: Merge "Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support."

* commit '76b7b4b0d54a0cdf3604baabb75eb51d11250be7':
Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support.
8d7dfc686d82b2dde364975ba87906569a7184ef 07-May-2014 Stephen Hines <srhines@google.com> am 335cbbbf: am b0f08d0b: Merge "Add options to device bcc for specifying the target architecture."

* commit '335cbbbfe58b59c422a94c5a64d71a5fd71af6ae':
Add options to device bcc for specifying the target architecture.
3d9f6c20dbed40a6b0581067536babde215ebbd0 07-May-2014 Stephen Hines <srhines@google.com> am 5d7f5ca6: am 3a9e5b35: Merge "Provide target-specific defines for libbcc and other libraries."

* commit '5d7f5ca66860b8e05f534fe50d07dd437b446b04':
Provide target-specific defines for libbcc and other libraries.
f7c92d8b1b8813cb49887d201c7def3b7a009c03 07-May-2014 Stephen Hines <srhines@google.com> am de089f3b: am cd3a9dca: Merge "Remove Makefile->Header code generation from libbcc."

* commit 'de089f3b844e073c475b1be3d2c1d21ce8f975e6':
Remove Makefile->Header code generation from libbcc.
af63dab4f7c0135d4f9ebb4c1c0cc52bcd9d9f91 07-May-2014 Stephen Hines <srhines@google.com> am 76209885: am ef2ca310: Merge "Provide support for ARM on AArch64 builds as well."

* commit '76209885dcde4d8f16becf06493275b31a46ad14':
Provide support for ARM on AArch64 builds as well.
76b7b4b0d54a0cdf3604baabb75eb51d11250be7 07-May-2014 Stephen Hines <srhines@google.com> am 5b8461d4: Merge "Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support."

* commit '5b8461d4b4f3fab22498bc2334e59c24ae39e8dd':
Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support.
335cbbbfe58b59c422a94c5a64d71a5fd71af6ae 07-May-2014 Stephen Hines <srhines@google.com> am b0f08d0b: Merge "Add options to device bcc for specifying the target architecture."

* commit 'b0f08d0b260f10150c7dce1401712f6fbdb34324':
Add options to device bcc for specifying the target architecture.
5b8461d4b4f3fab22498bc2334e59c24ae39e8dd 07-May-2014 Stephen Hines <srhines@google.com> Merge "Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support."
b0f08d0b260f10150c7dce1401712f6fbdb34324 07-May-2014 Stephen Hines <srhines@google.com> Merge "Add options to device bcc for specifying the target architecture."
5d7f5ca66860b8e05f534fe50d07dd437b446b04 07-May-2014 Stephen Hines <srhines@google.com> am 3a9e5b35: Merge "Provide target-specific defines for libbcc and other libraries."

* commit '3a9e5b35ca44791bd7dc781d9b25cebcc0d13ac9':
Provide target-specific defines for libbcc and other libraries.
de089f3b844e073c475b1be3d2c1d21ce8f975e6 07-May-2014 Stephen Hines <srhines@google.com> am cd3a9dca: Merge "Remove Makefile->Header code generation from libbcc."

* commit 'cd3a9dca8b51c0ef58197b6d2569967968a0ed67':
Remove Makefile->Header code generation from libbcc.
76209885dcde4d8f16becf06493275b31a46ad14 07-May-2014 Stephen Hines <srhines@google.com> am ef2ca310: Merge "Provide support for ARM on AArch64 builds as well."

* commit 'ef2ca310f00c80e30ed523b91bbc5d95051178e2':
Provide support for ARM on AArch64 builds as well.
c37e97ebd687460a3b263a59cbb26bc539ad856e 07-May-2014 Stephen Hines <srhines@google.com> Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support.

Bug: 14595818

Without this, an ARM64 device may be picked up incorrectly as not having NEON
available when running in 32-bit mode.

Change-Id: Icddad4d5388022012b392020e15605ec5d601d5f
ib/Support/TargetCompilerConfigs.cpp
002f467d12474b6abcca2fc9e1635cfa5c313779 02-May-2014 Stephen Hines <srhines@google.com> Add options to device bcc for specifying the target architecture.

Bug: 14474874
Change-Id: Id7342ef4f3be62aded142a27beb8632ea2854383
ools/bcc/Main.cpp
3a9e5b35ca44791bd7dc781d9b25cebcc0d13ac9 07-May-2014 Stephen Hines <srhines@google.com> Merge "Provide target-specific defines for libbcc and other libraries."
cd3a9dca8b51c0ef58197b6d2569967968a0ed67 07-May-2014 Stephen Hines <srhines@google.com> Merge "Remove Makefile->Header code generation from libbcc."
ef2ca310f00c80e30ed523b91bbc5d95051178e2 07-May-2014 Stephen Hines <srhines@google.com> Merge "Provide support for ARM on AArch64 builds as well."
0467bc47bf4dd48796ede4f4a4f8ca02dddc33d7 06-May-2014 Stephen Hines <srhines@google.com> Provide target-specific defines for libbcc and other libraries.

This consolidates target-specific information for libbcc/LLVM users, so that
libraries can use a single makefile + header to drive compilation.

Change-Id: I9c74e85c5bd469a28054948b98b63abc6b1d8a3e
nclude/bcc/Config/Config.h
ibbcc-device-build.mk
ibbcc-targets.mk
ce73d6f365394883dd23b1da97135e4002e784e0 06-May-2014 Stephen Hines <srhines@google.com> Remove Makefile->Header code generation from libbcc.

These variables/defines are not often used and they complicate the use of
target information in other Android libraries.

Change-Id: I93dc71e17ae8ece1be46a3a609639ec8380cdaf9
nclude/bcc/Config/Config.h
ib/Core/Android.mk
ib/ExecutionEngine/Android.mk
ib/Renderscript/Android.mk
ib/Support/Android.mk
ibbcc-config.mk
ibbcc-gen-config-from-mk.mk
ibbcc.mk
ools/bcc/Android.mk
ools/bcc_compat/Android.mk
ools/bcc_strip_attr/Android.mk
ools/build/gen-config-from-mk.py
1e3247531134c0f578d0df7ad7f02905bf9e0415 02-May-2014 Stephen Hines <srhines@google.com> Provide support for ARM on AArch64 builds as well.

Bug: 14474874

Change-Id: I1ff41e36c8231373aa9e55d61d9c997a1f3561e6
nclude/bcc/Config/Config.h
4215c36c1ce6725bf094219f18caa4ef3a3dac0e 01-May-2014 Stephen Hines <srhines@google.com> am ccb44c38: am 4c694e07: am ca48f581: Merge "Improve standalone bcc for on-device compilation."

* commit 'ccb44c3834b760b8f4a8c849cdcfe3944dd7a6f7':
Improve standalone bcc for on-device compilation.
ccb44c3834b760b8f4a8c849cdcfe3944dd7a6f7 30-Apr-2014 Stephen Hines <srhines@google.com> am 4c694e07: am ca48f581: Merge "Improve standalone bcc for on-device compilation."

* commit '4c694e076b23c49577e23cc490d08e464a408e50':
Improve standalone bcc for on-device compilation.
4c694e076b23c49577e23cc490d08e464a408e50 30-Apr-2014 Stephen Hines <srhines@google.com> am ca48f581: Merge "Improve standalone bcc for on-device compilation."

* commit 'ca48f581a1114725a5943975da02a7fec2e496ef':
Improve standalone bcc for on-device compilation.
ca48f581a1114725a5943975da02a7fec2e496ef 30-Apr-2014 Stephen Hines <srhines@google.com> Merge "Improve standalone bcc for on-device compilation."
c3437f05c638f8befda59170ae788873db24dc1c 31-Jan-2014 Stephen Hines <srhines@google.com> Improve standalone bcc for on-device compilation.

Bug: 7342767

This adds functionality for driver-writers to dynamically load plugins.
If such a plugin is loaded, we then execute any function called
rsCompilerDriverInit() from it. This function can initialize any other
state the driver-writer wants.

Change-Id: I733a6a3fc59c429a542cfcaf59a57ad231a19d01
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc/Main.cpp
3ff812ce924af6fa89a8e20f634962ebc855d120 30-Apr-2014 Bill Yi <byi@google.com> am 3b00c418: am 82537a19: Merge commit \'900ed61cbdf10ab71d1874d213c6297730dafa0e\' into HEAD

* commit '3b00c418f62e2629aed7e4bb6ccbeb15d410c5f6':
3b00c418f62e2629aed7e4bb6ccbeb15d410c5f6 30-Apr-2014 Bill Yi <byi@google.com> am 82537a19: Merge commit \'900ed61cbdf10ab71d1874d213c6297730dafa0e\' into HEAD

* commit '82537a19590fd71daa4117850c9bdbd2ebfd8cc9':
82537a19590fd71daa4117850c9bdbd2ebfd8cc9 29-Apr-2014 Bill Yi <byi@google.com> Merge commit '900ed61cbdf10ab71d1874d213c6297730dafa0e' into HEAD
c310a3a893138197fbb5f4a92594e6e47169c94e 29-Apr-2014 Brian Carlstrom <bdc@google.com> am 827a8d8d: am 88496b6b: Merge "CleanSpec for clang 3.5"

* commit '827a8d8d5e61c47739ef6e6d81dc45d8202f24da':
CleanSpec for clang 3.5
827a8d8d5e61c47739ef6e6d81dc45d8202f24da 29-Apr-2014 Brian Carlstrom <bdc@google.com> am 88496b6b: Merge "CleanSpec for clang 3.5"

* commit '88496b6b09e2e0dd6047c75c851c7eaf82c53d2e':
CleanSpec for clang 3.5
88496b6b09e2e0dd6047c75c851c7eaf82c53d2e 29-Apr-2014 Brian Carlstrom <bdc@google.com> Merge "CleanSpec for clang 3.5"
0af17e96a394c75d339f7708c84990c1acaa830e 29-Apr-2014 Brian Carlstrom <bdc@google.com> CleanSpec for clang 3.5

Change-Id: I144b4f209b8fb6cad4ba9df6dd574eb6d4139a50
leanSpec.mk
9125696fcbfdae4428f6ffbfdcee323de70da118 26-Apr-2014 Stephen Hines <srhines@google.com> am 522c3bac: am e2dd4a0b: Merge "Update libbcc for 64-bit support."

* commit '522c3bac0a65881e6466ffc2e1b0d54334ba8877':
Update libbcc for 64-bit support.
522c3bac0a65881e6466ffc2e1b0d54334ba8877 25-Apr-2014 Stephen Hines <srhines@google.com> am e2dd4a0b: Merge "Update libbcc for 64-bit support."

* commit 'e2dd4a0ba72151e9f1a8306268ec6a20a3fb0463':
Update libbcc for 64-bit support.
e2dd4a0ba72151e9f1a8306268ec6a20a3fb0463 25-Apr-2014 Stephen Hines <srhines@google.com> Merge "Update libbcc for 64-bit support."
c2074caf075818abb6d3689ad924ca09f4a5ba1f 09-Apr-2014 Tim Murray <timmurray@google.com> Update libbcc for 64-bit support.

Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
ndroid.mk
cinfo/BitReader_2_7/BitReader_2_7.h
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitReader_3_0.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Config/Config.h
nclude/bcc/Support/FileBase.h
nclude/bcc/Support/TargetCompilerConfigs.h
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/Renderscript/Android.mk
ib/Renderscript/RSInfo.cpp
ib/Support/Android.mk
ib/Support/Initialization.cpp
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.sha1.mk
ools/bcc/Android.mk
ools/bcc/Main.cpp
ools/bcc_strip_attr/bcc_strip_attr.cpp
36e5db7f4049ca3d7f79835ce5e8f5ce4ef173a9 17-Apr-2014 Tim Murray <timmurray@google.com> am 9d86d51f: am 926e0fd2: Merge "Enable 64bit elf object handling."

* commit '9d86d51f4798d6d59c5015aa2992a0ae0f770692':
Enable 64bit elf object handling.
c68092e9071aa92388836dc3d157ffb19097d658 17-Apr-2014 Tim Murray <timmurray@google.com> am 773dab58: am 70a7671e: Merge "Change 64bit library path from /system/lib/ to /system/lib64"

* commit '773dab582991cba84fb90c0e11c2c04f2104d1b8':
Change 64bit library path from /system/lib/ to /system/lib64
9d86d51f4798d6d59c5015aa2992a0ae0f770692 17-Apr-2014 Tim Murray <timmurray@google.com> am 926e0fd2: Merge "Enable 64bit elf object handling."

* commit '926e0fd2aa8ec58f8be38e2061aa07d9dde299a8':
Enable 64bit elf object handling.
773dab582991cba84fb90c0e11c2c04f2104d1b8 17-Apr-2014 Tim Murray <timmurray@google.com> am 70a7671e: Merge "Change 64bit library path from /system/lib/ to /system/lib64"

* commit '70a7671e4e107ad52aba0629f9b29ff01941c496':
Change 64bit library path from /system/lib/ to /system/lib64
926e0fd2aa8ec58f8be38e2061aa07d9dde299a8 17-Apr-2014 Tim Murray <timmurray@google.com> Merge "Enable 64bit elf object handling."
e524a6fede773ad8ea7d4a3ca11976585002387a 04-Apr-2014 WeiTang <wei.a.tang@intel.com> Enable 64bit elf object handling.

Change-Id: Ib952abf882fd9bd0d5cadaa3b204a100bd71aa1e
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
ib/ExecutionEngine/ELFObjectLoaderImpl.h
70a7671e4e107ad52aba0629f9b29ff01941c496 17-Apr-2014 Tim Murray <timmurray@google.com> Merge "Change 64bit library path from /system/lib/ to /system/lib64"
abf87b886ba71ab200c3db3ae2c168382fa04f55 11-Apr-2014 Colin Cross <ccross@android.com> am a0858530: am 476d7734: Merge "libbcc: remove use of LOCAL_NO_2ND_ARCH"

* commit 'a08585304f13b5aa0034878acedc091e3c98ad9b':
libbcc: remove use of LOCAL_NO_2ND_ARCH
a08585304f13b5aa0034878acedc091e3c98ad9b 11-Apr-2014 Colin Cross <ccross@android.com> am 476d7734: Merge "libbcc: remove use of LOCAL_NO_2ND_ARCH"

* commit '476d773476d6536bb88f51c54db6bc6032b5453c':
libbcc: remove use of LOCAL_NO_2ND_ARCH
476d773476d6536bb88f51c54db6bc6032b5453c 11-Apr-2014 Colin Cross <ccross@android.com> Merge "libbcc: remove use of LOCAL_NO_2ND_ARCH"
f5ff8ee73acc4d9985ad67142242214050fd4076 11-Apr-2014 Colin Cross <ccross@android.com> libbcc: remove use of LOCAL_NO_2ND_ARCH

This is the only remaining use of LOCAL_NO_2ND_ARCH in the
tree. Remove it and replace it with LOCAL_MODULE_TARGET_ARCH.
If LOCAL_MODULE_TARGET_ARCH were not already being used this
would just be:
LOCAL_MODULE_TARGET_ARCH = $(TARGET_$(my_2nd_arch_prefix)ARCH)
Since LOCAL_MODULE_TARGET_ARCH is already being used, use
TARGET_(2ND_)?ARCH to filter LOCAL_MODULE_TARGET_ARCH, and skip
including the build rule if the resulting LOCAL_MODULE_TARGET_ARCH
is empty.

Change-Id: I6d7e4b9f3fab055b37be3c4a3b21446c59cb1183
ibbcc.sha1.mk
36e642c0a89cc6f3a95dadfe1fc2b890c0758b15 04-Apr-2014 WeiTang <wei.a.tang@intel.com> Change 64bit library path from /system/lib/ to /system/lib64

Change-Id: Ie2ec537bb71ca6573588bcaf893d871ba9b5c051
nclude/bcc/Renderscript/RSInfo.h
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSScript.cpp
4e29b3d3ddbe43a80e970ddba6ecf3663d52d79a 09-Apr-2014 Tim Murray <timmurray@google.com> am 8454e346: am 83f8fa66: Merge "Add DISABLE_LLVM_DEVICE_BUILDS to libbcc."

* commit '8454e346b72438106a4daa330aef5a3b169b2824':
Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.
8454e346b72438106a4daa330aef5a3b169b2824 09-Apr-2014 Tim Murray <timmurray@google.com> am 83f8fa66: Merge "Add DISABLE_LLVM_DEVICE_BUILDS to libbcc."

* commit '83f8fa66f80c4aeb7ddec5acbf66fa8dc4380888':
Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.
83f8fa66f80c4aeb7ddec5acbf66fa8dc4380888 08-Apr-2014 Tim Murray <timmurray@google.com> Merge "Add DISABLE_LLVM_DEVICE_BUILDS to libbcc."
9c11c4dea07c15a80ad7aa2440295b5975316f75 08-Apr-2014 Tim Murray <timmurray@google.com> am 0cdb0a60: am b0d6d1f7: Merge "Revert "Enable 64bit build for x64 target""

* commit '0cdb0a60e55b67d9f5d7a4508e0d821558b1bca8':
Revert "Enable 64bit build for x64 target"
0cdb0a60e55b67d9f5d7a4508e0d821558b1bca8 08-Apr-2014 Tim Murray <timmurray@google.com> am b0d6d1f7: Merge "Revert "Enable 64bit build for x64 target""

* commit 'b0d6d1f7aff775dd8503f8d24c856ccd94a3ae0a':
Revert "Enable 64bit build for x64 target"
b0d6d1f7aff775dd8503f8d24c856ccd94a3ae0a 08-Apr-2014 Tim Murray <timmurray@google.com> Merge "Revert "Enable 64bit build for x64 target""
b845185145254faeb1e24e33f39bafd8d51d1a38 08-Apr-2014 Tim Murray <timmurray@google.com> Revert "Enable 64bit build for x64 target"

This reverts commit f0a826699b27fcf4afeb8c38a455d16da42b8cce.

Change-Id: Ic9f1f15414b7f2b7f7b1126063f46cf1f7be0272
ndroid.mk
ibbcc.sha1.mk
03908ea534acfc44e7450762f07b3916db995be4 08-Apr-2014 Tim Murray <timmurray@google.com> am e817d75a: am 7c5ed3ad: Merge "Enable 64bit build for x64 target"

* commit 'e817d75ab0989cd87fb49996964d8c0bfd463d8f':
Enable 64bit build for x64 target
e817d75ab0989cd87fb49996964d8c0bfd463d8f 08-Apr-2014 Tim Murray <timmurray@google.com> am 7c5ed3ad: Merge "Enable 64bit build for x64 target"

* commit '7c5ed3adad4e2be769c5740187985da510f2cfe3':
Enable 64bit build for x64 target
7c5ed3adad4e2be769c5740187985da510f2cfe3 08-Apr-2014 Tim Murray <timmurray@google.com> Merge "Enable 64bit build for x64 target"
f0a826699b27fcf4afeb8c38a455d16da42b8cce 04-Apr-2014 WeiTang <wei.a.tang@intel.com> Enable 64bit build for x64 target

Change-Id: I7e70cb459772a8d81d9ff2b60bd10108fb5cf3ef
ndroid.mk
ibbcc.sha1.mk
c6e6ee4392390c0888f808220adf33334e1f64a4 07-Apr-2014 Tim Murray <timmurray@google.com> Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.

Change-Id: Iaad7b2ea8eea6c89c1c1a3d0e145bbb7bf60c6b9
ndroid.mk
cinfo/Android.mk
cinfo/BitReader_2_7/Android.mk
cinfo/BitReader_3_0/Android.mk
cinfo/Wrap/Android.mk
ib/Core/Android.mk
ib/ExecutionEngine/Android.mk
ib/Renderscript/Android.mk
ib/Support/Android.mk
ibbcc.sha1.mk
ools/bcc/Android.mk
5048bc80a1beb55c9a91fcf77dd4b245538e50e5 26-Mar-2014 Narayan Kamath <narayan@google.com> am cc4edc30: am 4c7d59a1: Merge "Remove unused static function in tools/bcc/Main"

* commit 'cc4edc30e605307a9ea2375dd85e42e8ce67804b':
Remove unused static function in tools/bcc/Main
cc4edc30e605307a9ea2375dd85e42e8ce67804b 26-Mar-2014 Narayan Kamath <narayan@google.com> am 4c7d59a1: Merge "Remove unused static function in tools/bcc/Main"

* commit '4c7d59a1edb76d8d4292bf8a04f03c0eeea8012d':
Remove unused static function in tools/bcc/Main
4c7d59a1edb76d8d4292bf8a04f03c0eeea8012d 26-Mar-2014 Narayan Kamath <narayan@google.com> Merge "Remove unused static function in tools/bcc/Main"
0a78b11e8ade40c9519e2b25dab65a445dff4689 25-Mar-2014 Narayan Kamath <narayan@google.com> Remove unused static function in tools/bcc/Main

Fixes self-hosted clang compile error.

Change-Id: I58b7d0327ef30ab8dc8c6898ca0e2aac9390e6bc
ools/bcc/Main.cpp
030ea042a1dc4eb83ee978014f69ab3afa1b9433 25-Mar-2014 Colin Cross <ccross@android.com> am d1752643: am db4ab870: Merge "libbcc: disable more modules for arm64"

* commit 'd175264343f382fe8bdc70cf620c0d4ceee77a3c':
libbcc: disable more modules for arm64
d175264343f382fe8bdc70cf620c0d4ceee77a3c 25-Mar-2014 Colin Cross <ccross@android.com> am db4ab870: Merge "libbcc: disable more modules for arm64"

* commit 'db4ab870c8495efa6a565ef63bd53f0598a11d44':
libbcc: disable more modules for arm64
900ed61cbdf10ab71d1874d213c6297730dafa0e 25-Mar-2014 Colin Cross <ccross@android.com> am db4ab870: Merge "libbcc: disable more modules for arm64"

* commit 'db4ab870c8495efa6a565ef63bd53f0598a11d44':
libbcc: disable more modules for arm64
db4ab870c8495efa6a565ef63bd53f0598a11d44 25-Mar-2014 Colin Cross <ccross@android.com> Merge "libbcc: disable more modules for arm64"
8f7345d68d2595ddf3d7c2aae01a29d0530afb92 22-Mar-2014 Colin Cross <ccross@android.com> libbcc: disable more modules for arm64

Disable building libbccSupport and libbccRenderscript for 64-bit

Change-Id: Ied29b4eb129f42b1d3ad0a6d71a683d28b3e14be
ib/Renderscript/Android.mk
ib/Support/Android.mk
b60ffb4d5fcde9d26ea8387f167ecb2bfe04ff36 18-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> am 44cb96e0: am 531e94ae: Merge "Fix incorrect memcmp in RSInfoReader."

* commit '44cb96e096a0d7e139f83486fc48b470f5715ff4':
Fix incorrect memcmp in RSInfoReader.
c55d6294faec0fa10466fa70f8eab2b8cd28c8b7 18-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> am 531e94ae: Merge "Fix incorrect memcmp in RSInfoReader."

* commit '531e94ae940210dcbfddd871e718f74a16798de8':
Fix incorrect memcmp in RSInfoReader.
44cb96e096a0d7e139f83486fc48b470f5715ff4 18-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> am 531e94ae: Merge "Fix incorrect memcmp in RSInfoReader."

* commit '531e94ae940210dcbfddd871e718f74a16798de8':
Fix incorrect memcmp in RSInfoReader.
531e94ae940210dcbfddd871e718f74a16798de8 18-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Fix incorrect memcmp in RSInfoReader."
b01412f223cc6cdb30840876034fdbb02a8b4e7e 18-Mar-2014 Andrew Hsieh <andrewhsieh@google.com> am 80b2f003: am db2b78e2: Merge "Fix build with new host toolchain"

* commit '80b2f0032dc4bd063b35e8e72c17842dd0d608ef':
Fix build with new host toolchain
89b525d34d0dbe6aeb48b91fc9d8f23eadd4c5da 18-Mar-2014 Andrew Hsieh <andrewhsieh@google.com> am db2b78e2: Merge "Fix build with new host toolchain"

* commit 'db2b78e2ca096b3fa8e3b033d524685c5be65cc5':
Fix build with new host toolchain
80b2f0032dc4bd063b35e8e72c17842dd0d608ef 18-Mar-2014 Andrew Hsieh <andrewhsieh@google.com> am db2b78e2: Merge "Fix build with new host toolchain"

* commit 'db2b78e2ca096b3fa8e3b033d524685c5be65cc5':
Fix build with new host toolchain
db2b78e2ca096b3fa8e3b033d524685c5be65cc5 18-Mar-2014 Andrew Hsieh <andrewhsieh@google.com> Merge "Fix build with new host toolchain"
3cd3ec8f9d30d219cecd30ce8b221241a79a74d9 18-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> Fix incorrect memcmp in RSInfoReader.

modified: RSInfoReader.cpp

Change-Id: I669cfaeb0eb5354402410b3742f590cfc593d0ba
ib/Renderscript/RSInfoReader.cpp
bc7657186730908056ec182815c74156d88c05e4 15-Mar-2014 Tim Murray <timmurray@google.com> am b575c964: am b70bc54f: Merge "Don\'t compile libbcc on ARM64 targets yet (need ARM64 librsloader)."

* commit 'b575c964a9e7493b98118a0b10d3b33008a0f2e6':
Don't compile libbcc on ARM64 targets yet (need ARM64 librsloader).
ad35172a2fdb0bc8ed4377ebdfb23a4afb42833b 15-Mar-2014 Tim Murray <timmurray@google.com> am b70bc54f: Merge "Don\'t compile libbcc on ARM64 targets yet (need ARM64 librsloader)."

* commit 'b70bc54f3e0caacd4fa11d8cd9b079ca0fe95c31':
Don't compile libbcc on ARM64 targets yet (need ARM64 librsloader).
b575c964a9e7493b98118a0b10d3b33008a0f2e6 15-Mar-2014 Tim Murray <timmurray@google.com> am b70bc54f: Merge "Don\'t compile libbcc on ARM64 targets yet (need ARM64 librsloader)."

* commit 'b70bc54f3e0caacd4fa11d8cd9b079ca0fe95c31':
Don't compile libbcc on ARM64 targets yet (need ARM64 librsloader).
b70bc54f3e0caacd4fa11d8cd9b079ca0fe95c31 15-Mar-2014 Tim Murray <timmurray@google.com> Merge "Don't compile libbcc on ARM64 targets yet (need ARM64 librsloader)."
3133a889e9e3e78ec2a80ed653c328d3f61fcf35 13-Mar-2014 Andrew Hsieh <andrewhsieh@google.com> Fix build with new host toolchain

bcinfo links -lbcinfo which needs libpthread.so.

HOST_TOOLCHAIN_PREFIX=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux- mm

external/llvm/lib/Support/Mutex.cpp:53: error: undefined reference to 'pthread_mutexattr_init'
external/llvm/lib/Support/Mutex.cpp:59: error: undefined reference to 'pthread_mutexattr_settype'
...

Change-Id: Idd45ef3c28f9210d494bc0499a3934cf74a4220e
cinfo/tools/Android.mk
4470813359edb11fdf241b9d69fd51a9d8cdff4e 13-Mar-2014 Tim Murray <timmurray@google.com> Don't compile libbcc on ARM64 targets yet (need ARM64 librsloader).

bug 13280327

Change-Id: I5484d104086d6c86ec7c9dd777c7fbaecdaf7fbb
ndroid.mk
ibbcc.sha1.mk
ools/bcc/Android.mk
30f051c3c0c990c70ed511c515be72bdec7c4df7 11-Mar-2014 Tim Murray <timmurray@google.com> am 1e8c6236: Merge "Fix TBAA: Set path tag metadata to instruction."

* commit '1e8c62364f9577f595f02789b8ae01540be7c6ff':
Fix TBAA: Set path tag metadata to instruction.
073acf3b749e1668c34d824110b875b7e48c7c39 10-Mar-2014 Tim Murray <timmurray@google.com> am 0c119786: Merge "Update libbcc for LLVM 3.4 rebase."

* commit '0c1197863e66cc31e32e0b51bd6cae2fef3501fd':
Update libbcc for LLVM 3.4 rebase.
a1dde6a5ccdc236844f413559b0593cba06bd7ec 07-Mar-2014 Stephen Hines <srhines@google.com> am 6eb15c25: Merge "Provide a flag to disable TBAA for RS (and disable TBAA temporarily)."

* commit '6eb15c253ed9b3139be4e1640ed01f6973f80a4d':
Provide a flag to disable TBAA for RS (and disable TBAA temporarily).
13a174e344f1b5011ed8aab93c7adb1fb9a0e717 07-Mar-2014 Stephen Hines <srhines@google.com> am 8d51208f: Merge "Run verifier on RenderScript .bc modules"

* commit '8d51208fd5bfe3e2056cfdaae6637b8c662282f0':
Run verifier on RenderScript .bc modules
40b4abed2f17cd52b2a2f0b9892f4c0aae6bd719 07-Mar-2014 Colin Cross <ccross@android.com> am 41ae3467: Merge "libbcc: convert makefiles to support multilib build"

* commit '41ae3467424661ecb7bdd2f2831312c5768bf4fb':
libbcc: convert makefiles to support multilib build
e1ea34050d1bf5ef2c0064e9d467fe9dad402d90 07-Mar-2014 Stephen Hines <srhines@google.com> am 5fc51970: Merge "Fix disabling global merge option with standalone bcc."

* commit '5fc51970b5e648ce8b9fc9ec88ef1b8882969d0a':
Fix disabling global merge option with standalone bcc.
db24d2f3b09f0c378ab617492b2861d565a2bb80 07-Mar-2014 Elliott Hughes <enh@google.com> am a7f99c4c: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"

* commit 'a7f99c4c0280000306e9e2c2172e48aaad51b595':
[MIPS64] Temporary placeholder build, to allow other projects to build
e308abd3bb1fef1d2ddc9b6a4834a2ab9f186deb 06-Mar-2014 Ian Rogers <irogers@google.com> am 26c4fd24: Merge "Fix a pointer cast for 64bit."

* commit '26c4fd242fe5ecf3debf078a17eb7725ad4a2421':
Fix a pointer cast for 64bit.
b296858ac93e747d580c3faf9d042c63721a87ca 25-Feb-2014 Tim Murray <timmurray@google.com> am 24e0bbb9: am 1e8c6236: Merge "Fix TBAA: Set path tag metadata to instruction."

* commit '24e0bbb98cbeec2255de548056f3ce9e06717318':
Fix TBAA: Set path tag metadata to instruction.
24e0bbb98cbeec2255de548056f3ce9e06717318 25-Feb-2014 Tim Murray <timmurray@google.com> am 1e8c6236: Merge "Fix TBAA: Set path tag metadata to instruction."

* commit '1e8c62364f9577f595f02789b8ae01540be7c6ff':
Fix TBAA: Set path tag metadata to instruction.
1e8c62364f9577f595f02789b8ae01540be7c6ff 25-Feb-2014 Tim Murray <timmurray@google.com> Merge "Fix TBAA: Set path tag metadata to instruction."
451b4481ce3572422b0ced5cdd329e420d346f03 22-Feb-2014 Tim Murray <timmurray@google.com> am 04594523: am 0c119786: Merge "Update libbcc for LLVM 3.4 rebase."

* commit '045945233747c71de103fc3671e8453ac82b4c7d':
Update libbcc for LLVM 3.4 rebase.
045945233747c71de103fc3671e8453ac82b4c7d 22-Feb-2014 Tim Murray <timmurray@google.com> am 0c119786: Merge "Update libbcc for LLVM 3.4 rebase."

* commit '0c1197863e66cc31e32e0b51bd6cae2fef3501fd':
Update libbcc for LLVM 3.4 rebase.
0c1197863e66cc31e32e0b51bd6cae2fef3501fd 21-Feb-2014 Tim Murray <timmurray@google.com> Merge "Update libbcc for LLVM 3.4 rebase."
81a30d7054098d0045ba63ff4a01df10290d77e0 20-Feb-2014 Stephen Hines <srhines@google.com> am 64ecf9f9: am 6eb15c25: Merge "Provide a flag to disable TBAA for RS (and disable TBAA temporarily)."

* commit '64ecf9f9a67c35a5a4858657fedf52f0299818e2':
Provide a flag to disable TBAA for RS (and disable TBAA temporarily).
dc59b0566ee7748d39b0cf96780ce9dc2f4bc259 20-Feb-2014 Stephen Hines <srhines@google.com> am 3730f5f3: am 8d51208f: Merge "Run verifier on RenderScript .bc modules"

* commit '3730f5f39f2e98b757cf338dcc54370901429cd6':
Run verifier on RenderScript .bc modules
14588cf0babf4596f1bcf4ea05ddd2ceb458a916 19-Feb-2014 Logan Chien <logan.chien@mediatek.com> Fix TBAA: Set path tag metadata to instruction.

This commit replace the old createTBAANode() with the
struct-path TBAA introduced after LLVM 3.3.

This should fix the possible regression after merging LLVM 3.4.

Change-Id: Ie21fe4616784bad467b0f20226fce48da3afb2bd
ib/Renderscript/RSForEachExpand.cpp
64ecf9f9a67c35a5a4858657fedf52f0299818e2 20-Feb-2014 Stephen Hines <srhines@google.com> am 6eb15c25: Merge "Provide a flag to disable TBAA for RS (and disable TBAA temporarily)."

* commit '6eb15c253ed9b3139be4e1640ed01f6973f80a4d':
Provide a flag to disable TBAA for RS (and disable TBAA temporarily).
3730f5f39f2e98b757cf338dcc54370901429cd6 20-Feb-2014 Stephen Hines <srhines@google.com> am 8d51208f: Merge "Run verifier on RenderScript .bc modules"

* commit '8d51208fd5bfe3e2056cfdaae6637b8c662282f0':
Run verifier on RenderScript .bc modules
d724d097437f40a5689464429f948ec41e4a2415 11-Feb-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM 3.4 rebase.

Convert all bitcode readers to use error_code instead of bool + char* for
status returns.

Remove LinkOnceODRAutoHideLinkage, since it is now just a special case of
LinkOnceODRLinkage.

Handle the PassManager -> legacy::PassManager transition.

Change-Id: I33f0fe1c95436d35d02bc3f1b19b268f25f149d1
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
nclude/bcc/Compiler.h
6eb15c253ed9b3139be4e1640ed01f6973f80a4d 20-Feb-2014 Stephen Hines <srhines@google.com> Merge "Provide a flag to disable TBAA for RS (and disable TBAA temporarily)."
8d51208fd5bfe3e2056cfdaae6637b8c662282f0 20-Feb-2014 Stephen Hines <srhines@google.com> Merge "Run verifier on RenderScript .bc modules"
9c5263e00d89dfdd25d3a1706eb319e8529ec604 12-Feb-2014 Stephen Hines <srhines@google.com> Provide a flag to disable TBAA for RS (and disable TBAA temporarily).

Bug: 12977065

This is currently blocking the LLVM 3.4 rebase, since our TBAA pass is causing
NULL pointers to be dereferenced.

Change-Id: I51cd9d0efc331150970c3054a9cd26f55aa2eb0d
ib/Renderscript/RSForEachExpand.cpp
b316f58fd790ad302b72f569af3e89734ae09db7 15-Aug-2013 Tobias Grosser <grosser@google.com> Run verifier on RenderScript .bc modules

Verify the bitcode to abort gracefully on invalid .bc modules instead of
crashing randomly. This patch will not detect all problems with the bitcode
writing, but it is likely to catch attribute breakages such as Bug 9503142. It
also prevents us from crashing on the incorrect debug info found in Bug
1031440.

Change-Id: I2bf626b7aae173dc7238a499b2a0474301197cbe
ib/Core/Source.cpp
27d65323f4df78e02a20be075660168e90d093de 19-Feb-2014 Colin Cross <ccross@android.com> am 65674b57: am 41ae3467: Merge "libbcc: convert makefiles to support multilib build"

* commit '65674b572824ac62198cd77846304df79721f00b':
libbcc: convert makefiles to support multilib build
65674b572824ac62198cd77846304df79721f00b 19-Feb-2014 Colin Cross <ccross@android.com> am 41ae3467: Merge "libbcc: convert makefiles to support multilib build"

* commit '41ae3467424661ecb7bdd2f2831312c5768bf4fb':
libbcc: convert makefiles to support multilib build
41ae3467424661ecb7bdd2f2831312c5768bf4fb 19-Feb-2014 Colin Cross <ccross@android.com> Merge "libbcc: convert makefiles to support multilib build"
3578f6bc7053117996447c81971c680ea0d8f83b 18-Feb-2014 Stephen Hines <srhines@google.com> am fc0eb1a0: am 5fc51970: Merge "Fix disabling global merge option with standalone bcc."

* commit 'fc0eb1a0f272605869332a38749047ec4572bc84':
Fix disabling global merge option with standalone bcc.
fc0eb1a0f272605869332a38749047ec4572bc84 18-Feb-2014 Stephen Hines <srhines@google.com> am 5fc51970: Merge "Fix disabling global merge option with standalone bcc."

* commit '5fc51970b5e648ce8b9fc9ec88ef1b8882969d0a':
Fix disabling global merge option with standalone bcc.
5fc51970b5e648ce8b9fc9ec88ef1b8882969d0a 18-Feb-2014 Stephen Hines <srhines@google.com> Merge "Fix disabling global merge option with standalone bcc."
045558bd401d0af58a0b57594d75d45ff3035dc9 18-Feb-2014 Stephen Hines <srhines@google.com> Fix disabling global merge option with standalone bcc.

mConfig will be set before entering setConfig so
EnableGlobalMerge needs to be refreshed every time.

Change-Id: Ia51e706e717636ea7a87f625256d21bb050da6db
ib/Renderscript/RSCompilerDriver.cpp
dee928bc6675807469a05ebd00816063e2ecff25 11-Feb-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM 3.4 rebase.

Convert all bitcode readers to use error_code instead of bool + char* for
status returns.

Remove LinkOnceODRAutoHideLinkage, since it is now just a special case of
LinkOnceODRLinkage.

Handle the PassManager -> legacy::PassManager transition.

Change-Id: I33f0fe1c95436d35d02bc3f1b19b268f25f149d1
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
nclude/bcc/Compiler.h
97953590edb237b8160e12ea20e152052a9348af 12-Feb-2014 Stephen Hines <srhines@google.com> Provide a flag to disable TBAA for RS (and disable TBAA temporarily).

Bug: 12977065

This is currently blocking the LLVM 3.4 rebase, since our TBAA pass is causing
NULL pointers to be dereferenced.

Change-Id: I51cd9d0efc331150970c3054a9cd26f55aa2eb0d
ib/Renderscript/RSForEachExpand.cpp
71df05005d8cbc15b4c288ff643be243af0c7b88 05-Feb-2014 Colin Cross <ccross@android.com> libbcc: convert makefiles to support multilib build

Convert makefiles to allow for building two architectures at the
same time.

Change-Id: I13cba3766a658e332a5223ce357878b25ba8ecec
ndroid.mk
cinfo/Android.mk
ibbcc-device-build.mk
ibbcc-gen-build-info.mk
ibbcc-gen-config-from-mk.mk
ibbcc.sha1.mk
2ae96d8f9be61558241e5118940796a66a64e46d 06-Feb-2014 Elliott Hughes <enh@google.com> am 838c6af8: am a7f99c4c: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"

* commit '838c6af86fe59f700cf657d92abbc2479b91004a':
[MIPS64] Temporary placeholder build, to allow other projects to build
838c6af86fe59f700cf657d92abbc2479b91004a 06-Feb-2014 Elliott Hughes <enh@google.com> am a7f99c4c: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"

* commit 'a7f99c4c0280000306e9e2c2172e48aaad51b595':
[MIPS64] Temporary placeholder build, to allow other projects to build
a7f99c4c0280000306e9e2c2172e48aaad51b595 06-Feb-2014 Elliott Hughes <enh@google.com> Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"
994e44d828d0082f54754daeb9da6230f979b5d6 21-Jan-2014 Duane Sand <duane.sand@imgtec.com> [MIPS64] Temporary placeholder build, to allow other projects to build

Change-Id: Ieec80cb2828eb3a95f08f67c0f62281ba5a891ec
ndroid.mk
cinfo/Android.mk
ibbcc-device-build.mk
68e7d72e4e953b7bd8450fc5c41319c139b03af3 31-Jan-2014 Ian Rogers <irogers@google.com> am 6946e0b5: am 26c4fd24: Merge "Fix a pointer cast for 64bit."

* commit '6946e0b59bb8ecbb55e437fd39d20cd6968e0319':
Fix a pointer cast for 64bit.
6946e0b59bb8ecbb55e437fd39d20cd6968e0319 31-Jan-2014 Ian Rogers <irogers@google.com> am 26c4fd24: Merge "Fix a pointer cast for 64bit."

* commit '26c4fd242fe5ecf3debf078a17eb7725ad4a2421':
Fix a pointer cast for 64bit.
26c4fd242fe5ecf3debf078a17eb7725ad4a2421 30-Jan-2014 Ian Rogers <irogers@google.com> Merge "Fix a pointer cast for 64bit."
be07e239b10f91169f795cbe602552792d4d0415 30-Jan-2014 Ian Rogers <irogers@google.com> Fix a pointer cast for 64bit.

Change-Id: I502f46e41a1089bd6f1cd84ddee8e92c35e6ef61
ib/ExecutionEngine/ELFObjectLoaderImpl.cpp
b79bb5fc5cbafdc9280ef0877dd7ce3d2a311be7 24-Jan-2014 Colin Cross <ccross@android.com> am e303eeb8: am 1e70a86d: Merge "frameworks/compile/libbcc: rename aarch64 target to arm64"

* commit 'e303eeb89cc8f30631cb0f2edf677f23273f8474':
frameworks/compile/libbcc: rename aarch64 target to arm64
e303eeb89cc8f30631cb0f2edf677f23273f8474 24-Jan-2014 Colin Cross <ccross@android.com> am 1e70a86d: Merge "frameworks/compile/libbcc: rename aarch64 target to arm64"

* commit '1e70a86d8da3bce6630a1853e148b2b3de2692c1':
frameworks/compile/libbcc: rename aarch64 target to arm64
1e70a86d8da3bce6630a1853e148b2b3de2692c1 24-Jan-2014 Colin Cross <ccross@android.com> Merge "frameworks/compile/libbcc: rename aarch64 target to arm64"
b79cd56cdcf9e15730c5037d0c1fd33be52563d9 22-Jan-2014 Colin Cross <ccross@android.com> frameworks/compile/libbcc: rename aarch64 target to arm64

Rename aarch64 build targets to arm64. The gcc toolchain is still
aarch64.

Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
ndroid.mk
cinfo/Android.mk
ibbcc-device-build.mk
89ea9fcfee23653e6a94e18afd87ae2a518854c3 10-Jan-2014 Stephen Hines <srhines@google.com> resolved conflicts for merge of 4338f999 to master

Change-Id: I37460dab15b113ed7b69905725f3e66059322c66
4338f999712aa7ef16f070cb8320a15f5ad92dee 10-Jan-2014 Stephen Hines <srhines@google.com> am 77dfcdcc: Merge "x86_64: Update makefile to avoid early fail of any other project build"

* commit '77dfcdccc5691065b88f05a62356a73eeb48d8f9':
x86_64: Update makefile to avoid early fail of any other project build
77dfcdccc5691065b88f05a62356a73eeb48d8f9 10-Jan-2014 Stephen Hines <srhines@google.com> Merge "x86_64: Update makefile to avoid early fail of any other project build"
2140268fadd2782d9a3d8885ca72cf8c0e52c46e 27-Nov-2013 Pavel Chupin <pavel.v.chupin@intel.com> x86_64: Update makefile to avoid early fail of any other project build

x86_64 porting will be done later

Repeating https://android-review.googlesource.com/#/c/70980 which had
been reverted later in 8d972a6f7975f3b43a1551eb5619f008561a5029

Change-Id: I5d7af166ed7ad28d7d28eb3236d6db9e8b97cd76
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
ibbcc-device-build.mk
22a71da8c1903d4a65b7a289e38c4ebf1c8d065b 19-Dec-2013 Stephen Hines <srhines@google.com> am 0f83a4c3: am 4fcf730e: Merge "AArch64: Temporarily disable AArch64 build"

* commit '0f83a4c3dd06e1dc654ba5f08786a6927c1449ca':
AArch64: Temporarily disable AArch64 build
0f83a4c3dd06e1dc654ba5f08786a6927c1449ca 19-Dec-2013 Stephen Hines <srhines@google.com> am 4fcf730e: Merge "AArch64: Temporarily disable AArch64 build"

* commit '4fcf730eccbb3c891d408827f004d1d6ec41f5b0':
AArch64: Temporarily disable AArch64 build
4fcf730eccbb3c891d408827f004d1d6ec41f5b0 19-Dec-2013 Stephen Hines <srhines@google.com> Merge "AArch64: Temporarily disable AArch64 build"
ad7d4c3a3d412b406b1841ded077fdca91d49b84 22-Nov-2013 Ashok Bhat <ashok.bhat@arm.com> AArch64: Temporarily disable AArch64 build

This patch will disable AArch64 build of libbcc projects
and get us going with the build of other projects.

Needs to be reverted once proper AArch64 port is
integrated into the AOSP.

Change-Id: I5f66b6398465de4d4b27563f800ad08d48aa52fc
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
ndroid.mk
cinfo/Android.mk
ibbcc-device-build.mk
8bcca1f785e223c3a03eee8d041e509d70914567 03-Dec-2013 Stephen Hines <srhines@google.com> am cb934744: am c3494d83: (-s ours) am ad1267eb: (-s ours) Merge "DO NOT MERGE - x86_64: Update makefile to avoid early fail of any other project build"

* commit 'cb934744681efc031b17582575ab940ce355235e':
DO NOT MERGE - x86_64: Update makefile to avoid early fail of any other project build
cb934744681efc031b17582575ab940ce355235e 27-Nov-2013 Stephen Hines <srhines@google.com> am c3494d83: (-s ours) am ad1267eb: (-s ours) Merge "DO NOT MERGE - x86_64: Update makefile to avoid early fail of any other project build"

* commit 'c3494d833d55c6fc086767fd2d006c1b1080ac9a':
DO NOT MERGE - x86_64: Update makefile to avoid early fail of any other project build
c3494d833d55c6fc086767fd2d006c1b1080ac9a 27-Nov-2013 Stephen Hines <srhines@google.com> am ad1267eb: (-s ours) Merge "DO NOT MERGE - x86_64: Update makefile to avoid early fail of any other project build"

* commit 'ad1267eb72a55ceae0a7e758a251470ed3c64dde':
DO NOT MERGE - x86_64: Update makefile to avoid early fail of any other project build
ad1267eb72a55ceae0a7e758a251470ed3c64dde 27-Nov-2013 Stephen Hines <srhines@google.com> Merge "DO NOT MERGE - x86_64: Update makefile to avoid early fail of any other project build"
2c01e521ad069ddb01d6eee4aeb4f33bc5f5c5f3 27-Nov-2013 Pavel Chupin <pavel.v.chupin@intel.com> DO NOT MERGE - x86_64: Update makefile to avoid early fail of any other project build

x86_64 porting will be done later

Change-Id: Ib5fea5379c7bf25ac2a45818ee1a9ed550f931aa
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
ibbcc-device-build.mk
7a3ca5947ec2680d2b220d4b5ae850a4f2f87117 17-Oct-2013 Ed Heyl <edheyl@google.com> am 1418f023: am c952d877: merge in klp-release (no-op)

* commit '1418f02306ef4df877da96f9f87c4092c9412ac6':
1418f02306ef4df877da96f9f87c4092c9412ac6 17-Oct-2013 Ed Heyl <edheyl@google.com> am c952d877: merge in klp-release (no-op)

* commit 'c952d877069bbb322d8b8362232e0c07a7e8ad1e':
c952d877069bbb322d8b8362232e0c07a7e8ad1e 17-Oct-2013 Ed Heyl <edheyl@google.com> merge in klp-release (no-op)
c921089e65836522165ef30a033063b6f2075ed5 09-Oct-2013 Ed Heyl <edheyl@google.com> am d91b636c: am 9acb348a: merge in KQS81M

* commit 'd91b636ccc5550e5a9b4886a1c30dbfb9c553b27':
d91b636ccc5550e5a9b4886a1c30dbfb9c553b27 09-Oct-2013 Ed Heyl <edheyl@google.com> am 9acb348a: merge in KQS81M

* commit '9acb348aa83c53fe37be7be4437514e181334083':
9acb348aa83c53fe37be7be4437514e181334083 09-Oct-2013 Ed Heyl <edheyl@google.com> merge in KQS81M
17a397aa110c6601280b20146c199a56da3d9386 03-Oct-2013 Stephen Hines <srhines@google.com> am 4face7bf: resolved conflicts for merge of 8d972a6f to klp-dev-plus-aosp

* commit '4face7bf943d93ee91ca94f05df2034550f318fd':
Remove references/use of ARCH_X86_HAVE_*.
4face7bf943d93ee91ca94f05df2034550f318fd 03-Oct-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 8d972a6f to klp-dev-plus-aosp

Change-Id: I7d1f460a1b6de08b11b430f90c7bf2534e5cca31
c31b59bd0d84379e252053be603240899923965e 03-Oct-2013 Jun Tian <jun.j.tian@intel.com> am 7aaeb441: (-s ours) am 77e2f0f3: (-s ours) DO NOT MERGE: Refactor the libbcc runtime for x86 platform

* commit '7aaeb441b0e13ec63b48d856b752797be7a07ffa':
DO NOT MERGE: Refactor the libbcc runtime for x86 platform
7aaeb441b0e13ec63b48d856b752797be7a07ffa 03-Oct-2013 Jun Tian <jun.j.tian@intel.com> am 77e2f0f3: (-s ours) DO NOT MERGE: Refactor the libbcc runtime for x86 platform

* commit '77e2f0f3756897029811726095c0be16e2a4f397':
DO NOT MERGE: Refactor the libbcc runtime for x86 platform
8d972a6f7975f3b43a1551eb5619f008561a5029 03-Oct-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 4293770c to stage-aosp-master
77e2f0f3756897029811726095c0be16e2a4f397 15-Aug-2013 Jun Tian <jun.j.tian@intel.com> DO NOT MERGE: Refactor the libbcc runtime for x86 platform

This patch refactors the libbcc runtime code to support x86 platform.
It removed the redundant x86 code and added the missing functions in
libclcore_x86.bc.

It resolved the RenderScript failures on the x86 platform.

Bug: 9961583

Change-Id: Ieed97e90c7c7691185a88dc425a2dd8c68aeb806

Signed-off-by: Yong Chen <yong.a.chen@intel.com>
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/dot_length.c
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/sqrt.c
ib/Renderscript/runtime/arch/x86_clamp.ll
ib/Renderscript/runtime/arch/x86_dot_length.ll
ib/Renderscript/runtime/arch/x86_generic.c
ib/Renderscript/runtime/arch/x86_math.ll
ib/Renderscript/runtime/arch/x86_sse2.ll
ib/Renderscript/runtime/arch/x86_sse3.ll
ib/Renderscript/runtime/build_bc_lib.mk
ib/Renderscript/runtime/rs_cl.c
ib/Renderscript/runtime/rs_sample.c
4293770c4700c898f252fbba14aa5f1c33380b41 03-Oct-2013 Stephen Hines <srhines@google.com> Merge "Remove references/use of ARCH_X86_HAVE_*."
5aa70e1912813e173171b7d8540eb4a896f86b42 03-Oct-2013 Stephen Hines <srhines@google.com> Remove references/use of ARCH_X86_HAVE_*.

Bug: 11048298

These SSE-related defines are unnecessary because all x86 Android devices
have these features. We switch all the checks to __i386__ instead.

This also fixes an issue where non-ARM bitcode files were being created with
the ARM defines present. This is problematic when we then try to do things
that would be arch-specific (i.e. the presence of SSE-enabled functions for
clamp(), ...).

This also cleans up the different target architecture specified in the x86
bitcode files so that they match the platform target (i686-unknown-linux).

Change-Id: Ibbead4aecba2c90bdbe6ff362960079cb7a9e4dc
ndroid.mk
nclude/bcc/Renderscript/RSInfo.h
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSScript.cpp
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/x86_sse2.ll
ib/Renderscript/runtime/arch/x86_sse3.ll
ib/Renderscript/runtime/build_bc_lib.mk
ib/Renderscript/runtime/rs_cl.c
ibbcc-device-build.mk
0816ba98700b724532faaae3a2990f5d981eb385 02-Oct-2013 Stephen Hines <srhines@google.com> am b60e4015: am acf9c9ee: resolved conflicts for merge of b9a4701b to klp-dev

* commit 'b60e4015dcc89dcac4bae02c7ba50528b7108981':
b60e4015dcc89dcac4bae02c7ba50528b7108981 01-Oct-2013 Stephen Hines <srhines@google.com> am acf9c9ee: resolved conflicts for merge of b9a4701b to klp-dev

* commit 'acf9c9eeb5a07535dbed5b272c7f22cc1b050a40':
Fix windows line ending bug.
1669b9863645c00269dc64ce290c03c160229b7b 30-Sep-2013 Stephen Hines <srhines@google.com> am acf9c9ee: resolved conflicts for merge of b9a4701b to klp-dev

* commit 'acf9c9eeb5a07535dbed5b272c7f22cc1b050a40':
Fix windows line ending bug.
4144caca4b336dd6b94d27fcdb089085f3ffb9cb 29-Sep-2013 The Android Automerger <android-build@google.com> merge in klp-release history after reset to klp-dev
acf9c9eeb5a07535dbed5b272c7f22cc1b050a40 27-Sep-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of b9a4701b to klp-dev

Change-Id: I9f7924c489d36913e130fd5e7617e3a96e65f1a1
b9a4701b152c297b09206854fef1ec0156c52fc0 27-Sep-2013 Stephen Hines <srhines@google.com> am c9cdca6e: Fix windows line ending bug.

* commit 'c9cdca6e9d7c0e4973c7c5f4fcbf1483b06c674d':
Fix windows line ending bug.
c9cdca6e9d7c0e4973c7c5f4fcbf1483b06c674d 26-Sep-2013 Stephen Hines <srhines@google.com> Fix windows line ending bug.

http://code.google.com/p/android/issues/detail?id=60327

Change-Id: I578bab2f41347ac2e43b7d4dc1f206c5f91aeae5
ib/Renderscript/RSCompilerDriver.cpp
9d562dff4b39c0fa91f3ac495daec8bfdadbded1 25-Sep-2013 Stephen Hines <srhines@google.com> Merge "x86_64/x32: Add targets"
d0460e7278bdf741faf49c3e577b0d92d345eb44 24-Sep-2013 Stephen Hines <srhines@google.com> am a9438274: (-s ours) am c20d872d: (-s ours) am b733110e: (-s ours) Merge "DO NOT MERGE - x86_64/x32: Add targets"

* commit 'a943827437d36bfcb292764a609fa7e3ea51007d':
DO NOT MERGE - x86_64/x32: Add targets
a943827437d36bfcb292764a609fa7e3ea51007d 24-Sep-2013 Stephen Hines <srhines@google.com> am c20d872d: (-s ours) am b733110e: (-s ours) Merge "DO NOT MERGE - x86_64/x32: Add targets"

* commit 'c20d872dd0343e23b4508617215255c04ee0e5a5':
DO NOT MERGE - x86_64/x32: Add targets
ee734097b5c2cf95f95809290fc8ff2b89021ecc 26-Nov-2012 Pavel Chupin <pavel.v.chupin@intel.com> x86_64/x32: Add targets

This change allows to continue other project builds and avoid early exit
from make. This project is required real porting to x86_64/x32 and assemblies
rewritten.

Change-Id: I83e6cf8fe51ee24f0d6d090f7a97cd9314b02b03
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>

Conflicts:
Android.mk
lib/AndroidBitcode/Android.mk
ibbcc-device-build.mk
c20d872dd0343e23b4508617215255c04ee0e5a5 24-Sep-2013 Stephen Hines <srhines@google.com> am b733110e: (-s ours) Merge "DO NOT MERGE - x86_64/x32: Add targets"

* commit 'b733110e2aab7ce8f62178fe736b97df1ec5ec00':
DO NOT MERGE - x86_64/x32: Add targets
b733110e2aab7ce8f62178fe736b97df1ec5ec00 24-Sep-2013 Stephen Hines <srhines@google.com> Merge "DO NOT MERGE - x86_64/x32: Add targets"
bc9a422c75a3b69d018ec37b153edeeeb76a2d86 26-Nov-2012 Pavel Chupin <pavel.v.chupin@intel.com> DO NOT MERGE - x86_64/x32: Add targets

This change allows to continue other project builds and avoid early exit
from make. This project is required real porting to x86_64/x32 and assemblies
rewritten.

Change-Id: I83e6cf8fe51ee24f0d6d090f7a97cd9314b02b03
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
ndroid.mk
ib/AndroidBitcode/Android.mk
ibbcc-device-build.mk
3c2edb53918181bbf8f8374c2137f85c386d494c 28-Aug-2013 Stephen Hines <srhines@google.com> am 730bc94d: (-s ours) am 419c8ba1: (-s ours) am a127e3e6: (-s ours) Merge "DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures."

* commit '730bc94de697569900ff8d77e432fd5932ab24a3':
DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures.
07c8cb6e8eacb7ef54cc7bf772ea4adb303e5fcb 28-Aug-2013 Stephen Hines <srhines@google.com> am f1d53e28: (-s ours) am bfc278e0: (-s ours) am 9579a6b5: (-s ours) Merge "DO NOT MERGE - Provide a way to disable LLVM\'s global merge optimization."

* commit 'f1d53e28b3f78b368d1f43815c3fcee7db8464f2':
DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.
730bc94de697569900ff8d77e432fd5932ab24a3 28-Aug-2013 Stephen Hines <srhines@google.com> am 419c8ba1: (-s ours) am a127e3e6: (-s ours) Merge "DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures."

* commit '419c8ba1c75291d403beb3c608faba57f204c544':
DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures.
f1d53e28b3f78b368d1f43815c3fcee7db8464f2 28-Aug-2013 Stephen Hines <srhines@google.com> am bfc278e0: (-s ours) am 9579a6b5: (-s ours) Merge "DO NOT MERGE - Provide a way to disable LLVM\'s global merge optimization."

* commit 'bfc278e013cdb9c570f0a84d47be319d29c96bae':
DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.
419c8ba1c75291d403beb3c608faba57f204c544 28-Aug-2013 Stephen Hines <srhines@google.com> am a127e3e6: (-s ours) Merge "DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures."

* commit 'a127e3e6267bd33a8e8db30d472576740dede7e6':
DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures.
bfc278e013cdb9c570f0a84d47be319d29c96bae 28-Aug-2013 Stephen Hines <srhines@google.com> am 9579a6b5: (-s ours) Merge "DO NOT MERGE - Provide a way to disable LLVM\'s global merge optimization."

* commit '9579a6b545dab285e56778789fc41575c2923605':
DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.
a127e3e6267bd33a8e8db30d472576740dede7e6 28-Aug-2013 Stephen Hines <srhines@google.com> Merge "DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures."
9579a6b545dab285e56778789fc41575c2923605 28-Aug-2013 Stephen Hines <srhines@google.com> Merge "DO NOT MERGE - Provide a way to disable LLVM's global merge optimization."
3d740780dfc4c446d89b9d130d739b4aa90c8298 12-Jul-2013 Stephen Hines <srhines@google.com> DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures.

Change-Id: I5c4c236c306e120c5aa24fbc91815cc27d7aab0f

Conflicts:
include/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
957c9bcff7f9811cd9cb62211c888338228f8a15 30-Apr-2013 Stephen Hines <srhines@google.com> DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.

Change-Id: I92dff2a208c821722f057dd8c26bd12a1cb5a794

Conflicts:
include/bcc/Renderscript/RSCompilerDriver.h
lib/Renderscript/RSCompilerDriver.cpp
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
fb44329bf605c0e104c88b96b994593a945af6d3 22-Aug-2013 Stephen Hines <srhines@google.com> Merge "Remove unused code"
6317f160c149aebd3b9965e0ded53c7ebb888bbf 21-Aug-2013 Stephen Hines <srhines@google.com> am 219385bd: (-s ours) am b8b896d0: (-s ours) am a73c210b: (-s ours) Merge "DO NOT MERGE: Refactor the libbcc runtime for x86 platform"

* commit '219385bd1e2000345215bff41b53dc5814c1847b':
DO NOT MERGE: Refactor the libbcc runtime for x86 platform
219385bd1e2000345215bff41b53dc5814c1847b 21-Aug-2013 Stephen Hines <srhines@google.com> am b8b896d0: (-s ours) am a73c210b: (-s ours) Merge "DO NOT MERGE: Refactor the libbcc runtime for x86 platform"

* commit 'b8b896d0669b05715526fe07f89599bd19b4b4b3':
DO NOT MERGE: Refactor the libbcc runtime for x86 platform
b8b896d0669b05715526fe07f89599bd19b4b4b3 21-Aug-2013 Stephen Hines <srhines@google.com> am a73c210b: (-s ours) Merge "DO NOT MERGE: Refactor the libbcc runtime for x86 platform"

* commit 'a73c210b03a68de3160cbe7a1f0d71fd08151e49':
DO NOT MERGE: Refactor the libbcc runtime for x86 platform
a73c210b03a68de3160cbe7a1f0d71fd08151e49 21-Aug-2013 Stephen Hines <srhines@google.com> Merge "DO NOT MERGE: Refactor the libbcc runtime for x86 platform"
b441caf2915b86a93a0e195290980416da9e8307 15-Aug-2013 Jun Tian <jun.j.tian@intel.com> DO NOT MERGE: Refactor the libbcc runtime for x86 platform

This patch refactors the libbcc runtime code to support x86 platform.
It removed the redundant x86 code and added the missing functions in
libclcore_x86.bc.

It resolved the RenderScript failures on the x86 platform.

Bug: 9961583

Change-Id: Ieed97e90c7c7691185a88dc425a2dd8c68aeb806

Signed-off-by: Yong Chen <yong.a.chen@intel.com>
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/dot_length.c
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/sqrt.c
ib/Renderscript/runtime/arch/x86_clamp.ll
ib/Renderscript/runtime/arch/x86_dot_length.ll
ib/Renderscript/runtime/arch/x86_generic.c
ib/Renderscript/runtime/arch/x86_math.ll
ib/Renderscript/runtime/arch/x86_sse2.ll
ib/Renderscript/runtime/arch/x86_sse3.ll
ib/Renderscript/runtime/build_bc_lib.mk
ib/Renderscript/runtime/rs_cl.c
ib/Renderscript/runtime/rs_sample.c
efde1ffb2f6fae8bfa724560432a1434fb0ef71b 20-Aug-2013 Tobias Grosser <grosser@google.com> Remove unused code

Change-Id: Iea9198c5ce78db933883ac4adab1332f4d2fc430
nclude/bcc/Renderscript/RSScript.h
eab740276cffc3f762345018a9ab2472ccaa893d 19-Aug-2013 The Android Automerger <android-build@google.com> merge in klp-release history after reset to klp-dev
b8bd3b2273ef790e322b988b78e0afacdec27090 16-Aug-2013 Stephen Hines <srhines@google.com> Merge "Run verifier on RenderScript .bc modules"
1a72b846c283e5228fb29b58dddba3ec2a046129 16-Aug-2013 Stephen Hines <srhines@google.com> am 8e1a5e9f: am 0784365a: resolved conflicts for merge of 8607272a to klp-dev

* commit '8e1a5e9f38f7bac51c078a0394554899ebafc64a':
Remove locking code on Windows builds.
8e1a5e9f38f7bac51c078a0394554899ebafc64a 16-Aug-2013 Stephen Hines <srhines@google.com> am 0784365a: resolved conflicts for merge of 8607272a to klp-dev

* commit '0784365a38fd5a9c08dd484f9ba549328d4dff97':
Remove locking code on Windows builds.
0784365a38fd5a9c08dd484f9ba549328d4dff97 16-Aug-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 8607272a to klp-dev

Change-Id: Ic9b996432bfcd228ae8a45f75bc9c564a3a66a31
8607272ab60dbeaba3fd6272e8aa436bacd8c5ed 16-Aug-2013 Stephen Hines <srhines@google.com> am d7a95265: Remove locking code on Windows builds.

* commit 'd7a95265621a788a6de8c0c3a27a588d7c466f79':
Remove locking code on Windows builds.
4e1eb21c35ac444d5967d497d96e7ec0918799f5 15-Aug-2013 Tobias Grosser <grosser@google.com> Run verifier on RenderScript .bc modules

Verify the bitcode to abort gracefully on invalid .bc modules instead of
crashing randomly. This patch will not detect all problems with the bitcode
writing, but it is likely to catch attribute breakages such as Bug 9503142. It
also prevents us from crashing on the incorrect debug info found in Bug
1031440.

Change-Id: I2bf626b7aae173dc7238a499b2a0474301197cbe
ib/Core/Source.cpp
6d9b63867a5944f2e740c6135b4e22a23b0f5f57 15-Aug-2013 The Android Open Source Project <initial-contribution@android.com> am e394d860: (-s ours) Reconcile with klp-release - do not merge

* commit 'e394d8608f648f6c99ff3487607393931e10f441':
ForEach: Not all kernels are expanded
e394d8608f648f6c99ff3487607393931e10f441 15-Aug-2013 The Android Open Source Project <initial-contribution@android.com> Reconcile with klp-release - do not merge

Change-Id: Iffb304a6ecf897ab63bc1493ee87d83be66046ad
f078c0a5311fa5bb1136e231b174fe21609b22fb 13-Aug-2013 The Android Automerger <android-build@google.com> merge in klp-release history after reset to klp-dev
b10c3a7d91556ef31ce91ef018fee4722b783960 08-Aug-2013 Stephen Hines <srhines@google.com> Update libbcc for LLVM merge to r187914.

Switch over to new llvm::sys::path implementation.
Remove unused Source::CreateFromFd().
F_Binary is now in llvm::sys::fs.

Change-Id: Ib0ebb8a1d8ea04e5cf36c8082cf31dab2e144554
cinfo/tools/main.cpp
nclude/bcc/Source.h
ib/Core/Source.cpp
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc/Main.cpp
ools/bcc_strip_attr/bcc_strip_attr.cpp
d7a95265621a788a6de8c0c3a27a588d7c466f79 09-Aug-2013 Stephen Hines <srhines@google.com> Remove locking code on Windows builds.

Change-Id: Ia5656cf4feec3206e73ecc3e3b504146b0c66707
ib/Renderscript/RSCompilerDriver.cpp
7e4bcf65d028207cc65cf9b23e42224f205fb9b2 08-Aug-2013 The Android Automerger <android-build@google.com> merge in klp-release history after reset to klp-dev
c1567c07c7ffd7371b295964177743488bde008a 07-Aug-2013 Stephen Hines <srhines@google.com> Merge "Decode RenderScript kernel signatures using bcinfo::MetadataExtractor."
e73ecf5c4fcbeb9953eab7a91f969aa04a993f82 07-Aug-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 99423c16 to master

Change-Id: I24b95cf7adea1e303e0699f68f4a739b1cabebdb
1a36fcaac9255684fec371868c80ecab0b68c8c2 07-Aug-2013 Stephen Hines <srhines@google.com> am a08768d4: am 48cd7454: Fix Windows build issues for libbcc.

* commit 'a08768d46fa5e3087d0fbd288366c53495ee2773':
Fix Windows build issues for libbcc.
a5e4779f582596c6c37ff1f3052b85085d064a64 07-Aug-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of 1ecad8f8 to master

Change-Id: I9ca2fcb2c7bdcb83796dd97bfe8ed509520d6ecb
ad1f30466a618ae36b43bfdd993483abe022e5c8 07-Aug-2013 Stephen Hines <srhines@google.com> resolved conflicts for merge of bd84ef79 to master

Change-Id: I365cbe8a9f1acad6d5c62d81fd9eaff2e61ae244
99423c16fd43c9f7b2bcca60402aafdf0c2f842e 06-Aug-2013 Stephen Hines <srhines@google.com> am d06574b6: Use BUILD instead of HOST for bcc_strip_attr.

* commit 'd06574b6d2114b0c00fdf9e3fd292211031571b1':
Use BUILD instead of HOST for bcc_strip_attr.
a08768d46fa5e3087d0fbd288366c53495ee2773 06-Aug-2013 Stephen Hines <srhines@google.com> am 48cd7454: Fix Windows build issues for libbcc.

* commit '48cd745480738c026312931877ecb8ebecb1c64e':
Fix Windows build issues for libbcc.
1ecad8f8e96b67d5f8c43af44375abafa7d40eff 06-Aug-2013 Stephen Hines <srhines@google.com> am baa6b9d5: Remove libbcc\'s dependence on mclinker.

* commit 'baa6b9d53c2675f20ae6a8d7796b6d530cca8fa7':
Remove libbcc's dependence on mclinker.
bd84ef795e2ca69d7236f65d208695542830328a 06-Aug-2013 Stephen Hines <srhines@google.com> am d5a0f131: Remove ABCC and associated components.

* commit 'd5a0f131fcd068c87024a6cf917e34151d4bb114':
Remove ABCC and associated components.
3b3266af29317401e3091fe8af5c6da1177439ed 05-Aug-2013 The Android Automerger <android-build@google.com> merge in klp-release history after reset to master
d88177580db4ddedf680854c51db333c97eabc59 03-Aug-2013 Stephen Hines <srhines@google.com> Decode RenderScript kernel signatures using bcinfo::MetadataExtractor.

Change-Id: I9472d0c36e23a1e0d583fc823c986ee7a1bb05ed
nclude/bcinfo/MetadataExtractor.h
ib/Renderscript/RSForEachExpand.cpp
18a38a3fc6fad8355891b771dd3c6537fa8699ec 27-Jul-2013 Tobias Grosser <grosser@google.com> Annotate allocations with Renderscript TBAA metadata

We extend the RSForEachExpand pass to emit Renderscript TBAA metadata.
This allows us to prove the absence of aliasing between accesses to to
allocations and other data accesses. This is especially useful as it enables
the compiler often to hoist loop invariant globals out of the compute loop.

Change-Id: Ic993c85b56ecf79b9cd5241fe3d961ace2b23935
ib/Renderscript/RSForEachExpand.cpp
d06574b6d2114b0c00fdf9e3fd292211031571b1 01-Aug-2013 Stephen Hines <srhines@google.com> Use BUILD instead of HOST for bcc_strip_attr.

Change-Id: Ifeea47994e36d29f690bd77af812500f7e023db1
ib/Renderscript/runtime/build_bc_lib.mk
48cd745480738c026312931877ecb8ebecb1c64e 31-Jul-2013 Stephen Hines <srhines@google.com> Fix Windows build issues for libbcc.

Add unimplemented versions of dlfcn.h functions.
Remove OutputFile::CreateTemporary(), since it is unused.
Remove unnecessary includes to prevent issues with missing libraries.

Change-Id: I74bea72c8f174843e61faa8cac8bd6ae429a1bc0
ndroid.mk
cinfo/Android.mk
nclude/bcc/Support/OutputFile.h
ib/ExecutionEngine/SymbolResolvers.cpp
ib/Renderscript/RSInfo.cpp
ib/Support/FileBase.cpp
ib/Support/OutputFile.cpp
ools/bcc_compat/Android.mk
ools/bcc_compat/Main.cpp
ools/bcc_strip_attr/Android.mk
699ad736f4584e927c293e144f442a787878700d 30-Jul-2013 The Android Automerger <android-build@google.com> merge in klp-release history after reset to master
baa6b9d53c2675f20ae6a8d7796b6d530cca8fa7 16-Jun-2013 Stephen Hines <srhines@google.com> Remove libbcc's dependence on mclinker.

These features are no longer being used by libbcc, and static initializers
from mclinker are conflicting with tool development (i.e. positional argument
specifiers for the new bcc executable).

Change-Id: I0da427034c50015607a59d4193547868fa9eeabf
ndroid.mk
leanSpec.mk
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
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
ools/mcld/Android.mk
ools/mcld/Main.cpp
d5a0f131fcd068c87024a6cf917e34151d4bb114 05-Jun-2013 Stephen Hines <srhines@google.com> Remove ABCC and associated components.

Change-Id: I93f1c2918ca68268d09fac5249e8ba24d6d76dd8
ndroid.mk
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.cpp
ib/AndroidBitcode/ARM/ARMABCCompilerDriver.h
ib/AndroidBitcode/ARM/ARMABCExpandVAArg.cpp
ib/AndroidBitcode/Android.mk
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.cpp
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.h
ib/AndroidBitcode/Mips/MipsABCExpandVAArg.cpp
ib/AndroidBitcode/X86/X86ABCCompilerDriver.cpp
ib/AndroidBitcode/X86/X86ABCCompilerDriver.h
ib/AndroidBitcode/X86/X86ABCExpandVAArg.cpp
ools/abcc/Android.mk
ools/abcc/Main.cpp
6a5fa14074200a18824defa0bffc64e5f2487152 24-Jul-2013 Tobias Grosser <grosser@google.com> Remove beforeExecuteLTOPasses callback

This callback had very unclear semantics and the current use was suprising.
Specifically, it took a PassManager parameter, but adding anything to this pass
manager would cause the passes to be executed after the other LTO passes The
only way to execute passes before the LTO passes, was to create a new pass
manager that executes a pass right before all LTO passes (that have already
being queued in the pass manager passed in as a parameter) will be executed.
The very same behavior can be achieved by just adding our passes to the
normal pass manager using the "BeforeAddLTOPasses" callback.

We used this callback to schedule the ForEachExpand pass. This pass is now
moved to the beforeAddLTOPasses callback.

Change-Id: I3916543a4ee282e403174b90dc7b7588baab9ea3
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSCompiler.h
ib/Core/Compiler.cpp
ib/Renderscript/RSCompiler.cpp
5b7f52aff2030d520ee2ac6d3ac7d917f38d550c 23-Jul-2013 Tobias Grosser <grosser@google.com> Improve error code to error string translation

We now use an explicit switch to translate an error code to an error string as
this allows the compiler to statically verify that we covered all cases. While
at it we add a new error message for "kErrInvalidSource" which was missing
previously. We also remove "kMaxErrorCode" as it was unused.

Change-Id: I8ade465697c7fa6cc3e48c5c581e5a4dfcf15959
nclude/bcc/Compiler.h
ib/Core/Compiler.cpp
2d2697b4eee313582b046ffe2d9963e58f129a81 16-Jul-2013 The Android Automerger <android-build@google.com> merge in klp-release history after reset to master
b3f83eb676bb3bccfc31791a616900bded35e5cb 15-Jul-2013 The Android Automerger <android-build@google.com> merge in klp-release history after reset to master
bed20c6e8eae366f896ac7a6ff3533a01abd02ec 13-Jul-2013 Stephen Hines <srhines@google.com> Adapt to linkloader moving from driver/ to cpu_ref/ in frameworks/rs.

Change-Id: I727d768ed28b22488898289047f230fce0d9476a
ibbcc.mk
c06cd06078a8c866d5cecbf897326092b55a8955 12-Jul-2013 Stephen Hines <srhines@google.com> Only support EnableGlobalMerge on ARM architectures.

Change-Id: I5c4c236c306e120c5aa24fbc91815cc27d7aab0f
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ad69476ec040ba9ee07176ccb758aabb5ff6d51c 30-Apr-2013 Stephen Hines <srhines@google.com> Provide a way to disable LLVM's global merge optimization.

Change-Id: I92dff2a208c821722f057dd8c26bd12a1cb5a794
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
c4f1e3ca2e46830f0daae4703f43750e89f9fb3c 02-Jul-2013 Tobias Grosser <grosser@google.com> ForEach: Not all kernels are expanded

Bug: 9674197

There may be some graphics root functions that are not expanded
and can consequently not be marked as internal linkage.

Change-Id: I643a2c82b91ba94fbd30598402698173ca2307ab
ib/Renderscript/RSForEachExpand.cpp
acde6013e9c448547e59eed04afd2adbd9681a3a 02-Jul-2013 Tobias Grosser <grosser@google.com> ForEach: Not all kernels are expanded

Bug: 9674197

There may be some graphics root functions that are not expanded
and can consequently not be marked as internal linkage.

Change-Id: I643a2c82b91ba94fbd30598402698173ca2307ab
ib/Renderscript/RSForEachExpand.cpp
cd5b657c39a348bd7652a19c5be5035e9df44a42 02-Jul-2013 Tobias Grosser <grosser@google.com> ForEach: Set internal linkage for kernel functions

The expanded function is the external visible interface. Setting internal
linkage will influence the cost function of the inliner. Specifically, the
inliner knowns that no external users will use the unexpanded kernel function,
which means it will inline it and remove the original function.

This gives a 22% speedup on the colorcube 3D, 19% on convolve3x3
as well as minor speedups on fisheye.

Change-Id: I9770c92d24dfc7978145e694d1a35829c5432264
ib/Renderscript/RSForEachExpand.cpp
e7ec64eef990a22d765b624dd9225bf3d625a9a0 01-Jul-2013 Stephen Hines <srhines@google.com> Merge "Remove manually inlined populateLTOPassManager()"
2f6103bb820139d19f709e687f5bf4f86226057e 01-Jul-2013 Tobias Grosser <grosser@google.com> Remove manually inlined populateLTOPassManager()

Instead of copying the content of
llvm::PassManagerBuilder::populateLTOPassManager() we just call it.
This does not only reduce code duplication, but also ensures that we do not
miss anything. Specifically, the previous code did not run any alias analysis
at all. After this change we now always run tbaa and basicaa. This does not
give any benefits at the moment, but is a prerequisite for upcoming changes to
our alias analysis.

Change-Id: I01b352255e958cbc1c996d934a519f5ab71f9f24
ib/Core/Compiler.cpp
d877a745256410a837b1be4a63aa517990202618 28-Jun-2013 Stephen Hines <srhines@google.com> Merge "Fix up a few minor issues with bcc standalone executable."
7e9c1853efd1615e9187611e8f47ef3ec30de686 22-Jun-2013 Stephen Hines <srhines@google.com> Fix up a few minor issues with bcc standalone executable.

1) Default to -O3. This is to match the behavior of the integrated compiler
in libbcc today.
2) Actually run the config() step on the RSCompilerDriver. I previously
removed the invocation here, since it wasn't doing what we actually wanted
by default. This change restores the use of config().
3) In running the config() step mentioned in 2), we actually now respect
the -mtriple compiler flag when run on the host. Device-side compiles
will always use the target architecture. This makes it easier to generate
multiple resulting object files for different architectures.

Change-Id: I623ee8eec3d6c42375973e7b7e27f0800ea8ca48
ools/bcc/Main.cpp
4102bec56151fb5d9c962fb298412f34a6eacaa8 27-Jun-2013 Tobias Grosser <grosser@google.com> ForEach: No IntToPtr casts for ptr kernel inputs

Instead we replace the calculation of the pointer offsets with an explicit
getElementPointer instruction.

Change-Id: I95bedfa1b17b839a122548f4d855d6ec40c7467b
ib/Renderscript/RSForEachExpand.cpp
ae937ec9658c219a38d9d631d2569f19e21b50c0 27-Jun-2013 Tobias Grosser <grosser@google.com> ForEach: No IntToPtr casts for byvalue kernel inputs

Instead we replace the calculation of the pointer offsets with an explicit
getElementPointer instruction.

Change-Id: I4e31fe42382cd0f37ed582d62795555482186d96
ib/Renderscript/RSForEachExpand.cpp
02f3cd69a4103f91a51a2f988f2179c885d734b5 27-Jun-2013 Tobias Grosser <grosser@google.com> ForEach: No IntToPtr casts for ptr outputs

Instead we replace the calculation of the pointer offsets with an explicit
getElementPointer instruction.

Change-Id: I350cacd132d97dc620fe3c1c3ca89d1028677965
ib/Renderscript/RSForEachExpand.cpp
7b6629024395bf085ca64fcd5c69d2ded95e8d18 22-Jun-2013 Tobias Grosser <grosser@google.com> ForEach: No IntToPtr casts for byvalue outputs

Instead we replace the calculation of the pointer offsets with
an explicit getElementPointer instruction.

Change-Id: I814a18d4d48e3e0bd13ca93697ad049fa0ed8c4c
ib/Renderscript/RSForEachExpand.cpp
27fb7edfd3f53f52fba6ee81267c02f7896198a3 22-Jun-2013 Tobias Grosser <grosser@google.com> Dump LLVM-IR before generating target code

Dumping the IR earlier prevents target specific passes to modify
the IR before it is dumped.

Change-Id: I8a61efb7140b0c2025381ea1ad1f4cf3522ec870
nclude/bcc/Compiler.h
ib/Core/Compiler.cpp
ib/Renderscript/RSCompilerDriver.cpp
e87a0518647d1f9c5249d6990c67737e0fb579e9 26-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Use consistently unsigned integers in loop

Previously we used an signed compare in the loop exit condition, but claimed
the absence of unsigned integer wrapping. We now use an unsigned comparison
reflecting that our integers are interpreted as unsigned values.

Change-Id: I3d77402e93dac625b3688078d5a1a826a32a9dac
ib/Renderscript/RSForEachExpand.cpp
e4a73f68e1b338881adf682c458e0b4b92ecd91e 22-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Construct loop in a separate function

When expanding the loading/unloading of parameter values as well as the
creation of the implicit loop where mangled together. We now separate
them. This reduces code duplication and makes the difference between
the two ways of expanding a kernel more clear.

We also add some documentation and a FIXME that highlights the
surprising use of NUW during code generation.

The only functional change included here is that we switch to using PHI-nodes
instead of loading/storing the loop iterator to memory.

Change-Id: I8c28f3054eb00a73b8b754057625e52140c04405
ib/Renderscript/RSForEachExpand.cpp
806075b3a54af826fea78490fb213d8a0784138e 21-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Create a complete function

In createEmptyExpandedFunction() we now create a complete function containing a
single basic block that directly returns. The advantage of creating a complete
function is that it allows us to maintain valid LLVM-IR throughout the whole
expansion process. This makes testing easier as commenting out later code does
not yield invalid LLVM-IR.

No functional change intended.

Change-Id: I0af12ec491f879be127461ff2a5a2c38543c8532
ib/Renderscript/RSForEachExpand.cpp
802f65931852d925bbe2e478bafe422b4002e7c4 20-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Name arguments at the time the ForEachStub is created

This also removes code duplication.

No functional change intended.

Change-Id: Ie01d0578a70219909cac3c77e3b184589c371845
ib/Renderscript/RSForEachExpand.cpp
357b58691936bef425bd315c13a2d8019d7e9c7e 20-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Factor out creation of ForEachStub function

This also removes code duplication.

No functional change intended.

Change-Id: I60f2d1d7017db33303ae1bffaa54f578a2276585
ib/Renderscript/RSForEachExpand.cpp
8ae4607d2dc5bc655d0c9225565d36ce2ebfc798 20-Jun-2013 Tobias Grosser <grosser@google.com> ForEachExpand: Create ForEachStub type in separate function

This also removes code duplication.

No functional change intended.

Change-Id: If00fced7db10c37306879fa633aa4453e84d98f0
ib/Renderscript/RSForEachExpand.cpp
8dbca8e957dab1db77dffbe10c14c54d4b439be6 22-Jun-2013 Stephen Hines <srhines@google.com> Switch BitcodeTranslator to emit LLVM 3.2-compatible bitcode.

This path uses the LLVM 3.2 BitcodeWriter present for the llvm-rs-cc frontend.

Change-Id: I5dcbc9cc33e72d84cbd0e477966d9b53f3515c99
cinfo/Android.mk
cinfo/BitcodeTranslator.cpp
d0304d59215f8b065332facf6db11d2aec0eb97c 20-Jun-2013 Stephen Hines <srhines@google.com> Merge "Switch to using full pathnames for cached information."
7b980e1717f3cf418f7bc4e40597004bc1139b8b 20-Jun-2013 Tobias Grosser <grosser@google.com> bcc: Add option -emit-llvm

Change-Id: I98470c6573b216518f77d338f4659d5b9fbcc3d3
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc/Main.cpp
5eea973c91f1d202c6ecc4f753aa65893a5773a6 20-Jun-2013 Stephen Hines <srhines@google.com> Switch to using full pathnames for cached information.

Bug: 7342767
Change-Id: I8997f4d2834fd607bcfc3bb7db81d8e90b4e4f37
ib/Renderscript/RSCompilerDriver.cpp
8be8dba08c97dff239ac8c6bdc7f3a52d96116ae 18-Jun-2013 Stephen Hines <srhines@google.com> Make bcc produce RS-compatible ELF objects.

Bug: 7342767

Change-Id: I48e6d459adc477fcb6f3f1d8e4eb8ff7b40c546d
ools/bcc/Android.mk
ools/bcc/Main.cpp
bae0ae1794b07482c85211c3b4d8f5e8e4da8f69 15-Jun-2013 Stephen Hines <srhines@google.com> Don't dlclose things that haven't been dlopen-ed.

Change-Id: I48ee73f3ca48d4345b976bcdbb08733f60ecdcfe
ib/ExecutionEngine/SymbolResolvers.cpp
13a105a62149a681c30256833e403992e8d9e601 18-Jun-2013 Stephen Hines <srhines@google.com> Merge "Remove libbcc's dependence on mclinker."
3d747ba34a94525cec1cf70db244c7cf00a62de9 18-Jun-2013 Stephen Hines <srhines@google.com> .align behaves differently on ARM and x86.

Change-Id: I3eb4000689a61e030a3a1d50d44c87414e6cf15f
ools/build/gen-sha1-stamp.py
bec0ac6a8dd538a0304df970036ad8e5633b878b 15-Jun-2013 Stephen Hines <srhines@google.com> Fix assembly directives for SHA data generation.

With ".align 8" placed after the symbolic label, the values end up being
placed at the wrong location, thus causing reads of 0 (unitialized) values.
Consider the following assembly code:

foo:
.align 8
.byte 0x1
bar:
.align 8
.byte 0x2
baz:
.align 8
.byte 0x3

This will result in the following sample memory layout:
foo -> 0x400 (with value 1 there)
bar -> 0x401 (with value 0 - uninitialized memory)
0x408 (with value 2)
baz -> 0x409 (with value 0 - uninitialized memory)
0x410 (with value 3)

This patch moves the ".align 8" directive before each label.

Change-Id: I0e0a2ea4b4d4a48a9fe660e86f8f0106f2ec7723
ools/build/gen-sha1-stamp.py
4e9864870f4a2c15ca8e1c333d92487a87ef0655 16-Jun-2013 Stephen Hines <srhines@google.com> Remove libbcc's dependence on mclinker.

These features are no longer being used by libbcc, and static initializers
from mclinker are conflicting with tool development (i.e. positional argument
specifiers for the new bcc executable).

Change-Id: I0da427034c50015607a59d4193547868fa9eeabf
ndroid.mk
leanSpec.mk
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
ibbcc-device-build.mk
ibbcc-host-build.mk
ibbcc.mk
ools/mcld/Android.mk
ools/mcld/Main.cpp
88f8c52abea50f411c3774c935a6a1e04d17c182 13-Jun-2013 Stephen Hines <srhines@google.com> Update libbcc for LLVM merge to r183849.

Remove unused param to readBytes().
Path.h -> PathV1.h
Remove ability to load/run files from bcc tool.

Change-Id: I07d735fb86638412f01c4f8285d56f45ca35b672
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.cpp
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc/Main.cpp
d8d0a4fc4d170cfa3ed5f87ea9a48ce2c3b7dc4e 12-Jun-2013 Stephen Hines <srhines@google.com> Remove unused/stale tests and mark Android.mk not executable.

These tests are from the early days of libbcc (before it was even checked in
to Android). They test specific features that didn't even make it into the
first public release of RenderScript (and libbcc).

Change-Id: If330c77e91917f7ab86c48591c39b26c587d90e0
ndroid.mk
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/test
ests/test.py
1ab4f497185054daaecbccefe1f434b1610b5276 12-Jun-2013 Stephen Hines <srhines@google.com> Merge "Only generate fake root signature for ancient compilers."
285ad4db939511982817556d90aea520a90c7da8 11-Jun-2013 Tobias Grosser <grosser@google.com> Detect NEON availability at run-time

Change-Id: I75f408fc46be2f29c39d8c82e1c57ad4603b331b
ib/Support/TargetCompilerConfigs.cpp
11de13e48f18daf77a64c3a627359e283b54cd15 07-Jun-2013 Stephen Hines <srhines@google.com> Only generate fake root signature for ancient compilers.

In the case where we actually have a non-zero compiler version, the metadata
provided will have the proper information about root(). The bug here is that
sometimes a graphics root() function will end up looking like a compute
root() function (specified with attribute kernel).

Change-Id: I49eb1d555a41552e1345badd5c2001807feeea9b
cinfo/MetadataExtractor.cpp
124296a1e203dac97e1ab792e0dee3eb8a66dbfe 07-Jun-2013 Stephen Hines <srhines@google.com> Merge "Further separate build (compile) and load in libbcc."
afec50cef019ce1672d603af526f137abb68dff4 06-Jun-2013 Tobias Grosser <grosser@google.com> Enable NEON on ARM cortex A15

NEON was temporarily disabled on the cortex A15 due to the low performance that
we have seen. As NEON now yields higher performance than no-NEON on cortex A15,
this is not necessary any more.

Change-Id: I6199b867c05225c65e8ec58febf025e736a1ed97
ndroid.mk
ibbcc-device-build.mk
7709e034814bf07556a05a26d3f9118efdbe654c 25-May-2013 Tobias Grosser <grosser@google.com> Allow rs to tune for specific ARM CPUs

This feature can be disabled with by setting 'debug.rs.arm-no-tune-for-cpu'.

Change-Id: I61f9a170edfc514347fc88f5f515d1ba5cb812d9
ib/Support/TargetCompilerConfigs.cpp
01195ba2a34c6f2318376f7a79da6daa30d2703e 30-May-2013 Tobias Grosser <grosser@google.com> Detect and enable hardware divisions

To understand the performance impact of hardware division it can be disabled
by setting 'debug.rs.arm-no-hwdiv'.

Change-Id: Ib731f38ba56472c96f5fc0f2125fcf6a9f3998b9
nclude/bcc/Support/Properties.h
ib/Support/TargetCompilerConfigs.cpp
47f0d5a8d9ed629a6d58d3e69891f2c7fdee44d9 05-Jun-2013 Stephen Hines <srhines@google.com> Further separate build (compile) and load in libbcc.

Bug: 7342767

Change-Id: Ia6000d6c3557280126c6bb7f945c922528adeedc
nclude/bcc/Compiler.h
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc_compat/Main.cpp
2a0e339cdae6f1ed94186acf70a8b9fea01990af 05-Jun-2013 Stephen Hines <srhines@google.com> Remove ABCC and associated components.

Change-Id: I93f1c2918ca68268d09fac5249e8ba24d6d76dd8
ndroid.mk
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.cpp
ib/AndroidBitcode/ARM/ARMABCCompilerDriver.h
ib/AndroidBitcode/ARM/ARMABCExpandVAArg.cpp
ib/AndroidBitcode/Android.mk
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.cpp
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.h
ib/AndroidBitcode/Mips/MipsABCExpandVAArg.cpp
ib/AndroidBitcode/X86/X86ABCCompilerDriver.cpp
ib/AndroidBitcode/X86/X86ABCCompilerDriver.h
ib/AndroidBitcode/X86/X86ABCExpandVAArg.cpp
ools/abcc/Android.mk
ools/abcc/Main.cpp
323da81127bbbb1200e7eef1940857da65b39669 05-Jun-2013 Stephen Hines <srhines@google.com> Merge "Load scripts from cached files every time."
01f05d4b45cbde1e07d4707152908c1d843f1328 01-Jun-2013 Stephen Hines <srhines@google.com> Load scripts from cached files every time.

Bug: 7342767

Having an separate in-memory (vs. file-based) loader makes little sense as
we refactor libbcc (to separate it into its own process space). This change
is a first step in cleanly separating the compile and link steps.

Change-Id: Iad67527329171f18475ced0f0b2652a0aa060259
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSInfo.h
nclude/bcc/Renderscript/RSScript.h
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSExecutable.cpp
ib/Renderscript/RSInfo.cpp
4218947bc952534273112a7b63d2bffd4fcc50bc 03-Jun-2013 The Android Open Source Project <initial-contribution@android.com> am 9ddacf0f: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '9ddacf0f02d0d6a9ecb480c602bf240bcd01db37':
9ddacf0f02d0d6a9ecb480c602bf240bcd01db37 03-Jun-2013 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr2-release - do not merge

Change-Id: I98c1fdb20e7c25aa7d90d5da24396266bc1926bc
e2b31b44e87ec29e0a80a57e0211253727d7e50a 02-Jun-2013 The Android Automerger <android-build@google.com> merge in jb-mr2-release history after reset to jb-mr2-dev
73945af138f8d2d9d3166ab916aad4a4938853fe 01-Jun-2013 Stephen Hines <srhines@google.com> am cd403ee3: (-s ours) am 1d96bc8f: Take absolute value of value for fast_length().

* commit 'cd403ee3353059c47bd86a951f46a0b44b893872':
Take absolute value of value for fast_length().
cd403ee3353059c47bd86a951f46a0b44b893872 01-Jun-2013 Stephen Hines <srhines@google.com> am 1d96bc8f: Take absolute value of value for fast_length().

* commit '1d96bc8f1612656f1abe9a48feba4a9f819de419':
Take absolute value of value for fast_length().
6b80b1ed5733b1d328a878ef94341a569be213c9 30-May-2013 Stephen Hines <srhines@google.com> Remove stale .bc intermediates.

Change-Id: Ib672e4f4eff39c2e086bced15ad32f688be29ec2
leanSpec.mk
bc7576df5896d4c97034ca1427c240af19d12481 30-May-2013 Stephen Hines <srhines@google.com> Move RS runtime to frameworks/rs.

Bug: 7342767
Change-Id: I2c5e75a7324d9b7c1a89c81f377bf0718e96b463
ib/Renderscript/Android.mk
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/clamp.c
ib/Renderscript/runtime/arch/dot_length.c
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/arch/sqrt.c
ib/Renderscript/runtime/arch/x86_clamp.ll
ib/Renderscript/runtime/arch/x86_dot_length.ll
ib/Renderscript/runtime/arch/x86_generic.c
ib/Renderscript/runtime/arch/x86_math.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/rsClamp.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_matrix.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
1435ae32704fd7e9cfbabca07c274e636e872210 29-May-2013 Jason Sams <jsams@google.com> Implement vector clamp for all types.

Change-Id: I4a1612d691a3f393a3d0e171aec9d8efb8c5ab8e
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/clamp.c
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/build_bc_lib.mk
8ca9b50878e981b2366695e83373ba0aa52c2a15 22-May-2013 Nick Kralevich <nnk@google.com> Merge "bcinfo: Don't call property_get on host"
85d9571c9bd327aebd0cdd2255a1ef4fa4b27df1 22-May-2013 Nick Kralevich <nnk@google.com> bcinfo: Don't call property_get on host

Accessing system properties only makes sense on the target, not
on the host.

This change is needed to remove host support for properties.

Change-Id: I41080ec330da4d7df632cd55d3eff0528bb5b58d
cinfo/MetadataExtractor.cpp
b81d697ec617be24494b622a3532f1c465264415 22-May-2013 Nick Kralevich <nnk@google.com> Renderscript: Don't call property_get on host

Accessing system properties only makes sense on the target, not
on the host.

This change is needed to remove host support for properties.

Change-Id: I41a34bdeae6a1e9a1481f2ecc80e69ead3bd0556
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSInfo.cpp
8b8bbef17a24e5a2503155306a4bb25d34453f68 21-May-2013 Nick Kralevich <nnk@google.com> Merge "Stop using libcutils in abcc"
029a762146b734364d430722c7c06b2e27d65ea1 21-May-2013 Nick Kralevich <nnk@google.com> Stop using libcutils in abcc

abcc is built for the host. However, I'm trying to get rid of all
the host-specific parts of libcutils, as it's complicating other
refactoring.

libcutils is only used to set the process name, so it should be safe
to delete.

Change-Id: I31079daeebb081f9bc4b9ba3166c58222ad55aef
ools/abcc/Android.mk
ools/abcc/Main.cpp
1d96bc8f1612656f1abe9a48feba4a9f819de419 17-May-2013 Stephen Hines <srhines@google.com> Take absolute value of value for fast_length().

Bug: 9018865
Change-Id: I46b23e0df4ae0b1e5c238f353d0b6de539887e9b
ib/Renderscript/runtime/rs_cl.c
5d5890232333b0366cdc9b7baf62d4432a5fd3cd 16-May-2013 The Android Open Source Project <initial-contribution@android.com> am 851f79a5: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '851f79a5a2fdfee5a0aae1500a2d2601fba7085d':
851f79a5a2fdfee5a0aae1500a2d2601fba7085d 16-May-2013 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr2-release - do not merge

Change-Id: I332f0010e8a43c89ef8d06e7bb506107dc9bb5fd
36969e8f10c96a57b8970f82fe4db4689f27b211 13-May-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
fb6e5cb2606552ace0da9f0a47c8bfbf2707d53a 11-May-2013 Tim Murray <timmurray@google.com> am 3128f6cd: am c89f78b4: Remove extraneous logging.

* commit '3128f6cdffb4205de7897aa8fb8b6a768aaac376':
Remove extraneous logging.
3128f6cdffb4205de7897aa8fb8b6a768aaac376 11-May-2013 Tim Murray <timmurray@google.com> am c89f78b4: Remove extraneous logging.

* commit 'c89f78b40e7823eb2d08e7129794c9f6f1992c08':
Remove extraneous logging.
c89f78b40e7823eb2d08e7129794c9f6f1992c08 09-May-2013 Tim Murray <timmurray@google.com> Remove extraneous logging.

bug 8888887

Change-Id: Ief798e6e139fd4971ce53f090004478f4e036a03
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSExecutable.cpp
c0ca2aad83f9ad188170a2398fc66a45192047e0 08-May-2013 Stephen Hines <srhines@google.com> Merge "Adapt libbcc for LLVM/Clang/mclinker update."
86e4506416f974d3c717deaca2b17b0792cc2d49 07-May-2013 Stephen Hines <srhines@google.com> Adapt libbcc for LLVM/Clang/mclinker update.

Change-Id: I80260f41b3c80e4cd260480ff32ee35a9215e39a
nclude/bcc/Linker.h
nclude/bcc/Support/LinkerConfig.h
ib/Core/Linker.cpp
ib/Support/Initialization.cpp
ib/Support/LinkerConfig.cpp
ib/Support/TargetLinkerConfigs.cpp
ools/bcc_strip_attr/bcc_strip_attr.cpp
9b4f25e0921761c334b10b98b49969656d96ebab 06-May-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
cba9daefa053c8231971613d250832c298fbaaed 02-May-2013 Stephen Hines <srhines@google.com> am cb64b9aa: am b837262a: Disable NEON on cortex-a15 temporarily.

* commit 'cb64b9aa5a72fe1041ec0da6fff2a7a15ca67331':
Disable NEON on cortex-a15 temporarily.
cb64b9aa5a72fe1041ec0da6fff2a7a15ca67331 02-May-2013 Stephen Hines <srhines@google.com> am b837262a: Disable NEON on cortex-a15 temporarily.

* commit 'b837262a9648128ed708d50c27b0d501baf90cfd':
Disable NEON on cortex-a15 temporarily.
3e785087c1758881c67d11d7c1fae3b335949a96 02-May-2013 Stephen Hines <srhines@google.com> Merge "Add support for inline assembly parsing with libbcc."
b837262a9648128ed708d50c27b0d501baf90cfd 02-May-2013 Stephen Hines <srhines@google.com> Disable NEON on cortex-a15 temporarily.

Bug: 8530053
Change-Id: I4a13638fbdbefe5bb8063981a7bc3b08c972edbc
ndroid.mk
ib/Renderscript/runtime/Android.mk
ibbcc-device-build.mk
d793ca93d75fe8f1d29ceab8f9bf0432f0f63565 01-May-2013 Stephen Hines <srhines@google.com> Add support for inline assembly parsing with libbcc.

Change-Id: I9ca727aabaf99436abcd305d7c6b4d3ea7232d60
ib/Support/Initialization.cpp
39cbda33297e33ae172b3cad28596c2ee497412a 30-Apr-2013 Jason Sams <jsams@google.com> cleanup rsSample

Change-Id: I8147696b993dd90b6ab07c6c12dd421870092c51
ib/Renderscript/runtime/rs_sample.c
69c7d34392ff5073e18f88880a8c96ca6a41ee2c 24-Apr-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
1a316f8bdb4341052540f64214b311b0bac58345 24-Apr-2013 Stephen Hines <srhines@google.com> am c2903e2f: am 2a8abe7d: Fix issues with 3D rs(Set|Get)ElementAt function.

* commit 'c2903e2fe5b8602e0d1373e41c8bdc19db1ad37f':
Fix issues with 3D rs(Set|Get)ElementAt function.
c2903e2fe5b8602e0d1373e41c8bdc19db1ad37f 24-Apr-2013 Stephen Hines <srhines@google.com> am 2a8abe7d: Fix issues with 3D rs(Set|Get)ElementAt function.

* commit '2a8abe7dc51c247f8abda8bd818c14d4d570d1ac':
Fix issues with 3D rs(Set|Get)ElementAt function.
2a8abe7dc51c247f8abda8bd818c14d4d570d1ac 23-Apr-2013 Stephen Hines <srhines@google.com> Fix issues with 3D rs(Set|Get)ElementAt function.

Bug: 8680826
Change-Id: Ica91b4c9727f2424a29ea5b1f91dbc08d25f4873
ib/Renderscript/runtime/rs_allocation.c
383715f63ef105a671ed970301d48cff0980097a 22-Apr-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
49eefb64775235529e6666a78a0bb6694887c887 20-Apr-2013 Stephen Hines <srhines@google.com> am dd466ed4: am 1d4a9e46: Improve caching for debug contexts.

* commit 'dd466ed4abc89be32da1c840c509998a6d3785f4':
Improve caching for debug contexts.
976dc0e0376494aaa7bd110ff171924f783d6db2 20-Apr-2013 Stephen Hines <srhines@google.com> am 03380700: am 8ee82d4c: Build debug version version of runtime (libclcore_debug.bc).

* commit '03380700204ba7d30fafd8c8ef55749f3953300f':
Build debug version version of runtime (libclcore_debug.bc).
dd466ed4abc89be32da1c840c509998a6d3785f4 20-Apr-2013 Stephen Hines <srhines@google.com> am 1d4a9e46: Improve caching for debug contexts.

* commit '1d4a9e4646e8786623daa6ac3917782be56a8fb2':
Improve caching for debug contexts.
03380700204ba7d30fafd8c8ef55749f3953300f 20-Apr-2013 Stephen Hines <srhines@google.com> am 8ee82d4c: Build debug version version of runtime (libclcore_debug.bc).

* commit '8ee82d4c1dded958f27f0dc51ddeceda0c895d99':
Build debug version version of runtime (libclcore_debug.bc).
1d4a9e4646e8786623daa6ac3917782be56a8fb2 18-Apr-2013 Stephen Hines <srhines@google.com> Improve caching for debug contexts.

Bug: 7343201

We now skip caching on debug contexts and destroy the cached script copy
when we are finished with it. This is a temporary fix until we can refactor
libbcc caching.

Change-Id: I356b67419dc246209c7b5e077264b0cf2e42578c
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
8ee82d4c1dded958f27f0dc51ddeceda0c895d99 17-Apr-2013 Stephen Hines <srhines@google.com> Build debug version version of runtime (libclcore_debug.bc).

Bug: 7343201
Change-Id: I9ca9acd7b0e23762d28de3af0aa60d4a6d75e5dd
ndroid.mk
nclude/bcc/Renderscript/RSInfo.h
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/build_bc_lib.mk
ib/Renderscript/runtime/rs_allocation.c
72e897a9fe7ca85824f81b6969b17d42991c333f 10-Apr-2013 The Android Open Source Project <initial-contribution@android.com> am c0b79d0a: Reconcile with jb-mr2-release - do not merge

* commit 'c0b79d0af4eadee72cb597c3f025072a67c3db7e':
c0b79d0af4eadee72cb597c3f025072a67c3db7e 10-Apr-2013 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr2-release - do not merge

Change-Id: I26b25cf15262a528b492a5e1f912d684cb5f5f76
82a61ff3b1489e485cfa030ba39ec2428489e27f 10-Apr-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
c8589e9a68f64693c4f3b779831f445e433aa70b 10-Apr-2013 Ying Wang <wangying@google.com> am 90088db3: am 2edf6d63: Add liblog

* commit '90088db391f52df242b86494355fc11c1d8724c9':
Add liblog
90088db391f52df242b86494355fc11c1d8724c9 10-Apr-2013 Ying Wang <wangying@google.com> am 2edf6d63: Add liblog

* commit '2edf6d63b4a99faab9644e42f28e85f23a98913b':
Add liblog
2edf6d63b4a99faab9644e42f28e85f23a98913b 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: I07783cf4c8b5520e2f3db2e79a584f27b05b84b1
ndroid.mk
cinfo/Android.mk
ools/abcc/Android.mk
7dbbee78763db28ff4124aeef7cacbb14e035c96 09-Apr-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
f67dc57fd5db2575c8cdcc0592fc686dc33c493a 08-Apr-2013 Stephen Hines <srhines@google.com> am db5f8d3f: am f35220b8: Merge "Switch to frameworks/rs/driver/linkloader." into jb-mr2-dev

* commit 'db5f8d3fab94ba33b6500c7f130d20acb6be2c75':
Switch to frameworks/rs/driver/linkloader.
db5f8d3fab94ba33b6500c7f130d20acb6be2c75 08-Apr-2013 Stephen Hines <srhines@google.com> am f35220b8: Merge "Switch to frameworks/rs/driver/linkloader." into jb-mr2-dev

* commit 'f35220b83e5c74e326b4887e8741a8b35c08c337':
Switch to frameworks/rs/driver/linkloader.
f35220b83e5c74e326b4887e8741a8b35c08c337 08-Apr-2013 Stephen Hines <srhines@google.com> Merge "Switch to frameworks/rs/driver/linkloader." into jb-mr2-dev
dcc40ef15b8359893527245ff9776395416af24c 08-Apr-2013 The Android Open Source Project <initial-contribution@android.com> am 1f3b7eac: Reconcile with jb-mr2-release - do not merge

* commit '1f3b7eacdad5c2d62ae1a4262f62c5fa9cd27321':
1f3b7eacdad5c2d62ae1a4262f62c5fa9cd27321 08-Apr-2013 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr2-release - do not merge

Change-Id: Id8647e5759422ef36e02afb5bec367d6223d4903
5c9bc9b689dac1a6bb0fe54ce4b6a735cf5d0e69 08-Apr-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
a22b2a9adfc75f5310f7c7212613a1527ee5e8e2 06-Apr-2013 Stephen Hines <srhines@google.com> Switch to frameworks/rs/driver/linkloader.

Bug: 7342767
Change-Id: Ic7fd632e63efb050c6d8fdb0ca5a7366675fb0de
ibbcc.mk
6a5ced8852ecbc3f66c507ef004bdad792a360b8 06-Apr-2013 Jason Sams <jsams@google.com> am 3e66f4a6: am 8be0c88b: Implement YUV functions

* commit '3e66f4a69cc48a1055982e2a4e1f557bb1f31b4e':
Implement YUV functions
3e66f4a69cc48a1055982e2a4e1f557bb1f31b4e 06-Apr-2013 Jason Sams <jsams@google.com> am 8be0c88b: Implement YUV functions

* commit '8be0c88be431c96fca1fa8488067fd7c458b124e':
Implement YUV functions
8be0c88be431c96fca1fa8488067fd7c458b124e 06-Apr-2013 Jason Sams <jsams@google.com> Implement YUV functions

Provide special functions for retrieving U and V components


Change-Id: Ifa891f598079071c223d6ef54885721d931c5f46
ib/Renderscript/runtime/rs_allocation.c
e6a2d88cc16723a1a397c4fedacbccd19c3d3077 04-Apr-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
712fa399b3f4d659d11185e20ed66f3b144f4c43 04-Apr-2013 The Android Open Source Project <initial-contribution@android.com> am 15fbe6e6: Reconcile with jb-mr2-release - do not merge

* commit '15fbe6e600f623c5db73541c086d2b5ab3dcd3a1':
15fbe6e600f623c5db73541c086d2b5ab3dcd3a1 04-Apr-2013 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr2-release - do not merge

Change-Id: I02cdd62e2d20036a167621d8f8e79796cef1993d
e2bf3cdd95cbc175942b84cb7ae2bd084b780eb8 04-Apr-2013 Jason Sams <jsams@google.com> am 81740895: am bd447fb8: Merge "Add support for debug get/set element" into jb-mr2-dev

* commit '81740895f194a26589fdf4066fe74cffb63a5965':
Add support for debug get/set element
81740895f194a26589fdf4066fe74cffb63a5965 03-Apr-2013 Jason Sams <jsams@google.com> am bd447fb8: Merge "Add support for debug get/set element" into jb-mr2-dev

* commit 'bd447fb85869020951ee5724898be5c6b1c8cf54':
Add support for debug get/set element
bd447fb85869020951ee5724898be5c6b1c8cf54 03-Apr-2013 Jason Sams <jsams@google.com> Merge "Add support for debug get/set element" into jb-mr2-dev
43a5b59bc8b5bf677c4f2cbc174e48b8a33dc9af 03-Apr-2013 Jason Sams <jsams@google.com> Add support for debug get/set element

This fixes the per ABI issues of the previous
debug work.

Fix debug for vector types.

Change-Id: I884bff978a1000f2e93dbfa8bc7d3d99afd24df4
ib/Renderscript/runtime/rs_allocation.c
ib/Renderscript/runtime/rs_core.c
04fffa2a8284ec5aa9f5ed8fdb2362149b3d6f8e 03-Apr-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
f54e1c2216a013907c94e11dc89f51a8034f11cf 03-Apr-2013 Stephen Hines <srhines@google.com> am 14d32bcb: am 1d48ddc4: Update field offsets due to DebugHelper.

* commit '14d32bcb4c5067aad1fc912e73c489583a02d7f3':
Update field offsets due to DebugHelper.
14d32bcb4c5067aad1fc912e73c489583a02d7f3 03-Apr-2013 Stephen Hines <srhines@google.com> am 1d48ddc4: Update field offsets due to DebugHelper.

* commit '1d48ddc4f61fc80da96582c6a259a3ee024fecf4':
Update field offsets due to DebugHelper.
1d48ddc4f61fc80da96582c6a259a3ee024fecf4 03-Apr-2013 Stephen Hines <srhines@google.com> Update field offsets due to DebugHelper.

Change-Id: I90d804cc59b64cbb630011e012f42aa49cc4a2cd
ib/Renderscript/runtime/rs_structs.h
a8c1f5bdab57ffb75c202fac1454abcac1f2d248 03-Apr-2013 Jason Sams <jsams@google.com> am d8603a97: am 4b88f340: Merge "overhaul rs_sampler" into jb-mr2-dev

* commit 'd8603a974a37e137039cd1bb6f2cc637fc5ce2f2':
overhaul rs_sampler
d8603a974a37e137039cd1bb6f2cc637fc5ce2f2 03-Apr-2013 Jason Sams <jsams@google.com> am 4b88f340: Merge "overhaul rs_sampler" into jb-mr2-dev

* commit '4b88f340840ad4e10f78ef51bef8ef69408ac73d':
overhaul rs_sampler
4b88f340840ad4e10f78ef51bef8ef69408ac73d 02-Apr-2013 Jason Sams <jsams@google.com> Merge "overhaul rs_sampler" into jb-mr2-dev
b33025fec85d6d2fbae9223360062fae3b332ae8 29-Mar-2013 The Android Open Source Project <initial-contribution@android.com> am f623d21f: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit 'f623d21f422f328cf52ba348907e497d56566fdc':
f623d21f422f328cf52ba348907e497d56566fdc 29-Mar-2013 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr2-release - do not merge

Change-Id: Ia46e2e4990aa6e38197c29d41d59874c86ded800
ef45f5bcd839fc69af311c3a3c6362f9d8e1a244 28-Mar-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
61c5f57b97d7306e36ec9f580f8d72562a791763 28-Mar-2013 Jason Sams <jsams@google.com> overhaul rs_sampler

Change-Id: I8c446e8266fb4200d6afe3f9765d58496bfa2162
ib/Renderscript/runtime/rs_sample.c
3796dbf92f3685fa0266d1d4da5e18d47f4d8660 28-Mar-2013 Stephen Hines <srhines@google.com> am cd786917: am 99f8b107: Merge "Explicitly set up ARM feature vector for compatibility library." into jb-mr2-dev

* commit 'cd786917a6533e912184ca4427d6b2c924154829':
Explicitly set up ARM feature vector for compatibility library.
cd786917a6533e912184ca4427d6b2c924154829 28-Mar-2013 Stephen Hines <srhines@google.com> am 99f8b107: Merge "Explicitly set up ARM feature vector for compatibility library." into jb-mr2-dev

* commit '99f8b107484458da6a7006ebc50ccd671460db7a':
Explicitly set up ARM feature vector for compatibility library.
99f8b107484458da6a7006ebc50ccd671460db7a 28-Mar-2013 Stephen Hines <srhines@google.com> Merge "Explicitly set up ARM feature vector for compatibility library." into jb-mr2-dev
a3370ba99faacc714c802d0e4b3a17710e344936 27-Mar-2013 Tim Murray <timmurray@google.com> am 2048193c: am 1531487e: Revert "rsSampler work"

* commit '2048193cb4aa8613bce3fe78e5a09400350c6602':
Revert "rsSampler work"
2048193cb4aa8613bce3fe78e5a09400350c6602 27-Mar-2013 Tim Murray <timmurray@google.com> am 1531487e: Revert "rsSampler work"

* commit '1531487e04ef5f61949bea7a3e2977279b38b0c2':
Revert "rsSampler work"
1531487e04ef5f61949bea7a3e2977279b38b0c2 27-Mar-2013 Tim Murray <timmurray@google.com> Revert "rsSampler work"

This reverts commit ee883164d3fec165134b17e52c75cc90f3980269.
ib/Renderscript/runtime/rs_sample.c
ib/Renderscript/runtime/rs_structs.h
ec3415ae568c21deafadcd24cdd2ac7a4ce8f012 26-Mar-2013 The Android Open Source Project <initial-contribution@android.com> am 0babeb57: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '0babeb578151b8cb17f718d1f5f711b2fb72b230':
Fix copy and paste error in matrix function names.
0babeb578151b8cb17f718d1f5f711b2fb72b230 26-Mar-2013 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr2-release - do not merge

Change-Id: Icae73a6d0eada0c891563436c896392a9d7ba35e
e87e66154f37858f244f0bb4146c67984bb33b6b 26-Mar-2013 Stephen Hines <srhines@google.com> Explicitly set up ARM feature vector for compatibility library.

Bug: 8271895
Change-Id: I8e97a0cd2dafd0ea197794791ce275b8e5a345d4
ools/bcc_compat/Main.cpp
17fcf9e670a7096a5de5ace49238c7e4d0f14b3e 25-Mar-2013 The Android Automerger <android-build@android.com> merge in jb-mr2-release history after reset to jb-mr2-dev
6c7cf5da25df5a86d053f27dbeb202e71d1d7a72 25-Mar-2013 Stephen Hines <srhines@google.com> am c3dceb11: Merge "Fix header location for LLVMContext.h." into jb-mr2-dev

* commit 'c3dceb11d9bfc0b741f993958e84edbaed552aff':
Fix header location for LLVMContext.h.
c3dceb11d9bfc0b741f993958e84edbaed552aff 25-Mar-2013 Stephen Hines <srhines@google.com> Merge "Fix header location for LLVMContext.h." into jb-mr2-dev
fce15a42406e17de62b5b6f0734e4eefba6642c2 25-Mar-2013 Stephen Hines <srhines@google.com> Fix header location for LLVMContext.h.

Change-Id: I9a7da713925cfe4150658e426d58671eff40f3bc
ib/Support/Disassembler.cpp
d13809b7fa25ff041764342dbde447bceec52d51 23-Mar-2013 Jason Sams <jsams@google.com> am ee883164: rsSampler work

* commit 'ee883164d3fec165134b17e52c75cc90f3980269':
rsSampler work
ee883164d3fec165134b17e52c75cc90f3980269 22-Mar-2013 Jason Sams <jsams@google.com> rsSampler work

Change-Id: Idc16805320ea5af631cb5fa60e7ad9f10ef05e1a
ib/Renderscript/runtime/rs_sample.c
ib/Renderscript/runtime/rs_structs.h
47724a0196ccb330f51027f3d1cc94f5a984da34 20-Mar-2013 Jason Sams <jsams@google.com> Fix copy and paste error in matrix function names.

bug 8426471

Change-Id: I20062263ae999fb660fa6e742d47d05724afb996
ib/Renderscript/runtime/rs_matrix.c
6f8b1bc24fbc49adcc2102e5ed9820d22d1875bb 20-Mar-2013 Jason Sams <jsams@google.com> am 826be465: Merge "Fix copy and paste error in matrix function names." into jb-mr2-dev

* commit '826be465ebb0c786d83c61ddeec012fca88a49a7':
Fix copy and paste error in matrix function names.
826be465ebb0c786d83c61ddeec012fca88a49a7 20-Mar-2013 Jason Sams <jsams@google.com> Merge "Fix copy and paste error in matrix function names." into jb-mr2-dev
e47a15d07705d60ee14eb2cf116945c9b78dca3e 20-Mar-2013 Jason Sams <jsams@google.com> Fix copy and paste error in matrix function names.

bug 8426471

Change-Id: I20062263ae999fb660fa6e742d47d05724afb996
ib/Renderscript/runtime/rs_matrix.c
09599f179c179a645e5229e1072c9b7f1e24a6b8 19-Mar-2013 Stephen Hines <srhines@google.com> am f424bce7: Move abs/clz into proper shared code space.

* commit 'f424bce72e64899fe74cf73f10f0f4e105547549':
Move abs/clz into proper shared code space.
f424bce72e64899fe74cf73f10f0f4e105547549 19-Mar-2013 Stephen Hines <srhines@google.com> Move abs/clz into proper shared code space.

Previously these were only available to our generic implementation.
Machine-specific implementations would be missing these functions (which
can result in missing link-time dependencies).

Change-Id: I606848427d55a50d0ec6022007fa4ce2c88adc31
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/rs_cl.c
536ae70af68f52c35a21c2869f0215a550f386b4 18-Mar-2013 Stephen Hines <srhines@google.com> am 6231e390: Fix missing BCC_STRIP_ATTR dependency.

* commit '6231e390c0e174f7797b6bf09159e1a8d3cd864d':
Fix missing BCC_STRIP_ATTR dependency.
6231e390c0e174f7797b6bf09159e1a8d3cd864d 18-Mar-2013 Stephen Hines <srhines@google.com> Fix missing BCC_STRIP_ATTR dependency.

Change-Id: I602c2eb2df3d0b1013ae31c427ef35d0c6c25c6b
ib/Renderscript/runtime/build_bc_lib.mk
88c956de377ecb837179ca0f843e9751251721dc 18-Mar-2013 Stephen Hines <srhines@google.com> am 2187acaf: Simpler build rules for running bcc_strip_attr.

* commit '2187acafbd83fbf29f5b1d436a5a633dd35a628f':
Simpler build rules for running bcc_strip_attr.
2187acafbd83fbf29f5b1d436a5a633dd35a628f 18-Mar-2013 Stephen Hines <srhines@google.com> Simpler build rules for running bcc_strip_attr.

Bug: 8383531
Change-Id: I0ae6415e9a2ba16155916df95a2bb07bf4067081
ib/Renderscript/runtime/build_bc_lib.mk
12acd38c3652aedd60c9fdc84d00b983713d6463 18-Mar-2013 Stephen Hines <srhines@google.com> am 5c3e8c02: Merge "Revert "Build rules for running bcc_strip_attr."" into jb-mr2-dev

* commit '5c3e8c021224e5000c20988f668059dcb7539e74':
Revert "Build rules for running bcc_strip_attr."
5c3e8c021224e5000c20988f668059dcb7539e74 18-Mar-2013 Stephen Hines <srhines@google.com> Merge "Revert "Build rules for running bcc_strip_attr."" into jb-mr2-dev
1a361253d8f2fa4cd271d8ccd5dfe5a11c7edbbe 18-Mar-2013 Stephen Hines <srhines@google.com> Revert "Build rules for running bcc_strip_attr."

This reverts commit 2c2a59e44baf98ba15ff7f85a67ab1747ae957f7

Change-Id: I4f9f96a58327c46d38bf6a956560555e9a38a5ce
ib/Renderscript/runtime/build_bc_lib.mk
4c4541ecacb3d8744ab68e592f02b0be5331467e 18-Mar-2013 Stephen Hines <srhines@google.com> am 2cb9d2c8: Merge "Build rules for running bcc_strip_attr." into jb-mr2-dev

* commit '2cb9d2c8f43c61ecfacc3f85a56cd558dde7514c':
Build rules for running bcc_strip_attr.
4457cc4cbe6bdabc72f29887329269cbbfa4d726 18-Mar-2013 Stephen Hines <srhines@google.com> am cd9424a0: Merge "Add bcc_strip_attr to remove target-specific function attributes." into jb-mr2-dev

* commit 'cd9424a05c0ccb9cdd415e616e4cbf02364c78fb':
Add bcc_strip_attr to remove target-specific function attributes.
2cb9d2c8f43c61ecfacc3f85a56cd558dde7514c 18-Mar-2013 Stephen Hines <srhines@google.com> Merge "Build rules for running bcc_strip_attr." into jb-mr2-dev
cd9424a05c0ccb9cdd415e616e4cbf02364c78fb 18-Mar-2013 Stephen Hines <srhines@google.com> Merge "Add bcc_strip_attr to remove target-specific function attributes." into jb-mr2-dev
d825e59f1027a7553fdfe17185697dd0cf3b1465 18-Mar-2013 Tim Murray <timmurray@google.com> am 6ac532e0: Remove __attribute((overloadable)) from rsUnpackColor8888.

* commit '6ac532e01b532653ee2c89142109406b08ca2b39':
Remove __attribute((overloadable)) from rsUnpackColor8888.
6ac532e01b532653ee2c89142109406b08ca2b39 18-Mar-2013 Tim Murray <timmurray@google.com> Remove __attribute((overloadable)) from rsUnpackColor8888.

Change-Id: I12e8af774a0a61bd8571c31406894779a443c300
ib/Renderscript/runtime/rs_core.c
2c2a59e44baf98ba15ff7f85a67ab1747ae957f7 15-Mar-2013 Stephen Hines <srhines@google.com> Build rules for running bcc_strip_attr.

Bug: 8383531
Change-Id: I15ffbb17e800efeadaac2047c182632c48ca194a
ib/Renderscript/runtime/build_bc_lib.mk
bfa9fc93c88510184399bb98e0faa8cc474061fb 14-Mar-2013 Stephen Hines <srhines@google.com> Add bcc_strip_attr to remove target-specific function attributes.

We remove the target-cpu and target-features attributes from each
function declaration/definition.

Bug: 8383531

Change-Id: Ic7adfb4c0e1de345a3d7871d8295bded6b44191e
ools/bcc_strip_attr/Android.mk
ools/bcc_strip_attr/bcc_strip_attr.cpp
f8004b994f3f13999a45e996c777dc4a35d08180 15-Mar-2013 Jason Sams <jsams@google.com> am 4d93e8de: Migrate atomics to .bc

* commit '4d93e8dec63500a62ea72ea1d1c47a7c7ea5f358':
Migrate atomics to .bc
e3a3fb35cdba82507b039b9fc8692ee0f25bc126 15-Mar-2013 Jason Sams <jsams@google.com> am 21f837b6: Math lib opts

* commit '21f837b6d745abb375909b26020719bafd522c8c':
Math lib opts
4d93e8dec63500a62ea72ea1d1c47a7c7ea5f358 15-Mar-2013 Jason Sams <jsams@google.com> Migrate atomics to .bc

Change-Id: I7792c2dad9d308b8fc5333d272a784277db8cb09
ib/Renderscript/runtime/rs_core.c
21f837b6d745abb375909b26020719bafd522c8c 12-Mar-2013 Jason Sams <jsams@google.com> Math lib opts

Change-Id: I77cfc17633a2a69a4445aa073d16dfd3b7c38876
ib/Renderscript/runtime/rs_cl.c
ib/Renderscript/runtime/rs_matrix.c
eeb2e1ed0dfd3086cec9ce3f29d954e01bccf548 13-Mar-2013 Ben Cheng <bccheng@google.com> am a5fb1d27: Merge commit \'aac5b01c\' into manualmerge

* commit 'a5fb1d27cf4994d1153a4f4f33246502e289e7e8':
Quick fix for the Mips build.
a5fb1d27cf4994d1153a4f4f33246502e289e7e8 13-Mar-2013 Ben Cheng <bccheng@google.com> Merge commit 'aac5b01c' into manualmerge
aac5b01c59ef4522e23605ae2ef3299703992fae 13-Mar-2013 Ben Cheng <bccheng@android.com> Merge "Quick fix for the Mips build."
d57086448b1ac532c24fa584f49b07c85f45d08e 13-Mar-2013 Douglas Leung <douglas@mips.com> Quick fix for the Mips build.

This fix is simular to what was done for x86, except only 2 of the
functions are not implemented in libgcc 4.7 for Mips.

Change-Id: Ic008d29072702d0c9424b3c97447b765727ff61b
Signed-off-by: Douglas Leung <douglas@mips.com>
untime/lib/divsi3.c
untime/lib/udivsi3.c
05a8d0a0a85cf7c36d678c3ff331c784b91dde2a 12-Mar-2013 Stephen Hines <srhines@google.com> am d9bf9445: Merge "Move generic function calls to rs_matrix.c." into jb-mr2-dev

* commit 'd9bf9445c59d57d6da66ef6f50bce667c10522d8':
Move generic function calls to rs_matrix.c.
d9bf9445c59d57d6da66ef6f50bce667c10522d8 12-Mar-2013 Stephen Hines <srhines@google.com> Merge "Move generic function calls to rs_matrix.c." into jb-mr2-dev
320ef89b3d4e6ab2fdfcba5803269bd1a65514cf 12-Mar-2013 Jason Sams <jsams@google.com> am 8b0079c7: Merge "Clamp rsPackPixel" into jb-mr2-dev

* commit '8b0079c78cb8e24f4175324821ea9af32b466bf7':
Clamp rsPackPixel
8b0079c78cb8e24f4175324821ea9af32b466bf7 12-Mar-2013 Jason Sams <jsams@google.com> Merge "Clamp rsPackPixel" into jb-mr2-dev
450a8849b5675194b79719ef05cab92fb6ae38d2 12-Mar-2013 Stephen Hines <srhines@google.com> Move generic function calls to rs_matrix.c.

Change-Id: I9aa7c347f9d2c59a22e575ce04e1ea9e59067f2b
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/rs_matrix.c
3469783d5fc3a5594da8d10c42540dd5f4455143 12-Mar-2013 Jason Sams <jsams@google.com> Clamp rsPackPixel

Change-Id: Ideaf339c51677780e6267e4ac1b8de902fc1d353

Conflicts:
lib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/pixel_packing.ll
eabedf8fdcf200b7ea792998da5c5faed8f9c7ab 12-Mar-2013 Jason Sams <jsams@google.com> am 9b987522: Merge "Move simple matrix ops to the on device lib." into jb-mr2-dev

* commit '9b98752200757ac5e7e9c933e632993793208755':
Move simple matrix ops to the on device lib.
9b98752200757ac5e7e9c933e632993793208755 12-Mar-2013 Jason Sams <jsams@google.com> Merge "Move simple matrix ops to the on device lib." into jb-mr2-dev
9112850375c24d3ffb8ced3835f878b08c1297ab 12-Mar-2013 Jason Sams <jsams@google.com> Move simple matrix ops to the on device lib.

Change-Id: I2cd23cc2dab32c54f341e8e0cfbfbcaf1585c401
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/generic.c
ib/Renderscript/runtime/arch/neon.ll
ib/Renderscript/runtime/rs_core.c
ib/Renderscript/runtime/rs_matrix.c
5953c70c5ae6bcb2ee73b97cc44498ae4f402a1e 11-Mar-2013 Ben Cheng <bccheng@google.com> am 5dc219d8: Merge commit \'23b77d47\' into manualmerge

* commit '5dc219d875f72c3e9be682a3198c43386d1c3fab':
Quick fix for the x86 build.
5dc219d875f72c3e9be682a3198c43386d1c3fab 11-Mar-2013 Ben Cheng <bccheng@google.com> Merge commit '23b77d47' into manualmerge
23b77d47c3e159426302b1deb5e0979d5eea4f17 11-Mar-2013 Ben Cheng <bccheng@google.com> Merge "Quick fix for the x86 build."
5ee9d98349b5ea14c06eb83ed8a9f5ffe0ab314d 11-Mar-2013 Ben Cheng <bccheng@google.com> Quick fix for the x86 build.

Change-Id: I995882f60ce3163fe639e4d3cd4073f1f6bde8ae
untime/lib/ashldi3.c
untime/lib/divsi3.c
untime/lib/fixdfdi.c
untime/lib/fixsfdi.c
untime/lib/fixunsdfdi.c
untime/lib/fixunsdfsi.c
untime/lib/fixunssfdi.c
untime/lib/floatdidf.c
untime/lib/floatdisf.c
untime/lib/floatundidf.c
untime/lib/floatundisf.c
untime/lib/lshrdi3.c
untime/lib/muldi3.c
untime/lib/udivsi3.c
4aef967735e9f743c23180d3a66a6277718d3f1a 11-Mar-2013 Ben Cheng <bccheng@google.com> am 383f3f6c: am c1d5ffe3: (-s ours) Merge "Undefine a bunch of helper function already exising in gcc 4.7."

* commit '383f3f6c29cc188fa76bf85c7e20caafcef10495':
Undefine a bunch of helper function already exising in gcc 4.7.
383f3f6c29cc188fa76bf85c7e20caafcef10495 11-Mar-2013 Ben Cheng <bccheng@google.com> am c1d5ffe3: (-s ours) Merge "Undefine a bunch of helper function already exising in gcc 4.7."

* commit 'c1d5ffe349b9dc8d19e1cf2bff3f9c050e8cb93e':
Undefine a bunch of helper function already exising in gcc 4.7.
c1d5ffe349b9dc8d19e1cf2bff3f9c050e8cb93e 11-Mar-2013 Ben Cheng <bccheng@google.com> Merge "Undefine a bunch of helper function already exising in gcc 4.7."
db8c8ae174943cf29d3fac719738881a88acc2a8 09-Mar-2013 Ben Cheng <bccheng@google.com> Undefine a bunch of helper function already exising in gcc 4.7.

Once we start to link libgcc.a before libm.so, these redefined symbols will
cause problems.

DO NOT MERGE

Change-Id: I564a9fbb280450bb2bea83e3e7ce3427b6192412
untime/lib/ashldi3.c
untime/lib/divsi3.c
untime/lib/fixdfdi.c
untime/lib/fixsfdi.c
untime/lib/fixunsdfdi.c
untime/lib/fixunsdfsi.c
untime/lib/fixunssfdi.c
untime/lib/floatdidf.c
untime/lib/floatdisf.c
untime/lib/floatundidf.c
untime/lib/floatundisf.c
untime/lib/lshrdi3.c
untime/lib/muldi3.c
untime/lib/udivsi3.c
d505442e00df688e6e5258c8344cb288e1647bd3 08-Mar-2013 Stephen Hines <srhines@google.com> am 221efde4: Force atom codegen on x86 bcc_compat.

* commit '221efde4ece61fd4f1106fc80314395ef99457d8':
Force atom codegen on x86 bcc_compat.
221efde4ece61fd4f1106fc80314395ef99457d8 07-Mar-2013 Stephen Hines <srhines@google.com> Force atom codegen on x86 bcc_compat.

Change-Id: I3295d7f67868043c9f172dae6d8afa2dcfa17c6b
ools/bcc_compat/Android.mk
ools/bcc_compat/Main.cpp
9670571cf7bcdeb5ea3cad515268582a2a2eb184 07-Mar-2013 Stephen Hines <srhines@google.com> am 229c99b4: Turn off +neonfp since it only hurts NEON performance.

* commit '229c99b4290e30047678a79910722c628fb2602e':
Turn off +neonfp since it only hurts NEON performance.
229c99b4290e30047678a79910722c628fb2602e 07-Mar-2013 Stephen Hines <srhines@google.com> Turn off +neonfp since it only hurts NEON performance.

Also get rid of an unused define.

Change-Id: I84a07f2f6269d701a5ce00aa0ce95cf8916db937
ib/Support/TargetCompilerConfigs.cpp
b593d2f80e641ca0b7e03d668d5bb40aa11283bf 06-Mar-2013 Stephen Hines <srhines@google.com> am 6a06482c: Merge "Updates for LLVM merge to r176139." into jb-mr2-dev

* commit '6a06482c8c106faa17799d41d3499ef97cf81660':
Updates for LLVM merge to r176139.
6a06482c8c106faa17799d41d3499ef97cf81660 06-Mar-2013 Stephen Hines <srhines@google.com> Merge "Updates for LLVM merge to r176139." into jb-mr2-dev
419cb58a68361f3ff99c293619e792a4f2d00ede 05-Mar-2013 Jason Sams <jsams@google.com> am 56cfa816: am 25b7205e: Merge "Add more X86/SSE2+ optimized functions"

* commit '56cfa8160b5c855bf908ecb92491f953c9816963':
Add more X86/SSE2+ optimized functions
678f17800ed05a8043c6e76f80be476beea768fa 05-Mar-2013 Jason Sams <jsams@google.com> am 3d0be775: am e323991d: Merge "Start to add X86/SSE2+ optimized clcore library"

* commit '3d0be775a298c8345a038e4f1e060176659ec9db':
Start to add X86/SSE2+ optimized clcore library
56cfa8160b5c855bf908ecb92491f953c9816963 05-Mar-2013 Jason Sams <jsams@google.com> am 25b7205e: Merge "Add more X86/SSE2+ optimized functions"

* commit '25b7205e16e422469da74f88e74ad79e7c284ac7':
Add more X86/SSE2+ optimized functions
3d0be775a298c8345a038e4f1e060176659ec9db 05-Mar-2013 Jason Sams <jsams@google.com> am e323991d: Merge "Start to add X86/SSE2+ optimized clcore library"

* commit 'e323991d04284925ff7aea8387bc55c1ed57a061':
Start to add X86/SSE2+ optimized clcore library
d9216ebb9c114242b713cd4dad33b3a83eb86761 02-Mar-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r176139.

Change-Id: I360ca25d87eb0799ce39c7612acf34d0b02fb7c1
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
25b7205e16e422469da74f88e74ad79e7c284ac7 05-Mar-2013 Jason Sams <jsams@google.com> Merge "Add more X86/SSE2+ optimized functions"
e323991d04284925ff7aea8387bc55c1ed57a061 05-Mar-2013 Jason Sams <jsams@google.com> Merge "Start to add X86/SSE2+ optimized clcore library"
d851fb51bc6dbf6b6fb6fe1ed7177f939fe5f2da 01-Mar-2013 Stephen Hines <srhines@google.com> am 4b778721: Build with libLLVM.so instead of static libraries.

* commit '4b778721adc9789411c2f2911578dab4d1d7c7b6':
Build with libLLVM.so instead of static libraries.
659ef70598c6d5d6d8cddd01d13de6193f6761a6 28-Feb-2013 Romain Guy <romainguy@google.com> am 921dde4a: Fix the Darwin build

* commit '921dde4aafc233b173f7bfcf2e15b49f682281b4':
Fix the Darwin build
4b778721adc9789411c2f2911578dab4d1d7c7b6 28-Feb-2013 Stephen Hines <srhines@google.com> Build with libLLVM.so instead of static libraries.

Change-Id: I20f94f3930aea01fda96999b5b829b1a47f4bded
ndroid.mk
cinfo/Android.mk
ools/bcc/Android.mk
ools/bcc_compat/Android.mk
ools/mcld/Android.mk
e5a668001eb541fec693521bac3f7f20e3b60803 28-Feb-2013 Romain Guy <romainguy@google.com> Fix the Darwin build

Change-Id: Ie3f04525a9938e9c1551777cf2770d6264c237cd
ools/bcc_compat/Android.mk
921dde4aafc233b173f7bfcf2e15b49f682281b4 28-Feb-2013 Romain Guy <romainguy@google.com> Fix the Darwin build

Change-Id: Ie3f04525a9938e9c1551777cf2770d6264c237cd
ools/bcc_compat/Android.mk
117814aa249530f2ba65818a62fdd180e978586b 27-Feb-2013 Stephen Hines <srhines@google.com> Merge "Move host dependencies to libLLVM.so instead of static libs." into jb-mr2-dev
8a9ca2e59bf7ca2da03636c699bb803261f5f600 27-Feb-2013 Stephen Hines <srhines@google.com> Merge "Fix missing dependency on ARMAsmPrinter." into jb-mr2-dev
ba8d7ceb2f0f920ae82afc2c91db625534482e15 27-Feb-2013 Stephen Hines <srhines@google.com> Move host dependencies to libLLVM.so instead of static libs.

Change-Id: I8f43aa5aa42fe54979f26ed4d0fcb3f683ff2aa2
ndroid.mk
cinfo/Android.mk
dd57b53aa7468a435acbe65f25596841738ed417 27-Feb-2013 Stephen Hines <srhines@google.com> Fix missing dependency on ARMAsmPrinter.

Change-Id: Icdf8e74fcfd4cebb449bec50b01f96e34c7e4c39
ndroid.mk
d805eacc8086e387ab25d3d502db8113281b3d9d 26-Feb-2013 Jason Sams <jsams@google.com> Apply eSize optimization to getElementAt

Implement 3D versions of the typed get/set functions

Performance improves 2-4% in most benchmarks that use these.

Change-Id: I6c752b3381d9b3c866b50039c33767fef46b2d20
ib/Renderscript/runtime/rs_allocation.c
bb05edd21dc3d886c154b0677b6bc87ae75019ee 19-Feb-2013 Stephen Hines <srhines@google.com> Merge "Add LinkRuntimeCallback() and supporting functions to RS compiler."
903fc4929eba894513b7bc27d011ebdfc8999022 16-Feb-2013 Tim Murray <timmurray@google.com> Merge "Add MIRRORED_REPEAT."
fac184e6598ec9eca40c13aa546498db7137c857 15-Feb-2013 Tim Murray <timmurray@google.com> Add MIRRORED_REPEAT.

Change-Id: I31c3f24728cf55b983377e20edc7022d104b6ddc
ib/Renderscript/runtime/rs_sample.c
c96e497b24cbcd177a85c16582ae77bf5ad0fa8a 15-Feb-2013 Stephen Hines <srhines@google.com> am b7e1ce28: Merge "[MIPS] Configure code generator to emit static code"

# By Chris Dearman
# Via Duane Sand (1) and Gerrit Code Review (1)
* commit 'b7e1ce28e1acb488223269ba158dbaa7275576f0':
[MIPS] Configure code generator to emit static code
b7e1ce28e1acb488223269ba158dbaa7275576f0 15-Feb-2013 Stephen Hines <srhines@google.com> Merge "[MIPS] Configure code generator to emit static code"
162dba1f31afd37b9f0f675cf5104cb02a62d83c 18-Dec-2012 Chris Dearman <chris@mips.com> [MIPS] Configure code generator to emit static code

The code generator creates PIC by default but it is better to generate
static code in this environment.

Change-Id: I663eb664a3177cafb9e6e7cace6586a4a8ba5cb8
Signed-off-by: Chris Dearman <chris@mips.com>
nclude/bcc/Support/TargetCompilerConfigs.h
06731a6150ae8014d37258d5f32ef8bc14a3db63 13-Feb-2013 Stephen Hines <srhines@google.com> Add LinkRuntimeCallback() and supporting functions to RS compiler.

Change-Id: I7745406a94ba74896ee98752a3de106d2672159d
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSScript.h
nclude/bcc/Source.h
ib/Core/Source.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSScript.cpp
ib/Renderscript/runtime/rs_structs.h
7f52e8c3ea5ab2e91c2072a0dc8f59c14c6be2b0 14-Feb-2013 Elliott Hughes <enh@google.com> am b6382d3a: Merge "libbcc shouldn\'t define an unused ARCH_ARM_HAVE_THUMB_SUPPORT macro."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'b6382d3a0a1e2d6dd17240537e296d5f77de283c':
libbcc shouldn't define an unused ARCH_ARM_HAVE_THUMB_SUPPORT macro.
b6382d3a0a1e2d6dd17240537e296d5f77de283c 14-Feb-2013 Elliott Hughes <enh@google.com> Merge "libbcc shouldn't define an unused ARCH_ARM_HAVE_THUMB_SUPPORT macro."
e3b041112122ed36b1950a2817c40fd7135f4a7b 14-Feb-2013 Elliott Hughes <enh@google.com> libbcc shouldn't define an unused ARCH_ARM_HAVE_THUMB_SUPPORT macro.

Change-Id: I76a67807ddb504980c3af52f962348c734bae6af
ibbcc-device-build.mk
41d8dcca655fc21072b3d898b3ea5bfd6b90e96d 14-Feb-2013 Elliott Hughes <enh@google.com> libbcc should know that ARCH_ARM_HAVE_THUMB_SUPPORT is always true.

Change-Id: I96ae70fed98d1bc4b6d67b1f9c869cff2f6eecc7
ib/Support/TargetCompilerConfigs.cpp
7233dcad720ea7e4f6b40b0448244bd4f0c5307e 08-Feb-2013 Shih-wei Liao <sliao@google.com> Increase RSInfo version number.

The recent change on adding libcompiler_rt.so to library dependencies
changes the format of RSInfo (one entry is added.)

Change-Id: I690010f4b8ff2ff6f636583faba52eec327f0acd
nclude/bcc/Renderscript/RSInfo.h
3ab9da1e1b3d7794994393af086d096397fb84db 02-Feb-2013 Stephen Hines <srhines@google.com> Fix bcc_compat symbol resolution with libcompiler_rt.so.

Change-Id: Id6177e53ec9647b560a73de566d2d8a95d860200
nclude/bcc/ExecutionEngine/CompilerRTSymbolResolver.h
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc_compat/Main.cpp
831466293e1ede1e1f557bab362dc1caeac42eff 26-Jan-2013 Shih-wei Liao <sliao@google.com> Remove BCCRuntimeSymbolResolver.

And remove libbcc's long outdated compiler-rt.

Change-Id: I57ec4c0403ec8cbaeaedb2333d3e2d20c6e24718
ndroid.mk
nclude/bcc/ExecutionEngine/BCCRuntimeSymbolResolver.h
ib/ExecutionEngine/Android.mk
ib/ExecutionEngine/BCCRuntime.def
ib/ExecutionEngine/BCCRuntimeStub.c
ib/ExecutionEngine/BCCRuntimeStub.h
ib/ExecutionEngine/BCCRuntimeSymbolResolver.cpp
untime/.gitignore
untime/Android.mk
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/RuntimeDoc.rst
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
ools/bcc_compat/Main.cpp
09ca95426a7ec66def02e47048bb25289759c6fb 26-Jan-2013 Shih-wei Liao <sliao@google.com> Switch to use libcompiler_rt for compiler runtimes.

Change-Id: I64b3d4ba80343bc592fa0df72242b33b2d2ae0ed
nclude/bcc/ExecutionEngine/CompilerRTSymbolResolver.h
nclude/bcc/Renderscript/RSCompilerDriver.h
ib/Renderscript/RSCompilerDriver.cpp
ools/bcc/Main.cpp
f7401ab4b42dcbd782f20ba5c279694edbd28516 26-Jan-2013 Shih-wei Liao <sliao@google.com> Add libcompiler_rt.so as built-in dependencies for RS.

Change-Id: I376616ffbe26813a8341e87c965a27666d35b9a6
ndroid.mk
nclude/bcc/Renderscript/RSInfo.h
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
6297382734716a572100f5a395b3df1b2b98908d 07-Feb-2013 Tim Murray <timmurray@google.com> Don't build libbcc/libbcinfo in unbundled branches.

Change-Id: Ifd088e9d26b10cd75b219b623d1a027623b871c4
ndroid.mk
cinfo/Android.mk
b220e480677cd740cbb0752ec77ddf3d59c7614e 04-Feb-2013 Tim Murray <timmurray@google.com> Allow bcc_compat and related libs to be built in PDK.

Change-Id: I6af077959fc0ab08fdf79d5a4c53f7434ae57c21
ools/bcc_compat/Android.mk
3059d3ffe3fc41017912c34c7be19f25796ff93a 30-Jan-2013 Stephen Hines <srhines@google.com> Don't build bcc_compat for PDK or unbundled builds.

Change-Id: I13216d5d7f80ed7f6ff037a98a41267a9db1231c
ools/bcc_compat/Android.mk
f0e8fdad566043d8ead4d2211c1060d2d5b4c355 25-Jan-2013 Jason Sams <jsams@google.com> Implement fast log and pow

Change-Id: I5f8f697378c6b72d67eeabe0ebd098a2daf3771f
ib/Renderscript/runtime/rs_cl.c
b730e239619a546d93e5926ea92d698ab77ec7f6 10-Jan-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r171906 on 20130108.

Change-Id: I096cb90103b19e3110ea562d60e5eb8ad48d9b67
cinfo/BitReader_2_7/BitReader_2_7.h
cinfo/BitReader_2_7/BitcodeReader.cpp
cinfo/BitReader_2_7/BitcodeReader.h
cinfo/BitReader_3_0/BitReader_3_0.h
cinfo/BitReader_3_0/BitcodeReader.cpp
cinfo/BitReader_3_0/BitcodeReader.h
cinfo/BitcodeTranslator.cpp
cinfo/MetadataExtractor.cpp
cinfo/tools/main.cpp
nclude/bcc/Compiler.h
ib/AndroidBitcode/ABCCompiler.cpp
ib/AndroidBitcode/ABCCompilerDriver.cpp
ib/AndroidBitcode/ABCExpandVAArgPass.cpp
ib/AndroidBitcode/ARM/ARMABCExpandVAArg.cpp
ib/AndroidBitcode/Mips/MipsABCExpandVAArg.cpp
ib/AndroidBitcode/X86/X86ABCExpandVAArg.cpp
ib/Core/BCCContextImpl.h
ib/Core/Compiler.cpp
ib/Core/Source.cpp
ib/Renderscript/RSCompiler.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSForEachExpand.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/runtime/build_bc_lib.mk
ib/Renderscript/runtime/build_clcore.sh
8c03b80ea520d971321100d4a5f7f301a7510fc9 19-Jan-2013 Tim Murray <timmurray@google.com> Merge "remove fabs LLVM intrinsic"
38fce22487e1a816a1e703f20e5400c634060f56 19-Jan-2013 Stephen Hines <srhines@google.com> Merge "Remove the fract(float) implementation."
54f9bf50c643a163d5dc48959e3cd64fe3532d21 18-Jan-2013 Jason Sams <jsams@google.com> Merge "Implement fast native_exp*"
28e2dd65d5781d5bbb98bde8a3dd54f85969158f 18-Jan-2013 Jason Sams <jsams@google.com> Implement fast native_exp*

Change-Id: I0989527a7993023131f991ba260c7bf9d9eae51c
ib/Renderscript/runtime/rs_cl.c
db64973c80058c0a6e685d1ca8e7a96cc48a405c 17-Jan-2013 Stephen Hines <srhines@google.com> Remove the fract(float) implementation.

Change-Id: I09df57618748eb33c7a233f6f6c59e21d0072107
ib/Renderscript/runtime/rs_cl.c
385a61565c8b30fea0bc0f8bccff1848aa94936e 16-Jan-2013 Stephen Hines <srhines@google.com> Merge "rs_matrix types are not 16-byte aligned, so we have to load them as align 4."
65cd36f9052a317bab961fd86415e4faa55d00d0 16-Jan-2013 Stephen Hines <srhines@google.com> rs_matrix types are not 16-byte aligned, so we have to load them as align 4.

Change-Id: I30742a23fe87db7cb68d2c97bc022f7ee418ef82
ib/Renderscript/runtime/matrix.ll
5e78b871a357d3c7e00b5fffcf319cc372134161 15-Jan-2013 Ben Cheng <bccheng@google.com> am 6ab612bb: Merge "Add HAS_HW_DIV to control the compilation of __udivsi3."

* commit '6ab612bb58a13c27c9217eb076297594fdf7b0b8':
Add HAS_HW_DIV to control the compilation of __udivsi3.
6ab612bb58a13c27c9217eb076297594fdf7b0b8 15-Jan-2013 Ben Cheng <bccheng@google.com> Merge "Add HAS_HW_DIV to control the compilation of __udivsi3."
ded8c7237bfd3cc3df93c4aecfd446f21a3d7f32 14-Jan-2013 Ben Cheng <bccheng@google.com> Add HAS_HW_DIV to control the compilation of __udivsi3.

libgcc.a will contain __udivsi3 if -mcpu=cortex-a15 is specified.

Bug: 7961327

cherry-picked from internal master.

Change-Id: Ia00295cee23f1af3dacff4fcdf612b312897327c
ib/ExecutionEngine/Android.mk
untime/lib/divsi3.c
1e1c46c6e13dbef9f8bab33afd1b78e686f41156 15-Jan-2013 Ben Cheng <bccheng@google.com> Merge "Add HAS_HW_DIV to control the compilation of __udivsi3."
ee1571e8ad198c01af7817dd068f552ccf822093 15-Jan-2013 Tim Murray <timmurray@google.com> remove fabs LLVM intrinsic

Change-Id: Ifc1dd2ac25ad0682cc5b1f682b0f524f74ebb26a
ib/Renderscript/runtime/math.ll
ib/Renderscript/runtime/rs_cl.c
c055e4e701f7c96f2a0b4cdd835bbf75427d5e68 14-Jan-2013 Ben Cheng <bccheng@google.com> Add HAS_HW_DIV to control the compilation of __udivsi3.

libgcc.a will contain __udivsi3 if -mcpu=cortex-a15 is specified.

Bug: 7961327
Change-Id: I1a06c564d6b345e76845f34b5d923637e40e7e1b
ib/ExecutionEngine/Android.mk
untime/lib/divsi3.c
ca4f96c0f1fcf7a2bdc5a432b751befff149f73d 03-Jan-2013 Shih-wei Liao <sliao@google.com> Apply changes to migrate on MCLinker 2.0.2-1.

Change-Id: I8b25ad23c257e8a98069611dde525cc6d37e06e9
nclude/bcc/Linker.h
nclude/bcc/Support/LinkerConfig.h
ib/Core/Linker.cpp
ib/Support/LinkerConfig.cpp
ib/Support/TargetLinkerConfigs.cpp
ools/mcld/Main.cpp
fb32f0d150ae43e6c6c4c92fe13a92ead3f5e065 09-Jan-2013 Jason Sams <jsams@google.com> Update allocation headers for yuv.

Change-Id: I341ce90c06cbd358d8da4b62d5947b07b3f7c6c2
ib/Renderscript/runtime/rs_allocation.c
ib/Renderscript/runtime/rs_structs.h
f887657c2f07b86fab4b190e599e7d004e204d13 20-Oct-2012 Michael Liao <michael.liao@intel.com> Add more X86/SSE2+ optimized functions

- SSSE3 optimized length() is added by using HADDPS
- SSSE3 optimized dot() is added by using HADDPS
- scalar exp() and pow() is translated into LLVM intrinsics to allow
backend to schedule insn around them to reduce register pressure or
improve code scheduling. They eventually will be lowered into standard
C math library call.

Change-Id: Ife462352e15d1762ba46829165a3d02b3b1be858
Author: Michael Liao <michael.liao@intel.com>
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 66242
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/dot_length.c
ib/Renderscript/runtime/arch/x86_dot_length.ll
ib/Renderscript/runtime/arch/x86_math.ll
ib/Renderscript/runtime/rs_cl.c
cdcce323a2acddb4234e6906c691e20bb3d714f9 26-Sep-2012 Michael Liao <michael.liao@intel.com> Start to add X86/SSE2+ optimized clcore library

'sqrt' and 'clamp' are optimized on x86/sse2 target.

Change-Id: Ia8f1b12c666828de88c49699006e44b17431a9ac
Author: Michael Liao <michael.liao@intel.com>
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 61893
ndroid.mk
nclude/bcc/Renderscript/RSInfo.h
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSScript.cpp
ib/Renderscript/runtime/Android.mk
ib/Renderscript/runtime/arch/sqrt.c
ib/Renderscript/runtime/arch/x86_clamp.ll
ib/Renderscript/runtime/arch/x86_generic.c
ib/Renderscript/runtime/arch/x86_math.ll
ib/Renderscript/runtime/rs_cl.c
ibbcc-device-build.mk
426db95e17cdbaa9b1ff26eb32d20374681a96c2 03-Jan-2013 Tim Murray <timmurray@google.com> Fix potential bad pointer dereference with fract().

Bug: 7938590

Change-Id: I11c5abc589fa188c0e6790b08c3a6629c4243199
ib/Renderscript/runtime/rs_cl.c
2856b30a122658a579b907974cc6ed9c57fe28b6 17-Dec-2012 Stephen Hines <srhines@google.com> am 86229aa6: Merge "libbcc: Fix build with gcc 4.8+"

* commit '86229aa68095a84aaab1ed53188e377d4df89b50':
libbcc: Fix build with gcc 4.8+
86229aa68095a84aaab1ed53188e377d4df89b50 17-Dec-2012 Stephen Hines <srhines@google.com> Merge "libbcc: Fix build with gcc 4.8+"
56c9751e346dbdf98be57f789e6d70203a465cbe 17-Dec-2012 Tim Murray <timmurray@google.com> Merge "add rsSetElementAt_<type>."
52acbab46d32526a42f9015f175ea9a552426966 17-Dec-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate on MCLinker 2.0.1.

Change-Id: I6a3a4fac269a7dbec6ecbf06cccfddf08a03251b
ndroid.mk
nclude/bcc/Linker.h
nclude/bcc/Support/LinkerConfig.h
nclude/bcc/Support/TargetLinkerConfigs.h
ib/Core/Linker.cpp
ib/Support/Initialization.cpp
ib/Support/LinkerConfig.cpp
ib/Support/TargetLinkerConfigs.cpp
ools/mcld/Main.cpp
3d4d14cdd48cfc092a9568d057dc11f66a921969 15-Dec-2012 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> libbcc: Fix build with gcc 4.8+

gcc 4.8+ exports __ashldi3, __divsi3, __fixdfdi, ... in libgcc.
Redefining them here causes linker errors.

Change-Id: I21e17608bc7ec0b13d56602c1169a2aaec121fcf
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
untime/lib/ashldi3.c
untime/lib/divsi3.c
untime/lib/fixdfdi.c
untime/lib/fixsfdi.c
untime/lib/fixunsdfdi.c
untime/lib/fixunsdfsi.c
untime/lib/fixunssfdi.c
untime/lib/floatdidf.c
untime/lib/floatdisf.c
untime/lib/floatundidf.c
untime/lib/floatundisf.c
untime/lib/lshrdi3.c
untime/lib/muldi3.c
untime/lib/udivsi3.c
0116d8b4247829adfb64b9cb7992eb783a54abd5 13-Dec-2012 Stephen Hines <srhines@google.com> Fix bug in object slot implementation.

The implementation of object slots in RSInfo is different from that in bcinfo.
In particular, this variant uses a bitmask where order does matter, rather
than a list of slot id numbers that are actually objects. I have adjusted
the walk pattern for RSEmbedInfo to take this into account.

Change-Id: I0d587546452411a79e0f20f908b53aeca731ea7c
ib/Renderscript/RSEmbedInfo.cpp
688e4c0dd73c273551f517fa85a08b40dd63eacc 13-Dec-2012 Stephen Hines <srhines@google.com> Fix long-standing bug with multiple pragmas.

There is a subtle bug here in that the rs_fp_imprecise setting will always be
clobbered with rs_fp_full due to the "fast return" path. This change also
replaces ::strcmp() with the original implementation's std::string::compare().

Change-Id: I5b309583fed84d09ded091e25f1971fa9e1ec430
ib/Renderscript/RSInfo.cpp
6a807e777e134860c30e86671ef4c7ae3ce4beb4 13-Dec-2012 Stephen Hines <srhines@google.com> Make bcinfo rebuild with latest API number for validation.

Change-Id: I35973999050e966e82badbfac4ff33770261e5f2
leanSpec.mk
d4d0bf5a4ae2aafd1646035fed8b57cdfb617817 12-Dec-2012 Tim Murray <timmurray@google.com> add rsSetElementAt_<type>.

Change-Id: I14390d8186f4fe0d31bdbd9f653671f9eb2fc4f6
ib/Renderscript/runtime/rs_allocation.c
5543d490870e2b74c4d674d212ed974abe31d533 12-Dec-2012 Jason Sams <jsams@google.com> Use llvm fabs intrinsic.

Change-Id: I7e593ec2306305bc510c0a18ebc697b18c5992dc
ib/Renderscript/runtime/math.ll
ib/Renderscript/runtime/rs_cl.c
2965f541bc4fe593b832b8949ccec7ab0d026de0 27-Nov-2012 Jason Sams <jsams@google.com> Merge "Update libbcc for cpu separation."
f8e9aaaf25e5940558b2dcddbfaaeaea75f12270 20-Nov-2012 Stephen Hines <srhines@google.com> am 0db248b8: Merge "libbcc: Fix build with ISO C++ 11 compilers"

* commit '0db248b8dacadaa75c282281f29548ad8cca301e':
libbcc: Fix build with ISO C++ 11 compilers
0db248b8dacadaa75c282281f29548ad8cca301e 20-Nov-2012 Stephen Hines <srhines@google.com> Merge "libbcc: Fix build with ISO C++ 11 compilers"
8b1532ef9c3b60565cadcf3a5fb3816d889bf616 17-Nov-2012 Jason Sams <jsams@google.com> Update libbcc for cpu separation.

Change-Id: I14cdf14cc8a8df42efe960a4aafd9e2b282f509d
ib/Renderscript/runtime/rs_allocation.c
ib/Renderscript/runtime/rs_sample.c
ib/Renderscript/runtime/rs_structs.h
98375a7adcb000991b66baabad33b55566652682 15-Nov-2012 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> libbcc: Fix build with ISO C++ 11 compilers

Make sure "MCLD_VERSION isn't seen as a C++11 string literal

Change-Id: I647ba8250fc0f88e57dac56fb682b425ead22f0b
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
ools/mcld/Main.cpp
86a0b797c221d4c3373dc10c8229b75b6747f6e7 07-Nov-2012 Stephen Hines <srhines@google.com> Embed RS metadata info directly in emitted object code.

Bug: 7419958
Change-Id: Ibd82e503c006532aa74013a46dd13ec3e9473daa
nclude/bcc/Renderscript/RSScript.h
nclude/bcc/Renderscript/RSTransforms.h
ib/Renderscript/Android.mk
ib/Renderscript/RSCompiler.cpp
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSEmbedInfo.cpp
ib/Renderscript/RSExecutable.cpp
331310e1f3f86a795f78e42b3f03558a43829f09 27-Oct-2012 Stephen Hines <srhines@google.com> bcc_compat - convert bitcode to shared object files.

BUG: 7419958

Change-Id: Ie81203b460d60425780657b51ba3aba2b2b77e05
nclude/bcc/Renderscript/RSCompilerDriver.h
nclude/bcc/Renderscript/RSInfo.h
nclude/bcc/Renderscript/RSScript.h
nclude/bcc/Support/FileBase.h
nclude/bcc/Support/FileMutex.h
ib/Renderscript/RSCompilerDriver.cpp
ib/Renderscript/RSInfo.cpp
ib/Renderscript/RSInfoExtractor.cpp
ib/Renderscript/RSScript.cpp
ib/Support/FileBase.cpp
ools/bcc_compat/Android.mk
ools/bcc_compat/Main.cpp
d82c527a2a3b8d5ee165dea3ffeaf643ef6c606e 19-Oct-2012 Stephen Hines <srhines@google.com> am 6f3138bb: Fix missing data for mObjectSlots.

* commit '6f3138bbc93b7105ddb49a803c15c3f98077f533':
Fix missing data for mObjectSlots.
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
af0d05f17010986121d6199f247b772a97250227 17-Oct-2012 Tim Murray <timmurray@google.com> Add 1D and 2D rsSetElementAt.

Change-Id: Ied1ffbeaf311541990ecc935915c5c52a1a8b0e6
ib/Renderscript/runtime/rs_allocation.c
22ff286d193f0989a39a11cffa822edcae329528 02-Oct-2012 Stephen Hines <srhines@google.com> am 0d6d592c: Fix improper cast for pown on CPU/GPU.

* commit '0d6d592c5c0d28331151e6c4b7fb7d0789b99974':
Fix improper cast for pown on CPU/GPU.
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
f2466a56825cb1b3fa74fc786ba85ec482b33d96 25-Sep-2012 Shih-wei Liao <sliao@google.com> Merge "Pass -z {relro,now,noexecstack} in ABCCompilerDriver."
f0c8a70c572b1f89a998ce9dec1db24ce7bc67cd 25-Sep-2012 Shih-wei Liao <sliao@google.com> Merge "Support -z options in bcc::Linker."
befe61885c4d3c59ade5ebfab3a82de97c94e8fe 25-Sep-2012 Shih-wei Liao <sliao@google.com> Merge "Fix a bug in ABCExpandVAArgPass."
c8c3bfe83655b44032b7ef67e6084819a0543ef8 25-Sep-2012 Shih-wei Liao <sliao@google.com> Merge "No need to run more LTO in ABCCompiler."
1e5a95136b9947b33b38579b3819a2a78f0b211a 25-Sep-2012 Stephen Hines <srhines@google.com> am ceb4c0f5: Switch to TargetData::getTypeAllocSize().

* commit 'ceb4c0f5fc5f63c6e494fc2fda25e4461d27abb5':
Switch to TargetData::getTypeAllocSize().
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
f9c5b724ae31bf19cb419acb62b2e358a55dc144 24-Sep-2012 Stephen Hines <srhines@google.com> am 74a4b082: Fix pass-by-value when the return type uses pass-by-reference.

* commit '74a4b08235990916911b8fe758d656c1171faf26':
Fix pass-by-value when the return type uses pass-by-reference.
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
d16cf282c82b92062ba28a3d99a96e384f7dad6b 22-Sep-2012 Shih-wei Liao <sliao@google.com> Pass -z {relro,now,noexecstack} in ABCCompilerDriver.

Enable the NX (Never eXecute) bit, relro and bind_now protections in
ABCCompilerDriver.

Change-Id: I0656faec477e8552c6f988267964fe7d26b2f35a
ib/AndroidBitcode/ABCCompilerDriver.cpp
f3eb9b8c5bb3198aff2878de4dae4e70e5ef3900 22-Sep-2012 Shih-wei Liao <sliao@google.com> Support -z options in bcc::Linker.

Change-Id: I1540510e1160177a531906e25ca437b6af62122d
nclude/bcc/Support/LinkerConfig.h
ib/Support/LinkerConfig.cpp
7b15ea3405a02cec9951c8e491abb4688dee57c1 12-Sep-2012 Shih-wei Liao <sliao@google.com> Fix a bug in ABCExpandVAArgPass.

eraseFromParent() invalidates the current iterator.

Change-Id: I969b5bad66410fc4c91d7a39f2674f8b84942185
ib/AndroidBitcode/ABCExpandVAArgPass.cpp
60ca7e1fbf7d8310387de5091ec76af538ecd480 13-Sep-2012 Shih-wei Liao <sliao@google.com> No need to run more LTO in ABCCompiler.

Change-Id: I5603e86b357c75f3995bb6dbe23812ef574aa505
nclude/bcc/AndroidBitcode/ABCCompiler.h
37a2a3266d3091886f9ed452f249644c06ab498c 21-Sep-2012 Jason Sams <jsams@google.com> am 4fdec9b0: Cleanup naming of aprox & half functions. bug 7205089

* commit '4fdec9b00e2643b764c4f9786def10d643818aba':
Cleanup naming of aprox & half functions. bug 7205089
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
9ad640a47a91fe47046eb57ba0b7b37641e75b99 16-Aug-2012 Shih-wei Liao <sliao@google.com> Compile for Thumb by default in abcc.

Change-Id: I4d99e5946cfe09c60ada0232bfca83d8123f1d47
ools/abcc/Main.cpp
c7189f93ccc035067e6c8c2058c3606d4acfa9d5 16-Aug-2012 Shih-wei Liao <sliao@google.com> Support Thumb mode in ARMABCCompilerDriver.

Change-Id: I6532e91bfe248b2b8769f83ef21854ed3bea3fd0
ib/AndroidBitcode/ABCCompilerDriver.cpp
ib/AndroidBitcode/ARM/ARMABCCompilerDriver.cpp
ib/AndroidBitcode/ARM/ARMABCCompilerDriver.h
65569163ae870b16f3a1bedaa994e62422c3963e 16-Aug-2012 Shih-wei Liao <sliao@google.com> No need to specify triple to ABCCompilerDriver.

Change-Id: Ia6463466504afd94a9cd4a04c9bc7859fbba1ff5
nclude/bcc/AndroidBitcode/ABCCompilerDriver.h
ib/AndroidBitcode/ABCCompilerDriver.cpp
ib/AndroidBitcode/ARM/ARMABCCompilerDriver.cpp
ib/AndroidBitcode/ARM/ARMABCCompilerDriver.h
ib/AndroidBitcode/Android.mk
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.cpp
ib/AndroidBitcode/Mips/MipsABCCompilerDriver.h
ib/AndroidBitcode/X86/X86ABCCompilerDriver.cpp
ib/AndroidBitcode/X86/X86ABCCompilerDriver.h
a1d5d7980254d70dd28f4244a2b73120847b5f15 16-Aug-2012 Shih-wei Liao <sliao@google.com> Introduce ThumbCompilerConfig to compile for Thumb. BUG=6996910

Change-Id: I7e36b4e451520b9e47915b983cad8a3040691829
nclude/bcc/Support/TargetCompilerConfigs.h
ib/Support/TargetCompilerConfigs.cpp
8f9cea95a6d0c825cadcc8b5d8fc2325daeee3bb 18-Sep-2012 Stephen Hines <srhines@google.com> am 7ae3a828: Implement expandKernel() for pass-by-value.

* commit '7ae3a828fade4e30f7940415949f33ac1f15dc77':
Implement expandKernel() for pass-by-value.
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
3c79a939d62d57188873e4c3bbd751cae7544e6f 12-Sep-2012 Stephen Hines <srhines@google.com> am 1b84ea3b: am 2e00e3b8: am 89fb60df: Merge "Fix length(float v) issue"

* commit '1b84ea3be223d95e55965c0d5721d7c91a5a66b9':
Fix length(float v) issue
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
306e1f5ed0f276249a5e936a96e98c1306426353 06-Sep-2012 Stephen Hines <srhines@google.com> am a565633f: Merge "Fix up libbcc for LLVM upstream merge to r162314." into jb-mr1-dev

* commit 'a565633ff50bdbb355bf3c1a9fed72a39d4514f7':
Fix up libbcc for LLVM upstream merge to r162314.
a565633ff50bdbb355bf3c1a9fed72a39d4514f7 06-Sep-2012 Stephen Hines <srhines@google.com> Merge "Fix up libbcc for LLVM upstream merge to r162314." into jb-mr1-dev
37f6bbeed27189e2cf5fac72c46871aa174a8fb4 30-Aug-2012 Stephen Hines <srhines@google.com> am 3ffc8330: Add support for generating .bcinfo files to bcinfo.

* commit '3ffc8330d765599e357197883f72c01bd43837c8':
Add support for generating .bcinfo files to bcinfo.
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
9b6a16d04bd296243451bb6c267cdd26a314d5a2 29-Aug-2012 Jason Sams <jsams@google.com> am 2ac4cb14: Merge "Cache element type in allocation." into jb-mr1-dev

* commit '2ac4cb14fd34fff9ed1fede229aea9c84edb6556':
Cache element type in allocation.
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
aca11a238e33b85c0f109101500e6f758625e6c2 23-Aug-2012 Stephen Hines <srhines@google.com> am 894a232d: am 655dc2b8: am a5868783: Merge "Removed unused private member variable."

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

* commit '38c94b68c77c9b91ce191d5ccfb718d9d8613eda':
Fix class redeclared as struct.
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.
5633c1a476fbf6670e8347ce44cfba3d42b89bc4 23-Aug-2012 Ying Wang <wangying@google.com> am a03671cc: (-s ours) Fix build warning.

* commit 'a03671cc3b17da7881cb0bfbc04df40d2839024d':
Fix build warning.
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
b2039f5df6d8d7e249093219764ef2ce5e9bcb37 17-Aug-2012 Joe Onorato <joeo@google.com> am 837cea4b: fix bad merge

* commit '837cea4bd73a38f4688091fc5767d7e2b7ec832b':
fix bad merge
837cea4bd73a38f4688091fc5767d7e2b7ec832b 17-Aug-2012 Joe Onorato <joeo@google.com> fix bad merge

Change-Id: Iaa1316076e0bb0307e7c2085fa919101fc52ceb0
ools/bcc/Android.mk
3e231a0ae642dc1930520f4a076e60355a0f2b39 17-Aug-2012 Joe Onorato <joeo@google.com> resolved conflicts for merge of fcd0ce39 to master

Change-Id: I9f316440c2ca1f5d34847b5935015eb0ce72df65
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"
c3bdd2fd1b950a2f1bd1da54104114087a3456d6 30-Jul-2012 Joe Onorato <joeo@google.com> Host modules are automatically installed. Can't have tags anymore.

Change-Id: I42b82954d6e60143b2241e22454cca667875d555
cinfo/tools/Android.mk
ools/mcld/Android.mk
f482fa69fc85a086dbc52bff9308ca181b1fb60c 30-Jul-2012 Joe Onorato <joeo@google.com> host modules don't need LOCAL_MODULE_TAGS

Change-Id: Ic3da302ac6a3e5ac854c5186d09a22ab85050731
ools/bcc/Android.mk
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