History log of /frameworks/compile/libbcc/bcinfo/tools/main.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a48ea364652efcf947dd33c8a6ba893e9c00dd6a 02-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation.

Bug: 27298560
Change-Id: Id826426fc81458ad66118bf7b2059a7a6f02a047
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
8e9089377848628813a697b972773e969b942c3b 07-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for LLVM rebase to r256229

http://b/26987366

(cherry picked from commit f229c40f0d2da19985e68955aef1a06ce4121e63)

Change-Id: I3d89bb15d0c3e7d64f74656365ed1d472e7de4c7
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
79e1a05f704ada1bb12749fe3f8b9b69309be9e5 11-Jan-2016 David Gross <dgross@google.com> Metadata support for general reduction.

Needs corresponding change in frameworks/rs: The driver and bcinfo
need to remain precisely in sync with regard to metadata format in
order for RenderScript to work at all.

Also fixed memory leak in MetadataExtractor.

Bug: 23535724
Change-Id: I6857f605c79139bdce362a7aeef73c91fc502ff6
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
1895ac12bda8ebb1097dd3336e0919e2f08cbc4a 17-Jul-2015 Matt Wala <wala@google.com> libbcc: Add support for reduce kernel metadata.

Bug: 22631253

This change implements recognizing the #rs_export_reduce metadata
node for reduce-style kernels in libbcc and bcinfo.

Change-Id: I5323f607f7ac474d0f7b79486a2bbe900680e330
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
33cda5cf335afc6aa2dbe02062bc9e6649e1f87c 30-Jan-2015 David Gross <dgross@google.com> Backend support for new special kernel params ctxt and z.

Also:
- Modify bcinfo dump to show signature metadata in hex instead of dec.
- Teach LLVM pass manager about (existing) "foreachexp" pass.
- Create MetadataSignatureBitval symbolic names for use by libbcc and slang.

Bug: 18964628

Change-Id: I1737ee0476b2005ec87f30473bbfa35aed5ded38
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
579361346abc6696c805e3904a18178ebce4e4a3 26-Nov-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r222494.

Change-Id: Idebd60a98bbe62007086386e5497d1df7d901e3d
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
4cb4c555b4d339644fe9d13cdc45093721d0896e 07-Nov-2014 Stephen Hines <srhines@google.com> Fix format-string-related warnings for size of various types.
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
288ad8e7a4e1ef9be741290af39eaeabec1ff21c 06-Nov-2014 Stephen Hines <srhines@google.com> Revert "Fix format-string-related warnings for size of various types."

This reverts commit 4418cf185eac9e82ba912e3f5ee3b80d518bf3da.

Change-Id: Iff80917cddc3a240d9fffa5d23cb2d67c1413da3
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
4418cf185eac9e82ba912e3f5ee3b80d518bf3da 05-Nov-2014 Stephen Hines <srhines@google.com> Fix format-string-related warnings for size of various types.

Change-Id: Iac94c2925919c729810d842f4251fbe90304fb84
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
900c6c1f08f7c572125d7d39abe0f0f9eafbfa14 14-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: Id2311cda59dd42c74b3ed54d3ff6cfd509012738
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
dab475081c6e43342782980b87ab584d5412c1f1 25-Jul-2014 Stephen Hines <srhines@google.com> Merge "Add support for extracting input counts from bitcode files."
4566d155a7e7ae122986c8e11f40dd1c43fea312 24-Jul-2014 Stephen Hines <srhines@google.com> Merge "Update libbcc for LLVM rebase to r212749."
d0993af5b1337f8186dd9aedea2e138a919e02e9 16-Jul-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r212749.

Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
a668182c61d2f3079416317b6c2914428a6a4c7a 12-Jul-2014 Chris Wailes <chriswailes@google.com> Add support for extracting input counts from bitcode files.

This patch adds functionality to the MetadataExtractor to calculate the number
of inputs that a kernel expects and store them in the
mExportForEachInputcountList member variable, accessable through
getExportForEachInputCountList().

Change-Id: I10516d15595cdc1f2301059619c29e62a05f3638
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
5f2e6b9bc70956fc30a9a6d1679f587e4a729884 08-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Deprecate rs_fp_imprecise.

If rs_fp_imprecise is specified, issue a warning and
use rs_fp_relaxed instead.

Change-Id: I054fa32128bda60a6d22a0a6a590cd9f3575a2ca
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
a630078b32eb37a8de91ae09e26babf235d4fc9f 29-May-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM 3.5 rebase (r209713).

Change-Id: I0e882c84176d462958db05e4c9c10bfe995b8ed1
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
c2074caf075818abb6d3689ad924ca09f4a5ba1f 09-Apr-2014 Tim Murray <timmurray@google.com> Update libbcc for 64-bit support.

Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
b10c3a7d91556ef31ce91ef018fee4722b783960 08-Aug-2013 Stephen Hines <srhines@google.com> Update libbcc for LLVM merge to r187914.

Switch over to new llvm::sys::path implementation.
Remove unused Source::CreateFromFd().
F_Binary is now in llvm::sys::fs.

