8f093e05e28046b6fc74175b66a06152f72e0c66 |
|
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update slang for LLVM rebase to r256229 Bug: http://b/26987366 (cherry picked from commit 98cfae456bb1831336bce2b21979a04e2e31fed4) Change-Id: Ic7f67da3fee0da075f11e3125132af7ea9c96457
/frameworks/compile/slang/slang_rs_ast_replace.cpp
|
283a6cf32b808c703b219862ac491df3c9fc8b4b |
|
16-Jan-2016 |
Yang Ni <yangni@google.com> |
Handle return values of rsObject type Bug: 25570907 Bug: 25777125 This made further improvements over a previous fix on return values of rsObject type. 1) The temp variable created for a return expression is now set using rsSetObject() rather than directly put in the initializer of the temp. This way, the returned rsObject would have a sys ref count of at least 1 and won't become invalid on the return for the caller. 2) On the caller side, introduced another temp variable .rs.tmpXXX for the result of any function call that returns an rsObject. This temp is set in the initializer upon declaration, without using rsSetObject(). A destructor is inserted at the end of the enclosing scope for the temp. 3) Both temp variables above are now named with a unique suffix (that is a unique integer, which starts from 0 and increases monotonically within the function currently being analyzed and transformed.) 4) Fixed an issue in the previous fix, when there are multiple rsObjects defined in a block, we will only introduce one temp variable for a return statement. The previous CL would introduce one temp for each rsObject, mistakenly. Change-Id: Id3604f93b166089e3aca896d1c6c509b3ea19bcf (cherry picked from commit b478c3dd0a47dc4c0c884d911819c9cf53c46649)
/frameworks/compile/slang/slang_rs_ast_replace.cpp
|
796e7b1400d3f3f7c07496d88bb48129ea925bb9 |
|
27-May-2014 |
Jean-Luc Brouillet <jeanluc@google.com> |
Remove useless "return;" statements. More cleanups to follow... Change-Id: Ib8348255273771c1e9ff07e79bd7fbc8f2795a5b
/frameworks/compile/slang/slang_rs_ast_replace.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
/frameworks/compile/slang/slang_rs_ast_replace.cpp
|
292e00a0259ac28cac1055cb6077cf6fc7c6743c |
|
19-Mar-2011 |
Stephen Hines <srhines@google.com> |
Add support for RSASTReplace for ref-counting. BUG=3092382 Change-Id: Ia17d40753952e4a021b39549a082cc4b3f20916c
/frameworks/compile/slang/slang_rs_ast_replace.cpp
|