Home
last modified time | relevance | path

Searched refs:alive (Results 1 – 25 of 109) sorted by relevance

12345

/llvm-project-15.0.7/llvm/test/Transforms/CorrelatedValuePropagation/
H A Dguards.ll7 ; 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 Dfullexpr-dtor.pass.cpp17 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 Dfullexpr-dtor.pass.cpp18 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 Dmove.pass.cpp29 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 Dconst_optional_U.pass.cpp91 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 Demplace.pass.cpp124 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 Dnullopt_t.pass.cpp82 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 Doptional_U.pass.cpp97 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 Dassign_value.pass.cpp91 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 Dvariant_test_helpers.h43 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 Darchetypes.h39 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 Dcopy.pass.cpp52 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 Dmove.pass.cpp94 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 Dcopy.pass.cpp88 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 Drvalue_T.pass.cpp72 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 Dmake_shared.array.unbounded.pass.cpp155 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 Dmake_shared.array.bounded.pass.cpp114 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 Dallocate_shared.array.bounded.pass.cpp115 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 Dallocate_shared.array.unbounded.pass.cpp157 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 DInvariantLoad.ll24 ; 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 Ddo_allocate_and_deallocate.pass.cpp49 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 Dlifetime-sanitizer.ll17 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 Ddead-strip.c14 int alive[1] = {}; variable
20 alive[argc] = 0; in main()
/llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/
H A Dlifetime-sanitizer.ll24 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 Dcopy.pass.cpp78 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

12345