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
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.h
|
9e3aa07a4456aad52920e0a7464954fe67cdbe01 |
|
17-Jun-2014 |
Chris Wailes <chriswailes@google.com> |
Added a new development target api. Change-Id: I71a16597f2605b9323424f8d493f103519d10178
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.h
|
12fc283f4108fd6f7f0164c121ff2f6fb5044225 |
|
04-Jun-2014 |
Jean-Luc Brouillet <jeanluc@google.com> |
Don't go through RSContext for the Java reflection (take 2) Change-Id: I08e5be9c4e39501238a9f9c382f0c66b2caf5a8d
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.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
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.h
|
75d471819f1810e0e65224d6e57fe1106af0d340 |
|
28-May-2014 |
Stephen Hines <srhines@google.com> |
Update slang for LLVM 3.5 rebase (r209713). Change-Id: If0f510085358d2e48c865257851d9ff7f5846eb8
/frameworks/compile/slang/slang_rs.h
|
44d495d2ad8c350a8f586502c9ee8e97a513646a |
|
23-May-2014 |
Stephen Hines <srhines@google.com> |
Clean up embedded bitcode path for Java. Change-Id: I79cc65778173c7eeab028dedfc4adcb59bef44c2
/frameworks/compile/slang/slang_rs.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
/frameworks/compile/slang/slang_rs.h
|
4b3f3bada7155de983e7d92fa8b20091629b3bb3 |
|
07-May-2013 |
Stephen Hines <srhines@google.com> |
Adapt llvm-rs-cc for LLVM/Clang update. Change-Id: Ic38ebc1d824f6d3ae26c6b354336a01b52d46136
/frameworks/compile/slang/slang_rs.h
|
0da7f6c8201b27938d3b9f048d71fd784cd1df9a |
|
06-Mar-2013 |
Stephen Hines <srhines@google.com> |
Updates for LLVM merge to r176139. Change-Id: I0d0d32893b4638eef298c99ac8c862c9a9bca1a6
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.h
|
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
|
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
/frameworks/compile/slang/slang_rs.h
|
e67239de8d94975e7e2216ee6860ae2e6cb8b15a |
|
25-Feb-2012 |
Stephen Hines <srhines@google.com> |
Style violation cleanup. Change-Id: Idb127f2fd6e637039454f47299360aec5a4edfe8
/frameworks/compile/slang/slang_rs.h
|
b7d1269f983f28d9fe625a96439fa88b39dc96f6 |
|
03-Sep-2011 |
Stephen Hines <srhines@google.com> |
Remove obsolete/confusing options and fix strings. Change-Id: I26b5eeea7ddc8cc4984745daa52635ea95ad7c66
/frameworks/compile/slang/slang_rs.h
|
4cc499d6e5ec602309501873449c938af61170b2 |
|
25-Aug-2011 |
Stephen Hines <srhines@google.com> |
Start basic support for LLVM 2.9 bitcode writer. Change-Id: I6a54158a32e485f506f0b991f89125b8a0e60267
/frameworks/compile/slang/slang_rs.h
|
4a4bf92a8add68629a7e6e59ef81c3c3fe603a75 |
|
19-Aug-2011 |
Stephen Hines <srhines@google.com> |
Don't generate forEach() on pre-ICS target SDK. Change-Id: I794587d1f79a08aca8cc4f7f20f4012050ab0501
/frameworks/compile/slang/slang_rs.h
|
2e35b136cc2434080fcd682d2f95e53a87675dd4 |
|
22-Jul-2011 |
Stephen Hines <srhines@google.com> |
Add support for -target-api <n> to llvm-rs-cc. Change-Id: Ieaef83fae55f84e87a9301b377633ac658a724b6
/frameworks/compile/slang/slang_rs.h
|
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
/frameworks/compile/slang/slang_rs.h
|
e639eb5caa2c386b4a60659a4929e8a6141a2cbe |
|
09-Nov-2010 |
Stephen Hines <srhines@google.com> |
Improve code style. Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
/frameworks/compile/slang/slang_rs.h
|
fcda2352b9e140529f8f3c89f05b10a70c0048b2 |
|
20-Oct-2010 |
Stephen Hines <srhines@google.com> |
Support for local RS zero initialization. Change-Id: I785cfc6ee53abb6c88ab5bdba5e7c8c16b8409de
/frameworks/compile/slang/slang_rs.h
|
e86245a09bb8b9e72f5dc68083444ec938865798 |
|
12-Oct-2010 |
Zonr Chang <zonr@google.com> |
Fix potential memory corruption in checkODR().
/frameworks/compile/slang/slang_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.
/frameworks/compile/slang/slang_rs.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.
/frameworks/compile/slang/slang_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.
/frameworks/compile/slang/slang_rs.h
|
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.
/frameworks/compile/slang/slang_rs.h
|
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.
/frameworks/compile/slang/slang_rs.h
|
6791df284557f4173a9715b3634f4f4901a6bb8a |
|
09-Oct-2010 |
Shih-wei Liao <sliao@google.com> |
New implementation of llvm-rs-cc (replacement of slang_driver). Change-Id: I1b8b6cf3dad8ef8fe2f4d24d4df604099f45ff37
/frameworks/compile/slang/slang_rs.h
|
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.
/frameworks/compile/slang/slang_rs.h
|
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.
/frameworks/compile/slang/slang_rs.h
|