| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
As defined in the SPIR 1.2 specification, this node behaves similarly to
kernel_arg_type but will print the underlying type name, e.g., without
typedefs.
Example:
typedef unsigned int myunsignedint;
would report:
'myunsignedint' in the kernel_arg_type node
'uint' in the kernel_arg_base_type node
llvm-svn: 214308
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes a bug where kernel_arg_type was always changing 'unsigned ' to 'u'
for any parameter type, including non-canonical types.
Example:
typedef unsigned int myunsignedint;
would report:
"myunt"
llvm-svn: 214305
|
| |
|
|
|
|
|
|
| |
This allows 'half' to be printed as 'half' and not as '__fp16'.
Patch by Fraser Cormack!
llvm-svn: 205624
|
| |
|
|
|
|
|
|
|
|
|
| |
from the global address space (6.5.1 of the OpenCL 1.2 specification).
This makes clang construct the image arguments in the global address
space and generate the argument metadata with the correct address space
descriptor.
Patch by Pedro Ferreira!
llvm-svn: 198868
|
| |
|
|
|
|
| |
OpenCL 1.2 spec. 5.7.3.
llvm-svn: 177839
|
| |
|
|
|
|
| |
__global, __constant or __local qualifier.
llvm-svn: 175735
|
|
|
flag as noted in the OpenCL Spec.
Includes a test case.
llvm-svn: 160092
|