Home
last modified time | relevance | path

Searched refs:testval (Results 1 – 13 of 13) sorted by relevance

/llvm-project/llvm/test/Transforms/Coroutines/
H A Dcoro-split-sink-lifetime-01.ll18 %testval = alloca i32
19 ; lifetime of %testval starts here, but not used until await.ready.
20 call void @llvm.lifetime.start.p0(i64 4, ptr %testval)
34 %test = load i32, ptr %testval
36 call void @llvm.lifetime.end.p0(i64 4, ptr %testval)
45 ; CHECK: %testval = alloca i32, align 4
46 ; CHECK: call void @llvm.lifetime.start.p0(i64 4, ptr %testval)
48 ; CHECK-NEXT: %test = load i32, ptr %testval
50 ; CHECK-NEXT: call void @llvm.lifetime.end.p0(i64 4, ptr %testval)
57 %testval = alloca i32
[all …]
H A Dcoro-alloca-08.ll12 ; The lifetime of testval starts and ends before coro.suspend. Even though consume.i8.array
16 %testval = alloca %i8.array
21 call void @llvm.lifetime.start.p0(i64 100, ptr %testval)
22 call void @consume.i8.array(ptr %testval)
23 call void @llvm.lifetime.end.p0(i64 100, ptr %testval)
39 ; The lifetime of testval starts after coro.suspend. So it will never live across suspension
43 %testval = alloca %i8.array
56 call void @llvm.lifetime.start.p0(i64 100, ptr %testval)
57 call void @consume.i8.array(ptr %testval)
58 call void @llvm.lifetime.end.p0(i64 100, ptr %testval)
[all …]
H A Dcoro-split-sink-lifetime-03.ll18 %testval = alloca %i8.array
19 ; lifetime of %testval starts here, but not used until await.ready.
20 call void @llvm.lifetime.start.p0(i64 100, ptr %testval)
34 call void @consume.i8.array(ptr %testval)
35 call void @llvm.lifetime.end.p0(i64 100, ptr %testval)
43 ; CHECK: %testval = alloca %i8.array
44 ; CHECK: call void @llvm.lifetime.start.p0(i64 100, ptr %testval)
46 ; CHECK-NEXT: call void @consume.i8.array(ptr %testval)
47 ; CHECK-NEXT: call void @llvm.lifetime.end.p0(i64 100, ptr %testval)
H A Dcoro-split-sink-lifetime-04.ll16 %testval = alloca i8
17 ; lifetime of %testval starts here, but not used until await.ready.
18 call void @llvm.lifetime.start.p0(i64 1, ptr %testval)
32 %test = load i8, ptr %testval
34 call void @llvm.lifetime.end.p0(i64 1, ptr %testval)
43 ; CHECK: %testval = alloca i8, align 1
44 ; CHECK: call void @llvm.lifetime.start.p0(i64 1, ptr %testval)
46 ; CHECK-NEXT: %test = load i8, ptr %testval
48 ; CHECK-NEXT: call void @llvm.lifetime.end.p0(i64 1, ptr %testval)
H A Dcoro-split-02.ll16 %testval = alloca i32
30 call void @llvm.lifetime.start.p0(i64 4, ptr %testval)
31 %test = load i32, ptr %testval
33 call void @llvm.lifetime.end.p0(i64 4, ptr %testval)
42 ; CHECK: %testval = alloca i32
45 ; CHECK-NEXT: call void @llvm.lifetime.start.p0(i64 4, ptr %testval)
46 ; CHECK-NEXT: %test = load i32, ptr %testval
48 ; CHECK-NEXT: call void @llvm.lifetime.end.p0(i64 4, ptr %testval)
H A Dcoro-alloca-09.ll12 ; The testval lives across suspend point so that it should be put on the frame.
13 ; However, part of testval has lifetime marker which indicates the part
15 ; This test whether or not %testval would be put on the frame by ignoring the
19 %testval = alloca %i8.array
20 %subrange = getelementptr inbounds %i8.array, ptr %testval, i64 0, i32 0, i64 50
28 store ptr %testval, ptr %to_store
44 ; Verify that for both foo and bar, testval isn't put on the frame.
H A Dcoro-lifetime-end.ll11 ; testval does not contain an explicit lifetime end. We must assume that it may
29 %testval = alloca %i8.array
34 call void @llvm.lifetime.start.p0(i64 100, ptr %testval)
35 call void @consume.i8.array(ptr %testval)
66 %testval = alloca %i8.array
71 call void @llvm.lifetime.start.p0(i64 100, ptr %testval)
72 call void @consume.i8.array(ptr %testval)
84 call void @llvm.lifetime.end.p0(i64 100, ptr %testval)
105 %testval = alloca %i8.array
110 call void @llvm.lifetime.start.p0(i64 100, ptr %testval)
[all...]
H A Dcoro-split-sink-lifetime-02.ll16 %testval = alloca i32
17 ; lifetime of %testval starts here, but not used until await.ready.
18 call void @llvm.lifetime.start.p0(i64 4, ptr %testval)
39 %test = load i32, ptr %testval
45 %test1 = load i32, ptr %testval
47 call void @llvm.lifetime.end.p0(i64 4, ptr %testval)
56 ; CHECK: %[[VAL:testval.+]] = getelementptr inbounds %a.Frame
/llvm-project/llvm/test/Transforms/Inline/ML/
H A Dstate-tracking-coro.ll20 %testval = alloca i32
34 call void @llvm.lifetime.start.p0(i64 4, ptr %testval)
35 %test = load i32, ptr %testval
37 call void @llvm.lifetime.end.p0(i64 4, ptr %testval)
/llvm-project/clang/test/SemaCXX/
H A Dreinterpret-cast.cpp5 enum test { testval = 1 }; enumerator
18 test e = testval; in self_conversion()
41 void *vp = reinterpret_cast<void*>(testval); in integral_conversion()
H A Dcstyle-cast.cpp168 enum test { testval = 1 }; enumerator
175 void *vp = (void*)(testval); in integral_conversion()
H A Dfunctional-cast.cpp230 enum test { testval = 1 }; enumerator
238 void *vp = voidp(testval); in integral_conversion()
/llvm-project/llvm/test/CodeGen/AArch64/
H A Daarch64-tls-flags.ll29 %testval = load i32, ptr @test