| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | flexible-array.m | 20 …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 D | ctad.compile.pass.cpp | 27 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 D | borrowing.compile.pass.cpp | 17 …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 D | general.compile.pass.cpp | 29 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 D | ctor.default.pass.cpp | 43 …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 D | types.h | 29 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 D | subrange.h | 70 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 D | CFContainers.mm | 105 …/ 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 D | variable-sized-stack-objects.mir | 2 # 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 D | load-to-trunc.ll | 2 ; 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 D | load-to-trunc.ll | 2 ; 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 D | load-to-trunc.ll | 2 ; 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 D | load-to-trunc.ll | 2 ; 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 D | load-to-trunc.ll | 2 ; 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 D | load-to-trunc.ll | 2 ; 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 D | load-to-trunc.ll | 2 ; 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 D | ghc-cc-05.ll | 2 ; 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 D | regbankselect-dyn-stackalloc.mir | 14 - { 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 D | basic.ll | 66 ; 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 D | flexible-array.mm | 16 …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 D | irtranslator-weird-alloca-size.ll | 5 ; we allocated weirdly sized type. For instance, in that case, we used 10 ; wrongly 3-byte sized slot.
|
| H A D | legalize-dyn-alloca.mir | 32 - { 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 D | scavenging.mir | 74 # 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 D | unsized-recursive-type.ll | 3 ; CHECK: base element of getelementptr must be sized
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | array | 286 "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");
|