History log of /frameworks/compile/slang/rs_cc_options.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
670ba1d5f33d0914e63732da0c9423f8069ac313 31-Mar-2016 Stephen Hines <srhines@google.com> Use empty list initializers to construct all zero-initialized variables.

Bug: http://b/24008889

In the past, we always tried to construct appropriate full
zero-initializers for uninitialized variables that contained any RS
object types (like rs_allocation) or any RS matrix types. For some
structures containing rs_matrix* types, we would insert an initializer
that uses just a single raw 0. While this is almost correct, it leads to
an invalid AST (that Clang is still happy to do the right thing with, for
now). Instead, we can rely on a supported extension that allows
zero-initialization with empty initializer lists (like in C++11, but for
older versions of C too). Switching to the empty list allows us to
remove a particularly tricky (and incomplete) section of code.

(cherry picked from commit d9ed6b51a3fe997aefdcd360f8bfc40b17c9ab91)

Change-Id: I241acdc3ce1740306c9f9d7fd37669c58909d582
/frameworks/compile/slang/rs_cc_options.cpp
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/rs_cc_options.cpp
460cb4bae3cd621fc8ce615a60d6b194d5532bc3 15-Aug-2015 Stephen Hines <srhines@google.com> Merge "Update Slang for LLVM rebase to r239765"
3fe4027f9acbc5047f8e7ca8f1575e3a6af76cf8 06-Aug-2015 David Gross <dgross@google.com> Merge "Enhance diagnostic options."
2770d0e31ef3b14cd51ca07273240ad0995dc5cd 03-Aug-2015 David Gross <dgross@google.com> Enhance diagnostic options.

- Support -m32/-m64 for non-cpp, if eng build.

- Add -ast-print option.

- Add options -debug, -print-before-all, -print-after-all (passthrough to LLVM).

Change-Id: I609750bd49a624d74f91666ef3f8c77ef711ff32
/frameworks/compile/slang/rs_cc_options.cpp
21c94c9b4cc3c139c0d2c08f81e773aa3e269cff 23-Jul-2015 Ying Wang <wangying@google.com> Add "-MP" support to llvm-rs-cc.

Bug: 22666539
Change-Id: I2888b58abc4644040fe9525b1ee24ae46cde480d
/frameworks/compile/slang/rs_cc_options.cpp
1906a00dce8e32fe3bb8a957e333ebbbee0888e3 29-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Update Slang for LLVM rebase to r239765

Change-Id: I397b780af624f4a78382e9ec74e58e038aa9d2dc
/frameworks/compile/slang/rs_cc_options.cpp
5309b0cbeda2c75eedf6627e06f4471c77f98f83 02-May-2015 Jean-Luc Brouillet <jeanluc@google.com> Enable warnings in llvm_rs_cc

- Fixed a bug that prevented llvm_rs_cc from emitting many warnings.
- Add support so that we can do Wno-error (needed to avoid deprecation warnings
from breaking the build).
- Add test to verify deprecated warning works.
- Simplified slang top level to clean up handling of 32/64 bit compilation handling.

Change-Id: Ibacfa7d3d9708cb39a33b71da9621aee2718f758
/frameworks/compile/slang/rs_cc_options.cpp
5984fc03b6189f19f3721423b92469e4908a49ef 10-Sep-2014 Stephen Hines <srhines@google.com> Emit 32/64-bit bitcode appropriately for C++ reflection.

Bug: 17417839

This change adds proper handling of C++ reflection for the -m32/-m64
command line arguments. Only one type of bitcode will be emitted.

Change-Id: Ic52812b0fc7836eefbe8b6837272124d69b50182
/frameworks/compile/slang/rs_cc_options.cpp
dd22d5ca3040cda08cd5702f9d0872c2db8da22f 15-Aug-2014 Stephen Hines <srhines@google.com> Emit both 32-bit and 64-bit bitcode for target API >= 21.

Bug: 16031597

Change-Id: I4e3437c2efcdb6102e805617b00720d04b897dc9
/frameworks/compile/slang/rs_cc_options.cpp
7ac9d0de26d325071ad3f26f8d34514efca2d3d6 16-Jul-2014 Stephen Hines <srhines@google.com> Update slang for LLVM rebase to r212749.

Change-Id: I5819f9df3212ffcfa8f34c11d3cea29f1fd04878
/frameworks/compile/slang/rs_cc_options.cpp
9ae18b2bbee0b08afd400542e863dd665ff76059 11-Jun-2014 Stephen Hines <srhines@google.com> Add an option to emit 32-bit and 64-bit bitcode.

Bug: 16031597

Change-Id: Ifb3c4eca5e7ae16106260c2b5f5da6854c021a3a
/frameworks/compile/slang/rs_cc_options.cpp
c9454afec1649846512993d0ef65a9f868976bb4 14-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to Slang.

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
/frameworks/compile/slang/rs_cc_options.cpp
fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0 11-Jun-2014 Stephen Hines <srhines@google.com> Add -v (-verbose/--verbose) option to llvm-rs-cc.

This change also suppresses the display of "Generating Script*." output by
default.

Change-Id: I034a3ba20acf64e1eb9ecc02133edb03b643d559
/frameworks/compile/slang/rs_cc_options.cpp
7f5704efe0c59d5599f1ac7056976225dbfab946 11-Jun-2014 Stephen Hines <srhines@google.com> Clean up more of the RSCCOptions class.

Pass a bunch of arguments using the class directly. Move the documentation
next to the actual option declarations, rather than as part of a huge call
to "compile()". Convert from bitfields to bool.

Change-Id: I666dea469717f1f0ae59e0220a6146c96fc0fb7c
/frameworks/compile/slang/rs_cc_options.cpp
8b5c5c6566078d49c4dcd8d8c7a6364c33c09037 07-Jun-2014 Stephen Hines <srhines@google.com> Separate out option processing from llvm-rs-cc.cpp.

Change-Id: I8abcc6d91820d8e6963f6579a5c6bbb95d6e2c7c
/frameworks/compile/slang/rs_cc_options.cpp