Change-Id: Ib0ebb8a1d8ea04e5cf36c8082cf31dab2e144554
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
b730e239619a546d93e5926ea92d698ab77ec7f6 10-Jan-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r171906 on 20130108.

Change-Id: I096cb90103b19e3110ea562d60e5eb8ad48d9b67
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
3ffc8330d765599e357197883f72c01bd43837c8 29-Aug-2012 Stephen Hines <srhines@google.com> Add support for generating .bcinfo files to bcinfo.

This allows us to use "bcinfo -i <foo.bc>" to create foo.bcinfo, which is a
simple text file containing relevant metadata for the RS support library to
parse.

Change-Id: Idf756fc9104b0998da31be6e383300fcd3f03cad
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
e126b62760b4bf115cfed162f0234e4e722011df 01-Jun-2012 Stephen Hines <srhines@google.com> Emit translated bitcode directly from bcinfo.

Change-Id: I6ccbdef189898668f1e60cac429307d83c655463
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
e1fd804a58c0ed67c75566c784d0b20d81e97ada 27-Mar-2012 Stephen Hines <srhines@google.com> Parse pragmas for floating point precision requirements.

BUG=4540719

Change-Id: Ice57a87f2f2cce3a641a4183b5f0bd8dc1ac0585
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
e9c850f5d85f3aa31b6e841478ea52e82d76c261 21-Mar-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 6ec896af to master

Change-Id: I2b179d8b637df5e71c3018df50b7a3cc1fd2367f
7cd4c49d575478b2380f129dcd376a4e5e37939c 14-Mar-2012 Stephen Hines <srhines@google.com> Update support for BitcodeWrapper using BitcodeWrapperer.

This change uses a common helper library created for PNaCl, and adapts it
for use with Android. We also add some new fields to the wrapper for the
offline compiler version used to generate the bitcode.

Change-Id: I04c4ee20b7b09a68a35cdda1891616ee482a0072
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
569986da116ed602c752395f9563260db38f6945 10-Mar-2012 Stephen Hines <srhines@google.com> Switch libbcc to start using MetadataExtractor.

BUG=6051742

This reduces code duplication, and makes us a client of our own helper library.
It also helps to fix a potential issue that can come up with older bitcode
containing only ForEach signatures and not names (something that was fixed in
MetadataExtractor, but not libbcc). We no longer look at metadata nodes at all
from libbcc.

Change-Id: I5cdacec82e4cd164f1aec5aa28a5e82feb9cfc15
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
e0918ac3cd6070c084b76d737af055e88a7679db 02-Mar-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of 7c75d915 to master

Change-Id: I25c1dc90af679e2463abffd33ee8838b4727396f
094881f513ab366f7ffd0b2c7778ab50281ca59e 14-Dec-2011 Daniel Malea <daniel.malea@intel.com> Enable debugging of RS code under GDB

- Add/integrate GDBJITRegistrar support class for interfacing with GDB
-- Once the GDBJITRegistrar is merged into LLVM trunk (and AOSP upgrades LLVM)
all files GDB* should be removed, and replaced with appropriate includes

- Basic [host|target]-side integration tests
-- host-tests: use bcc driver and clang to verify gdb output
-- target-tests: run skeleton apk on target and verify gdb output

- Add support for optimization_level metadata in bcinfo, libbcc
-- Disabled some LTO passes when optimization_level = 0
-- move register allocator registration after metadata inspection

- Initial version of android-commands.py GDB plugin (for test infrastructure)
-- relevant commands: load-android-app, run-android-app, start-android-app
-- tested versions: gdb (7.2, 7.3), python (2.6, 2.7)

- build 'bcc' driver tool by default in eng builds

Change-Id: I99e0c11c8591c6d911632c1dcc82dd8fbe1244a8
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
cc366e573e31f43a6101fd6e04b90c6afdc3b7a7 22-Feb-2012 Stephen Hines <srhines@google.com> Support ForEachExpand on non-root functions.

BUG=6000538

Change-Id: I36e78ced0715b060af0938f1480df240cf6ba707
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
04261e0bf97b15033efd697bd0e4cfbae7107f4b 22-Jan-2012 Stephen Hines <srhines@google.com> Update bcinfo to do automatic translation.

Change-Id: Iab7ffc91a218f9842630456fd74ac4d756dbffd5
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
33f8fe2bfafe00ad2c74e4590ffdd0bcfc5eb31d 17-Aug-2011 Stephen Hines <srhines@google.com> Support ForEach info in MetadataExtractor.

BUG=5076887

Change-Id: Icfe1aebbc620df750279af19d10a624c4c760430
/frameworks/compile/libbcc/bcinfo/tools/main.cpp
932bc6e35bcef7adff05d890a9dcc7212426fb6a 28-Jul-2011 Stephen Hines <srhines@google.com> Provide legacy bitcode translation mechanism.

BUG=4942491

Change-Id: I73e96ef7f27bbaa8740cad70a4b93a1e5137e87b
/frameworks/compile/libbcc/bcinfo/tools/main.cpp