Home
last modified time | relevance | path

Searched refs:int_to_ptr (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dbuiltin-constant-p.cpp22 constexpr int *int_to_ptr(intptr_t n) { in int_to_ptr() function
58 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 recognizing
61 static_assert(bcp_fold(int_to_ptr(123))); // the bcp conditional in 'int_to_ptr' ...
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Das_type.cl77 //CHECK: define{{.*}} spir_func i32 addrspace(1)* @int_to_ptr(i32 noundef %[[x:.*]])
80 global int* int_to_ptr(int x) {
/llvm-project-15.0.7/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td632 // Transform (ptr_add 0, x) -> (int_to_ptr x)