Reconcile with klp-release - do not merge

Change-Id: Iffb304a6ecf897ab63bc1493ee87d83be66046ad
am e394d860: (-s ours) Reconcile with klp-release - do not merge

* commit 'e394d8608f648f6c99ff3487607393931e10f441':
  ForEach: Not all kernels are expanded
Run verifier on RenderScript .bc modules

Verify the bitcode to abort gracefully on invalid .bc modules instead of
crashing randomly. This patch will not detect all problems with the bitcode
writing, but it is likely to catch attribute breakages such as Bug 9503142. It
also prevents us from crashing on the incorrect debug info found in Bug
1031440.

Change-Id: I2bf626b7aae173dc7238a499b2a0474301197cbe
am 0784365a: resolved conflicts for merge of 8607272a to klp-dev

* commit '0784365a38fd5a9c08dd484f9ba549328d4dff97':
  Remove locking code on Windows builds.
am 8e1a5e9f: am 0784365a: resolved conflicts for merge of 8607272a to klp-dev

* commit '8e1a5e9f38f7bac51c078a0394554899ebafc64a':
  Remove locking code on Windows builds.
Merge "Run verifier on RenderScript .bc modules"
Remove unused code

Change-Id: Iea9198c5ce78db933883ac4adab1332f4d2fc430
DO NOT MERGE: Refactor the libbcc runtime for x86 platform

This patch refactors the libbcc runtime code to support x86 platform.
It removed the redundant x86 code and added the missing functions in
libclcore_x86.bc.

It resolved the RenderScript failures on the x86 platform.

Bug: 9961583

Change-Id: Ieed97e90c7c7691185a88dc425a2dd8c68aeb806

Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Merge "DO NOT MERGE: Refactor the libbcc runtime for x86 platform"
am a73c210b: (-s ours) Merge "DO NOT MERGE: Refactor the libbcc runtime for x86 platform"

* commit 'a73c210b03a68de3160cbe7a1f0d71fd08151e49':
  DO NOT MERGE: Refactor the libbcc runtime for x86 platform
am b8b896d0: (-s ours) am a73c210b: (-s ours) Merge "DO NOT MERGE: Refactor the libbcc runtime for x86 platform"

* commit 'b8b896d0669b05715526fe07f89599bd19b4b4b3':
  DO NOT MERGE: Refactor the libbcc runtime for x86 platform
am 219385bd: (-s ours) am b8b896d0: (-s ours) am a73c210b: (-s ours) Merge "DO NOT MERGE: Refactor the libbcc runtime for x86 platform"

* commit '219385bd1e2000345215bff41b53dc5814c1847b':
  DO NOT MERGE: Refactor the libbcc runtime for x86 platform
Merge "Remove unused code"
DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.

Change-Id: I92dff2a208c821722f057dd8c26bd12a1cb5a794

Conflicts:
	include/bcc/Renderscript/RSCompilerDriver.h
	lib/Renderscript/RSCompilerDriver.cpp
DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures.

Change-Id: I5c4c236c306e120c5aa24fbc91815cc27d7aab0f

Conflicts:
	include/bcc/Renderscript/RSCompilerDriver.h
Merge "DO NOT MERGE - Provide a way to disable LLVM's global merge optimization."
Merge "DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures."
am 9579a6b5: (-s ours) Merge "DO NOT MERGE - Provide a way to disable LLVM\'s global merge optimization."

* commit '9579a6b545dab285e56778789fc41575c2923605':
  DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.
am a127e3e6: (-s ours) Merge "DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures."

* commit 'a127e3e6267bd33a8e8db30d472576740dede7e6':
  DO NOT MERGE - Only support EnableGlobalMerge on ARM architectures.
am bfc278e0: (-s ours) am 9579a6b5: (-s ours) Merge "DO NOT MERGE - Provide a way to disable LLVM\'s global merge optimization."

* commit 'bfc278e013cdb9c570f0a84d47be319d29c96bae':
  DO NOT MERGE - Provide a way to disable LLVM's global merge optimization.