Lines Matching refs:gc
9 ; Exercise the most general case, llvm_anyptr_type, using gc.relocate
10 ; and gc.statepoint. Note that it has nothing to do with gc.*
15 define i32* @test_iAny(i32* %v) gc "statepoint-example" {
16 …%tok = call token (i64, i32, i1 ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_i1f(i64 0…
17 %v-new = call i32* @llvm.experimental.gc.relocate.p0i32(token %tok, i32 7, i32 7)
22 define float* @test_fAny(float* %v) gc "statepoint-example" {
23 …%tok = call token (i64, i32, i1 ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_i1f(i64 0…
24 %v-new = call float* @llvm.experimental.gc.relocate.p0f32(token %tok, i32 7, i32 7)
29 define [3 x i32]* @test_aAny([3 x i32]* %v) gc "statepoint-example" {
30 …%tok = call token (i64, i32, i1 ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_i1f(i64 0…
31 %v-new = call [3 x i32]* @llvm.experimental.gc.relocate.p0a3i32(token %tok, i32 7, i32 7)
36 define <3 x i32>* @test_vAny(<3 x i32>* %v) gc "statepoint-example" {
37 …%tok = call token (i64, i32, i1 ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_i1f(i64 0…
38 %v-new = call <3 x i32>* @llvm.experimental.gc.relocate.p0v3i32(token %tok, i32 7, i32 7)
45 define %struct.test* @test_struct(%struct.test* %v) gc "statepoint-example" {
46 …%tok = call token (i64, i32, i1 ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_i1f(i64 0…
47 …%v-new = call %struct.test* @llvm.experimental.gc.relocate.p0struct.test(token %tok, i32 7, i32 7)
52 declare token @llvm.experimental.gc.statepoint.p0f_i1f(i64, i32, i1 ()*, i32, i32, ...)
53 declare i32* @llvm.experimental.gc.relocate.p0i32(token, i32, i32)
54 declare float* @llvm.experimental.gc.relocate.p0f32(token, i32, i32)
55 declare [3 x i32]* @llvm.experimental.gc.relocate.p0a3i32(token, i32, i32)
56 declare <3 x i32>* @llvm.experimental.gc.relocate.p0v3i32(token, i32, i32)
57 declare %struct.test* @llvm.experimental.gc.relocate.p0struct.test(token, i32, i32)