Searched refs:ptr_to_int (Results 1 – 4 of 4) sorted by relevance
6 typedef int *ptr_to_int; typedef11 using ptr_to_int = int *; typedef33 if (const ptr_to_int i = 0) { in const_pointers()47 template struct S<ptr_to_int>; // ok
18 constexpr intptr_t ptr_to_int(const void *p) { in ptr_to_int() function52 static_assert(bcp(ptr_to_int("foo")));53 static_assert(bcp_fold(ptr_to_int("foo")));54 static_assert(!bcp(ptr_to_int(&x)));55 static_assert(!bcp_fold(ptr_to_int(&x)));
181 ; CHECK-NEXT: %ptr_to_int:_(s64) = G_PTRTOINT [[PTR_ADD1]](p0)182 ; CHECK-NEXT: %int_to_ptr:_(p0) = G_INTTOPTR %ptr_to_int(s64)185 ; CHECK-NEXT: G_STORE %ptr_to_int(s64), [[PTR_ADD]](p0) :: (store (s64))194 %ptr_to_int:_(s64) = G_PTRTOINT %11195 %int_to_ptr:_(p0) = G_INTTOPTR %ptr_to_int198 G_STORE %ptr_to_int(s64), %10(p0) :: (store 8)
84 //CHECK: define{{.*}} spir_func noundef i32 @ptr_to_int(ptr noundef %[[x:.*]])87 int ptr_to_int(int *x) {