aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-4.4.3_r1' into HEADcm-11.0-XNPH44S-bacon-5fa8c79c0bcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505acm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56stable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0cm-11.0Ricardo Cerqueira2014-06-032-5/+16
|\ | | | | | | Android 4.4.3 release 1
| * Fix C++ reflection so that -p works.Stephen Hines2013-11-182-5/+16
| | | | | | | | | | | | | | | | | | 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)
* | Merge tag 'android-4.4_r1' into cm-11.0cm-11.0-XNPH25R-bacon-d22b777afacm-11.0-XNPH22R-bacon-03d77315eaRicardo Cerqueira2013-11-0151-434/+1255
|\| | | | | | | Android 4.4 Release 1.0
| * Fix initializers and add vector reflection support.Stephen Hines2013-08-297-12/+205
| | | | | | | | | | | | | | | | | | 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
| * Handle implicit array dimensions properly.Stephen Hines2013-08-233-5/+8
| | | | | | | | | | Bug: 10461673 Change-Id: I681f918d89983522dd162d7f4606ed5811ab2560
| * Type checking for C++ API.Stephen Hines2013-08-224-6/+143
| | | | | | | | | | | | Bug: 10427951 Change-Id: I76a6093237a3b27a0c9e6ce38997cb1e0128efb9
| * am 80dd1546: (-s ours) DO NOT MERGE - Write legacy function attributes properly.Stephen Hines2013-08-130-0/+0
| |\ | | | | | | | | | | | | * commit '80dd15464ebcff64f4eb58df5af0d3fc4723bbec': DO NOT MERGE - Write legacy function attributes properly.
| | * DO NOT MERGE - Write legacy function attributes properly.Stephen Hines2013-08-137-15/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Update slang for LLVM merge up to r187914.Stephen Hines2013-08-097-36/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Merge "Fix a bug with compat lib support. Add new namespace to sp<>."Tim Murray2013-08-021-9/+9
| |\ \
| | * | Fix a bug with compat lib support. Add new namespace to sp<>.Tim Murray2013-07-311-9/+9
| | | | | | | | | | | | | | | | Change-Id: I5dd513b58757be79984dd16db63c19cc1d076658
| * | | Add performance warning for rsSetElementAtTobias Grosser2013-08-015-0/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This warning proposes the use of typed rsSetElementAt calls in case typed versions of this method are available. Change-Id: I8d3b9bbd50b085d4e04db0008d7bf39733e0c663
| * | | Test for vector casts in function callsTobias Grosser2013-08-012-0/+11
| | | | | | | | | | | | | | | | Change-Id: Idbd37a5588c7b0dae17146d295580ff3c516244b
| * | | Merge "Remove dead code trying to write opt-level"Stephen Hines2013-07-291-5/+0
| |\ \ \
| | * | | Remove dead code trying to write opt-levelTobias Grosser2013-07-231-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Merge "Split HandleTranslationUnitPost in subfunctions"Stephen Hines2013-07-292-285/+298
| |\| | | | | |/ / | |/| |
| | * | Split HandleTranslationUnitPost in subfunctionsTobias Grosser2013-07-232-285/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Update C++ bindings and add const qualifiers to get methods.Tim Murray2013-07-232-7/+6
| | | | | | | | | | | | | | | | Change-Id: I58affdfcc560ed269cd0fda0c5e74651bcfd4e4a
| * | | Clean up handling of Java package name for llvm-rs-cc.Stephen Hines2013-07-205-38/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | 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
| * | Provide LLVM 3.2 BitcodeWriter as a device static library.Stephen Hines2013-06-211-0/+18
| | | | | | | | | | | | | | | | | | | | | This will allow the bcinfo BitcodeTranslator to write LLVM 3.2 compatible bitcode. Change-Id: Id0137ec04a102f09af5b4c0b8020c5ae9b9f3554
| * | Merge "Add llvm-rs-as tool."Stephen Hines2013-06-212-0/+172
| |\ \
| | * | Add llvm-rs-as tool.Tobias Grosser2013-06-212-0/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Merge "Remove unused option from BitWriter_3_2"Stephen Hines2013-06-211-5/+1
| |\| |
| | * | Remove unused option from BitWriter_3_2Tobias Grosser2013-06-211-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Write legacy function attributes properly.Stephen Hines2013-06-217-15/+62
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Update slang for LLVM merge to r183849.Stephen Hines2013-06-137-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | s/getLinkage/getFormalLinkage Path.h -> PathV1.h Fix test output diagnostics related to pragma location Change-Id: I7ab5372e848494ac40f1284eb6f9accc18092ad7
| * | Remove dependence to python 2.4Tobias Grosser2013-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
| * | lit: Adjust include paths to ensure rs_core.rsh is foundTobias Grosser2013-06-101-1/+1
| | | | | | | | | | | | Change-Id: I1cd0c99171507ad97304957e45b61dff70f07567
| * | Bump version number for K.Stephen Hines2013-05-221-1/+2
| | | | | | | | | | | | Change-Id: If819092301ab9c095957306574a09dcdc9ed9c5e
| * | Support -O0 as well as -O 0 for option passing.Stephen Hines2013-05-174-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Turn off "lax vector conversions".Stephen Hines2013-05-142-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Disallow implicit and explicit casts of vector types in llvm-rs-cc.Stephen Hines2013-05-085-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Update tests for v19.Stephen Hines2013-05-062-2/+2
| | | | | | | | | | | | Change-Id: I490c9f5cd1043055a7f3c8a22c3262f8e47ecdfd
| * | Adapt llvm-rs-cc for LLVM/Clang update.Stephen Hines2013-05-064-5/+8
| | | | | | | | | | | | Change-Id: Ic38ebc1d824f6d3ae26c6b354336a01b52d46136
| * | am 9d234b6c: Fix filename-escaping for Windows paths.Stephen Hines2013-03-274-2/+17
| |\| | | | | | | | | | | | | * commit '9d234b6c83c9d6baab71433fdecab6bfde34a956': Fix filename-escaping for Windows paths.
| * | am 82d72886: Update slang for LLVM/Clang rebase.Stephen Hines2013-03-201-1/+2
| |\ \ | | | | | | | | | | | | | | | | * commit '82d7288620fade361dd8f7408b5db54a55c2c794': Update slang for LLVM/Clang rebase.
| * \ \ am 4a2e54c7: (-s ours) am 9f9d5bfe: am 55d176e6: am b5beb2b3: (-s ours) am ↵Jean-Baptiste Queru2013-03-110-0/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | af11e9a6: (-s ours) Reconcile with jb-mr1-release - do not merge * commit '4a2e54c7642d97873cc9f0d6c4387a0b0aa5a697':
* | \ \ \ Merge tag 'android-4.3_r2.1' into cm-10.2cm-10.2.1cm-10.2.0cm-10.2-M1stable/cm-10.2cm-10.2Ricardo Cerqueira2013-07-2457-959/+4142
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | Android 4.3 release 2.1
| * | | | Fix filename-escaping for Windows paths.Stephen Hines2013-03-264-2/+17
| | |_|/ | |/| | | | | | | | | | Change-Id: I0070d0f96093490c664545cd61a42137e374798f
| * | | Update slang for LLVM/Clang rebase.Stephen Hines2013-03-181-1/+2
| | |/ | |/| | | | | | | Change-Id: I80217ebbc4d5783afd34bd49b800dcc9cbff6427
| * | am 9f9d5bfe: am 55d176e6: am b5beb2b3: (-s ours) am af11e9a6: (-s ours) ↵Jean-Baptiste Queru2013-03-110-0/+0
| |\ \ | | |/ | |/| | | | | | | | | | Reconcile with jb-mr1-release - do not merge * commit '9f9d5bfe8673a6e7274ae50222bd09c623205d59':
| | * am 55d176e6: am b5beb2b3: (-s ours) am af11e9a6: (-s ours) Reconcile with ↵Jean-Baptiste Queru2013-03-110-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | jb-mr1-release - do not merge * commit '55d176e66934371b24a448a145bc0d2b64ea470d':
| | | * am b5beb2b3: (-s ours) am af11e9a6: (-s ours) Reconcile with jb-mr1-release ↵Jean-Baptiste Queru2013-03-110-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | - do not merge * commit 'b5beb2b3d7c808aee25dfa3f87918438df69f4f5':
| | | | * am af11e9a6: (-s ours) Reconcile with jb-mr1-release - do not mergeJean-Baptiste Queru2013-03-110-0/+0
| | | |/| | | | | | | | | | | | | | | | * commit 'af11e9a60b569ce2d9655648356ea32d0d9a375d':
| | | | * Reconcile with jb-mr1-release - do not mergeJean-Baptiste Queru2013-03-110-0/+0
| | | | |\
| * | | | | Updates for LLVM merge to r176139.Stephen Hines2013-03-0513-99/+164
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0d0d32893b4638eef298c99ac8c862c9a9bca1a6
| * | | | | Make llvm-rs-cc build with libclang.so/libLLVM.so.Stephen Hines2013-02-271-49/+6
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iecba3947abf5c129e667b130de247f886e3795e3
| * | | | | Enable reflection of clipped kernels.Stephen Hines2013-02-122-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie7ee7267e562dc253192bfca38f7b5261d49e508
| * | | | | Remove the unused llvm-rs-link binary.Stephen Hines2013-01-252-332/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This hasn't been used or maintained for quite some time, and it serves no purpose for Renderscript today. Change-Id: I5a4148159c96256a9231ff4e5ce8ba86ab4c114a
| * | | | | Add docs for -MD.Stephen Hines2013-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iab83e3da183f1cb896d2058955338b328ca941a2