Searched refs:int_to_ptr (Results 1 – 3 of 3) sorted by relevance
22 constexpr int *int_to_ptr(intptr_t n) { in int_to_ptr() function58 static_assert(bcp(int_to_ptr(0)));59 static_assert(bcp_fold(int_to_ptr(0)));60 static_assert(bcp(int_to_ptr(123))); // GCC rejects these due to not recognizing61 static_assert(bcp_fold(int_to_ptr(123))); // the bcp conditional in 'int_to_ptr' ...
77 //CHECK: define{{.*}} spir_func i32 addrspace(1)* @int_to_ptr(i32 noundef %[[x:.*]])80 global int* int_to_ptr(int x) {
632 // Transform (ptr_add 0, x) -> (int_to_ptr x)