• Home
  • History
  • Annotate
  • only in /frameworks/compile/libbcc/include/bcinfo/
History log of /frameworks/compile/libbcc/include/bcinfo/
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
etadataExtractor.h
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
etadataExtractor.h
fff398dc41bb579c7ad668387eebf9e3e972aeca 25-Nov-2015 Dean De Leo <dean@codeplay.com> Deduce whether the module contains debug info.

Add functionality to the MetadataExtractor to deduce whether the
module contains debug info. This method will be used to deduce
whether we should link with a special runtime library with debug
information.

Change-Id: I8ebe8c465c785adfb2b24864714e654f49c12c6d
etadataExtractor.h
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
etadataExtractor.h
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
etadataExtractor.h
0947923cf0ae67d85e068877bd13aa4a6c9d6dd4 02-Apr-2015 Stephen Hines <srhines@google.com> Add MetadataExtractor::getTargetAPI().

This information was previously only available to the wrapper/translator,
but would also be useful to provide to the driver/runtime.

Change-Id: Ia3f1331730b526488632d05091917d1540be125d
etadataExtractor.h
3b43c366c17620e35c6a4395a13b41ca3e977596 10-Mar-2015 David Gross <dgross@google.com> Merge "Backend support for new special kernel params ctxt and z."
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
etadataExtractor.h
51ee77bd31e7d8ca6c89e37b5806c8fc2afcf0dc 20-Feb-2015 Pirama Arumuga Nainar <pirama@google.com> Add a -build-checksum flag to bcc

bug 19216507

Add a flag to bcc to pass a build checksum. The checksum is passed to
RSEmbedInfo pass via LLVM metadata.

The old checksum path is tied to RSInfo. Removing this path can be done
along with RSInfo removal.

Change-Id: I3f21c96ddcfe42c16754fbb7749a72595f90964d
etadataExtractor.h
7de5fde8091a0fb32cc1cc531ec7401fbfb29986 27-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Make isThreadable const

Missed Steve's comment in
https://android-review.googlesource.com/#/c/125872/ to make this
function 'const'.

Change-Id: I9c43a3c850b35a0da1f98841d8a788aca34a567b
etadataExtractor.h
9fe081b8bae8a95d903f8fa8dc0a7590ae706606 27-Jan-2015 Pirama Arumuga Nainar <pirama@google.com> Mark whether a script is threadable

bug 19095896

Add a pass to check for calls to non-threadable functions. We add a
metadata flag to store the result. RSEmbedInfo also adds this
information to .rs.info.

Change-Id: Iba9a41b338d21a3529a1092656a51be985910fca
etadataExtractor.h
900c6c1f08f7c572125d7d39abe0f0f9eafbfa14 14-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: Id2311cda59dd42c74b3ed54d3ff6cfd509012738
rap/bitcode_wrapperer.h
dab475081c6e43342782980b87ab584d5412c1f1 25-Jul-2014 Stephen Hines <srhines@google.com> Merge "Add support for extracting input counts from bitcode files."
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
etadataExtractor.h
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
etadataExtractor.h
d88177580db4ddedf680854c51db333c97eabc59 03-Aug-2013 Stephen Hines <srhines@google.com> Decode RenderScript kernel signatures using bcinfo::MetadataExtractor.

Change-Id: I9472d0c36e23a1e0d583fc823c986ee7a1bb05ed
etadataExtractor.h
0a04898a5ecb4a695e2365942e734038021d5e85 14-Aug-2012 Tareq A. Siraj <tareq.a.siraj@intel.com> Removed unused private member variable.

This was causing the build to fail because of -Werror.

Change-Id: I028342d9c566e0089b137a46ef6bb4f2d9e77c4d
Author: Tareq A. Siraj <tareq.a.siraj@intel.com>
Reviewed-by: Ariel Bernal <ariel.j.bernal@intel.com>
itcodeWrapper.h
5f3417f80b84fb809f6be282455a9db76fceaa53 28-Mar-2012 Stephen Hines <srhines@google.com> am 44f4eb29: am 03cfe0e3: Merge "Check infile arguments for BitcodeWrapperer."

* commit '44f4eb292b2b9aebb50cceb7b42f7a77fb3808b3':
Check infile arguments for BitcodeWrapperer.
a7e5c8f85434e9b8cb0637da302135ba2e2976f5 28-Mar-2012 Stephen Hines <srhines@google.com> resolved conflicts for merge of f46fa664 to master

