| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
| |
Change-Id: I4721f92c10ec14a886923778595289f96d3a8de5
(cherry picked from commit 8024ed54c23c08534434da14d3be99c3efcc5754)
|
|
|
|
| |
Change-Id: I6fa2c59b1445735e2eb95deb4ac503cb9ed369ee
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I71a16597f2605b9323424f8d493f103519d10178
|
|
|
|
|
|
| |
More cleanups to follow...
Change-Id: Ib8348255273771c1e9ff07e79bd7fbc8f2795a5b
|
|
|
|
|
|
|
| |
Clean up several unnecessary forward declarations
and private member variables.
Change-Id: I5cd27a82ae222b8ee589cd279d8778ef7061a531
|
|\
| |
| |
| |
| | |
* commit 'fa5209a2bd1e10f675a889c60d8d5a589e860d18':
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
|
| |
| |
| |
| |
| |
| | |
BUG=5425905
Change-Id: I42c49666c434d33f000b57db159677179ab75ca0
|
| |
| |
| |
| |
| |
| |
| | |
- HandleTopLevelDecl now returns bool.
- Additional APValue::MemberPointer case for switching.
Change-Id: Ieb7a693f96b07b7659712a3ab0abd200ce7df505
|
|/
|
|
|
|
| |
BUG=5425905
Change-Id: I42c49666c434d33f000b57db159677179ab75ca0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I6a54158a32e485f506f0b991f89125b8a0e60267
|
|
|
|
|
|
|
| |
Now, llvm doesn't provide create*Passes() interface and removes StandardPasses.h.
Instead, we use PassManagerBuilder to replace StandardPasses.
Change-Id: I0979afd0ecb9bf2df6634aaff0a8c9a32d405f71
|
|
|
|
| |
Change-Id: Id09d4934af06f0880cd867456218602ce9a9e2de
|
|
|
|
| |
Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
|
| |
|
|
|
|
| |
Refer to the comments in slang_backend.h for detail.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Release libslang/llvm-rs-cc/llvm-rs-link under Apache 2.0 license.
|
|
|
|
|
| |
1. Remove the Slang C APIs support (not used by any other programs.)
2. All RS relatives are now in slang_rs_*.cpp.
|
|
changed. This also makes cpplint happy.
|