Home
last modified time | relevance | path

Searched refs:const_array (Results 1 – 10 of 10) sorted by relevance

/llvm-project/clang/test/C/C23/
H A Dn2607.c27 const array const_array; in test2() local
36 (void)_Generic(&const_array, const int (*)[1] : 1); in test2()
37 (void)_Generic(&const_array[0], const int * : 1); in test2()
53 const int const_array[1]; in test3() local
62 …(void)_Generic(1 ? &const_array : &array, const int (*)[1] : 1); /* expected-error {{controlling… in test3()
/llvm-project/clang/test/CodeGenCUDA/
H A Ddevice-use-host-var.cu50 const A const_array[] = {0, 0, 0, 6}; variable
92 *out = const_array[3].x; in dev_fun()
99 *out2 = &const_array[3].x; in dev_fun()
H A Ddevice-var-init.cu287 static const int const_array[] = {1, 2, 3, 4, 5}; in df() local
/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
H A Darray.pass.cpp39 typedef const char const_array[3]; typedef
47 test_array<const_array>(); in main()
/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Darray.pass.cpp47 typedef const char const_array[3]; typedef
54 test_array<const_array>(); in main()
/llvm-project/llvm/test/Transforms/InstCombine/
H A Daddrspacecast.ll127 @const_array = addrspace(2) constant [60 x i8] [i8 2, i8 9, i8 4, i8 22, i8 2, i8 9, i8 4, i8 22, i8 2, i8 9, i8 4, i8 22,
144 ; CHECK-NEXT: [[PTR:%.*]] = getelementptr i8, ptr addrspace(2) getelementptr inbounds nuw (i8, ptr addrspace(2) @const_array, i16 4), i16 [[TMP0]]
156 call void @llvm.memcpy.p0.p1.i32(ptr align 4 %alloca, ptr addrspace(1) align 4 addrspacecast (ptr addrspace(2) getelementptr inbounds ([60 x i8], ptr addrspace(2) @const_array, i16 0, i16 4) to ptr addrspace(1)), i32 48, i1 false) nounwind
/llvm-project/llvm/test/Instrumentation/DataFlowSanitizer/
H A Darray.ll274 define [2 x i32] @const_array() {
275 ; FAST: @const_array.dfsan
/llvm-project/llvm/test/Bindings/OCaml/
H A Dcore.ml199 (* CHECK: const_array{{.*}}[i32 3, i32 4]
202 let c = const_array i32_type [| three; four |] in
203 ignore (define_global "const_array" c m);
1185 add_clause lp (const_array ety [| ztipkc; ztid |]);
/llvm-project/llvm/bindings/ocaml/llvm/
H A Dllvm.ml633 external const_array : lltype -> llvalue array -> llvalue = "llvm_const_array"
H A Dllvm.mli1033 (** [const_array ty elts] returns the constant array of type
1037 val const_array : lltype -> llvalue array -> llvalue
1023 val const_array : lltype -> llvalue array -> llvalue global() val