Home | History | Annotate | Download | only in Sema

Lines Matching refs:OpenCL

5856   // OpenCL v2.0 s6.9.b - Image type can only be used as a function argument.
5857 // OpenCL v2.0 s6.13.16.1 - Pipe type can only be used as a function
5859 if (getLangOpts().OpenCL && (R->isImageType() || R->isPipeType())) {
5881 if (getLangOpts().OpenCL) {
5882 // OpenCL v1.0 s6.8.a.3: Pointers to functions are not allowed.
5894 // OpenCL v1.2 s6.1.1.1: reject declaring variables of the half and
5942 if (getLangOpts().OpenCL) {
5943 // OpenCL v1.2 s6.9.b p4:
5951 // OpenCL 1.2 spec, p6.9 r:
6783 if (!getLangOpts().OpenCL
6790 // OpenCL v1.2 s6.8 - The static qualifier is valid only in program
6800 if (getLangOpts().OpenCL) {
6801 // OpenCL v2.0 s6.12.5 - The __block storage type is not supported.
6808 // OpenCL v2.0 s6.12.5 - Any block declaration must be const qualified and
6821 // OpenCL v2.0 s6.12.5 - Blocks with variadic arguments are not supported.
6833 // OpenCL v1.2 s6.5 - All program scope variables must be declared in the
6835 // OpenCL v2.0 s6.5.1 - Variables defined at program scope and static
6861 // OpenCL v1.1 s6.5.2 and s6.5.3 no local or constant variables
7530 // OpenCL v1.2 s6.9.a:
7538 // OpenCL v1.2 s6.9.a:
7545 // OpenCL v1.2 s6.9.k:
7552 // OpenCL v1.2 s6.8 n:
7620 // OpenCL v1.2 s6.9.p:
7622 // do not allow OpenCL objects to be passed as elements of the struct or
8197 if (getLangOpts().OpenCL) {
8198 // OpenCL v1.1 s6.5: Using an address space qualifier in a function return
8564 // OpenCL v1.2 s6.8 static is invalid for kernel functions.
8571 // OpenCL v1.2, s6.9 -- Kernels can only have return type void.
8587 // OpenCL 2.0 pipe restrictions forbids pipe packet types to be non-value
8932 if (getLangOpts().OpenCL) {
9664 // OpenCL 1.1 6.5.2: "Variables allocated in the __local address space inside
10037 // OpenCL v1.1 s6.5.3: variables declared in the constant address space must
10295 if (getLangOpts().OpenCL) {
10296 // OpenCL v2.0 s6.12.5 - Every block variable declaration must have an
11024 // OpenCL allows function arguments declared to be an array of a type
11026 if (!(getLangOpts().OpenCL && T->isArrayType())) {
11118 // Don't warn for OpenCL kernels.
13369 // OpenCL v1.2 s6.9b,r & OpenCL v2.0 s6.12.5 - The following types cannot be
13371 if (LangOpts.OpenCL && (T->isEventT() || T->isImageType() ||
13487 // OpenCL v1.2 s6.9.c: bitfields are not supported.
13488 if (BitWidth && getLangOpts().OpenCL) {