summaryrefslogtreecommitdiffstats
path: root/bcinfo
AgeCommit message (Collapse)AuthorFilesLines
2014-09-30Switch from __do_message -> std::error_category.Stephen Hines2-4/+4
Bug: 14416410 The original class is just an implementation detail of libc++, and not something we can depend on for other C++11 implementations (like mingw). Change-Id: Ief34ff97c3877fed428998aff9d42a3f0634a6aa
2014-08-07Exclude only modules with prebuilt in prebuilts/sdk.Ying Wang1-3/+3
So we can do tapas build in the full platform source tree. Change-Id: I9bf8bcd61c9c9883a4ac7c94f2bc8db5025d59f0 (cherry picked from commit 1819690a18a6a122cd85dc8d0ef1004f08d3f3a0)
2014-07-25Update libbcc for LLVM rebase to r212749.Stephen Hines7-217/+220
Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
2014-07-16Deprecate rs_fp_imprecise.Jean-Luc Brouillet2-25/+16
If rs_fp_imprecise is specified, issue a warning and use rs_fp_relaxed instead. Change-Id: I054fa32128bda60a6d22a0a6a590cd9f3575a2ca
2014-06-30Adds support for multi-input kernels to libbcc.Chris Wailes1-7/+9
This patch modifies libbcc in the following ways: * Adjusted the data-layout of the LLVM version of RsForEachStubParamStruct to accommodate a pointer to an array of input allocations and a pointer to an array of stride sizes for each of these allocations. * Changed how some LLVM values are stored in ExpandKernel. * Causes expanded multi-input kernels to extract input allocation base pointers from a field in the param strcut and load values from these allocations appropriately. * Causes expanded multi-input kernels to use the provided dynamic input stride sizes if no appropriate static type information is present. * Modified bitinfo to support a new development API target which is used to version gate support for multi-input kernels. Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
2014-06-05Remove unnecessary stlport dependency.Stephen Hines1-1/+1
Change-Id: Ie0ae94c514ab63fae52d3c66a93fde9bdba30757
2014-05-30Update libbcc for LLVM 3.5 rebase (r209713).Stephen Hines3-8/+81
Change-Id: I0e882c84176d462958db05e4c9c10bfe995b8ed1
2014-05-13Switch to use rs_version.mk for consistency.Stephen Hines3-12/+5
Change-Id: Ia19bb2f56653b10741d8b508c3dc3f93ce1c1495
2014-04-23Update libbcc for 64-bit support.Tim Murray8-98/+89
Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
2014-04-07Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.Tim Murray4-0/+8
Change-Id: Iaad7b2ea8eea6c89c1c1a3d0e145bbb7bf60c6b9
2014-03-13Fix build with new host toolchainAndrew Hsieh1-1/+1
bcinfo links -lbcinfo which needs libpthread.so. HOST_TOOLCHAIN_PREFIX=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux- mm external/llvm/lib/Support/Mutex.cpp:53: error: undefined reference to 'pthread_mutexattr_init' external/llvm/lib/Support/Mutex.cpp:59: error: undefined reference to 'pthread_mutexattr_settype' ... Change-Id: Idd45ef3c28f9210d494bc0499a3934cf74a4220e
2014-02-19Update libbcc for LLVM 3.4 rebase.Stephen Hines4-702/+930
Convert all bitcode readers to use error_code instead of bool + char* for status returns. Remove LinkOnceODRAutoHideLinkage, since it is now just a special case of LinkOnceODRLinkage. Handle the PassManager -> legacy::PassManager transition. Change-Id: I33f0fe1c95436d35d02bc3f1b19b268f25f149d1
2014-02-06libbcc: convert makefiles to support multilib buildColin Cross1-7/+7
Convert makefiles to allow for building two architectures at the same time. Change-Id: I13cba3766a658e332a5223ce357878b25ba8ecec
2014-02-05[MIPS64] Temporary placeholder build, to allow other projects to buildDuane Sand1-3/+5
Change-Id: Ieec80cb2828eb3a95f08f67c0f62281ba5a891ec
2014-01-23frameworks/compile/libbcc: rename aarch64 target to arm64Colin Cross1-3/+3
Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
2013-12-19AArch64: Temporarily disable AArch64 buildAshok Bhat1-0/+5
This patch will disable AArch64 build of libbcc projects and get us going with the build of other projects. Needs to be reverted once proper AArch64 port is integrated into the AOSP. Change-Id: I5f66b6398465de4d4b27563f800ad08d48aa52fc Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-08-09Update libbcc for LLVM merge to r187914.Stephen Hines1-1/+1
Switch over to new llvm::sys::path implementation. Remove unused Source::CreateFromFd(). F_Binary is now in llvm::sys::fs. Change-Id: Ib0ebb8a1d8ea04e5cf36c8082cf31dab2e144554
2013-08-07am a08768d4: am 48cd7454: Fix Windows build issues for libbcc.Stephen Hines1-0/+2
* commit 'a08768d46fa5e3087d0fbd288366c53495ee2773': Fix Windows build issues for libbcc.
2013-07-31Fix Windows build issues for libbcc.Stephen Hines1-0/+2
Add unimplemented versions of dlfcn.h functions. Remove OutputFile::CreateTemporary(), since it is unused. Remove unnecessary includes to prevent issues with missing libraries. Change-Id: I74bea72c8f174843e61faa8cac8bd6ae429a1bc0
2013-06-21Switch BitcodeTranslator to emit LLVM 3.2-compatible bitcode.Stephen Hines2-3/+10
This path uses the LLVM 3.2 BitcodeWriter present for the llvm-rs-cc frontend. Change-Id: I5dcbc9cc33e72d84cbd0e477966d9b53f3515c99
2013-06-13Update libbcc for LLVM merge to r183849.Stephen Hines2-2/+2
Remove unused param to readBytes(). Path.h -> PathV1.h Remove ability to load/run files from bcc tool. Change-Id: I07d735fb86638412f01c4f8285d56f45ca35b672
2013-06-07Only generate fake root signature for ancient compilers.Stephen Hines1-1/+1
In the case where we actually have a non-zero compiler version, the metadata provided will have the proper information about root(). The bug here is that sometimes a graphics root() function will end up looking like a compute root() function (specified with attribute kernel). Change-Id: I49eb1d555a41552e1345badd5c2001807feeea9b
2013-05-22bcinfo: Don't call property_get on hostNick Kralevich1-0/+4
Accessing system properties only makes sense on the target, not on the host. This change is needed to remove host support for properties. Change-Id: I41080ec330da4d7df632cd55d3eff0528bb5b58d
2013-04-09Add liblogYing Wang1-2/+2
Bug: 8580410 Change-Id: I07783cf4c8b5520e2f3db2e79a584f27b05b84b1
2013-03-04Updates for LLVM merge to r176139.Stephen Hines4-559/+660
Change-Id: I360ca25d87eb0799ce39c7612acf34d0b02fb7c1
2013-02-28Build with libLLVM.so instead of static libraries.Stephen Hines1-6/+2
Change-Id: I20f94f3930aea01fda96999b5b829b1a47f4bded
2013-02-27Move host dependencies to libLLVM.so instead of static libs.Stephen Hines1-5/+6
Change-Id: I8f43aa5aa42fe54979f26ed4d0fcb3f683ff2aa2
2013-02-06Don't build libbcc/libbcinfo in unbundled branches.Tim Murray1-0/+5
Change-Id: Ifd088e9d26b10cd75b219b623d1a027623b871c4
2013-01-21Updates for LLVM merge to r171906 on 20130108.Stephen Hines9-155/+161
Change-Id: I096cb90103b19e3110ea562d60e5eb8ad48d9b67
2012-09-05Merge "Fix up libbcc for LLVM upstream merge to r162314." into jb-mr1-devStephen Hines2-2/+2
2012-08-29Add support for generating .bcinfo files to bcinfo.Stephen Hines1-33/+103
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
2012-08-23Fix up libbcc for LLVM upstream merge to r162314.Stephen Hines2-2/+2
Change-Id: I0779cc0d80aedf948fe31a1a5f581c9712350753
2012-08-23am 655dc2b8: am a5868783: Merge "Removed unused private member variable."Stephen Hines1-1/+1
* commit '655dc2b88d8bbac6b276c0ae97b217c2bb87b944': Removed unused private member variable.
2012-08-22Removed unused private member variable.Tareq A. Siraj1-1/+1
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>
2012-08-17resolved conflicts for merge of 5836d3b3 to jb-mr1-devJoe Onorato1-2/+0
Change-Id: I9e55eac53acf84e7fe5fddf860b4c5c267ef7b28
2012-08-15host modules don't need LOCAL_MODULE_TAGSJoe Onorato1-2/+0
Change-Id: Ia060c80e3292b3746ac3baf38f04a7c5d92bae91
2012-08-02Apply changes to migrate to LLVM-160668-20120724.Shih-wei Liao2-11/+33
Change-Id: I515f90ff6b7222f9e69481c21a10173e1b0b40d2
2012-07-20Merge "Add a property for overriding FP precision."Stephen Hines1-0/+22
2012-07-20Emit translated bitcode directly from bcinfo.Stephen Hines2-19/+79
Change-Id: I6ccbdef189898668f1e60cac429307d83c655463
2012-07-20Add a property for overriding FP precision.Stephen Hines1-0/+22
adb shell setprop debug.rs.precision rs_fp_full adb shell setprop debug.rs.precision rs_fp_relaxed adb shell setprop debug.rs.precision rs_fp_imprecise Change-Id: Ic7dcba631aeab1046ce928fe8b09122747939870
2012-06-07am e52f0466: am 3e4cac48: Fix mac build breakage.Stephen Hines1-1/+1
* commit 'e52f0466fddc264f14de64bf80003f2efffdac4f': Fix mac build breakage.
2012-06-07Fix mac build breakage.android-cts-4.1_r1Stephen Hines1-1/+1
Change-Id: Iea3d587d6975200c3680af2cc2ba53965ad249b3
2012-06-06Fix subtle bug with legacy bitcode files + forEach signatures.Stephen Hines1-7/+23
BUG=6620727 Change-Id: Id0cae36722a71cb89126c0cc6009c772ea90df1e
2012-06-06Fix subtle bug with legacy bitcode files + forEach signatures.Stephen Hines1-7/+23
BUG=6620727 Change-Id: Id0cae36722a71cb89126c0cc6009c772ea90df1e
2012-06-01Add a property for overriding FP precision.Stephen Hines1-0/+22
adb shell setprop debug.rs.precision rs_fp_full adb shell setprop debug.rs.precision rs_fp_relaxed adb shell setprop debug.rs.precision rs_fp_imprecise Change-Id: Ic7dcba631aeab1046ce928fe8b09122747939870
2012-05-31Emit translated bitcode directly from bcinfo.Stephen Hines2-19/+79
Change-Id: I6ccbdef189898668f1e60cac429307d83c655463
2012-05-03Update to new llvm::MemoryBuffer::getMemBuffer() interface.Stephen Hines2-2/+2
The latest version of this function checks whether the incoming buffer is NULL-terminated. In the case of bitcode, this is not true, so we need to pass additional arguments to the function to ensure that the assert doesn't trip. Change-Id: Iaab9bdea67387dfaa88dde1f408cfcf654a741af
2012-04-06Fix missing initializer in MetadataExtractor constructor.Stephen Hines1-1/+2
BUG=4540719 Change-Id: I21472c51134b14c55b2408bb0ab3a4e9707a48e4
2012-03-28am 44f4eb29: am 03cfe0e3: Merge "Check infile arguments for BitcodeWrapperer."Stephen Hines1-1/+6
* commit '44f4eb292b2b9aebb50cceb7b42f7a77fb3808b3': Check infile arguments for BitcodeWrapperer.
2012-03-28resolved conflicts for merge of f46fa664 to masterStephen Hines2-16/+11
Change-Id: I073ac3c0f95b3da9567e54c1fc8e8b1b0d69e33f