aboutsummaryrefslogtreecommitdiffstats
path: root/slang_backend.h
Commit message (Collapse)AuthorAgeFilesLines
* Update slang for rebase to LLVM r235153Pirama Arumuga Nainar2015-05-191-3/+3
| | | | | | | | | | - Include a tiny fix to an upstream bug (https://llvm.org/bugs/show_bug.cgi?id=23436) - Use BufferOutputStream instead of FormattedOutputStream in slang_backend Change-Id: I9c53b6bbbcccc95513b45d8f0374ced35f7baccd (cherry picked from commit 21cc01860b95cad7ae60c686e511e8f4ae034e39)
* Merge Slang with SlangRS, Backend with RSBackend.Jean-Luc Brouillet2015-05-191-18/+60
| | | | | Change-Id: I4721f92c10ec14a886923778595289f96d3a8de5 (cherry picked from commit 8024ed54c23c08534434da14d3be99c3efcc5754)
* Update slang for LLVM rebase to r230699.Stephen Hines2015-03-261-4/+4
| | | | Change-Id: I6fa2c59b1445735e2eb95deb4ac503cb9ed369ee
* Adds support for multi-input kernels to Slang.Chris Wailes2014-07-071-1/+1
| | | | | | | | | | | 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
* Added a new development target api.Chris Wailes2014-06-171-1/+1
| | | | Change-Id: I71a16597f2605b9323424f8d493f103519d10178
* Remove useless "return;" statements.Jean-Luc Brouillet2014-05-271-2/+2
| | | | | | More cleanups to follow... Change-Id: Ib8348255273771c1e9ff07e79bd7fbc8f2795a5b
* Fix clang compile errors.Narayan Kamath2014-03-251-2/+0
| | | | | | | Clean up several unnecessary forward declarations and private member variables. Change-Id: I5cd27a82ae222b8ee589cd279d8778ef7061a531
* am fa5209a2: am 9c459f0c: Merge "Enable emission of debugger-friendly bitcode"Jean-Baptiste Queru2012-03-011-1/+1
|\ | | | | | | | | * commit 'fa5209a2bd1e10f675a889c60d8d5a589e860d18': Enable emission of debugger-friendly bitcode
| * Enable emission of debugger-friendly bitcodemkopec12012-02-291-1/+1
| | | | | | | | | | | | | | | | | | - 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
| * Add support for generating a bitcode wrapper to llvm-rs-cc.Stephen Hines2011-12-011-0/+2
| | | | | | | | | | | | BUG=5425905 Change-Id: I42c49666c434d33f000b57db159677179ab75ca0
* | Apply changes to migrate to upstream (Nov 25th 2011).Logan Chien2011-11-251-1/+1
| | | | | | | | | | | | | | - HandleTopLevelDecl now returns bool. - Additional APValue::MemberPointer case for switching. Change-Id: Ieb7a693f96b07b7659712a3ab0abd200ce7df505
* | Add support for generating a bitcode wrapper to llvm-rs-cc.Stephen Hines2011-11-221-0/+2
|/ | | | | | BUG=5425905 Change-Id: I42c49666c434d33f000b57db159677179ab75ca0
* Apply changes to migrate to LLVM upstream Oct 20th 2011.Logan Chien2011-10-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Start basic support for LLVM 2.9 bitcode writer.Stephen Hines2011-08-261-0/+5
| | | | Change-Id: I6a54158a32e485f506f0b991f89125b8a0e60267
* Fix llvm API changes to migrate to upstream r131807.Shih-wei Liao2011-06-221-1/+0
| | | | | | | Now, llvm doesn't provide create*Passes() interface and removes StandardPasses.h. Instead, we use PassManagerBuilder to replace StandardPasses. Change-Id: I0979afd0ecb9bf2df6634aaff0a8c9a32d405f71
* Refactor pragma handling (pass everything to LLVM)Stephen Hines2011-01-181-2/+2
| | | | Change-Id: Id09d4934af06f0880cd867456218602ce9a9e2de
* Improve code style.Stephen Hines2010-11-101-7/+7
| | | | Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
* Revert "embed .rsh in llvm-rs-cc".Zonr Chang2010-10-131-1/+1
|
* Add two new APIs in HandleTranslationUnitPre and HandleTranslationUnitPost.Zonr Chang2010-10-131-4/+14
| | | | Refer to the comments in slang_backend.h for detail.
* Remove Slang::TargetDescription.Zonr Chang2010-10-131-4/+0
| | | | | | 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.
* Prepend legal announcement in all files.Zonr Chang2010-10-121-0/+16
| | | | Release libslang/llvm-rs-cc/llvm-rs-link under Apache 2.0 license.
* Provide better abstraction of class Slang.Zonr Chang2010-10-061-56/+9
| | | | | 1. Remove the Slang C APIs support (not used by any other programs.) 2. All RS relatives are now in slang_rs_*.cpp.
* More coding style fixing to improve the readability. No actual semanticszonr2010-10-051-0/+160
changed. This also makes cpplint happy.