Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 5306) sorted by relevance

12345678910>>...213

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dstandalone-empty.cpp6 bool empty();
11 bool empty();
17 void empty();
23 int empty();
29 bool empty();
35 bool empty();
40 bool empty(T &&);
46 bool empty();
50 bool empty();
55 void empty();
[all …]
/llvm-project/llvm/lib/ObjCopy/
H A DConfigManager.cpp17 if (!Common.SplitDWO.empty() || !Common.SymbolsPrefix.empty() || in getCOFFConfig()
18 !Common.SymbolsPrefixRemove.empty() || !Common.SymbolsToSkip.empty() || in getCOFFConfig()
19 !Common.AllocSectionsPrefix.empty() || !Common.KeepSection.empty() || in getCOFFConfig()
20 !Common.SymbolsToGlobalize.empty() || !Common.SymbolsToKeep.empty() || in getCOFFConfig()
21 !Common.SymbolsToLocalize.empty() || !Common.SymbolsToWeaken.empty() || in getCOFFConfig()
[all...]
/llvm-project/clang/test/Preprocessor/
H A Dembed___has_embed_parsing_errors.c29 #if __has_embed("media/empty" xxx)
34 #if __has_embed("media/empty" xxx::)
38 #if __has_embed("media/empty" xxx::xxx)
43 #if __has_embed("media/empty" xxx::42)
48 #if __has_embed("media/empty" limit)
55 #if __has_embed("media/empty" limit()
61 #if __has_embed("media/empty" limit(xxx)
67 #if __has_embed("media/empty" limit(42)
72 #if __has_embed("media/empty" limit([)
77 #if __has_embed("media/empty" limit([))
[all …]
/llvm-project/libcxx/test/std/containers/views/views.span/span.obs/
H A Dempty.pass.cpp28 static_assert( noexcept(std::span<int> ().empty()), ""); in main()
29 static_assert( noexcept(std::span<int, 0>().empty()), ""); in main()
32 static_assert( std::span<int>().empty(), ""); in main()
33 static_assert( std::span<long>().empty(), ""); in main()
34 static_assert( std::span<double>().empty(), ""); in main()
35 static_assert( std::span<A>().empty(), ""); in main()
36 static_assert( std::span<std::string>().empty(), ""); in main()
38 static_assert( std::span<int, 0>().empty(), ""); in main()
39 static_assert( std::span<long, 0>().empty(), ""); in main()
40 static_assert( std::span<double, 0>().empty(), ""); in main()
[all …]
/llvm-project/mlir/test/Dialect/Tensor/
H A Dsimplify-pack-unpack.mlir8 %empty = tensor.empty() : tensor<8x32xf32>
9 …%0 = tensor.pack %arg0 inner_dims_pos = [0] inner_tiles = [32] into %empty : tensor<256xf32> -> te…
20 %empty = tensor.empty() : tensor<8x32xf32>
22 …0 padding_value(%cst : f32) inner_dims_pos = [0] inner_tiles = [32] into %empty : tensor<255xf32> …
33 %empty = tensor.empty() : tensor<5x8x32xf32>
34 …%0 = tensor.pack %arg0 inner_dims_pos = [1] inner_tiles = [32] into %empty : tensor<5x256xf32> -> …
45 %empty = tensor.empty() : tensor<2x32xf32>
46 …%arg0 outer_dims_perm = [0] inner_dims_pos = [0] inner_tiles = [32] into %empty : tensor<64xf32> -…
57 %empty = tensor.empty() : tensor<5x8x32xf32>
58 …g0 outer_dims_perm = [0, 1] inner_dims_pos = [1] inner_tiles = [32] into %empty : tensor<5x256xf32…
[all …]
/llvm-project/polly/lib/External/isl/
H A Disl_map_lexopt_templ.c33 __isl_give isl_set **empty, unsigned flags) in SF()
35 return SF(isl_tab_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, in SF()
41 __isl_give isl_set **empty) in SF()
44 return SF(isl_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, flags); in SF()
49 __isl_give isl_set **empty) in SF()
52 return SF(isl_basic_map_partial_lexopt,SUFFIX)(bmap, dom, empty, flags); in SF()
57 __isl_give isl_set **empty) in SF()
59 return SF(isl_basic_map_partial_lexmin,SUFFIX)(bset, dom, empty); in SF()
64 __isl_give isl_set **empty) in SF()
66 return SF(isl_basic_map_partial_lexmax,SUFFIX)(bset, dom, empty); in SF()
[all …]
/llvm-project/llvm/test/CodeGen/X86/
H A Dcpus-intel.ll4 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=i386 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
5 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=i486 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
6 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=i586 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
7 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=pentium 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
8 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=pentium-mmx 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
9 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=pentium_mmx 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
10 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=i686 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
11 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=pentiumpro 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
12 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=pentium_pro 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
13 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=pentium2 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
[all...]
H A Dcpus-amd.ll4 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=k6 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
5 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=k6-2 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
6 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=k6-3 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
7 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=athlon 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
8 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=athlon-tbird 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
9 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=athlon-4 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
10 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=athlon-xp 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
11 ; RUN: llc < %s -o /dev/null -mtriple=i686-unknown-unknown -mcpu=athlon-mp 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
13 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=k8 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
14 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=opteron 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
[all...]
/llvm-project/libcxx/test/std/ranges/range.access/
H A Dempty.pass.cpp20 using RangeEmptyT = decltype(std::ranges::empty);
37 static_assert(!std::ranges::empty(array_of_incomplete));
38 static_assert(!std::ranges::empty(std::move(array_of_incomplete)));
39 static_assert(!std::ranges::empty(std::as_const(array_of_incomplete)));
40 static_assert(!std::ranges::empty(static_cast<const Incomplete(&&)[42]>(array_of_incomplete)));
49 bool empty();
54 constexpr bool empty() const { return true; } in empty() function
56 friend bool empty(const HasMemberAndFunction&) { return false; } in empty() function
60 BadReturnType empty() { return {}; } in empty() function
68 constexpr BoolConvertible empty() noexcept { return {}; } in empty() function
[all …]
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.empty/
H A Dempty_view.pass.cpp25 std::ranges::empty_view<T> empty; in testType() local
27 assert(empty.begin() == nullptr); in testType()
28 assert(empty.end() == nullptr); in testType()
29 assert(empty.data() == nullptr); in testType()
30 assert(empty.size() == 0); in testType()
31 assert(empty.empty() == true); in testType()
33 assert(std::ranges::begin(empty) == nullptr); in testType()
34 assert(std::ranges::end(empty) == nullptr); in testType()
35 assert(std::ranges::data(empty) == nullptr); in testType()
36 assert(std::ranges::size(empty) == 0); in testType()
[all …]
/llvm-project/libcxx/test/std/containers/sequences/vector/vector.capacity/
H A Dempty.pass.cpp25 ASSERT_NOEXCEPT(c.empty()); in tests()
26 assert(c.empty()); in tests()
28 assert(!c.empty()); in tests()
30 assert(c.empty()); in tests()
36 ASSERT_NOEXCEPT(c.empty()); in tests()
37 assert(c.empty()); in tests()
39 assert(!c.empty()); in tests()
41 assert(c.empty()); in tests()
46 ASSERT_NOEXCEPT(c.empty()); in tests()
47 assert(c.empty()); in tests()
[all …]
/llvm-project/llvm/test/tools/llvm-libtool-darwin/
H A Dno-symbols-warning.test4 # RUN: yaml2obj --docnum=1 %s -o %t-x86_64-empty.o
5 # RUN: yaml2obj --docnum=2 %s -o %t-armv7-empty.o
6 # RUN: echo 'target triple = "arm64-apple-ios8.0.0"' | llvm-as -o %t-empty.bc
7 # RUN: yaml2obj %S/Inputs/input1.yaml -o %t-non-empty.o
9 # RUN: llvm-libtool-darwin -static -o %t.lib %t-x86_64-empty.o 2>&1 | \
12 # WARNING: warning: '[[PREFIX]]-x86_64-empty.o': has no symbols for architecture x86_64
14 # RUN: not llvm-libtool-darwin -static -warnings_as_errors -o %t-error.lib %t-x86_64-empty.o 2>&1 |…
17 # ERROR: error: '[[PREFIX]]-x86_64-empty.o': has no symbols for architecture x86_64
20 # RUN: %t-x86_64-empty.o 2>&1 | \
21 # RUN: FileCheck %s --allow-empty --implicit-check-not='warning:'
[all …]
/llvm-project/lld/test/MachO/
H A Dadhoc-codesign-hash.s4 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o %t/empty-arm64-macos.o %s
5 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-iossimulator -o %t/empty-arm64-iossimulator.o %s
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t/empty-x86_64-macos.o %s
8 # RUN: %lld -arch arm64 -dylib -adhoc_codesign -o %t/empty-arm64-macos.dylib %t/empty-arm64-macos.o
9 # RUN: %lld -arch arm64 -dylib -adhoc_codesign -o %t/empty-arm64-iossimulator.dylib %t/empty-arm64-…
10 # RUN: %lld -arch x86_64 -dylib -adhoc_codesign -o %t/empty-x86_64-macos.dylib %t/empty-x86_64-maco…
12 # RUN: obj2yaml %t/empty-arm64-macos.dylib | FileCheck %s -D#DATA_OFFSET=16432 -D#DATA_SIZE=304
13 # RUN: obj2yaml %t/empty-arm64-iossimulator.dylib | FileCheck %s -D#DATA_OFFSET=16432 -D#DATA_SIZE=…
14 # RUN: obj2yaml %t/empty-x86_64-macos.dylib | FileCheck %s -D#DATA_OFFSET=4144 -D#DATA_SIZE=208
21 # RUN: %python %p/Inputs/code-signature-check.py %t/empty-arm64-macos.dylib 16432 304 0 16432
[all …]
/llvm-project/llvm/unittests/Bitcode/
H A DBitReaderTest.cpp88 EXPECT_TRUE(F->empty()); in TEST()
89 EXPECT_TRUE(G->empty()); in TEST()
90 EXPECT_TRUE(H->empty()); in TEST()
91 EXPECT_TRUE(J->empty()); in TEST()
96 EXPECT_TRUE(F->empty()); in TEST()
97 EXPECT_TRUE(G->empty()); in TEST()
98 EXPECT_FALSE(H->empty()); in TEST()
99 EXPECT_TRUE(J->empty()); in TEST()
104 EXPECT_TRUE(F->empty()); in TEST()
105 EXPECT_FALSE(G->empty()); in TEST()
[all...]
/llvm-project/libcxx/test/std/language.support/support.srcloc/
H A Dgeneral.pass.cpp34 constexpr std::source_location empty; variable
35 static_assert(empty.line() == 0);
36 static_assert(empty.column() == 0);
37 static_assert(empty.file_name()[0] == '\0');
38 static_assert(empty.function_name()[0] == '\0');
40 ASSERT_NOEXCEPT(empty.line());
41 ASSERT_NOEXCEPT(empty.column());
42 ASSERT_NOEXCEPT(empty.file_name());
43 ASSERT_NOEXCEPT(empty.function_name());
44 std::same_as<std::uint_least32_t> auto line = empty.line();
[all …]
/llvm-project/libcxx/test/std/input.output/syncstream/syncbuf/syncstream.syncbuf.assign/
H A Dswap.pass.cpp50 assert(sstr1.str().empty()); in test_basic()
51 assert(sstr2.str().empty()); in test_basic()
82 assert(sstr1.str().empty()); in test_short_write_after_swap()
83 assert(sstr2.str().empty()); in test_short_write_after_swap()
109 assert(sstr1.str().empty()); in test_long_write_after_swap()
110 assert(sstr2.str().empty()); in test_long_write_after_swap()
138 assert(sstr1.str().empty()); in test_emit_on_sync()
139 assert(sstr2.str().empty()); in test_emit_on_sync()
142 assert(sstr1.str().empty()); in test_emit_on_sync()
143 assert(sstr2.str().empty()); in test_emit_on_sync()
[all …]
/llvm-project/llvm/test/tools/llvm-remarkutil/
H A Dempty-file.test1 RUN: not llvm-remarkutil yaml2bitstream %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --check-prefi…
2 RUN: not llvm-remarkutil instruction-count --parser=yaml %p/Inputs/empty-file -o - 2>&1 | FileCheck…
3 RUN: not llvm-remarkutil annotation-count --parser=yaml --annotation-type=remark %p/Inputs/empty-fi…
4 RUN: not llvm-remarkutil count --parser=yaml %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --check-…
5 RUN: llvm-remarkutil bitstream2yaml %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --allow-empty --c…
6 …util instruction-count --parser=bitstream %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --allow-em…
7 …parser=bitstream --annotation-type=remark %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --allow-em…
8 … llvm-remarkutil count --parser=bitstream %p/Inputs/empty-file -o - 2>&1 | FileCheck %s --allow-em…
12 ; An empty bitstream file is valid.
/llvm-project/llvm/test/CodeGen/PowerPC/
H A Demptystruct.ll3 ; This tests correct handling of empty aggregate parameters and return values.
4 ; An empty parameter passed by value does not consume a protocol register or
5 ; a parameter save area doubleword. An empty parameter passed by reference
6 ; is treated as any other pointer parameter. An empty aggregate return value
15 %struct.empty = type {}
17 …d @callee(ptr noalias sret(%struct.empty) %agg.result, ptr byval(%struct.empty) %a1, ptr %a2, ptr …
34 define void @caller(ptr noalias sret(%struct.empty) %agg.result) nounwind {
36 %e1 = alloca %struct.empty, align 1
37 %e2 = alloca %struct.empty, align 1
38 %e3 = alloca %struct.empty, align 1
[all …]
/llvm-project/clang/test/C/C23/
H A Dn2900_n3011.c13 … pedantic-warning {{use of an empty initializer is a C23 extension}} in test()
15 … pedantic-warning {{use of an empty initializer is a C23 extension}} in test()
17 pedantic-warning {{use of an empty initializer is a C23 extension}} in test()
26 pedantic-warning {{use of an empty initializer is a C23 extension}} \ in test()
27 … compat-warning {{use of an empty initializer is incompatible with C standards before C23}} in test()
29 pedantic-warning {{use of an empty initializer is a C23 extension}} in test()
34 … pedantic-warning {{use of an empty initializer is a C23 extension}}\ in test()
43 pedantic-warning {{use of an empty initializer is a C23 extension}} in test()
48 pedantic-warning {{use of an empty initializer is a C23 extension}} in test()
54 pedantic-warning {{use of an empty initializer is a C23 extension}} in test()
[all …]
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/
H A Dempty.pass.cpp25 t.empty();
47 static_assert(!std::invocable<decltype(std::ranges::empty), NoEmpty&>); in test()
49 static_assert(!std::invocable<decltype(std::ranges::empty), const NoEmpty&>); in test()
60 bool empty() const; in test()
63 static_assert(std::invocable<decltype(std::ranges::empty), EmptyMember&>); in test()
65 static_assert(std::invocable<decltype(std::ranges::empty), const EmptyMember&>); in test()
78 assert(ov.empty()); in test()
79 assert(std::as_const(ov).empty()); in test()
85 assert(!ov.empty()); in test()
86 assert(!std::as_const(ov).empty()); in test()
[all …]
/llvm-project/lldb/unittests/Utility/
H A DConstStringTest.cpp82 ConstString empty(""); in TEST() local
83 EXPECT_TRUE(!empty); in TEST()
84 EXPECT_TRUE(empty.IsEmpty()); in TEST()
85 EXPECT_FALSE(empty.IsNull()); in TEST()
91 EXPECT_TRUE(null.GetString().empty()); in TEST()
110 ConstString empty(""); in TEST() local
111 EXPECT_FALSE(empty == ConstString("bar")); in TEST()
112 EXPECT_FALSE(empty == ConstString()); in TEST()
113 EXPECT_TRUE(empty == ConstString("")); in TEST()
129 ConstString empty(""); in TEST() local
[all …]
/llvm-project/libcxx/test/std/containers/container.node/
H A Dnode_handle.nodiscard.verify.cpp26 …node.empty(); // expected-warning {{ignoring return value of function declared with 'nodiscard' at… in test()
30 …node.empty(); // expected-warning {{ignoring return value of function declared with 'nodiscard' at… in test()
35 …node.empty(); // expected-warning {{ignoring return value of function declared with 'nodiscard' at… in test()
39 …node.empty(); // expected-warning {{ignoring return value of function declared with 'nodiscard' at… in test()
43 …node.empty(); // expected-warning {{ignoring return value of function declared with 'nodiscard' at… in test()
47 …node.empty(); // expected-warning {{ignoring return value of function declared with 'nodiscard' at… in test()
51 …node.empty(); // expected-warning {{ignoring return value of function declared with 'nodiscard' at… in test()
55 …node.empty(); // expected-warning {{ignoring return value of function declared with 'nodiscard' at… in test()
/llvm-project/libcxx/test/std/containers/sequences/forwardlist/
H A Dempty.pass.cpp26 ASSERT_NOEXCEPT(c.empty()); in main()
27 assert(c.empty()); in main()
29 assert(!c.empty()); in main()
31 assert(c.empty()); in main()
37 ASSERT_NOEXCEPT(c.empty()); in main()
38 assert(c.empty()); in main()
40 assert(!c.empty()); in main()
42 assert(c.empty()); in main()
/llvm-project/libcxx/test/std/containers/sequences/list/list.capacity/
H A Dempty.pass.cpp26 ASSERT_NOEXCEPT(c.empty()); in main()
27 assert(c.empty()); in main()
29 assert(!c.empty()); in main()
31 assert(c.empty()); in main()
37 ASSERT_NOEXCEPT(c.empty()); in main()
38 assert(c.empty()); in main()
40 assert(!c.empty()); in main()
42 assert(c.empty()); in main()
/llvm-project/libcxx/test/std/containers/sequences/vector.bool/
H A Dempty.pass.cpp26 ASSERT_NOEXCEPT(c.empty()); in tests()
27 assert(c.empty()); in tests()
29 assert(!c.empty()); in tests()
31 assert(c.empty()); in tests()
37 ASSERT_NOEXCEPT(c.empty()); in tests()
38 assert(c.empty()); in tests()
40 assert(!c.empty()); in tests()
42 assert(c.empty()); in tests()

12345678910>>...213