Home
last modified time | relevance | path

Searched refs:sized (Results 1 – 25 of 201) sorted by relevance

123456789

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dflexible-array.m20 …char flexible[]; // expected-warning {{field 'flexible' with variable sized type 'char[]' is not v…
28 …// expected-warning@-1 {{field 'flexible' with variable sized type 'char[]' is not visible to subc…
35 …// expected-warning@-1 {{field 'flexible' with variable sized type 'char[]' is not visible to subc…
70 …// expected-warning@-1 {{field 'flexible' with variable sized type 'char[]' is not visible to subc…
95 …// expected-warning@-1 {{field 'flexible' with variable sized type 'char[]' is not visible to subc…
103 …// expected-warning@-1 {{field 'flexible' with variable sized type 'char[]' is not visible to subc…
167 // # Variable sized types.
180 …struct Packet flexible; // expected-error {{field 'flexible' with variable sized type 'struct Pack…
196 …struct Packet flexible; // expected-error {{field 'flexible' with variable sized type 'struct Pack…
197 …// expected-warning@-1 {{field 'flexible' with variable sized type 'struct Packet' is not visible …
[all …]
/llvm-project-15.0.7/libcxx/test/std/ranges/range.utility/range.subrange/
H A Dctad.compile.pass.cpp27 std::ranges::subrange<int*, int*, std::ranges::subrange_kind::sized>>);
29 … std::ranges::subrange<int*, std::nullptr_t, std::ranges::subrange_kind::sized>>);
48 std::ranges::subrange<int*, int*, std::ranges::subrange_kind::sized>>);
50 std::ranges::subrange<int*, int*, std::ranges::subrange_kind::sized>>);
H A Dborrowing.compile.pass.cpp17 …anges::borrowed_range<std::ranges::subrange<int*, const int*, std::ranges::subrange_kind::sized>>);
18 …ange<std::ranges::subrange<int*, std::unreachable_sentinel_t, std::ranges::subrange_kind::sized>>);
H A Dgeneral.compile.pass.cpp29 static_assert( ValidSubrangeKind<std::ranges::subrange_kind::sized, forward_iterator<int*>, forward…
36 static_assert( ValidSubrangeKind<std::ranges::subrange_kind::sized, int*, int*>);
H A Dctor.default.pass.cpp43 …ructible_v<std::ranges::subrange<NoDefaultIterator, Sentinel, std::ranges::subrange_kind::sized>>); in test()
49 std::ranges::subrange<Iter, Iter, std::ranges::subrange_kind::sized> subrange; in test()
H A Dtypes.h29 using SizedIntPtrSubrange = std::ranges::subrange<int*, int*, std::ranges::subrange_kind::sized>;
163 std::ranges::subrange_kind::sized>;
166 … std::ranges::subrange_kind::sized>;
/llvm-project-15.0.7/libcxx/include/__ranges/
H A Dsubrange.h70 enum class _LIBCPP_ENUM_VIS subrange_kind : bool { unsized, sized }; enumerator
74 ? subrange_kind::sized
76 requires (_Kind == subrange_kind::sized || !sized_sentinel_for<_Sent, _Iter>)
82 …static constexpr bool _StoreSize = (_Kind == subrange_kind::sized && !sized_sentinel_for<_Sent, _I…
105 requires (_Kind == subrange_kind::sized) in subrange()
138 requires (_Kind == subrange_kind::sized) in subrange()
169 requires (_Kind == subrange_kind::sized) in size()
221 -> subrange<_Iter, _Sent, subrange_kind::sized>;
226 ? subrange_kind::sized : subrange_kind::unsized>;
230 -> subrange<iterator_t<_Range>, sentinel_t<_Range>, subrange_kind::sized>;
/llvm-project-15.0.7/clang/test/Analysis/
H A DCFContainers.mm105 …/ expected-warning@-1 {{The second argument to 'CFArrayCreate' must be a C array of pointer-sized}}
106 …/ expected-note@-2 {{The second argument to 'CFArrayCreate' must be a C array of pointer-sized}}
113 …// expected-warning@-1 {{The second argument to 'CFSetCreate' must be a C array of pointer-sized v…
114 …// expected-note@-2 {{The second argument to 'CFSetCreate' must be a C array of pointer-sized v…
141 …warning@-1 {{The third argument to 'CFDictionaryCreate' must be a C array of pointer-sized values}}
142 …note@-2 {{The third argument to 'CFDictionaryCreate' must be a C array of pointer-sized values}}
198 …; // expected-warning {{The second argument to 'CFArrayCreate' must be a C array of pointer-sized}}
199 … // expected-note@-1 {{The second argument to 'CFArrayCreate' must be a C array of pointer-sized}}
202 …; // expected-warning {{The second argument to 'CFArrayCreate' must be a C array of pointer-sized}}
204 …; // expected-warning {{The second argument to 'CFArrayCreate' must be a C array of pointer-sized}}
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/
H A Dvariable-sized-stack-objects.mir2 # This test ensures that the MIR parser parses variable sized stack objects
33 # CHECK-NEXT: - { id: 2, name: y, type: variable-sized, offset: -32, alignment: 1,
37 - { id: 2, name: y, type: variable-sized, offset: -32, alignment: 1 }
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/PowerPC/
H A Dload-to-trunc.ll2 ; Check memory cost model action for a load of an unusually sized integer
3 ; follow by and a trunc to a register sized integer gives a cost of 1 rather
7 ; Check that cost is 1 for unusual load to register sized load.
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/AMDGPU/
H A Dload-to-trunc.ll2 ; Check memory cost model action for a load of an unusually sized integer
3 ; follow by and a trunc to a register sized integer gives a cost of 1 rather
8 ; Check that cost is 1 for unusual load to register sized load.
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/AArch64/
H A Dload-to-trunc.ll2 ; Check memory cost model action for a load of an unusually sized integer
3 ; follow by and a trunc to a register sized integer gives a cost of 1 rather
8 ; Check that cost is 1 for unusual load to register sized load.
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/RISCV/
H A Dload-to-trunc.ll2 ; Check memory cost model action for a load of an unusually sized integer
3 ; follow by and a trunc to a register sized integer gives a cost of 1 rather
8 ; Check that cost is 1 for unusual load to register sized load.
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/ARM/
H A Dload-to-trunc.ll2 ; Check memory cost model action for a load of an unusually sized integer
3 ; follow by and a trunc to a register sized integer gives a cost of 1 rather
9 ; Check that cost is 1 for unusual load to register sized load.
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/X86/
H A Dload-to-trunc.ll2 ; Check memory cost model action for a load of an unusually sized integer
3 ; follow by and a trunc to a register sized integer gives a cost of 1 rather
9 ; Check that cost is 1 for unusual load to register sized load.
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/SystemZ/
H A Dload-to-trunc.ll2 ; Check memory cost model action for a load of an unusually sized integer
3 ; follow by and a trunc to a register sized integer gives a cost of 1 rather
8 ; Check that cost is 1 for unusual load to register sized load.
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dghc-cc-05.ll2 ; Variable-sized stack allocations are not supported in GHC calling convention
16 ; CHECK: LLVM ERROR: Variable-sized stack allocations are not supported in GHC calling convention
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/GlobalISel/
H A Dregbankselect-dyn-stackalloc.mir14 - { id: 0, type: variable-sized, alignment: 1 }
48 - { id: 0, type: variable-sized, alignment: 2 }
82 - { id: 0, type: variable-sized, alignment: 4 }
116 - { id: 0, type: variable-sized, alignment: 8 }
150 - { id: 0, type: variable-sized, alignment: 16 }
184 - { id: 0, type: variable-sized, alignment: 32 }
222 - { id: 0, type: variable-sized, alignment: 64 }
298 - { id: 0, type: variable-sized, alignment: 4 }
327 - { id: 0, type: variable-sized, alignment: 8 }
361 - { id: 0, type: variable-sized, alignment: 16 }
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Sink/
H A Dbasic.ll66 ; We shouldn't sink constant sized allocas from the entry block, since CodeGen
67 ; interprets allocas outside the entry block as dynamically sized stack objects.
90 ; Make sure we sink dynamic sized allocas
116 ; will already be considered as dynamically sized stack objects, so sinking
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dflexible-array.mm16 …VariableSizeUnion flexible; // expected-error {{field 'flexible' with variable sized type 'Variabl…
34 …VariableSizeClass flexible; // expected-error {{field 'flexible' with variable sized type 'Variabl…
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dirtranslator-weird-alloca-size.ll5 ; we allocated weirdly sized type. For instance, in that case, we used
10 ; wrongly 3-byte sized slot.
H A Dlegalize-dyn-alloca.mir32 - { id: 0, name: addr, type: variable-sized, alignment: 1 }
78 - { id: 0, name: addr, type: variable-sized, alignment: 32 }
126 - { id: 0, name: addr, type: variable-sized, alignment: 1 }
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dscavenging.mir74 # variable-sized object should be a reason to reserve an emergency spillslot
76 - { id: 0, type: variable-sized, offset: -32, alignment: 1 }
164 # variable-sized object should be a reason to reserve an emergency spillslot
166 - { id: 0, type: variable-sized, offset: -32, alignment: 1 }
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dunsized-recursive-type.ll3 ; CHECK: base element of getelementptr must be sized
/llvm-project-15.0.7/libcxx/include/
H A Darray286 "cannot fill zero-sized array of type 'const T'");
292 "cannot swap zero-sized array of type 'const T'");
334 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::operator[] on a zero-sized array");
340 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::operator[] on a zero-sized array");
358 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::front() on a zero-sized array");
364 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::front() on a zero-sized array");
370 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::back() on a zero-sized array");
376 _LIBCPP_ASSERT(false, "cannot call array<T, 0>::back() on a zero-sized array");

123456789