Change-Id: I073ac3c0f95b3da9567e54c1fc8e8b1b0d69e33f
03cfe0e30d65d6e2ecbe6282cec4b20d3be690cc 28-Mar-2012 Stephen Hines <srhines@google.com> Merge "Check infile arguments for BitcodeWrapperer."
e1fd804a58c0ed67c75566c784d0b20d81e97ada 27-Mar-2012 Stephen Hines <srhines@google.com> Parse pragmas for floating point precision requirements.

BUG=4540719

Change-Id: Ice57a87f2f2cce3a641a4183b5f0bd8dc1ac0585
etadataExtractor.h
1ad35fbd78f6965bb59572e1cf6a2223ee767c57 26-Mar-2012 Stephen Hines <srhines@google.com> Check infile arguments for BitcodeWrapperer.

It would be better to use a const reference for infile, but unfortunately, we
must mutate it during the lifetime of BitcodeWrapperer - Seek() is the
primary issue here. Since we don't want to use a non-const reference, we
instead insert appropriate NULL checks into the various functions where
infile is used.

Change-Id: Ic408c9dba684b57237cc8e29fff61c103161f7b3
rap/bitcode_wrapperer.h
b67c9e7a28cb734c1d62d835c33dedbe45074356 22-Mar-2012 Stephen Hines <srhines@google.com> Switch optimization level from metadata to bitcode wrapper.

Change-Id: Ieb547d38f2ad1c84af30717da9172d0ac928e52d
etadataExtractor.h
f534c384332d07f55499e5a380128ef2efe63fe2 22-Mar-2012 Stephen Hines <srhines@google.com> am ea8f8a79: am 381a3651: Merge "Work around buggy toolchains."

* commit 'ea8f8a795b61a716d71289cc2f38ab373e82dd73':
Work around buggy toolchains.
26218cebf31dd9d0ec3c677fec91e1847a87a6d2 22-Mar-2012 Stephen Hines <srhines@google.com> Work around buggy toolchains.

Change-Id: I93756929c3910249c7aa4ff33d28fa3331b8af92
rap/BCHeaderField.h
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
itcodeWrapper.h
rap/BCHeaderField.h
rap/bitcode_wrapperer.h
rap/file_wrapper_input.h
rap/file_wrapper_output.h
rap/in_memory_wrapper_input.h
rap/support_macros.h
rap/wrapper_input.h
rap/wrapper_output.h
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
etadataExtractor.h
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
etadataExtractor.h
cc366e573e31f43a6101fd6e04b90c6afdc3b7a7 22-Feb-2012 Stephen Hines <srhines@google.com> Support ForEachExpand on non-root functions.

BUG=6000538

Change-Id: I36e78ced0715b060af0938f1480df240cf6ba707
etadataExtractor.h
0164f4647511a71f5b495a3bef156e3ac4e6c6b3 23-Nov-2011 Stephen Hines <srhines@google.com> Add support for handling a bitcode wrapper to bcinfo.

BUG=5425905

Change-Id: I9902bc89bef221e86dfc904d6935ef2c2091de33
itcodeWrapper.h
825b9aed7c01b050b2ee474327458b8958a28f39 23-Nov-2011 Stephen Hines <srhines@google.com> Add support for handling a bitcode wrapper to bcinfo.

BUG=5425905

Change-Id: I9902bc89bef221e86dfc904d6935ef2c2091de33
itcodeWrapper.h
33f8fe2bfafe00ad2c74e4590ffdd0bcfc5eb31d 17-Aug-2011 Stephen Hines <srhines@google.com> Support ForEach info in MetadataExtractor.

BUG=5076887

Change-Id: Icfe1aebbc620df750279af19d10a624c4c760430
etadataExtractor.h
932bc6e35bcef7adff05d890a9dcc7212426fb6a 28-Jul-2011 Stephen Hines <srhines@google.com> Provide legacy bitcode translation mechanism.

BUG=4942491

Change-Id: I73e96ef7f27bbaa8740cad70a4b93a1e5137e87b
itcodeTranslator.h
etadataExtractor.h
cinfo.h
150a70be696f5a93446bb0c5da558699103520e6 19-Jul-2011 Stephen Hines <srhines@google.com> Extract BC metadata using a single call via bcinfo.

BUG=4278636

Change-Id: I0f60d134e5e9209996b6bcf5f541d5497d7f2665
cinfo.h