Home
last modified time | relevance | path

Searched refs:array (Results 426 – 450 of 1853) sorted by relevance

1...<<11121314151617181920>>...75

/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIRTypes.td371 let summary = "shape of a multidimensional array object";
375 multidimensional array object. The vector is the extents of each array
398 let summary = "lower bounds of a multidimensional array object";
402 multidimensional array object. The vector is the lower bounds of each array
419 def fir_SequenceType : FIR_Type<"Sequence", "array"> {
420 let summary = "FIR array type";
463 // one of constant shape (`array<C...xCxT>`), unknown shape
465 // unknown extent (`array<C...xCx?...x?xT>`).
473 // Does the sequence have unknown shape? (`array<* x T>`)
485 Type of a vector that represents an array slice operation on an array.
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h262 unsigned code, const ArrayTy &array) { in emit() argument
264 for (auto &element : array) in emit()
267 buffer.reserve(buffer.size() + std::distance(array.begin(), array.end())); in emit()
268 std::copy(array.begin(), array.end(), std::back_inserter(buffer)); in emit()
275 std::array<ElementDataTy, 1 + sizeof...(data)> array{{element, data...}}; in emit()
276 emit(Stream, buffer, code, array); in emit()
291 static void read(ArrayRef<T> buffer, ArrayTy &array) { in read() argument
292 array.append(llvm::map_iterator(buffer.begin(), T::convert), in read()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dsigned-char-misuse.cpp10 struct array { struct
109 int SignedCharSTDArraySubscript(std::array<int, 3> Array, signed char SCharacter) { in SignedCharSTDArraySubscript()
243 int UnsignedCharSTDArraySubscript(std::array<int, 3> Array, unsigned char USCharacter) { in UnsignedCharSTDArraySubscript()
247 int CastedSTDArraySubscript(std::array<int, 3> Array, signed char SCharacter) { in CastedSTDArraySubscript()
/llvm-project-15.0.7/llvm/test/Verifier/
H A Delementtype.ll7 call i32* @llvm.preserve.array.access.index.p0i32.p0i32(i32* null, i32 elementtype(i32) 0, i32 0)
13 call i32* @llvm.preserve.array.access.index.p0i32.p0i32(i32* elementtype(i64) null, i32 0, i32 0)
30 call i32* @llvm.preserve.array.access.index.p0i32.p0i32(i32* null, i32 0, i32 0)
36 declare i32* @llvm.preserve.array.access.index.p0i32.p0i32(i32*, i32, i32)
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Vector/CPU/X86Vector/
H A Dtest-inline-asm-vector-avx512.mlir8 // an array of 16 i32 of values [0..15]
11 : !llvm.array<16 x i32>
16 %1 = llvm.mlir.addressof @const16 : !llvm.ptr<array<16 x i32>>
18 : (!llvm.ptr<array<16 x i32>>, i64, i64) -> !llvm.ptr<i32>
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Ddisubrange-v0.ll7 %array = alloca i32, i64 42, align 16
8 call void @llvm.dbg.declare(metadata i32* %array, metadata !19, metadata !12), !dbg !18
34 !19 = !DILocalVariable(name: "array", scope: !7, file: !1, line: 21, type: !20)
37 ; CHECK-DAG: ![[NODE:[0-9]+]] = !DILocalVariable(name: "array"
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/
H A Dindexing.pass.cpp23 typedef std::array<T, 3> C; in tests()
42 typedef std::array<T, 0> C; in tests()
53 typedef std::array<const T, 0> C; in tests()
H A Dfront_back_const.pass.cpp23 typedef std::array<T, 3> C; in tests()
33 typedef std::array<T, 0> C; in tests()
46 typedef std::array<const T, 0> C; in tests()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dflexible-array.m3 // # Flexible array member.
11 …char flexible[]; // expected-error {{flexible array member 'flexible' with type 'char[]' is not at…
27 …char flexible[]; // expected-error {{flexible array member 'flexible' with type 'char[]' is not at…
34 …char flexible[]; // expected-error {{flexible array member 'flexible' with type 'char[]' is not at…
41 …char flexible[]; // expected-error {{flexible array member 'flexible' with type 'char[]' is not at…
69 …char flexible[]; // expected-error {{flexible array member 'flexible' with type 'char[]' is not at…
76 …char flexible[]; // expected-error {{flexible array member 'flexible' with type 'char[]' is not at…
94 …char flexible[]; // expected-error {{flexible array member 'flexible' with type 'char[]' is not at…
102 …char flexible[]; // expected-error {{flexible array member 'flexible' with type 'char[]' is not at…
123 @property char flexible[]; // expected-error {{property cannot have array or function type 'char[]'…
[all …]
H A Dparameterized_classes_collection_literal.m39 …@1, // expected-warning{{of type 'NSNumber *' is not compatible with array element type 'NSString …
41 …@1, @2]]; // expected-warning{{of type 'NSArray *' is not compatible with array element type 'NSSt…
44 …, // expected-warning{{object of type 'NSString *' is not compatible with array element type 'NSAr…
45 …; // expected-warning{{object of type 'NSNumber *' is not compatible with array element type 'NSSt…
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-synth/
H A Dmain.cpp45 int* array; member
51 array(new int[N]), in Plenty()
56 array[j] = N-j; in Plenty()
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-instancetype.m29 + (id)array; class in NSArrayCreation
33 + arrayWithArray:(NSArray *)array;
37 - (id)initWithArray:(NSArray *)array;
43 + (id)array { return 0; } class in NSArrayCreation
50 + arrayWithArray:(NSArray *)array {
56 - (id)initWithArray:(NSArray *)array { return 0; }
H A Dobjcmt-instancetype.m.result29 + (instancetype)array;
33 + (instancetype) arrayWithArray:(NSArray *)array;
37 - (instancetype)initWithArray:(NSArray *)array;
43 + (instancetype)array { return 0; }
50 + (instancetype) arrayWithArray:(NSArray *)array {
56 - (instancetype)initWithArray:(NSArray *)array { return 0; }
H A Dremove-statements.m.result21 id array, array_already_empty;
34 MY_MACRO1(array);
36 MY_MACRO2(array);
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/
H A Dtransform_inclusive_scan_bop_uop_init.pass.cpp100 std::array<size_t, 10> v; in basic_tests()
108 std::array<size_t, 10> v; in basic_tests()
116 std::array<size_t, 10> v; in basic_tests()
124 std::array<size_t, 0> v, res; in basic_tests()
131 std::array<unsigned char, 10> v; in basic_tests()
133 std::array<size_t, 10> res; in basic_tests()
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/
H A Dtransform_exclusive_scan_init_bop_uop.pass.cpp98 std::array<size_t, 10> v; in basic_tests()
106 std::array<size_t, 10> v; in basic_tests()
114 std::array<size_t, 10> v; in basic_tests()
122 std::array<size_t, 0> v, res; in basic_tests()
129 std::array<unsigned char, 10> v; in basic_tests()
131 std::array<size_t, 10> res; in basic_tests()
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
H A Dmake_from_tuple.pass.cpp47 struct ConstructibleFromTuple<std::array<Tp, N>> {
53 std::array<Tp, N> args;
97 using Tuple = std::array<int, 3>; in test_constexpr_construction()
147 using Tup = std::array<int, 3>; in test_perfect_forwarding()
193 using Tuple = std::array<int, 3>; in test_noexcept()
198 using Tuple = std::array<long, 3>; in test_noexcept()
/llvm-project-15.0.7/libcxx/test/libcxx/iterators/bounded_iter/
H A Dcomparison.pass.cpp21 int array[] = {0, 1, 2, 3, 4}; in tests() local
22 int* b = array + 0; in tests()
23 int* e = array + 5; in tests()
/llvm-project-15.0.7/libcxx/test/std/numerics/numarray/template.valarray/valarray.unary/
H A Dnot.pass.cpp45 bool array[] = {true, false, true}; in main() local
46 std::valarray<bool> a(array, 3); in main()
47 std::valarray<bool> b(array, 3); in main()
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dobjc-arc-container-subscripting.m9 NSMutableArray *array;
10 array[3] = 0;
11 return array[3];
H A Dobjc-container-subscripting-1.m17 NSMutableArray *array;
20 id oldObject = array[10];
21 // CHECK: [[ARR:%.*]] = load {{%.*}} [[array:%.*]], align 8
27 val = (array[10] = oldObject);
29 // CHECK-NEXT: [[THREE:%.*]] = load {{%.*}} [[array:%.*]], align 8
/llvm-project-15.0.7/mlir/test/Target/SPIRV/
H A Ddecorations.mlir27 …spv.GlobalVariable @var1 bind(0, 0) {aliased} : !spv.ptr<!spv.struct<(!spv.array<4xf32, stride=4>[…
35 …spv.GlobalVariable @var bind(0, 0) {non_readable} : !spv.ptr<!spv.struct<(!spv.array<4xf32, stride…
42 …spv.GlobalVariable @var bind(0, 0) {non_writable} : !spv.ptr<!spv.struct<(!spv.array<4xf32, stride…
49 …spv.GlobalVariable @var bind(0, 0) {restrict} : !spv.ptr<!spv.struct<(!spv.array<4xf32, stride=4>[…
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/inclusive.scan/
H A Dinclusive_scan.pass.cpp68 std::array<size_t, 10> v; in basic_tests()
76 std::array<size_t, 10> v; in basic_tests()
84 std::array<size_t, 10> v; in basic_tests()
92 std::array<size_t, 0> v, res; in basic_tests()
/llvm-project-15.0.7/clang/test/Profile/
H A Dobjc-general.m41 + (void)foreach: (NSArray *)array;
48 + (void)foreach: (NSArray *)array
54 for (id x in array) {
90 NSArray *array = [NSArray arrayWithObjects: @"0", @"1", (void*)0];
91 [A foreach: array];
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dscratch-buffer.ll93 %array = alloca [8192 x i32], addrspace(5)
95 …%ptr = getelementptr inbounds [8192 x i32], [8192 x i32] addrspace(5)* %array, i32 0, i32 %ptr_off…
105 %array = alloca [8192 x i32], addrspace(5)
107 %ptr = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %array, i32 0, i32 %ptr_offset
116 %array = alloca [8192 x i32], addrspace(5)
117 %ptr = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %array, i32 0, i32 4
119 %load_ptr = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %array, i32 0, i32 %offset

1...<<11121314151617181920>>...75