History log of /frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
376dc03c6bb42050ddd8a56d1a3e3c6f5d6f6e1d 23-Aug-2012 Stephen Hines <srhines@google.com> Fix up slang for LLVM upstream merge to r162314.

Change-Id: Id3471daa7eee87c19c46dab8ffd972d52183440a
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
dbfe3fabb0b82d9c73e4a48a0bc3ebb6a9cda593 06-Aug-2012 Shih-wei Liao <sliao@google.com> Expand case range values for legacy BitcodeWriter.

Change-Id: I8a9319c751c37f42d90476fd8de213a9a10bd07d
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
db37c900ebe6f0ae62a1f77327dd9e5a469ff11e 13-Jul-2012 Stephen Hines <srhines@google.com> Fix ConstantDataSequential bitcode encoding issue.

BUG=6806165

This resolves the issue with ConstantDataSequential being emitted incorrectly
for legacy bitcode formats that we support.

Change-Id: Ibb76e6b3e55cb80f2224bc77957c123cd1fcb287
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
9937d116e09feb32d46a4c76eca1be6afcd3bed5 13-Jul-2012 Stephen Hines <srhines@google.com> Place each ValueEnumerator in its own namespace.

Without this change, we are actually picking up llvm::ValueEnumerator, which
is improper for our specialized writers.

Change-Id: I95990f592524293ce40092e069437febc5b2c49a
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
0444de0c0e7cfc8d8f8fed6f64cd97812bdd6a41 03-Mar-2012 Stephen Hines <srhines@google.com> Adapt to upstream Clang/LLVM changes.

Change-Id: Ib81ad97246dbee060341e2690fb7f27e9e0298f4
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
ac4e18584b8768b3f68535fa5f16232e03974323 16-Dec-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to upstream (Dec 16th 2011)

- clang::ModuleLoader has changed the interface of loadModule.

- Following constants has been removed from llvm::bitc by the
upstream, so we have to define our version.

- TYPE_BLOCK_ID_OLD 10
- TYPE_SYMTAB_BLOCK_ID_OLD 13
- TYPE_CODE_STRUCT_OLD 10

- llvm::TargetMachine::createTargetMachine now takes a new
parameter for options, such as float ABI, soft float, and
no frame elimination, and etc.

Change-Id: I75e51da9d2265207060a449735342b426cedf243
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
8ec3bc862ac51f49e06bc465a6eb51871ce9d5da 22-Nov-2011 Stephen Hines <srhines@google.com> Fix bitcode function encoding error.

BUG=5650262

This error occurred because the bitcode opcode for TYPE_CODE_FUNCTION changed
from 9 to 21 in The SVN cl mentioned below.

commit 9923d389f5a3c7817a3bd603b989ef762226ba07
Author: Chad Rosier <mcrosier@apple.com>
Date: Thu Nov 3 00:14:01 2011 +0000

Remove some cruft from the BitcodeWriter, while still maintaining backward
compatibility in the BitcodeReader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143598 91177308-0d34-0410-b5e6-96231b3b80d8

Change-Id: I88ae3c65128714fbea6beb4665271c87ff552fd1
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
9207a2e495c8363606861e4f034504ec5c153dab 21-Oct-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to LLVM upstream Oct 20th 2011.

- 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
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
a546cb661a8ab70577827b8310e2b56a0773c1e1 30-Aug-2011 Stephen Hines <srhines@google.com> Support HC bitcode generation in modern llvm-rs-cc.

BUG=5206223

Change-Id: Ia1377cb13dd3f702716770e46ca4af6f7b206ef5
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp
4cc499d6e5ec602309501873449c938af61170b2 25-Aug-2011 Stephen Hines <srhines@google.com> Start basic support for LLVM 2.9 bitcode writer.

Change-Id: I6a54158a32e485f506f0b991f89125b8a0e60267
/frameworks/compile/slang/BitWriter_2_9/BitcodeWriter.cpp