• Home
  • History
  • Annotate
  • only in /frameworks/compile/slang/
History log of /frameworks/compile/slang/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
10c6da64c54c308ee965860aed2458f31f69f9a2 22-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
2da8398de6aab4b7c600a24841d1f871349c7fae 21-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
15d8b7ef4267dabe13686053c9ba5c90224b4f80 20-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
d18c5ba6741cff5f6cf8d48ab76ee3cf9bf33db6 16-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
85c069f9b8a71bdda265cca1f6143eb5ceb5c969 15-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
a38e727e17cc8ce3d56fab6ba940e9afab3f1f3e 14-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
e47f7269606eb18b807f61d67361ee3030175102 13-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
11fccd79b0890a99e6df7d88399705e45d55705f 12-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
fa950dcfbbe00dc58b5196c2b4dea3edf5c1dab4 09-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
e6008279dd919b4eb1c1fef1c45dc6d59876c5a2 08-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
1125d6529e2ea333eb0ae9362985cb3d6b714e5a 07-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
1dc20f9287494410f20fc84be594a35097d6c16d 06-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
71c0d74617b2de2abbd64c4e7bc7c03f842ec0aa 05-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
8c10d59d30b87f1cadae7760932a72bf9c743388 01-Oct-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
d4b456510a7ef6c39530985560e1f3d54c0f4152 30-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
9aaad891e95a09f03e955dfb6534e8b6c5ab3fc5 29-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
df4ba387d15dc308bf2648650772fce3b31d70ac 28-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
78718899887656e4660bab06d18ba23796289600 25-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
832810fc7ae472f937d2cf5842cf5305bdbd7209 24-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
b5014e1bcae674e4aa9c9f3fdb518b46a3dd1173 23-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
47efe2d9bdb47c63498b326b3fd9515adff00a0b 22-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
fa596bed881b6c45ec30d17b56709e9722042aa3 21-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
f88175644bf65c146b5ea7a513d461aa80b42f04 21-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 6042abffa3332c675781ffdc5d4297ac7e84c821
f1207e84de43618ec38f4a3005970018c6ec6089 20-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
6042abffa3332c675781ffdc5d4297ac7e84c821 18-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
5f0647b23adb299a997f0d4724311ac92798c312 17-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
931147db4fadd875b9a9cab7e3389d010f7fde2a 16-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
e0aebd1099acb2a2f140c460f49f8407b080d8eb 15-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
67222992d0e3901f6b09a9f17af2f5eb6be71573 14-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
8cb6831b8f6d90d605a7a182cb65abf46fff7c54 13-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to a6474cbe2fe1c189185f6b579777937c25e5984d
ea5fc2fb6a737bb6873d7162cccc7a5514861229 13-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
a6474cbe2fe1c189185f6b579777937c25e5984d 11-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 5984fc03b6189f19f3721423b92469e4908a49ef
90200e7c64355de830bc29468b4add19865904ee 10-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 340b5550cf63b6beae3b12c2e91377bce7704c34
5984fc03b6189f19f3721423b92469e4908a49ef 10-Sep-2014 Stephen Hines <srhines@google.com> Emit 32/64-bit bitcode appropriately for C++ reflection.

Bug: 17417839

This change adds proper handling of C++ reflection for the -m32/-m64
command line arguments. Only one type of bitcode will be emitted.

Change-Id: Ic52812b0fc7836eefbe8b6837272124d69b50182
SCCOptions.td
s_cc_options.cpp
lang_rs.cpp
c9b55e4bf7a2cf42792577eb25fb0de406637ab5 09-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 340b5550cf63b6beae3b12c2e91377bce7704c34
60270dfd684ed97e81a71c085ce4b1b0f16028f6 08-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 340b5550cf63b6beae3b12c2e91377bce7704c34
3e924920621a7158e56c95a7aac7d374ed24a9f8 07-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 340b5550cf63b6beae3b12c2e91377bce7704c34
a805d617187f9b1d4b7a68e9c87191e9d649244c 06-Sep-2014 The Android Automerger <android-build@google.com> merge in lmp-release history after reset to 4b0503e22a9357c28d6d6cdf7f1d667a43d80381
340b5550cf63b6beae3b12c2e91377bce7704c34 05-Sep-2014 Stephen Hines <srhines@google.com> Fix dangling reference to a local std::string.

Bug: 16031597

llvm::StringRefs are just lightweight wrappers around strings, and don't
retain/own any of the storage for the actual underlying string. This causes
lifetime issues if any local std::string objects that are then wrapped by
llvm::StringRef ever escape. When the local object goes out of scope, we are
left with a dangling reference.

Valgrind helped us to catch this happening for constant array exports, which
only ever use a statically named "<ConstantArray>" reference, so we can
simply replace it with static C string (wrapped by llvm::StringRef).

Change-Id: I0a9fae2687bc9f53d091d56cf15f99bb75ca46e4
lang_rs_export_type.cpp
lang_rs_export_type.h
4b0503e22a9357c28d6d6cdf7f1d667a43d80381 27-Aug-2014 Stephen Hines <srhines@google.com> DO NOT MERGE - Force version to 21 temporarily.

Change-Id: Ib7ac424669c66ee8525d476de11420111b98326b
s_version.mk
e020dddca7189323c8d5a76c1942f744f684d106 26-Aug-2014 Stephen Hines <srhines@google.com> Merge "Emit both 32-bit and 64-bit bitcode for target API >= 21." into lmp-dev
6eac8fbfa2d57780b982ac193e8195e8989dd6f2 21-Aug-2014 Stephen Hines <srhines@google.com> Merge "Suppress warnings on our second compilation (for 64-bit)." into lmp-dev
bf560dcb480a90faca26121d44283fab78e81206 21-Aug-2014 Stephen Hines <srhines@google.com> Merge "Fix tests for 64-bit." into lmp-dev
dd22d5ca3040cda08cd5702f9d0872c2db8da22f 15-Aug-2014 Stephen Hines <srhines@google.com> Emit both 32-bit and 64-bit bitcode for target API >= 21.

Bug: 16031597

Change-Id: I4e3437c2efcdb6102e805617b00720d04b897dc9
SCCOptions.td
s_cc_options.cpp
ests/P_v64/stderr.txt.expect
ests/P_v64/stdout.txt.expect
ests/P_v64/v64.rs
e46265d27df092fbd911075403ec04d9c7ef8de1 18-Aug-2014 Tim Murray <timmurray@google.com> Fix unsigned long reflection with slang.

bug 16846318

Change-Id: If6c207b757a716029aae58a6b12601e16c296438
lang_rs_export_type.cpp
2d504fd03c66be56ac3b4bb62c78cc72c75dd8b6 15-Aug-2014 Stephen Hines <srhines@google.com> Suppress warnings on our second compilation (for 64-bit).

Bug: 16031597
Bug: 17052573

Without this patch the 64-bit compilation path will print duplicate warning
diagnostics, since we call the frontend twice (for 32-bit, and then 64-bit).
The simplest fix is to not print warnings for the second compilation. A bug
(17052573) has been filed to track fixing this a better way (actually printing
out all warning diagnostics, but removing duplicates explicitly).

Change-Id: I78ac0ebd2b132713ec0c86c2cf234da2b620eecf
lvm-rs-cc.cpp
lang.cpp
lang.h
lang_rs.cpp
lang_rs.h
55c081c6754f128049f56ed2342a07b601849ce9 15-Aug-2014 Stephen Hines <srhines@google.com> Fix tests for 64-bit.

Bug: 16031597

This change also copies over an existing test (P_export_types) that would
break under the new 64-bit compilation mode (since some types no longer exist).

Change-Id: Ia719e69cd9df4d0bdc814b16223d791055f2d616
ests/P_export_types/export_types.rs
ests/P_export_types_v20/export_types.rs
ests/P_export_types_v20/stderr.txt.expect
ests/P_export_types_v20/stdout.txt.expect
ests/P_refcount/refcount.rs
ests/P_unknown_function/stderr.txt.expect
ests/P_unknown_function/unknown_function.rs
b444df0215daef5be9a5584a9c9d45f067006071 12-Aug-2014 Tim Murray <timmurray@google.com> Merge "Fix two bugs for 64-bit slang." into lmp-dev
94ca20429c0e0ecd2d82e9d1d1637a0207244ac9 01-Aug-2014 Ying Wang <wangying@google.co> LOCAL_PATH should be set outside the ifeq block.

Change-Id: Ifdb411936c61c62623ea9afcbe93e959d2e764e9
(cherry picked from commit 4f7050f3ef5da175b199a714e750e0b4a6b833cf)
ndroid.mk
d56a92fc2b1d417ce53d9550548fe1661fa37d40 05-Aug-2014 Tim Murray <timmurray@google.com> Fix two bugs for 64-bit slang.

The first is to handle structs in invoke parameter lists by assuming struct and not struct*. The second is to not cache LLVM types for RS object types because it breaks on 64-bit compilation.

Change-Id: I26d7dd7395ef0146eb84d43cbec5cf8d49d09697
lang_rs_backend.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
f5ab7e790bb4a2d5d6495d37b0855005d48f91c3 26-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Add comments to the generated file.

These comments are help our users understand how to use the reflected code.
I'll add these to the Java reflection too after we settle the details for
the C++ version.

Change-Id: I887dbd78c52218cafe907973829458340efbf388
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection_cpp.cpp
7ac9d0de26d325071ad3f26f8d34514efca2d3d6 16-Jul-2014 Stephen Hines <srhines@google.com> Update slang for LLVM rebase to r212749.

Change-Id: I5819f9df3212ffcfa8f34c11d3cea29f1fd04878
lvm-rs-as.cpp
lvm-rs-cc.cpp
s_cc_options.cpp
lang.cpp
lang.h
lang_diagnostic_buffer.h
lang_rs.cpp
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_element.cpp
lang_rs_pragma_handler.cpp
lang_utils.cpp
ff86fb66ba4ef46bb508acf4c6708e59077eeaf7 17-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Fix expected stderr to refer to version 21." into lmp-dev
f7ad1eb15a1f921c720bc9097cb283816e8bb14b 17-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Fix expected stderr to refer to version 21.

Change-Id: Ie8f9039444ff0d0982f91b26b06e4d7a402dad9c
ests/F_multi_in_target_version/stderr.txt.expect
ests/F_root_compute_really_bad/stderr.txt.expect
5210d103b523e1f7f8009f178a7face27fbff51e 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.

Also add a validation that two incompatible precision
pragmas have been specified.

Change-Id: Ib70430872b4a3058b36f8196cbcffba2e4beb322
lang_rs_context.cpp
lang_rs_context.h
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
ests/F_rs_fp_two_pragmas/rs_fp_two_pragmas.rs
ests/F_rs_fp_two_pragmas/stderr.txt.expect
ests/F_rs_fp_two_pragmas/stdout.txt.expect
ests/P_rs_fp_full/rs_fp_full.rs
ests/P_rs_fp_full/stderr.txt.expect
ests/P_rs_fp_full/stdout.txt.expect
ests/P_rs_fp_imprecise/stderr.txt.expect
94507cbc68f8964b67474730ce5592f9b9818671 11-Jul-2014 Tim Murray <timmurray@google.com> am ceafda8a: am 3f96e759: am 7ffdf8d8: am 4c201dd7: Merge "Reflect Java size information using mElement.getBytesSize()."

* commit 'ceafda8a24d0d17cf7e02732380becda25c0e361':
ceafda8a24d0d17cf7e02732380becda25c0e361 11-Jul-2014 Tim Murray <timmurray@google.com> am 3f96e759: am 7ffdf8d8: am 4c201dd7: Merge "Reflect Java size information using mElement.getBytesSize()."

* commit '3f96e7593e4e182c6fc44eca3614534761cedab7':
Reflect Java size information using mElement.getBytesSize().
1fb093aceb6c9141f99d1dd96455b7a113d2cd8b 09-Jul-2014 Stephen Hines <srhines@google.com> am 02126c9c: am ff6ee314: am 6a0cbfb1: Merge "Add an option to emit 32-bit and 64-bit bitcode."

* commit '02126c9cb18e93afa91fe62a8c55ce37b33d82e6':
Add an option to emit 32-bit and 64-bit bitcode.
02126c9cb18e93afa91fe62a8c55ce37b33d82e6 09-Jul-2014 Stephen Hines <srhines@google.com> am ff6ee314: am 6a0cbfb1: Merge "Add an option to emit 32-bit and 64-bit bitcode."

* commit 'ff6ee3146017f616856881837f192da343778e3a':
Add an option to emit 32-bit and 64-bit bitcode.
ff6ee3146017f616856881837f192da343778e3a 09-Jul-2014 Stephen Hines <srhines@google.com> am 6a0cbfb1: Merge "Add an option to emit 32-bit and 64-bit bitcode."

* commit '6a0cbfb1d48d7ba32b8268c49b1081d17fd55af8':
Add an option to emit 32-bit and 64-bit bitcode.
6a0cbfb1d48d7ba32b8268c49b1081d17fd55af8 09-Jul-2014 Stephen Hines <srhines@google.com> Merge "Add an option to emit 32-bit and 64-bit bitcode."
6cd00206c1bc9493ebfa66eda001a88437f499c8 09-Jul-2014 Stephen Hines <srhines@google.com> am 7a72a55c: am 36cd83c3: am afa84a91: Merge "Adds support for multi-input kernels to Slang."

* commit '7a72a55c8c0ce5fc7cbeb523ef1197287dc79fe0':
Adds support for multi-input kernels to Slang.
9ae18b2bbee0b08afd400542e863dd665ff76059 11-Jun-2014 Stephen Hines <srhines@google.com> Add an option to emit 32-bit and 64-bit bitcode.

Bug: 16031597

Change-Id: Ifb3c4eca5e7ae16106260c2b5f5da6854c021a3a
SCCOptions.td
lvm-rs-cc.cpp
s_cc_options.cpp
s_cc_options.h
lang.cpp
lang.h
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_type.cpp
lang_rs_object_ref_count.cpp
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
ests/P_v64/stderr.txt.expect
ests/P_v64/stdout.txt.expect
ests/P_v64/v64.rs
7a72a55c8c0ce5fc7cbeb523ef1197287dc79fe0 08-Jul-2014 Stephen Hines <srhines@google.com> am 36cd83c3: am afa84a91: Merge "Adds support for multi-input kernels to Slang."

* commit '36cd83c3c083969a548289bf27b9296665cc884f':
Adds support for multi-input kernels to Slang.
36cd83c3c083969a548289bf27b9296665cc884f 08-Jul-2014 Stephen Hines <srhines@google.com> am afa84a91: Merge "Adds support for multi-input kernels to Slang."

* commit 'afa84a9112db3b135f88d736b4c8249a049eb40a':
Adds support for multi-input kernels to Slang.
aa52d3020c6b50128a3791dabaf5a981e70be4a6 08-Jul-2014 Tim Murray <timmurray@google.com> am 3f96e759: am 7ffdf8d8: am 4c201dd7: Merge "Reflect Java size information using mElement.getBytesSize()."

* commit '3f96e7593e4e182c6fc44eca3614534761cedab7':
Reflect Java size information using mElement.getBytesSize().
3f96e7593e4e182c6fc44eca3614534761cedab7 08-Jul-2014 Tim Murray <timmurray@google.com> am 7ffdf8d8: am 4c201dd7: Merge "Reflect Java size information using mElement.getBytesSize()."

* commit '7ffdf8d83ff31e4f78fecdc5b518fa3667574b00':
Reflect Java size information using mElement.getBytesSize().
7ffdf8d83ff31e4f78fecdc5b518fa3667574b00 08-Jul-2014 Tim Murray <timmurray@google.com> am 4c201dd7: Merge "Reflect Java size information using mElement.getBytesSize()."

* commit '4c201dd7a232ab84f724674517dfd16f255b6c27':
Reflect Java size information using mElement.getBytesSize().
afa84a9112db3b135f88d736b4c8249a049eb40a 08-Jul-2014 Stephen Hines <srhines@google.com> Merge "Adds support for multi-input kernels to Slang."
c9454afec1649846512993d0ef65a9f868976bb4 14-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to Slang.

This patch modifies slang in the folowing ways:
* Updates some of the development target API logic.
* Adds logic for validating kernels with multiple inputs.
* Added support for multi-input kernels to the Java reflection code.
* Adds tests for these new features.
* Updated existing tests with the new error messages.

Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
s_cc_options.cpp
lang_backend.cpp
lang_backend.h
lang_rs.h
lang_rs_backend.h
lang_rs_context.h
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_reflection_cpp.cpp
lang_version.h
ests/F_multi_in_target_version/multi_in_target_version.rs
ests/F_multi_in_target_version/stderr.txt.expect
ests/F_multi_in_target_version/stdout.txt.expect
ests/F_root_compute_really_bad/stderr.txt.expect
ests/P_kernel_multi_in/kernel_multi_in.rs
ests/P_kernel_multi_in/stderr.txt.expect
ests/P_kernel_multi_in/stdout.txt.expect
ests/P_multi_in_target_version/multi_in_target_version.rs
ests/P_multi_in_target_version/stderr.txt.expect
ests/P_multi_in_target_version/stdout.txt.expect
ests/P_set_target_api_11/set_target_api_11.rs
ests/P_set_target_api_12/set_target_api_12.rs
ests/P_set_target_api_13/set_target_api_13.rs
ests/P_set_target_api_14/set_target_api_14.rs
ests/P_set_target_api_15/set_target_api_15.rs
ests/P_set_target_api_16/set_target_api_16.rs
ests/P_set_target_api_17/set_target_api_17.rs
ests/P_set_target_api_18/set_target_api_18.rs
ests/P_set_target_api_19/set_target_api_19.rs
ests/P_set_target_api_development/set_target_api_development.rs
4c201dd7a232ab84f724674517dfd16f255b6c27 08-Jul-2014 Tim Murray <timmurray@google.com> Merge "Reflect Java size information using mElement.getBytesSize()."
3a38b7489d016b07e5b95a1e04ccfe9064b3438f 02-Jul-2014 Tim Murray <timmurray@google.com> Reflect Java size information using mElement.getBytesSize().

Item.sizeof is unreliable because of 32/64 differences. getBytesSize()
will be significantly more reliable.

Change-Id: I7b486f1eb931befcc3ac8bacae3834cbfb47358d
lang_rs_reflection.cpp
lang_rs_reflection.h
c3a50d235009f47571cabb68fac4f7551255b454 27-Jun-2014 Stephen Hines <srhines@google.com> Update tests to reflect API bump to 21.

Change-Id: I9696b6ead2833da6f4de3d5e97d1c69be5a80576
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
4dd305fc33a4b661697c78f17419e27381382559 27-Jun-2014 Stephen Hines <srhines@google.com> am ea88e2d6: am 9387abe5: am 6a691314: Merge "Update tests to reflect API bump to 20."

* commit 'ea88e2d6c9f26efc9de7f4a7db0650e62e7be9bf':
Update tests to reflect API bump to 20.
ea88e2d6c9f26efc9de7f4a7db0650e62e7be9bf 27-Jun-2014 Stephen Hines <srhines@google.com> am 9387abe5: am 6a691314: Merge "Update tests to reflect API bump to 20."

* commit '9387abe5a54391e008626c89012d910d6f1b9d73':
Update tests to reflect API bump to 20.
9387abe5a54391e008626c89012d910d6f1b9d73 27-Jun-2014 Stephen Hines <srhines@google.com> am 6a691314: Merge "Update tests to reflect API bump to 20."

* commit '6a691314d37d6fcbe9163c9e01363ca2be2feea8':
Update tests to reflect API bump to 20.
6a691314d37d6fcbe9163c9e01363ca2be2feea8 27-Jun-2014 Stephen Hines <srhines@google.com> Merge "Update tests to reflect API bump to 20."
4a5ce9a3b109c9dccd1e501394f879261fd9a2b3 27-Jun-2014 Stephen Hines <srhines@google.com> Update tests to reflect API bump to 20.

Change-Id: Ideead88c6d58de6cf27cc4b1947161c926abf6bd
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
521b83b1d55bf4227cc7d65c7d02d1fbdab325ed 18-Jun-2014 Stephen Hines <srhines@google.com> am bd922f02: am 731f6b89: am 5efd1318: Merge "Added a new development target api."

* commit 'bd922f02909c5a0dea2f5a062584370c8eccf8bf':
Added a new development target api.
bd922f02909c5a0dea2f5a062584370c8eccf8bf 18-Jun-2014 Stephen Hines <srhines@google.com> am 731f6b89: am 5efd1318: Merge "Added a new development target api."

* commit '731f6b8936c656848a973c21227c20454ffd6264':
Added a new development target api.
731f6b8936c656848a973c21227c20454ffd6264 18-Jun-2014 Stephen Hines <srhines@google.com> am 5efd1318: Merge "Added a new development target api."

* commit '5efd1318d36433fefb6c84f6b487a952eb0eaac9':
Added a new development target api.
f89df3c3a76b38c571634e0e58551f365fbf566d 17-Jun-2014 Andrew Hsieh <andrewhsieh@google.com> am 3201f0cf: am f3750463: am 447a1e07: Merge "Use gcc instead of clang when building Windows SDK."

* commit '3201f0cfa9dada4c76d518d2f132d43adf55ab2b':
Use gcc instead of clang when building Windows SDK.
3201f0cfa9dada4c76d518d2f132d43adf55ab2b 17-Jun-2014 Andrew Hsieh <andrewhsieh@google.com> am f3750463: am 447a1e07: Merge "Use gcc instead of clang when building Windows SDK."

* commit 'f3750463d679d69049b8babbe1097b0230899994':
Use gcc instead of clang when building Windows SDK.
5efd1318d36433fefb6c84f6b487a952eb0eaac9 18-Jun-2014 Stephen Hines <srhines@google.com> Merge "Added a new development target api."
f3750463d679d69049b8babbe1097b0230899994 17-Jun-2014 Andrew Hsieh <andrewhsieh@google.com> am 447a1e07: Merge "Use gcc instead of clang when building Windows SDK."

* commit '447a1e074bbad9d455cc37c880f63cf2a4f10e30':
Use gcc instead of clang when building Windows SDK.
9e3aa07a4456aad52920e0a7464954fe67cdbe01 17-Jun-2014 Chris Wailes <chriswailes@google.com> Added a new development target api.

Change-Id: I71a16597f2605b9323424f8d493f103519d10178
lang_backend.cpp
lang_backend.h
lang_rs.cpp
lang_rs.h
lang_rs_backend.h
lang_rs_context.h
lang_version.h
ests/P_set_target_api_development/set_target_api_development.rs
ests/P_set_target_api_development/stderr.txt.expect
ests/P_set_target_api_development/stdout.txt.expect
447a1e074bbad9d455cc37c880f63cf2a4f10e30 17-Jun-2014 Andrew Hsieh <andrewhsieh@google.com> Merge "Use gcc instead of clang when building Windows SDK."
231f578e0b0c2467e1b71e3ba5cd035caf1a9d88 26-May-2014 Logan Chien <tzuhsiang.chien@gmail.com> Use gcc instead of clang when building Windows SDK.

Also, we should use the libstdc++ from GCC toolchain
instead of libc++ since gcc does not support _Atomic
type yet.

Change-Id: Ib901811278ed5cac2c5a64ef2d2cbdfa7c3a1081
ndroid.mk
itWriter_2_9/Android.mk
itWriter_2_9_func/Android.mk
itWriter_3_2/Android.mk
12828c39d33129990c039fa3c19ac3625ef59784 11-Jun-2014 Stephen Hines <srhines@google.com> am 617a1a1e: am 0b9b44e4: am 2b6961e9: Merge "Add -v (-verbose/--verbose) option to llvm-rs-cc."

* commit '617a1a1ec3c9253f012173a57ca143743c73ce58':
Add -v (-verbose/--verbose) option to llvm-rs-cc.
0a80c14096313aaa4f09248fb5d1fc462b8475bc 11-Jun-2014 Stephen Hines <srhines@google.com> am 8aad9ff8: am 00ebcc1d: am 73d54d6e: Merge "Clean up more of the RSCCOptions class."

* commit '8aad9ff8d29abe2dbe5a32e8530227a0f43eb172':
Clean up more of the RSCCOptions class.
d5daae4247328fea6493386cca8be478fb6dd677 11-Jun-2014 Stephen Hines <srhines@google.com> am e6b7bee9: am 7d1f71a6: am 15344b3f: Merge "Run InitializePreprocessor() to ensure that all macros are set up properly."

* commit 'e6b7bee91724445ec42adb9ac9fdc03b87d5a4c5':
Run InitializePreprocessor() to ensure that all macros are set up properly.
617a1a1ec3c9253f012173a57ca143743c73ce58 11-Jun-2014 Stephen Hines <srhines@google.com> am 0b9b44e4: am 2b6961e9: Merge "Add -v (-verbose/--verbose) option to llvm-rs-cc."

* commit '0b9b44e4a9f5e0d1547fc8bbd615018b69b3b2ea':
Add -v (-verbose/--verbose) option to llvm-rs-cc.
8aad9ff8d29abe2dbe5a32e8530227a0f43eb172 11-Jun-2014 Stephen Hines <srhines@google.com> am 00ebcc1d: am 73d54d6e: Merge "Clean up more of the RSCCOptions class."

* commit '00ebcc1d7aa6ec11189fc7bfa025a21627f17fc4':
Clean up more of the RSCCOptions class.
0b9b44e4a9f5e0d1547fc8bbd615018b69b3b2ea 11-Jun-2014 Stephen Hines <srhines@google.com> am 2b6961e9: Merge "Add -v (-verbose/--verbose) option to llvm-rs-cc."

* commit '2b6961e95f9da7b5f954d0069e74e31d4b5be1fa':
Add -v (-verbose/--verbose) option to llvm-rs-cc.
00ebcc1d7aa6ec11189fc7bfa025a21627f17fc4 11-Jun-2014 Stephen Hines <srhines@google.com> am 73d54d6e: Merge "Clean up more of the RSCCOptions class."

* commit '73d54d6ed7a122de16263f425ade3fe21fde1337':
Clean up more of the RSCCOptions class.
e6b7bee91724445ec42adb9ac9fdc03b87d5a4c5 11-Jun-2014 Stephen Hines <srhines@google.com> am 7d1f71a6: am 15344b3f: Merge "Run InitializePreprocessor() to ensure that all macros are set up properly."

* commit '7d1f71a65fb48bbcaadfa849682c1a259752a807':
Run InitializePreprocessor() to ensure that all macros are set up properly.
7d1f71a65fb48bbcaadfa849682c1a259752a807 11-Jun-2014 Stephen Hines <srhines@google.com> am 15344b3f: Merge "Run InitializePreprocessor() to ensure that all macros are set up properly."

* commit '15344b3f1c18188bbd02bf5ff0e0f033c08a20e0':
Run InitializePreprocessor() to ensure that all macros are set up properly.
2b6961e95f9da7b5f954d0069e74e31d4b5be1fa 11-Jun-2014 Stephen Hines <srhines@google.com> Merge "Add -v (-verbose/--verbose) option to llvm-rs-cc."
fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0 11-Jun-2014 Stephen Hines <srhines@google.com> Add -v (-verbose/--verbose) option to llvm-rs-cc.

This change also suppresses the display of "Generating Script*." output by
default.

Change-Id: I034a3ba20acf64e1eb9ecc02133edb03b643d559
SCCOptions.td
s_cc_options.cpp
s_cc_options.h
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_rs_reflection_cpp.cpp
ests/F_no_pragma/stdout.txt.expect
ests/F_one_definition_rule1/stdout.txt.expect
ests/F_one_definition_rule2/stdout.txt.expect
ests/F_one_definition_rule3/stdout.txt.expect
ests/F_one_definition_rule4/stdout.txt.expect
ests/F_one_definition_rule5/stdout.txt.expect
ests/F_one_definition_rule6/stdout.txt.expect
ests/F_one_definition_rule7/stdout.txt.expect
ests/F_one_definition_rule8/stdout.txt.expect
ests/P_alloc_in_struct/stdout.txt.expect
ests/P_array_init/stdout.txt.expect
ests/P_compute/stdout.txt.expect
ests/P_constant/stdout.txt.expect
ests/P_debug/stdout.txt.expect
ests/P_dummy_root/stdout.txt.expect
ests/P_export_types/stdout.txt.expect
ests/P_float3/stdout.txt.expect
ests/P_fs_kernel/stdout.txt.expect
ests/P_ignore_warnings/stdout.txt.expect
ests/P_kernel/stdout.txt.expect
ests/P_kernel_cpp/stdout.txt.expect
ests/P_license/stdout.txt.expect
ests/P_local_ref_after_return/stdout.txt.expect
ests/P_long64/stdout.txt.expect
ests/P_math_fp/stdout.txt.expect
ests/P_math_int/stdout.txt.expect
ests/P_odr_array/stdout.txt.expect
ests/P_one_definition_rule/stdout.txt.expect
ests/P_ooo_compute/stdout.txt.expect
ests/P_overload/stdout.txt.expect
ests/P_redefine_RS_VERSION/stdout.txt.expect
ests/P_refcount/stdout.txt.expect
ests/P_root_11_i/stdout.txt.expect
ests/P_root_11_iouxy/stdout.txt.expect
ests/P_root_compute/stdout.txt.expect
ests/P_root_compute_int32_xy/stdout.txt.expect
ests/P_root_compute_non_void_ptr_usrData/stdout.txt.expect
ests/P_root_graphics/stdout.txt.expect
ests/P_root_graphics_13/stdout.txt.expect
ests/P_rs_fp_imprecise/stdout.txt.expect
ests/P_rs_fp_relaxed/stdout.txt.expect
ests/P_rs_package_name/stdout.txt.expect
ests/P_set_target_api_11/stdout.txt.expect
ests/P_set_target_api_12/stdout.txt.expect
ests/P_set_target_api_13/stdout.txt.expect
ests/P_set_target_api_14/stdout.txt.expect
ests/P_set_target_api_15/stdout.txt.expect
ests/P_set_target_api_16/stdout.txt.expect
ests/P_set_target_api_17/stdout.txt.expect
ests/P_set_target_api_18/stdout.txt.expect
ests/P_set_target_api_19/stdout.txt.expect
ests/P_static_struct/stdout.txt.expect
ests/P_str_escape/stdout.txt.expect
ests/P_unknown_function/stdout.txt.expect
ests/P_use_RS_VERSION/stdout.txt.expect
ests/P_verbose/stderr.txt.expect
ests/P_verbose/stdout.txt.expect
ests/P_verbose/verbose.rs
ests/P_warnings/stdout.txt.expect
ests/P_warnings_rsSetElementAt/stdout.txt.expect
7f5704efe0c59d5599f1ac7056976225dbfab946 11-Jun-2014 Stephen Hines <srhines@google.com> Clean up more of the RSCCOptions class.

Pass a bunch of arguments using the class directly. Move the documentation
next to the actual option declarations, rather than as part of a huge call
to "compile()". Convert from bitfields to bool.

Change-Id: I666dea469717f1f0ae59e0220a6146c96fc0fb7c
lvm-rs-cc.cpp
s_cc_options.cpp
s_cc_options.h
lang_rs.cpp
lang_rs.h
73d54d6ed7a122de16263f425ade3fe21fde1337 11-Jun-2014 Stephen Hines <srhines@google.com> Merge "Clean up more of the RSCCOptions class."
15344b3f1c18188bbd02bf5ff0e0f033c08a20e0 11-Jun-2014 Stephen Hines <srhines@google.com> Merge "Run InitializePreprocessor() to ensure that all macros are set up properly."
0e4ee65a2ba6b32fcd16c5d4a57fc7542d4032b4 10-Jun-2014 Stephen Hines <srhines@google.com> Run InitializePreprocessor() to ensure that all macros are set up properly.

Without this, we don't end up defining things like __LP64__ for 64-bit
compilation targets.

Change-Id: I11e11bde3498089056e7a70903c8d47d1030e01a
lang.cpp
lang_rs.cpp
9a4ea752a3beb6dba69f81c4691adac1e075720c 07-Jun-2014 Stephen Hines <srhines@google.com> Update failing tests for new Android version number.

Change-Id: Iafc6c9ce50fefb4f073ea900821f0df4a43ab351
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
322e9925db3f46ece50fe51aca611bbaae4a2c9b 07-Jun-2014 Stephen Hines <srhines@google.com> am ca7b4b58: am fc2c95a5: am 8ca4ca8f: Merge "Separate out option processing from llvm-rs-cc.cpp."

* commit 'ca7b4b58b02a1d43dfda934824c2870d5304aca9':
Separate out option processing from llvm-rs-cc.cpp.
ca7b4b58b02a1d43dfda934824c2870d5304aca9 07-Jun-2014 Stephen Hines <srhines@google.com> am fc2c95a5: am 8ca4ca8f: Merge "Separate out option processing from llvm-rs-cc.cpp."

* commit 'fc2c95a54beaa9aa2c2133c0055bdc9fae7d033d':
Separate out option processing from llvm-rs-cc.cpp.
fc2c95a54beaa9aa2c2133c0055bdc9fae7d033d 07-Jun-2014 Stephen Hines <srhines@google.com> am 8ca4ca8f: Merge "Separate out option processing from llvm-rs-cc.cpp."

* commit '8ca4ca8f94400770f692b4ab8e03e28580ad3b40':
Separate out option processing from llvm-rs-cc.cpp.
8ca4ca8f94400770f692b4ab8e03e28580ad3b40 07-Jun-2014 Stephen Hines <srhines@google.com> Merge "Separate out option processing from llvm-rs-cc.cpp."
8b5c5c6566078d49c4dcd8d8c7a6364c33c09037 07-Jun-2014 Stephen Hines <srhines@google.com> Separate out option processing from llvm-rs-cc.cpp.

Change-Id: I8abcc6d91820d8e6963f6579a5c6bbb95d6e2c7c
ndroid.mk
lvm-rs-cc.cpp
s_cc_options.cpp
s_cc_options.h
7ae4a29cf1582aa627df31c82487137705d0650d 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 6a29087a: am 6285170d: am 2fef77de: Merge "Remove the ugly EB_ADD macro and related hacks."

* commit '6a29087ab7320caa0201819ba153e511e56cf132':
Remove the ugly EB_ADD macro and related hacks.
6a29087ab7320caa0201819ba153e511e56cf132 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 6285170d: am 2fef77de: Merge "Remove the ugly EB_ADD macro and related hacks."

* commit '6285170dd8fce9d11dcb1959088a856794b8e6da':
Remove the ugly EB_ADD macro and related hacks.
6285170dd8fce9d11dcb1959088a856794b8e6da 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 2fef77de: Merge "Remove the ugly EB_ADD macro and related hacks."

* commit '2fef77dec495c5d7e073aed8d9107f139120e443':
Remove the ugly EB_ADD macro and related hacks.
2fef77dec495c5d7e073aed8d9107f139120e443 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove the ugly EB_ADD macro and related hacks."
a8af47cf335be4ea724ce66850fe931005339378 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 189c59e2: am f41e4454: am f9d5d13e: Merge "Set the reflection parameters in the constructors."

* commit '189c59e2b5d62c796765a3e483dc13e1977c9f53':
Set the reflection parameters in the constructors.
189c59e2b5d62c796765a3e483dc13e1977c9f53 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am f41e4454: am f9d5d13e: Merge "Set the reflection parameters in the constructors."

* commit 'f41e44542177b5f1535c79784224ecc96c662948':
Set the reflection parameters in the constructors.
c643ceb752ed999def0fd028990eafa802cd13fb 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove the ugly EB_ADD macro and related hacks.

Change-Id: I3e146af920f7e9e9ca6bcb2165107d4660bc3e0a
lang_rs_reflection.cpp
lang_rs_reflection.h
1b2708c062df5cc67b71732f95bc407a28fabcbd 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am b6a1c6ef: am c65fb84f: am 0b5becf3: Merge "Break very long writeHeaderFile into manageable pieces"

* commit 'b6a1c6ef73223e3c07fbfc06598069c1efd561a2':
Break very long writeHeaderFile into manageable pieces
f41e44542177b5f1535c79784224ecc96c662948 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am f9d5d13e: Merge "Set the reflection parameters in the constructors."

* commit 'f9d5d13e26c451c192ea3b45137cfa685196a64c':
Set the reflection parameters in the constructors.
b6a1c6ef73223e3c07fbfc06598069c1efd561a2 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am c65fb84f: am 0b5becf3: Merge "Break very long writeHeaderFile into manageable pieces"

* commit 'c65fb84fa9fc7bff915e721a3eef411b7c110a15':
Break very long writeHeaderFile into manageable pieces
f9d5d13e26c451c192ea3b45137cfa685196a64c 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Set the reflection parameters in the constructors."
c65fb84fa9fc7bff915e721a3eef411b7c110a15 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 0b5becf3: Merge "Break very long writeHeaderFile into manageable pieces"

* commit '0b5becf35de9e9dec42ea92be3a8dc0cc7d22f34':
Break very long writeHeaderFile into manageable pieces
59f22c376b2c1cd109735280689224fadfe40b42 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Set the reflection parameters in the constructors.

Change-Id: I3c74ab5a10d7aa3adaf460c56d2ab295a766fcfb
lang_rs.cpp
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
0b5becf35de9e9dec42ea92be3a8dc0cc7d22f34 06-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Break very long writeHeaderFile into manageable pieces"
1cea27191515a15bbec86e259be622865e34d63e 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Break very long writeHeaderFile into manageable pieces

Change-Id: I13fbc92713dd6832990cb9e491da22ce41f7f7d2
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
3d55d3bc88e1e8010a525557800f78149828236a 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am e21a7df1: am a24f5066: am ffc5a94e: Merge "Don\'t go through RSContext for the Java reflection (take 2)"

* commit 'e21a7df1f996fc10d3750be75e61a728d085235b':
Don't go through RSContext for the Java reflection (take 2)
ca774ac96f5056d6e879ff3dda16dbe13e62fb68 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 0975b2e2: am 63a6fcc1: am 5c9d2d6d: Merge "Fix expected output for tests"

* commit '0975b2e23633afdc0cf67620b524df6db1813e76':
Fix expected output for tests
e21a7df1f996fc10d3750be75e61a728d085235b 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am a24f5066: am ffc5a94e: Merge "Don\'t go through RSContext for the Java reflection (take 2)"

* commit 'a24f5066328e2103be3ba29af4f90e7e3f3944b6':
Don't go through RSContext for the Java reflection (take 2)
0975b2e23633afdc0cf67620b524df6db1813e76 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 63a6fcc1: am 5c9d2d6d: Merge "Fix expected output for tests"

* commit '63a6fcc144bf648d7b0c52d2b58fb0a14d9ac2fd':
Fix expected output for tests
a24f5066328e2103be3ba29af4f90e7e3f3944b6 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am ffc5a94e: Merge "Don\'t go through RSContext for the Java reflection (take 2)"

* commit 'ffc5a94e02d6949b1f4b019e3dd0aeafb19572c8':
Don't go through RSContext for the Java reflection (take 2)
63a6fcc144bf648d7b0c52d2b58fb0a14d9ac2fd 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 5c9d2d6d: Merge "Fix expected output for tests"

* commit '5c9d2d6d9a6a7a00ce6d035e0c4fa807c43e8998':
Fix expected output for tests
ffc5a94e02d6949b1f4b019e3dd0aeafb19572c8 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Don't go through RSContext for the Java reflection (take 2)"
5c9d2d6d9a6a7a00ce6d035e0c4fa807c43e8998 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Fix expected output for tests"
12fc283f4108fd6f7f0164c121ff2f6fb5044225 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Don't go through RSContext for the Java reflection (take 2)

Change-Id: I08e5be9c4e39501238a9f9c382f0c66b2caf5a8d
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
c17b65c4ec6c9214bf8aeaf0625824aa8ac48c9c 05-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Fix expected output for tests

Change-Id: I9f48441f5a165c82eeb0d6eeefc1b2a053779598
ests/F_no_pragma/stdout.txt.expect
ests/F_one_definition_rule1/stdout.txt.expect
ests/F_one_definition_rule2/stdout.txt.expect
ests/F_one_definition_rule3/stdout.txt.expect
ests/F_one_definition_rule4/stdout.txt.expect
ests/F_one_definition_rule5/stdout.txt.expect
ests/F_one_definition_rule6/stdout.txt.expect
ests/F_one_definition_rule7/stdout.txt.expect
ests/F_one_definition_rule8/stdout.txt.expect
ests/P_alloc_in_struct/stdout.txt.expect
ests/P_array_init/stdout.txt.expect
ests/P_compute/stdout.txt.expect
ests/P_constant/stdout.txt.expect
ests/P_debug/stdout.txt.expect
ests/P_dummy_root/stdout.txt.expect
ests/P_export_types/stdout.txt.expect
ests/P_float3/stdout.txt.expect
ests/P_fs_kernel/stdout.txt.expect
ests/P_ignore_warnings/stdout.txt.expect
ests/P_kernel/stdout.txt.expect
ests/P_license/stdout.txt.expect
ests/P_local_ref_after_return/stdout.txt.expect
ests/P_long64/stdout.txt.expect
ests/P_math_fp/stdout.txt.expect
ests/P_math_int/stdout.txt.expect
ests/P_odr_array/stdout.txt.expect
ests/P_one_definition_rule/stdout.txt.expect
ests/P_ooo_compute/stdout.txt.expect
ests/P_overload/stdout.txt.expect
ests/P_redefine_RS_VERSION/stdout.txt.expect
ests/P_refcount/stdout.txt.expect
ests/P_root_11_i/stdout.txt.expect
ests/P_root_11_iouxy/stdout.txt.expect
ests/P_root_compute/stdout.txt.expect
ests/P_root_compute_int32_xy/stdout.txt.expect
ests/P_root_compute_non_void_ptr_usrData/stdout.txt.expect
ests/P_root_graphics/stdout.txt.expect
ests/P_root_graphics_13/stdout.txt.expect
ests/P_rs_fp_imprecise/stdout.txt.expect
ests/P_rs_fp_relaxed/stdout.txt.expect
ests/P_rs_package_name/stdout.txt.expect
ests/P_set_target_api_11/stdout.txt.expect
ests/P_set_target_api_12/stdout.txt.expect
ests/P_set_target_api_13/stdout.txt.expect
ests/P_set_target_api_14/stdout.txt.expect
ests/P_set_target_api_15/stdout.txt.expect
ests/P_set_target_api_16/stdout.txt.expect
ests/P_set_target_api_17/stdout.txt.expect
ests/P_set_target_api_18/stdout.txt.expect
ests/P_set_target_api_19/stdout.txt.expect
ests/P_static_struct/stdout.txt.expect
ests/P_str_escape/stdout.txt.expect
ests/P_unknown_function/stdout.txt.expect
ests/P_use_RS_VERSION/stdout.txt.expect
ests/P_warnings/stdout.txt.expect
ests/P_warnings_rsSetElementAt/stdout.txt.expect
6e364cefd89cb592bc9e81b79320029d0adbbfec 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 6074c3cf: am 8d41b942: am ef589112: Merge "Revert "Don\'t go through RSContext for the Java reflection.""

* commit '6074c3cf49ad76f948440116b7d24d72f3f6b25a':
Revert "Don't go through RSContext for the Java reflection."
66b85519aec2d1fd6bf851f6f6eff36eae49eb99 04-Jun-2014 Tim Murray <timmurray@google.com> am 236c60d0: am 157be4ee: am 5024a059: Merge "Fix build break."

* commit '236c60d00354cd2cc929d1df3e71b066b43710c5':
Fix build break.
6074c3cf49ad76f948440116b7d24d72f3f6b25a 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 8d41b942: am ef589112: Merge "Revert "Don\'t go through RSContext for the Java reflection.""

* commit '8d41b942ba70243d35bc56f53e0aa52117fd5fae':
Revert "Don't go through RSContext for the Java reflection."
236c60d00354cd2cc929d1df3e71b066b43710c5 04-Jun-2014 Tim Murray <timmurray@google.com> am 157be4ee: am 5024a059: Merge "Fix build break."

* commit '157be4ee5faf1adbd7d89681aea84bbfff51283c':
Fix build break.
8d41b942ba70243d35bc56f53e0aa52117fd5fae 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am ef589112: Merge "Revert "Don\'t go through RSContext for the Java reflection.""

* commit 'ef58911256ff10d1833b615a9ec82b4045d1f8f9':
Revert "Don't go through RSContext for the Java reflection."
157be4ee5faf1adbd7d89681aea84bbfff51283c 04-Jun-2014 Tim Murray <timmurray@google.com> am 5024a059: Merge "Fix build break."

* commit '5024a059a91c8ebd07efa95271e4685fab3a1805':
Fix build break.
ef58911256ff10d1833b615a9ec82b4045d1f8f9 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Revert "Don't go through RSContext for the Java reflection.""
5024a059a91c8ebd07efa95271e4685fab3a1805 04-Jun-2014 Tim Murray <timmurray@google.com> Merge "Fix build break."
0e3f8c70bb16eaae98d68828ffffca36788570ca 04-Jun-2014 Tim Murray <timmurray@google.com> Fix build break.

Change-Id: I1848b3bab625db591c98c487712de0dbb1bfe2cb
ndroid.mk
7fda9848f91fc5cca55f63423b35672128b6daab 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Revert "Don't go through RSContext for the Java reflection."

This reverts commit cc1b9699446aea20773e4c3c6ff5759fedd8ab51.

Change-Id: I330f8beb02ba4868ce115848543c506d5dea46bf
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
b3f1f60f1839abc3c29f248baba492252d5d3bb9 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am d4f4a5ba: am 7b20bd7e: am d0bc2d52: Merge "Don\'t go through RSContext for the Java reflection."

* commit 'd4f4a5ba85fdea51f78fad352f381cce405e4161':
Don't go through RSContext for the Java reflection.
44c834fcd372269d73b5dbcf10271fb0be940342 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am ac4c40c0: am 7444f567: am eb0eb08c: Merge "Rename a few variables and methods"

* commit 'ac4c40c0fbb43493019a162b2c5fdc9da1c0ff95':
Rename a few variables and methods
484f16b7fb2429a785574eaca69c9dc094534825 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 9ae64bf3: am 2daa8374: am 306c1858: Merge "Use GeneratedFile in Java reflection"

* commit '9ae64bf38be86e6847ee87248ef564ab5a1a5165':
Use GeneratedFile in Java reflection
d4f4a5ba85fdea51f78fad352f381cce405e4161 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 7b20bd7e: am d0bc2d52: Merge "Don\'t go through RSContext for the Java reflection."

* commit '7b20bd7ea3ecaae56820d1fc3ecbed386dc3dc85':
Don't go through RSContext for the Java reflection.
ac4c40c0fbb43493019a162b2c5fdc9da1c0ff95 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 7444f567: am eb0eb08c: Merge "Rename a few variables and methods"

* commit '7444f5676ccb01c1f3f9c00b59fd323a047ba9e7':
Rename a few variables and methods
9ae64bf38be86e6847ee87248ef564ab5a1a5165 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 2daa8374: am 306c1858: Merge "Use GeneratedFile in Java reflection"

* commit '2daa8374673795ba09520b43a918ce32ddaf4dd4':
Use GeneratedFile in Java reflection
7b20bd7ea3ecaae56820d1fc3ecbed386dc3dc85 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am d0bc2d52: Merge "Don\'t go through RSContext for the Java reflection."

* commit 'd0bc2d52357c9aa414227834c71870fd50640836':
Don't go through RSContext for the Java reflection.
7444f5676ccb01c1f3f9c00b59fd323a047ba9e7 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am eb0eb08c: Merge "Rename a few variables and methods"

* commit 'eb0eb08cfe0e27eef72a0a988e24c6946b30ef3e':
Rename a few variables and methods
2daa8374673795ba09520b43a918ce32ddaf4dd4 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 306c1858: Merge "Use GeneratedFile in Java reflection"

* commit '306c185835f7c4b86ec392403f81fb6e1746325d':
Use GeneratedFile in Java reflection
d0bc2d52357c9aa414227834c71870fd50640836 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Don't go through RSContext for the Java reflection."
eb0eb08cfe0e27eef72a0a988e24c6946b30ef3e 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Rename a few variables and methods"
306c185835f7c4b86ec392403f81fb6e1746325d 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Use GeneratedFile in Java reflection"
eb8b99eb6a25284017169ed91e1a3520b375ef03 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Rename a few variables and methods

Change-Id: Idec582cbfb9c14dea7d8f41203a30186eed2c621
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
cc1b9699446aea20773e4c3c6ff5759fedd8ab51 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Don't go through RSContext for the Java reflection.

The C++ code does not do that. RSContext should just contain the
context.

Change-Id: Idd9d4c00bdd27b51ba7fc0aee8c5e7cfdab6d0a0
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
f33e1561dc390cf2be7a81e9f818b269d458ec7e 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Use GeneratedFile in Java reflection

Change-Id: Ib52a82b7649c9247e0b4de56267eba7f6cf2e25e
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_reflection_cpp.cpp
e85fd15e46d6aabacdbfd32e57051f104d00c00f 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am b79e1d36: am 3b385c4e: am 95e4462c: Merge "Remove ReflectionBase."

* commit 'b79e1d3611e2319a7bf8271058e5a479799b5ede':
Remove ReflectionBase.
b79e1d3611e2319a7bf8271058e5a479799b5ede 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 3b385c4e: am 95e4462c: Merge "Remove ReflectionBase."

* commit '3b385c4e09e711c03f0086bcef3946bd0c2595b5':
Remove ReflectionBase.
3b385c4e09e711c03f0086bcef3946bd0c2595b5 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 95e4462c: Merge "Remove ReflectionBase."

* commit '95e4462cb5ffbff4aefa13f760ff2b1c57b8d008':
Remove ReflectionBase.
95e4462cb5ffbff4aefa13f760ff2b1c57b8d008 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove ReflectionBase."
efcff1017f5f1e120a8ffb67125e412343479f94 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove ReflectionBase.

Some of the methods of this base class only applies to the C++ reflection.
Other methods better belong in reflection_utils.

Change-Id: Ib539eb3b31cdc2230a5a7dd925642b5a697a899a
ndroid.mk
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_reflection_base.cpp
lang_rs_reflection_base.h
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
3b23b85b9d8e904a3e3226042d2a5eccb7fe78c1 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am f046e794: am 5919a61a: am ff76edf4: Merge "Merge RSReflectionJava::Context into RSReflectionJava."

* commit 'f046e7946473c61b31e53a25d924d1490df62e57':
Merge RSReflectionJava::Context into RSReflectionJava.
f046e7946473c61b31e53a25d924d1490df62e57 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 5919a61a: am ff76edf4: Merge "Merge RSReflectionJava::Context into RSReflectionJava."

* commit '5919a61a81fd0bfbc9cf3ecf42e9a37e9b4243d4':
Merge RSReflectionJava::Context into RSReflectionJava.
5919a61a81fd0bfbc9cf3ecf42e9a37e9b4243d4 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am ff76edf4: Merge "Merge RSReflectionJava::Context into RSReflectionJava."

* commit 'ff76edf45d41b6129be1559da457ff321a7bcf12':
Merge RSReflectionJava::Context into RSReflectionJava.
ff76edf45d41b6129be1559da457ff321a7bcf12 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Merge RSReflectionJava::Context into RSReflectionJava."
cf6af0b5049ba7404ad3b25162b3e2a57d2ae33a 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 3941b16e: am 0fd2aea2: am aab47502: Merge "Change cpp reflection to use GeneratedFile."

* commit '3941b16ea9ceed1b62b924cf120f5fdf4c00b132':
Change cpp reflection to use GeneratedFile.
3941b16ea9ceed1b62b924cf120f5fdf4c00b132 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 0fd2aea2: am aab47502: Merge "Change cpp reflection to use GeneratedFile."

* commit '0fd2aea21e719a913eb3bede3a1898c6a14960b8':
Change cpp reflection to use GeneratedFile.
0fd2aea21e719a913eb3bede3a1898c6a14960b8 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am aab47502: Merge "Change cpp reflection to use GeneratedFile."

* commit 'aab4750249f5c2e1fa6e72d7bfb800ebac00d5f7':
Change cpp reflection to use GeneratedFile.
aab4750249f5c2e1fa6e72d7bfb800ebac00d5f7 04-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Change cpp reflection to use GeneratedFile."
b58ec00e3babec5a64b2fd5c1b7dffa45ae6ea63 03-Jun-2014 Stephen Hines <srhines@google.com> am d33f374b: am 88f4ba49: am 3bf771df: Merge "Remove unused rslib/rsScriptC_Lib files."

* commit 'd33f374bd3635d068b8e4deef481e4caafaa32d4':
Remove unused rslib/rsScriptC_Lib files.
5b36a8559c77242a204cd8c885630980348ba7e7 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 012d2c93: am a65587c6: am ea3ff6eb: Merge "Add .clang-format to ease code formatting"

* commit '012d2c930d56e2183da45623749c2e10736a1290':
Add .clang-format to ease code formatting
d33f374bd3635d068b8e4deef481e4caafaa32d4 03-Jun-2014 Stephen Hines <srhines@google.com> am 88f4ba49: am 3bf771df: Merge "Remove unused rslib/rsScriptC_Lib files."

* commit '88f4ba4961cb24e7c4eedcd8a72c5062db497106':
Remove unused rslib/rsScriptC_Lib files.
012d2c930d56e2183da45623749c2e10736a1290 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am a65587c6: am ea3ff6eb: Merge "Add .clang-format to ease code formatting"

* commit 'a65587c69e6f9777bbcc49f8d59a276e97154eba':
Add .clang-format to ease code formatting
88f4ba4961cb24e7c4eedcd8a72c5062db497106 03-Jun-2014 Stephen Hines <srhines@google.com> am 3bf771df: Merge "Remove unused rslib/rsScriptC_Lib files."

* commit '3bf771df395926f57e3dcab2234600ac7e9fc92e':
Remove unused rslib/rsScriptC_Lib files.
a65587c69e6f9777bbcc49f8d59a276e97154eba 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am ea3ff6eb: Merge "Add .clang-format to ease code formatting"

* commit 'ea3ff6eb151c86067825593ab60968cf5b4c9a34':
Add .clang-format to ease code formatting
3bf771df395926f57e3dcab2234600ac7e9fc92e 03-Jun-2014 Stephen Hines <srhines@google.com> Merge "Remove unused rslib/rsScriptC_Lib files."
ea3ff6eb151c86067825593ab60968cf5b4c9a34 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Add .clang-format to ease code formatting"
4983ee14e0787ea4a5d680e4def52acab07459bc 03-Jun-2014 Stephen Hines <srhines@google.com> Remove unused rslib/rsScriptC_Lib files.

Change-Id: Ie7d07560bdd553c8f5329c36e23370b363d05d8b
sScriptC_Lib.bc
sScriptC_Lib.rs
slib.bc
slib.ll
39941325ff718c568d1f8ba4c412a54ab98bc2b2 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Add .clang-format to ease code formatting

Change-Id: I63862b3ea987d906734134c5e24b1eb827657c5a
clang-format
2e205d071c86981a8dd301a8612d17b251b3b973 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge RSReflectionJava::Context into RSReflectionJava.

Also removed the unused ability to emit the code to stdout.

Change-Id: If18c7bcfe94bbca5866c371511c7d811f861cd5a
lang_rs_reflection.cpp
lang_rs_reflection.h
1f9d1217da29911dcd216b1b196da0ed170c166a 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Change cpp reflection to use GeneratedFile.

Change-Id: I3d775ec24a7e5c8f7e15bf0f777952f23f8bf3fe
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
1368c6c1475692c23e3e7bebdc1b2aaaa8d9d5a2 03-Jun-2014 Stephen Hines <srhines@google.com> am 300f7254: am 79423ac9: am 501b7e87: Merge "Fix typo in function name."

* commit '300f7254d1ee803f4d387ef9c0d735113ed7540a':
Fix typo in function name.
300f7254d1ee803f4d387ef9c0d735113ed7540a 03-Jun-2014 Stephen Hines <srhines@google.com> am 79423ac9: am 501b7e87: Merge "Fix typo in function name."

* commit '79423ac94ef0a025c14b4f90e8a024130d6e9cb5':
Fix typo in function name.
79423ac94ef0a025c14b4f90e8a024130d6e9cb5 03-Jun-2014 Stephen Hines <srhines@google.com> am 501b7e87: Merge "Fix typo in function name."

* commit '501b7e87939d981420867605e48f4579a4af73a6':
Fix typo in function name.
6edf5e51f854fdd074e7a5a0a0887d0522e29cc4 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 8a1b1c37: am 868dec05: am a19daed8: Merge "Add a GeneratedFile class for Java and C++ file generation."

* commit '8a1b1c3723566d5430a340fc279730cdfca775fb':
Add a GeneratedFile class for Java and C++ file generation.
8a1b1c3723566d5430a340fc279730cdfca775fb 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 868dec05: am a19daed8: Merge "Add a GeneratedFile class for Java and C++ file generation."

* commit '868dec052d5c44ba38957147511243e8d3d444b0':
Add a GeneratedFile class for Java and C++ file generation.
501b7e87939d981420867605e48f4579a4af73a6 03-Jun-2014 Stephen Hines <srhines@google.com> Merge "Fix typo in function name."
868dec052d5c44ba38957147511243e8d3d444b0 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am a19daed8: Merge "Add a GeneratedFile class for Java and C++ file generation."

* commit 'a19daed86b3fe774fb2cfc27b73604b59a63080f':
Add a GeneratedFile class for Java and C++ file generation.
a19daed86b3fe774fb2cfc27b73604b59a63080f 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Add a GeneratedFile class for Java and C++ file generation."
129fd8228cd04592a20c3d5009805a23585f2479 29-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Add a GeneratedFile class for Java and C++ file generation.

This CL changes the generation of the BitCode file. Next CLs will change the generation of the Java and C++ files.

Change-Id: I59f9f4f46ecd35022ecf3293c1ad76a02e8db574
lang_rs.cpp
lang_rs.h
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
22d3d44ecb3b3e9219860c3ffadd5f47f582928b 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 9711b9a8: am c8bfaa58: am 3293fe79: Merge "Reformat the reflection code using clang-format"

* commit '9711b9a810f9711cd6f203926851fe6f6d253417':
Reformat the reflection code using clang-format
9711b9a810f9711cd6f203926851fe6f6d253417 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am c8bfaa58: am 3293fe79: Merge "Reformat the reflection code using clang-format"

* commit 'c8bfaa584b75a97e30c6a15bd520649b47787197':
Reformat the reflection code using clang-format
1ce012a517e37bdc63493c7fb2aaee19b6361f92 03-Jun-2014 Stephen Hines <srhines@google.com> Fix typo in function name.

Change-Id: Ib68b1fc6e80875ed819ce5e1fa3e5943a224afd7
lang_rs_reflection.cpp
lang_rs_reflection.h
c8bfaa584b75a97e30c6a15bd520649b47787197 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> am 3293fe79: Merge "Reformat the reflection code using clang-format"

* commit '3293fe79c78732136798982dee2be95030c66e90':
Reformat the reflection code using clang-format
3293fe79c78732136798982dee2be95030c66e90 03-Jun-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Reformat the reflection code using clang-format"
8427abee7e3ee2d689b2fb6ba94e6557de4acd47 31-May-2014 Stephen Hines <srhines@google.com> am 118cd6a3: am 0c5f45f4: am 7db5c071: Merge "Update slang for LLVM 3.5 rebase (r209713)."

* commit '118cd6a3d981bd7242b81ab4330f4a5b37c644ff':
Update slang for LLVM 3.5 rebase (r209713).
118cd6a3d981bd7242b81ab4330f4a5b37c644ff 31-May-2014 Stephen Hines <srhines@google.com> am 0c5f45f4: am 7db5c071: Merge "Update slang for LLVM 3.5 rebase (r209713)."

* commit '0c5f45f4982b2cbe99eb5752faee70258caa6e6e':
Update slang for LLVM 3.5 rebase (r209713).
0c5f45f4982b2cbe99eb5752faee70258caa6e6e 31-May-2014 Stephen Hines <srhines@google.com> am 7db5c071: Merge "Update slang for LLVM 3.5 rebase (r209713)."

* commit '7db5c071caca1ae9dc38b5f9a483ee0c45d800bb':
Update slang for LLVM 3.5 rebase (r209713).
7db5c071caca1ae9dc38b5f9a483ee0c45d800bb 31-May-2014 Stephen Hines <srhines@google.com> Merge "Update slang for LLVM 3.5 rebase (r209713)."
75d471819f1810e0e65224d6e57fe1106af0d340 28-May-2014 Stephen Hines <srhines@google.com> Update slang for LLVM 3.5 rebase (r209713).

Change-Id: If0f510085358d2e48c865257851d9ff7f5846eb8
lvm-rs-as.cpp
lvm-rs-cc.cpp
lang.cpp
lang_rs.h
ests/F_vector_cast/stderr.txt.expect
2ce118e843fcbd53488b503933136bb4fdbdfbc1 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Reformat the reflection code using clang-format

Change-Id: I3bec395fdcff8c848025e7e63fc4ac8517154454
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
0be867c502ee169572275efe7a8cd43112147196 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 44eefdc7: am cff2def6: am 3af63705: Merge "Rename RSReflection to RSReflectionJava."

* commit '44eefdc725cfbacac6bbef72f53ff374f6654e6d':
Rename RSReflection to RSReflectionJava.
44eefdc725cfbacac6bbef72f53ff374f6654e6d 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am cff2def6: am 3af63705: Merge "Rename RSReflection to RSReflectionJava."

* commit 'cff2def68281ed41a96506b3721cfe1d8c8a4989':
Rename RSReflection to RSReflectionJava.
cff2def68281ed41a96506b3721cfe1d8c8a4989 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 3af63705: Merge "Rename RSReflection to RSReflectionJava."

* commit '3af637053c038848c09e191827b8646af88f0422':
Rename RSReflection to RSReflectionJava.
3af637053c038848c09e191827b8646af88f0422 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Rename RSReflection to RSReflectionJava."
602def74e8afa68b72a1f9391c31d6ff152add53 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Rename RSReflection to RSReflectionJava.

Change made to make it more obvious the type of code created for this file. Reformatted the headers with clang-format, hence the slight changes in indentation style.

Change-Id: Ib2c748d84bd4eb8a188f95c0c60014ad4c60711f
lang_rs_context.cpp
lang_rs_reflection.cpp
lang_rs_reflection.h
12826ca09833a29832ed9214d29fb316c16558dc 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 047c4b8d: am 03dd1c68: am e4226476: Merge "Replace std::endl by \n."

* commit '047c4b8de46206139724e7b62f64719a59747fe8':
Replace std::endl by \n.
047c4b8de46206139724e7b62f64719a59747fe8 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 03dd1c68: am e4226476: Merge "Replace std::endl by \n."

* commit '03dd1c6876d519541a6bc4a92f9251d6fbdfa206':
Replace std::endl by \n.
03dd1c6876d519541a6bc4a92f9251d6fbdfa206 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am e4226476: Merge "Replace std::endl by \n."

* commit 'e4226476cf24a2472f0eec0fdcabd5d3fff85060':
Replace std::endl by \n.
359a56809bedbc1580aa8fe15d225f5490663fd5 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am eaf0da69: am 51c530bc: am a7c8e602: Merge "Remove useless "return;" statements."

* commit 'eaf0da69fbca2beeb029be13c18754472496d552':
Remove useless "return;" statements.
e4226476cf24a2472f0eec0fdcabd5d3fff85060 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Replace std::endl by \n."
eaf0da69fbca2beeb029be13c18754472496d552 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 51c530bc: am a7c8e602: Merge "Remove useless "return;" statements."

* commit '51c530bc08133e6aff7ce037c6581c3e34dde1bf':
Remove useless "return;" statements.
2968921e1cedf85360964c5a39e1ce36c66ecd09 27-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Replace std::endl by \n.

\n is more readable AND endl causes a buffer flush.

Change-Id: I3f7472a16e3bebc06476d8e37129e4088546b4aa
lang_rs.cpp
lang_rs_reflection.cpp
lang_rs_reflection_cpp.cpp
51c530bc08133e6aff7ce037c6581c3e34dde1bf 28-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am a7c8e602: Merge "Remove useless "return;" statements."

* commit 'a7c8e602320b1ae329966337454efd40f1e0d6cc':
Remove useless "return;" statements.
a7c8e602320b1ae329966337454efd40f1e0d6cc 27-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove useless "return;" statements."
784e880f076a5e6ef5e7a90ecda92ff03f764a4b 27-May-2014 Stephen Hines <srhines@google.com> am 9ef18399: am e59fb0a9: am 95e77e6d: Merge "Generate calls to getBitCode32() for new constructor type."

* commit '9ef1839913f859f374a53b5d33ec1d7c7534cfde':
Generate calls to getBitCode32() for new constructor type.
9ef1839913f859f374a53b5d33ec1d7c7534cfde 27-May-2014 Stephen Hines <srhines@google.com> am e59fb0a9: am 95e77e6d: Merge "Generate calls to getBitCode32() for new constructor type."

* commit 'e59fb0a96700de05a4213deec9b84300861f09c9':
Generate calls to getBitCode32() for new constructor type.
e59fb0a96700de05a4213deec9b84300861f09c9 27-May-2014 Stephen Hines <srhines@google.com> am 95e77e6d: Merge "Generate calls to getBitCode32() for new constructor type."

* commit '95e77e6dca20e1bacc5a0534d3473cf4f02ecdac':
Generate calls to getBitCode32() for new constructor type.
95e77e6dca20e1bacc5a0534d3473cf4f02ecdac 27-May-2014 Stephen Hines <srhines@google.com> Merge "Generate calls to getBitCode32() for new constructor type."
796e7b1400d3f3f7c07496d88bb48129ea925bb9 27-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove useless "return;" statements.

More cleanups to follow...

Change-Id: Ib8348255273771c1e9ff07e79bd7fbc8f2795a5b
lvm-rs-cc.cpp
lang_backend.cpp
lang_backend.h
lang_pragma_recorder.cpp
lang_rs.cpp
lang_rs_ast_replace.cpp
lang_rs_ast_replace.h
lang_rs_backend.cpp
lang_rs_check_ast.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_element.cpp
lang_rs_export_element.h
lang_rs_export_foreach.h
lang_rs_export_func.h
lang_rs_export_type.h
lang_rs_export_var.cpp
lang_rs_exportable.h
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_reflection_cpp.cpp
8ebd5531eb4cbd7863c497d4af379040b6f4cebd 24-May-2014 Stephen Hines <srhines@google.com> am fb2a64ee: am 45ea2119: am cbda9f41: Merge "Clean up embedded bitcode path for Java."

* commit 'fb2a64eedb01a6062ce58d8e1926dd68d20ccf4f':
Clean up embedded bitcode path for Java.
fb2a64eedb01a6062ce58d8e1926dd68d20ccf4f 24-May-2014 Stephen Hines <srhines@google.com> am 45ea2119: am cbda9f41: Merge "Clean up embedded bitcode path for Java."

* commit '45ea2119386b42fb96dad016b9af03e940e1b223':
Clean up embedded bitcode path for Java.
45ea2119386b42fb96dad016b9af03e940e1b223 24-May-2014 Stephen Hines <srhines@google.com> am cbda9f41: Merge "Clean up embedded bitcode path for Java."

* commit 'cbda9f410c337e2907a2db8ec68aba531c5d7907':
Clean up embedded bitcode path for Java.
cbda9f410c337e2907a2db8ec68aba531c5d7907 24-May-2014 Stephen Hines <srhines@google.com> Merge "Clean up embedded bitcode path for Java."
4c8b659edc8dca50ffb9c172258412fc1e02b80d 23-May-2014 Stephen Hines <srhines@google.com> Generate calls to getBitCode32() for new constructor type.

Change-Id: Iec41e3f325ec045362608ee52b0f78c55eb87bed
lang_rs_reflect_utils.cpp
lang_rs_reflection.cpp
lang_rs_reflection.h
44d495d2ad8c350a8f586502c9ee8e97a513646a 23-May-2014 Stephen Hines <srhines@google.com> Clean up embedded bitcode path for Java.

Change-Id: I79cc65778173c7eeab028dedfc4adcb59bef44c2
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_rs_reflection.h
39541219b024f2530a3fcb1491d822c96173f5b4 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 2f00bd48: am b6bbc254: am c7c6908e: Merge "Replace macros with equivalent inline functions."

* commit '2f00bd48e1c56b890d06699dfe88ef8a572ef390':
Replace macros with equivalent inline functions.
2f00bd48e1c56b890d06699dfe88ef8a572ef390 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am b6bbc254: am c7c6908e: Merge "Replace macros with equivalent inline functions."

* commit 'b6bbc254ea7c3667cdd8ea4fc993574d0e022a0e':
Replace macros with equivalent inline functions.
b6bbc254ea7c3667cdd8ea4fc993574d0e022a0e 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am c7c6908e: Merge "Replace macros with equivalent inline functions."

* commit 'c7c6908ef71bd7e82c706fd9005922f214eac931':
Replace macros with equivalent inline functions.
c7c6908ef71bd7e82c706fd9005922f214eac931 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Replace macros with equivalent inline functions."
b095e05fef8f0230ab42eaed7a06c3b2d698189a 17-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Replace macros with equivalent inline functions.

Change-Id: Ibb9db8ffe20513ca1ec56403c632e10e82a4fe86
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
c8263e4a31ab8f9196310a71dbbad0cb05e0ca3d 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 64f62217: am 03ca9806: am 69d8c283: Merge "Enable asserts in userdebug for slang"

* commit '64f62217e0007ee3387ccaa488411288497029c5':
Enable asserts in userdebug for slang
64f62217e0007ee3387ccaa488411288497029c5 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 03ca9806: am 69d8c283: Merge "Enable asserts in userdebug for slang"

* commit '03ca9806163fd1365ce899b4460eadb97bec7a4f':
Enable asserts in userdebug for slang
03ca9806163fd1365ce899b4460eadb97bec7a4f 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 69d8c283: Merge "Enable asserts in userdebug for slang"

* commit '69d8c283fffa6911ff522c503e2d898468456301':
Enable asserts in userdebug for slang
69d8c283fffa6911ff522c503e2d898468456301 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Enable asserts in userdebug for slang"
f8b1146bc63f21d8cfbc6c2d06a83af564648474 23-May-2014 Stephen Hines <srhines@google.com> am 1c8c3a7d: am 056a567b: am 851611eb: Merge "Remove unused/stale slang-data files."

* commit '1c8c3a7d89be215dc500c108d2132cd29ae77e12':
Remove unused/stale slang-data files.
94411ca05b83a221fe144779f87df3b8860ce992 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am e150c737: am bbe06af7: am 3ef69af5: Merge "Remove obsolete comments"

* commit 'e150c737c2d0c013fe630abd304691ef4bf96ff8':
Remove obsolete comments
6f81d73fe091fccc2277bf9a3548ef4f5f9f33d0 23-May-2014 Ying Wang <wangying@google.com> am 9145feba: am 57e3f27e: am 4295274f: Merge "Fix host multilib build."

* commit '9145febab252d605747734975200d88154211e16':
Fix host multilib build.
2b80d8d85f77a88e8d5ed427f2ec3714037d3d20 23-May-2014 Stephen Hines <srhines@google.com> am 72af6063: am 9406b721: am 5c4de665: Merge "Replaced __attribute__((kernel)) with RS_KERNEL."

* commit '72af606301ebc9a7bdfc4c9fe22595a3285241b5':
Replaced __attribute__((kernel)) with RS_KERNEL.
1c8c3a7d89be215dc500c108d2132cd29ae77e12 23-May-2014 Stephen Hines <srhines@google.com> am 056a567b: am 851611eb: Merge "Remove unused/stale slang-data files."

* commit '056a567bd3ed581f0dd2625be32b748494ace82a':
Remove unused/stale slang-data files.
056a567bd3ed581f0dd2625be32b748494ace82a 23-May-2014 Stephen Hines <srhines@google.com> am 851611eb: Merge "Remove unused/stale slang-data files."

* commit '851611ebb108662e86bf2172b0e5d8b11077d1c6':
Remove unused/stale slang-data files.
851611ebb108662e86bf2172b0e5d8b11077d1c6 23-May-2014 Stephen Hines <srhines@google.com> Merge "Remove unused/stale slang-data files."
b2fbefed138a600514d7735c0014f16825ec8c36 21-May-2014 Stephen Hines <srhines@google.com> Remove unused/stale slang-data files.

These files were used years ago for host/device library management.
They are out-of-date and completely unused today.

Change-Id: If02572a1659e8cbe17c806c5e6f48713bf7afb5f
ndroid.mk
langData.mk
lang-data.c
langdata.py
e150c737c2d0c013fe630abd304691ef4bf96ff8 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am bbe06af7: am 3ef69af5: Merge "Remove obsolete comments"

* commit 'bbe06af77beb4c4b20454f39c6a116d518c6df41':
Remove obsolete comments
9145febab252d605747734975200d88154211e16 23-May-2014 Ying Wang <wangying@google.com> am 57e3f27e: am 4295274f: Merge "Fix host multilib build."

* commit '57e3f27ea098f0b996cbff5b658612fed90421af':
Fix host multilib build.
bbe06af77beb4c4b20454f39c6a116d518c6df41 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 3ef69af5: Merge "Remove obsolete comments"

* commit '3ef69af5375e1995ba4babc971d4917a4c3175e2':
Remove obsolete comments
57e3f27ea098f0b996cbff5b658612fed90421af 23-May-2014 Ying Wang <wangying@google.com> am 4295274f: Merge "Fix host multilib build."

* commit '4295274f12104535b9197f0acff8062edb38476e':
Fix host multilib build.
3ef69af5375e1995ba4babc971d4917a4c3175e2 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove obsolete comments"
4295274f12104535b9197f0acff8062edb38476e 23-May-2014 Ying Wang <wangying@google.com> Merge "Fix host multilib build."
432439488464171534f16c1fe013927373e3c579 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Enable asserts in userdebug for slang

Change-Id: I8852eaddb33fdae67f328160263a7a2a1911a247
ndroid.mk
01321838204e213b314f7d6fa5bfc1f94dbf347e 23-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove obsolete comments

Change-Id: I30ca59ef860fbc976b8fe6bc21cbd50146b19a6a
lang_rs_export_type.cpp
lang_rs_export_type.h
72af606301ebc9a7bdfc4c9fe22595a3285241b5 23-May-2014 Stephen Hines <srhines@google.com> am 9406b721: am 5c4de665: Merge "Replaced __attribute__((kernel)) with RS_KERNEL."

* commit '9406b721492f854d2163f94380af7a693bc5260d':
Replaced __attribute__((kernel)) with RS_KERNEL.
9406b721492f854d2163f94380af7a693bc5260d 23-May-2014 Stephen Hines <srhines@google.com> am 5c4de665: Merge "Replaced __attribute__((kernel)) with RS_KERNEL."

* commit '5c4de665e684bb973ff757c5b83db0f8348cb6c2':
Replaced __attribute__((kernel)) with RS_KERNEL.
5c4de665e684bb973ff757c5b83db0f8348cb6c2 23-May-2014 Stephen Hines <srhines@google.com> Merge "Replaced __attribute__((kernel)) with RS_KERNEL."
8c8d166f4d1b7250e193a57c69d1923f558446b5 22-May-2014 Chris Wailes <chriswailes@google.com> Replaced __attribute__((kernel)) with RS_KERNEL.

Change-Id: Ib5b05221e78aa74613940c05931cae9a81d385f3
ests/F_fs_ptr/fs_ptr.fs
ests/F_kernel_16/kernel_16.rs
ests/F_kernel_16/stderr.txt.expect
ests/F_kernel_badsig/kernel_badsig.rs
ests/F_kernel_badsig/stderr.txt.expect
ests/F_kernel_ptr_param/kernel_ptr_param.rs
ests/F_kernel_ptr_param/stderr.txt.expect
ests/F_kernel_ptr_ret_val/kernel_ptr_ret_val.rs
ests/F_kernel_static/kernel_static.rs
ests/F_kernel_static/stderr.txt.expect
ests/F_root_compute_really_bad/root_compute_really_bad.rs
ests/P_fs_kernel/fs_kernel.fs
ests/P_kernel/kernel.rs
ests/P_kernel_cpp/kernel_cpp.rs
ests/P_root_compute_int32_xy/root_compute_int32_xy.rs
d1e54f507e6d27924f8aa4024648309819df7435 21-May-2014 Ying Wang <wangying@google.com> Fix host multilib build.

Bug: 13751317
Change-Id: I138b85cfb8bf1f2baf2c7b41a0c2d44e73d3a1d9
ndroid.mk
langData.mk
f0ae9483deed63f7f012ed8d90d87e3106cd0ec5 17-May-2014 Stephen Hines <srhines@google.com> am 9987e0a6: am 6f91c23a: am 0f3e398e: Merge "Use clang for llvm-related project"

* commit '9987e0a60a82d94d43fb65b870dda6bf291594da':
Use clang for llvm-related project
9987e0a60a82d94d43fb65b870dda6bf291594da 17-May-2014 Stephen Hines <srhines@google.com> am 6f91c23a: am 0f3e398e: Merge "Use clang for llvm-related project"

* commit '6f91c23a8e2db7e78ca1dce69e3efbd020b9caed':
Use clang for llvm-related project
6f91c23a8e2db7e78ca1dce69e3efbd020b9caed 17-May-2014 Stephen Hines <srhines@google.com> am 0f3e398e: Merge "Use clang for llvm-related project"

* commit '0f3e398e8d278a7696f968feec83e2d26196cbd8':
Use clang for llvm-related project
0f3e398e8d278a7696f968feec83e2d26196cbd8 17-May-2014 Stephen Hines <srhines@google.com> Merge "Use clang for llvm-related project"
60c94b47209287c960fc895f6fa4d2245782ed7b 17-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 3b561002: am 50796108: am 60c33a5e: Merge "Add details to the TODO, simplify dummy names"

* commit '3b561002784cabf45deb077a0219b26ea4eab763':
Add details to the TODO, simplify dummy names
3b561002784cabf45deb077a0219b26ea4eab763 17-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 50796108: am 60c33a5e: Merge "Add details to the TODO, simplify dummy names"

* commit '50796108b6dc41a462a540271fc0b119eafae812':
Add details to the TODO, simplify dummy names
50796108b6dc41a462a540271fc0b119eafae812 17-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 60c33a5e: Merge "Add details to the TODO, simplify dummy names"

* commit '60c33a5eb3a55c4df72ef116d68720b256972b50':
Add details to the TODO, simplify dummy names
60c33a5eb3a55c4df72ef116d68720b256972b50 17-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Add details to the TODO, simplify dummy names"
eca0534a31b6185d6ab758f5e97acd7a4cb21e8e 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Add details to the TODO, simplify dummy names

Change-Id: I37451d8217c3d61ea76db377785045edb2d5c4b0
lang_rs_backend.cpp
lang_rs_export_foreach.cpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
b973fcf83312754e639b44b5b59bfdb79163a9bb 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 1622f3e3: am d5e6eeae: am 8567e7f0: Merge "Make virtual getTypeStoreSize and getTypeAllocSize"

* commit '1622f3e305fd6623f1d0e9fb5816a2830f248f3d':
Make virtual getTypeStoreSize and getTypeAllocSize
1622f3e305fd6623f1d0e9fb5816a2830f248f3d 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am d5e6eeae: am 8567e7f0: Merge "Make virtual getTypeStoreSize and getTypeAllocSize"

* commit 'd5e6eeae553f220fee4bee246170d23b582540ad':
Make virtual getTypeStoreSize and getTypeAllocSize
d5e6eeae553f220fee4bee246170d23b582540ad 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 8567e7f0: Merge "Make virtual getTypeStoreSize and getTypeAllocSize"

* commit '8567e7f02549113cffd5cf2422e89b3cc3fc9634':
Make virtual getTypeStoreSize and getTypeAllocSize
8567e7f02549113cffd5cf2422e89b3cc3fc9634 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Make virtual getTypeStoreSize and getTypeAllocSize"
c95381a2c3b6e9117901eef0687e861e4d533bfe 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Make virtual getTypeStoreSize and getTypeAllocSize

Change-Id: I898d7b21d7856559e75d80c6147fc4b4229c75dd
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_reflection.cpp
lang_rs_reflection_cpp.cpp
340375598f3f8d3c0739dd0380e3297f9d93c45f 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 5c7049e7: am 7c6c61a6: am 575f04a3: Merge "Move DataType enum out of RSExportPrimitiveDataType."

* commit '5c7049e7f496c68b43ede6e21dd27e8e4bd95ef6':
Move DataType enum out of RSExportPrimitiveDataType.
5c7049e7f496c68b43ede6e21dd27e8e4bd95ef6 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 7c6c61a6: am 575f04a3: Merge "Move DataType enum out of RSExportPrimitiveDataType."

* commit '7c6c61a6200fe3ee3119d53e2172b0d86877adca':
Move DataType enum out of RSExportPrimitiveDataType.
7c6c61a6200fe3ee3119d53e2172b0d86877adca 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 575f04a3: Merge "Move DataType enum out of RSExportPrimitiveDataType."

* commit '575f04a390ed45b7eedc559a49d89abf8a6bd325':
Move DataType enum out of RSExportPrimitiveDataType.
575f04a390ed45b7eedc559a49d89abf8a6bd325 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Move DataType enum out of RSExportPrimitiveDataType."
cec9b65aa890dea58e39951900ae13efb8d11703 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Move DataType enum out of RSExportPrimitiveDataType.

It applies to more than just Primitives and should not have been in there.

Change-Id: If2b6a9d2a87a05176a74bcf7212f65cf1cdf67fe
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_element.h
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
lang_rs_reflection.cpp
lang_rs_reflection_cpp.cpp
697a1348ef836174a710bdb6e2d87ff5b5652fc5 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 521bbd3f: am d9275e6b: am 1b4cb8b8: Merge "Remove obsolete unused code"

* commit '521bbd3fdb5cdb48c0f58299e0ba85f64b411607':
Remove obsolete unused code
521bbd3fdb5cdb48c0f58299e0ba85f64b411607 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am d9275e6b: am 1b4cb8b8: Merge "Remove obsolete unused code"

* commit 'd9275e6be2381e7953927092f15ae92e21f95d3b':
Remove obsolete unused code
d9275e6be2381e7953927092f15ae92e21f95d3b 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 1b4cb8b8: Merge "Remove obsolete unused code"

* commit '1b4cb8b84428dc5b36a90359b9c4f05aeb87126c':
Remove obsolete unused code
1b4cb8b84428dc5b36a90359b9c4f05aeb87126c 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove obsolete unused code"
5ba3b31a099ec84c88b62d1592dde0e224697260 15-May-2014 Stephen Hines <srhines@google.com> am 9a5674f3: am 99705a8d: am 23bb890b: Merge "Separate out rs_version.mk for reusable definition of the TOT compiler."

* commit '9a5674f3943c02b289c3470ab39406d4d7dda02e':
Separate out rs_version.mk for reusable definition of the TOT compiler.
9a5674f3943c02b289c3470ab39406d4d7dda02e 15-May-2014 Stephen Hines <srhines@google.com> am 99705a8d: am 23bb890b: Merge "Separate out rs_version.mk for reusable definition of the TOT compiler."

* commit '99705a8d769c6f4696352b096b63b2811e16cab1':
Separate out rs_version.mk for reusable definition of the TOT compiler.
99705a8d769c6f4696352b096b63b2811e16cab1 15-May-2014 Stephen Hines <srhines@google.com> am 23bb890b: Merge "Separate out rs_version.mk for reusable definition of the TOT compiler."

* commit '23bb890ba88b3a10486f62d300920588eb906a6d':
Separate out rs_version.mk for reusable definition of the TOT compiler.
23bb890ba88b3a10486f62d300920588eb906a6d 15-May-2014 Stephen Hines <srhines@google.com> Merge "Separate out rs_version.mk for reusable definition of the TOT compiler."
2354442e34a47e27dad019df96062c7f620e853a 15-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove obsolete unused code

Change-Id: Iead651dc9e0321d36bb653bc178ac1a9af6d34f9
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_type_spec.h
483f47c87b2f69a766b5a33845091f7c800846b0 14-May-2014 Stephen Hines <srhines@google.com> Separate out rs_version.mk for reusable definition of the TOT compiler.

You can add the following lines to any Android.mk to use the properly
computed value for RS_VERSION:

include frameworks/compile/slang/rs_version.mk
LOCAL_CFLAGS += $(RS_VERSION_DEFINE)

Change-Id: I68fb5c59d1f1f6a9944eaf3c6c99a0355824600f
ndroid.mk
s_version.mk
5c6786a2f4fdd1d78f0719956e97b0b06ce1bb53 13-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 91dc61ea: am 0db8e890: am c370ddd8: Merge "Remove unused files"

* commit '91dc61eaf0c19462daf1a2b0764a79b58ce10123':
Remove unused files
91dc61eaf0c19462daf1a2b0764a79b58ce10123 13-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 0db8e890: am c370ddd8: Merge "Remove unused files"

* commit '0db8e890386c46b81fdba7c7813179bda8cdd25c':
Remove unused files
0db8e890386c46b81fdba7c7813179bda8cdd25c 13-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am c370ddd8: Merge "Remove unused files"

* commit 'c370ddd814398344e9063f2cca56783e9cdcfa74':
Remove unused files
c370ddd814398344e9063f2cca56783e9cdcfa74 13-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove unused files"
09c73f9856d81fb03b5281ff756643366d6b4d17 12-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove unused files

Change-Id: I44e7d2d5745b737538e76c05a096521cc268c8fa
lang_rs_metadata_spec.h
lang_rs_metadata_spec_encoder.cpp
19bb5f5a3fd5146956de28127b88089f3538a4cd 08-May-2014 Andrew Hsieh <andrewhsieh@google.com> Use clang for llvm-related project

clang/llvm 3.5 depends on libcxx's <atomic> which uses _Atomic
not available in gcc until 4.9. Even then, the _Atomic support
is in C11 mode, not C++11 mode.

Change-Id: I211afa5a7ebaa4de88cbedcd44e70bf9e2bac879
ndroid.mk
itWriter_2_9/Android.mk
itWriter_2_9_func/Android.mk
itWriter_3_2/Android.mk
94af5ffd33d7be0cd200d43bf3d6feedb1aae42a 01-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 2efc13c6: am dd5c1a2b: am 33949184: Merge "Remove rs_spec_gen and associated macros."

* commit '2efc13c65af1ff5fefd201af5fc681f1cd753aef':
Remove rs_spec_gen and associated macros.
2efc13c65af1ff5fefd201af5fc681f1cd753aef 01-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am dd5c1a2b: am 33949184: Merge "Remove rs_spec_gen and associated macros."

* commit 'dd5c1a2b265964a993eb34f7cbec0147aaa4325b':
Remove rs_spec_gen and associated macros.
dd5c1a2b265964a993eb34f7cbec0147aaa4325b 01-May-2014 Jean-Luc Brouillet <jeanluc@google.com> am 33949184: Merge "Remove rs_spec_gen and associated macros."

* commit '33949184d54da3ff48ffe0558aaeb0ed5f2c3d32':
Remove rs_spec_gen and associated macros.
33949184d54da3ff48ffe0558aaeb0ed5f2c3d32 01-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Remove rs_spec_gen and associated macros."
474655a402e70cb329e1bcd4ebbe00bdc5be4206 29-Apr-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove rs_spec_gen and associated macros.

Also, enable new data types to be defined, out of order.
More CLs are coming to continue refactoring the code and removing
duplication.

modified: Android.mk
deleted: RSSpec.mk
modified: slang_rs_export_element.cpp
modified: slang_rs_export_type.cpp
modified: slang_rs_export_type.h
modified: slang_rs_metadata_spec_encoder.cpp
modified: slang_rs_object_ref_count.cpp
modified: slang_rs_object_ref_count.h
deleted: slang_rs_spec_table.cpp
modified: slang_rs_type_spec.h

Change-Id: I3eb3e4357bbe9af26011df714795de8e495fec68
ndroid.mk
SSpec.mk
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_metadata_spec_encoder.cpp
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
lang_rs_spec_table.cpp
lang_rs_type_spec.h
4eae28406c8d32a56def607f41bbea13721ed717 30-Apr-2014 Bill Yi <byi@google.com> am 9041042c: am fbce2767: Merge commit \'369bba71bdc2a19a64d172d0f58dcc53ba73b549\' into HEAD

* commit '9041042ce7b1da25dba4d4444300af2fdd320e24':
9041042ce7b1da25dba4d4444300af2fdd320e24 30-Apr-2014 Bill Yi <byi@google.com> am fbce2767: Merge commit \'369bba71bdc2a19a64d172d0f58dcc53ba73b549\' into HEAD

* commit 'fbce27670f091736fec3de5985421433cb4e0b47':
fbce27670f091736fec3de5985421433cb4e0b47 29-Apr-2014 Bill Yi <byi@google.com> Merge commit '369bba71bdc2a19a64d172d0f58dcc53ba73b549' into HEAD
fd31394cdc2ba60b9ad948235e7bfed26f5a16f6 26-Apr-2014 Stephen Hines <srhines@google.com> am f5d11f26: am 5b76b65b: Merge "Update Slang for Clang/LLVM 3.5a."

* commit 'f5d11f2683739386ad104081ae1af931a73082a3':
Update Slang for Clang/LLVM 3.5a.
f5d11f2683739386ad104081ae1af931a73082a3 25-Apr-2014 Stephen Hines <srhines@google.com> am 5b76b65b: Merge "Update Slang for Clang/LLVM 3.5a."

* commit '5b76b65bb47d8ea7d5f7abcb984d690554c9a6d0':
Update Slang for Clang/LLVM 3.5a.
5b76b65bb47d8ea7d5f7abcb984d690554c9a6d0 25-Apr-2014 Stephen Hines <srhines@google.com> Merge "Update Slang for Clang/LLVM 3.5a."
ee4016d1247d3fbe50822de279d3da273d8aef4c 11-Apr-2014 Tim Murray <timmurray@google.com> Update Slang for Clang/LLVM 3.5a.

Change-Id: Icd59efa1197098076555c505c31939866e504a83
ndroid.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_3_2/BitcodeWriter.cpp
lvm-rs-as.cpp
lang.cpp
lang_backend.cpp
lang_diagnostic_buffer.h
lang_rs.cpp
lang_rs_backend.cpp
lang_rs_check_ast.cpp
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_foreach.cpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_reflection.cpp
a6ebf46042205274f53108dc1e7defee5147468d 27-Mar-2014 Narayan Kamath <narayan@google.com> am 8615c8ed: am 2fded9d7: Merge "Add -wno-return-type for slang."

* commit '8615c8edfc025a6b71c168189034f98e928f6603':
Add -wno-return-type for slang.
8615c8edfc025a6b71c168189034f98e928f6603 27-Mar-2014 Narayan Kamath <narayan@google.com> am 2fded9d7: Merge "Add -wno-return-type for slang."

* commit '2fded9d7407e1c6ded9b82c07e1d0ffbf21d5931':
Add -wno-return-type for slang.
2fded9d7407e1c6ded9b82c07e1d0ffbf21d5931 27-Mar-2014 Narayan Kamath <narayan@google.com> Merge "Add -wno-return-type for slang."
acabd4c6c12e9f647802128ad2439dbbaefc4a46 26-Mar-2014 Narayan Kamath <narayan@google.com> am 97e1b94c: am 1838186c: Merge "Fix clang compile errors."

* commit '97e1b94c3190ab8b6d01d86db9319df04c1471de':
Fix clang compile errors.
97e1b94c3190ab8b6d01d86db9319df04c1471de 26-Mar-2014 Narayan Kamath <narayan@google.com> am 1838186c: Merge "Fix clang compile errors."

* commit '1838186cefd26490df06a5d08062ca42cbb32695':
Fix clang compile errors.
4fda85844b116ecc9f156f1fb1dbc007cec85691 26-Mar-2014 Narayan Kamath <narayan@google.com> Add -wno-return-type for slang.

Works around an error in the clang sources.
clang::HeaderSearchOptions::Entry::operator= is defined
incorrectly.

Change-Id: I992eef816efcbea1ad5ac021b9dc03dd03f08bf9
ndroid.mk
1838186cefd26490df06a5d08062ca42cbb32695 26-Mar-2014 Narayan Kamath <narayan@google.com> Merge "Fix clang compile errors."
50cab07b24f9d85899e697cac88a05cb8347fe74 25-Mar-2014 Narayan Kamath <narayan@google.com> Fix clang compile errors.

Clean up several unnecessary forward declarations
and private member variables.

Change-Id: I5cd27a82ae222b8ee589cd279d8778ef7061a531
lang_backend.h
lang_rs_backend.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_foreach.h
369bba71bdc2a19a64d172d0f58dcc53ba73b549 10-Mar-2014 Tim Murray <timmurray@google.com> am 48a48949: Merge "Update slang for LLVM 3.4 rebase."

* commit '48a489496dd0f7cb861ce30e43124811c478da54':
Update slang for LLVM 3.4 rebase.
2a3213c36c7f09609004065f60dd31b7891a78e1 07-Mar-2014 Stephen Hines <srhines@google.com> am 3d207c9e: Merge "Fix C++ reflection so that -p works."

* commit '3d207c9ecb870668d6a845f563d2abeb9cd770ea':
Fix C++ reflection so that -p works.
42f13b00debab07325536d459266aad0c6d1a0a8 07-Mar-2014 Tim Murray <timmurray@google.com> am 3a18f6ba: Merge "Add rs_core_math.rsh to the list of allowed RS headers."

* commit '3a18f6baa1b89f3d927c6767a8e1a9164996da0e':
Add rs_core_math.rsh to the list of allowed RS headers.
df1cf12af6c6feb5fe8500ed719bf75ebe5267f1 22-Feb-2014 Tim Murray <timmurray@google.com> am 66682331: am 48a48949: Merge "Update slang for LLVM 3.4 rebase."

* commit '66682331aa44e81cf705204bff05ee5c34098c4d':
Update slang for LLVM 3.4 rebase.
66682331aa44e81cf705204bff05ee5c34098c4d 22-Feb-2014 Tim Murray <timmurray@google.com> am 48a48949: Merge "Update slang for LLVM 3.4 rebase."

* commit '48a489496dd0f7cb861ce30e43124811c478da54':
Update slang for LLVM 3.4 rebase.
48a489496dd0f7cb861ce30e43124811c478da54 21-Feb-2014 Tim Murray <timmurray@google.com> Merge "Update slang for LLVM 3.4 rebase."
44cf7b3532baf7a81b8c7c52d6d43da238f8999a 20-Feb-2014 Stephen Hines <srhines@google.com> am df5a071f: am 3d207c9e: Merge "Fix C++ reflection so that -p works."

* commit 'df5a071ffc8c9377c63f05a80a46718f10e5fce7':
Fix C++ reflection so that -p works.
df5a071ffc8c9377c63f05a80a46718f10e5fce7 20-Feb-2014 Stephen Hines <srhines@google.com> am 3d207c9e: Merge "Fix C++ reflection so that -p works."

* commit '3d207c9ecb870668d6a845f563d2abeb9cd770ea':
Fix C++ reflection so that -p works.
eeb251e8db802b836af7461d0f6eb1252c527ab8 11-Feb-2014 Stephen Hines <srhines@google.com> Update slang for LLVM 3.4 rebase.

Remove LinkOnceODRAutoHideLinkage, since it is now just a special case of
LinkOnceODRLinkage.

Remove CaseRange expansion code from all bitcode writers, since it is now dead.

Fix up HeaderSearch constructor.

Change-Id: I38547486be509b16ea5d8218b43c31ae35b37d3b
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/BitcodeWriterPass.cpp
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/BitcodeWriterPass.cpp
itWriter_3_2/BitcodeWriter.cpp
itWriter_3_2/BitcodeWriterPass.cpp
lang.cpp
3d207c9ecb870668d6a845f563d2abeb9cd770ea 20-Feb-2014 Stephen Hines <srhines@google.com> Merge "Fix C++ reflection so that -p works."
476d4f5a0249a3318cb86460e6a1adb2b40ecd6f 18-Nov-2013 Stephen Hines <srhines@google.com> Fix C++ reflection so that -p works.

The C++ reflection code was missing support for the -p option, which allows
the developer to place the .cpp/.h files into a different directory than the
bitcode. It was also missing directory creation (and path separators) for that
option.

Change-Id: I5b16a6d109c6df8ca3e1542e0c5345691037bf85
lvm-rs-cc.cpp
lang_rs_reflection_cpp.cpp
6103e43f4fc7fcaa455b33b76dd8e636ab1425c8 11-Feb-2014 Stephen Hines <srhines@google.com> Update slang for LLVM 3.4 rebase.

Remove LinkOnceODRAutoHideLinkage, since it is now just a special case of
LinkOnceODRLinkage.

Remove CaseRange expansion code from all bitcode writers, since it is now dead.

Fix up HeaderSearch constructor.

Change-Id: I38547486be509b16ea5d8218b43c31ae35b37d3b
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/BitcodeWriterPass.cpp
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/BitcodeWriterPass.cpp
itWriter_3_2/BitcodeWriter.cpp
itWriter_3_2/BitcodeWriterPass.cpp
lang.cpp
3980e7d4e2ea24386c2f80e20f7d741935048541 03-Feb-2014 Tim Murray <timmurray@google.com> am dadc29ce: am 3a18f6ba: Merge "Add rs_core_math.rsh to the list of allowed RS headers."

* commit 'dadc29ce64fdad2522589bbd1906e6a7efe7300e':
Add rs_core_math.rsh to the list of allowed RS headers.
dadc29ce64fdad2522589bbd1906e6a7efe7300e 03-Feb-2014 Tim Murray <timmurray@google.com> am 3a18f6ba: Merge "Add rs_core_math.rsh to the list of allowed RS headers."

* commit '3a18f6baa1b89f3d927c6767a8e1a9164996da0e':
Add rs_core_math.rsh to the list of allowed RS headers.
3a18f6baa1b89f3d927c6767a8e1a9164996da0e 03-Feb-2014 Tim Murray <timmurray@google.com> Merge "Add rs_core_math.rsh to the list of allowed RS headers."
a7ab54d590b5a959354a654cccacf4337e7fd5b0 08-Jan-2014 Stephen Hines <srhines@google.com> Add rs_core_math.rsh to the list of allowed RS headers.

BUG: 5653293

Change-Id: I79935782da3436b0d794fea6a06c36aa85004756
lang_rs.cpp
c3e1e3ab4bfe077f83afadab568ae66847c2f2c8 22-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> am 000d4ceb: am a533c3f7: Merge "Allow \'x\' and \'y\' to be of type signed int. Validates they are of the same type."

* commit '000d4cebd62e6fc836b8d01a8156124eb2cc5038':
000d4cebd62e6fc836b8d01a8156124eb2cc5038 22-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> am a533c3f7: Merge "Allow \'x\' and \'y\' to be of type signed int. Validates they are of the same type."

* commit 'a533c3f7619e0c166272deacc7ea13d2a224e4bd':
a533c3f7619e0c166272deacc7ea13d2a224e4bd 22-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Allow 'x' and 'y' to be of type signed int. Validates they are of the same type."
482caac59574f980cc78b2ac63e01a926da86a96 18-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Allow 'x' and 'y' to be of type signed int. Validates they are of the same type.

Change-Id: I408a009df25a179c7e2256a02c6e5dd16c3c74fa
b661b4c312c1a6e17e6434070f11e92be9fae15f 18-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> am e843060c: am 5ea67a1c: Merge "Require \'x\' and \'y\' as the parameter names of the iterators."

* commit 'e843060c002991c3dc6b6a21fdc33a084ace9cdd':
Require 'x' and 'y' as the parameter names of the iterators.
e843060c002991c3dc6b6a21fdc33a084ace9cdd 18-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> am 5ea67a1c: Merge "Require \'x\' and \'y\' as the parameter names of the iterators."

* commit '5ea67a1ceb1f01b873b2fc93ac907e7870b7e64d':
Require 'x' and 'y' as the parameter names of the iterators.
5ea67a1ceb1f01b873b2fc93ac907e7870b7e64d 18-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Require 'x' and 'y' as the parameter names of the iterators."
42f81b2b44205f421c6bd4727ce8c25b0effcb55 17-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Require 'x' and 'y' as the parameter names of the iterators.

By requiring the iterators to be named exactly 'x' and 'y', we can simplify processing. We can also improve the error messages. Note that the error messages are not printed in strict increasing order. If that's important, it's trivial to separate the search for IndexOfFirstIterator into its own function.

Change-Id: I71ebf4118154924d67af31c44dbdb07ed0f54a77
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
ests/F_kernel_noattr/kernel_noattr.rs
ests/F_root_compute_int_in/stderr.txt.expect
ests/F_root_compute_non_const_usrData/stderr.txt.expect
ests/F_root_compute_non_ptr_usrData/stderr.txt.expect
ests/F_root_compute_non_uint32_t_xyzar/stderr.txt.expect
ests/F_root_compute_really_bad/root_compute_really_bad.rs
ests/F_root_compute_really_bad/stderr.txt.expect
ests/F_root_compute_too_many_args/stderr.txt.expect
77fabe42e2449b5b62084c3fce341d70634adfea 17-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> am f16b5d8b: am dc01992d: Merge "Add ReportErrror/Warning to RSContext."

* commit 'f16b5d8b8e1cba1e1c52795f9095d4edf7a7c33f':
Add ReportErrror/Warning to RSContext.
f16b5d8b8e1cba1e1c52795f9095d4edf7a7c33f 17-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> am dc01992d: Merge "Add ReportErrror/Warning to RSContext."

* commit 'dc01992dbeaeaec5011f7562ae3c14b357dea8f6':
Add ReportErrror/Warning to RSContext.
dc01992dbeaeaec5011f7562ae3c14b357dea8f6 17-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Add ReportErrror/Warning to RSContext."
d3f7527b105d21f1c69d3473eb88a762f2c3ab5a 17-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Add ReportErrror/Warning to RSContext.

Remove a lot of boilerplate code by adding error reporting methods to RSContext. There are still a few additional files that could be cleaned. That will be for another CL someday.

Change-Id: I6a261735720227ac87d94dbdea5ce4a7b8ef6cca
lang_rs_backend.cpp
lang_rs_check_ast.cpp
lang_rs_check_ast.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_export_var.cpp
58ede4b5883b01b3781ebc1e1454294b8db99085 15-Jan-2014 Stephen Hines <srhines@google.com> am 074d40de: am 6206cb10: Merge "Bump llvm-rs-cc version number to 1901."

* commit '074d40de767ce21930710a3329de3e9326e5e97a':
Bump llvm-rs-cc version number to 1901.
074d40de767ce21930710a3329de3e9326e5e97a 15-Jan-2014 Stephen Hines <srhines@google.com> am 6206cb10: Merge "Bump llvm-rs-cc version number to 1901."

* commit '6206cb104fa8bf96a55efcb7e337939b65720173':
Bump llvm-rs-cc version number to 1901.
6206cb104fa8bf96a55efcb7e337939b65720173 15-Jan-2014 Stephen Hines <srhines@google.com> Merge "Bump llvm-rs-cc version number to 1901."
76110d5599d2bac880354b6df94930c0c63b5e4e 15-Jan-2014 Stephen Hines <srhines@google.com> Bump llvm-rs-cc version number to 1901.

BUG: 12135682
https://code.google.com/p/android/issues/detail?id=64775

This is to ensure that we can recognize tools that have the fix for encoding
bitcode attributes like readnone/readonly on parameters (i.e. we strip it).

Change-Id: I303c0c730c66706425289c6dc7d494dcb075120d
lang_version.h
da5be49fd47db1a50b313be68b76ef542109f64a 15-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> am 4e160581: am f20f5d70: Merge "Code refactoring, no behavior change."

* commit '4e1605818d7a88847b78d6d6c6de5c37193003bb':
Code refactoring, no behavior change.
4e1605818d7a88847b78d6d6c6de5c37193003bb 15-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> am f20f5d70: Merge "Code refactoring, no behavior change."

* commit 'f20f5d70b70a793043de6a2412e7c94e995ebdb6':
Code refactoring, no behavior change.
f20f5d70b70a793043de6a2412e7c94e995ebdb6 15-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Merge "Code refactoring, no behavior change."
0f2a2397df53a1bb74609abe3c27719bc7e3c328 14-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Code refactoring, no behavior change.

Changed a couple of member variables to be more descriptive. Unified setting of signature metadata into one function.

Change-Id: I4b4730d8159b8a67a4d9d39713dc2bec8eb8d01a
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_version.h
c33d88ad9625eae4597fc8b46cb331e237f67ad1 10-Jan-2014 Stephen Hines <srhines@google.com> Merge "Add rs_core_math.rsh to the list of allowed RS headers."
195f90907b481dfac22d7686c860132f8bb4889a 09-Jan-2014 Stephen Hines <srhines@google.com> am e8345220: am 86cccc01: Merge "Specify that we can have more verbose messages in the help text."

* commit 'e8345220fb7637bbcbe00f8e023db8c1793c0da7':
Specify that we can have more verbose messages in the help text.
e8345220fb7637bbcbe00f8e023db8c1793c0da7 09-Jan-2014 Stephen Hines <srhines@google.com> am 86cccc01: Merge "Specify that we can have more verbose messages in the help text."

* commit '86cccc0162fa11056adc35fe3b3faf6b69c3ea0f':
Specify that we can have more verbose messages in the help text.
86cccc0162fa11056adc35fe3b3faf6b69c3ea0f 09-Jan-2014 Stephen Hines <srhines@google.com> Merge "Specify that we can have more verbose messages in the help text."
cad0d742e189196221fb028f8501f5ca26617723 09-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Specify that we can have more verbose messages in the help text.

Change-Id: I3695d122955f29e149ec1bc521ee4ea5e1d9ae3d
ests/test.py
d63ba25349cefde5e1141f55aa393529ded3a087 08-Jan-2014 Stephen Hines <srhines@google.com> Add rs_core_math.rsh to the list of allowed RS headers.

BUG: 5653293

Change-Id: I79935782da3436b0d794fea6a06c36aa85004756
lang_rs.cpp
8c2271e1ca8ba0998ea3beb1e69eedf65048db6e 20-Dec-2013 Stephen Hines <srhines@google.com> am 978960a4: am 9178d5e3: Merge "Update slang_version.h for KitKat and add new version number tests."

* commit '978960a47de171f70d82290c15c939040e4c6efe':
Update slang_version.h for KitKat and add new version number tests.
978960a47de171f70d82290c15c939040e4c6efe 20-Dec-2013 Stephen Hines <srhines@google.com> am 9178d5e3: Merge "Update slang_version.h for KitKat and add new version number tests."

* commit '9178d5e3c79eb726eb53adfaefffab11623e3e9b':
Update slang_version.h for KitKat and add new version number tests.
9178d5e3c79eb726eb53adfaefffab11623e3e9b 20-Dec-2013 Stephen Hines <srhines@google.com> Merge "Update slang_version.h for KitKat and add new version number tests."
4f673191448c2a76c7dc5d18ff45bb7954968ea6 19-Dec-2013 Stephen Hines <srhines@google.com> Update slang_version.h for KitKat and add new version number tests.

Change-Id: Ifd8bb0c6d48b280c80cf84dc4b1edcd1d95028b2
lang_version.h
ests/P_set_target_api_18/IN_CTS
ests/P_set_target_api_18/set_target_api_18.rs
ests/P_set_target_api_18/stderr.txt.expect
ests/P_set_target_api_18/stdout.txt.expect
ests/P_set_target_api_19/IN_CTS
ests/P_set_target_api_19/set_target_api_19.rs
ests/P_set_target_api_19/stderr.txt.expect
ests/P_set_target_api_19/stdout.txt.expect
4dddd270ad895c910c501612a472c3904baa198d 19-Dec-2013 Stephen Hines <srhines@google.com> am 1528e285: am 8c7d17ac: Merge "Strip .fs extension from filename for C++ NDK reflection"

* commit '1528e2856d53ed94e8ab19cd42da9f95c0a3110b':
Strip .fs extension from filename for C++ NDK reflection
1528e2856d53ed94e8ab19cd42da9f95c0a3110b 19-Dec-2013 Stephen Hines <srhines@google.com> am 8c7d17ac: Merge "Strip .fs extension from filename for C++ NDK reflection"

* commit '8c7d17ac51beb243c5ee7b1b22a1a9bf3d1a580e':
Strip .fs extension from filename for C++ NDK reflection
fe8389bce6608bf9ea473af82f54d711a0350d37 19-Dec-2013 Stephen Hines <srhines@google.com> am 61ae1210: am efbcdd87: Merge "Strip unknown/unsupported attributes (like readnone/readonly for parameters)."

* commit '61ae12100216459898dc02b36c9d219ec1dcc66d':
Strip unknown/unsupported attributes (like readnone/readonly for parameters).
8c7d17ac51beb243c5ee7b1b22a1a9bf3d1a580e 19-Dec-2013 Stephen Hines <srhines@google.com> Merge "Strip .fs extension from filename for C++ NDK reflection"
61ae12100216459898dc02b36c9d219ec1dcc66d 19-Dec-2013 Stephen Hines <srhines@google.com> am efbcdd87: Merge "Strip unknown/unsupported attributes (like readnone/readonly for parameters)."

* commit 'efbcdd87b3735e3b2e086441d76bdc2836565451':
Strip unknown/unsupported attributes (like readnone/readonly for parameters).
efbcdd87b3735e3b2e086441d76bdc2836565451 19-Dec-2013 Stephen Hines <srhines@google.com> Merge "Strip unknown/unsupported attributes (like readnone/readonly for parameters)."
552d872e5cdc883d9f8e76d8c67d3a82e3ece488 18-Dec-2013 Stephen Hines <srhines@google.com> Strip unknown/unsupported attributes (like readnone/readonly for parameters).

Bug: 12135682

Jellybean's LLVM version didn't support readnone/readonly as anything
other than function attributes, so it will fail verification otherwise.
Since we never ran the verifier in Jellybean, it ends up with potential
crashes deeper in CodeGen.

Change-Id: I0a93a548b427f610fa9ca0a1ae0b432e6fa39e11
ndroid.mk
lang_backend.cpp
trip_unknown_attributes.cpp
trip_unknown_attributes.h
7384b8fcfa6768bac567e55c136509492b535771 18-Dec-2013 Stephen Hines <srhines@google.com> am 10cde49c: am 4982d613: Merge "Split up case-range in BitWriter_3_2 as well."

* commit '10cde49c0543675c8103f4f8a358d8f68138d0eb':
Split up case-range in BitWriter_3_2 as well.
10cde49c0543675c8103f4f8a358d8f68138d0eb 18-Dec-2013 Stephen Hines <srhines@google.com> am 4982d613: Merge "Split up case-range in BitWriter_3_2 as well."

* commit '4982d6132e0590d65d8d5e749b6cc04197b954b0':
Split up case-range in BitWriter_3_2 as well.
4982d6132e0590d65d8d5e749b6cc04197b954b0 18-Dec-2013 Stephen Hines <srhines@google.com> Merge "Split up case-range in BitWriter_3_2 as well."
99d429070eb7c4c39fb7d74555031d518a4e0a79 17-Dec-2013 Stephen Hines <srhines@google.com> Split up case-range in BitWriter_3_2 as well.

Bug: 12135682

This is a temporary WAR, as LLVM 3.4 removes support for case-range statements
completely. That is a much larger patch to external/llvm, and requires more
thorough testing.

Change-Id: Ief8ec4796a8cce13ffc8cb4f2b961eecdc7ca264
itWriter_3_2/BitcodeWriter.cpp
itWriter_3_2/BitcodeWriterPass.cpp
itWriter_3_2/ValueEnumerator.cpp
20fee49e2ed3941d3327febda19388fe1137475d 12-Dec-2013 Stephen Hines <srhines@google.com> am ce77c379: am f6557f87: Merge "Support reflection of enums."

* commit 'ce77c37950267a31288953d0c9eb826f8cdf77e2':
Support reflection of enums.
ce77c37950267a31288953d0c9eb826f8cdf77e2 11-Dec-2013 Stephen Hines <srhines@google.com> am f6557f87: Merge "Support reflection of enums."

* commit 'f6557f87687f9414656bc121b1b70df913edc186':
Support reflection of enums.
f6557f87687f9414656bc121b1b70df913edc186 11-Dec-2013 Stephen Hines <srhines@google.com> Merge "Support reflection of enums."
332e231102724b61a9d0a6b9d32a79c1d929fe02 10-Dec-2013 Stephen Hines <srhines@google.com> am d291385a: (-s ours) am 5fdd2f9c: Merge "Support RS object types properly for C++ NDK reflection."

* commit 'd291385a426dcf4a94d8d3664cf6b0bb1722b653':
Support RS object types properly for C++ NDK reflection.
48d893dc7794b3cfb74f35955ca763ee4170f9ad 07-Dec-2013 Stephen Hines <srhines@google.com> Support reflection of enums.

Prior versions would just crash when attempting to reflect an enum type.
This patch maps enums to integers for reflection in Java.

Change-Id: I5b278d670564ceb606a6b96804f76a798bedc89c
lang_rs_backend.cpp
lang_rs_check_ast.cpp
lang_rs_check_ast.h
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
ests/P_export_types/export_types.rs
7dd65c86eae5cda6519cb5db319363b4326f6425 06-Dec-2013 Oliver Reiche <oliver.reiche@cs.fau.de> Strip .fs extension from filename for C++ NDK reflection

llvm-rs-cc removes path and .rs extension of a filename to
generate the class name for C++ reflection classes. The
Filterscript extension is left untouched, which causes
errors. With this patch the .fs extension will be removed as
well to be consistent with the compiler behavior for Java
reflection classes.

Change-Id: I9516df81df08a939a817a20100d07c627716b589
Signed-off-by: Oliver Reiche <oliver.reiche@gmail.com>
lang_rs_reflection_base.cpp
d291385a426dcf4a94d8d3664cf6b0bb1722b653 27-Nov-2013 Stephen Hines <srhines@google.com> am 5fdd2f9c: Merge "Support RS object types properly for C++ NDK reflection."

* commit '5fdd2f9ce9e0c974eebaf376a154fda81976457c':
Support RS object types properly for C++ NDK reflection.
5fdd2f9ce9e0c974eebaf376a154fda81976457c 27-Nov-2013 Stephen Hines <srhines@google.com> Merge "Support RS object types properly for C++ NDK reflection."
d6f36b1347b487192103c9a17d5e9a1abcab534d 21-Nov-2013 Stephen Hines <srhines@google.com> Support RS object types properly for C++ NDK reflection.

Change-Id: I7f475a212663ee8aa695d358a30c0474beb66a95
lang_rs_reflection_cpp.cpp
ests/P_kernel_cpp/kernel_cpp.rs
25b2ecf8b424339a9bfe683b6e2b5a2ced62d93d 26-Nov-2013 Stephen Hines <srhines@google.com> Merge "Support RS object types properly for C++ NDK reflection."
c674d0e9c3c31a7b731cd1c3b7b6c58a0597ac76 21-Nov-2013 Stephen Hines <srhines@google.com> Support RS object types properly for C++ NDK reflection.

Change-Id: I7f475a212663ee8aa695d358a30c0474beb66a95
lang_rs_reflection_cpp.cpp
ests/P_kernel_cpp/kernel_cpp.rs
a929452df8317fce5b962a7e0d715d24e8227769 19-Nov-2013 Stephen Hines <srhines@google.com> am ac71e8c3: Fix C++ reflection so that -p works.

* commit 'ac71e8c3b3edca77a561377b1f24447a3c2ac3a5':
Fix C++ reflection so that -p works.
ac71e8c3b3edca77a561377b1f24447a3c2ac3a5 18-Nov-2013 Stephen Hines <srhines@google.com> Fix C++ reflection so that -p works.

The C++ reflection code was missing support for the -p option, which allows
the developer to place the .cpp/.h files into a different directory than the
bitcode. It was also missing directory creation (and path separators) for that
option.

Change-Id: I5b16a6d109c6df8ca3e1542e0c5345691037bf85
(cherry picked from commit c7888b0c7c648b8e3987d9ff277e10e0551e203b)
lvm-rs-cc.cpp
lang_rs_reflection_cpp.cpp
c7888b0c7c648b8e3987d9ff277e10e0551e203b 18-Nov-2013 Stephen Hines <srhines@google.com> Fix C++ reflection so that -p works.

The C++ reflection code was missing support for the -p option, which allows
the developer to place the .cpp/.h files into a different directory than the
bitcode. It was also missing directory creation (and path separators) for that
option.

Change-Id: I5b16a6d109c6df8ca3e1542e0c5345691037bf85
lvm-rs-cc.cpp
lang_rs_reflection_cpp.cpp
1188b47b389d31981ec9f6367553b2645a481306 04-Sep-2013 Stephen Hines <srhines@google.com> am 80706836: Fix initializers and add vector reflection support.

* commit '80706836b18127b5733d790613a5d1b9f97cbb1d':
Fix initializers and add vector reflection support.
80706836b18127b5733d790613a5d1b9f97cbb1d 29-Aug-2013 Stephen Hines <srhines@google.com> Fix initializers and add vector reflection support.

Bug: 10427951

This also fixes a bug with floating point initialization (where relevant
digits could be truncated because of C++ iostream operators).

Change-Id: I2761dea38dd6ad758ea31217744e45436596afce
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_reflection_base.cpp
lang_rs_reflection_base.h
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
ests/P_kernel_cpp/kernel_cpp.rs
1c2917d40f07c2b892fe6bdf53c1b8c9580f41e9 30-Aug-2013 Stephen Hines <srhines@google.com> am 8de1922e: Handle implicit array dimensions properly.

* commit '8de1922e037612f2521acac2f4c4289a9f71450d':
Handle implicit array dimensions properly.
a6e198bfc32cbbf5dff7a75a7d1de866bc267788 27-Aug-2013 Stephen Hines <srhines@google.com> am 003ac666: Type checking for C++ API.

* commit '003ac666e57669d4312b5792068c3db302ee7b84':
Type checking for C++ API.
8de1922e037612f2521acac2f4c4289a9f71450d 24-Aug-2013 Stephen Hines <srhines@google.com> Handle implicit array dimensions properly.

Bug: 10461673
Change-Id: I681f918d89983522dd162d7f4606ed5811ab2560
lang_rs_export_type.cpp
ests/P_array_init/array_init.rs
ests/P_array_init/stderr.txt.expect
003ac666e57669d4312b5792068c3db302ee7b84 21-Aug-2013 Stephen Hines <srhines@google.com> Type checking for C++ API.

Bug: 10427951

Change-Id: I76a6093237a3b27a0c9e6ce38997cb1e0128efb9
lang_rs_reflection_base.cpp
lang_rs_reflection_base.h
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
2706325217fef99f6662760568cac44b885aa1e3 22-Aug-2013 Stephen Hines <srhines@google.com> Merge "Delete redundant line"
26545901ae6d1ff82d90e74d18cf1fc1772c4341 14-Aug-2013 Stephen Hines <srhines@google.com> am d00bdeda: (-s ours) am 80dd1546: (-s ours) DO NOT MERGE - Write legacy function attributes properly.

* commit 'd00bdedaf5de247990a41e62ecfcce2a08195bca':
DO NOT MERGE - Write legacy function attributes properly.
d00bdedaf5de247990a41e62ecfcce2a08195bca 14-Aug-2013 Stephen Hines <srhines@google.com> am 80dd1546: (-s ours) DO NOT MERGE - Write legacy function attributes properly.

* commit '80dd15464ebcff64f4eb58df5af0d3fc4723bbec':
DO NOT MERGE - Write legacy function attributes properly.
80dd15464ebcff64f4eb58df5af0d3fc4723bbec 21-Jun-2013 Stephen Hines <srhines@google.com> DO NOT MERGE - Write legacy function attributes properly.

Bug: 9503142

A prior LLVM rebase accidentally overwrote the various bitcode writer
implementations with respect to function attributes. They were writing a new
style section, which would not be able to be parsed/used on older devices.
This change restores the generation of the legacy function attribute bitcode
format.

Change-Id: Ib6afc5ae405303881605c51c34b6966e4754c29d
itWriter_2_9/Android.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9_func/Android.mk
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_3_2/Android.mk
itWriter_3_2/BitcodeWriter.cpp
egacy_bitcode.h
d03be2c8bd12ca2686696642ef201b3b71fe3c22 10-Aug-2013 Tobias Grosser <grosser@google.com> Delete redundant line

Change-Id: I8376c3409e8e6dc40be31f000fb6ab86350933c6
lang_backend.cpp
a1f95ee8df425089100148a42954cf61dc285015 09-Aug-2013 Stephen Hines <srhines@google.com> Update slang for LLVM merge up to r187914.

Move OptParser.td dependency to use LLVM's version.
Switch to llvm::sys::fs::F_* enums.
Switch to LLVM Option handling library (not in Clang any more).
Add new ALIASARGS field to OPTION macro.
Switch to clang::getLastArgIntValue() helper function.
Use llvm::sys::fs::OpenFlags as enum and not unsigned int.
Remove unused DisableSimplifyLibCalls().
Switch to llvm::sys::fs::create_directories().

Change-Id: I9b12e18b759536c762ea0dd43356907ee53dbddb
ndroid.mk
SCCOptions.td
lvm-rs-as.cpp
lvm-rs-cc.cpp
lang.cpp
lang_backend.cpp
lang_utils.cpp
f37e89d47ec02f7bbd2d0f0a8c90196ac7abcb64 03-Aug-2013 Tim Murray <timmurray@google.com> Merge "Fix a bug with compat lib support. Add new namespace to sp<>."
616854341745b958e0c409cdb6e21abb6225aa21 31-Jul-2013 Tobias Grosser <grosser@google.com> Add performance warning for rsSetElementAt

This warning proposes the use of typed rsSetElementAt calls in
case typed versions of this method are available.

Change-Id: I8d3b9bbd50b085d4e04db0008d7bf39733e0c663
lang_rs_check_ast.cpp
lang_rs_check_ast.h
ests/P_warnings_rsSetElementAt/setelementat.rs
ests/P_warnings_rsSetElementAt/stderr.txt.expect
ests/P_warnings_rsSetElementAt/stdout.txt.expect
39491028b989f97d584613d380658118eea891d9 01-Aug-2013 Tobias Grosser <grosser@google.com> Test for vector casts in function calls

Change-Id: Idbd37a5588c7b0dae17146d295580ff3c516244b
ests/F_vector_cast/stderr.txt.expect
ests/F_vector_cast/vector_cast.rs
ee9d7b0e0cb74a592cef718d72b589b64997bd21 30-Jul-2013 Tim Murray <timmurray@google.com> Fix a bug with compat lib support. Add new namespace to sp<>.

Change-Id: I5dd513b58757be79984dd16db63c19cc1d076658
lang_rs_reflection_cpp.cpp
66e8b040900c9ea257210ff3b9604702ef5d5066 30-Jul-2013 Stephen Hines <srhines@google.com> Merge "Remove dead code trying to write opt-level"
b40d1003f71a3fb8f45654994a276bb6a67e225b 30-Jul-2013 Stephen Hines <srhines@google.com> Merge "Split HandleTranslationUnitPost in subfunctions"
dde98533fad4c6534af537ae583aa4db35a1c699 24-Jul-2013 Tim Murray <timmurray@google.com> Update C++ bindings and add const qualifiers to get methods.

Change-Id: I58affdfcc560ed269cd0fda0c5e74651bcfd4e4a
lang_rs_context.h
lang_rs_reflection_cpp.cpp
5ac0c0bd054b8aa211b03a69f8d64a29f4984aca 23-Jul-2013 Tobias Grosser <grosser@google.com> Remove dead code trying to write opt-level

The previous commit exposed a piece of dead code, that apperently
tried to store the optimization level in the LLVM module generated
by the slang backend. As it was not functional and there also does
not seem to be a good reason to do so, we remove this code.

No functional change intended.

Change-Id: Ieffb1dc3e48db5aabe6ecab46bd12132161c694d
lang_rs_backend.cpp
d460f623328e2b4ebd05bb93910edb471e6e91d6 23-Jul-2013 Tobias Grosser <grosser@google.com> Split HandleTranslationUnitPost in subfunctions

The original function had almost 200 lines. For readability we split
this function into smaller functional units. As the different units
have already been independent, this change just mechanically copies
their code into subfunctions. No functional change is intended.

Change-Id: I47891569231335b6f8674b0f5d05b7d83b13f85b
lang_rs_backend.cpp
lang_rs_backend.h
925879fa622dda293806ed25b1ee63d2f4a8d65a 20-Jul-2013 Stephen Hines <srhines@google.com> Clean up handling of Java package name for llvm-rs-cc.

Adds support for C++ code generator to use this package name as well.

This change also resolves a small issue with an uninitialized mVerbose flag.

Change-Id: Ia3037a3f4dbe172ddc51af3064ac1708526a6df6
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflection_base.cpp
6cd16fb4dc2466f9fdebb407ad7c42437d67976e 22-Jun-2013 Stephen Hines <srhines@google.com> Provide LLVM 3.2 BitcodeWriter as a device static library.

This will allow the bcinfo BitcodeTranslator to write LLVM 3.2
compatible bitcode.

Change-Id: Id0137ec04a102f09af5b4c0b8020c5ae9b9f3554
itWriter_3_2/Android.mk
8b37121eb9b352aef4b4d5e8058e2a6d7bbb05a1 21-Jun-2013 Stephen Hines <srhines@google.com> Merge "Add llvm-rs-as tool."
c908b90b45448af6c39ce407b607f46b0e0461d6 21-Jun-2013 Tobias Grosser <grosser@google.com> Add llvm-rs-as tool.

This tool takes an .ll file as input and generates bitcode from it.
The -bitcode-version flags allows to specify the version of the
bitcode that should be emitted.

Change-Id: I08b4f1fd0d7b218613e217249e648c9ca4393e38
ndroid.mk
lvm-rs-as.cpp
4e85e8cdbb7d546d45d12ad2f661fbdc9e1597e5 21-Jun-2013 Stephen Hines <srhines@google.com> Merge "Remove unused option from BitWriter_3_2"
70e8843d4a96624adce4ba3de0fcedd8483b0877 21-Jun-2013 Tobias Grosser <grosser@google.com> Remove unused option from BitWriter_3_2

When linking two different BitWriters, this option collides with the
one in current. As it is not used, we just remove it.

Change-Id: I0e1023fae311f487db9c37f67aac4ba54e5aef66
itWriter_3_2/BitcodeWriter.cpp
8bb06b7c40b14ce2dae414b0aa034e9b23b278c9 21-Jun-2013 Stephen Hines <srhines@google.com> Write legacy function attributes properly.

Bug: 9503142

A prior LLVM rebase accidentally overwrote the various bitcode writer
implementations with respect to function attributes. They were writing a new
style section, which would not be able to be parsed/used on older devices.
This change restores the generation of the legacy function attribute bitcode
format.

Change-Id: Ib6afc5ae405303881605c51c34b6966e4754c29d
itWriter_2_9/Android.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9_func/Android.mk
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_3_2/Android.mk
itWriter_3_2/BitcodeWriter.cpp
egacy_bitcode.h
44f10063c2c08dab103a44cded0c3a288d65d43b 13-Jun-2013 Stephen Hines <srhines@google.com> Update slang for LLVM merge to r183849.

s/getLinkage/getFormalLinkage
Path.h -> PathV1.h
Fix test output diagnostics related to pragma location

Change-Id: I7ab5372e848494ac40f1284eb6f9accc18092ad7
lang_rs_check_ast.cpp
lang_rs_context.cpp
lang_rs_export_type.cpp
lang_utils.cpp
ests/F_no_java_package_name/stderr.txt.expect
ests/F_no_pragma/stderr.txt.expect
ests/F_no_version_pragma/stderr.txt.expect
bb99afd2800daecda16cc20d3974eae7c4fdd4b5 12-Jun-2013 Tobias Grosser <grosser@google.com> Remove dependence to python 2.4

python 2.4 is not available any more on my Gubuntu system. I also do not
see a reason why to enforce python 2.4.

Change-Id: I8ab6cd38ba0f163ef53eb64d52d833923c5070c2
ests/test.py
1254f84ab63d62c5999f02920d039a2b7be67c0c 11-Jun-2013 Tobias Grosser <grosser@google.com> lit: Adjust include paths to ensure rs_core.rsh is found

Change-Id: I1cd0c99171507ad97304957e45b61dff70f07567
it-tests/lit.cfg
962c0b6bcd98f321c993055adca785fa0dca522d 22-May-2013 Stephen Hines <srhines@google.com> Bump version number for K.

Change-Id: If819092301ab9c095957306574a09dcdc9ed9c5e
lang_version.h
e006c14e3a1b79c3fbabc6ea8b12ce5f7be8e5a6 18-May-2013 Stephen Hines <srhines@google.com> Support -O0 as well as -O 0 for option passing.

Bug: 9022067

This is not the same as standard Clang, and I would prefer to deprecate the
old way (with space), but the SDK build system will need some time to adapt.

Change-Id: I872afe8db3db6745b5507176007c012d0c4da117
SCCOptions.td
ests/P_debug/debug.rs
ests/P_debug/stderr.txt.expect
ests/P_debug/stdout.txt.expect
f64e76657a98f66c0f3f26014c0a51f55204dc1c 14-May-2013 Stephen Hines <srhines@google.com> Turn off "lax vector conversions".

Bug: 7342914

This language option catches all the terrible implicit vector casts (but not
the explicit vector casts) that we are trying to forbid.

Change-Id: I7cd75326fc72e0c7c74b635c81d7263a257330dd
lang.cpp
ests/F_vector_cast/stderr.txt.expect
dbb6dc37c377f8dd183f2069a6e27610d1202d98 08-May-2013 Stephen Hines <srhines@google.com> Disallow implicit and explicit casts of vector types in llvm-rs-cc.

Bug: 7342914

Vector types are aggregates (just like structs), and casting of any type
results in bitcasts being generated. This misbehaves when converting between
things like float and int. Even more troublesome than explicit casts are
implicit casts, which can arise from accidental arithmetic operations between
two different vector types.

Change-Id: If27a0f70d1da5f1773261a38e6b4572aeb976701
lang_rs_check_ast.cpp
lang_rs_check_ast.h
ests/F_vector_cast/stderr.txt.expect
ests/F_vector_cast/stdout.txt.expect
ests/F_vector_cast/vector_cast.rs
35626d1d34c548fffad4f3f2826749dae71914a3 07-May-2013 Stephen Hines <srhines@google.com> Update tests for v19.

Change-Id: I490c9f5cd1043055a7f3c8a22c3262f8e47ecdfd
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
4b3f3bada7155de983e7d92fa8b20091629b3bb3 07-May-2013 Stephen Hines <srhines@google.com> Adapt llvm-rs-cc for LLVM/Clang update.

Change-Id: Ic38ebc1d824f6d3ae26c6b354336a01b52d46136
lang.cpp
lang.h
lang_rs.h
lang_rs_object_ref_count.cpp
075b42c9b9747aafd4496169b872d4ef15d765a8 28-Mar-2013 Stephen Hines <srhines@google.com> am 9d234b6c: Fix filename-escaping for Windows paths.

* commit '9d234b6c83c9d6baab71433fdecab6bfde34a956':
Fix filename-escaping for Windows paths.
9d234b6c83c9d6baab71433fdecab6bfde34a956 26-Mar-2013 Stephen Hines <srhines@google.com> Fix filename-escaping for Windows paths.

Change-Id: I0070d0f96093490c664545cd61a42137e374798f
tests/P_str_escape/str\\\\escape.rs"
lang_rs_reflection.cpp
ests/P_str_escape/stderr.txt.expect
ests/P_str_escape/stdout.txt.expect
648dacdbc4933066d5f9e27e2089df0920dcb549 20-Mar-2013 Stephen Hines <srhines@google.com> am 82d72886: Update slang for LLVM/Clang rebase.

* commit '82d7288620fade361dd8f7408b5db54a55c2c794':
Update slang for LLVM/Clang rebase.
82d7288620fade361dd8f7408b5db54a55c2c794 19-Mar-2013 Stephen Hines <srhines@google.com> Update slang for LLVM/Clang rebase.

Change-Id: I80217ebbc4d5783afd34bd49b800dcc9cbff6427
lang_rs_object_ref_count.cpp
14eec71ec3aed9df393a39a5cfade21897c866ec 11-Mar-2013 Jean-Baptiste Queru <jbq@google.com> am 4a2e54c7: (-s ours) am 9f9d5bfe: am 55d176e6: am b5beb2b3: (-s ours) am af11e9a6: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '4a2e54c7642d97873cc9f0d6c4387a0b0aa5a697':
4a2e54c7642d97873cc9f0d6c4387a0b0aa5a697 11-Mar-2013 Jean-Baptiste Queru <jbq@google.com> am 9f9d5bfe: am 55d176e6: am b5beb2b3: (-s ours) am af11e9a6: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '9f9d5bfe8673a6e7274ae50222bd09c623205d59':
9f9d5bfe8673a6e7274ae50222bd09c623205d59 11-Mar-2013 Jean-Baptiste Queru <jbq@google.com> am 55d176e6: am b5beb2b3: (-s ours) am af11e9a6: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '55d176e66934371b24a448a145bc0d2b64ea470d':
55d176e66934371b24a448a145bc0d2b64ea470d 11-Mar-2013 Jean-Baptiste Queru <jbq@google.com> am b5beb2b3: (-s ours) am af11e9a6: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'b5beb2b3d7c808aee25dfa3f87918438df69f4f5':
b5beb2b3d7c808aee25dfa3f87918438df69f4f5 11-Mar-2013 Jean-Baptiste Queru <jbq@google.com> am af11e9a6: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'af11e9a60b569ce2d9655648356ea32d0d9a375d':
af11e9a60b569ce2d9655648356ea32d0d9a375d 11-Mar-2013 Jean-Baptiste Queru <jbq@google.com> Reconcile with jb-mr1-release - do not merge
0da7f6c8201b27938d3b9f048d71fd784cd1df9a 06-Mar-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r176139.

Change-Id: I0d0d32893b4638eef298c99ac8c862c9a9bca1a6
ndroid.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9/ValueEnumerator.h
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/ValueEnumerator.cpp
itWriter_2_9_func/ValueEnumerator.h
itWriter_3_2/BitcodeWriter.cpp
itWriter_3_2/ValueEnumerator.cpp
itWriter_3_2/ValueEnumerator.h
lang.cpp
lang_backend.cpp
lang_rs.h
bfe3e9729efcd5db389cc0e46fff662fd0c1f8b5 27-Feb-2013 Stephen Hines <srhines@google.com> Make llvm-rs-cc build with libclang.so/libLLVM.so.

Change-Id: Iecba3947abf5c129e667b130de247f886e3795e3
ndroid.mk
50974740c0c5c52dd766264139a01702fbc138af 13-Feb-2013 Stephen Hines <srhines@google.com> Enable reflection of clipped kernels.

Change-Id: Ie7ee7267e562dc253192bfca38f7b5261d49e508
lang_rs_reflection.cpp
lang_version.h
bfc6d48209582d649c59511e97ebf07c1d44f080 26-Jan-2013 Stephen Hines <srhines@google.com> Remove the unused llvm-rs-link binary.

This hasn't been used or maintained for quite some time, and it serves no
purpose for Renderscript today.

Change-Id: I5a4148159c96256a9231ff4e5ce8ba86ab4c114a
ndroid.mk
lvm-rs-link.cpp
b39955853528aa53376e40375af4bdf92dbb8cc2 26-Jan-2013 Stephen Hines <srhines@google.com> Add docs for -MD.

Change-Id: Iab83e3da183f1cb896d2058955338b328ca941a2
SCCOptions.td
4c7c95cab6a7baf46bbedaf6c2a67d93eafc3e66 22-Jan-2013 Stephen Hines <srhines@google.com> Merge "Skip reflection of resize() when building for the compatibility library."
23c4358f12bd9d0ba7166eceebd683db95a41b3f 10-Jan-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r171906 on 20130108.

Change-Id: I4cf3718041d8876d4a23a412b6b4fa4226ec3b50
ndroid.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/BitcodeWriterPass.cpp
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9/ValueEnumerator.h
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/BitcodeWriterPass.cpp
itWriter_2_9_func/ValueEnumerator.cpp
itWriter_2_9_func/ValueEnumerator.h
itWriter_3_2/BitcodeWriter.cpp
itWriter_3_2/ValueEnumerator.cpp
itWriter_3_2/ValueEnumerator.h
SCCOptions.td
lvm-rs-cc.cpp
lvm-rs-link.cpp
lang.cpp
lang.h
lang_backend.cpp
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_foreach.cpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_object_ref_count.cpp
lang_rs_pragma_handler.cpp
82754d87921c94e70562aa977cc92e28fc38b1d0 19-Jan-2013 Stephen Hines <srhines@google.com> Skip reflection of resize() when building for the compatibility library.

Change-Id: I2669914b3139756a8cf559ed99b845e77df87df0
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflection.cpp
f69e1e58cf65555c4be3f6c5c53f89eb044f1db5 17-Jan-2013 Tim Murray <timmurray@google.com> Fix struct reflection with compat lib.

Change-Id: Iccbf509890bb980fab53c3dcf2d652c24ec79cfb
lang_rs_reflection.cpp
d711dec946b6408791ca59eb98e363ef04bbd4aa 09-Jan-2013 Stephen Hines <srhines@google.com> Add BitWriter_3_2 for JB+ target API.

This change switches llvm-rs-cc to use a single format for JB+ target API
LLVM bitcode. This simplifies upstream rebases, considering the divergent
compressed bitcode format that will be present in LLVM 3.3. We may move
back to using the upstream BitWriter again at some point in the future, but
for now, it seems like the best choice is to stick with the 3.2 format.

Change-Id: I8cfc54d7da7c7168f8f0d5f8fc24c2598b81aff8
ndroid.mk
itWriter_3_2/Android.mk
itWriter_3_2/BitcodeWriter.cpp
itWriter_3_2/BitcodeWriterPass.cpp
itWriter_3_2/ReaderWriter_3_2.h
itWriter_3_2/ValueEnumerator.cpp
itWriter_3_2/ValueEnumerator.h
lang_backend.cpp
b0fabe574945bfa85e688e77e9dcb5341fe08840 08-Jan-2013 Stephen Hines <srhines@google.com> Fix rs_matrix destructor issue.

Bug: 7949301

This change fixes the destructor issue for rs_matrix types. We need to skip
creating a destructor if there are no reference-counted RS object types in
the struct. We still need to zero-init all RS object types (ref-counted or
not, as is the case for rs_matrix*). I also fix another issue where a missing
struct definition could cause an early parser crash (i.e. before the standard
clang errors kick in and notice that you are using an undefined struct).

Change-Id: If2009d96f35a8cb693431aaeae3cb4b5642695fa
lang_rs_export_type.cpp
lang_rs_object_ref_count.cpp
ests/P_refcount/refcount.rs
ests/P_refcount/stdout.txt.expect
9221935c8a5cb48a53d7d316bbe0d860baf4a22e 13-Dec-2012 Stephen Hines <srhines@google.com> Switch back to the old mechanism for API version.

It turns out that the API version was recently bumped in build/, but a
clean build of slang was needed to recognize it (actually just
slang_version.h).

Change-Id: I0e453c86bc700bb9659e23f37bde0d0c8a16f6b6
ndroid.mk
lang_version.h
3474fb64fbefec9a61ceef6370734b8549dd1ec6 13-Dec-2012 Stephen Hines <srhines@google.com> Update API (RS_VERSION) to 18.

Doing version numbering based on the platform build is unstable and still
prone to breakage. This way, we can always update the tests immediately,
instead of just seeing them fail some random day when someone bumps the
platform version.

Change-Id: Ifde36eb63cbb546c0fed691ea573f2360b1dff40
ndroid.mk
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
3598a79e8974da95333ecc460c2c2e0ce8bbe319 12-Dec-2012 Stephen Hines <srhines@google.com> Merge "Add tests for Target API 17."
089cde338148fbb75825aea4539ccdae8211ffef 08-Dec-2012 Stephen Hines <srhines@google.com> Forbid non-const static variables in kernels.

Bug: 7688011
Change-Id: If03084a9ece76478e0ed0847b75f09c41b89a500
lang_rs_check_ast.cpp
lang_rs_check_ast.h
lang_rs_context.cpp
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
ests/F_kernel_static/kernel_static.rs
ests/F_kernel_static/stderr.txt.expect
ests/F_kernel_static/stdout.txt.expect
07cb5ad88e496e768c37b413ef39ad58de91713d 08-Dec-2012 Stephen Hines <srhines@google.com> Add tests for Target API 17.

Change-Id: Ib35780001929655c21a24c4a0c78ef1a5eb27137
ests/P_set_target_api_17/IN_CTS
ests/P_set_target_api_17/set_target_api_17.rs
ests/P_set_target_api_17/stderr.txt.expect
ests/P_set_target_api_17/stdout.txt.expect
0c8eee443cbdccb1b51d138d19e055bd388707dc 01-Dec-2012 Stephen Hines <srhines@google.com> Merge "Fix C++ ForEach reflection (bad usrData args)."
0cb30759c7f9d893e29dea643fb67a6dbe48a52d 30-Nov-2012 Stephen Hines <srhines@google.com> am 7261accf: am f7f66c5c: am 68c072cf: Fix overly strict check for float3 in structures.

* commit '7261accf8db7b6d2cae0a783fe3d6be3c5ffa083':
Fix overly strict check for float3 in structures.
7261accf8db7b6d2cae0a783fe3d6be3c5ffa083 30-Nov-2012 Stephen Hines <srhines@google.com> am f7f66c5c: am 68c072cf: Fix overly strict check for float3 in structures.

* commit 'f7f66c5cfa9e6f7dd56edd3e30d95d64bcd22c17':
Fix overly strict check for float3 in structures.
f7f66c5cfa9e6f7dd56edd3e30d95d64bcd22c17 30-Nov-2012 Stephen Hines <srhines@google.com> am 68c072cf: Fix overly strict check for float3 in structures.

* commit '68c072cfbb2430b55478350ac74aa5279ae4d9be':
Fix overly strict check for float3 in structures.
c7faa4685c1c067d65ab22d115c33c7808e79a3a 30-Nov-2012 Stephen Hines <srhines@google.com> am af35c8e6: Merge "Fix overly strict check for float3 in structures."

* commit 'af35c8e6ad053bc5f2323ebbda3c347cb7d79414':
Fix overly strict check for float3 in structures.
68c072cfbb2430b55478350ac74aa5279ae4d9be 28-Nov-2012 Stephen Hines <srhines@google.com> Fix overly strict check for float3 in structures.

We were accidentally being too strict and generating an error for float3
in structures, even when they were not exported. This change restores the
original functionality.

Change-Id: I8f0b5881d670c37a23ca2efc575440a083befcbe
lang_rs_export_type.cpp
ests/P_static_struct/static_struct.rs
ests/P_static_struct/stderr.txt.expect
ests/P_static_struct/stdout.txt.expect
af35c8e6ad053bc5f2323ebbda3c347cb7d79414 29-Nov-2012 Stephen Hines <srhines@google.com> Merge "Fix overly strict check for float3 in structures."
fdae63e8142f56521813f59e0c506ed3a1636021 28-Nov-2012 Stephen Hines <srhines@google.com> Fix overly strict check for float3 in structures.

We were accidentally being too strict and generating an error for float3
in structures, even when they were not exported. This change restores the
original functionality.

Change-Id: I8f0b5881d670c37a23ca2efc575440a083befcbe
lang_rs_export_type.cpp
ests/P_static_struct/static_struct.rs
ests/P_static_struct/stderr.txt.expect
ests/P_static_struct/stdout.txt.expect
7dd6da2077ad17ea59f4239f5275074bf5642859 16-Nov-2012 Stephen Hines <srhines@google.com> Fix C++ ForEach reflection (bad usrData args).

This fixes issues with the following areas:
1) usrData arguments to kernels.
2) set vs. bind for export variables.
3) improved argument handling for kernels/invoke.

Bug: 5972398
Change-Id: I09a7b9198c45ab6e2d10b2abae1727ee0e559736
lang_rs_reflection.cpp
lang_rs_reflection_base.h
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
ests/P_export_types/export_types.rs
ests/P_kernel_cpp/stdout.txt.expect
140b9d42e15b6a8b867f9dcd09a36a41f74eabbf 16-Nov-2012 Tim Murray <timmurray@google.com> Change namespace from renderscriptCpp to RSC

Change-Id: I05595e0e6c0cb279c551661e7bc328badab28ada
lang_rs_reflection_cpp.cpp
713377ec412f448273158c954f6816f07f8bcd20 15-Nov-2012 Stephen Hines <srhines@google.com> Argument passing with reflected C++ invoke functions.

Bug: 5972398
Change-Id: I3c4c1f59c15a7e3fa094a9ddcf74b6a1c1899c71
lang_rs_reflection_cpp.cpp
02a9826b586f765a95e3c75bd6080c4ee8e2e911 14-Nov-2012 Stephen Hines <srhines@google.com> Fix style issues with C++ reflection.

Change-Id: I29c5e25864afd6f33a43762be6d66260c509084b
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
38dceea4b8e90f326c90252d3c2762914d3ee6a5 14-Nov-2012 Stephen Hines <srhines@google.com> Start to handle invoke, plus fix global C++ reflection.

Bug: 5972398
Change-Id: Ic8356e712d62e158b15b0fac6c5a0ef1437fcdcd
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
2936d9e62c883fa4e2699e2d08a0fdefca388830 13-Nov-2012 Stephen Hines <srhines@google.com> Emit out parameter in C++ reflection for kernels.

Change-Id: I58a819e8b3640836011bd10640735070248b3fb5
lang_rs_reflection_cpp.cpp
ests/P_kernel_cpp/kernel_cpp.rs
ests/P_kernel_cpp/stderr.txt.expect
ests/P_kernel_cpp/stdout.txt.expect
b7230a41f42b7e63f158ff837659d377c34f552f 06-Nov-2012 Tim Murray <timmurray@google.com> Merge "Move to RenderScript.h and new sp<RS> API"
0102aa80c6af71aa6d643358b45a6688e06b929e 06-Nov-2012 The Android Open Source Project <initial-contribution@android.com> am 0fd6b1d1: (-s ours) am 76572c63: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit '0fd6b1d1e2acf2ad5f35f83fcdbdb30f0e1c4eb5':
0fd6b1d1e2acf2ad5f35f83fcdbdb30f0e1c4eb5 06-Nov-2012 The Android Open Source Project <initial-contribution@android.com> am 76572c63: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit '76572c63b8615b55a7883dcf40024653436be4c9':
76572c63b8615b55a7883dcf40024653436be4c9 06-Nov-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: I10aa690a24bdda6d980ae5ab4f90ab5fa02ba165
c7f19ef041bb80902901b78bc4b939692206f26f 03-Nov-2012 Tim Murray <timmurray@google.com> Move to RenderScript.h and new sp<RS> API

Change-Id: I2c7b644aa0aae765a2da44084f394a9781dfd633
lang_rs_reflection_cpp.cpp
531df5ae8ac08d750fe9dd713de541191925bd0b 31-Oct-2012 Tim Murray <timmurray@google.com> Merge "Fix reflected resource name in C++."
aa270e6f5865229dca0adbddb1783b1bc21cb231 31-Oct-2012 Tim Murray <timmurray@google.com> Fix reflected resource name in C++.

Change-Id: Idb4448cfaa4b8edea201679135eac1273d3cc9fa
lang_rs_reflection_cpp.cpp
c2f83b888d0f732d488c285108aca2b5838ca89e 31-Oct-2012 The Android Open Source Project <initial-contribution@android.com> am 4cdfb578: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '4cdfb578e5032b37fe61e4580a55f6f39e369e87':
4cdfb578e5032b37fe61e4580a55f6f39e369e87 31-Oct-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-release - do not merge

Change-Id: I053fb3350a4b391b9d9ae497ed514a65a26cb002
5fe50819a621ce7d0f3ac701459498eeab5a23d6 17-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
0987fb39007f6392a0169376374d2d1289699407 16-Oct-2012 Stephen Hines <srhines@google.com> am 0b864ffc: am 28d60bc2: Only generate getFieldID_*() for non-Pointer (bind) types.

* commit '0b864ffcd558694da9d967c6079ac696937e6123':
Only generate getFieldID_*() for non-Pointer (bind) types.
0b864ffcd558694da9d967c6079ac696937e6123 16-Oct-2012 Stephen Hines <srhines@google.com> am 28d60bc2: Only generate getFieldID_*() for non-Pointer (bind) types.

* commit '28d60bc2da19821af82d983902c3c78c078343c3':
Only generate getFieldID_*() for non-Pointer (bind) types.
28d60bc2da19821af82d983902c3c78c078343c3 16-Oct-2012 Stephen Hines <srhines@google.com> Only generate getFieldID_*() for non-Pointer (bind) types.

Bug: 7318821
Change-Id: Ic043f75a1a1a2a6f4a0b6d90ab3f1d053012d8c7
lang_rs_reflection.cpp
lang_rs_reflection.h
8d90f43bd8944283b8832dc1bdb340feb03178c8 15-Oct-2012 The Android Open Source Project <initial-contribution@android.com> am 490371b6: (-s ours) Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit '490371b6b41d00a9fff1883a29019317f84cde7d':
490371b6b41d00a9fff1883a29019317f84cde7d 15-Oct-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: I23a7b7a0ce000210b707617617e7dc1e768f4744
394bb4549513bfc3555d7323e0c8841f93d97e0f 13-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-factory-release history after reset to jb-mr1-dev
75fa8f64cd0e50c4db8800c25649a319d6dfb2b3 13-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
d0acd4d8be2eb2cb252c679ab15a360ebfee03a3 12-Oct-2012 Tim Murray <timmurray@google.com> am 80547c06: am 9e06c521: Merge "Add support for getting arbitrary kernel and field IDs." into jb-mr1-dev

* commit '80547c065e62843f3609d85f2647d6b5ab4e2ed8':
Add support for getting arbitrary kernel and field IDs.
80547c065e62843f3609d85f2647d6b5ab4e2ed8 12-Oct-2012 Tim Murray <timmurray@google.com> am 9e06c521: Merge "Add support for getting arbitrary kernel and field IDs." into jb-mr1-dev

* commit '9e06c521bc29439457f33ad1c0d9153626dc00bd':
Add support for getting arbitrary kernel and field IDs.
9e06c521bc29439457f33ad1c0d9153626dc00bd 12-Oct-2012 Tim Murray <timmurray@google.com> Merge "Add support for getting arbitrary kernel and field IDs." into jb-mr1-dev
140efb3e1e7f1ac5ee9da452329f9f5e6c4eed11 12-Oct-2012 Stephen Hines <srhines@google.com> am 5336159e: am 11274a73: Validate FS (and RS) ASTs.

* commit '5336159ece383e1542e5ca6425309d2e1c28d917':
Validate FS (and RS) ASTs.
5336159ece383e1542e5ca6425309d2e1c28d917 12-Oct-2012 Stephen Hines <srhines@google.com> am 11274a73: Validate FS (and RS) ASTs.

* commit '11274a7324b478ec13e1d10a1b81350b34a65ab1':
Validate FS (and RS) ASTs.
f908225bd8f0d7c2099054b6f5d355db19957d8e 12-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-factory-release history after reset to jb-mr1-dev
15a02d0926d68f3dcba58a6fdd273a3170fe829f 12-Oct-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
2481557c30a9133495db10681a36c15c6ce47541 12-Oct-2012 Stephen Hines <srhines@google.com> am a5e349fc: am cf9a73a4: Fix teardown bug for multiple files without pragma.

* commit 'a5e349fcef0ae262d8a5d8d26b0aabe3fa8b6b0b':
Fix teardown bug for multiple files without pragma.
a5e349fcef0ae262d8a5d8d26b0aabe3fa8b6b0b 12-Oct-2012 Stephen Hines <srhines@google.com> am cf9a73a4: Fix teardown bug for multiple files without pragma.

* commit 'cf9a73a4140402c0e9e4fbab27477f22cc7d8e3c':
Fix teardown bug for multiple files without pragma.
11274a7324b478ec13e1d10a1b81350b34a65ab1 27-Sep-2012 Stephen Hines <srhines@google.com> Validate FS (and RS) ASTs.

This change adds a new RSCheckAST class that is used to handle validation
of the final AST. The checks include existing RS checks (for accepted types)
and new checks for Filterscript (like disallowing pointers, unions and
> 32 bit types completely). The refactoring also fixes a subtle union bug
that existed in prior versions of llvm-rs-cc. We also add an implicit
pragma for "rs_fp_relaxed" by default on Filterscript.

Bug: 7166741

Change-Id: Ia077783b4caba0bbd89df2ab3827e9f4d1009eea
ndroid.mk
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_check_ast.cpp
lang_rs_check_ast.h
lang_rs_export_type.cpp
lang_rs_export_type.h
ests/F_fs_oldkernel/fs_oldkernel.fs
ests/F_fs_oldkernel/stderr.txt.expect
ests/F_fs_oldkernel/stdout.txt.expect
ests/F_fs_ptr/fs_ptr.fs
ests/F_fs_ptr/stderr.txt.expect
ests/F_fs_ptr/stdout.txt.expect
ests/F_fs_types/fs_types.fs
ests/F_fs_types/stderr.txt.expect
ests/F_fs_types/stdout.txt.expect
ests/F_union/stderr.txt.expect
ests/F_union/union.rs
ests/P_fs_kernel/fs_kernel.fs
ests/P_fs_kernel/stderr.txt.expect
ests/P_fs_kernel/stdout.txt.expect
ests/test.py
cf9a73a4140402c0e9e4fbab27477f22cc7d8e3c 20-Sep-2012 Stephen Hines <srhines@google.com> Fix teardown bug for multiple files without pragma.

This previously caused a segmentation fault in llvm-rs-cc. We were
improperly using the DiagnosticsEngine after we had reset() everything.

Bug: 7202787

Change-Id: Ic8522566ef257e70f16caf34b89f6a8e012908c5
lang_rs.cpp
lang_rs_backend.cpp
lang_rs_context.cpp
ests/F_no_pragma/first.rs
ests/F_no_pragma/second.rs
ests/F_no_pragma/stderr.txt.expect
ests/F_no_pragma/stdout.txt.expect
b81a993cc0fed2dabfb1abc8b23ab9bd1586f201 11-Oct-2012 Tim Murray <timmurray@google.com> Add support for getting arbitrary kernel and field IDs.

bug 7318821

Change-Id: I7f5999a8c6e6c2eb55d1bb502033eb9be02e55a8
lang_rs_reflection.cpp
b2fbbb91bd9d86e2dd56b2d102752e8c51aaafdf 28-Sep-2012 Tim Murray <timmurray@google.com> Enable C++ reflection, fixing many minor bugs in the process.

Change-Id: Icc694578b649b1fed9ea26654f2b0449ea14089c
lvm-rs-cc.cpp
lang_rs_reflection_base.cpp
lang_rs_reflection_base.h
lang_rs_reflection_cpp.cpp
881abe9f9491361f6980077f0457c7ddfbd42201 28-Sep-2012 Tim Murray <timmurray@google.com> Enable -O0 for Slang eng builds.

Change-Id: Ia9a9879b333403acfa100f32d78cec6f1a69f42d
ndroid.mk
8f4011b16ab6b04ab8e8889967b2f5622ae4d057 26-Sep-2012 The Android Open Source Project <initial-contribution@android.com> am e08bbe5b: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'e08bbe5b6d1d5db8f057c840773b435f869384cd':
e08bbe5b6d1d5db8f057c840773b435f869384cd 26-Sep-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-release - do not merge

Change-Id: I68b07c439ec2c5cb069ce492455ab161cb749e8a
7006f99d926cecbd07aef133ced9540e6d5f8052 26-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
97bb5a9f987c40ea2ae82cfd7d46aec23735e998 26-Sep-2012 Stephen Hines <srhines@google.com> am dda6e11b: am bcae1fe6: Switch to FieldPacker for signed sub-integer types.

* commit 'dda6e11b99f803fe363f49fad30b53fcf2772bb3':
Switch to FieldPacker for signed sub-integer types.
dda6e11b99f803fe363f49fad30b53fcf2772bb3 26-Sep-2012 Stephen Hines <srhines@google.com> am bcae1fe6: Switch to FieldPacker for signed sub-integer types.

* commit 'bcae1fe692a8c5d9225a9699a932380b5659a735':
Switch to FieldPacker for signed sub-integer types.
bcae1fe692a8c5d9225a9699a932380b5659a735 26-Sep-2012 Stephen Hines <srhines@google.com> Switch to FieldPacker for signed sub-integer types.

The issue here is that all of our small Java primitive types (byte, short,
char) get promoted/passed as int. This in turn causes our setVar() to do
a 4-byte memcpy() instead of the proper (smaller) amount.

Bug: 6865598
Change-Id: I404c3bb6024686d1274229a73feec1e6c7e3fc7b
lang_rs_reflection.cpp
b4cf28d1d6da4d18d43791ff68364d81867c4a44 20-Sep-2012 The Android Open Source Project <initial-contribution@android.com> am 2b479c79: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '2b479c79a60c142eb0dd112572d96f496bdcc93b':
2b479c79a60c142eb0dd112572d96f496bdcc93b 20-Sep-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-release - do not merge

Change-Id: Ie7e896317ed95f87808a7467332685fb38e4ae1b
14d5555e3e7bd8baa8c22de383313584af015f52 20-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
7f273a8f46df0f4a576a25f53ba10d2daf6ccfea 20-Sep-2012 Stephen Hines <srhines@google.com> am 770c3a79: am 9ca96e70: Support for pass-by-value kernels.

* commit '770c3a79216e65f844cab398c3a4b689b875578f':
Support for pass-by-value kernels.
770c3a79216e65f844cab398c3a4b689b875578f 19-Sep-2012 Stephen Hines <srhines@google.com> am 9ca96e70: Support for pass-by-value kernels.

* commit '9ca96e70657cf5437a294213f56ba4768dc08ad2':
Support for pass-by-value kernels.
9ca96e70657cf5437a294213f56ba4768dc08ad2 14-Sep-2012 Stephen Hines <srhines@google.com> Support for pass-by-value kernels.

This change allows the JB-mr1+ target API to declare compute kernels
using "__attribute__((kernel))". This disables the use of pointers in the
function signature and forces any output to be explicitly returned and
input to be passed only by value. We still allow the user to add x, y
coordinates if they want them.

Bug: 7166741

Change-Id: I1407fceefb11c7d6c17221ca156cfce443c2b218
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_reflection.cpp
ests/F_kernel_16/kernel_16.rs
ests/F_kernel_16/stderr.txt.expect
ests/F_kernel_16/stdout.txt.expect
ests/F_kernel_badsig/kernel_badsig.rs
ests/F_kernel_badsig/stderr.txt.expect
ests/F_kernel_badsig/stdout.txt.expect
ests/F_kernel_noattr/kernel_noattr.rs
ests/F_kernel_noattr/stderr.txt.expect
ests/F_kernel_noattr/stdout.txt.expect
ests/F_kernel_ptr_param/kernel_ptr_param.rs
ests/F_kernel_ptr_param/stderr.txt.expect
ests/F_kernel_ptr_param/stdout.txt.expect
ests/F_kernel_ptr_ret_val/kernel_ptr_ret_val.rs
ests/F_kernel_ptr_ret_val/stderr.txt.expect
ests/F_kernel_ptr_ret_val/stdout.txt.expect
ests/P_kernel/kernel.rs
ests/P_kernel/stderr.txt.expect
ests/P_kernel/stdout.txt.expect
3a58eae0521d4a0ce85730ace4b897fe87cca18f 14-Sep-2012 Stephen Hines <srhines@google.com> am 3754bfd4: am 58fcd13c: Merge "Fix up slang for merge through LLVM r163557." into jb-mr1-dev

* commit '3754bfd4d645a501c93ca1713eb27bc70121906a':
Fix up slang for merge through LLVM r163557.
918fd46b5d5e67b755034b27817c7fff5ee60cb6 14-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
3754bfd4d645a501c93ca1713eb27bc70121906a 14-Sep-2012 Stephen Hines <srhines@google.com> am 58fcd13c: Merge "Fix up slang for merge through LLVM r163557." into jb-mr1-dev

* commit '58fcd13c1646ee303f844484935a827b4380b08c':
Fix up slang for merge through LLVM r163557.
58fcd13c1646ee303f844484935a827b4380b08c 14-Sep-2012 Stephen Hines <srhines@google.com> Merge "Fix up slang for merge through LLVM r163557." into jb-mr1-dev
e6e9db9a5b9f1c299d5f4c8cdddea356748809b8 13-Sep-2012 Stephen Hines <srhines@google.com> am 21b7050e: am d2936939: Simpler ScriptC constructors

* commit '21b7050eacf0712195589df0a369e24871f2fca4':
Simpler ScriptC constructors
0375227dc0ddda1b479802a528aabceb0fcec0b2 13-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
21b7050eacf0712195589df0a369e24871f2fca4 13-Sep-2012 Stephen Hines <srhines@google.com> am d2936939: Simpler ScriptC constructors

* commit 'd2936939ec10879e25746322db60071f79f28c1b':
Simpler ScriptC constructors
d2936939ec10879e25746322db60071f79f28c1b 13-Sep-2012 Stephen Hines <srhines@google.com> Simpler ScriptC constructors

This change replaces the old 3-argument version of reflected ScriptC
constructors with a new single argument (just the RenderScript object).
We can do this safely because there are lookup functions for Resources
and resource IDs directly in the Android API (and accessible via the
RenderScript object). For now, we are still reflecting the legacy version
of the constructor as well, since all existing app source code would be
using it.

Change-Id: I362d6e2bea0f580630b5da9049df029b0f8d7620
lang_rs_reflection.cpp
1dfc415431ddd360354fecfcd9b12dcaf686355a 11-Sep-2012 Stephen Hines <srhines@google.com> Fix up slang for merge through LLVM r163557.

Adapt to use of ArrayRef instead of C array + length pairs for some
types of argument passing.

Change-Id: I133c059f32ae1b2e55ebb2473e642faa62d49714
lang_rs_object_ref_count.cpp
e6398735e7076b8ab23114a5a9983dd396081400 06-Sep-2012 The Android Open Source Project <initial-contribution@android.com> am 75572338: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '75572338db212bca2c9f0a63fa1f943a5f0cdb5f':
75572338db212bca2c9f0a63fa1f943a5f0cdb5f 06-Sep-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-release - do not merge

Change-Id: I314ff148d62da6265b910056982d55d3608f8b40
e94fff564a22af27fb73c18a71b9ce72483ec513 06-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
aa4010592c14b4f163fe31e20a3bc359174c690c 06-Sep-2012 Stephen Hines <srhines@google.com> am 524694c4: am 529e07e9: Merge "Fix up slang for LLVM upstream merge to r162314." into jb-mr1-dev

* commit '524694c49491eb2e584fef25a5cccd2f103d5545':
Fix up slang for LLVM upstream merge to r162314.
524694c49491eb2e584fef25a5cccd2f103d5545 06-Sep-2012 Stephen Hines <srhines@google.com> am 529e07e9: Merge "Fix up slang for LLVM upstream merge to r162314." into jb-mr1-dev

* commit '529e07e9dece7df93e06932630b483c184933eb8':
Fix up slang for LLVM upstream merge to r162314.
529e07e9dece7df93e06932630b483c184933eb8 06-Sep-2012 Stephen Hines <srhines@google.com> Merge "Fix up slang for LLVM upstream merge to r162314." into jb-mr1-dev
50d2882a7f0b5fd16e843f7e3fe75fa56818a76d 05-Sep-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
6dff598b7693016027fce9cc939cd53580ed6427 04-Sep-2012 Stephen Hines <srhines@google.com> am 996373c4: am b13b85e3: Structs containing vectors of dimension 3 cannot be exported before ICS.

* commit '996373c420e7ad150c8ddfcc57d84d2baf4fb420':
Structs containing vectors of dimension 3 cannot be exported before ICS.
996373c420e7ad150c8ddfcc57d84d2baf4fb420 04-Sep-2012 Stephen Hines <srhines@google.com> am b13b85e3: Structs containing vectors of dimension 3 cannot be exported before ICS.

* commit 'b13b85e31ac978254cb1ed7653f149f8a3eef460':
Structs containing vectors of dimension 3 cannot be exported before ICS.
b13b85e31ac978254cb1ed7653f149f8a3eef460 01-Sep-2012 Stephen Hines <srhines@google.com> Structs containing vectors of dimension 3 cannot be exported before ICS.

BUG=5609007
BUG=34600 (http://code.google.com/p/android/issues/detail?id=34600)

We forbid the use of things like float3 in exported structures for older
target APIs, because it results in a runtime exception every time. This is
due to not padding the elements appropriately on the driver-side, while the
LLVM representation is padded.

Change-Id: I297af3418e733f0ab3996999be4a8f746f24da40
lang_rs_export_type.cpp
ests/F_float3_v13/float3_v13.rs
ests/F_float3_v13/stderr.txt.expect
ests/F_float3_v13/stdout.txt.expect
376dc03c6bb42050ddd8a56d1a3e3c6f5d6f6e1d 23-Aug-2012 Stephen Hines <srhines@google.com> Fix up slang for LLVM upstream merge to r162314.

Change-Id: Id3471daa7eee87c19c46dab8ffd972d52183440a
ndroid.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9_func/BitcodeWriter.cpp
04ec72bca7a0a515c90367f208501c1415e37455 08-Aug-2012 The Android Open Source Project <initial-contribution@android.com> am 642b0b71: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '642b0b71a3557915687c1bed1a57ac326a308507':
642b0b71a3557915687c1bed1a57ac326a308507 08-Aug-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-release - do not merge

Change-Id: Ic403828b8524b7e72d3599956329d14fcc34a131
3849e084af621813f4dad8707f9bb55b42f1d05e 08-Aug-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
456dd07b463a83fca210c26d5364eb9def28fb8e 07-Aug-2012 Stephen Hines <srhines@google.com> am 34bd8834: am d7704b7d: Merge "Add RS-specific check forbidding array parameters in exported functions." into jb-mr1-dev

* commit '34bd88349f16bde917c022fab7971a85050f6a74':
Add RS-specific check forbidding array parameters in exported functions.
34bd88349f16bde917c022fab7971a85050f6a74 07-Aug-2012 Stephen Hines <srhines@google.com> am d7704b7d: Merge "Add RS-specific check forbidding array parameters in exported functions." into jb-mr1-dev

* commit 'd7704b7dbdc0550e1688166945a8f239f18b81b1':
Add RS-specific check forbidding array parameters in exported functions.
d7704b7dbdc0550e1688166945a8f239f18b81b1 07-Aug-2012 Stephen Hines <srhines@google.com> Merge "Add RS-specific check forbidding array parameters in exported functions." into jb-mr1-dev
37d476371849367f99e693b8d5302d7c69431f57 06-Aug-2012 The Android Open Source Project <initial-contribution@android.com> am d8e22f60: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'd8e22f60b7a215be7a73dc4dc0605a18610aebc3':
Expand case range values for legacy BitcodeWriter.
d8e22f60b7a215be7a73dc4dc0605a18610aebc3 06-Aug-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr1-release - do not merge

Change-Id: Iaf9173c88979b8cb2a62bc6d81be60886bbbfd80
3d266f898e7fcdaea60df1cb822d6a239c700268 06-Aug-2012 Shih-wei Liao <sliao@google.com> Expand case range values for legacy BitcodeWriter.

Change-Id: I8a9319c751c37f42d90476fd8de213a9a10bd07d
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/BitcodeWriterPass.cpp
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/BitcodeWriterPass.cpp
367bd4c9e6a5a5ae08e7385a5eb7329dab7024b3 06-Aug-2012 Shih-wei Liao <sliao@google.com> am 7c59061a: am dbfe3fab: Expand case range values for legacy BitcodeWriter.

* commit '7c59061a8bdf3450d187ce958444b04067ab72f6':
Expand case range values for legacy BitcodeWriter.
7c59061a8bdf3450d187ce958444b04067ab72f6 06-Aug-2012 Shih-wei Liao <sliao@google.com> am dbfe3fab: Expand case range values for legacy BitcodeWriter.

* commit 'dbfe3fabb0b82d9c73e4a48a0bc3ebb6a9cda593':
Expand case range values for legacy BitcodeWriter.
dbfe3fabb0b82d9c73e4a48a0bc3ebb6a9cda593 06-Aug-2012 Shih-wei Liao <sliao@google.com> Expand case range values for legacy BitcodeWriter.

Change-Id: I8a9319c751c37f42d90476fd8de213a9a10bd07d
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/BitcodeWriterPass.cpp
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/BitcodeWriterPass.cpp
ab5a535b290d898d0c56036f642d823e3472a804 05-Aug-2012 Stephen Hines <srhines@google.com> Add RS-specific check forbidding array parameters in exported functions.

BUG=6902660

Change-Id: I31f0f2b51026edf450e920a5dd49810f4b191eb0
lang_rs_backend.cpp
ests/F_const_array_arg/stderr.txt.expect
92985e64198fd01fa541154096d8dbe07bc2afe9 04-Aug-2012 Stephen Hines <srhines@google.com> am 917db47a: am 0a813a3e: Add RS package name option + support.

* commit '917db47a8aa42334072dae92631fead225f20697':
Add RS package name option + support.
917db47a8aa42334072dae92631fead225f20697 04-Aug-2012 Stephen Hines <srhines@google.com> am 0a813a3e: Add RS package name option + support.

* commit '0a813a3ef2a82f19d7eab9e23ae8493197143803':
Add RS package name option + support.
0a813a3ef2a82f19d7eab9e23ae8493197143803 04-Aug-2012 Stephen Hines <srhines@google.com> Add RS package name option + support.

Usage:
llvm-rs-cc -rs-package-name=android.renderscript ...
or
llvm-rs-cc -rs-package-name android.renderscript ...

This allows us to reflect a different import path for our base RS classes.
The default value is "android.renderscript", resulting in a reflection that
produces "import android.renderscript.*;".

Change-Id: Icf7e83b963ba70c803899697f49b41fdfb9586e7
SCCOptions.td
lvm-rs-cc.cpp
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflection.cpp
lang_rs_reflection.h
ests/P_rs_package_name/rs_package_name.rs
ests/P_rs_package_name/stderr.txt.expect
ests/P_rs_package_name/stdout.txt.expect
fdcca52d6bcb711614123981bb9e311f5cf8cc77 03-Aug-2012 Shih-wei Liao <sliao@google.com> am d716a262: am e37f7d34: Fix build.

* commit 'd716a262ab238861982e3356b58a0d80d054157d':
Fix build.
d716a262ab238861982e3356b58a0d80d054157d 03-Aug-2012 Shih-wei Liao <sliao@google.com> am e37f7d34: Fix build.

* commit 'e37f7d349704bdd8c94afad7c6021561787ec5c9':
Fix build.
e37f7d349704bdd8c94afad7c6021561787ec5c9 03-Aug-2012 Shih-wei Liao <sliao@google.com> Fix build.

Change-Id: I05078283396a9f85b176c930a9f6333f1d02bfae
lang_rs_export_var.cpp
c5c0fcb0811efa4ae7f28383b805dc560fd179ed 03-Aug-2012 Shih-wei Liao <sliao@google.com> am 85466cbe: am 43730fe3: Apply changes to migrate to CLANG-160673-20120724.

* commit '85466cbe1b0e0b86f95262a2e1eec0fe240a576d':
Apply changes to migrate to CLANG-160673-20120724.
85466cbe1b0e0b86f95262a2e1eec0fe240a576d 03-Aug-2012 Shih-wei Liao <sliao@google.com> am 43730fe3: Apply changes to migrate to CLANG-160673-20120724.

* commit '43730fe3c839af391efe6bdf56b0479860121924':
Apply changes to migrate to CLANG-160673-20120724.
43730fe3c839af391efe6bdf56b0479860121924 03-Aug-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate to CLANG-160673-20120724.

Change-Id: I666df2ff91532318883dd48ea1249178b2ebda81
ndroid.mk
lvm-rs-cc.cpp
lang.cpp
lang_rs_backend.cpp
lang_rs_export_foreach.cpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
f21c388fba1f64c8c929c71e03961648c2a2468b 03-Aug-2012 Stephen Hines <srhines@google.com> am 36f086f7: am 97df4339: Add test for constant array arguments to functions.

* commit '36f086f7742bc7ef5a52c797113db9d6e4e57f35':
Add test for constant array arguments to functions.
017504d0203f297ba01823feb07e32435941e853 03-Aug-2012 Stephen Hines <srhines@google.com> am c58418e1: am fe2b93dc: Update llvm-rs-cc version information for JB-MR1.

* commit 'c58418e1c236a25c82f9430a779f72db69c007d2':
Update llvm-rs-cc version information for JB-MR1.
96bae4544ce2a33ddf766cb461b9d7920cd93840 03-Aug-2012 Stephen Hines <srhines@google.com> am d41bfec0: am 52d132c5: Set LangOpts.Renderscript = 1.

* commit 'd41bfec0721065ee63b803ac30169eaee9a3cb75':
Set LangOpts.Renderscript = 1.
36f086f7742bc7ef5a52c797113db9d6e4e57f35 03-Aug-2012 Stephen Hines <srhines@google.com> am 97df4339: Add test for constant array arguments to functions.

* commit '97df4339465d340c101cbcd4ed109569b2e4ec60':
Add test for constant array arguments to functions.
c58418e1c236a25c82f9430a779f72db69c007d2 03-Aug-2012 Stephen Hines <srhines@google.com> am fe2b93dc: Update llvm-rs-cc version information for JB-MR1.

* commit 'fe2b93dc9e7d4f193fe6d8c050e849f012ab0754':
Update llvm-rs-cc version information for JB-MR1.
d41bfec0721065ee63b803ac30169eaee9a3cb75 03-Aug-2012 Stephen Hines <srhines@google.com> am 52d132c5: Set LangOpts.Renderscript = 1.

* commit '52d132c53a57c3bb4b517f87ec4f0148ef8a4216':
Set LangOpts.Renderscript = 1.
97df4339465d340c101cbcd4ed109569b2e4ec60 02-Aug-2012 Stephen Hines <srhines@google.com> Add test for constant array arguments to functions.

BUG=6902660

Change-Id: Ie4766fd6fe51eb4f6b195c91d44f27c3f6b83458
ests/F_const_array_arg/const_array_arg.rs
ests/F_const_array_arg/stderr.txt.expect
ests/F_const_array_arg/stdout.txt.expect
fe2b93dc9e7d4f193fe6d8c050e849f012ab0754 02-Aug-2012 Stephen Hines <srhines@google.com> Update llvm-rs-cc version information for JB-MR1.

Change-Id: I30e4212d7a5553534fae49be451d335de79bfcf3
lang_version.h
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
52d132c53a57c3bb4b517f87ec4f0148ef8a4216 02-Aug-2012 Stephen Hines <srhines@google.com> Set LangOpts.Renderscript = 1.

Change-Id: I7f80d124d11eeed776ce3acd520297fc0c3f08f6
lang.cpp
0122665a2ae48f2fbb54c71a27b6ce2fd43751b7 28-Jul-2012 The Android Open Source Project <initial-contribution@android.com> am f6939b1f: am 1d4afec2: am 6b071c38: Reconcile with jb-release

* commit 'f6939b1f01c0ecaf6a537b8e77397d7a5ce60814':
f6939b1f01c0ecaf6a537b8e77397d7a5ce60814 28-Jul-2012 The Android Open Source Project <initial-contribution@android.com> am 1d4afec2: am 6b071c38: Reconcile with jb-release

* commit '1d4afec296da19b858918e15129eb29cc97a3c5d':
1d4afec296da19b858918e15129eb29cc97a3c5d 28-Jul-2012 The Android Open Source Project <initial-contribution@android.com> am 6b071c38: Reconcile with jb-release

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

Change-Id: I979a9c3a28cf2b41f42ef66b5555f0efecbef672
b9ef5436a436d36c2b6067fa6127029cd6bc64f5 26-Jul-2012 Stephen Hines <srhines@google.com> am c205af02: am 4ec4465e: am fb6467b1: am 07ab0292: Merge "Fix reflection of setters for unsigned primitive types."

* commit 'c205af02f0a8bc215413b2ab9170c9490bd88037':
67653685e662d763700efdbdc4483ca61ed8f867 26-Jul-2012 Stephen Hines <srhines@google.com> am afb26c93: am 1f6c331d: Fix reflection of setters for unsigned primitive types.

* commit 'afb26c93c9cec80585c46ec661bd5e24e887678d':
c205af02f0a8bc215413b2ab9170c9490bd88037 26-Jul-2012 Stephen Hines <srhines@google.com> am 4ec4465e: am fb6467b1: am 07ab0292: Merge "Fix reflection of setters for unsigned primitive types."

* commit '4ec4465e9ccfcc2ae868c268cd7cdf2d5f909518':
afb26c93c9cec80585c46ec661bd5e24e887678d 26-Jul-2012 Stephen Hines <srhines@google.com> am 1f6c331d: Fix reflection of setters for unsigned primitive types.

* commit '1f6c331d622ac645ab68a016aa4c577998547373':
Fix reflection of setters for unsigned primitive types.
4ec4465e9ccfcc2ae868c268cd7cdf2d5f909518 26-Jul-2012 Stephen Hines <srhines@google.com> am fb6467b1: am 07ab0292: Merge "Fix reflection of setters for unsigned primitive types."

* commit 'fb6467b1b4d24add56845ae0c0a84fde04d3ede9':
Fix reflection of setters for unsigned primitive types.
fb6467b1b4d24add56845ae0c0a84fde04d3ede9 26-Jul-2012 Stephen Hines <srhines@google.com> am 07ab0292: Merge "Fix reflection of setters for unsigned primitive types."

* commit '07ab0292b39be7b1f0f9387300fa3382528cf621':
Fix reflection of setters for unsigned primitive types.
07ab0292b39be7b1f0f9387300fa3382528cf621 25-Jul-2012 Stephen Hines <srhines@google.com> Merge "Fix reflection of setters for unsigned primitive types."
f356a342fbf6aa84188a1d44d5a9d485a88d8e77 04-Jul-2012 Stephen Hines <srhines@google.com> Fix reflection of setters for unsigned primitive types.

BUG=6764163

We now generate set_*() functions for unsigned types by creating a single
element FieldPacker and stuffing it with the larger Dalvik type. Reusing
FieldPacker in this way allows us to validate that the input is non-negative
and within the appropriate range (i.e. not really using more bits than the
unsigned C type should).

This change also fixes a subtle race where the Dalvik and script side can
disagree about a variable's value. All set_*() methods need to be synchronized,
and we must do the Dalvik update after validating the input data.

Change-Id: I7b2371206848ebbf0b0752779cb6c98cec1ab5f6
lang_rs_export_type.h
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_type_spec.h
f609eac4dfbe627c8d90a378dcfdfac1b4865fbe 25-Jul-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
1f6c331d622ac645ab68a016aa4c577998547373 04-Jul-2012 Stephen Hines <srhines@google.com> Fix reflection of setters for unsigned primitive types.

BUG=6764163

We now generate set_*() functions for unsigned types by creating a single
element FieldPacker and stuffing it with the larger Dalvik type. Reusing
FieldPacker in this way allows us to validate that the input is non-negative
and within the appropriate range (i.e. not really using more bits than the
unsigned C type should).

This change also fixes a subtle race where the Dalvik and script side can
disagree about a variable's value. All set_*() methods need to be synchronized,
and we must do the Dalvik update after validating the input data.

Change-Id: I7b2371206848ebbf0b0752779cb6c98cec1ab5f6
lang_rs_export_type.h
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_type_spec.h
80a642b4594c00d45b9ce2e742c5715564d70dd5 19-Jul-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-mr0-release

Change-Id: I8d848c6cd34a68cb848e284bdc840e771a0f201c
803446da279063b561a0a70772b0e98683273b3a 19-Jul-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
bfee2d19ef3b630d3d1bd13dc1f5777b65091ea0 17-Jul-2012 The Android Automerger <android-build@android.com> merge in jb-mr0-release history after reset to jb-dev
a4e2c755e07d33ca2928d78e207317db2f0f80a6 17-Jul-2012 Stephen Hines <srhines@google.com> am d9bafc5b: Merge "Fix ConstantDataSequential bitcode encoding issue."

* commit 'd9bafc5bbe4ad15920a8606f6b194efbcee514cd':
Fix ConstantDataSequential bitcode encoding issue.
72ee9e3d44e1b70a1913a1d67932e1e2a5323f2f 17-Jul-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 5e9ab711 to jb-dev-plus-aosp

Change-Id: I0ea465b274d208f6731f04069802e0684690d3c7
2790c9fb2da9efde8d82f1c7758315c42f4847a6 17-Jul-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of b856e3fc to jb-dev-plus-aosp

Change-Id: I4ba117e8af6f3ffa5f17e21d63d4fb434bc19cc5
fde8f051763aa7bf23c7d64108f5723ab8288de5 17-Jul-2012 Stephen Hines <srhines@google.com> am 59e37365: Update compiler version to 1600 for JB.

* commit '59e37365ee690a7c4e8182faab9eb2b029193f91':
Update compiler version to 1600 for JB.
d9bafc5bbe4ad15920a8606f6b194efbcee514cd 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Fix ConstantDataSequential bitcode encoding issue."
5e9ab711a850d00536ece006ae440e2d93f4dd9b 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Update ValueEnumerator.* to be more like external/llvm/."
b856e3fc12ae0573095c7272e8a556c1c0eaa57e 17-Jul-2012 Stephen Hines <srhines@google.com> Merge "Place each ValueEnumerator in its own namespace."
59e37365ee690a7c4e8182faab9eb2b029193f91 16-Jul-2012 Stephen Hines <srhines@google.com> Update compiler version to 1600 for JB.

Change-Id: I216d7d2e26be9c52ea764fb59888c7047a0cbbd8
lang_version.h
484c85f172009b76fd6fdb6ddaa5f4aa70135f50 13-Jul-2012 Stephen Hines <srhines@google.com> Fix ConstantDataSequential bitcode encoding issue.

BUG=6806165

This resolves the issue with ConstantDataSequential being emitted incorrectly
for legacy bitcode formats that we support.

Change-Id: Ibb76e6b3e55cb80f2224bc77957c123cd1fcb287
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/ValueEnumerator.cpp
01a90ee2d2f65a01931d932d437a8f79c35c0553 13-Jul-2012 Stephen Hines <srhines@google.com> Update ValueEnumerator.* to be more like external/llvm/.

This change makes ValueEnumerator.cpp and ValueEnumerator.h more like
the copy in external/llvm on which they are already based. This allows us
to make sure that we are not missing any additional functionality (in this
case, the only differences were related to internal debugging dump()
functions).

Change-Id: I9a0eb1818fbd6436030482f7c290eb80aee8de8a
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9/ValueEnumerator.h
itWriter_2_9_func/ValueEnumerator.cpp
itWriter_2_9_func/ValueEnumerator.h
331994bf987efa0d40f33b5fdcdc01330c2aefe7 13-Jul-2012 Stephen Hines <srhines@google.com> Place each ValueEnumerator in its own namespace.

Without this change, we are actually picking up llvm::ValueEnumerator, which
is improper for our specialized writers.

Change-Id: I95990f592524293ce40092e069437febc5b2c49a
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9/ValueEnumerator.h
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/ValueEnumerator.cpp
itWriter_2_9_func/ValueEnumerator.h
cd3719fc3a4f1d55e6ee5e89c3a636f592bad2a8 14-Jul-2012 Stephen Hines <srhines@google.com> am db37c900: Fix ConstantDataSequential bitcode encoding issue.

* commit 'db37c900ebe6f0ae62a1f77327dd9e5a469ff11e':
Fix ConstantDataSequential bitcode encoding issue.
ecd37e0ceff2762fcf30b4c966ea254c55442443 14-Jul-2012 Stephen Hines <srhines@google.com> am a44912f8: Update ValueEnumerator.* to be more like external/llvm/.

* commit 'a44912f8876b6f830a4829286c27ef90c763469e':
Update ValueEnumerator.* to be more like external/llvm/.
7124867429e4ea615f21fd04086448cb7f318c15 14-Jul-2012 Stephen Hines <srhines@google.com> am 9937d116: Place each ValueEnumerator in its own namespace.

* commit '9937d116e09feb32d46a4c76eca1be6afcd3bed5':
Place each ValueEnumerator in its own namespace.
db37c900ebe6f0ae62a1f77327dd9e5a469ff11e 13-Jul-2012 Stephen Hines <srhines@google.com> Fix ConstantDataSequential bitcode encoding issue.

BUG=6806165

This resolves the issue with ConstantDataSequential being emitted incorrectly
for legacy bitcode formats that we support.

Change-Id: Ibb76e6b3e55cb80f2224bc77957c123cd1fcb287
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/ValueEnumerator.cpp
a44912f8876b6f830a4829286c27ef90c763469e 13-Jul-2012 Stephen Hines <srhines@google.com> Update ValueEnumerator.* to be more like external/llvm/.

This change makes ValueEnumerator.cpp and ValueEnumerator.h more like
the copy in external/llvm on which they are already based. This allows us
to make sure that we are not missing any additional functionality (in this
case, the only differences were related to internal debugging dump()
functions).

Change-Id: I9a0eb1818fbd6436030482f7c290eb80aee8de8a
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9/ValueEnumerator.h
itWriter_2_9_func/ValueEnumerator.cpp
itWriter_2_9_func/ValueEnumerator.h
9937d116e09feb32d46a4c76eca1be6afcd3bed5 13-Jul-2012 Stephen Hines <srhines@google.com> Place each ValueEnumerator in its own namespace.

Without this change, we are actually picking up llvm::ValueEnumerator, which
is improper for our specialized writers.

Change-Id: I95990f592524293ce40092e069437febc5b2c49a
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9/ValueEnumerator.h
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/ValueEnumerator.cpp
itWriter_2_9_func/ValueEnumerator.h
c804ed3b4bc86ee9355cbdefb12ecd123c4845a4 16-May-2012 The Android Open Source Project <initial-contribution@android.com> Reconcile with jb-release nakasi-factoryrom-release

Change-Id: I8c340688c8acf47fc0555b8136d2a1ab7cfbd24b
e4d2bbbb6a8dc6aa6b5955fe18e75d591bfd2a83 05-May-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
78a4450aff1f8e4b7717603ff90380cdc0dbca56 04-May-2012 Stephen Hines <srhines@google.com> am 0d26cef6: Refactor using genSetExportVariable().

* commit '0d26cef64debfaa6862a27587c1fd0d30baa3b1d':
Refactor using genSetExportVariable().
3d965c8e7121eaa8c7ed8e6eaae3b9d4d915a163 04-May-2012 Jean-Baptiste Queru <jbq@google.com> am fe247ac9: Merge "Revert "4.6: Disable unused-but-set-variable warnings""

* commit 'fe247ac93b1addcb764e809423c10dc74e5775b2':
Revert "4.6: Disable unused-but-set-variable warnings"
fe247ac93b1addcb764e809423c10dc74e5775b2 04-May-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Revert "4.6: Disable unused-but-set-variable warnings""
b31535976db52c7762a61e626442376222164c46 04-May-2012 Jean-Baptiste Queru <jbq@google.com> Revert "4.6: Disable unused-but-set-variable warnings"

This reverts commit 4de70c580285a2a08e6d0faceb9a0443bb9a8fe1.
ndroid.mk
3cd1b3cd3698060caee109d24b17f16e9e7a3ea0 04-May-2012 Jean-Baptiste Queru <jbq@google.com> Ignore AOSP-only change

Change-Id: I4c28cbfe58742f2eb41c6db866a2fa2ebaeda088
1312edadcc98946060c442ed028d3b154dca5236 04-May-2012 Jean-Baptiste Queru <jbq@google.com> Merge "4.6: Disable unused-but-set-variable warnings"
4de70c580285a2a08e6d0faceb9a0443bb9a8fe1 24-Apr-2012 Pavel Chupin <pavel.v.chupin@intel.com> 4.6: Disable unused-but-set-variable warnings

Author: Pavel Chupin <pavel.v.chupin@intel.com>
ndroid.mk
b6722b50b81eccebfc299bfd81f7dc687b1f9bcb 02-May-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
0d26cef64debfaa6862a27587c1fd0d30baa3b1d 02-May-2012 Stephen Hines <srhines@google.com> Refactor using genSetExportVariable().

BUG=6009244

Change-Id: I3c830b84c6f863faed8e36da625447bdf416579e
lang_rs_export_type.h
lang_rs_reflection.cpp
lang_rs_reflection.h
a6b54146b93eec68f6daa4b1877639cdc34801dc 10-Apr-2012 Stephen Hines <srhines@google.com> Reflect element/dim information for FieldPacker.

BUG=6009244

Change-Id: Ie24b3ce17817b98e8b651f7ec1304dcd18c8c062
lang_rs_export_type.h
lang_rs_reflection.cpp
lang_rs_reflection.h
e7ab0ed2827e3f98459125898933f9cd31a32a4f 25-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to jb-dev
14a7e172a411372d4edd84ea791ab972598dfa17 24-Apr-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate to CLANG-155088-20120419.

Change-Id: I77fee87d511ce9d36c56b76c58b4a6caef888676
lang_rs_context.cpp
aef380ce441745d0194351679021c546d623da44 12-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
aa82e74b08fcdc2e4e6c1f6796699566b331b656 11-Apr-2012 Stephen Hines <srhines@google.com> Multiple levels of pointers cannot be exported.

Change-Id: I533d26827fa650a481df65b2e20ac6dbc3559244
lang_rs_export_type.cpp
ests/F_int_ptr_ptr/int_ptr_ptr.rs
ests/F_int_ptr_ptr/stderr.txt.expect
ests/F_int_ptr_ptr/stdout.txt.expect
ests/P_int_ptr_ptr/int_ptr_ptr.rs
ests/P_int_ptr_ptr/stderr.txt.expect
ests/P_int_ptr_ptr/stdout.txt.expect
7c600d8a40a9c80833ff7a11bea714c474fb2d81 09-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
84ac149dde9a77fd05b8f4882b54ec2235087e2b 05-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
d5a84f6d49d64738e4bb7c9dea7242e48acad959 05-Apr-2012 Stephen Hines <srhines@google.com> Generate an error when exporting RS objects in structs/arrays.

BUG=6009244

Note that this error triggers when the following conditions are met:
1) We are running with a pre-JB target API.
2) We detect an RS object type inside another composite (struct/array) type.
3) The variable is going to be exported (i.e. non-static).
4) The variable must also be of a non-pointer type, since pointers only
reflect a bind() routine that does not use FieldPacker.

Change-Id: Id7ca47a4affed2a8774d1c9644e11d4ab02ff27f
lang_rs_backend.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
ests/F_refcount_15/refcount_15.rs
ests/F_refcount_15/stderr.txt.expect
ests/F_refcount_15/stdout.txt.expect
1f2c27dc1bbc0b2e63794e1a602752a9743b34a3 04-Apr-2012 Jason Sams <jsams@google.com> Merge "Fix namespaces in reflected cpp code."
5bfec8dd08b3bde9ba3b331e2115210b0e910eae 04-Apr-2012 Stephen Hines <srhines@google.com> Revert "Generate an error for exporting rs_objects in structs/arrays."

This reverts commit f5abb503e67587ad89bcec99ed925d4a75448dcd
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
ests/F_refcount_15/refcount_15.rs
ests/F_refcount_15/stderr.txt.expect
ests/F_refcount_15/stdout.txt.expect
f5abb503e67587ad89bcec99ed925d4a75448dcd 04-Apr-2012 Stephen Hines <srhines@google.com> Generate an error for exporting rs_objects in structs/arrays.

BUG=6009244

This is only an error in pre-JB builds that can't support proper ref-counting
within a FieldPacker.

Change-Id: Ib96b5ec2befa48ec44890391e518ad557e9a9117
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
ests/F_refcount_15/refcount_15.rs
ests/F_refcount_15/stderr.txt.expect
ests/F_refcount_15/stdout.txt.expect
6c51b5d3b152d6c8a70c72e10e07a75c7294e0f3 03-Apr-2012 Jason Sams <jsams@google.com> Fix namespaces in reflected cpp code.

BUG=5972398

Change-Id: I3adfc4805dcc36d283c804c61911aa15dbdafaad
lang_rs_reflection_cpp.cpp
5eb58e5cc55aaae9826e82e7698175f5cdc8ceee 03-Apr-2012 Mike Lockwood <lockwood@google.com> Merge remote-tracking branch 'goog/ics-aah'
ee9ea4ddcc9a2b2ac71344adb639097c4fe35584 03-Apr-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
ca13d7cc4c71ef5426e16bc997d4640facf7eda4 02-Apr-2012 Stephen Hines <srhines@google.com> Update include path for slang testing.

Change-Id: I35c544cd493dcea057f99c5bb6c5afd80861cfb1
ests/test.py
7fde083a59d86125a961dcd580b72d5c976e873b 29-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
8004db04a13a3031ca21dc0b2bb8875d5bbd4473 28-Mar-2012 Stephen Hines <srhines@google.com> am 011fed09: am ffbd99c5: Merge "Remove optimization level metadata."

* commit '011fed092c701396c830321e4db4e468af0827e3':
Remove optimization level metadata.
011fed092c701396c830321e4db4e468af0827e3 28-Mar-2012 Stephen Hines <srhines@google.com> am ffbd99c5: Merge "Remove optimization level metadata."

* commit 'ffbd99c5434394a8da8af4ec3b50d157ed2a9e32':
Remove optimization level metadata.
8b837895345d6ec9843c2b04e5bf4ee364e1ad12 28-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
ffbd99c5434394a8da8af4ec3b50d157ed2a9e32 28-Mar-2012 Stephen Hines <srhines@google.com> Merge "Remove optimization level metadata."
f4ea4fd843acd4eacbc89973fedf8bcf692fe73c 27-Mar-2012 Stephen Hines <srhines@google.com> Fix up pragma handling.

BUG=4540719

This change allows us to handle pragmas with only keys (no values), like our
new rs_fp_relaxed/rs_fp_imprecise. It also cleans up some diagnostic issues
with pragmas in llvm-rs-cc.

Change-Id: Ide54208db96f1cea71c5db6b3729ac4d241deda4
lang_pragma_recorder.cpp
ests/F_bad_pragmas/bad_pragmas.rs
ests/F_bad_pragmas/stderr.txt.expect
ests/F_bad_pragmas/stdout.txt.expect
ests/P_rs_fp_imprecise/rs_fp_imprecise.rs
ests/P_rs_fp_imprecise/stderr.txt.expect
ests/P_rs_fp_imprecise/stdout.txt.expect
ests/P_rs_fp_relaxed/rs_fp_relaxed.rs
ests/P_rs_fp_relaxed/stderr.txt.expect
ests/P_rs_fp_relaxed/stdout.txt.expect
d6b06f964774b419a6205e4da9b81d7d72cf9318 26-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
e2597ac5a8ba7a45a1d5f342973cd43a3a1932cf 24-Mar-2012 Shih-wei Liao <sliao@google.com> Migrate to upstream-153220-20120321.

Change-Id: I877797e8cc284ef3147b52f40406559340ac1243
ndroid.mk
lang_rs_object_ref_count.cpp
51322a4b764d1416e0b774720f56189a25376445 22-Mar-2012 Stephen Hines <srhines@google.com> Remove optimization level metadata.

This is because a prior change started to store the optimization level in the
bitcode wrapper.

Change-Id: I67983757bbb08b3f544ea15acfe049436885987a
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_metadata.h
8ccbddda3ac7408ba0ae1edab1d066f0d8ad97bc 21-Mar-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 9e7e17b0 to master

Change-Id: I7d910038eaf3e7b43330253a7275a8496c26c9ad
9e7e17b0e8f58d985005a41451ef60209ffd68dc 21-Mar-2012 Stephen Hines <srhines@google.com> am c8ecbfdd: Merge "Use bcinfo::writeAndroidBitcodeWrapper()."

* commit 'c8ecbfddb2332dee188a18b232c990ab1ed14357':
Use bcinfo::writeAndroidBitcodeWrapper().
c8ecbfddb2332dee188a18b232c990ab1ed14357 21-Mar-2012 Stephen Hines <srhines@google.com> Merge "Use bcinfo::writeAndroidBitcodeWrapper()."
4eb4b38b35855436543d229bc3c83b60d47dbbce 21-Mar-2012 Alex Sakhartchouk <alexst@google.com> Organizing rs headers by their logical components.

Change-Id: I092ca29892da5a9271429cf3518b99254d39ab9d
lang_rs.cpp
5e3b677a3041c86a7f860238dd1f5ff9d111b507 21-Mar-2012 Stephen Hines <srhines@google.com> Use bcinfo::writeAndroidBitcodeWrapper().

Change-Id: Ic5361ef718733dd22fd732351a711c04edb12e3a
lang_backend.cpp
lang_version.h
7fbb3efa29f639cedd72d1b9dc4d13d4ccd1c674 14-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
192392fc5ffedc06eb8ae2b89d703b3c658fddd6 14-Mar-2012 Jason Sams <jsams@google.com> Continue C++ reflection work.

BUG=5972398

Change-Id: I8b9e0a814006152b413af9b35f7d51be6814d4c4
lang_rs_reflection.cpp
lang_rs_reflection_base.cpp
lang_rs_reflection_base.h
lang_rs_reflection_cpp.cpp
fa68b13c2a9106b1f43bac27961a2cecec532698 13-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
1b6a0883cd6984e11e59b0c847fb334df1f41afc 12-Mar-2012 Jason Sams <jsams@google.com> start cpp reflection

BUG=5972398

Change-Id: Iede58fde457d16293345e741f80109f89e653ad5
ndroid.mk
lang_rs.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_reflection_base.cpp
lang_rs_reflection_base.h
lang_rs_reflection_cpp.cpp
lang_rs_reflection_cpp.h
675e179b8dabe5fc148099d6eace6c5e22e663ed 12-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
2b8fb64be3047df940a219872b331eb11de2758d 09-Mar-2012 Stephen Hines <srhines@google.com> Removing DataKind completely from llvm-rs-cc.

BUG=5972398

Change-Id: I76fdb98fa60bd70468d088f9034acf00e443d6c8
ndroid.mk
SSpec.mk
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_element.h
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_metadata_spec_encoder.cpp
lang_rs_reflection.cpp
lang_rs_spec_table.cpp
lang_rs_type_spec.h
47aca4e016665d333fdcd01a9cef16c13d7836a8 09-Mar-2012 Stephen Hines <srhines@google.com> More cleanup for reflection code.

BUG=5972398

1) Remove non-USER export kinds.
2) Removing some DataKind references.
3) More name refactoring to use getRSReflectionType().

Change-Id: I008aeb37820df37acea0db9300ff9594a40cb086
lang_rs_export_type.cpp
lang_rs_reflection.cpp
ests/P_export_types/export_types.rs
ests/P_export_types/stderr.txt.expect
ests/P_export_types/stdout.txt.expect
fdd1ba13a69501a1b91fdc9be31413215d467497 09-Mar-2012 Stephen Hines <srhines@google.com> Add getRSReflectionType to facilitate new C++ code.

BUG=5972398

Change-Id: I5d1efdbde6eb0b7bb139bdf672a056a4aa5f26e1
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_reflection.cpp
053cd7eded3964161408b8b42d2e14ee9133c796 08-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
0444de0c0e7cfc8d8f8fed6f64cd97812bdd6a41 03-Mar-2012 Stephen Hines <srhines@google.com> Adapt to upstream Clang/LLVM changes.

Change-Id: Ib81ad97246dbee060341e2690fb7f27e9e0298f4
ndroid.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/ReaderWriter_2_9.h
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/ReaderWriter_2_9_func.h
itWriter_2_9_func/ValueEnumerator.cpp
lang.cpp
lang_rs_object_ref_count.cpp
lang_rs_reflection.cpp
92bda08a129d6cae3bc55b6b18c376f967976309 05-Mar-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
5ccde788052f0f0e49256fcce8cf1dfacce44ab1 03-Mar-2012 Stephen Hines <srhines@google.com> Started importing existing tests to lit.

Change-Id: Ie292d7f75fc49c56a71a76ed5c3f15522afdc206
it-tests/P_alloc_in_struct/alloc_in_struct.rs
it-tests/P_array_init/array_init.rs
it-tests/P_compute/compute.rs
f6c0ca86dfd7959e1eada2fa09eb7f6b5dd2aa87 02-Mar-2012 Stephen Hines <srhines@google.com> am 47e7ca09: am c1024ba2: Merge "Xcode 4.3 compatibility checkin"

* commit '47e7ca09cf520f0a31ee8a72f91716ce4e764408':
Xcode 4.3 compatibility checkin
47e7ca09cf520f0a31ee8a72f91716ce4e764408 02-Mar-2012 Stephen Hines <srhines@google.com> am c1024ba2: Merge "Xcode 4.3 compatibility checkin"

* commit 'c1024ba2ef452987bce9a4bb20dfc388a9deec07':
Xcode 4.3 compatibility checkin
5ef635994356a16ede6d0fd450cb7f8fba14a8a0 02-Mar-2012 Stephen Hines <srhines@google.com> Place tests in subdirectories.

Change-Id: I478f75ade9258e27191b6d6384560cee19710628
it-tests/debug/debug_disabled.rs
it-tests/debug/debug_enabled.rs
it-tests/debug_disabled.rs
it-tests/debug_enabled.rs
it-tests/locals_opt_0.rs
it-tests/locals_opt_3.rs
it-tests/locals_opt_default.rs
it-tests/opt/locals_opt_0.rs
it-tests/opt/locals_opt_3.rs
it-tests/opt/locals_opt_default.rs
04fabb4be8ffe1160dbd2558d4d9cf28c76e3364 02-Mar-2012 Stephen Hines <srhines@google.com> Make lit-tests work in master.

Change-Id: If0c90194913d4d8e808b5c509e4cfacdb385d3e6
it-tests/lit.cfg
c1024ba2ef452987bce9a4bb20dfc388a9deec07 02-Mar-2012 Stephen Hines <srhines@google.com> Merge "Xcode 4.3 compatibility checkin"
3c9c8645f52ea95e94f88715f9594750567a4e33 02-Mar-2012 Stephen Hines <srhines@google.com> Merge "Add option to generate reflected C++ code."
e3cb21bc8654181da174ac441acec7726b5a78ec 02-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am fa5209a2: am 9c459f0c: Merge "Enable emission of debugger-friendly bitcode"

* commit 'fa5209a2bd1e10f675a889c60d8d5a589e860d18':
Enable emission of debugger-friendly bitcode
5c25c5159c0a5be9af992679067790716626da7b 27-Feb-2012 Stephen Hines <srhines@google.com> Add option to generate reflected C++ code.

BUG=5972398

Change-Id: Ib31ca4bd48a0aa15ebb27092a1ba502e7520d0cf
SCCOptions.td
lvm-rs-cc.cpp
lang_rs.cpp
lang_rs_reflect_utils.h
fa5209a2bd1e10f675a889c60d8d5a589e860d18 01-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am 9c459f0c: Merge "Enable emission of debugger-friendly bitcode"

* commit '9c459f0c5ed02e9d4d2b4159bbcf7ae392ee6f41':
Enable emission of debugger-friendly bitcode
9c459f0c5ed02e9d4d2b4159bbcf7ae392ee6f41 01-Mar-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Enable emission of debugger-friendly bitcode"
c460b37ffb50819a32c2a8967754b6f784b28263 09-Jan-2012 mkopec1 <mkopec1@intel.com> Enable emission of debugger-friendly bitcode

- Add "-g" flag to llvm-rs-cc in order to emit debug metadata
- Add optimization level parameter -O and tests
- Add lit based tests (use llvm-lit from libbcc/tests/debuginfo)
-- Add README file for lit-tests directory

Change-Id: I5e2f6f9b6f536fa7a10de008b54ac0878cf352a9
SCCOptions.td
it-tests/README
it-tests/debug_disabled.rs
it-tests/debug_enabled.rs
it-tests/lit.cfg
it-tests/locals_opt_0.rs
it-tests/locals_opt_3.rs
it-tests/locals_opt_default.rs
it-tests/rs-filecheck-wrapper.sh
lvm-rs-cc.cpp
lang.cpp
lang.h
lang_backend.cpp
lang_backend.h
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_metadata.h
4c23f16e05e07a05f28d964acd5b61fbf31384fb 28-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
194d4039a37861368d0774682b6d104f10bcc262 28-Feb-2012 Stephen Hines <srhines@google.com> Force LangOpts.CharIsSigned=1 (although it is currently the default).

BUG=6080056

Change-Id: Ie3bbcd7f0536c432531c88ad5dff5b76bd2a8ab6
lang.cpp
fa879b90d12cf8b49d4dc770d6dcad7495a4e4f7 27-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
e67239de8d94975e7e2216ee6860ae2e6cb8b15a 25-Feb-2012 Stephen Hines <srhines@google.com> Style violation cleanup.

Change-Id: Idb127f2fd6e637039454f47299360aec5a4edfe8
lang.cpp
lang.h
lang_diagnostic_buffer.cpp
lang_diagnostic_buffer.h
lang_pragma_recorder.h
lang_rs.h
lang_rs_backend.h
lang_rs_export_type.cpp
lang_rs_export_var.cpp
lang_rs_exportable.h
lang_rs_metadata_spec_encoder.cpp
lang_rs_pragma_handler.cpp
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_utils.h
6f620d7409c431862250d0c367bf267bbbc17178 23-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
246fa17206bf78c59a64b2f7d98a6716d5345b81 23-Feb-2012 Al Sutton <al@funkyandroid.com> Xcode 4.3 compatibility checkin

The Xcode 4.3 compiler shows the method CreateArrayRSSetObject is unused and,
due to -Werror being specified as a compilation option, the compilation fails.

This patch comments out the method and has also been tested on an Ubuntu
10.04 build as well as Xcode 4.3 and neither generated compilation issues
which indicates the method isn't needed.

Signed-off-by: Al Sutton <al@funkyandroid.com>
lang_rs_object_ref_count.cpp
c17e198ffcd37bfc57e3add1f6eee952ae2a2eab 22-Feb-2012 Stephen Hines <srhines@google.com> Support dummy root() and re-ordering in presence of non-root kernels.

BUG=6000538

Change-Id: Ib3ed249916d36acf68ab32e9216804ae1da5e991
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_reflection.cpp
ests/P_dummy_root/dummy_root.rs
ests/P_dummy_root/stderr.txt.expect
ests/P_dummy_root/stdout.txt.expect
ests/P_ooo_compute/ooo_compute.rs
ests/P_ooo_compute/stderr.txt.expect
ests/P_ooo_compute/stdout.txt.expect
7b51b55e4467605a599e868a0dde7cb95c5ab76e 16-Feb-2012 Stephen Hines <srhines@google.com> Export ForEach on non-root functions.

BUG=6000538

This change also updates expected diagnostics for our existing tests.

Change-Id: I98e12625d121ae20fcb6dcaacf0852c0f239c604
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_metadata.h
ests/F_root_11_ox/stderr.txt.expect
ests/F_root_compute_int_in/stderr.txt.expect
ests/F_root_compute_non_const_usrData/stderr.txt.expect
ests/F_root_compute_non_ptr_usrData/stderr.txt.expect
ests/F_root_compute_non_uint32_t_xyzar/stderr.txt.expect
ests/F_root_compute_non_void_ret/stderr.txt.expect
ests/F_root_compute_really_bad/stderr.txt.expect
ests/F_root_compute_too_many_args/stderr.txt.expect
ests/F_v15_non_root_kernel/stderr.txt.expect
ests/F_v15_non_root_kernel/stdout.txt.expect
ests/F_v15_non_root_kernel/v15_non_root_kernel.rs
ests/P_compute/compute.rs
ests/P_compute/stderr.txt.expect
ests/P_compute/stdout.txt.expect
9f5eff5b97fdbe891c879671615441c0e23e606d 20-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
41cc61093619da4e99581d0aef4487ce2751812e 16-Feb-2012 Stephen Hines <srhines@google.com> Update llvm-rs-cc to support API level 16.

Also update the date on the copyright notice for reflected files.

Change-Id: I58f12a8e2aeda16bd7384bb88bb7e7028774c5da
lang_rs_reflection.cpp
lang_version.h
ests/P_set_target_api_16/IN_CTS
ests/P_set_target_api_16/set_target_api_16.rs
ests/P_set_target_api_16/stderr.txt.expect
ests/P_set_target_api_16/stdout.txt.expect
8a722ad0789b1f1c9c4d95c30f2b30af535b27fb 15-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
a4b64d27c858391bc046872a717887844f9f2af8 15-Feb-2012 Stephen Hines <srhines@google.com> Merge "Clean up graphics/compute root() distinction."
56472606d68a7147f3f73f227c5cba323aee44f0 14-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
834517fd108265c17bdba1de6d2ef6d3634c852f 14-Feb-2012 Stephen Hines <srhines@google.com> am d369cda1: Support initialization of constant array exports.

* commit 'd369cda199b11ae28a1935e06398c2162cf146f3':
Support initialization of constant array exports.
d369cda199b11ae28a1935e06398c2162cf146f3 13-Feb-2012 Stephen Hines <srhines@google.com> Support initialization of constant array exports.

BUG=5901034

Change-Id: Ibdc74323080518223bbf79caef0c91030c501f17
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_reflection.cpp
ests/F_global_init/global_init.rs
ests/F_global_init/stderr.txt.expect
ests/F_global_init/stdout.txt.expect
ests/P_array_init/array_init.rs
ests/P_array_init/stderr.txt.expect
ests/P_array_init/stdout.txt.expect
40cfc8a1179487cc1bed4dceb15c14c7691b8055 13-Feb-2012 Stephen Hines <srhines@google.com> am f5eeaa6a: Revert "Support initialization of constant array exports."

* commit 'f5eeaa6aac0c5ac612ec69f808609e95b97d6829':
Revert "Support initialization of constant array exports."
f5eeaa6aac0c5ac612ec69f808609e95b97d6829 13-Feb-2012 Stephen Hines <srhines@google.com> Revert "Support initialization of constant array exports."

This reverts commit dc8853ace563c3a7e1976d570bf8fe96cfb11446.
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_reflection.cpp
ests/F_global_init/global_init.rs
ests/F_global_init/stderr.txt.expect
ests/F_global_init/stdout.txt.expect
ests/P_array_init/array_init.rs
ests/P_array_init/stderr.txt.expect
ests/P_array_init/stdout.txt.expect
b172d1df2d1715dddc79aee4a146beef2c9bb130 13-Feb-2012 Stephen Hines <srhines@google.com> am dc8853ac: Support initialization of constant array exports.

* commit 'dc8853ace563c3a7e1976d570bf8fe96cfb11446':
Support initialization of constant array exports.
9999ec3aa0c4d7a6befd3a300dc07f0cea91cb6c 11-Feb-2012 Stephen Hines <srhines@google.com> Clean up graphics/compute root() distinction.

BUG=6000538

Change-Id: I29096556dff2072a8757e0dfd3321006cd60bb27
lang_rs_context.cpp
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
ests/F_multi_export_errors/stderr.txt.expect
ests/F_root_graphics/stderr.txt.expect
ests/F_root_graphics_13/stderr.txt.expect
dc8853ace563c3a7e1976d570bf8fe96cfb11446 07-Feb-2012 Stephen Hines <srhines@google.com> Support initialization of constant array exports.

BUG=5901034

Change-Id: I61fba1cdf54a5e3289da01730e8bc3d0d2e72050
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_reflection.cpp
ests/F_global_init/global_init.rs
ests/F_global_init/stderr.txt.expect
ests/F_global_init/stdout.txt.expect
ests/P_array_init/array_init.rs
ests/P_array_init/stderr.txt.expect
ests/P_array_init/stdout.txt.expect
5c20cd874e5fd6cd028b2e00633acd2cc3047a08 02-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
7e71052b77e39ae94e3fb325a17f260cff9150c8 01-Feb-2012 Stephen Hines <srhines@google.com> am ec85aa2e: Merge "Reflect constant primitive types back to Java."

* commit 'ec85aa2e0ccca907e8e80285b21d1a99444861c4':
Reflect constant primitive types back to Java.
ec85aa2e0ccca907e8e80285b21d1a99444861c4 01-Feb-2012 Stephen Hines <srhines@google.com> Merge "Reflect constant primitive types back to Java."
96a42c09a3911f70f000d97fcc4540a34ed23736 01-Feb-2012 The Android Open Source Project <initial-contribution@android.com> am 7b7acdd6: am 0d2e7dc8: am 4dce40c4: Reconcile with ics-mr1-release

* commit '7b7acdd66f65c40ab2a368bb9e62dbf476f6998b':
7b7acdd66f65c40ab2a368bb9e62dbf476f6998b 01-Feb-2012 The Android Open Source Project <initial-contribution@android.com> am 0d2e7dc8: am 4dce40c4: Reconcile with ics-mr1-release

* commit '0d2e7dc81e0fa9d06d604456aa3a41d0bc3f107d':
0d2e7dc81e0fa9d06d604456aa3a41d0bc3f107d 01-Feb-2012 The Android Open Source Project <initial-contribution@android.com> am 4dce40c4: Reconcile with ics-mr1-release

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

Change-Id: Ia1ab693f860451a2618412f1a30c4fa42338439b
0d3597d4928e19e40160a3984ea0cdff66f224d6 01-Feb-2012 The Android Automerger <android-build@android.com> merge in jb-release history after reset to master
5d67178077b50d0a02832e91053ee71ec33a25c2 01-Feb-2012 Stephen Hines <srhines@google.com> Reflect constant primitive types back to Java.

We reflect it in the containing class as follows:
public final static TYPE const_NAME = INIT;

Change-Id: I478a6ba75715cfe3ddf1196794153721b793b287
lang_rs_reflection.cpp
lang_rs_reflection.h
ests/P_constant/constant.rs
ests/P_constant/stderr.txt.expect
ests/P_constant/stdout.txt.expect
870251274a6d475cdbaff8f42280c5aefa23d1a2 01-Feb-2012 Stephen Hines <srhines@google.com> am a4c54ee5: Support updating CTS tests via slang\'s test.py.

* commit 'a4c54ee5ceb193d514618d341ec6967bff02cb2b':
Support updating CTS tests via slang's test.py.
a4c54ee5ceb193d514618d341ec6967bff02cb2b 31-Jan-2012 Stephen Hines <srhines@google.com> Support updating CTS tests via slang's test.py.

Running test.py with "-u" will trigger an update of the checked-in CTS test
files (.bc and reflected .java classes). Tests to be checked-in are denoted
by the presence of a file with the name "IN_CTS" in their subdirectory.

Change-Id: I3273200bd93404a3229aad73a80ae70c83a18c54
ests/P_set_target_api_11/IN_CTS
ests/P_set_target_api_11/set_target_api_11.rs
ests/P_set_target_api_12/IN_CTS
ests/P_set_target_api_12/set_target_api_12.rs
ests/P_set_target_api_13/IN_CTS
ests/P_set_target_api_13/set_target_api_13.rs
ests/P_set_target_api_14/IN_CTS
ests/P_set_target_api_14/set_target_api_14.rs
ests/P_set_target_api_15/IN_CTS
ests/P_set_target_api_15/set_target_api_15.rs
ests/test.py
d188cb0dc342801c2038c8f3ec201fc72b328e65 20-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
c7234c1531e2623c0f23e29601a1bc17fbf76913 20-Dec-2011 Stephen Hines <srhines@google.com> am 9f1d0aa5: Update error diagnostic for struct/array copy.

* commit '9f1d0aa55669b75a718ad2e962fc8c3d8df1a5f4':
Update error diagnostic for struct/array copy.
6217940cd88e432a02504ceca4ae259b8d88043a 19-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
9f1d0aa55669b75a718ad2e962fc8c3d8df1a5f4 19-Dec-2011 Stephen Hines <srhines@google.com> Update error diagnostic for struct/array copy.

An upstream Clang change caused F_struct_array_copy to start failing with the
latest downstreaming work. I noticed that the change makes the diagnostic more
clear, but can be confusing for the StartLoc (for the variable). This change
updates the test to use the new source location (for the actual assignment
operator), while making sure that StartLoc points to the LHS variable in the
assignment.

Change-Id: Ie58b602ad4ce69d80b82fc03475fbd5d4beb17c7
lang_rs_object_ref_count.cpp
ests/F_struct_array_copy/stderr.txt.expect
bf73467273c42c92cc9654d68a77e46c0d250baf 17-Dec-2011 Logan Chien <loganchien@google.com> am ac4e1858: Apply changes to migrate to upstream (Dec 16th 2011)

* commit 'ac4e18584b8768b3f68535fa5f16232e03974323':
Apply changes to migrate to upstream (Dec 16th 2011)
ac4e18584b8768b3f68535fa5f16232e03974323 16-Dec-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to upstream (Dec 16th 2011)

- clang::ModuleLoader has changed the interface of loadModule.

- 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

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

Change-Id: I75e51da9d2265207060a449735342b426cedf243
itWriter_2_9/BitcodeWriter.cpp
lang.cpp
lang.h
lang_backend.cpp
c530453517c3a0150366ae9dfecd1001a4689e86 15-Dec-2011 The Android Open Source Project <initial-contribution@android.com> am 8e2c5f54: am 6ca991e9: Reconcile with ics-mr1-release

* commit '8e2c5f54c35fb07e12b3488d1c65eff775dc9537':
8e2c5f54c35fb07e12b3488d1c65eff775dc9537 14-Dec-2011 The Android Open Source Project <initial-contribution@android.com> am 6ca991e9: Reconcile with ics-mr1-release

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

Change-Id: I6e507c23baab15ef12591be6222661425b1de9bf
4b1c682051cb9a989b142b6b691381c38c43ff02 14-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-mr1-release history after reset to ics-mr1
d79f515e9f3293b0f86867d17e29633cc406f57e 13-Dec-2011 Shih-wei Liao <sliao@google.com> am 04efb963: Fix . Should be . DO NOT MERGE.

* commit '04efb9633510aea000aada5f5130102b241df159':
Fix $TBLGEN. Should be $CLANG_TBLGEN. DO NOT MERGE.
956bec575d77c8fea479b52517a7e797b013e8d6 13-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
b37f8e98ebf5d1c22e3ed121b8543ff6735bbb20 13-Dec-2011 Shih-wei Liao <sliao@google.com> am 33278531: am 5ae9c717: (-s ours) am 04efb963: Fix . Should be . DO NOT MERGE.

* commit '332785310ddf478d1182ca1ac11f484e2093142e':
Fix $TBLGEN. Should be $CLANG_TBLGEN. DO NOT MERGE.
332785310ddf478d1182ca1ac11f484e2093142e 13-Dec-2011 Shih-wei Liao <sliao@google.com> am 5ae9c717: (-s ours) am 04efb963: Fix . Should be . DO NOT MERGE.

* commit '5ae9c717bd70977f67ba4628bfce890af3bdb2f2':
Fix $TBLGEN. Should be $CLANG_TBLGEN. DO NOT MERGE.
5ae9c717bd70977f67ba4628bfce890af3bdb2f2 13-Dec-2011 Shih-wei Liao <sliao@google.com> am 04efb963: Fix . Should be . DO NOT MERGE.

* commit '04efb9633510aea000aada5f5130102b241df159':
Fix $TBLGEN. Should be $CLANG_TBLGEN. DO NOT MERGE.
04efb9633510aea000aada5f5130102b241df159 13-Dec-2011 Shih-wei Liao <sliao@google.com> Fix $TBLGEN. Should be $CLANG_TBLGEN. DO NOT MERGE.

Change-Id: Ifd8ae1fab88d22cbee4e3f02d5e76d897ca0c2d2
ndroid.mk
e42aaecf773fbb2a87fcf040c592dcb11e89c4e5 12-Dec-2011 Stephen Hines <srhines@google.com> am 01273175: Merge "Update error diagnostics."

* commit '0127317569a6a8b1de081f6a10d9318f6c22e7f7':
Update error diagnostics.
0127317569a6a8b1de081f6a10d9318f6c22e7f7 12-Dec-2011 Stephen Hines <srhines@google.com> Merge "Update error diagnostics."
e9669b7b739831abf440470c56160ca2be15d7b2 10-Dec-2011 The Android Open Source Project <initial-contribution@android.com> am 68185052: am e43786ab: Reconcile with ics-mr1-release

* commit '68185052b97f0e135075ef38bbe85cda12e6b7d3':
68185052b97f0e135075ef38bbe85cda12e6b7d3 09-Dec-2011 The Android Open Source Project <initial-contribution@android.com> am e43786ab: Reconcile with ics-mr1-release

* commit 'e43786ab45b501bec19a198c701ed5e6759347aa':
7aff4a0a124209fdf93ecbcd7aed701d39ba094b 09-Dec-2011 Stephen Hines <srhines@google.com> Update error diagnostics.

Change-Id: I8415450504f95cc3ad35866ed884fafc7ee24c90
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
ests/F_bad_version_pragma/bad_version_pragma.rs
ests/F_bad_version_pragma/stderr.txt.expect
ests/F_no_java_package_name/stderr.txt.expect
ests/F_no_version_pragma/stderr.txt.expect
e43786ab45b501bec19a198c701ed5e6759347aa 08-Dec-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with ics-mr1-release

Change-Id: I359beb85b73dac988d4ff6053f5ba565b672dcdd
857237ce13ecf417b1dcfb62b754a456e48ddd09 08-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
55d49a5163a335f32a360bf957a1a11343e43fda 08-Dec-2011 Stephen Hines <srhines@google.com> am ee35ab7a: Remove weak-ref use with Elements.

* commit 'ee35ab7a313dcf2b23f9446e52b822c79d50db4e':
Remove weak-ref use with Elements.
ee35ab7a313dcf2b23f9446e52b822c79d50db4e 08-Dec-2011 Stephen Hines <srhines@google.com> Remove weak-ref use with Elements.

Change-Id: I0993773224758b4f69da47824742687ad95ac1ca
lang_rs_reflection.cpp
ce278acd0047c9d8c105ef7bb8663d5bcdefa8d4 08-Dec-2011 Stephen Hines <srhines@google.com> am 8f4d972e: Add support for warning flag processing.

* commit '8f4d972ef6c6796ffdde603e456979a7004d1e20':
Add support for warning flag processing.
8f4d972ef6c6796ffdde603e456979a7004d1e20 05-Dec-2011 Stephen Hines <srhines@google.com> Add support for warning flag processing.

BUG=5714569

Change-Id: I96567325df605c5eb0f0bf2f2371a1cea9718a5b
SCCOptions.td
lvm-rs-cc.cpp
lang.cpp
lang.h
ests/F_Werror/Werror.rs
ests/F_Werror/stderr.txt.expect
ests/F_Werror/stdout.txt.expect
ests/F_set_target_api_foo/stderr.txt.expect
ests/P_ignore_warnings/ignore_warnings.rs
ests/P_ignore_warnings/stderr.txt.expect
ests/P_ignore_warnings/stdout.txt.expect
4a0422bf6eeaee45893550c8f86ae8f7d20907a6 05-Dec-2011 The Android Open Source Project <initial-contribution@android.com> am a4f8cb54: Reconcile with ics-mr1-release

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

Change-Id: I4b31e9844745b81486cbd793cf828210ec2c66f6
8ed33187fcf698567ced513280528885b00a0a08 05-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
b42ab80deb6105918fb578804018d18a248c45ab 03-Dec-2011 Jason Sams <rjsams@android.com> am a0d7b3c1: Merge "Add create1D and create2D factory reflected methods."

* commit 'a0d7b3c112ddcef746343d1f6061eb175e9ba7c0':
Add create1D and create2D factory reflected methods.
a0d7b3c112ddcef746343d1f6061eb175e9ba7c0 03-Dec-2011 Jason Sams <rjsams@android.com> Merge "Add create1D and create2D factory reflected methods."
ed725343f804644b427095addecd3751599ff660 02-Dec-2011 The Android Automerger <android-build@android.com> merge in ics-mr1-release history after reset to ics-mr1
727f7b9cb48039d2daddf6e66f84289ded74e928 02-Dec-2011 Stephen Hines <srhines@google.com> am e5f37abb: resolved conflicts for merge of 59d37887 to master

* commit 'e5f37abb2f9f095c89fb089f446676a3050de616':
Add support for generating a bitcode wrapper to llvm-rs-cc.
e5f37abb2f9f095c89fb089f446676a3050de616 02-Dec-2011 Stephen Hines <srhines@google.com> resolved conflicts for merge of 59d37887 to master

Change-Id: Ib37282d8253eb35db803919e55b3eee6382fa7f0
bf4ed327aaeb8309711c06394d05c33d78810a33 02-Dec-2011 Stephen Hines <srhines@google.com> am cf7e4296: Add support for generating a bitcode wrapper to llvm-rs-cc.

* commit 'cf7e4296bb5862681f5acc4c489798329a46bd61':
Add support for generating a bitcode wrapper to llvm-rs-cc.
59d37887dadf16985221a43102ac22c071e31b5a 02-Dec-2011 Stephen Hines <srhines@google.com> am cf7e4296: Add support for generating a bitcode wrapper to llvm-rs-cc.

* commit 'cf7e4296bb5862681f5acc4c489798329a46bd61':
Add support for generating a bitcode wrapper to llvm-rs-cc.
cf7e4296bb5862681f5acc4c489798329a46bd61 23-Nov-2011 Stephen Hines <srhines@google.com> Add support for generating a bitcode wrapper to llvm-rs-cc.

BUG=5425905

Change-Id: I42c49666c434d33f000b57db159677179ab75ca0
ndroid.mk
lang_backend.cpp
lang_backend.h
381e95f95d7eb14144081a1ca74f96c5e06ba089 30-Nov-2011 Jason Sams <rjsams@android.com> Add create1D and create2D factory reflected methods.

Change-Id: I07972c897ea3ac77a8d059258bcdcc1f360ed8b7
lang_rs_reflection.cpp
15c8b3677240595510fb6a87eb8c1fbc794e8cdf 29-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
7e325c8187da0e0fb8a7ff96da708a8e8b6b4c9a 29-Nov-2011 Stephen Hines <srhines@google.com> am de7ac192: Fix bool return for HandleTopLevelDecl().

* commit 'de7ac1928633b51b8a147fcdda044793629ba8fb':
Fix bool return for HandleTopLevelDecl().
de7ac1928633b51b8a147fcdda044793629ba8fb 29-Nov-2011 Stephen Hines <srhines@google.com> Fix bool return for HandleTopLevelDecl().

This is a minor update to propagate error information related to the
merge work done in fa6ef56a6ca3dc3061218a75a7e68e5357fcb82c.

Change-Id: I74f7831e4ccfb0f8a3a2d0c75da953cbeaa5c5ac
lang_backend.cpp
e18203552f6cd4c83cb035ba4cfb5c8b1ae2fb6e 29-Nov-2011 Stephen Hines <srhines@google.com> am 42f6e0cd: Merge "Add support for BitWriter_2_9_func bitcode writing."

* commit '42f6e0cd9eed6f967e2e0d76050082128bdc4ae4':
Add support for BitWriter_2_9_func bitcode writing.
d42af5cdba78e67254b64bd124705a7386f14536 29-Nov-2011 Stephen Hines <srhines@google.com> am dd19a875: Merge "Add test for API level 15."

* commit 'dd19a875e2743e1f8003422d29c5584909793c7b':
Add test for API level 15.
42f6e0cd9eed6f967e2e0d76050082128bdc4ae4 29-Nov-2011 Stephen Hines <srhines@google.com> Merge "Add support for BitWriter_2_9_func bitcode writing."
dd19a875e2743e1f8003422d29c5584909793c7b 29-Nov-2011 Stephen Hines <srhines@google.com> Merge "Add test for API level 15."
4e2dd7255d3e5dc31f067f8e672f2f862ee749c2 28-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
40cbb1696d6182a165ec9b16e81bf994810de5b3 26-Nov-2011 Logan Chien <loganchien@google.com> am fa6ef56a: Apply changes to migrate to upstream (Nov 25th 2011).

* commit 'fa6ef56a6ca3dc3061218a75a7e68e5357fcb82c':
Apply changes to migrate to upstream (Nov 25th 2011).
fa6ef56a6ca3dc3061218a75a7e68e5357fcb82c 25-Nov-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to upstream (Nov 25th 2011).

- HandleTopLevelDecl now returns bool.
- Additional APValue::MemberPointer case for switching.

Change-Id: Ieb7a693f96b07b7659712a3ab0abd200ce7df505
lang_backend.cpp
lang_backend.h
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_reflection.cpp
914c07f2a57d4a7bf49179c24f9d4cbc20df3c50 24-Nov-2011 Stephen Hines <srhines@google.com> Add test for API level 15.

Change-Id: Ic5d9069d61e40223854801db41f4fe5a7dac2caa
ests/P_set_target_api_15/set_target_api_15.rs
ests/P_set_target_api_15/stderr.txt.expect
ests/P_set_target_api_15/stdout.txt.expect
9b044ec938fd56355012851890c63974c8042c9f 24-Nov-2011 Stephen Hines <srhines@google.com> Add support for BitWriter_2_9_func bitcode writing.

This allows us to generate Bitcode for pre-3.0 LLVM using the old opcode for
TYPE_CODE_FUNCTION (renamed to TYPE_CODE_FUNCTION_OLD).

Change-Id: I5b88bff6224658f3e50940bb6f46aa13ca40c080
ndroid.mk
itWriter_2_9_func/Android.mk
itWriter_2_9_func/BitcodeWriter.cpp
itWriter_2_9_func/BitcodeWriterPass.cpp
itWriter_2_9_func/ReaderWriter_2_9_func.h
itWriter_2_9_func/ValueEnumerator.cpp
itWriter_2_9_func/ValueEnumerator.h
lang_backend.cpp
lang_version.h
903a2ffdbdb9ebb372cf33cad04bf7c9a161fa63 23-Nov-2011 Stephen Hines <srhines@google.com> am 5e6d0d5a: Add support for generating a bitcode wrapper to llvm-rs-cc.

* commit '5e6d0d5a911fff0b7b4bce216a213a4cf8a811f5':
Add support for generating a bitcode wrapper to llvm-rs-cc.
5e6d0d5a911fff0b7b4bce216a213a4cf8a811f5 23-Nov-2011 Stephen Hines <srhines@google.com> Add support for generating a bitcode wrapper to llvm-rs-cc.

BUG=5425905

Change-Id: I42c49666c434d33f000b57db159677179ab75ca0
ndroid.mk
lang_backend.cpp
lang_backend.h
8888fdb9895a16ee7e1c1294e9773281f9712f0a 22-Nov-2011 Stephen Hines <srhines@google.com> am 8ec3bc86: Fix bitcode function encoding error.

* commit '8ec3bc862ac51f49e06bc465a6eb51871ce9d5da':
Fix bitcode function encoding error.
8ec3bc862ac51f49e06bc465a6eb51871ce9d5da 22-Nov-2011 Stephen Hines <srhines@google.com> Fix bitcode function encoding error.

BUG=5650262

This error occurred because the bitcode opcode for TYPE_CODE_FUNCTION changed
from 9 to 21 in The SVN cl mentioned below.

commit 9923d389f5a3c7817a3bd603b989ef762226ba07
Author: Chad Rosier <mcrosier@apple.com>
Date: Thu Nov 3 00:14:01 2011 +0000

Remove some cruft from the BitcodeWriter, while still maintaining backward
compatibility in the BitcodeReader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143598 91177308-0d34-0410-b5e6-96231b3b80d8

Change-Id: I88ae3c65128714fbea6beb4665271c87ff552fd1
itWriter_2_9/BitcodeWriter.cpp
8bee54b371a99cb38f2738f8c528fe25b0daff50 19-Nov-2011 The Android Open Source Project <initial-contribution@android.com> am 8b01328d: Reconcile with ics-mr1-release

* commit '8b01328d6e82b4473b6a9d23220f1997bed7bfd6':
8b01328d6e82b4473b6a9d23220f1997bed7bfd6 19-Nov-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with ics-mr1-release

Change-Id: I2e2a6da132ab9f1e374a4cf64aa7616c11f7ab56
de056d4d6e9a93967e62365012206a9f669dabc9 18-Nov-2011 Stephen Hines <srhines@google.com> am cfb00677: Merge "Generate/skip padding and use new prefix for ICS."

* commit 'cfb006776ba44d10cc161a87b310d8d2215217b7':
Generate/skip padding and use new prefix for ICS.
cfb006776ba44d10cc161a87b310d8d2215217b7 18-Nov-2011 Stephen Hines <srhines@google.com> Merge "Generate/skip padding and use new prefix for ICS."
dc6a313f5f2f12f959bae717b468ada44a040006 17-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
58879e1319db63fc74042b2583360044b39760af 17-Nov-2011 Logan Chien <loganchien@google.com> am 2c6bad50: Apply changes to migrate to llvm upstream r144606.

* commit '2c6bad5038d8509466b9e0f9aa6a8ae533c0e029':
Apply changes to migrate to llvm upstream r144606.
461b76ec421ebb32201ede6480012d9d5e830908 16-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
fe22114e3e9f07fa9e5e7261914c729dab897c16 16-Nov-2011 Logan Chien <loganchien@google.com> am 2e1b94cd: Update the unit test since we have Android 16 API.

* commit '2e1b94cd584fe3c6faeec67fa427e525e0d9122b':
Update the unit test since we have Android 16 API.
2c6bad5038d8509466b9e0f9aa6a8ae533c0e029 15-Nov-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to llvm upstream r144606.

- Replace linear scan register allocator with greedy register
allocator since the upstream has removed linear scan register
allocator and start using greedy register allocator instead.

Change-Id: I8f15c1761c525144b93597303a21b19cc8e46d31
lang_backend.cpp
2e1b94cd584fe3c6faeec67fa427e525e0d9122b 15-Nov-2011 Logan Chien <loganchien@google.com> Update the unit test since we have Android 16 API.

Change-Id: I3d28525e49b7a47bba07df463dcc373fe8928b52
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
9111c8283b5b26a2b3540a269d3e9679fde1d0e3 15-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
d1123c29614eb9e0df7485f9e0775470db2f0384 15-Nov-2011 Stephen Hines <srhines@google.com> am 6a20005e: Merge "Adapt to upstream changes."

* commit '6a20005e9cf115b450ff344c5b13b2efaf8c4b75':
Adapt to upstream changes.
6a20005e9cf115b450ff344c5b13b2efaf8c4b75 14-Nov-2011 Stephen Hines <srhines@google.com> Merge "Adapt to upstream changes."
30b12689404325ade45fb73fd0b7bd19e53043f0 13-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
9b4953801cf107fed3dd2f0e6b6631a288bca983 13-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-mr1-release history after reset to ics-mr1
a9ae5ae8866d937a99601d24a922c8f3f4223f59 12-Nov-2011 Stephen Hines <srhines@google.com> Generate/skip padding and use new prefix for ICS.

BUG=5609007

Change-Id: Ia69fa45e0f728914a4c5de1a531f367dda165dba
lang_rs_reflection.cpp
lang_rs_reflection.h
8246320ef1d7aa1c00c8a897fe685cb037f99d53 12-Nov-2011 Stephen Hines <srhines@google.com> am e61afb11: am 6fc7866e: am 6cf68090: Update tests for highest API level.

* commit 'e61afb110a8f31aadba3f357bcf8aa8a4a818064':
Update tests for highest API level.
e61afb110a8f31aadba3f357bcf8aa8a4a818064 11-Nov-2011 Stephen Hines <srhines@google.com> am 6fc7866e: am 6cf68090: Update tests for highest API level.

* commit '6fc7866e28576c7363daf040601121c76c892349':
Update tests for highest API level.
ddb446e2d6f788d74db8496362507abbf40f7adc 11-Nov-2011 Stephen Hines <srhines@google.com> am 6cf68090: Update tests for highest API level.

* commit '6cf680902775f78eec2e3f622f6d96663aa25c88':
Update tests for highest API level.
6fc7866e28576c7363daf040601121c76c892349 11-Nov-2011 Stephen Hines <srhines@google.com> am 6cf68090: Update tests for highest API level.

* commit '6cf680902775f78eec2e3f622f6d96663aa25c88':
Update tests for highest API level.
6cf680902775f78eec2e3f622f6d96663aa25c88 11-Nov-2011 Stephen Hines <srhines@google.com> Update tests for highest API level.

Change-Id: I5a3cbe8de21075ab39a952d80d7fa0aa87d03e10
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
4c622e0953afe3dca4da0aee364a811f3ccb61d9 11-Nov-2011 Stephen Hines <srhines@google.com> Adapt to upstream changes.

Change-Id: I9ab7bad890eb78621c5fc6dd516dbcacdad88471
lang.cpp
lang_rs_export_var.cpp
lang_rs_object_ref_count.cpp
lang_rs_reflection.cpp
945002fabb440337f71e5a930c435c5a951e7b40 10-Nov-2011 Conley Owens <cco3@android.com> am 974490d2: am 3dcf547b: am a0a621e5: Remove unused variable

* commit '974490d2e3a7900b59c6afd3183cc570db8402e4':
Remove unused variable
974490d2e3a7900b59c6afd3183cc570db8402e4 10-Nov-2011 Conley Owens <cco3@android.com> am 3dcf547b: am a0a621e5: Remove unused variable

* commit '3dcf547b4263886002404b5388f429cc69a36a78':
Remove unused variable
3dcf547b4263886002404b5388f429cc69a36a78 10-Nov-2011 Conley Owens <cco3@android.com> am a0a621e5: Remove unused variable

* commit 'a0a621e56e157535e18caef4e5d77d64d9ebcc66':
Remove unused variable
79683f775c30685b8b25dd31156e37d50f441bba 09-Nov-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
dff29b94dbbf5ddbdbbf999f9ea2ab42411fbb09 09-Nov-2011 Conley Owens <cco3@android.com> am f8c8600e: Remove unused variable

* commit 'f8c8600eb5eebee41fd88611e5c770a42f3330b5':
Remove unused variable
a0a621e56e157535e18caef4e5d77d64d9ebcc66 09-Nov-2011 Conley Owens <cco3@android.com> Remove unused variable

This unused variable breaks the build in an Ubuntu 11.10 environment.

Change-Id: Ieeb206d1a3689217070cfb8e8dee8a2c9c467b44
lang_rs_export_foreach.cpp
f8c8600eb5eebee41fd88611e5c770a42f3330b5 09-Nov-2011 Conley Owens <cco3@android.com> Remove unused variable

This unused variable breaks the build in an Ubuntu 11.10 environment.

Change-Id: Ieeb206d1a3689217070cfb8e8dee8a2c9c467b44
lang_rs_export_foreach.cpp
db6dfdfcb7e8183f1c796475e5098ee4be80b5b8 08-Nov-2011 Jason Sams <jsams@google.com> Add path object type.

Change-Id: I40f2323d2495d1754c910bd0161d59c0f2054eca
lang_rs_object_ref_count.cpp
lang_rs_reflection.cpp
lang_rs_type_spec.h
5f200cb849b065ebde7bfd0c142f1523b746e728 31-Oct-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with ics-mr1-release

Change-Id: I5f04c149dd3c088d3d2568ca0a7aebf584d2b620
bfec0151bcc9c100e229fbabe5ffb393b52953da 31-Oct-2011 Ed Heyl <ed@google.com> Merge remote branch 'goog/ics-mr1' into ics-aah
e9487c48089e5a1761e60ba4af9f500c3521f8ee 30-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
ae73a8a21a2774939d032eb8fd83cf7ddb9a8f00 30-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-mr1-release history after reset to ics-mr1
4906dc640fb7986856f0960323cbb65692abce4f 28-Oct-2011 Ed Heyl <ed@google.com> keep previous history after reset to mr1 plus aah changes (ics-aah-wip)
1fe061a0140f950258c4797c1625c7cd23d98336 28-Oct-2011 Stephen Hines <srhines@google.com> am fbfd7f5f: resolved conflicts for merge of f736d5a1 to ics-mr1

* commit 'fbfd7f5fd97458b6b23437556025ac1d55e98fd4':
Add back pre-ICS support for "int root(int);".
f612c7a8b96793e0161a54f449ceb0551b5c14a5 28-Oct-2011 Logan Chien <loganchien@google.com> Fix build rule dependency.

RSCCOptions.inc should depend on $(CLANG_TBLGEN) instead
of $(TBLGEN) since clang related code has been splitted
from (llvm-) tblgen to clang-tblgen.

Change-Id: I84bd9ada3c8dea4fcb90762cf1a99b384df5840b
ndroid.mk
fbfd7f5fd97458b6b23437556025ac1d55e98fd4 28-Oct-2011 Stephen Hines <srhines@google.com> resolved conflicts for merge of f736d5a1 to ics-mr1

Change-Id: If31e6d49af2571458500f42f8cc2310758dfaa26
f736d5a12269e7e74740b130cdca98d9839b31e6 27-Oct-2011 Stephen Hines <srhines@google.com> Add back pre-ICS support for "int root(int);".

BUG=5521638

Change-Id: Ic1f3c071562c687a98125c2151e306313c5405b8
lang_rs_context.cpp
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
ests/F_root_graphics_13/root_graphics_13.rs
ests/F_root_graphics_13/stderr.txt.expect
ests/F_root_graphics_13/stdout.txt.expect
ests/P_root_graphics_13/root_graphics_13.rs
ests/P_root_graphics_13/stderr.txt.expect
ests/P_root_graphics_13/stdout.txt.expect
f5b2abc7d99eba867ccf46d53077c931986e5378 26-Oct-2011 Ed Heyl <ed@google.com> undo reset to ics-mr1 until we have a better method
99b1bb945aca871b0f337ffce8c759e76a20c56f 26-Oct-2011 Ed Heyl <ed@google.com> reset to ics-mr1, but keep history
6bccf10de15053b12b323c10a03c6ef4dfbb9cdf 23-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
5796b58a9c23dcb13afe7df5d494f5fe709f9717 22-Oct-2011 Logan Chien <loganchien@google.com> am c86623eb: Explicitly invoke the copy constructor of DiagnosticConsumer.

* commit 'c86623eb960965b240bc5e929e760f6bbc1be544':
Explicitly invoke the copy constructor of DiagnosticConsumer.
c86623eb960965b240bc5e929e760f6bbc1be544 22-Oct-2011 Logan Chien <loganchien@google.com> Explicitly invoke the copy constructor of DiagnosticConsumer.

Change-Id: I583ac6161c52c0b614f5f780f16291f7d9957dad
lang_diagnostic_buffer.cpp
6771856b729ad2bcbc42eb3064f1d6b79a8129d0 22-Oct-2011 Logan Chien <loganchien@google.com> am 9207a2e4: Apply changes to migrate to LLVM upstream Oct 20th 2011.

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

- StructType::isAnonymous is renamed to StructType::isLiteral.

- PassManagerBuilder has been moved from
llvm/Support/PassManagerBuilder.h to
llvm/Transforms/IPO/PassManagerBuilder.h

- Include llvm/Transforms/IPO.h for llvm::createInternalizePass.

- clang::DiagClient has be renamed to clang::DiagnosticConsumer.
Besides, we have to implement one additional pure virtual method
'clone' for create a clone of slang::DiagnosticBuffer.

- llvm::Linker::LinkModules comes with one additional parameter.
Passing llvm::Linker::DestroySource should be equivalent to
the old code we were using.

- slang::Slang is now derived from clang::ModuleLoader and implemented
loadModule pure virtual method (though we will always return NULL.)

- clang::Preprocessor is taking one additional parameter for
clang::ModuleLoader.

- clang::Diagnostic has been changed. A lot of the method has been
moved to clang::DiagnosticsEngine, and we can no longer 'Report' a
diagnostic from clang::Diagnostic. We have to use
clang::DiagnosticEngine instead.

- llvm::setCodeModel has been removed.

Change-Id: I1f2a4cbeaf61a8ed1d0d635a5a0e1baa90d99d07
ndroid.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/ValueEnumerator.cpp
lvm-rs-cc.cpp
lvm-rs-link.cpp
lang.cpp
lang.h
lang_backend.cpp
lang_backend.h
lang_diagnostic_buffer.cpp
lang_diagnostic_buffer.h
lang_rs.cpp
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_context.h
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_object_ref_count.cpp
c9f3a00fe9b3baf909beb0854f2e2601af85cfde 22-Oct-2011 Stephen Hines <srhines@google.com> am 18ca8cfc: Use 64-bit longs with llvm-rs-cc.

* commit '18ca8cfc2b9e60e4aa4b4269e2b02c5f6f245822':
Use 64-bit longs with llvm-rs-cc.
18ca8cfc2b9e60e4aa4b4269e2b02c5f6f245822 21-Oct-2011 Stephen Hines <srhines@google.com> Use 64-bit longs with llvm-rs-cc.

Change-Id: Ib8269072b6533bc2b1f17ac888f41cf939a6ea73
lvm-rs-cc.cpp
ests/P_long64/long64.rs
ests/P_long64/stderr.txt.expect
ests/P_long64/stdout.txt.expect
8c7601a53a3e0ed9af042601bf8e210b3c0f0e39 12-Oct-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
32ccddc0c4dbd4eab31a68fff3d1b067677bc89f 11-Oct-2011 Stephen Hines <srhines@google.com> am 12580dcd: Generate an error for skipped root() params in HC.

* commit '12580dcd125d958bff87385ab13599ad01bd8aea':
Generate an error for skipped root() params in HC.
12580dcd125d958bff87385ab13599ad01bd8aea 11-Oct-2011 Stephen Hines <srhines@google.com> Generate an error for skipped root() params in HC.

BUG=5439760

Change-Id: Ie41ef5feac1637c8fe146f065416f3d33527b0bb
lang_rs_export_foreach.cpp
ests/F_root_11_ox/root_11_ox.rs
ests/F_root_11_ox/stderr.txt.expect
ests/F_root_11_ox/stdout.txt.expect
ests/P_root_11_i/root_11_i.rs
ests/P_root_11_i/stderr.txt.expect
ests/P_root_11_i/stdout.txt.expect
ests/P_root_11_iouxy/root_11_iouxy.rs
ests/P_root_11_iouxy/stderr.txt.expect
ests/P_root_11_iouxy/stdout.txt.expect
8d287f445e4632c98c1646c384baf8dfcb937c2c 28-Sep-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
3417d6c35f2298ba7ec2e752ad5ea271d27471e1 28-Sep-2011 Stephen Hines <srhines@google.com> am 5f0d1aba: Merge "Generate warnings properly for multi-file compiles."

* commit '5f0d1aba4387b38ba49bd973506a1c42f77c1e66':
Generate warnings properly for multi-file compiles.
5f0d1aba4387b38ba49bd973506a1c42f77c1e66 28-Sep-2011 Stephen Hines <srhines@google.com> Merge "Generate warnings properly for multi-file compiles."
c632be206ac4fe49a5db05cfa54942d774329dbe 24-Sep-2011 Stephen Hines <srhines@google.com> Generate warnings properly for multi-file compiles.

BUG=5367019

Slang (llvm-rs-cc) was clobbering warnings during multi-file compilation
because they are not part of the error count. When the diagnostics get reset,
we should be dumping whichever non-error (i.e. warning) diagnostics we have
accumulated. During investigation, I also found then that our dependency
generation path can cause duplicate warnings to be added to the diagnostic
client. Thus, to fix this bug, the change need dumps relevant diagnostics, but
then suppresses warnings if we are compiling the same file multiple times
(once for code generation and once for dependencies).

Change-Id: I4b94e962f93b96f31ff7e7d6cce45418fe39e1d1
lvm-rs-cc.cpp
lang.cpp
lang_rs.cpp
ests/P_unknown_function/stderr.txt.expect
ests/P_unknown_function/stdout.txt.expect
ests/P_unknown_function/unknown_function.rs
ests/P_unknown_function/zzz.rs
ests/test.py
376b1848097baf6730732b28b16e3d78eabdc420 20-Sep-2011 The Android Open Source Project <initial-contribution@android.com> am 13ccd301: Reconcile with ics-factoryrom-release

* commit '13ccd301e44f1294bf54a1217e7a00ed1546e8ef':
DO NOT MERGE, cherry-pick from master Fix .rs.dtor scoping bug.
13ccd301e44f1294bf54a1217e7a00ed1546e8ef 20-Sep-2011 The Android Open Source Project <initial-contribution@android.com> Reconcile with ics-factoryrom-release

Change-Id: If82da7b272c70b4b41387360fb4260eeb24e9b72
93f0e60e521b232e6be6f126dec66e451b48d407 19-Sep-2011 Jason Sams <jsams@google.com> DO NOT MERGE, cherry-pick from master
Fix .rs.dtor scoping bug.

BUG=5267595

This change makes sure to scope any helper variables (like rsIntIter) to the
enclosing function (and not make them global). Prior to this change, if an
array iterator was created, it would be marked as a global symbol. The
libbcc library then sometimes removed this global as it was not able to
determine that it was actually used (.rs.dtor is not guaranteed to be called).
A fix should be made to libbcc as well, but the proper fix for llvm-rs-cc is
to scope any helper variable declarations to the calling function.

Change-Id: Ia46654cb0a114f6f5495e32ad1508d7d01e2084b
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
1c47f6063c070e91b94adfa552fdc7dfc17b9a0a 20-Sep-2011 Jason Sams <jsams@google.com> am 27b06915: (-s ours) am 6329130e: (-s ours) DO NOT MERGE, cherry-pick from master Fix .rs.dtor scoping bug.

* commit '27b06915babcc6696d238a8bc97c4d71afca007a':
DO NOT MERGE, cherry-pick from master Fix .rs.dtor scoping bug.
27b06915babcc6696d238a8bc97c4d71afca007a 20-Sep-2011 Jason Sams <jsams@google.com> am 6329130e: (-s ours) DO NOT MERGE, cherry-pick from master Fix .rs.dtor scoping bug.

* commit '6329130ea0fb68c1bf26695cec2f884738f19a25':
DO NOT MERGE, cherry-pick from master Fix .rs.dtor scoping bug.
6329130ea0fb68c1bf26695cec2f884738f19a25 19-Sep-2011 Jason Sams <jsams@google.com> DO NOT MERGE, cherry-pick from master
Fix .rs.dtor scoping bug.

BUG=5267595

This change makes sure to scope any helper variables (like rsIntIter) to the
enclosing function (and not make them global). Prior to this change, if an
array iterator was created, it would be marked as a global symbol. The
libbcc library then sometimes removed this global as it was not able to
determine that it was actually used (.rs.dtor is not guaranteed to be called).
A fix should be made to libbcc as well, but the proper fix for llvm-rs-cc is
to scope any helper variable declarations to the calling function.

Change-Id: Ia46654cb0a114f6f5495e32ad1508d7d01e2084b
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
3071f62bc45a798d4c368b964c1839ec8cd5ba18 18-Sep-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
3f175af8a0644fb5fc53aa90e01c24f75855c5f7 17-Sep-2011 Stephen Hines <srhines@google.com> Fix .rs.dtor scoping bug.

BUG=5267595

This change makes sure to scope any helper variables (like rsIntIter) to the
enclosing function (and not make them global). Prior to this change, if an
array iterator was created, it would be marked as a global symbol. The
libbcc library then sometimes removed this global as it was not able to
determine that it was actually used (.rs.dtor is not guaranteed to be called).
A fix should be made to libbcc as well, but the proper fix for llvm-rs-cc is
to scope any helper variable declarations to the calling function.

Change-Id: Ia46654cb0a114f6f5495e32ad1508d7d01e2084b
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
56d0f5b4f8e19266b5ca563dc28478fe48798d2c 13-Sep-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
87ea28f206a3b3f8602c965bfb2aaf0fdb99fde7 11-Sep-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
154e54e438e464a814ac33d10cb43686a068ed5d 10-Sep-2011 Stephen Hines <srhines@google.com> Test new error for mixed vector components.

BUG=5280004

Change-Id: I764d2663ffe68b1effc8f54cdbf948dace49dfa7
ests/F_mix_vector/mix_vector.rs
ests/F_mix_vector/stderr.txt.expect
ests/F_mix_vector/stdout.txt.expect
ba7c6dc08e1ab8486ccaf842e8ae87dc5c99d8cf 08-Sep-2011 Stephen Hines <srhines@google.com> Fix -version information for llvm-rs-cc.

Change-Id: I30caa96c139308c71d912f19df2119e31025ffe3
ndroid.mk
lvm-rs-cc.cpp
334367daccec8b43484e6d80b8f784f4e3b96edd 07-Sep-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
1868714585d3b801aac4c16b442fabd1045b13bf 03-Sep-2011 Stephen Hines <srhines@google.com> Update README for llvm-rs-cc..

BUG=3348577

Change-Id: I6da544666e2009488f475fb340f9a8e6a0e1e559
EADME.html
EADME.rst
b7d1269f983f28d9fe625a96439fa88b39dc96f6 03-Sep-2011 Stephen Hines <srhines@google.com> Remove obsolete/confusing options and fix strings.

Change-Id: I26b5eeea7ddc8cc4984745daa52635ea95ad7c66
ndroid.mk
SCCOptions.td
lvm-rs-cc.cpp
lvm-rs-link.cpp
lang_rs.h
lang_rs_reflect_utils.cpp
lang_rs_reflection.cpp
ce26b1d88372c6392fcf8080b091ab0276b3d811 03-Sep-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
688e64b2d56e4218c680b9d6523c5de672f55757 24-Aug-2011 Stephen Hines <srhines@google.com> Generate .rs.dtor() to clean up globals.

BUG=5186750

Change-Id: I9d1996153fe774a5ce95646a8a2e07aa6e7fa85f
lvm-rs-link.cpp
lang_rs.cpp
lang_rs_backend.cpp
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
894cc4b1b98688caa64f989b6bfcec72c3e55f25 30-Aug-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
ceee7d8991c9d663509eb4a63f3ac35aa2af6662 30-Aug-2011 The Android Automerger <android-build@android.com> merge in ics-release history after reset to master
a546cb661a8ab70577827b8310e2b56a0773c1e1 30-Aug-2011 Stephen Hines <srhines@google.com> Support HC bitcode generation in modern llvm-rs-cc.

BUG=5206223

Change-Id: Ia1377cb13dd3f702716770e46ca4af6f7b206ef5
itWriter_2_9/BitcodeWriter.cpp
lang_version.h
ests/F_set_target_api_10/set_target_api_10.rs
ests/F_set_target_api_10/stderr.txt.expect
ests/F_set_target_api_10/stdout.txt.expect
ests/F_set_target_api_11/set_target_api_11.rs
ests/F_set_target_api_11/stderr.txt.expect
ests/F_set_target_api_11/stdout.txt.expect
ests/F_set_target_api_9000/stderr.txt.expect
ests/P_set_target_api_11/set_target_api_11.rs
ests/P_set_target_api_11/stderr.txt.expect
ests/P_set_target_api_11/stdout.txt.expect
ba1a78533ac700184792cba67bb78ab0521332be 27-Aug-2011 Stephen Hines <srhines@google.com> Merge "Start basic support for LLVM 2.9 bitcode writer."
4cc499d6e5ec602309501873449c938af61170b2 25-Aug-2011 Stephen Hines <srhines@google.com> Start basic support for LLVM 2.9 bitcode writer.

Change-Id: I6a54158a32e485f506f0b991f89125b8a0e60267
ndroid.mk
itWriter_2_9/Android.mk
itWriter_2_9/BitcodeWriter.cpp
itWriter_2_9/BitcodeWriterPass.cpp
itWriter_2_9/CMakeLists.txt
itWriter_2_9/Makefile
itWriter_2_9/ReaderWriter_2_9.h
itWriter_2_9/ValueEnumerator.cpp
itWriter_2_9/ValueEnumerator.h
lang_backend.cpp
lang_backend.h
lang_rs.cpp
lang_rs.h
lang_rs_backend.h
lang_rs_reflection.cpp
lang_rs_version.h
lang_version.h
38eca1ad0d6bfac8f1fbf7c8360f4c18ecd205c2 25-Aug-2011 Alex Sakhartchouk <alexst@google.com> Fixing copyNow reflection.
Adding synchronization to setters/getters

Change-Id: I32327473fdcde9d22642b60c8f711f6237200fd3
lang_rs_reflection.cpp
lang_rs_reflection.h
4a4bf92a8add68629a7e6e59ef81c3c3fe603a75 19-Aug-2011 Stephen Hines <srhines@google.com> Don't generate forEach() on pre-ICS target SDK.

Change-Id: I794587d1f79a08aca8cc4f7f20f4012050ab0501
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflection.cpp
lang_rs_version.h
4ccf75e55fe460a8daa49247d7e5a797329c71a6 17-Aug-2011 Stephen Hines <srhines@google.com> Fix up parsing of root() function arguments.

BUG=5076887

Change-Id: I6ef41ebd237c864e46beee26f5952879d3712819
ndroid.mk
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_metadata.h
ests/F_root_compute_int_in/stderr.txt.expect
ests/F_root_compute_non_ptr_usrData/stderr.txt.expect
ests/F_root_compute_non_uint32_t_xyzar/stderr.txt.expect
ests/F_root_compute_really_bad/root_compute_really_bad.rs
ests/F_root_compute_really_bad/stderr.txt.expect
ests/F_root_compute_too_many_args/root_compute_too_many_args.rs
ests/P_root_compute/root_compute.rs
a883ce325281796dc7cc8fcf973a7ccd47a9a17e 12-Aug-2011 Stephen Hines <srhines@google.com> Fix refcount issue with locals declared in middle of compound statements.

Declaring a local variable in the middle of a compound statement is perfectly
legal in Renderscript (C99). Unfortunately, the refcount implementation was
mistakenly inserting destructors prior to the declaration, which is incorrect.
This change only allows destructors to be placed lexically after the local
variable has been declared.

Change-Id: Ieb8d5e2eac448719aa9266f7ba94437dad73ec0b
lang_rs_object_ref_count.cpp
ests/P_local_ref_after_return/local_ref_after_return.rs
ests/P_local_ref_after_return/stderr.txt.expect
ests/P_local_ref_after_return/stdout.txt.expect
2d35eddd17eaa8bf5a0202dc60ead14dd16eb2d6 09-Aug-2011 Stephen Hines <srhines@google.com> Update header file includes for llvm-rs-cc.

Change-Id: I69e58c59b0b03371d72c0d8974f1ed371d0b33dd
lang_rs.cpp
049229ba647d3d3cddef7a81b3ae9d3e0729a842 04-Aug-2011 Stephen Hines <srhines@google.com> Properly calculate end of struct padding.

BUG=5081813

Change-Id: Ie0556bdc33015e9e1af519514f6bf61704ddf3b4
lang_rs_reflection.cpp
0b874dacc570d6ed42cad26e0907548d459dfde5 22-Jul-2011 Stephen Hines <srhines@google.com> Support new arguments for llvm-rs-cc testing.

Change-Id: Ieaed412be36ca4273759870e6ec23680723653ce
ests/F_no_version_pragma/no_version_pragma.rs
ests/F_set_target_api_11/set_target_api_11.rs
ests/F_set_target_api_11/stderr.txt.expect
ests/F_set_target_api_11/stdout.txt.expect
ests/F_set_target_api_9000/set_target_api_9000.rs
ests/F_set_target_api_9000/stderr.txt.expect
ests/F_set_target_api_9000/stdout.txt.expect
ests/F_set_target_api_foo/set_target_api_foo.rs
ests/F_set_target_api_foo/stderr.txt.expect
ests/F_set_target_api_foo/stdout.txt.expect
ests/F_struct_array_copy/stderr.txt.expect
ests/F_struct_array_copy/struct_array_copy.rs
ests/P_set_target_api_12/set_target_api_12.rs
ests/P_set_target_api_12/stderr.txt.expect
ests/P_set_target_api_12/stdout.txt.expect
ests/P_set_target_api_13/set_target_api_13.rs
ests/P_set_target_api_13/stderr.txt.expect
ests/P_set_target_api_13/stdout.txt.expect
ests/P_set_target_api_14/set_target_api_14.rs
ests/P_set_target_api_14/stderr.txt.expect
ests/P_set_target_api_14/stdout.txt.expect
ests/test.py
2e35b136cc2434080fcd682d2f95e53a87675dd4 22-Jul-2011 Stephen Hines <srhines@google.com> Add support for -target-api <n> to llvm-rs-cc.

Change-Id: Ieaef83fae55f84e87a9301b377633ac658a724b6
ndroid.mk
SCCOptions.td
lvm-rs-cc.cpp
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
lang_rs_backend.h
b69aa6557572c9ca91c46add3016962af0c993e7 22-Jul-2011 Stephen Hines <srhines@google.com> Fix double delete (from RSExportable during teardown).

I should not have attempted to delete the storage in this case. At this point
in compilation, we have already appended it to a list of objects to be cleaned
up. This results in a mistaken double deletion of the same object, which in
turn causes the compiler to seg fault (instead of terminating nicely).

Change-Id: I479153e146ef3ed3a5c728494c35d7d2b75fc292
lang_rs_export_foreach.cpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
6b201eb3306b9609a991728a52ce948974bd4aed 21-Jul-2011 Stephen Hines <srhines@google.com> Define RS_VERSION as the SDK version.

Change-Id: Iaee48b397923e7f6af33b6dfd4a03f52bdd34f93
ndroid.mk
lang_rs.cpp
lang_rs_reflection.cpp
ests/P_redefine_RS_VERSION/redefine_RS_VERSION.rs
ests/P_redefine_RS_VERSION/stderr.txt.expect
ests/P_redefine_RS_VERSION/stdout.txt.expect
ests/P_use_RS_VERSION/stderr.txt.expect
ests/P_use_RS_VERSION/stdout.txt.expect
ests/P_use_RS_VERSION/use_RS_VERSION.rs
ests/test.py
aaeb5f85c7a8129531e7f1c3c49fe4fe1e18b1b4 21-Jul-2011 Stephen Hines <srhines@google.com> Merge "Fix style issues."
10a4d2df2705d3baa986a4603b582691a38548b4 21-Jul-2011 Shih-wei Liao <sliao@google.com> Merge "Enhanced check for padding"
ecddee364d731c09c77b4c3fa647fa4f50e26756 21-Jul-2011 Stephen Hines <srhines@google.com> Fix style issues.

Change-Id: I646b5232cfac772c5a310b62f435a2cc79b2c831
lang_rs_ast_replace.h
lang_rs_export_element.h
lang_rs_export_type.h
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
d22724aead836dc039f5f9521ad7d38845d07ea0 21-Jul-2011 Andrew Hsieh <andrewhsieh@google.com> Enhanced check for padding

Change-Id: Iaf97f30d169918776220fd6b920067fd7db4f05a
lang_rs_reflection.cpp
ab992e59a36a18df49bf4878968ef0598299afd3 20-Jul-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to llvm upstream r135568.

- Remove the const qualifier of llvm::Type and
llvm::PointerType due to the API change.

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

- Qualify dyn_cast with llvm namespace.

Change-Id: I4820fb86effc3a62569e19a6a8753ba9e960f6b2
lang_backend.cpp
lang_rs_ast_replace.cpp
lang_rs_backend.cpp
lang_rs_export_func.cpp
lang_rs_export_func.h
lang_rs_object_ref_count.cpp
a67e4451d0d03b4ab7866b64807d95a8399c73a0 20-Jul-2011 Stephen Hines <srhines@google.com> Remove ArrayRefs!

Change-Id: Ie49fde338437a600384f10c5c7a730691bd0b9a4
lang_rs_backend.cpp
lang_rs_export_type.cpp
7c67e578c760408dba0c2f64da6e074dd8b56fd9 19-Jul-2011 Shih-wei Liao <sliao@google.com> Apply changes to migrate to upstream API.

Change-Id: Ibe6060a0d1c42b9725524de7f4cb95551b711717
ndroid.mk
lang_rs_backend.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
18c8829f2bd3cbe0d02471588c6643c0a8c6ca3c 15-Jul-2011 Stephen Hines <srhines@google.com> Remove all explicit ArrayRef constructors.

Related BUG=5028838

Change-Id: I5867f8e5d7097ef349a6d1eda1681b0014ac66c9
lang_backend.cpp
lang_rs_export_type.cpp
lang_rs_metadata_spec_encoder.cpp
d27a74edb932580d224a7186731aa6be098ad02e 14-Jul-2011 Stephen Hines <srhines@google.com> Fix missing slot metadata issue + cleanup ArrayRefs.

Temporary ArrayRefs are very bad (tm). This change converts all temporary
ArrayRefs to be implicitly created where necessary, rather than using explicit
API calls.

BUG=5028838

Change-Id: I5ffedc737aee17b529c66ed76e8080c9886c6153
lang_rs_backend.cpp
f7b5b60c47e357d81271949c2a9362884a48a143 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I4d9299fd28afd832b359bc3d131174d3b4b5e69c
langData.mk
77703262b9c2fecc22287ca236daa72b2cea7d27 02-Jul-2011 Shih-wei Liao <sliao@google.com> Fix API changes of llvm::SubtargetFeatures.

Change-Id: If9503dfb2bb368f95020bc2ba0652a3ca4ab6d28
lang_backend.cpp
48b72bf3ea4a7dc66a0b59734aeb0c4adfb4d9d1 11-Jun-2011 Stephen Hines <srhines@google.com> Type-checking for ForEach with RS types.

BUG=4203264

Change-Id: I90e54cdf22fea76ffde9548617fb7b492ba9d643
lang_rs_reflection.cpp
lang_rs_reflection.h
1688a3c56851f235866d6870c89ddb20650cc030 22-Jun-2011 Shih-wei Liao <sliao@google.com> In syncing to 133163, now clang::FieldDecl::Create has 1 more parameter.

Namely, HasInit at the end of parameter list.

Change-Id: I9eaf1dc4a539011a9e4a3ded8870e7d450450703
lang_rs_export_foreach.cpp
fd6ea6ad7074944a5f730d05241a97f43042b1b7 22-Jun-2011 Shih-wei Liao <sliao@google.com> Change FieldDecl::Create() API.

Migrate to clang upstream to r132878 11th Jun 2011.

Change-Id: Iee2ae185efc22a3ae934b03f378585e3c4481960
lang_rs_export_func.cpp
fcc654a1f4034978f7534479f9c5c33a92ca8546 22-Jun-2011 Shih-wei Liao <sliao@google.com> Fix llvm API changes to migrate to upstream r131807.

Now, llvm doesn't provide create*Passes() interface and removes StandardPasses.h.
Instead, we use PassManagerBuilder to replace StandardPasses.

Change-Id: I0979afd0ecb9bf2df6634aaff0a8c9a32d405f71
lvm-rs-link.cpp
lang.cpp
lang_backend.cpp
lang_backend.h
83f0c6261efc8f397fc2509e3862bc6d0eb1e1c4 21-Jun-2011 Shih-wei Liao <sliao@google.com> Apply API changes to migrate to CLANG upstream.

Change-Id: I376a8a24c238c4e27d37c4f846b93e2f6e38d79c
lang_backend.cpp
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_metadata_spec_encoder.cpp
4f9e08bd32ea91d42160d4b8f2f452947dbacbdf 18-Jun-2011 Stephen Hines <srhines@google.com> Add in missing primitive element reflection.

Change-Id: Ib1d00eeb6ed6abdc16f63a9a0cf2dc957b63a8b2
lang_rs_reflection.cpp
b5a89fbfcba6d8817c1c3700ed78bd6482cf1a5d 17-May-2011 Stephen Hines <srhines@google.com> Clean up forEach reflection code.

BUG=4203264

Change-Id: I8196608408fe333bd8e875d9517b8e875bdce17d
lang_rs_context.cpp
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_reflection.cpp
lang_rs_reflection.h
ests/F_root_compute_int_in/root_compute_int_in.rs
ests/F_root_compute_int_in/stderr.txt.expect
ests/F_root_compute_int_in/stdout.txt.expect
ests/F_root_compute_non_const_ain/root_compute_non_const_ain.rs
ests/F_root_compute_non_const_ain/stderr.txt.expect
ests/F_root_compute_non_const_ain/stdout.txt.expect
ests/F_root_compute_non_const_non_ptr_ain/root_compute_non_const_non_ptr_ain.rs
ests/F_root_compute_non_const_non_ptr_ain/stderr.txt.expect
ests/F_root_compute_non_const_non_ptr_ain/stdout.txt.expect
ests/F_root_compute_non_const_usrData/stderr.txt.expect
ests/F_root_compute_non_ptr_ain/root_compute_non_ptr_ain.rs
ests/F_root_compute_non_ptr_ain/stderr.txt.expect
ests/F_root_compute_non_ptr_ain/stdout.txt.expect
ests/F_root_compute_non_ptr_aout/root_compute_non_ptr_aout.rs
ests/F_root_compute_non_ptr_aout/stderr.txt.expect
ests/F_root_compute_non_ptr_aout/stdout.txt.expect
ests/F_root_compute_non_ptr_usrData/stderr.txt.expect
ests/F_root_compute_non_uint32_t_xyzar/stderr.txt.expect
ests/F_root_compute_non_void_ret/root_compute_non_void_ret.rs
ests/F_root_compute_really_bad/stderr.txt.expect
ests/F_root_compute_too_many_args/root_compute_too_many_args.rs
ests/F_root_compute_too_many_args/stderr.txt.expect
593a894650e81be54173106ec266f0311cebebd3 11-May-2011 Stephen Hines <srhines@google.com> Simple support for reflecting rsForEach().

BUG=4203264

Change-Id: Idf722ee3fb07c8e46ac0c4628e753ff2fa6840cf
ndroid.mk
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_foreach.cpp
lang_rs_export_foreach.h
lang_rs_exportable.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_root.cpp
lang_rs_root.h
b6809edd6ee8b90982425fb8ad24e867708b46fc 09-May-2011 Stephen Hines <srhines@google.com> Provide multiple diagnostics when we can.

Change-Id: I2e13baa20cb7dd39ae2e00cd011771b1b8574357
lang_rs_context.cpp
ests/F_multi_export_errors/multi_export_errors.rs
ests/F_multi_export_errors/stderr.txt.expect
ests/F_multi_export_errors/stdout.txt.expect
3cb586aac38db959ad9edcda3c761c04f5162987 06-May-2011 Stephen Hines <srhines@google.com> Improve type validation for root() functions.

Change-Id: I16af906106d4b38966e37534703f959f7d6c956c
lang_rs_root.cpp
lang_rs_root.h
ests/F_root_compute/root_compute.rs
ests/F_root_compute/stderr.txt.expect
ests/F_root_compute/stdout.txt.expect
ests/F_root_compute_non_const_ain/root_compute_non_const_ain.rs
ests/F_root_compute_non_const_ain/stderr.txt.expect
ests/F_root_compute_non_const_ain/stdout.txt.expect
ests/F_root_compute_non_const_non_ptr_ain/root_compute_non_const_non_ptr_ain.rs
ests/F_root_compute_non_const_non_ptr_ain/stderr.txt.expect
ests/F_root_compute_non_const_non_ptr_ain/stdout.txt.expect
ests/F_root_compute_non_const_usrData/root_compute_non_const_usrData.rs
ests/F_root_compute_non_const_usrData/stderr.txt.expect
ests/F_root_compute_non_const_usrData/stdout.txt.expect
ests/F_root_compute_non_ptr_ain/root_compute_non_ptr_ain.rs
ests/F_root_compute_non_ptr_ain/stderr.txt.expect
ests/F_root_compute_non_ptr_ain/stdout.txt.expect
ests/F_root_compute_non_ptr_aout/root_compute_non_ptr_aout.rs
ests/F_root_compute_non_ptr_aout/stderr.txt.expect
ests/F_root_compute_non_ptr_aout/stdout.txt.expect
ests/F_root_compute_non_ptr_usrData/root_compute_non_ptr_usrData.rs
ests/F_root_compute_non_ptr_usrData/stderr.txt.expect
ests/F_root_compute_non_ptr_usrData/stdout.txt.expect
ests/F_root_compute_non_uint32_t_xyzar/root_compute_non_uint32_t_xyzar.rs
ests/F_root_compute_non_uint32_t_xyzar/stderr.txt.expect
ests/F_root_compute_non_uint32_t_xyzar/stdout.txt.expect
ests/F_root_compute_non_void_ret/root_compute_non_void_ret.rs
ests/F_root_compute_non_void_ret/stderr.txt.expect
ests/F_root_compute_non_void_ret/stdout.txt.expect
ests/F_root_compute_really_bad/root_compute_really_bad.rs
ests/F_root_compute_really_bad/stderr.txt.expect
ests/F_root_compute_really_bad/stdout.txt.expect
ests/F_root_compute_too_many_args/root_compute_too_many_args.rs
ests/F_root_compute_too_many_args/stderr.txt.expect
ests/F_root_compute_too_many_args/stdout.txt.expect
ests/P_root_compute/root_compute.rs
ests/P_root_compute/stderr.txt.expect
ests/P_root_compute/stdout.txt.expect
ests/P_root_compute_non_void_ptr_usrData/root_compute_non_void_ptr_usrData.rs
ests/P_root_compute_non_void_ptr_usrData/stderr.txt.expect
ests/P_root_compute_non_void_ptr_usrData/stdout.txt.expect
5baf6324a97430016026419deaef246ad75430fc 26-Apr-2011 Stephen Hines <srhines@google.com> Check RS functions (esp. init/root) for validity.

Change-Id: Ice65c8b691550e2d11caf621e0f88c822316601b
ndroid.mk
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_root.cpp
lang_rs_root.h
ests/F_init_nonvoid/init_nonvoid.rs
ests/F_init_nonvoid/stderr.txt.expect
ests/F_init_nonvoid/stdout.txt.expect
ests/F_init_params/init_params.rs
ests/F_init_params/stderr.txt.expect
ests/F_init_params/stdout.txt.expect
ests/F_invoke_return/invoke_return.rs
ests/F_invoke_return/stderr.txt.expect
ests/F_invoke_return/stdout.txt.expect
ests/F_no_java_package_name/no_java_package_name.rs
ests/F_root_compute/root_compute.rs
ests/F_root_compute/stderr.txt.expect
ests/F_root_compute/stdout.txt.expect
ests/F_root_graphics/root_graphics.rs
ests/F_root_graphics/stderr.txt.expect
ests/F_root_graphics/stdout.txt.expect
ests/P_float3/float3.rs
ests/P_int_ptr_ptr/int_ptr_ptr.rs
ests/P_license/license.rs
ests/P_math_fp/math_fp.rs
ests/P_math_int/math_int.rs
ests/P_overload/overload.rs
ests/P_refcount/refcount.rs
ests/P_root_graphics/root_graphics.rs
ests/P_root_graphics/stderr.txt.expect
ests/P_root_graphics/stdout.txt.expect
ests/P_warnings/warnings.rs
78e69cb06b9b0683b2ac9dcafde87b867690ef2f 23-Apr-2011 Stephen Hines <srhines@google.com> Forbid RS objects from being contained in unions.

This change also refactors variable validation in general for RS.
BUG=4283858

Change-Id: I4527986a07c9cf2babdc5b855cdb1f00e3535d5b
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_object_ref_count.cpp
ests/F_union/stderr.txt.expect
ests/F_union/union.rs
ests/F_union_rs_copy/stderr.txt.expect
ests/F_union_rs_copy/stdout.txt.expect
ests/F_union_rs_copy/union_rs_copy.rs
d0b5edd02be5f09c1d8d211f4a06b031a7b66510 19-Apr-2011 Stephen Hines <srhines@google.com> Disallow union copies that contain RS object types

This also cleans up RSObjectRefCount's usage of ASTContext a bit.

BUG=4283858

Change-Id: I9ca61e27fc5d6eb1befc2da4fe2d157f5936a56f
lang_rs_backend.cpp
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
ests/F_union_rs_copy/stderr.txt.expect
ests/F_union_rs_copy/stdout.txt.expect
ests/F_union_rs_copy/union_rs_copy.rs
7207645766b118ef18081363bb58e39d3e715c2f 20-Apr-2011 Shih-wei Liao <sliao@google.com> Apply changes to migrate to upstream as of April 8th, 2011 from logan.

- Use llvm::StructType::get(LLVMContext &, ArrayRef<const Type *>,
bool) to create struct type instead of the ellipsis version.
Otherwise, an error about ambigious overload function will occur.

Change-Id: I8012d8d9fa10a89f28e858533d427807df7214d5
lang_rs_export_type.cpp
cc887ba8fe42cca706caae636932ae6a61a30ed2 20-Apr-2011 Shih-wei Liao <sliao@google.com> Apply changes to migrate to upstream as of March 18th, 2011 from logn.

- VarDecl requires StartLoc. We can get StartLoc by using
DeclaratorDecl::getInnerLocStart().

- FieldDecl and RecordDecl require StartLoc for Create function.
We can use clang::SourceLocation() in this case.

Change-Id: Ifc82678d10ad948484df1022df2bfc3e94e360cd
lang_rs_export_func.cpp
lang_rs_object_ref_count.cpp
acdb5edf598f5ad89b28e54998d272acb18cf3dd 31-Mar-2011 Stephen Hines <srhines@google.com> am 0211613b: (-s ours) DO NOT MERGE: Add support for RSASTReplace for ref-counting.

* commit '0211613b1388471d0baa35d96b1da1d1010af650':
DO NOT MERGE: Add support for RSASTReplace for ref-counting.
a20a2fdbf5baedc7fac36707e1e052e1697f52a1 30-Mar-2011 Ying Wang <wangying@google.com> Use the prebuilt llvm-rs-* if we are doing apps-only build.

This can fix the build error "MODULE.HOST.EXECUTABLES.llvm-rs-cc already
defined by frameworks/compile/slang. Stop." when you run "tapas" in
full source tree.

Change-Id: I59052d1d4c9c559a739c51d21b623758c41eab17
ndroid.mk
0211613b1388471d0baa35d96b1da1d1010af650 19-Mar-2011 Stephen Hines <srhines@google.com> DO NOT MERGE: Add support for RSASTReplace for ref-counting.

BUG=3092382

Change-Id: I66fb79183c8a9b0a10adb83bd308455125de79c3
ndroid.mk
lang_rs_ast_replace.cpp
lang_rs_ast_replace.h
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
292e00a0259ac28cac1055cb6077cf6fc7c6743c 19-Mar-2011 Stephen Hines <srhines@google.com> Add support for RSASTReplace for ref-counting.

BUG=3092382

Change-Id: Ia17d40753952e4a021b39549a082cc4b3f20916c
ndroid.mk
lang_rs_ast_replace.cpp
lang_rs_ast_replace.h
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
b85033587194aed2b7f37059f66142d84576d9e8 18-Mar-2011 Shih-wei Liao <sliao@google.com> Fix build breakage.

Keep -Werror by inserting "\n" in necessary places.

Change-Id: I640b7e7fb9d8e843852760b6118fd1ab6f63d43f
lang_rs_spec_table.cpp
9be9360d8e02b52ed669afbd69f9becb575c3f0d 18-Mar-2011 Alex Sakhartchouk <alexst@google.com> Re-enable warnings as errors in Slang.

Change-Id: Id926a089c6e8c4ae5d11ce692105bc6d383636a9
ndroid.mk
lang_assert.h
lang_rs_object_ref_count.cpp
187975bd37f380c3a08bdba8f5a7d57304557bdd 15-Mar-2011 Stephen Hines <srhines@google.com> Revert "All warnings should be enabled/errors in Slang."

This reverts commit be9e677c0e874e940fb54d1e3644261fb0f53845.
ndroid.mk
be9e677c0e874e940fb54d1e3644261fb0f53845 11-Mar-2011 Stephen Hines <srhines@google.com> All warnings should be enabled/errors in Slang.

Change-Id: I5623de8de92b650b11389e733fa9f896066a5dfa
ndroid.mk
68318a14fe6d2debc1b9dce3fe71c42f5916eef5 11-Mar-2011 Shih-wei Liao <sliao@google.com> Fix struct size bug.

clang/AST/RecordLayout.h now uses CharUnits, which will return
the size of a struct using number of bytes as the unit. So we
no longer need the division which converts number of bits to
number of bytes.
RL->getSize().getQuantity() is equivalent to something like
sizeof operator.

Change-Id: Ib3a4ec67349a275dfb8a73c4eac860395b101a05
lang_rs_export_type.cpp
6f4e0a9955a53a6f715af7e674e68ed15270a47c 09-Mar-2011 Logan Chien <tzuhsiang.chien@gmail.com> Migrate to newer API.

Following function (left) is deprecated, use the right version
instead:

llvm::sys::Path::getLast -> llvm::sys::path::filename
llvm::sys::Path::getBasename -> llvm::sys::path::stem
llvm::sys::Path::getDirname -> llvm::sys::path::parent_path
lvm-rs-cc.cpp
lang.cpp
lang_rs.cpp
be27482cdeaf08576bc39b72a15d35d13014a636 16-Feb-2011 Logan <tzuhsiang.chien@gmail.com> Apply changes to migrate to LLVM Mar 6th 2011.

- API for name mangling. (Changing from non-public APIs to the
public one)

- API changes for clang::Diagnostic::getNumErrors ->
clang::Diagnostic::hasErrorOccurred

- API changes for clang::CharUnits and Quantity type.

- API changes libLLVMSystem -> libLLVMSupport.

- Change clang::Token::eom -> clang::Token::eod.

- Remove SourceRange parameter for DeclRefExpr::Create and
MemberExpr::Create.

- Add const qualifier for several unsafe type cast.
ndroid.mk
lvm-rs-cc.cpp
lvm-rs-link.cpp
lang.cpp
lang.h
lang_diagnostic_buffer.cpp
lang_rs.cpp
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_element.cpp
lang_rs_export_func.h
lang_rs_export_type.cpp
lang_rs_object_ref_count.cpp
lang_rs_pragma_handler.cpp
lang_utils.cpp
832429f6bf4592cfc2ce58f2462f1e8ecdbaaf52 26-Feb-2011 Stephen Hines <srhines@google.com> Add proper line info to rsSetObject diagnostic.

Change-Id: Ib0281b66541f4c4fe3cd7d6e9a2490471481df1c
lang_rs_object_ref_count.cpp
ests/F_struct_array_copy/stderr.txt.expect
47165f5171ca12d78c8bec008d15051aa84c776c 02-Mar-2011 Shih-wei Liao <sliao@google.com> Fix NOTICE.

Change-Id: I7fcbdb5930b926d560ad029a56a303860127fc92
OTICE
df5bcce1582d839eead432a5e24435236c90fb05 01-Mar-2011 Shih-wei Liao <sliao@google.com> NOTICE file and logn:
Apply changes to migrate to LLVM 2010 Nov 10th:

Change-Id: Ib8d3675b4701957f299f249ac72e8a43c2a6bc4c
ndroid.mk
OTICE
lvm-rs-link.cpp
lang.cpp
lang.h
lang_pragma_recorder.cpp
lang_pragma_recorder.h
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
d7f0ea21058abbdd1edfd3df65762fa3c91cb224 23-Feb-2011 Stephen Hines <srhines@google.com> Warnings should be emitted on successful compiles too.

BUG=3467229

Change-Id: I232605708b97dbe77ede1443bdb8af8f4af238b6
lvm-rs-cc.cpp
ests/P_alloc_in_struct/alloc_in_struct.rs
ests/P_warnings/stderr.txt.expect
ests/P_warnings/stdout.txt.expect
ests/P_warnings/warnings.rs
af37d109e205f9e51ad969ae907936e56fcd1b37 12-Feb-2011 Stephen Hines <srhines@google.com> am a0611e66: Initialize structs.

* commit 'a0611e66bec148b176404cf6afe4c9ec9b960414':
Initialize structs.
a0611e66bec148b176404cf6afe4c9ec9b960414 12-Feb-2011 Stephen Hines <srhines@google.com> Initialize structs.

Bug: 3092382
Change-Id: I4b9596c686205bbbc38505ed5dd33d1b968d2fd6
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
62a9afdbfd77b0064dc1f07c382824bc31ff821c 12-Feb-2011 Stephen Hines <srhines@google.com> am 2bb67db8: Replace struct assignments with rsSetObject calls.

* commit '2bb67db8364162b30e6920baddf6c2e890b3ce79':
Replace struct assignments with rsSetObject calls.
2bb67db8364162b30e6920baddf6c2e890b3ce79 11-Feb-2011 Stephen Hines <srhines@google.com> Replace struct assignments with rsSetObject calls.

Bug: 3092382
Change-Id: I63f16a7dac02eb348b87a6225944d48faa615899
lang_rs_backend.cpp
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
ests/F_struct_array_copy/stderr.txt.expect
ests/F_struct_array_copy/stdout.txt.expect
ests/F_struct_array_copy/struct_array_copy.rs
bc478ef14637f65caa103a42f452ee6796b12bc2 11-Feb-2011 Stephen Hines <srhines@google.com> am f2174cfd: Handle struct reference counting.

* commit 'f2174cfd6a556b51aadf2b8765e50df080e8f18e':
Handle struct reference counting.
f2174cfd6a556b51aadf2b8765e50df080e8f18e 10-Feb-2011 Stephen Hines <srhines@google.com> Handle struct reference counting.

Bug: 3092382

Change-Id: I215bd8245324ec2b7752a7c40817e3e5cd1c0e00
lang_assert.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_func.h
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
5ecf781c625fabc0adea668baa89f2092c4be39f 11-Feb-2011 Shih-wei Liao <sliao@google.com> am 3fa286b4: Fix b/3427124. Adding the overloadable invokable feature. Reflect that type of invokables to Java.

* commit '3fa286b4c2f110c6be2bbfac9c715bb1ec880338':
Fix b/3427124. Adding the overloadable invokable feature. Reflect that type of invokables to Java.
02381011498a8bb25158e9deb0b280ea951e836a 11-Feb-2011 Raphael <raphael@google.com> am 8d5a2f6a: Support Windows paths in slang.

* commit '8d5a2f6ab321615bfb3a46f68aff0b643a71caa0':
Support Windows paths in slang.
3fa286b4c2f110c6be2bbfac9c715bb1ec880338 10-Feb-2011 Shih-wei Liao <sliao@google.com> Fix b/3427124. Adding the overloadable invokable feature. Reflect that type of invokables to Java.

1. Add __attribute__((overloadable)) support on the rs side for invokables. Requested by the Books team.
2. Add name mangling support and MangleContext.
3. Add the test P_overload.
4. This CL only affects Honeycomb SDK. It doesn't affect Final ROM.
5. This CL should go in at the same time with another CL on external/clang.git (to be done now.)

Change-Id: I9e743894a97626d8c27b0dd9c0a51cef1175d2ab
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_func.cpp
lang_rs_export_func.h
lang_rs_reflection.cpp
ests/P_overload/overload.rs
ests/P_overload/stderr.txt.expect
ests/P_overload/stdout.txt.expect
8d5a2f6ab321615bfb3a46f68aff0b643a71caa0 08-Feb-2011 Raphael <raphael@google.com> Support Windows paths in slang.

Change-Id: I5240164d1d83f7816973a0e6ee9c26e337e605b1
lvm-rs-cc.cpp
s_sep.h
lang_rs.cpp
lang_rs_reflect_utils.cpp
lang_rs_reflection.cpp
92fee195ce66e32514aa7171bf88359f349f2767 08-Feb-2011 Stephen Hines <srhines@google.com> resolved conflicts for merge of 6e6578a3 to master

Change-Id: Ief6b71bcbe3dda653858bf26d129114c68b49fb5
6e6578a360497f78a181e63d7783422a9c9bfb15 08-Feb-2011 Stephen Hines <srhines@google.com> Add support for assertions in llvm-rs-cc.

Bug: 3430674
Change-Id: I3400238652449cde84275cc2a770f405332d9544
ndroid.mk
lvm-rs-cc.cpp
lang.cpp
lang_assert.h
lang_backend.cpp
lang_diagnostic_buffer.cpp
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_export_element.cpp
lang_rs_export_element.h
lang_rs_export_func.cpp
lang_rs_export_func.h
lang_rs_export_type.cpp
lang_rs_export_var.cpp
lang_rs_metadata_spec_encoder.cpp
lang_rs_object_ref_count.cpp
lang_rs_pragma_handler.cpp
lang_rs_reflection.cpp
lang_rs_reflection.h
15595249254d0823240f2e3be9e10ea4bbde1367 07-Feb-2011 Stephen Hines <srhines@google.com> am feaca06f: Zero-initialize structs containing RS objects.

* commit 'feaca06fcb0772e9e972a0d61b17259fc5124d50':
Zero-initialize structs containing RS objects.
8cab6123407130ef4317b699eeebe31e6aefd6ef 07-Feb-2011 Stephen Hines <srhines@google.com> am e79fb5ec: Handle local RS object initialization properly.

* commit 'e79fb5ec220e20bd04cd6f6059cbc9748181ce21':
Handle local RS object initialization properly.
7c2f7dfe1bd4172bb1ebfb9d2ee2c7bb1d57220f 07-Feb-2011 Stephen Hines <srhines@google.com> am d09df09a: Fix pragma for reflection license.

* commit 'd09df09ae1e354c4fa595ab421b365ce5cd58cf3':
Fix pragma for reflection license.
feaca06fcb0772e9e972a0d61b17259fc5124d50 04-Feb-2011 Stephen Hines <srhines@google.com> Zero-initialize structs containing RS objects.

Bug: 3092382
Change-Id: I2fd80777db7ed52d8c0a1a598567399e08ce06a2
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_object_ref_count.cpp
e79fb5ec220e20bd04cd6f6059cbc9748181ce21 02-Feb-2011 Stephen Hines <srhines@google.com> Handle local RS object initialization properly.

This change properly reference counts local RS object types when they are
statically initialized.

Change-Id: Ib21e8715cf63d2bcba01d332b592516262efb41e
Bug: 3092382
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
d09df09ae1e354c4fa595ab421b365ce5cd58cf3 04-Feb-2011 Stephen Hines <srhines@google.com> Fix pragma for reflection license.

Bug: 3423577

Change-Id: I64bc50690fff713787ee1f541237d9496f739695
lang_rs_pragma_handler.cpp
lang_rs_reflection.cpp
ests/P_license/license.rs
ests/P_license/stderr.txt.expect
ests/P_license/stdout.txt.expect
65bfed579297cf782659bb1111c4654cd9b1909e 02-Feb-2011 Stephen Hines <srhines@google.com> am 6b64b2bd: Remove android.util.Log from reflected files.

* commit '6b64b2bd2daf45a4a8bd8b5a11d09410bd53455f':
Remove android.util.Log from reflected files.
6b64b2bd2daf45a4a8bd8b5a11d09410bd53455f 02-Feb-2011 Stephen Hines <srhines@google.com> Remove android.util.Log from reflected files.

Change-Id: Ie1d743753275349745b57fde6a3eef94ec4dc115
lang_rs_reflection.cpp
58045ddcc793fb4216adae99571ed32fb1aaeede 01-Feb-2011 Stephen Hines <srhines@google.com> am 4cc67fce: Support for generating .java dependencies for RS.

* commit '4cc67fce91f43215d61b2695746eab102a3db516':
Support for generating .java dependencies for RS.
4cc67fce91f43215d61b2695746eab102a3db516 01-Feb-2011 Stephen Hines <srhines@google.com> Support for generating .java dependencies for RS.

This updates the -MD option to also emit .java targets to the dependency
information placed in our foo.d file.

Change-Id: I189cf6302bc1cbd6201487743a37dced87b5c5eb
lang.cpp
lang.h
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_object_ref_count.cpp
lang_rs_reflection.cpp
lang_rs_reflection.h
fad7d2f04d10dd6069ddb163456812cca560acbb 28-Jan-2011 Ying Wang <wangying@google.com> Merge "Don't repack the llvm/clang static libraries into libslang"
000c307d2115160200c4efa849d3e36c0267cd7a 28-Jan-2011 Ying Wang <wangying@google.com> Don't repack the llvm/clang static libraries into libslang

It would take a few minutes to extract obj files out from the whole
static libraries and repack them into libslang.

Change-Id: I632765acd428b43e0f1c3f1378e441faa8eab20a
ndroid.mk
b3a12fe7c18a06f99201dc491a932a90ab7d975c 27-Jan-2011 Stephen Hines <srhines@google.com> Add Slang 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: Ib452facb1b83d1f2aecd9686f46ef726e427161d
b: 3381615
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_export_type.h
lang_rs_metadata.h
c202d2d64fe0172bcc3999b515a14d3d88532420 26-Jan-2011 Stephen Hines <srhines@google.com> Replace RS object assignments with rsSetObject().

Reference counting works now for all scalar/array types. It still needs to be
modified slightly to support structs, initializers and break/continue.

Change-Id: I6e531df86508f261b784932fca930bc666cb0084
b: 3092382
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
ests/P_refcount/refcount.rs
ests/P_refcount/stderr.txt.expect
ests/P_refcount/stdout.txt.expect
29c3673d5f2bb8a20fb9c68a83c07416209406d1 20-Jan-2011 Shih-wei Liao <sliao@google.com> Add -a.

Change-Id: I98e7bc088fa819a53e468c8f14c16701038cac9f
EADME.html
EADME.rst
19cc697b594fb2f592493502ef51190558d99fb1 20-Jan-2011 Shih-wei Liao <sliao@google.com> usage. readme.

Change-Id: Iaa14aa29bbbaafeccab353cc1431c65c340c1474
EADME.html
EADME.rst
9c6295a19c28b15bb4c44c1b701360a01556c967 20-Jan-2011 Stephen Hines <srhines@google.com> Fix a small test signature bug.

Change-Id: I6a9b0c79d3a18f69f07d0542219c17fd8bc1a73d
ests/P_math_fp/math_fp.rs
4470828373378510f1d02cae4e80cfe143577de6 20-Jan-2011 Stephen Hines <srhines@google.com> Update tests to use new headers.

Change-Id: I4904c0bfc9a7726d656a6f20757a347642af36b6
ests/P_math_fp/math_fp.rs
ests/test.py
245eba133628ef5b52c78d6f538c9268c9bc5828 19-Jan-2011 Shih-wei Liao <sliao@google.com> Enforce C99 checking.

Change-Id: Id5c2afa01fdf88170d7fafcb7d321aa127d02e27
lang.cpp
3fd0a94a5cf1656569b1aea07043cc63939dcb46 18-Jan-2011 Stephen Hines <srhines@google.com> Refactor pragma handling (pass everything to LLVM)

Change-Id: Id09d4934af06f0880cd867456218602ce9a9e2de
lang.cpp
lang_backend.cpp
lang_backend.h
lang_pragma_recorder.cpp
lang_pragma_recorder.h
lang_rs.cpp
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_pragma_handler.cpp
0661778f3810bc090f025b69fc84eed3cde9cecf 17-Jan-2011 Stephen Hines <srhines@google.com> Fix style.

Change-Id: I9ce2addfc80228a2aa1cf8e91d0dd04ae91ffc85
lang_rs_reflection.cpp
a858cb6f3d9223d65bf73e1230c6324ded4095f6 17-Jan-2011 Stephen Hines <srhines@google.com> Fix variable names for Clang-based compilation.

Change-Id: I69b28110e9fda63abb3770da7a1127af4e1f2963
lang_rs.cpp
lang_rs_object_ref_count.cpp
d015ef38bb216b7a92bdbd760b844588b65ed678 15-Jan-2011 Stephen Hines <srhines@google.com> Add test for integer math functions.

Change-Id: Ifc464ba40fecdcc751fd6385825a810c575717b0
ests/P_math_int/math_int.rs
ests/P_math_int/stderr.txt.expect
ests/P_math_int/stdout.txt.expect
10c4c39a9cd1c7b0db3d9dd5cec5dc9ee36fcab5 17-Jan-2011 Jason Sams <rjsams@android.com> Just pass the field packer directly rather than
unpacking it in the reflected code.

Change-Id: I3a6febc7eec88a331559dbf3daee0d648c7e967d
lang_rs_reflection.cpp
a036a8a7186f7c2f088917107f2c854fbd2187b8 16-Jan-2011 Jason Sams <rjsams@android.com> Change to match final API sigs

Change-Id: Ifdc812b08e803aceb9074a1c9228345959dce528
lang_rs_reflection.cpp
4ffc47c5a5fdb86acf702a067d792631811a7233 14-Jan-2011 Shih-wei Liao <sliao@google.com> Clean up.

Change-Id: I9dbd7e418386b79847aa88c3ad9afd58f4e6c55c
OTICE
6fed67043e929679e1d6fa0cd13c636c1fd220c5 14-Jan-2011 Raphael <raphael@google.com> Merge "Support for building/using llvm-rs-cc for Windows SDK." into honeycomb
11e2b93b206dbb401077d1fa39b1bcdc6de4d986 14-Jan-2011 Raphael <raphael@google.com> Support for building/using llvm-rs-cc for Windows SDK.

Change-Id: I39fc84dc2b1037fb4124a2416a9c279fb3dd4298
ndroid.mk
SSpec.mk
5dee956d928e5fdf4ab1ad4b83460d00bc885a6e 13-Jan-2011 Shih-wei Liao <sliao@google.com> STATIC_LIBRARIES.

Change-Id: I5bf21027e6f57559453d537078a1e750014306d5
ndroid.mk
99230217c5ef626487610b4b387d62158c06ae7b 13-Jan-2011 Shih-wei Liao <sliao@google.com> On-device linking should use SHARED_LIBRARIES class. STATIC_LIBRARIES
LOCAL_MODULE_CLASS may not get into the final .so.

Change-Id: Ia139860848f769b2e2e8a6af3d5a423d973544a3
ndroid.mk
46bd0121f3cec6b80bd90a04a43604293f0d822b 13-Jan-2011 Shih-wei Liao <sliao@google.com> Packing (On-device linking)

Change-Id: I81aea0600780323913714a05ac9fdeb2750ee579
lang-data.c
9901f89f9dc9648c3837711d6e9234bd3a985151 13-Jan-2011 Shih-wei Liao <sliao@google.com> On-device linking: Packing work

Change-Id: I491aaee0803d7dd8a42dd0ea144cf583a4d6da18
ndroid.mk
langData.mk
329179389684e74bbb6ef5a95c6fbc769cac05c0 12-Jan-2011 Stephen Hines <srhines@google.com> Fix style.

Change-Id: I8e9e312ca3bd5b30dff0cfb4d3fd6e0444d3b2e9
lang_rs_reflection.cpp
23d285c3d6e0c66d343f554f19442f78855a83f1 12-Jan-2011 Stephen Hines <srhines@google.com> Merge "Add test for RS floating point math functions." into honeycomb
e2201c0362dd68c316cec670e1607b1d3d77c5c5 12-Jan-2011 Ying Wang <wangying@google.com> Link statically against libslang.

Change-Id: Ief59d0770eca509d7ad069f66e1333a4d15f6057
ndroid.mk
97af68299de41f7a985309dd3661eb9c9172fb8d 12-Jan-2011 Stephen Hines <srhines@google.com> Add test for RS floating point math functions.

Change-Id: I6979ca8ffa4baf7f32a3fc0cb8a33f3f18600c94
ests/P_math_fp/math_fp.rs
ests/P_math_fp/stderr.txt.expect
ests/P_math_fp/stdout.txt.expect
eb2eec96b5f19778ac1b7aebe6a91bbcb8d4df96 10-Jan-2011 Stephen Hines <srhines@google.com> Fix duplicate destructor issue.

We now explicitly require static variable destructors to be created in
HandleTranslationUnitPre() and global variable destructors to be created
in HandleTopLevelDecl().

Bug: 3092382
Change-Id: If9176c81951edb3430f1ad6ae80f9a06d73f5fd7
lang_rs_backend.cpp
125052390460773d0a4531d5bd26cdb704d08c93 07-Jan-2011 Stephen Hines <srhines@google.com> Add rs_time.h as a valid default RS header.

Change-Id: I85d4415b7d76db1cd4114a1078892c1016936e67
lang_rs.cpp
42afde21ffd77fe454a6272f80a0b89fe7232ef8 08-Jan-2011 Jason Sams <rjsams@android.com> Update with new function names.

Change-Id: I130e3376db5f1a83724840bb18d1937983c228a9
lang_rs_reflection.cpp
96ab06cbe40b2d73c0eb614f814cd761d8962b6b 06-Jan-2011 Stephen Hines <srhines@google.com> Add support for the version pragma.

Change-Id: I62707dcb432093ba50db95e527d55ff781be22a9
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_context.h
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
ests/F_bad_version_pragma/bad_version_pragma.rs
ests/F_bad_version_pragma/stderr.txt.expect
ests/F_bad_version_pragma/stdout.txt.expect
ests/F_no_version_pragma/no_version_pragma.rs
ests/F_no_version_pragma/stderr.txt.expect
ests/F_no_version_pragma/stdout.txt.expect
9d2c0fa6490e09b3ff5603796bce42d97788e5c8 05-Jan-2011 Stephen Hines <srhines@google.com> Fix style and a small typo.

Change-Id: I3525f400feecd11be9cd90a142434f6eb89d965a
lang_rs_object_ref_count.cpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
03981a308201b9123512297c8b9562a0f29bdf31 15-Dec-2010 Stephen Hines <srhines@google.com> Support basic array destructors for RS types.

Bug: 3092382
Change-Id: I8f39672eb9ce4bae6aeb91f186f72def083aa6c1
lang_rs_object_ref_count.cpp
aa180e98d5209fb44e7d5ecaec758be4a43078cd 17-Dec-2010 Alex Sakhartchouk <alexst@google.com> API clean-up

Change-Id: If5e228783df51e6183ff84d8f28c2ff840b29761
lang_rs_reflection.cpp
cedffd91a421770b3a6aa3c858c7c8db55962628 17-Dec-2010 Jason Sams <rjsams@android.com> Fix bug with resize that would leave the
fieldPacked sized to the origional allocation.

Change-Id: I9f9df065f39909ff0e55e00e33a5fc223eaee4ad
lang_rs_reflection.cpp
d5f9d6c8b6944dfc30d4fea68479c2fcc250a62c 16-Dec-2010 Stephen Hines <srhines@google.com> Convert from use of Expr -> Stmt.

This will facilitate rs* array destructors (which use CompoundStmt).

Bug: 3092382
Change-Id: I17d86ccedfb6f40c49a491a80dbced55ed917c8f
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
2ef9bc0cfbca2152d972c0975005f8c897c2a42c 14-Dec-2010 Stephen Hines <srhines@google.com> Convert fprintf -> diagnostic messages.

Proper support/test for multi-level pointer types.
Proper diagnostics for bit fields, which are currently
not supported.

Bug: 2954471
Change-Id: I347f14f02fcf7fbef9f6e5dde5b4e948391a0691
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_type.cpp
lang_rs_export_type.h
ests/F_struct_bitfield/stderr.txt.expect
ests/F_struct_bitfield/stdout.txt.expect
ests/F_struct_bitfield/struct_bitfield.rs
ests/F_struct_ptr/stderr.txt.expect
ests/F_struct_ptr/stdout.txt.expect
ests/F_struct_ptr/struct_ptr.rs
ests/P_int_ptr_ptr/int_ptr_ptr.rs
ests/P_int_ptr_ptr/stderr.txt.expect
ests/P_int_ptr_ptr/stdout.txt.expect
24e79f69125cf87fcaa78c04510a831037203eeb 13-Dec-2010 Stephen Hines <srhines@google.com> Refactor diagnostics for constant array exports.

Bug: 3171195
Change-Id: I9062b583b6d5fe7bf6590000b8c745de4e70e7a1
lang_rs_export_type.cpp
ests/F_large_array/large_array.rs
ests/F_large_array/stderr.txt.expect
ests/F_large_array/stdout.txt.expect
ests/F_multidim_array/multidim_array.rs
ests/F_multidim_array/stderr.txt.expect
ests/F_multidim_array/stdout.txt.expect
dd6206bb61bf8df2ed6b643abe8a29c48a315685 10-Dec-2010 Stephen Hines <srhines@google.com> Arrays of width 3 vector types cannot be exported.

Bug: 3171195
Change-Id: I7deab4ab9c7f8650bce7c597fae2a0dc013f6f71
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_reflection.cpp
ests/F_float3_array/float3_array.rs
ests/F_float3_array/stderr.txt.expect
ests/F_float3_array/stdout.txt.expect
ests/F_struct_float3_array/stderr.txt.expect
ests/F_struct_float3_array/stdout.txt.expect
ests/F_struct_float3_array/struct_float3_array.rs
ests/P_float3/float3.rs
ests/P_float3/stderr.txt.expect
ests/P_float3/stdout.txt.expect
ests/test.py
425da9f78e0dae7c2ebb3b0a60f7e0f06f02a40a 09-Dec-2010 Jason Sams <rjsams@android.com> Merge "Add usage flag to create ScriptField_*"
a7b7518aa3725d5cff1c1a6319ec7a6b8b244e0e 08-Dec-2010 Stephen Hines <srhines@google.com> Check exported array elements for proper equality.

Bug: 3263454
Change-Id: I84f070bb9bf75fe16aae7195c39c921589bd7350
lang_rs_export_type.cpp
ests/P_odr_array/def1.rs
ests/P_odr_array/def2.rs
ests/P_odr_array/inc.rsh
ests/P_odr_array/stderr.txt.expect
ests/P_odr_array/stdout.txt.expect
91fe83b56e6ffabecdb1292ff3694275ef07aed9 07-Dec-2010 Jason Sams <rjsams@android.com> Add usage flag to create ScriptField_*

Change-Id: I5f1bc7207559ab2e2ab842eb2ff06b61310dcc1f
lang_rs_reflection.cpp
ecf21d16791d364a789a6283305657f9432e01e1 07-Dec-2010 Jason Sams <rjsams@android.com> Merge "Update for API changes."
536aef0dd1befdfef5786e3a8bc80d81ccc3625b 07-Dec-2010 Jason Sams <rjsams@android.com> Update for API changes.

Change-Id: I4ba7facd1c0178936683a324da08c83f52e222c9
lang_rs_reflection.cpp
cd440ee9b3bdb7985a20b2cd4b0f8229de34f0a9 06-Dec-2010 Stephen Hines <srhines@google.com> Forbid unions from being exported by llvm-rs-cc.

This also adds a directed F_union test.

Bug: 2954471
Change-Id: I094e2a64df1deabb014ce09a42e5f1ef91b563d0
lang_rs_export_type.cpp
ests/F_union/stderr.txt.expect
ests/F_union/stdout.txt.expect
ests/F_union/union.rs
8dd522d2a6b96c79117bdc5d6b58d336846e4346 06-Dec-2010 Stephen Hines <srhines@google.com> Sort the test files before compiling them.

Change-Id: I5032d63e88217614b6188f7526090b75036b7d73
ests/test.py
6166004dc9f84d18d7640b8c428bf11bb06e2ebb 06-Dec-2010 Stephen Hines <srhines@google.com> Remove temp files that should not be checked in.

Change-Id: If3ba6772663ccbc7745b64f2c1062d89920175ca
ests/F_one_definition_rule8/stderr.txt
ests/F_one_definition_rule8/stdout.txt
ests/F_one_definition_rule8/tmp/def1.bc
ests/F_one_definition_rule8/tmp/def2.bc
ests/F_one_definition_rule8/tmp/foo/ScriptC_def1.java
ests/F_one_definition_rule8/tmp/foo/ScriptC_def2.java
ests/F_one_definition_rule8/tmp/foo/ScriptField_DifferentDefinition7.java
ests/F_one_definition_rule8/tmp/foo/ScriptField_DifferentDefinition8.java
e5e64432476a44b59c61ded233b1149109c7a7c3 03-Dec-2010 Stephen Hines <srhines@google.com> Improved error messages for structs.

This change also adds two new tests for anonymous structures (both with and
without an associated typedef). I have also updated test.py to support a more
verbose output for dumping the actual test commands that are executed.

Change-Id: Ic1edc8d4e98c2017611430eb581c335146ccc927
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
ests/F_anon_struct/anon_struct.rs
ests/F_anon_struct/stderr.txt.expect
ests/F_anon_struct/stdout.txt.expect
ests/F_anon_struct_typedef/anon_struct_typedef.rs
ests/F_anon_struct_typedef/stderr.txt.expect
ests/F_anon_struct_typedef/stdout.txt.expect
ests/F_ptr_in_struct/stderr.txt.expect
ests/test.py
43bbcdbcca039eb913b4504c19a463d91b2bd404 05-Dec-2010 Shih-wei Liao <sliao@google.com> Add 9 tests on one definition rule.

Change-Id: I09aebb069ea4dc5104b04527f522318e1f7bf164
ests/F_one_definition_rule1/def1.rs
ests/F_one_definition_rule1/def2.rs
ests/F_one_definition_rule1/stderr.txt.expect
ests/F_one_definition_rule1/stdout.txt.expect
ests/F_one_definition_rule2/def1.rs
ests/F_one_definition_rule2/def2.rs
ests/F_one_definition_rule2/stderr.txt.expect
ests/F_one_definition_rule2/stdout.txt.expect
ests/F_one_definition_rule3/def1.rs
ests/F_one_definition_rule3/def2.rs
ests/F_one_definition_rule3/stderr.txt.expect
ests/F_one_definition_rule3/stdout.txt.expect
ests/F_one_definition_rule4/def1.rs
ests/F_one_definition_rule4/def2.rs
ests/F_one_definition_rule4/stderr.txt.expect
ests/F_one_definition_rule4/stdout.txt.expect
ests/F_one_definition_rule5/def1.rs
ests/F_one_definition_rule5/def2.rs
ests/F_one_definition_rule5/stderr.txt.expect
ests/F_one_definition_rule5/stdout.txt.expect
ests/F_one_definition_rule6/def1.rs
ests/F_one_definition_rule6/def2.rs
ests/F_one_definition_rule6/stderr.txt.expect
ests/F_one_definition_rule6/stdout.txt.expect
ests/F_one_definition_rule7/def1.rs
ests/F_one_definition_rule7/def2.rs
ests/F_one_definition_rule7/stderr.txt.expect
ests/F_one_definition_rule7/stdout.txt.expect
ests/F_one_definition_rule8/def1.rs
ests/F_one_definition_rule8/def2.rs
ests/F_one_definition_rule8/stderr.txt
ests/F_one_definition_rule8/stderr.txt.expect
ests/F_one_definition_rule8/stdout.txt
ests/F_one_definition_rule8/stdout.txt.expect
ests/F_one_definition_rule8/tmp/def1.bc
ests/F_one_definition_rule8/tmp/def2.bc
ests/F_one_definition_rule8/tmp/foo/ScriptC_def1.java
ests/F_one_definition_rule8/tmp/foo/ScriptC_def2.java
ests/F_one_definition_rule8/tmp/foo/ScriptField_DifferentDefinition7.java
ests/F_one_definition_rule8/tmp/foo/ScriptField_DifferentDefinition8.java
ests/P_one_definition_rule/def1.rs
ests/P_one_definition_rule/def2.rs
ests/P_one_definition_rule/stderr.txt.expect
ests/P_one_definition_rule/stdout.txt.expect
c97a333bc84ce8c28c96d07734cbded75c914639 01-Dec-2010 Stephen Hines <srhines@google.com> Improve validation of AST before reflection.

Change-Id: If4b52f3a713ab97145bc31ef42b18d1cc144099a
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_context.cpp
ests/F_ptr_in_struct/ptr_in_struct.rs
ests/F_ptr_in_struct/stderr.txt.expect
c808a99831115928b4648f4c8b86dc682594217a 30-Nov-2010 Stephen Hines <srhines@google.com> Add prelim error check for pointers in structs.

Bug: 2954471
Change-Id: Icacf67dd3eeb3dda67e1eae3d54e11f7efa6c680
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_type.cpp
lang_rs_export_type.h
ests/F_ptr_in_struct/ptr_in_struct.rs
ests/F_ptr_in_struct/stderr.txt.expect
ests/F_ptr_in_struct/stdout.txt.expect
ests/F_rs_prefix/rs_prefix.rs
ests/F_rs_prefix/stderr.txt.expect
ests/F_rs_prefix/stdout.txt.expect
ests/P_alloc_in_struct/alloc_in_struct.rs
ests/P_alloc_in_struct/stderr.txt.expect
ests/P_alloc_in_struct/stdout.txt.expect
88bb794545936b6915f4ce22fd4404b3cda3bbd7 24-Nov-2010 Stephen Hines <srhines@google.com> Options for compiler test framework.

Change-Id: I6b7f946cd5ae6feae6ad40a4bca68b025cfd7d65
ests/test.py
77b5baba8349b0741c36f4c0db86660bc0a96991 24-Nov-2010 Stephen Hines <srhines@google.com> Add basic compiler test framework for llvm-rs-cc.

Change-Id: I5c6842900b86a568a9371064c74a8639b90058de
ests/F_no_java_package_name/no_java_package_name.rs
ests/F_no_java_package_name/stderr.txt.expect
ests/F_no_java_package_name/stdout.txt.expect
ests/test.py
35f5b39f0490953f1fe13ef803b43e3ced9a01d9 23-Nov-2010 Stephen Hines <srhines@google.com> Missing pragma for java_package_name is an error.

Bug: 3122920

Change-Id: I88fcb07b95d47e1aba28fcf6e255d17ef957f285
lang_rs_context.cpp
lang_rs_pragma_handler.cpp
2d2512c5703bb238b7935ab5228beff6563f2f94 19-Nov-2010 Stephen Hines <srhines@google.com> Remove legacy code for export func/var pragmas.

Change-Id: I62e0768b11e4192ffde8ed26c0160d62e8f09714
lang_rs_context.cpp
lang_rs_context.h
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
3fbe68a4ec20fec25f8a40191437bbc02d00f591 18-Nov-2010 Stephen Hines <srhines@google.com> Turn on support for exporting non-static funcs.

Bug: 2932253
Change-Id: Ice5422b4a3d78f8c2973e1af6c8abea30fa74bb6
lang_rs_context.cpp
650c02be6719a961027c86d6b9a142014eb889db 17-Nov-2010 Jason Sams <rjsams@android.com> Fix reflection to use new setVar(object)

Change-Id: I946cdbf39d8fa3843dbcd810236666e8157bd95f
lang_rs_reflection.cpp
552b581ecc3070b2344a00da9e6f247648167b4d 16-Nov-2010 Shih-wei Liao <sliao@google.com> Add reference, otherwise, it will always make LibBitcode.size() == 0 in main().
Note: the test above is in Line 252 in llvm-rs-link.cpp.

Change-Id: Idfabdb7c91f28b899c1d95908b0410e56ed13cbb
lvm-rs-link.cpp
2d095046682d9c372e8c4f102cd1b340ec14beba 13-Nov-2010 Stephen Hines <srhines@google.com> Properly zero-initialize local arrays of RS types.

Change-Id: I55b02f5d4e26a8b82dc96bcc2a524bb1380e0313
lang_rs_object_ref_count.cpp
4464d825c11349068f2917f9ebee86b721423f3c 12-Nov-2010 Stephen Hines <srhines@google.com> Support local destructor for many return stmts.

This allows us to insert destructor calls to rsClearObject() for all local
variables at the end of their scope (closing curly brace), as well as before
any enclosed return statement. Note that proper support for a local destructor
with break/continue is still unimplemented.

Change-Id: I7c0633d2901b9bc7e1bac8e211b9eae2ac9f6e92
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
e639eb5caa2c386b4a60659a4929e8a6141a2cbe 09-Nov-2010 Stephen Hines <srhines@google.com> Improve code style.

Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
lvm-rs-cc.cpp
lvm-rs-link.cpp
lang.cpp
lang.h
lang_backend.cpp
lang_backend.h
lang_diagnostic_buffer.cpp
lang_diagnostic_buffer.h
lang_pragma_recorder.cpp
lang_pragma_recorder.h
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_element.cpp
lang_rs_export_element.h
lang_rs_export_func.cpp
lang_rs_export_func.h
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_exportable.cpp
lang_rs_exportable.h
lang_rs_metadata.h
lang_rs_metadata_spec.h
lang_rs_metadata_spec_encoder.cpp
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_spec_table.cpp
lang_rs_type_spec.h
lang_utils.cpp
lang_utils.h
langdata.py
1bdd4978caabcdc9489bdcb7f1cd6087340699e8 09-Nov-2010 Stephen Hines <srhines@google.com> Add simple destructors to local RS objects.

Change-Id: Ie4aa964840b25c3aa8eed257d4ff0a1e4f6ef22a
lang_rs_backend.cpp
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
4b32ffdfc1ac766f8932e7effbcdf7484e804a8e 06-Nov-2010 Stephen Hines <srhines@google.com> Factor out RSObjectRefCount for destructor work.

Change-Id: Ibdacc9e9f15401680bc54747664e187a05f62e25
ndroid.mk
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_object_ref_count.cpp
lang_rs_object_ref_count.h
015ee42ecc74e2178fae5875a2fd366b46d2a14b 05-Nov-2010 Stephen Hines <srhines@google.com> Merge "Use Clang object references instead of pointers."
9ada20b2aa7ba08a068c232ce68585a12995d8df 04-Nov-2010 Jason Sams <rjsams@android.com> Merge "Add new constructor to reflected code that removes the isRoot param which is depricated."
b6902e2d07d1a0f20723f8502c65438a18d8b6e3 04-Nov-2010 Jason Sams <rjsams@android.com> Add new constructor to reflected code that removes
the isRoot param which is depricated.

Keep old constructor during transition of application code.

Change-Id: I368e474b295cc60eee3a4b561bb7a72a7a6bb2d8
lang_rs_reflection.cpp
9e5b503349719144f63ccb7c62ee9c291a7d83b8 03-Nov-2010 Stephen Hines <srhines@google.com> Use Clang object references instead of pointers.

Change-Id: Ief0e78859572761d880eaad9ae854f14e65da2c4
lang_rs.cpp
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_var.cpp
cfae0f350e4e0d8f7b4c71780b3f74f58fa23afb 02-Nov-2010 Stephen Hines <srhines@google.com> Process non-static funcs with HandleTopLevelDecl().

Bug: 3092382
This fixes an issue where non-static functions were not properly being
annotated with zero-initializers for all RS object types. It turns out that
HandleTranslationUnit() occurs well after we have generated code for extern
functions (which is how this bug first showed up).

Change-Id: Id752d8baafc161dd7142d340f8aaae62af9be019
lang_rs_backend.cpp
lang_rs_backend.h
3caea7dd00c8a8a39712bcd9b6323093967b077b 26-Oct-2010 Jason Sams <rjsams@android.com> Fix handling of null item list on resize.
Change size queries to use allocation type rather
than the old cached field type which has been removed.

Change-Id: Idb45cea229763d1ea5311392cb47cc71bf8814c0
lang_rs_reflection.cpp
d124ee6cfcb90229e7121fe81742d23a05375ce8 22-Oct-2010 Zonr Chang <zonr@google.com> Always output zero-terminator in slangdata.py.

Output one more byte '\0' can be useful when the input data file is
a bitcode file. With the existence of '\0', we can use

llvm::MemoryBuffer::getMemBuffer()

instead of

llvm::MemoryBuffer::getMemBufferCopy()

to prepare buffer for llvm::ParseBitcodeFile(llvm::MemoryBuffer, ...).
lvm-rs-link.cpp
langdata.py
b1771ef128b10c4d4575634828006bfba20b1d9c 22-Oct-2010 Zonr Chang <zonr@google.com> Exclude rs_matrixNxN from being RS object type.

rs_matrix{2x2, 3x3, 4x4} (RS matrix type) is very different than RS
object type like rs_allocation. This commit teaches llvm-rs-cc to learn
it.

NOTE: Currenrly RS matrix type + RS object type = RS specific type.
ndroid.mk
SSpec.mk
lang_rs_backend.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_spec_table.cpp
lang_rs_type_spec.h
66a1a5abf5f2f771d33d6b70a84a1efd7fb22f23 22-Oct-2010 Zonr Chang <zonr@google.com> Define RS metadata spec and implement the encoder.

However, it's not enabled in any code currently since decoder doen't implement.
ndroid.mk
lang_rs_metadata_spec.h
lang_rs_metadata_spec_encoder.cpp
a7a828d1ff95c5a8f2327f56a137a2bcb3a9a8fa 21-Oct-2010 Zonr Chang <zonr@google.com> Add convertToSpecType() for every RSExportType derivative.

convertToSpecType() can convert a RSExportType (used by llvm-rs-cc
internally for reflection engine) into union RSType (used by external
source such as libbcc) defined in the slang_rs_type_spec.h.
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_type_spec.h
6da08f3751c053f295cfa6bf5cc7a4398ba626f2 21-Oct-2010 Patrick Scott <phanna@android.com> Merge "Add missing break statement."
0307eaa71dc1d05582347cacd9209ac1e6100102 21-Oct-2010 Zonr Chang <zonr@google.com> Define the RS type specification.
lang_rs_backend.cpp
lang_rs_spec_table.cpp
lang_rs_type_spec.h
3cd3dd327445fcfa49f0e96cb2de2055bce541e9 21-Oct-2010 Zonr Chang <zonr@google.com> Bug fix: support self-referential struct type.
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_exportable.cpp
lang_rs_exportable.h
lang_rs_spec_table.cpp
7363d8430db732c42d392fcab47cf0e3f8eb4515 21-Oct-2010 Zonr Chang <zonr@google.com> Revert "Bug fix: support self-referential struct type."

This reverts commit af5cef07b48a678a416d554b037e0d6dbe958eb4.
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_exportable.cpp
lang_rs_exportable.h
lang_rs_spec_table.cpp
d6f9fedf1b32c27c0bcaddd13d7b741ab5ad74b8 21-Oct-2010 Zonr Chang <zonr@google.com> Bug fix: support self-referential struct type.
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_exportable.cpp
lang_rs_exportable.h
lang_rs_spec_table.cpp
190ac89717c8be2e838a7be513566fba6d1467a5 21-Oct-2010 Patrick Scott <phanna@android.com> Add missing break statement.

Only shows up when NDEBUG is not defined.

Change-Id: I00c400b5b773b40f004bca5d173a74c7febe0349
lvm-rs-cc.cpp
fcda2352b9e140529f8f3c89f05b10a70c0048b2 20-Oct-2010 Stephen Hines <srhines@google.com> Support for local RS zero initialization.

Change-Id: I785cfc6ee53abb6c88ab5bdba5e7c8c16b8409de
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
lang_rs_backend.h
d30158df95b37bc758df37addcc4ed19a3a92615 19-Oct-2010 Stephen Hines <srhines@google.com> Include <cstdio> for printf, etc.

Change-Id: Ibc4e8bc9b165fff1d9e1efdd213442464963e3bc
lang_rs_spec_table.cpp
3ab021f5913736512343730d91e771037954061b 18-Oct-2010 Zonr Chang <zonr@google.com> Again, don't include rs_graphics.rsh by default.
lang_rs.cpp
d42a429f42fd6f272188af64f412cd604f02b365 16-Oct-2010 Zonr Chang <zonr@google.com> b/3093518 Add resize() method in the reflected of ScriptField_*.java.
lang_rs_reflection.cpp
lang_rs_reflection.h
a65ec168e41e3ee9c6e8ac04cde694bbbfc2590a 16-Oct-2010 Zonr Chang <zonr@google.com> Unify type spec by creating rs-spec-gen.

rs-spec-gen (slang_rs_spec_table.cpp) will help llvm-rs-cc to share
the RS spec it used across the other projects. This will makes code
cleaner and therefore easier to add new spec/synchronize the spec
between other project (e.g., libbcc and libRS).

This CL is the first part. It eliminated the needs of
slang_rs_export_element_support.inc and
slang_rs_export_type_support.inc.
ndroid.mk
SSpec.mk
lang_rs_backend.cpp
lang_rs_export_element.cpp
lang_rs_export_element_support.inc
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_export_type_support.inc
lang_rs_spec_table.cpp
89273bd59a182fc0401d68f14ad206bf4dc800c7 14-Oct-2010 Zonr Chang <zonr@google.com> b/3093447 Create element of constant array using Element.add(Element element,
String name, int arraySize) API.
lang_rs_reflection.cpp
lang_rs_reflection.h
2f1451cf567125d8ebd2cacfa83a10fdf3a7ab5a 13-Oct-2010 Zonr Chang <zonr@google.com> b/3093393 Properly initialized constant array where the element is of
the primitive type.
lang_rs_reflection.cpp
8785d056b8912325b7e2c9c6c7adbd13b90964c4 13-Oct-2010 Zonr Chang <zonr@google.com> Revert "embed .rsh in llvm-rs-cc".
ndroid.mk
lang_backend.h
lang_rs.cpp
68fc02ca4a7235e2981be5eee4ad968a9d3928c0 13-Oct-2010 Zonr Chang <zonr@google.com> Add two new APIs in HandleTranslationUnitPre and HandleTranslationUnitPost.

Refer to the comments in slang_backend.h for detail.
lang_backend.cpp
lang_backend.h
lang_rs_backend.cpp
lang_rs_backend.h
41ebf534161bb67f6207a070c1f6a895dc853408 13-Oct-2010 Zonr Chang <zonr@google.com> Remove Slang::TargetDescription.

Clang and LLVM never read outside target description to configure the
target-dependent information needed during compilation and codegen. They
always use their own data layout string for specific, known target.
lang.cpp
lang.h
lang_backend.cpp
lang_backend.h
lang_rs.cpp
lang_rs_context.cpp
lang_rs_export_type.cpp
lang_rs_export_type_support.inc
e86245a09bb8b9e72f5dc68083444ec938865798 12-Oct-2010 Zonr Chang <zonr@google.com> Fix potential memory corruption in checkODR().
ndroid.mk
lang_rs.cpp
lang_rs.h
641558f02fe6ce0ee3ae5076eb366c25e2ad5903 12-Oct-2010 Zonr Chang <zonr@google.com> Implement one-definition-rule (ODR) feature.

When compiling multiple RS files, we say two RS files A and B break ODR
iff:

1. They have at least one common struct named [S] and [S] will be reflected
to ScriptField_[S].java, and
2. [S] defined in A is not *exactly the same* (number of fields, field
type and field name) as the one defined in B.

This CL detects such error.
ndroid.mk
lvm-rs-cc.cpp
lang.cpp
lang.h
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_func.cpp
lang_rs_export_func.h
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_exportable.cpp
lang_rs_exportable.h
cf6af6abc1de499920571308b14a27e19cf57097 11-Oct-2010 Zonr Chang <zonr@google.com> Refine the SlangRS::compile() API.

This makes compile() methods in SlangRS more reasonable. And this is
part of commits for ODR. The SlangRS::compile() now compiles "a group of
RS files" instead of one by one individually.
ndroid.mk
lvm-rs-cc.cpp
lang_rs.cpp
lang_rs.h
c383a500aa59423264811be3874461bf8adbfea0 11-Oct-2010 Zonr Chang <zonr@google.com> Prepend legal announcement in all files.

Release libslang/llvm-rs-cc/llvm-rs-link under Apache 2.0 license.
ODULE_LICENSE_APACHE2
OTICE
SCCOptions.td
lvm-rs-cc.cpp
lvm-rs-link.cpp
lang.cpp
lang.h
lang_backend.cpp
lang_backend.h
lang_diagnostic_buffer.cpp
lang_diagnostic_buffer.h
lang_pragma_recorder.cpp
lang_pragma_recorder.h
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_element.cpp
lang_rs_export_element.h
lang_rs_export_func.cpp
lang_rs_export_func.h
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_export_type_support.inc
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_exportable.h
lang_rs_metadata.h
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_utils.cpp
lang_utils.h
langdata.py
a5d2c232d56b04292cb51c8fb343aef990f7970f 12-Oct-2010 Stephen Hines <srhines@google.com> Support for unsigned long and unsigned long long.

Change-Id: I8e3b6a90fa9119f3d98c5f276df2590b7690d22b
lang_rs_export_element_support.inc
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_export_type_support.inc
lang_rs_reflection.cpp
e1ec5b4f9069f92cc55e7a98c32d5c03e9ee0086 11-Oct-2010 Stephen Hines <srhines@google.com> Support export of "long" type.

Change-Id: Ifbf176661ca233c3db980db91d76eae717127dd8
lang_rs_export_type_support.inc
65df4023999f3f3d56cae835a9c6e8cc1fd1233e 11-Oct-2010 Ying Wang <wangying@google.com> llvm-rs-cc does not depend on llvm-rs-link

llvm-rs-link is called outside llvm-rs-cc now.

Change-Id: Icc25a8b9dfc579f6295c688f6812409c8c6f6d47
ndroid.mk
e8c263a1c5df81594cf302ecadd813909c894487 11-Oct-2010 Zonr Chang <zonr@google.com> Refactor a bit & -M bug fixed.

1. Use llvm::tool_output_file instead of llvm::raw_stream. The former
can automatically deleted itself from filesystem once the compilation failed.
2. Fix -M bug which causes segfault previously.
lvm-rs-cc.cpp
lang.cpp
lang.h
a02010cd90184a9c1be7b451fe32e114ffb1810f 11-Oct-2010 Zonr Chang <zonr@google.com> Rewrite llvm-rs-link.

1. Default linked library: rslib.bc (using slangdata trick);
2. llvm-rs-link [-nostdlib]
[-L <additional lib.bc #X>]*
<unlinked.bc #1> <unlinked.bc #2> ... <unlinked.bc #N>
will does:
for (i := 1 to #N) {
M := LoadBitcode(<unlinked.bc #i>);
if (no -nostdlib specified)
M := Link(M, rslib.bc);
for (x in X)
M := Link(M, <additional lib.bc #x>);
// Overwrite the input .bc
SaveBitcode(M, <unlinked.bc #i>)
}
ndroid.mk
lvm-rs-link.cpp
c6d19a19c34899b2f6f61b0359ce0b2bc2fe969e 11-Oct-2010 Shih-wei Liao <sliao@google.com> Return 1 in main() to stop the build system when there's an error.

Change-Id: Ibc75155278e1d2dd820a000baabeaac0d651badc
lvm-rs-cc.cpp
603217c72ef310ea385f906662c7d6136d45f464 11-Oct-2010 Shih-wei Liao <sliao@google.com> Triple initialization.

Change-Id: I153e1e700f2730f8596249a70a0c7077dafc3de0
lvm-rs-cc.cpp
ffa58bb392b79944a1cc23b0d41cbef9a34f8c2e 10-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "Revert "Improve RSCCOptions.td""

This reverts commit a89771a1c938abb64ce6c8ebac90bb6e617482c9.
ndroid.mk
SCCOptions.td
b81c6a4cbd9c08e0b20ea4fbc615b416ac1bc9ec 10-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "Revert "New implementation of llvm-rs-cc (replacement of slang_driver).""

This reverts commit a6d60672695f1438a63acdbf85eae7f97ce2b50d.
ndroid.mk
SCCOptions.td
lvm-rs-cc.cpp
lang.cpp
lang.h
lang_driver.cpp
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflection.cpp
lang_rs_reflection.h
arget.inc
69481cc23715663bc0fe2effbf22ffb011d7284e 10-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "Fix P1S0 bug."

This reverts commit cab231c46b3727e1fa206d2b1157828474afeabb.
ndroid.mk
cab231c46b3727e1fa206d2b1157828474afeabb 10-Oct-2010 Shih-wei Liao <sliao@google.com> Fix P1S0 bug.

Change-Id: Ie44c428ca6c7ee5d56e7619fd35f83e78d2ee985
ndroid.mk
a6d60672695f1438a63acdbf85eae7f97ce2b50d 10-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "New implementation of llvm-rs-cc (replacement of slang_driver)."

This reverts commit 6791df284557f4173a9715b3634f4f4901a6bb8a.
ndroid.mk
SCCOptions.td
lvm-rs-cc.cpp
lang.cpp
lang.h
lang_driver.cpp
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflection.cpp
lang_rs_reflection.h
arget.inc
a89771a1c938abb64ce6c8ebac90bb6e617482c9 10-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "Improve RSCCOptions.td"

This reverts commit 2f8b0a4764f7b5d8fea66f9a4a4c9afd07416124.
ndroid.mk
SCCOptions.td
2f8b0a4764f7b5d8fea66f9a4a4c9afd07416124 10-Oct-2010 Shih-wei Liao <sliao@google.com> Improve RSCCOptions.td

Change-Id: Ib99b585e024443dcc9bf46d777feca2f58d51102
ndroid.mk
SCCOptions.td
6791df284557f4173a9715b3634f4f4901a6bb8a 09-Oct-2010 Shih-wei Liao <sliao@google.com> New implementation of llvm-rs-cc (replacement of slang_driver).

Change-Id: I1b8b6cf3dad8ef8fe2f4d24d4df604099f45ff37
ndroid.mk
SCCOptions.td
lvm-rs-cc.cpp
lang.cpp
lang.h
lang_driver.cpp
lang_rs.cpp
lang_rs.h
lang_rs_context.cpp
lang_rs_context.h
lang_rs_reflection.cpp
lang_rs_reflection.h
arget.inc
2df25dbc3b09764b7bed9f02aee7cbd3d9720ef2 08-Oct-2010 Stephen Hines <srhines@google.com> Export all non-static globals in RS.

Change-Id: Ie021b603085c901fbaf83cb231ce2999ce28c791
lang_rs_context.cpp
592a954aae4cb946970b557e94afd5ee453fd57e 07-Oct-2010 Zonr Chang <zonr@google.com> Make --allow-rs-prefix more reasonable.

Now slang only alarms when a function prefixed with 'rs' and was not declared
in one of the RS default headers (including rs_graphics.rsh). Therefore, you
don't need to (and shouldn't) pass this option to slang in general.
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
2a21d9d58d77739fe7b91f5955dfe3d30a72ebdd 08-Oct-2010 Shih-wei Liao <sliao@google.com> Fix Externalize in slang_driver.cpp.

Change-Id: If033ea61427ce6fcbd8ac9a3ca3d2386405fb3f4
lang_driver.cpp
b257301a1c711ba81458a4f8bf3c99c91c91a047 07-Oct-2010 Zonr Chang <zonr@google.com> Don't include rs_graphics.rsh by default.
Fix the Externalize in slang_driver.cpp.

Change-Id: Idce037b0150af3ea9968e39b7bce63a0e1b6d9a5
ndroid.mk
lang.cpp
lang_rs.cpp
lang_rs_exportable.h
7f2f385d3129ba4de82ef56adb9cb4385fd33001 07-Oct-2010 Zonr Chang <zonr@google.com> Rewrite llvm-rs-link a bit. It's now more clean.

Remove -e option from llvm-rs-link. Which means, we always run
internalize pass to hide those symbols which doesn't require to be
external.

Change-Id: I7befd02352957ca087dcba2f097c195e3708c503
lvm-rs-link.cpp
lang_driver.cpp
lang_rs_backend.cpp
lang_rs_metadata.h
08df36e5c0a990306d958c9f6d59a5de23b748f6 07-Oct-2010 Zonr Chang <zonr@google.com> Factor out shared library libslang.so from slang.

libslang.so can be regarded as a lightweight Clang compiler. Only C-like
language compilation is supported in libslang.so currently. Both llvm-rs-link
and slang now link to this library.

Change-Id: Ib8f8dc8568640bc36c2b1fe8dba1212c4c8a56c8
ndroid.mk
lang.cpp
e30566bd86997e046ab12d0a21b891abc76fc158 08-Oct-2010 Shih-wei Liao <sliao@google.com> Fix simulator build.

Change-Id: Ia769f0b457dd201e054772d2d57c370ce8466a8b
langData.mk
8c6d9b2d36ed2d6d811279fd9bddc05fffe16803 07-Oct-2010 Zonr Chang <zonr@google.com> Use llvm::sys::Path to implement "mkdir -p".

Change-Id: I3bb36e1a8050bbd9744fd02935b6186d2f285015
ndroid.mk
lang.cpp
lang_diagnostic_buffer.h
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_utils.cpp
lang_utils.h
3c250c5d6cbf4123e959a3466990fda9fa50987a 06-Oct-2010 Zonr Chang <zonr@google.com> Better way to include default RS headers (*.rsh).

Change-Id: If1435ff983fc4f9b36dc4c3d70348e033957db49
ndroid.mk
langData.mk
lang_rs.cpp
langdata.py
5457231d5201be02c3232ffc1c6d8bc408f276ab 08-Oct-2010 Ying Wang <wangying@google.com> Pass additional dep target to slang

By "slang -a out/foo/bar/RenderScript.stamp ...", additional dep target will be added to the .d file,
something like:
out/target/common/obj/APPS/Fountain_intermediates/src/RenderScript.stamp ./fountain.bc: \
frameworks/base/libs/rs/java/Fountain/src/com/android/fountain/fountain.rs \
...

Currently the .bc file is not used in the build system dependency graph, but the stamp file.

Change-Id: I1251dba0a4b003e4b6bc689f1064bddd4ffbccc1
lang.cpp
lang.h
lang_driver.cpp
dba3111408b307d8454830107ff61089ab7c5d6d 08-Oct-2010 Ying Wang <wangying@google.com> The dep file uses the .rs stem, instead of the .bc stem.

The .bc file stem could be transformed over the source .rs file name by slang.
The build system needs to know the dep file name before slang is run, so we'd like to
take the source .rs file name, which is known before slang is run.

Change-Id: I54c18880582fcc0f177a289b7a6a0f92a5a7806c
lang_driver.cpp
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
0b7ef1a176b9ddd1e0d437efdce20743373fd7db 08-Oct-2010 Stephen Hines <srhines@google.com> Add support to Slang for "-MD" option.

Change-Id: Ie01ccb3f07191f6de954b8094eec5ab47e703817
lang.cpp
lang.h
lang_driver.cpp
050eb857325d6cd35f23fae6c82200aff5a9bcc1 07-Oct-2010 Stephen Hines <srhines@google.com> Use "L" suffix for 64-bit Java int initializers.

Change-Id: I8fb5d53455f765a5d2324471a73af2cabe4ca63c
lang_rs_reflection.cpp
d2fe0ababefd9710f8ca9e57c46133de080834d6 07-Oct-2010 Stephen Hines <srhines@google.com> Add -d/--output-dep-path options for "-M" deps.

Both -d and --output-dep-path are used to specify where the
dependency files should be generated (for a compilation that
is probably using -o to specify an output .bc directory).
Omitting -d/--output-dep-path will result in the output .d
files being placed in the current directory.

Sample corresponding commands for compilation/dep generation:
$ slang -o bc foo.rs
creates bc/foo.bc
$ slang -o bc -M -d deps foo.rs
creates deps/foo.d that contains dependencies for bc/foo.bc

Change-Id: I05b87a0896f5bb3ac06db094a6c55e58fea57806
lang_driver.cpp
24f9b09fbb55725a6952b942418ac7902007a7f2 06-Oct-2010 Stephen Hines <srhines@google.com> Remove warnings from slang build.

Change-Id: I6c3f3e9aae24b612a6d32b4fc5ba53a2ef7f3944
lang_driver.cpp
lang_rs_reflect_utils.cpp
f7de85223c8728d5dc147e8a19ddf039da72b431 06-Oct-2010 Stephen Hines <srhines@google.com> Fix a minor error checking bug.

Change-Id: I26c809d361071eba06efb734ea2b54c4dc560981
lang.cpp
cc0efad052e944f64bb71cfdaa8a825e30192e78 05-Oct-2010 Stephen Hines <srhines@google.com> Add "-M" dependency generation to Slang.

Change-Id: I26d1daf1005de7b3ad297fba5ad0d85a1aab1e45
ndroid.mk
lang.cpp
lang.h
lang_driver.cpp
1ab1a450fed988c70c621c24dcf655733ccd3708 06-Oct-2010 Zonr Chang <zonr@google.com> GetTypeNullValue() in slang_rs_reflection should take boolean type into consideration.
lang_rs_reflection.cpp
3a9ca1f0d6bd8f12c2bb2adea51f95c255996180 06-Oct-2010 Zonr Chang <zonr@google.com> Provide better abstraction of class Slang.

1. Remove the Slang C APIs support (not used by any other programs.)
2. All RS relatives are now in slang_rs_*.cpp.
ndroid.mk
ibslang.cpp
ibslang.h
lang.cpp
lang.h
lang_backend.cpp
lang_backend.h
lang_diagnostic_buffer.cpp
lang_driver.cpp
lang_rs.cpp
lang_rs.h
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_export_func.h
a41ce1d98094da84643995d40d71c529905123fc 05-Oct-2010 Zonr Chang <zonr@google.com> Fix memory leak of RSExport* object create in processExport(). Now, they will
properly be freed after their associated RSContext was destroyed.
lang_rs_context.cpp
lang_rs_context.h
lang_rs_export_func.h
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_exportable.h
6b6320ad5faee29e0f75fe937e40156746ef9e80 05-Oct-2010 Zonr Chang <zonr@google.com> De-virtualize the RSExportType::getClass().
lang_rs_export_type.cpp
lang_rs_export_type.h
cf950c49a909350e529ddecffaae8be5429b9479 06-Oct-2010 Shih-wei Liao <sliao@google.com> Check mItemArray in component-level getter and return correct null value for
lang_rs_reflection.cpp
8a224b81e0e87af300080123568667988fbc1f05 06-Oct-2010 Shih-wei Liao <sliao@google.com> Revert "Check mItemArray in component-level getter and return correct null value for"

This reverts commit ee90f495946efc95f514639368183c07d6ac3a55.
lang_rs_reflection.cpp
ee90f495946efc95f514639368183c07d6ac3a55 05-Oct-2010 Zonr Chang <zonr@google.com> Check mItemArray in component-level getter and return correct null value for
requesting component type (e.g., 0 for float and null for object) if it's null
(i.e., no any value has been assigned ever).
lang_rs_reflection.cpp
2e1dba6c779a0ae55c76d36a3c03553e16725ab7 05-Oct-2010 Zonr Chang <zonr@google.com> Rewrite the RSExportConstantArrayType to better support reflecting
constant-sized array variable.
lang_rs_export_element.cpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_reflection.cpp
lang_rs_reflection.h
0da0a7dc51c25943fe31d0bfccbdfee326a3199c 05-Oct-2010 Zonr Chang <zonr@google.com> 1. Rewrite reflection of parameter packet in RSExportFunc. In order to
generate the correct call (i.e., all parameters in the call instruction
must match the target function signature) regardless of ABI, we construct type
of parameter packet directly from target function prototype (which may not be
the same as the one declared in the source since Clang may modified it to
the type which is better supported by the target ABI.)
2. Rewrite reflection of RSExportRecordType to use clang::ASTRecordLayout. This
corrects the reflection of struct type when tail padding and field alignment
involve. This improves stability of RSExportRecordType reflection.
lang_rs_backend.cpp
lang_rs_export_func.cpp
lang_rs_export_func.h
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_reflection.cpp
92b344a51c6c4934e96882bd401e4b13d6d03db8 05-Oct-2010 Zonr Chang <zonr@google.com> Create RSExportMatrixType which is a subclass of RSExportType
to support rs_matrix{2x2,3x3,4x4} explicitly.
ndroid.mk
lang_rs_context.h
lang_rs_export_element.cpp
lang_rs_export_element_support.inc
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_reflection.cpp
lang_rs_reflection.h
66aa299de2b5e0b0c7bfae7628e29a3961247aed 05-Oct-2010 Zonr Chang <zonr@google.com> Fix FieldIndex issue and re-enable it in reflection.
lang_rs_reflection.cpp
lang_rs_reflection.h
6315f76e3cc6ff2d012d1183a0b030d4ff0dc808 05-Oct-2010 zonr <zonr@google.com> More coding style fixing to improve the readability. No actual semantics
changed. This also makes cpplint happy.
ibslang.cpp
lvm-rs-link.cpp
lang.cpp
lang.h
lang.hpp
lang_backend.cpp
lang_backend.h
lang_backend.hpp
lang_diagnostic_buffer.cpp
lang_diagnostic_buffer.h
lang_diagnostic_buffer.hpp
lang_driver.cpp
lang_pragma_recorder.cpp
lang_pragma_recorder.h
lang_pragma_recorder.hpp
lang_rs_backend.cpp
lang_rs_backend.h
lang_rs_backend.hpp
lang_rs_context.cpp
lang_rs_context.h
lang_rs_context.hpp
lang_rs_export_element.cpp
lang_rs_export_element.h
lang_rs_export_element.hpp
lang_rs_export_func.cpp
lang_rs_export_func.h
lang_rs_export_func.hpp
lang_rs_export_type.cpp
lang_rs_export_type.h
lang_rs_export_type.hpp
lang_rs_export_var.cpp
lang_rs_export_var.h
lang_rs_export_var.hpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.h
lang_rs_pragma_handler.hpp
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.h
lang_rs_reflect_utils.hpp
lang_rs_reflection.cpp
lang_rs_reflection.h
lang_rs_reflection.hpp
91a3783ce1f4eb9ad6e9c1ecdbd27f3d6dc58634 04-Oct-2010 Shih-wei Liao <sliao@google.com> 1. Reorder DataTypeBoolean, DataTypeRSMatrix2x2, DataTypeRSMatrix3x3, and DataTypeRSMatrix4x4 in RSExportPrimitiveType::DataType.
2. Refine the RSExportPrimitiveType::DataKind.

Change-Id: Ida0849e68b00571e0f055089ccc5a46d26760390
lang_rs_export_element.cpp
lang_rs_export_element_support.inc
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_export_type_support.inc
lang_rs_reflection.cpp
9ef2f785e0cc490af678dfd685995dec787321ff 01-Oct-2010 Shih-wei Liao <sliao@google.com> The Mother-of-All code review:
1. Fix AllowRSPrefix bug
2. Remove member mRS*Pragma in class RSContext
3. No longer only support 2x2, 3x3, 4x4 arrays
4. Fix Export All code for victorhsieh
5. Improve readability and maintainability
6. size_t -> int in calculating padding

Change-Id: I772aebd1440af66a89e2d2e688b193e500f38d69
ibslang.cpp
ibslang.h
lang.cpp
lang.hpp
lang_backend.cpp
lang_backend.hpp
lang_diagnostic_buffer.cpp
lang_diagnostic_buffer.hpp
lang_driver.cpp
lang_pragma_recorder.cpp
lang_pragma_recorder.hpp
lang_rs_backend.cpp
lang_rs_backend.hpp
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_export_element.cpp
lang_rs_export_element.hpp
lang_rs_export_func.cpp
lang_rs_export_func.hpp
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_export_type_support.inc
lang_rs_export_var.cpp
lang_rs_export_var.hpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.hpp
lang_rs_reflection.cpp
lang_rs_reflection.hpp
8d75dc46a30e8617bd29dfe00492c5aab02dacf5 02-Oct-2010 Stephen Hines <srhines@google.com> Support for signed 64-bit integer type.

b/3050131 exported renderscript structures don't appear to support int64_t

Change-Id: I834f11394fa8060a56201b9709fa058d5ccecb5b
lang_rs_export_element_support.inc
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_export_type_support.inc
lang_rs_reflection.cpp
88090eade017c3ad2e758d9abc14fb38a4e9c860 01-Oct-2010 Stephen Hines <srhines@google.com> Add some missing references to Float64/double.

Change-Id: I09e6513974694f03c0c4f6fd99bfa6e290d6607f
lang_rs_export_element_support.inc
83fbfba1257bf334bbf00a37e4d2214634f45e4b 22-Sep-2010 Stephen Hines <srhines@google.com> Add support for "f" suffix on float constants.

Bug 3000361: slang complains about assigning a default variable to a float

Change-Id: Id6bd2b15d568d8b4ccce6c706d632f2c6fd97c94
lang_rs_reflection.cpp
70842c7439bd523611f3ed232ecc6de844932145 21-Sep-2010 Stephen Hines <srhines@google.com> Add support for Float64 (double) to slang.

Change-Id: Ia1be4eda28f3bcf2bd75a556c4329324f7aa76a5
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_export_type_support.inc
lang_rs_reflection.cpp
24c200813754a4a6ac7b28d4848c42f45bf0579e 21-Sep-2010 Shih-wei Liao <sliao@google.com> Turn off llvm-rs-link for now.

Change-Id: Idbc0452dfea324924027120babeb7d57fa64c329
lang_driver.cpp
cecd11d2af5d45d8ba322bed61fb48a99c305528 21-Sep-2010 Shih-wei Liao <sliao@google.com> Fix warnings. Bug fix.

Change-Id: I80934814ae64d11f0edebfa3b131164207f1aca0
ndroid.mk
lang.hpp
lang_backend.cpp
lang_backend.hpp
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_reflection.cpp
lang_rs_reflection.hpp
e14a2eab068a6d9c5c53a6fea73488a0aad6cad0 20-Sep-2010 Shih-wei Liao <sliao@google.com> Fix memory bug (cl::init doesn't work. Did a workaround.)

Change-Id: I7b6227e3a9e52cc09ab7c842919f5aa6d9387396
lang_driver.cpp
f9d3cb6b5b877129c877e49715a7fc3ad04c21b8 18-Sep-2010 Shih-wei Liao <sliao@google.com> Turn off buggy FieldIndex for now.

Change-Id: Ib9abe7a2ccf427fa06f331b849467244b73c88f9
lang_rs_reflection.cpp
7cbb87fce2947eec7abdb4d2239b4a63ffbc3155 18-Sep-2010 Shih-wei Liao <sliao@google.com> Remove unnecessary checks in component getter.

Change-Id: I584735b998b18de0ac01cf8851c9fb548716e856
lang_rs_reflection.cpp
9c631ff2e65a8fa766981c9683c3b255ce0a2388 17-Sep-2010 Shih-wei Liao <sliao@google.com> Simplify field getters by removing unnecessary null checks. Add reflection for component-level getter and setter.

Change-Id: Ic6ea9f9e02400cbb7f43b6421d7adde6523b458c
lang_rs_reflection.cpp
lang_rs_reflection.hpp
6729fcc66346bb53ed735ea13a3043d0eaf4912d 17-Sep-2010 Stephen Hines <srhines@google.com> Merge "Change rules for RS name reflection."
fb7fafc18020f524f2c368ff4cae3a487e83230c 17-Sep-2010 Shih-wei Liao <sliao@google.com> Revert "Add reflection for component-level getter and setter."

This reverts commit 30a1c526117f8c700fff1e69f7bb65d0ba505a5a.
lang_rs_reflection.cpp
lang_rs_reflection.hpp
30a1c526117f8c700fff1e69f7bb65d0ba505a5a 17-Sep-2010 Shih-wei Liao <sliao@google.com> Add reflection for component-level getter and setter.

Change-Id: I2f2760715876419cc09cd983e9a546b9762bfe2a
lang_rs_reflection.cpp
lang_rs_reflection.hpp
d41764036b098cc192aa8b7c9f0a1bb72f35f96c 17-Sep-2010 Stephen Hines <srhines@google.com> Change rules for RS name reflection.

We now keep any alphanumeric or underscore characters unchanged for
the classname. Nonmatching characters (like hyphens) get stripped
out (as they were previously). We no longer camel-case the reflected
names. Resource names are converted to lowercase, since that is a
system requirement.

Change-Id: Idf7a7c3f9442bb58789769d58088c2038a074455
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.hpp
1ebc0ca6ffa7effb875883d18205ed4943ab8fc2 14-Sep-2010 Shih-wei Liao <sliao@google.com> Implement the ARM-specific struct layout ABI in exportable functions parameters for rs. Add the ABI-compliant #args when needed.
My old code inadvertently assumed x86 ABIs for structs, but ARM ABI/calling convention is tricky here, compared to x86's. Also, fixed the type promotion problem.
Note that the most portable fix is to add a shim layer in Clang which is a BIG undertaking like PNaCl. Let's put in the potential fix for b/2988615 now.

Change-Id: I1d9fe4d803485b55bb72112ea8e17c1f4a19dd32
ibslang.cpp
lang.cpp
lang_pragma_recorder.cpp
lang_rs_backend.cpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_reflection.cpp
f52a620440fa62257dfdcf2583f0f9df5b855c76 11-Sep-2010 Shih-wei Liao <sliao@google.com> Apply changes on slang such that it can work with LLVM/Clang upstream r112364/r112367.

Change-Id: If38da28502a6111b855105c2fceb23fdb0caefa4
ndroid.mk
lang.cpp
lang.hpp
lang_backend.cpp
lang_backend.hpp
lang_rs_backend.cpp
lang_rs_backend.hpp
lang_rs_context.cpp
lang_rs_export_var.cpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.hpp
0877f0557e5c406fc8ff33c928a8ae969a5f4905 10-Sep-2010 Ying Wang <wangying@google.com> Handle big bitcode files.

Split the bitcode file into segments due to Java method size limitation.

Change-Id: I4c171c40a45067da63098deb2408449dab38b041
lang_driver.cpp
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.hpp
lang_rs_reflection.cpp
b003707489db55ca7b506c7f476cdad47ecf6880 09-Sep-2010 Ying Wang <wangying@google.com> Refactor a bit.

1. Use the safe mkstemp() instead of the unsafe tempnam(), which cause compiling warning.
2. Use the utilities in slang_rs_reflect_utils to compute the temp bc file name.

Change-Id: I641f75000f787c3cc5fc950e5bf2a8c87773447d
lang_driver.cpp
12f4d68fe6311dfef038b8c5fb2ed1f8b9474d12 08-Sep-2010 Ying Wang <wangying@google.com> Include clang config separately.

Because now llvm.mk does not include clang.mk.

Change-Id: I8c559037307348e1949cd81225cdf21d58976cdf
ndroid.mk
b1980a2eedc56df92786afc291e00f26659a60ad 08-Sep-2010 Mike Lockwood <lockwood@android.com> Add #include <cstring> to fix the build.

Change-Id: I2e7f74bfa29d341447a5f7a2aff8c68fef8d968c
Signed-off-by: Mike Lockwood <lockwood@android.com>
lang_rs_reflect_utils.cpp
3f8b44dba57685b437cecc208f2a20a4ed93ed36 04-Sep-2010 Ying Wang <wangying@google.com> Encode the bitcode binary files into Java source files.

So that the apps don't need to have the bc files as resources.
The bitcode java files will be put at the same dir as the reflected java files.
The bitcode java file name will be <ClassName>BitCode.java.
The bitcode is represented as byte array and you can reference it as:
byte[] bitcode = <ClassName>BitCode.getBitCode();

To enable this feature, pass "-s jc" to the command line.

The class name <ClassName> is converted from the .rs file name, for example:
foo.rs -> FooBitCode.java
foo_bar.rs -> FooBarBitCode.java
fooBar.rs -> FooBarBitCode.java
foobar.rs -> FoobarBitCode.java

i.e., any non-alnum characters in the rs file name are filtered
and the rest are converted to camel case.

The above method is also applied to the reflected java classes now.

Change-Id: Idf234d4c017e33740a13d6cd68bc3e14710ec149
ndroid.mk
ibslang.cpp
ibslang.h
lang.cpp
lang.hpp
lang_driver.cpp
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_reflect_utils.cpp
lang_rs_reflect_utils.hpp
lang_rs_reflection.cpp
01d8601a86d3f9eefa002217ba6dda5ad5d368d5 08-Sep-2010 Ying Wang <wangying@google.com> Fix rs library path.

Eventually we should support "-L/-l" options, perhaps.

Change-Id: I214ef63a3cf4a016d2ece1c031868ddd57aff7c2
lang_driver.cpp
1933298ca1798f9e4831018a2620383f955bf21a 08-Sep-2010 Shih-wei Liao <sliao@google.com> Update the LLVM_ROOT_PATH from external/llvm/llvm to external/llvm.

Change-Id: I75181265d03802939aeed7e5e873656d651d7606
ndroid.mk
e2e522f0d23c074ecd1025f1f2ed161ed485d9c8 01-Sep-2010 Ying Wang <wangying@google.com> Customized header search paths

1. Use "-I <path>" (or "--include-path <path>") to add a header search path.
2. You can specify more than 1 search path and the preceding path takes precedence.
3. System include path is moved out of the code -- they are inserted in the build system instead.

Change-Id: Idfaee4763e8bf0cd71deeecdf1dc1ec515e44d0f
ibslang.cpp
ibslang.h
lang.cpp
lang.hpp
lang_driver.cpp
28cf66d9a9f82dc4bd4708db905423d14e101ed6 29-Aug-2010 Shih-wei Liao <sliao@google.com> Check export pragma.

Change-Id: I467424b46fb63e4341165b04332c14850946e385
lang_rs_context.cpp
ac91815eb4918b9307ec876f34f2b60adf28c78b 29-Aug-2010 Shih-wei Liao <sliao@google.com> Check export pragmas in the rs file.

Change-Id: I6e934bfc166b85fffdd8d2897a823b651910d43f
lang_rs_context.cpp
a7af2d73fb267af5c12dbef0b9866fbfa026ca39 25-Aug-2010 Shih-wei Liao <sliao@google.com> Robustness improvement:
1. Use std::string instead of (char*) in main().
2. Fix the replaceLastPartWithFile to remove memory leak and simplify the code.

Change-Id: If1421db1c9615c56cf7c4629245c7f028e9696bc
lang_driver.cpp
917c3c4dc2ebadfe525192eee35f2995a5af14dd 24-Aug-2010 Shih-wei Liao <sliao@google.com> Use tempnam for beforeLink filename.

Change-Id: I395aa034ecaf9fcaa8dbd17d8974543265d59099
lang_driver.cpp
f8149d9e5a3795e9952717ee6346789a134c55c7 22-Aug-2010 Shih-wei Liao <sliao@google.com> Handle ConstantArray Type.

Change-Id: Id3677e818693d6f95445d67116db3d6766d1fbd6
lvm-rs-link.cpp
lang_driver.cpp
lang_rs_export_element.cpp
lang_rs_export_element_support.inc
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_reflection.cpp
4d7dc59dd4d82aeeb7d77d1cfc048944e6e2bdba 20-Aug-2010 Shih-wei Liao <sliao@google.com> Memory error: Fix "Invalid read of size 1" and "Jump based on uninitialize values" errors.

Change-Id: Ida47f791c6432c45786e20c525dad6dc4535142b
lang_rs_export_type.cpp
c81dd70ab201ba13033004d36107ed96a6ad8036 20-Aug-2010 Shih-wei Liao <sliao@google.com> Memory errors: Fix mismatched free() / delete / delete [].

Change-Id: I6fcac252953a0c2bd48b3146b7e9f2d6861fc703
lang_rs_context.cpp
cd56ccdc9f001b698c85f59db300fc45638f71b3 20-Aug-2010 Shih-wei Liao <sliao@google.com> Merge "Fix the size of Matrix"
116d3d2fcbde4970b07263deeeabc341ff8d76e9 20-Aug-2010 Shih-wei Liao <sliao@google.com> Fix the size of Matrix

Change-Id: Ie947a3242f18140f252e710360c0b7f1f7cb7d41
lang_rs_export_type.cpp
d23a12c5724af06130114d74743d6b8c45255ee5 20-Aug-2010 Ying Wang <wangying@google.com> Merge "Fix sim build."
22c0bf48a11e081f16c6dc8cc633ceee8cb592bc 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
ndroid.mk
0714af7b52513a4d1876f6c8595b0c9c58f0cb37 20-Aug-2010 Shih-wei Liao <sliao@google.com> Remove value_desc.

Change-Id: I4a50ba131d821ad203ca1495f441ca218c7cee7f
lvm-rs-link.cpp
fcdd3355ba5b1e32e31941be6ec4da1469de3101 20-Aug-2010 Shih-wei Liao <sliao@google.com> Change RS_MATRIX2X2 to RS_MATRIX_2X2, RS_MATRIX3X3 to RS_MATRIX_3X3, RS_MATRIX4X4 to RS_MATRIX_4X4.

Change-Id: I1eb016c92a46c44e5f2859646a000c20732e8ff5
lang_rs_export_element_support.inc
lang_rs_reflection.cpp
12654716ef85d09b448cc3839ce47ceb573bbe3c 19-Aug-2010 Shih-wei Liao <sliao@google.com> Turn off rslib.ll for now, attempting to fix sporadic linking error: "Invalid bitcode signature"

Change-Id: If80b5b941f0b03160be0f105c29bc647c6090d89
slib.ll
lang_driver.cpp
4e348449fedc9e33e3a5a6796d480c0a74202b9b 18-Aug-2010 Ying Wang <wangying@google.com> Add header and annotation to reflected java files

1. Header of generated source
2. Annotate class as hidden, so that they won't be exposed to public SDK.

Change-Id: Iad94a78e97265e2e2ddf694945e119f2dc5afc2f
lang_rs_reflection.cpp
lang_rs_reflection.hpp
9c9bbc87c525e4f3c5f529dadea3f3cd8bd69010 18-Aug-2010 Shih-wei Liao <sliao@google.com> Add "externalize" option.

Change-Id: I352b08ec0919c5657d0d0a78aece71fe7401a31f
lvm-rs-link.cpp
lang_driver.cpp
ca3be0350773a63b7792eedc216a7808e42e77ea 18-Aug-2010 Shih-wei Liao <sliao@google.com> Implement rs_matrix2x2, rs_matrix3x3, rs_matrix4x4

Change-Id: I6a7e829eb41c84e13f91fd3fa7929d6929a8cff9
lang_rs_export_element_support.inc
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_reflection.cpp
c43b981d6b5bed0d2c84d8e7728d060c065ca30b 18-Aug-2010 Shih-wei Liao <sliao@google.com> Phase out rs_scriptbc.h. Use rs_types.rsh and rs_math.rsh.

Change-Id: I0d3ea8675db264a4fb4d521f7ebce8a65fe18002
s_scriptbc.h
0dbc40516ccd83b25ef4d045bcd7ec55681bee28 13-Aug-2010 Shih-wei Liao <sliao@google.com> New bitcode implementation for rslib.

Change-Id: I324f003f2fe7ec14d2d87ea3270ae5808f8b00d2
slib.bc
slib.ll
0a3f20ec28ed6f5ae1ed5d61f6b6e3e577f7f5d1 10-Aug-2010 Shih-wei Liao <sliao@google.com> Handle RecordLayout and get the Alloc size.

Fix bug b/2901942 "hang in renderscript."

Change-Id: Ia33c64f47656a93f6de1eb95e3e983266289c8ba
lang.hpp
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_reflection.cpp
c6dde9f3626487844196ae29701c2acfcb76a909 09-Aug-2010 Shih-wei Liao <sliao@google.com> Handle load effective address (pc relative).

Change-Id: I060d0f6b7983aacacf03c40ee7b0a8a0bcee053c
slib.bc
8fd54b3d3918b276103cf5395510460fbf8ba9a2 07-Aug-2010 Shih-wei Liao <sliao@google.com> Add LOCAL_REQUIRED_MODULES.

Change-Id: I95bd7bafe509216445f757c98679f8fae3595e8b
ndroid.mk
slib.bc
slib.ll
41e9d7d515dd02b407f6376ade6a035e5bb66577 06-Aug-2010 Shih-wei Liao <sliao@google.com> Add missing LOCAL_REQUIRED_MODULE.

Change-Id: Ic06fc052467b995a778b0ba9e06a766ae97ff715
ndroid.mk
835a7b773631261b9ea2fb448a4c8a7a8cacfaab 06-Aug-2010 Shih-wei Liao <sliao@google.com> 1. Retire Ying's LOCAL_REQUIRED_MODULE change (I02184368)
2. Integrate Nick's slang_finalize change (Ib4be2a84)
3. Remove the redundant not-internalizing.

Change-Id: Ica104a12dbb14165c57e2618edab82f1c62a69ac
ndroid.mk
lvm-rs-link.cpp
lang_driver.cpp
8e85d661c3543c4361d8947c1d085e97dd1393bd 06-Aug-2010 Ying Wang <wangying@android.com> Fix dependency.

Change-Id: I02184368874524d16e126c4321decf2ca436b879
ndroid.mk
9b1f50b1cab0687f2f218a924e4ff90184aebe0a 05-Aug-2010 Shih-wei Liao <sliao@google.com> Implement accessor (getter) for retrieving an item for TypeClass in reflection

Change-Id: I21d44b3e25ecbff6152dd6b43ffb38c1728b33a2
lang_rs_reflection.cpp
lang_rs_reflection.hpp
4c9f742efa36b1037acc640184681d421aa0f6ba 05-Aug-2010 Shih-wei Liao <sliao@google.com> Right usage of linking. Enable the reuse of the same Slang object across multiple input files.

Change-Id: Id036c300ece9a245437ea2bdd0a9c0da436f558d
ibslang.cpp
ibslang.h
sScriptC_Lib.bc
sScriptC_Lib.rs
slib.bc
slib.ll
lang.cpp
lang.hpp
lang_driver.cpp
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_reflection.cpp
4c85762b3c18f68559f8f87811ab3ddaf75b5222 05-Aug-2010 Shih-wei Liao <sliao@google.com> Merge "Support multiple .rs files. Change "-o" to denote output path for .bc, NOT the output .bc file."
f83d3c396d5d7eacd97cf0a5d3b6a01d75535b67 31-Jul-2010 Shih-wei Liao <sliao@google.com> Support multiple .rs files. Change "-o" to denote output path for .bc, NOT the output .bc file.

Change-Id: I168b3f96de37b0d6a787b3a83306ac84a0ebebb5
lang.cpp
lang_driver.cpp
lang_rs_context.cpp
bbaa7938e298364187ad7eec1945236956ca7e2f 29-Jul-2010 Shih-wei Liao <sliao@google.com> Revert "Handle multiple .rs files."

This reverts commit 72bd7645002fed3ae0e1f915df7a9992c63d962c.
lang.cpp
lang_driver.cpp
lang_rs_context.cpp
78e8ed355ea51ce77218af1f1782f704a30c5519 29-Jul-2010 Shih-wei Liao <sliao@google.com> Handle multiple .rs files.

Change-Id: Icefa7477fa1ef1a8443f670f50cccf81bbdc35a2
lang.cpp
lang_driver.cpp
lang_rs_context.cpp
2239ecece40c177e071f56326cd5ef423806394d 29-Jul-2010 Shih-wei Liao <sliao@google.com> Reflect to float or double based on APFloat's semanticsPrecision function. Check IEEEsingle etc.

Change-Id: Ie7f0985df05b3c4baace70017cc8b1c173a37310
lang_rs_reflection.cpp
5337e5f56dfb2077de97f1e0e7386bed857b5f33 21-Jul-2010 Shih-wei Liao <sliao@google.com> Merge "Change the Preprocessor to automatically include rs_types.rsh and rs_math.rsh. They are part of the standard RenderScript APIs."
60de5bd34649e3a0acfdbc881a07b16781fd2661 21-Jul-2010 Shih-wei Liao <sliao@google.com> Change the Preprocessor to automatically include rs_types.rsh and rs_math.rsh. They are part of the standard RenderScript APIs.

Change-Id: Ib79d624bec877869f420f7f4c2bc294b139db597
lang.cpp
b0cadb303cf93b04b4b228fecd5f9ef4109acf80 21-Jul-2010 Kirk Stewart <kstewart@google.com> Disallow implicit discarding of type qualifiers. Note that this
does not prevent qualifiers from being discarded by explicit casts.

Change-Id: I2ebbef25a21461fbf058c1fca905be02f7b31777
ndroid.mk
lang.hpp
0d80b28b26094cb026ca3aef46b4d22640282388 20-Jul-2010 Shih-wei Liao <sliao@google.com> Fix Simulator build.

Change-Id: I8ead00268ab5629738da7e920844d9dc07f6894a
ndroid.mk
1880571185bb191bb8835a576d44cb7cef230452 20-Jul-2010 Shih-wei Liao <sliao@google.com> Try Simulator build.

Change-Id: I42da60ee5ca226c6895044ef6c3136c4dc84fb1b
ndroid.mk
9089828a995422a5ed3beeed0890b755c4abe188 20-Jul-2010 Shih-wei Liao <sliao@google.com> Add curr directory to include path.

Change-Id: I67eba0fd18a703d9349d58446fbafbcd32a08dfb
lang.cpp
81c1b4865e9c8fd655ea4528814f6c53e225ba6d 20-Jul-2010 Shih-wei Liao <sliao@google.com> Add QT.isConstQualified, to determine whether set_* needs to be reflected.

Change-Id: Ic59c6af9be8878c0b78a494c5f6bb6a2a594ce67
lang_rs_export_var.cpp
8eac0940b8d13f8c4bad50942bf8527d64ccd12c 19-Jul-2010 Shih-wei Liao <sliao@google.com> Add frameworks/base/libs/rs/scriptc to system include path.

Change-Id: I5b28bdefb7ddc99b9861dc49bd088c813806f0f4
lang.cpp
66819a96bda9362f86e4f26ed8a9b1f73961b27a 19-Jul-2010 Shih-wei Liao <sliao@google.com> Clean up printing.

Change-Id: I0c335d1e8203fe412466b0e2b83ceda0ea33b56b
lang.cpp
68e8e9f98730b3672fb96d49e33b9db70a90ed3f 19-Jul-2010 Shih-wei Liao <sliao@google.com> Add include path and deal with the case that "-p" flag on path is unspecified.

Change-Id: I592b23ac1e08b62088a9a9e1bfc8109b56929386
lang.cpp
lang.hpp
lang_rs_reflection.cpp
807a0eaf3c19dc067becdca46a10e8c703d1e871 17-Jul-2010 Che-Liang Chiou <clchiou@google.com> Handle corner case if file path is too long.

Change-Id: Idf6cd3530d45d21ae40d8d27265368619e70155f
lang.cpp
139949bc10689a1a91980840fa743a3b07668e69 17-Jul-2010 Che-Liang Chiou <clchiou@google.com> handle corner case that path string is too long

Change-Id: I328581bbcb8c4840a7461dbb27c23efb767a8a3b
lang_rs_reflection.cpp
b55d7ef3333534fc6aad80f9a9133f2bf945faf1 16-Jul-2010 Shih-wei Liao <sliao@google.com> Change "-o" to create parent directories if it's needed.

Change-Id: I98de7f29d338c5849f5fcd7fb598c00150140d5a
lang.cpp
lang_rs_reflection.cpp
8b1d0dd74715221138d2458858178b4e0e014f09 16-Jul-2010 Shih-wei Liao <sliao@google.com> Create path if needed and add RSReflection::openScriptFile.

Change-Id: I58e8d6f66bc093a391001ba09e44ac0bc5566827
lang_rs_reflection.cpp
lang_rs_reflection.hpp
6de89272b00a31f2a73e2f56edf9cc511df46265 16-Jul-2010 Shih-wei Liao <sliao@google.com> Add --output-java-reflection-path | -p

Change-Id: I951a3540aa653060f81ff76b670ffb4b0029a3ca
ibslang.cpp
ibslang.h
lang.cpp
lang.hpp
lang_driver.cpp
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_reflection.cpp
lang_rs_reflection.hpp
e3756aa450b690cf5d18c0ea572ef7563de97bb3 12-Jul-2010 Victor Hsieh <victorhsieh@google.com> Usage Linkage for choosing vars/funcs which should be exported instead.

Change-Id: I7773bbfea721cc2c9423cf4e89e0d14c9539d14d
lang_rs_context.cpp
f1bd510334a62034dcf3b4787f2d6634d05ec80b 09-Jul-2010 Shih-wei Liao <sliao@google.com> Change SimpleMesh to Mesh.

Change-Id: Iba829349ea5c17b225c41d09e0375727a11dcf99
lang_rs_reflection.cpp
a50704238e06bc72a7ea3e8282fb5d350f88fd08 08-Jul-2010 Victor Hsieh <victorhsieh@google.com> Rename *ExportAllStatic* to *ExportAllNonStatic*.

Change-Id: I454a181e0081334e9e3dee99e80c2f875258d6ed
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_pragma_handler.cpp
db4586aa90026e9ae3e9139f7b9db3b6de329e18 07-Jul-2010 Shih-wei Liao <sliao@google.com> Merge "Add a command-line option to allow function names with the "rs" prefix (--allow-rs-prefix). When not specified, user-defined functions with that prefix will be treated as an error."
1fd8579fe65b13a26cfaad12d056d2fc9b46475a 07-Jul-2010 Kirk Stewart <kstewart@google.com> Add a command-line option to allow function names with the "rs" prefix (--allow-rs-prefix). When not specified, user-defined functions with that prefix will be treated as an error.

Change-Id: Ieefc8bb55d61980241d5392ffb32770a303ce6a7
ibslang.cpp
ibslang.h
lang.cpp
lang.hpp
lang_backend.cpp
lang_backend.hpp
lang_driver.cpp
lang_rs_backend.cpp
lang_rs_backend.hpp
d8a0d186a362739f385f1a4af35360d5da69e47b 07-Jul-2010 Victor Hsieh <victorhsieh@google.com> Add pragma rs set_reflect_license

Change-Id: I9c3d9505c108a11b6c3fd85499fbac10da9f2532
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.hpp
lang_rs_reflection.cpp
lang_rs_reflection.hpp
dddbcc147f06a1ebf1120240ae270285950450b9 07-Jul-2010 Shih-wei Liao <sliao@google.com> Merge "Add pragma rs export_var_all and export_func_all"
48bac230fe966771f3074975fc2426ffde519edf 04-Jul-2010 Shih-wei Liao <sliao@google.com> Add genInitBoolExportVariable.

Change-Id: I4add75d258e1b99c9217a829f2aed6ff15faa6ba
lang_rs_reflection.cpp
lang_rs_reflection.hpp
c6718b312b793ea76ac6b61479090c33ba9f2ba6 23-Jun-2010 Victor Hsieh <victorhsieh@google.com> Add pragma rs export_var_all and export_func_all

Change-Id: Id9a90aeeb7cf74b3e9247cf8b998d5c5358ac73a
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.hpp
c552b7cecf1c3babf24147db9b72ae490272dd61 25-Jun-2010 Shih-wei Liao <sliao@google.com> Return nonzero if slang encounters:
1. command line option errors
2. sourcing errors
3. compiling errors
4. reflection errors
5. outputing errors

Change-Id: Ieec31d98272dae421290c860bcefcc9dc34c8358
lang_driver.cpp
1f0d88fbff28e4e2dd563d93c8fe0047381c09cc 25-Jun-2010 Shih-wei Liao <sliao@google.com> Use addBoolean successfully and bool->boolean reflection.

Change-Id: I2c31ef41766f8ace472ed289012de336e43e9aa9
lang_rs_export_element_support.inc
lang_rs_export_func.cpp
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_export_type_support.inc
lang_rs_reflection.cpp
af0a9c24ca7c7bf24b63b0f08464374a6b81b560 25-Jun-2010 Shih-wei Liao <sliao@google.com> Treat rs_font as of RSObjectType.

Change-Id: I73e6d758b1ec09b34209f37bcf59362ea687139d
lang_rs_export_type.hpp
bb1f9f01421ffbbafb4f02ea7c27dabd605edc35 24-Jun-2010 Shih-wei Liao <sliao@google.com> slang_rs_reflection support for rs_font.

Change-Id: I0df35f2580fd3db9fe91942d130b7b3fb8fb2d59
lang_rs_reflection.cpp
cbbdd92b981296f347b02c0fa45621912ea8195c 24-Jun-2010 Shih-wei Liao <sliao@google.com> Add rs_font.

Change-Id: I726ed6951b3f34484b1d25719807cd8d3bff9337
s_scriptbc.h
lang_rs_export_element_support.inc
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_reflection.cpp
c382c607cd3bbd94f8e8e26bc6d6e72efaad2d55 22-Jun-2010 Shih-wei Liao <sliao@google.com> Don't reflect set_*() API for export variables having 'const' qualifier

Change-Id: I829ce2ebdca7d01f6c41986cf76455328c7a7771
lang_rs_export_var.hpp
lang_rs_reflection.cpp
dd35e490cc067a761f0f55ecde5c76a76cc87ad2 21-Jun-2010 Shih-wei Liao <sliao@google.com> Add boolean.

Change-Id: Ia5f47249fd20edb3ebcf3b263fe3e215ba174164
lang_rs_export_type.hpp
lang_rs_reflection.cpp
324c0479ec3edda573de60b2e6476507a99d06f7 21-Jun-2010 Shih-wei Liao <sliao@google.com> Reflect initializer of an exported variable if any.
(NOTE: record type is unsupported currently)

Change-Id: I26fa50dc38488217420a25bafb07f29f6ab28d28
lang_rs_export_var.cpp
lang_rs_export_var.hpp
lang_rs_reflection.cpp
lang_rs_reflection.hpp
001fb6dddbf1cc794532eeb6a55f7b500eab1abc 21-Jun-2010 Shih-wei Liao <sliao@google.com> 1. Add comments to clarify (E.g., don't worry. "syntax error will be triggered by predecessor later")
2. Create ASTContext before RSContext creation and pass it to RSContext for using later

Change-Id: I6c11af70f1a13036c560aa34d311808548390864
lang.cpp
lang.hpp
lang_rs_backend.cpp
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_pragma_handler.cpp
9e86e1926328d9ecf3cd0922e55299db901f6469 19-Jun-2010 Shih-wei Liao <sliao@google.com> Add "public static createElement" as part of reflected files for the fields.

Change-Id: I8d4c0549933114579cf507f662bfcd99ee4bdb10
lang_rs_reflection.cpp
lang_rs_reflection.hpp
9e98e006c1dd889ecac1bebf353500e7a54d490e 19-Jun-2010 Shih-wei Liao <sliao@google.com> Fix the subData argument values: They are in the unit of elements, NOT in the
unit of bytes. Verified that Launcher2 is reflected correctly now.

Change-Id: I85921743e6f0f74650c99a2e80b26028a685e9e4
lang_rs_reflection.cpp
c1d7b38cc589b8ffb5d2cb710dea1177ca32f214 17-Jun-2010 Shih-wei Liao <sliao@google.com> Merge "Remove USER_F32, ..."
bd49c8ff5a35befb413de3b6d7989d257b54f057 17-Jun-2010 Shih-wei Liao <sliao@google.com> Remove USER_F32, ...

Change-Id: Id83bf0c32ec4fa1ea950237ff83e221d1a40e73a
lang_rs_reflection.cpp
a1bd2d5b1c7229444eb8291ed65e689d3bff8934 17-Jun-2010 Shih-wei Liao <sliao@google.com> Merge "Phase out part of Data Kind."
b1a28e752571e744444377c89e5c256b4332dc58 17-Jun-2010 Shih-wei Liao <sliao@google.com> Phase out part of Data Kind.

Change-Id: I22c4c8c393d4ee2b494050c5d8daa04e56c4919d
lang_rs_reflection.cpp
72b1938a541849d3c8c5e3603a81b02d76e5549a 16-Jun-2010 Shih-wei Liao <sliao@google.com> Merge "Use SourceLocation::print() to output source location for diagnostics."
b1b053da3b40bb49c4b2f28cbf51364e30864e83 16-Jun-2010 Kirk Stewart <kstewart@google.com> Use SourceLocation::print() to output source location for diagnostics.

Change-Id: If5741d59664c69a7393fc0d107b617ce5249a996
lang_diagnostic_buffer.cpp
60c985d5a07b76b34e5113fbd166bf73ba16b7d0 15-Jun-2010 Shih-wei Liao <sliao@google.com> Null pointer checking for setting RS objects in reflection.

Change-Id: Ic35fd444d853d7c90c9f8d9359852b8cfc2eba56
lang_rs_reflection.cpp
2dd42ffb0679851777ec4733681816d399d5f7d3 15-Jun-2010 Shih-wei Liao <sliao@google.com> Fix slang to do invoke_foo() without null.
Fix slang to pass "id" in the constructor in ScriptC_*.

Change-Id: I52f98a742fa919c7fe2c74a04bccce962061d5b5
lang_rs_reflection.cpp
2e534f22278bc2f98507436ca9ee4f8b2af54eab 15-Jun-2010 Shih-wei Liao <sliao@google.com> Change Diagnostic::Error to Diagnostic::Warning for now. The long-term solution should provide a slang option to toggle between Error and Warning.

Change-Id: I16b7f91ef03310112f86b147937a5a0eb0054005
lang_backend.cpp
70b2c93755d1d3a7e90dea33f9e0bba45efa6a98 12-Jun-2010 Sen Hu <senhu@google.com> Merge "Add support to #pragma rs java_package_name."
537446c9542fdda458920876ed8a020a97ddf7a4 12-Jun-2010 Shih-wei Liao <sliao@google.com> Add support to #pragma rs java_package_name.

Change-Id: Ieb3582511238e1a13056221dfd6e6b3c1f87fe6a
lang_driver.cpp
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.hpp
336d93a7f079c86d9b43e1e1cfb539a11c5e130b 11-Jun-2010 Kirk Stewart <kstewart@google.com> Use llvm::StringRef::startswith rather than std::string::compare,
as per Nick's suggestion.

Change-Id: If5855dfb33831989adb0cd6e512550e12a9dd983
lang_backend.cpp
6b22674f4ef0a6c689c589830f1c44f443520785 11-Jun-2010 Kirk Stewart <kstewart@google.com> Add a check to prevent users from defining function names starting
witih "rs".

Change-Id: I2801d50b11439b37dd875957683bbf180c8df34a
lang.hpp
lang_backend.cpp
lang_backend.hpp
lang_rs_backend.cpp
lang_rs_backend.hpp
6322c93178711b935af4ffbfe5066d10280d26ba 11-Jun-2010 Kirk Stewart <kstewart@google.com> Use pre-existing clang code to produce errors for un-prototyped functions.

Change-Id: I872fc58adecfa99a02aea003664beed618978221
lang.hpp
lang_backend.cpp
c20992e629a0edb507be763851edaf073cb5b18a 10-Jun-2010 Shih-wei Liao <sliao@google.com> Type promotion in reflection. That is, treat unsigned char in C as short in Java, unsigned short as int and unsigned int as long

Change-Id: I81f2141a786dc1a05f7f12c8dbded9f0a5e5e804
lang_rs_reflection.cpp
976baad93b7361812b14885b06be8157d15924d8 08-Jun-2010 Shih-wei Liao <sliao@google.com> Fix simulator build.

Change-Id: Ib7ddcb19cc45ee8db754223d986e4de16a00548f
ndroid.mk
546e817abe85c85ac23b68d0fecd5b3ccf7eb392 06-Jun-2010 Shih-wei Liao <sliao@google.com> Fix Android.mk

Change-Id: I3cec464ab6673cc4b23360830f17be69c9008719
ndroid.mk
bdd788877b3f18980836a3ed0d46627169483653 06-Jun-2010 Shih-wei Liao <sliao@google.com> Set LOCAL_MODULE_CLASS in slang to EXECUTABLES.
Use invoke() (invokeData() and invokeV() are deprecated) for reflecting function.

Change-Id: I25db106c8e162b87b38db1a5c740d913327186d3
ndroid.mk
lang_rs_reflection.cpp
462aefd62cc646d2ff753c1d003ef3cd7bbea262 05-Jun-2010 Shih-wei Liao <sliao@google.com> Initialize slang and Android.mk.

Change-Id: If74da8e54d45511c8c9bb236bcfeec508f4f2439
ndroid.mk
ibslang.cpp
ibslang.h
s_scriptbc.h
lang.cpp
lang.hpp
lang_backend.cpp
lang_backend.hpp
lang_diagnostic_buffer.cpp
lang_diagnostic_buffer.hpp
lang_driver.cpp
lang_pragma_recorder.cpp
lang_pragma_recorder.hpp
lang_rs_backend.cpp
lang_rs_backend.hpp
lang_rs_context.cpp
lang_rs_context.hpp
lang_rs_export_element.cpp
lang_rs_export_element.hpp
lang_rs_export_element_support.inc
lang_rs_export_func.cpp
lang_rs_export_func.hpp
lang_rs_export_type.cpp
lang_rs_export_type.hpp
lang_rs_export_type_support.inc
lang_rs_export_var.cpp
lang_rs_export_var.hpp
lang_rs_pragma_handler.cpp
lang_rs_pragma_handler.hpp
lang_rs_reflection.cpp
lang_rs_reflection.hpp
arget.inc