clang/test/CodeGenOpenCL
Anastasia Stulova da91cb3158 [OpenCL] Generate metadata for opencl_unroll_hint attribute
Add support for opencl_unroll_hint attribute from OpenCL v2.0 s6.11.5.

Reusing most of metadata generation from CGLoopInfo helper class.

The code is based on Khronos OpenCL compiler:
https://github.com/KhronosGroup/SPIR/tree/spirv-1.0

Patch by Liu Yaxun (Sam)!

Differential Revision: http://reviews.llvm.org/D16686



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261350 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-19 18:30:11 +00:00
..
2011-04-15-vec-init-from-vec.cl Do not violate the opencl casting rules. This test case still illustrates the problem. In the future, we should throw an error when doing invalid casting. 2011-07-07 00:12:54 +00:00
addr-space-struct-arg.cl Prune CRLF. 2014-10-27 12:37:26 +00:00
address-space-constant-initializers.cl Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
address-spaces-conversions.cl OpenCL: fix test for lack of names in release builds 2014-11-26 22:33:04 +00:00
address-spaces-mangling.cl Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
address-spaces.cl [OpenCL 2.0] Apply default address space (AS). 2015-11-23 11:14:44 +00:00
amdgpu-num-gpr-attr.cl R600: Handle amdgcn triple 2015-01-06 20:34:47 +00:00
bool_cast.cl [Bugfix] Fix ICE on constexpr vector splat. 2016-01-13 01:52:39 +00:00
builtins-amdgcn.cl AMDGPU: Add sin/cos builtins 2016-02-13 01:21:09 +00:00
builtins-r600.cl AMDGPU: Rename builtins to use amdgcn prefix 2016-01-22 21:30:53 +00:00
cl-strict-aliasing.cl Revert r229409: "Hack to try deleting file from build bots" 2015-02-16 18:03:59 +00:00
const-str-array-decay.cl Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
constant-addr-space-globals.cl OpenCL: Emit global variables in the constant addr space as constant globals 2014-10-16 15:29:19 +00:00
denorms-are-zero.cl Driver: Implement -cl-denorms-are-zero 2014-08-21 13:58:36 +00:00
event_t.cl Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
ext-vector-shuffle.cl OpenCL: standardise naming of test cases 2011-02-15 19:46:41 +00:00
fpmath.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
half.cl [CodeGen] Support native half inc/dec amounts. 2015-03-24 23:44:42 +00:00
kernel-arg-info.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
kernel-attributes.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
kernel-metadata.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
local-initializer-undef.cl Emit OpenCL local global variables without zeorinitializer 2014-11-03 16:51:53 +00:00
local.cl Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
logical-ops.cl Add a 64-bit triple to these tests, to fix 32-bit bots. 2013-02-21 13:42:33 +00:00
memcpy.cl Sema: Accept pointers to any address space for builtin functions 2015-03-31 16:39:02 +00:00
opencl_types.cl Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
pipe_builtin.cl Recommit: R258773 [OpenCL] Pipe builtin functions 2016-01-26 04:03:48 +00:00
pipe_types.cl Add target triple to CodeGenOpenCL/pipe_types.cl test case 2016-01-29 10:45:23 +00:00
ptx-calls.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
ptx-kernels.cl IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
relaxed-fpmath.cl Remove the cl-no-signed-zeros cc1 option 2015-04-04 14:54:24 +00:00
shifts.cl Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
single-precision-constant.cl FP_CONTRACT: Fix two tests for -Asserts. 2012-10-02 16:36:54 +00:00
spir-calling-conv.cl Re-apply "r226548 - Introduce SPIR calling conventions" reverted in r226558. 2015-01-20 11:20:41 +00:00
spir32_target.cl Fix line ending is tests. No functional change. 2012-12-12 00:52:15 +00:00
spir64_target.cl Fix line ending is tests. No functional change. 2012-12-12 00:52:15 +00:00
str_literals.cl OpenCL: Emit global variables in the constant addr space as constant globals 2014-10-16 15:29:19 +00:00
unroll-hint.cl [OpenCL] Generate metadata for opencl_unroll_hint attribute 2016-02-19 18:30:11 +00:00
vectorLoadStore.cl Remove names from the CHECK lines. 2012-08-16 00:22:16 +00:00
vector_literals_nested.cl Fix test so it doesn't depend on the host's calling convention lowering code. 2012-01-04 20:43:57 +00:00
vector_literals_valid.cl This handles the missing cases of opencl vector literals. 2011-07-15 23:07:01 +00:00
vector_logops.cl A few style changes. 2012-01-19 01:16:16 +00:00
vector_odd.cl Fix a crash in EmitStoreThroughExtVectorComponentLValue for vectors of odd sizes. 2013-11-21 17:09:05 +00:00
vector_shufflevector_valid.cl Fix invalid shufflevector operands 2015-08-02 15:28:10 +00:00