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
/frameworks/compile/slang/slang_rs_backend.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_backend.h
|
8004db04a13a3031ca21dc0b2bb8875d5bbd4473 |
|
28-Mar-2012 |
Stephen Hines <srhines@google.com> |
am 011fed09: am ffbd99c5: Merge "Remove optimization level metadata." * commit '011fed092c701396c830321e4db4e468af0827e3': Remove optimization level metadata.
|
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
/frameworks/compile/slang/slang_rs_backend.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_backend.h
|
e67239de8d94975e7e2216ee6860ae2e6cb8b15a |
|
25-Feb-2012 |
Stephen Hines <srhines@google.com> |
Style violation cleanup. Change-Id: Idb127f2fd6e637039454f47299360aec5a4edfe8
/frameworks/compile/slang/slang_rs_backend.h
|
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
/frameworks/compile/slang/slang_rs_backend.h
|
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
/frameworks/compile/slang/slang_rs_backend.h
|
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
/frameworks/compile/slang/slang_rs_backend.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_backend.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_backend.h
|
4ccf75e55fe460a8daa49247d7e5a797329c71a6 |
|
17-Aug-2011 |
Stephen Hines <srhines@google.com> |
Fix up parsing of root() function arguments. BUG=5076887 Change-Id: I6ef41ebd237c864e46beee26f5952879d3712819
/frameworks/compile/slang/slang_rs_backend.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_backend.h
|
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
/frameworks/compile/slang/slang_rs_backend.h
|
3fd0a94a5cf1656569b1aea07043cc63939dcb46 |
|
18-Jan-2011 |
Stephen Hines <srhines@google.com> |
Refactor pragma handling (pass everything to LLVM) Change-Id: Id09d4934af06f0880cd867456218602ce9a9e2de
/frameworks/compile/slang/slang_rs_backend.h
|
c97a333bc84ce8c28c96d07734cbded75c914639 |
|
01-Dec-2010 |
Stephen Hines <srhines@google.com> |
Improve validation of AST before reflection. Change-Id: If4b52f3a713ab97145bc31ef42b18d1cc144099a
/frameworks/compile/slang/slang_rs_backend.h
|
e639eb5caa2c386b4a60659a4929e8a6141a2cbe |
|
09-Nov-2010 |
Stephen Hines <srhines@google.com> |
Improve code style. Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
/frameworks/compile/slang/slang_rs_backend.h
|
4b32ffdfc1ac766f8932e7effbcdf7484e804a8e |
|
06-Nov-2010 |
Stephen Hines <srhines@google.com> |
Factor out RSObjectRefCount for destructor work. Change-Id: Ibdacc9e9f15401680bc54747664e187a05f62e25
/frameworks/compile/slang/slang_rs_backend.h
|
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
/frameworks/compile/slang/slang_rs_backend.h
|
fcda2352b9e140529f8f3c89f05b10a70c0048b2 |
|
20-Oct-2010 |
Stephen Hines <srhines@google.com> |
Support for local RS zero initialization. Change-Id: I785cfc6ee53abb6c88ab5bdba5e7c8c16b8409de
/frameworks/compile/slang/slang_rs_backend.h
|
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.
/frameworks/compile/slang/slang_rs_backend.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_backend.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_backend.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.
/frameworks/compile/slang/slang_rs_backend.h
|