summaryrefslogtreecommitdiffstats
path: root/include/bcc
AgeCommit message (Collapse)AuthorFilesLines
2014-07-25Update libbcc for LLVM rebase to r212749.Stephen Hines1-7/+6
Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
2014-07-16Deprecate rs_fp_imprecise.Jean-Luc Brouillet1-1/+0
If rs_fp_imprecise is specified, issue a warning and use rs_fp_relaxed instead. Change-Id: I054fa32128bda60a6d22a0a6a590cd9f3575a2ca
2014-06-26am e17454cf: am 17d3aed6: Merge "Use build fingerprint and compile command ↵Jean-Luc Brouillet2-17/+43
for caching." * commit 'e17454cf6ecdf4c14e9118712b63488e106b580f': Use build fingerprint and compile command for caching.
2014-06-26Use build fingerprint and compile command for caching.Jean-Luc Brouillet2-17/+43
If either of those have changed, we need to invalidate the compiled bit code. Change-Id: I9b5cdc19e29237dc7fb2ec1627a167f3f8987702
2014-06-20am 3108f9c6: am cd399bad: Merge "Change cache dependency tracking."Jean-Luc Brouillet3-92/+14
* commit '3108f9c6773c764396a644dc78eeb090c901cc5e': Change cache dependency tracking.
2014-06-19Change cache dependency tracking.Jean-Luc Brouillet3-92/+14
Remove the fix dependencies and make it depend only on the source hash. More changes coming soon to add dependencies on the Android build fingerprint and the command line used to compile. Change-Id: I8964044affccf52326ce286f879307eca79d0b24
2014-06-05am b08d77d9: am 74ced127: Merge "[MIPS64] Add missing MIPS64_CODEGEN flags"Stephen Hines1-1/+14
* commit 'b08d77d96158a84e9c8e0a51fb56e43d8f9a7a21': [MIPS64] Add missing MIPS64_CODEGEN flags
2014-06-04[MIPS64] Add missing MIPS64_CODEGEN flagsDragoslav Sicarov1-1/+14
Change-Id: I891e6a5be4e6d3949f34c26a0db0f29f31e95261
2014-05-23am 79e8a844: am b579d30a: am da0c1ea4: Merge "Separate out the symbol ↵Stephen Hines1-12/+3
resolver from RSCompilerDriver." * commit '79e8a844e119e595d3aeed024f959c97a2310e37': Separate out the symbol resolver from RSCompilerDriver.
2014-05-21Separate out the symbol resolver from RSCompilerDriver.Stephen Hines1-12/+3
This change makes compilation distinct from loading. The symbol resolvers now need to be instantiated directly by the RS driver. Change-Id: I37ce409f1b2e538d9091c025895e639a250d6466
2014-05-20am 696b5f92: am 3828eced: am 508b17d6: Merge "Remove unnecessary inheritance ↵Stephen Hines2-143/+13
for CompilerConfig, as we switch to offline bcc." * commit '696b5f921814eab4db128eb103e980c104576f0d': Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.
2014-05-16Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.Stephen Hines2-143/+13
Change-Id: Id4a5be7b2b4627bfa7ef6279eb3b5b8e75915a7d
2014-05-14am e995ae93: am 1a9b5b61: am d3493fab: Merge "Switch RSForEachExpandPass to ↵Stephen Hines1-4/+1
use MetadataExtractor." * commit 'e995ae93aa5ed062aede5df96f809cca7de3037c': Switch RSForEachExpandPass to use MetadataExtractor.
2014-05-14am f141a77c: am 16601acb: am 30bfe8cc: Merge "Switch to MetadataExtractor path."Stephen Hines1-1/+1
* commit 'f141a77cdfdda8b1e2c5ae08bfd7e795df7ffd77': Switch to MetadataExtractor path.
2014-05-14Switch RSForEachExpandPass to use MetadataExtractor.Stephen Hines1-4/+1
Change-Id: I442054e7aa2329b369f578052bd41c7a973cc822
2014-05-13Switch to MetadataExtractor path.Stephen Hines1-1/+1
Change-Id: Iabef9abb1c770ffe1e753cfd2fac808f60c19d8a
2014-05-07am 3d9f6c20: am 5d7f5ca6: am 3a9e5b35: Merge "Provide target-specific ↵Stephen Hines1-5/+6
defines for libbcc and other libraries." * commit '3d9f6c20dbed40a6b0581067536babde215ebbd0': Provide target-specific defines for libbcc and other libraries.
2014-05-07am f7c92d8b: am de089f3b: am cd3a9dca: Merge "Remove Makefile->Header code ↵Stephen Hines1-2/+0
generation from libbcc." * commit 'f7c92d8b1b8813cb49887d201c7def3b7a009c03': Remove Makefile->Header code generation from libbcc.
2014-05-07am af63dab4: am 76209885: am ef2ca310: Merge "Provide support for ARM on ↵Stephen Hines1-0/+1
AArch64 builds as well." * commit 'af63dab4f7c0135d4f9ebb4c1c0cc52bcd9d9f91': Provide support for ARM on AArch64 builds as well.
2014-05-06Provide target-specific defines for libbcc and other libraries.Stephen Hines1-5/+6
This consolidates target-specific information for libbcc/LLVM users, so that libraries can use a single makefile + header to drive compilation. Change-Id: I9c74e85c5bd469a28054948b98b63abc6b1d8a3e
2014-05-05Remove Makefile->Header code generation from libbcc.Stephen Hines1-2/+0
These variables/defines are not often used and they complicate the use of target information in other Android libraries. Change-Id: I93dc71e17ae8ece1be46a3a609639ec8380cdaf9
2014-05-05Provide support for ARM on AArch64 builds as well.Stephen Hines1-0/+1
Bug: 14474874 Change-Id: I1ff41e36c8231373aa9e55d61d9c997a1f3561e6
2014-04-30am ccb44c38: am 4c694e07: am ca48f581: Merge "Improve standalone bcc for ↵Stephen Hines1-0/+17
on-device compilation." * commit 'ccb44c3834b760b8f4a8c849cdcfe3944dd7a6f7': Improve standalone bcc for on-device compilation.
2014-04-30Improve standalone bcc for on-device compilation.Stephen Hines1-0/+17
Bug: 7342767 This adds functionality for driver-writers to dynamically load plugins. If such a plugin is loaded, we then execute any function called rsCompilerDriverInit() from it. This function can initialize any other state the driver-writer wants. Change-Id: I733a6a3fc59c429a542cfcaf59a57ad231a19d01
2014-04-25am 522c3bac: am e2dd4a0b: Merge "Update libbcc for 64-bit support."Stephen Hines3-1/+25
* commit '522c3bac0a65881e6466ffc2e1b0d54334ba8877': Update libbcc for 64-bit support.
2014-04-23Update libbcc for 64-bit support.Tim Murray3-1/+25
Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
2014-04-17am 773dab58: am 70a7671e: Merge "Change 64bit library path from /system/lib/ ↵Tim Murray1-1/+1
to /system/lib64" * commit '773dab582991cba84fb90c0e11c2c04f2104d1b8': Change 64bit library path from /system/lib/ to /system/lib64
2014-04-09Change 64bit library path from /system/lib/ to /system/lib64WeiTang1-1/+1
Change-Id: Ie2ec537bb71ca6573588bcaf893d871ba9b5c051
2014-02-19Update libbcc for LLVM 3.4 rebase.Stephen Hines1-1/+6
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-14Update libbcc for LLVM 3.4 rebase.Stephen Hines1-1/+6
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
2013-10-03am 4face7bf: resolved conflicts for merge of 8d972a6f to klp-dev-plus-aospStephen Hines1-1/+1
* commit '4face7bf943d93ee91ca94f05df2034550f318fd': Remove references/use of ARCH_X86_HAVE_*.
2013-10-03resolved conflicts for merge of 8d972a6f to klp-dev-plus-aospStephen Hines1-1/+1
Change-Id: I7d1f460a1b6de08b11b430f90c7bf2534e5cca31
2013-10-03resolved conflicts for merge of 4293770c to stage-aosp-masterStephen Hines1-1/+1
2013-10-03Remove references/use of ARCH_X86_HAVE_*.Stephen Hines1-1/+1
Bug: 11048298 These SSE-related defines are unnecessary because all x86 Android devices have these features. We switch all the checks to __i386__ instead. This also fixes an issue where non-ARM bitcode files were being created with the ARM defines present. This is problematic when we then try to do things that would be arch-specific (i.e. the presence of SSE-enabled functions for clamp(), ...). This also cleans up the different target architecture specified in the x86 bitcode files so that they match the platform target (i686-unknown-linux). Change-Id: Ibbead4aecba2c90bdbe6ff362960079cb7a9e4dc
2013-08-26DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures.Stephen Hines1-1/+4
Change-Id: I5c4c236c306e120c5aa24fbc91815cc27d7aab0f Conflicts: include/bcc/Renderscript/RSCompilerDriver.h
2013-08-26DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.Stephen Hines1-0/+15
Change-Id: I92dff2a208c821722f057dd8c26bd12a1cb5a794 Conflicts: include/bcc/Renderscript/RSCompilerDriver.h lib/Renderscript/RSCompilerDriver.cpp
2013-08-19Remove unused codeTobias Grosser1-4/+0
Change-Id: Iea9198c5ce78db933883ac4adab1332f4d2fc430
2013-08-09Update libbcc for LLVM merge to r187914.Stephen Hines1-2/+0
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-6/+0
* commit 'a08768d46fa5e3087d0fbd288366c53495ee2773': Fix Windows build issues for libbcc.
2013-07-31Fix Windows build issues for libbcc.Stephen Hines1-6/+0
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-07-30Remove libbcc's dependence on mclinker.Stephen Hines4-363/+0
These features are no longer being used by libbcc, and static initializers from mclinker are conflicting with tool development (i.e. positional argument specifiers for the new bcc executable). Change-Id: I0da427034c50015607a59d4193547868fa9eeabf
2013-07-30Remove ABCC and associated components.Stephen Hines3-190/+0
Change-Id: I93f1c2918ca68268d09fac5249e8ba24d6d76dd8
2013-07-23Remove beforeExecuteLTOPasses callbackTobias Grosser2-2/+2
This callback had very unclear semantics and the current use was suprising. Specifically, it took a PassManager parameter, but adding anything to this pass manager would cause the passes to be executed after the other LTO passes The only way to execute passes before the LTO passes, was to create a new pass manager that executes a pass right before all LTO passes (that have already being queued in the pass manager passed in as a parameter) will be executed. The very same behavior can be achieved by just adding our passes to the normal pass manager using the "BeforeAddLTOPasses" callback. We used this callback to schedule the ForEachExpand pass. This pass is now moved to the beforeAddLTOPasses callback. Change-Id: I3916543a4ee282e403174b90dc7b7588baab9ea3
2013-07-23Improve error code to error string translationTobias Grosser1-3/+1
We now use an explicit switch to translate an error code to an error string as this allows the compiler to statically verify that we covered all cases. While at it we add a new error message for "kErrInvalidSource" which was missing previously. We also remove "kMaxErrorCode" as it was unused. Change-Id: I8ade465697c7fa6cc3e48c5c581e5a4dfcf15959
2013-07-12Only support EnableGlobalMerge on ARM architectures.Stephen Hines1-1/+4
Change-Id: I5c4c236c306e120c5aa24fbc91815cc27d7aab0f
2013-07-11Provide a way to disable LLVM's global merge optimization.Stephen Hines1-0/+15
Change-Id: I92dff2a208c821722f057dd8c26bd12a1cb5a794
2013-06-26Dump LLVM-IR before generating target codeTobias Grosser1-2/+7
Dumping the IR earlier prevents target specific passes to modify the IR before it is dumped. Change-Id: I8a61efb7140b0c2025381ea1ad1f4cf3522ec870
2013-06-20bcc: Add option -emit-llvmTobias Grosser1-2/+3
Change-Id: I98470c6573b216518f77d338f4659d5b9fbcc3d3
2013-06-15Remove libbcc's dependence on mclinker.Stephen Hines4-372/+0
These features are no longer being used by libbcc, and static initializers from mclinker are conflicting with tool development (i.e. positional argument specifiers for the new bcc executable). Change-Id: I0da427034c50015607a59d4193547868fa9eeabf
2013-06-06Merge "Further separate build (compile) and load in libbcc."Stephen Hines2-18/+21