Lines Matching refs:check
30 void check(bool);
33 // CHECK-NOT: call void @check(i1 zeroext false)
34 check(sizeof(size_t) == PTSIZE);
35 check(__alignof__(size_t) == PTSIZE);
36 check(sizeof(intptr_t) == PTSIZE);
37 check(__alignof__(intptr_t) == PTSIZE);
38 check(sizeof(uintptr_t) == PTSIZE);
39 check(__alignof__(uintptr_t) == PTSIZE);
40 check(sizeof(ptrdiff_t) == PTSIZE);
41 check(__alignof__(ptrdiff_t) == PTSIZE);
43 check(sizeof(char) == 1);
44 check(__alignof__(char) == 1);
45 check(sizeof(short) == 2);
46 check(__alignof__(short) == 2);
47 check(sizeof(int) == 4);
48 check(__alignof__(int) == 4);
49 check(sizeof(long) == 8);
50 check(__alignof__(long) == 8);
52 check(sizeof(half) == 2);
53 check(__alignof__(half) == 2);
55 check(sizeof(float) == 4);
56 check(__alignof__(float) == 4);
58 check(sizeof(double) == 8);
59 check(__alignof__(double) == 8);
62 check(sizeof(void*) == (__OPENCL_C_VERSION__ >= 200 ? 8 : 4));
63 check(__alignof__(void*) == (__OPENCL_C_VERSION__ >= 200 ? 8 : 4));
64 check(sizeof(global_ptr_t) == PTSIZE);
65 check(__alignof__(global_ptr_t) == PTSIZE);
66 check(sizeof(constant_ptr_t) == PTSIZE);
67 check(__alignof__(constant_ptr_t) == PTSIZE);
68 check(sizeof(local_ptr_t) == 4);
69 check(__alignof__(private_ptr_t) == 4);