| /llvm-project-15.0.7/llvm/test/Transforms/CorrelatedValuePropagation/ |
| H A D | guards.ll | 7 ; CHECK: %alive = icmp eq i32 %a, 8 12 %alive = icmp eq i32 %a, 8 13 %result = or i1 %dead, %alive 28 %alive = icmp eq i32 %a, 8 29 %result = or i1 %dead, %alive 38 ; CHECK-NEXT: %result = or i1 %alive.1, %alive.2 50 %alive.1 = icmp eq i32 %a, 16 51 %alive.2 = icmp eq i32 %a, 8 52 %result = or i1 %alive.1, %alive.2 75 %alive = icmp eq i32 %a, 12 [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.coroutines/end.to.end/ |
| H A D | fullexpr-dtor.pass.cpp | 17 int alive = 0; variable 21 assert(alive == 0); in reset() 22 alive = 0; in reset() 54 assert(alive == 1); in a() 59 assert(alive == 0); in a() 69 assert(alive == 0); in b() 73 assert(alive == 0); in b() 81 assert(alive == 1); in c() 85 assert(alive == 0); in c() 96 assert(alive == 0); in d() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/ |
| H A D | fullexpr-dtor.pass.cpp | 18 int alive = 0; variable 22 assert(alive == 0); in reset() 23 alive = 0; in reset() 61 assert(alive == 1); in a() 66 assert(alive == 0); in a() 76 assert(alive == 0); in b() 80 assert(alive == 0); in b() 88 assert(alive == 1); in c() 92 assert(alive == 0); in c() 103 assert(alive == 0); in d() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
| H A D | move.pass.cpp | 29 static int alive; member 31 X() { ++alive; } in X() 36 ++alive; in X() 46 ~X() { assert(alive > 0); --alive; } in ~X() 52 int X::alive = 0; member in X 100 assert(T::alive == 1); in main() 102 assert(T::alive == 0); in main() 136 X::alive = 0; in main() 140 assert(X::alive == 1); in main() 155 assert(X::alive == 0); in main() [all …]
|
| H A D | const_optional_U.pass.cpp | 91 assert(T::alive == 1); in test_with_test_type() 101 assert(T::alive == 0); in test_with_test_type() 107 assert(T::alive == 1); in test_with_test_type() 117 assert(T::alive == 0); in test_with_test_type() 123 assert(T::alive == 0); in test_with_test_type() 130 assert(T::alive == 0); in test_with_test_type() 136 assert(T::alive == 0); in test_with_test_type() 143 assert(T::alive == 0); in test_with_test_type()
|
| H A D | emplace.pass.cpp | 124 assert(T::alive == 0); in test_on_test_type() 129 assert(T::alive == 1); in test_on_test_type() 141 assert(T::alive == 1); in test_on_test_type() 153 assert(T::alive == 1); in test_on_test_type() 165 assert(T::alive == 1); in test_on_test_type() 177 assert(T::alive == 1); in test_on_test_type() 189 assert(T::alive == 1); in test_on_test_type() 201 assert(T::alive == 1); in test_on_test_type()
|
| H A D | nullopt_t.pass.cpp | 82 assert(TT::alive == 0); in main() 86 assert(TT::alive == 0); in main() 95 assert(TT::alive == 0); in main() 99 assert(TT::alive == 0); in main()
|
| H A D | optional_U.pass.cpp | 97 assert(T::alive == 1); in test_with_test_type() 107 assert(T::alive == 0); in test_with_test_type() 113 assert(T::alive == 1); in test_with_test_type() 123 assert(T::alive == 0); in test_with_test_type() 129 assert(T::alive == 0); in test_with_test_type() 136 assert(T::alive == 0); in test_with_test_type() 142 assert(T::alive == 0); in test_with_test_type() 149 assert(T::alive == 0); in test_with_test_type()
|
| H A D | assign_value.pass.cpp | 91 assert(T::alive == 1); in test_with_test_type() 103 assert(T::alive == 1); in test_with_test_type() 115 assert(T::alive == 1); in test_with_test_type() 128 assert(T::alive == 1); in test_with_test_type() 141 assert(T::alive == 1); in test_with_test_type() 155 assert(T::alive == 0); in test_with_test_type()
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | variant_test_helpers.h | 43 static int alive; member 44 MoveThrows() { ++alive; } in MoveThrows() 45 MoveThrows(MoveThrows const&) {++alive;} in MoveThrows() 49 ~MoveThrows() { --alive; } in ~MoveThrows() 52 int MoveThrows::alive = 0; 55 static int alive; member 56 MakeEmptyT() { ++alive; } in MakeEmptyT() 58 ++alive; in MakeEmptyT() 71 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() 75 int MakeEmptyT::alive = 0;
|
| H A D | archetypes.h | 39 static int alive; member 52 assert(alive == 0); in reset() 53 alive = 0; in reset() 68 ++alive; ++constructed; ++value_constructed; in TestBase() 72 ++alive; ++constructed; ++value_constructed; in TestBase() 76 ++alive; ++constructed; ++value_constructed; in TestBase() 80 ++alive; ++constructed; ++value_constructed; in TestBase() 100 assert(value != -999); assert(alive > 0); in ~TestBase() 101 --alive; ++destroyed; value = -999; in ~TestBase() 105 ++alive; ++constructed; ++copy_constructed; in TestBase() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.assign/ |
| H A D | copy.pass.cpp | 52 static int alive; member 62 ++alive; in CopyAssign() 67 ++alive; in CopyAssign() 81 ~CopyAssign() { --alive; } in ~CopyAssign() 85 int CopyAssign::alive = 0; member in CopyAssign 150 static int alive; member 161 static int alive; member 170 int MoveThrows::alive = 0; member in MoveThrows 173 static int alive; member 176 ++alive; in MakeEmptyT() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
| H A D | move.pass.cpp | 94 assert(T::alive == 1); in test_reference_extension() 100 assert(T::alive == 0); in test_reference_extension() 108 assert(T::alive == 1); in test_reference_extension() 113 assert(T::alive == 0); in test_reference_extension() 120 assert(T::alive == 1); in test_reference_extension() 125 assert(T::alive == 0); in test_reference_extension() 134 assert(T::alive == 1); in test_reference_extension() 139 assert(T::alive == 0); in test_reference_extension() 165 assert(T::alive == 0); in main() 169 assert(T::alive == 0); in main() [all …]
|
| H A D | copy.pass.cpp | 88 assert(T::alive == 1); in test_reference_extension() 94 assert(T::alive == 0); in test_reference_extension() 102 assert(T::alive == 1); in test_reference_extension() 107 assert(T::alive == 0); in test_reference_extension() 132 assert(T::alive == 0); in main() 135 assert(T::alive == 0); in main() 142 assert(T::alive == 1); in main() 148 assert(T::alive == 2); in main()
|
| H A D | rvalue_T.pass.cpp | 72 assert(T::alive == 1); in main() 82 assert(T::alive == 1); in main() 91 assert(T::alive == 1); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
| H A D | make_shared.array.unbounded.pass.cpp | 155 assert(DestroyInReverseOrder::alive() == 8); in main() 157 assert(DestroyInReverseOrder::alive() == 0); in main() 164 assert(DestroyInReverseOrder::alive() == 8 * 3); in main() 166 assert(DestroyInReverseOrder::alive() == 0); in main() 175 assert(DestroyInReverseOrder::alive() == 0); in main() 326 assert(DestroyInReverseOrder::alive() == 0); in main() 339 assert(DestroyInReverseOrder::alive() == 0); in main() 352 assert(DestroyInReverseOrder::alive() == 0); in main() 369 assert(DestroyInReverseOrder::alive() == 1); in main() 384 assert(DestroyInReverseOrder::alive() == 3); in main() [all …]
|
| H A D | make_shared.array.bounded.pass.cpp | 114 assert(DestroyInReverseOrder::alive() == 8); in main() 116 assert(DestroyInReverseOrder::alive() == 0); in main() 123 assert(DestroyInReverseOrder::alive() == 8 * 3); in main() 125 assert(DestroyInReverseOrder::alive() == 0); in main() 132 assert(DestroyInReverseOrder::alive() == 8 * 3 * 2); in main() 134 assert(DestroyInReverseOrder::alive() == 0); in main() 285 assert(DestroyInReverseOrder::alive() == 0); in main() 298 assert(DestroyInReverseOrder::alive() == 0); in main() 311 assert(DestroyInReverseOrder::alive() == 0); in main() 328 assert(DestroyInReverseOrder::alive() == 1); in main() [all …]
|
| H A D | allocate_shared.array.bounded.pass.cpp | 115 assert(DestroyInReverseOrder::alive() == 8); in main() 117 assert(DestroyInReverseOrder::alive() == 0); in main() 124 assert(DestroyInReverseOrder::alive() == 8 * 3); in main() 126 assert(DestroyInReverseOrder::alive() == 0); in main() 133 assert(DestroyInReverseOrder::alive() == 8 * 3 * 2); in main() 135 assert(DestroyInReverseOrder::alive() == 0); in main() 286 assert(DestroyInReverseOrder::alive() == 0); in main() 299 assert(DestroyInReverseOrder::alive() == 0); in main() 312 assert(DestroyInReverseOrder::alive() == 0); in main() 329 assert(DestroyInReverseOrder::alive() == 1); in main() [all …]
|
| H A D | allocate_shared.array.unbounded.pass.cpp | 157 assert(DestroyInReverseOrder::alive() == 8); in main() 159 assert(DestroyInReverseOrder::alive() == 0); in main() 166 assert(DestroyInReverseOrder::alive() == 8 * 3); in main() 168 assert(DestroyInReverseOrder::alive() == 0); in main() 177 assert(DestroyInReverseOrder::alive() == 0); in main() 328 assert(DestroyInReverseOrder::alive() == 0); in main() 341 assert(DestroyInReverseOrder::alive() == 0); in main() 354 assert(DestroyInReverseOrder::alive() == 0); in main() 371 assert(DestroyInReverseOrder::alive() == 1); in main() 386 assert(DestroyInReverseOrder::alive() == 3); in main() [all …]
|
| /llvm-project-15.0.7/llvm/test/Analysis/MemoryDependenceAnalysis/ |
| H A D | InvariantLoad.ll | 24 ; CHECK: alive: 47 br label %alive 48 alive: 77 ; CHECK: alive: 89 br label %alive 93 br label %alive 94 alive: 115 ; CHECK: alive: 126 br label %alive 130 br label %alive [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/ |
| H A D | do_allocate_and_deallocate.pass.cpp | 49 assert(P.alive == 1); in check_allocate_deallocate() 56 assert(P.alive == 0); in check_allocate_deallocate() 76 assert(P.alive == 1); in check_alloc_max_size() 81 assert(P.alive == 0); in check_alloc_max_size()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | lifetime-sanitizer.ll | 17 call void @foo(i8* %text) ; Keep alloca alive 32 call void @foo(i8* %text) ; Keep alloca alive 47 call void @foo(i8* %text) ; Keep alloca alive 61 call void @foo(i8* %text) ; Keep alloca alive
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/ |
| H A D | dead-strip.c | 14 int alive[1] = {}; variable 20 alive[argc] = 0; in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/ |
| H A D | lifetime-sanitizer.ll | 24 call void @foo(i8* %text) ; Keep alloca alive 39 call void @foo(i8* %text) ; Keep alloca alive 54 call void @foo(i8* %text) ; Keep alloca alive 68 call void @foo(i8* %text) ; Keep alloca alive
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
| H A D | copy.pass.cpp | 78 static int alive; member 79 MakeEmptyT() { ++alive; } in MakeEmptyT() 81 ++alive; in MakeEmptyT() 88 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() 91 int MakeEmptyT::alive = 0; member in MakeEmptyT
|