History log of /external/spirv-llvm/lib/SPIRV/libSPIRV/SPIRVModule.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a4eb334c79d78bbd63feff3780572f4213f82aba 17-Nov-2016 David Gross <dgross@google.com> Fix code to avoid various compiler warnings.

Test: frameworks/rs/rsov/compiler/tests/run-lit-tests.sh

In file included from external/spirv-llvm/lib/SPIRV/Mangler/ManglingUtils.cpp:13:
external/spirv-llvm/lib/SPIRV/Mangler/ManglingUtils.h:26:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const SPIRversion getSupportedVersion(TypePrimitiveEnum t);
^~~~~~

external/spirv-llvm/lib/SPIRV/Mangler/ManglingUtils.cpp:174:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const SPIRversion getSupportedVersion(TypePrimitiveEnum t) {
^~~~~~

In file included from external/spirv-llvm/lib/SPIRV/Mangler/ManglingUtils.cpp:13:
In file included from external/spirv-llvm/lib/SPIRV/Mangler/ManglingUtils.h:16:
external/spirv-llvm/lib/SPIRV/Mangler/ParameterType.h:435:10: warning: 'SPIR::TypeVisitor' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct TypeVisitor{
^

In file included from external/spirv-llvm/lib/SPIRV/OCLTypeToSPIRV.cpp:43:
external/spirv-llvm/lib/SPIRV/OCLTypeToSPIRV.h:69:12: warning: private field 'CLVer' is not used [-Wunused-private-field]
unsigned CLVer;
^

external/spirv-llvm/lib/SPIRV/libSPIRV/SPIRVModule.cpp:305:17: warning: private field 'BoolType' is not used [-Wunused-private-field]
SPIRVTypeInt *BoolType;
^

external/spirv-llvm/lib/SPIRV/SPIRVWriter.cpp:589:8: warning: unused variable 'AddrSpc' [-Wunused-variable]
auto AddrSpc = T->getPointerAddressSpace();
^

external/spirv-llvm/lib/SPIRV/Mangler/ParameterType.h:435:10: warning: 'SPIR::TypeVisitor' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct TypeVisitor{
^

external/spirv-llvm/lib/SPIRV/SPIRVReader.cpp:1111:12: warning: unused variable 'Store' [-Wunused-variable]
auto Store = new StoreInst(I, Alloca, false, CI);
^

external/spirv-llvm/lib/SPIRV/SPIRVReader.cpp:143:1: warning: unused function 'getMDString' [-Wunused-function]
getMDString(LLVMContext *Context, const std::string& Str) {
^

external/spirv-llvm/lib/SPIRV/OCL20ToSPIRV.cpp:1083:8: warning: unused variable 'IsImg' [-Wunused-variable]
auto IsImg = isOCLImageType(CI->getArgOperand(0)->getType(), &TyName);
^

Change-Id: I4f97a0ddcd8415c1e6e37227971b7780f7089711
/external/spirv-llvm/lib/SPIRV/libSPIRV/SPIRVModule.cpp
0e839d7e9d7e5a096949e39a4c6e00670c8dee64 17-Nov-2016 I-Jui (Ray) Sung <ijsung@google.com> Converted source files of inconsistent formats to Unix

Did so by "find . -name \* -exec dos2unix {} \;"

Test: build

Change-Id: I74514445ba590e75720e00625050562309193eef
/external/spirv-llvm/lib/SPIRV/libSPIRV/SPIRVModule.cpp
c5130a58e2c3c4d66fa2b843aefadaab8cf6fb19 07-Nov-2016 Yang Ni <yangni@google.com> Clean up external/spirv-llvm

Delete duplicated LLVM code, since it is already in external/llvm.
Moved llvm/Support/SPIRV.h from include to lib/SPIRV

Change-Id: I1daaf7a5be32434b424861d89214bfa75453bb4a
/external/spirv-llvm/lib/SPIRV/libSPIRV/SPIRVModule.cpp
91585d9acd75a2bdbfd177bf56c8b9436f442152 07-Nov-2016 Yang Ni <yangni@google.com> Initial import of Khronos LLVM-SPIRV from github

URL: https://github.com/KhronosGroup/SPIRV-LLVM.git
Upstream branch khronos/spirv-3.8
Upstream commit c24897cf4f7b6e38448175219e15429dd2e7b53c
/external/spirv-llvm/lib/SPIRV/libSPIRV/SPIRVModule.cpp