llvm.org GIT mirror llvm / 666ef77
DebugInfo: Add missing !dbg attachments to intrinsics Add missing `!dbg` attachments to `@llvm.dbg.*` intrinsics. I updated these using a script (add-dbg-to-intrinsics.sh) that I'll attach to PR22778 for posterity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235040 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan P. N. Exon Smith 4 years ago
32 changed file(s) with 59 addition(s) and 59 deletion(s). Raw diff Collapse all Expand all
1212 define i32 @main() nounwind readonly {
1313 %diff1 = alloca i64 ; [#uses=2]
1414 ; CHECK: call void @llvm.dbg.value(metadata i64 72,
15 call void @llvm.dbg.declare(metadata i64* %diff1, metadata !0, metadata !MDExpression())
15 call void @llvm.dbg.declare(metadata i64* %diff1, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
1616 store i64 72, i64* %diff1, align 8
1717 %v1 = load %struct.test*, %struct.test** @TestArrayPtr, align 8 ; <%struct.test*> [#uses=1]
1818 %v2 = ptrtoint %struct.test* %v1 to i64 ; [#uses=1]
88 br label %do.body, !dbg !0
99
1010 do.body: ; preds = %entry
11 call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !MDExpression())
11 call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !MDExpression()), !dbg !MDLocation(scope: !5)
1212 %conv = ptrtoint i32* %count_ to i32, !dbg !0 ; [#uses=1]
1313 %call = call i32 @foo(i32 %conv) ssp, !dbg !0 ; [#uses=0]
1414 br label %do.end, !dbg !0
44
55 define hidden i32 @__addvsi3(i32 %a, i32 %b) nounwind {
66 entry:
7 tail call void @llvm.dbg.value(metadata i32 %b, i64 0, metadata !0, metadata !MDExpression())
7 tail call void @llvm.dbg.value(metadata i32 %b, i64 0, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
88 %0 = add nsw i32 %b, %a, !dbg !9 ; [#uses=1]
99 ret i32 %0, !dbg !11
1010 }
33 %0 = type { i32, i32 }
44
55 define void @t(%0*, i32, i32, i32, i32) nounwind {
6 tail call void @llvm.dbg.value(metadata %0* %0, i64 0, metadata !0, metadata !MDExpression())
6 tail call void @llvm.dbg.value(metadata %0* %0, i64 0, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !MDSubprogram())
77 unreachable
88 }
99
88 br label %do.body, !dbg !0
99
1010 do.body: ; preds = %entry
11 call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !MDExpression())
11 call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !MDExpression()), !dbg !MDLocation(scope: !5)
1212 %conv = ptrtoint i32* %count_ to i32, !dbg !0 ; [#uses=1]
1313 %call = call i32 @foo(i32 %conv) ssp, !dbg !0 ; [#uses=0]
1414 br label %do.end, !dbg !0
77
88 define i32 @"main(tart.core.String[])->int32"(i32 %args) {
99 entry:
10 tail call void @llvm.dbg.value(metadata %tart.reflect.ComplexType* @.type.SwitchStmtTest, i64 0, metadata !8, metadata !MDExpression())
10 tail call void @llvm.dbg.value(metadata %tart.reflect.ComplexType* @.type.SwitchStmtTest, i64 0, metadata !8, metadata !MDExpression()), !dbg !MDLocation(scope: !9)
1111 tail call void @"tart.reflect.ComplexType.create->tart.core.Object"(%tart.reflect.ComplexType* @.type.SwitchStmtTest) ; <%tart.core.Object*> [#uses=2]
1212 ret i32 3
1313 }
99
1010 define hidden %0 @__divsc3(float %a, float %b, float %c, float %d) nounwind readnone {
1111 entry:
12 tail call void @llvm.dbg.value(metadata float %a, i64 0, metadata !0, metadata !MDExpression())
13 tail call void @llvm.dbg.value(metadata float %b, i64 0, metadata !11, metadata !MDExpression())
14 tail call void @llvm.dbg.value(metadata float %c, i64 0, metadata !12, metadata !MDExpression())
15 tail call void @llvm.dbg.value(metadata float %d, i64 0, metadata !13, metadata !MDExpression())
12 tail call void @llvm.dbg.value(metadata float %a, i64 0, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
13 tail call void @llvm.dbg.value(metadata float %b, i64 0, metadata !11, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
14 tail call void @llvm.dbg.value(metadata float %c, i64 0, metadata !12, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
15 tail call void @llvm.dbg.value(metadata float %d, i64 0, metadata !13, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
1616 %0 = tail call float @fabsf(float %c) nounwind readnone, !dbg !19 ; [#uses=1]
1717 %1 = tail call float @fabsf(float %d) nounwind readnone, !dbg !19 ; [#uses=1]
1818 %2 = fcmp olt float %0, %1, !dbg !19 ; [#uses=1]
88
99 define i8* @bar(%struct.a* %myvar) nounwind optsize noinline ssp {
1010 entry:
11 tail call void @llvm.dbg.value(metadata %struct.a* %myvar, i64 0, metadata !8, metadata !MDExpression())
11 tail call void @llvm.dbg.value(metadata %struct.a* %myvar, i64 0, metadata !8, metadata !MDExpression()), !dbg !MDLocation(scope: !9)
1212 %0 = getelementptr inbounds %struct.a, %struct.a* %myvar, i64 0, i32 0, !dbg !28 ; [#uses=1]
1313 %1 = load i32, i32* %0, align 8, !dbg !28 ; [#uses=1]
1414 tail call void @foo(i32 %1) nounwind optsize noinline ssp, !dbg !28
33
44 define i32 @foo(i32 %y) nounwind optsize ssp {
55 entry:
6 tail call void @llvm.dbg.value(metadata i32 %y, i64 0, metadata !0, metadata !MDExpression())
6 tail call void @llvm.dbg.value(metadata i32 %y, i64 0, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
77 %0 = tail call i32 (...)* @zoo(i32 %y) nounwind, !dbg !9 ; [#uses=1]
88 ret i32 %0, !dbg !9
99 }
1414
1515 define i32 @bar(i32 %x) nounwind optsize ssp {
1616 entry:
17 tail call void @llvm.dbg.value(metadata i32 %x, i64 0, metadata !7, metadata !MDExpression())
18 tail call void @llvm.dbg.value(metadata i32 1, i64 0, metadata !0, metadata !MDExpression()) nounwind
17 tail call void @llvm.dbg.value(metadata i32 %x, i64 0, metadata !7, metadata !MDExpression()), !dbg !MDLocation(scope: !8)
18 tail call void @llvm.dbg.value(metadata i32 1, i64 0, metadata !0, metadata !MDExpression()) nounwind, !dbg !MDLocation(scope: !1)
1919 %0 = tail call i32 (...)* @zoo(i32 1) nounwind, !dbg !12 ; [#uses=1]
2020 %1 = add nsw i32 %0, %x, !dbg !13 ; [#uses=1]
2121 ret i32 %1, !dbg !13
99 define i32 @_ZN3foo3bazEi(%struct.foo* nocapture %this, i32 %x) nounwind readnone optsize noinline ssp align 2 {
1010 ;CHECK: DEBUG_VALUE: baz:this <- RDI{{$}}
1111 entry:
12 tail call void @llvm.dbg.value(metadata %struct.foo* %this, i64 0, metadata !15, metadata !MDExpression())
13 tail call void @llvm.dbg.value(metadata i32 %x, i64 0, metadata !16, metadata !MDExpression())
12 tail call void @llvm.dbg.value(metadata %struct.foo* %this, i64 0, metadata !15, metadata !MDExpression()), !dbg !MDLocation(scope: !8)
13 tail call void @llvm.dbg.value(metadata i32 %x, i64 0, metadata !16, metadata !MDExpression()), !dbg !MDLocation(scope: !8)
1414 %0 = mul nsw i32 %x, 7, !dbg !29 ; [#uses=1]
1515 %1 = add nsw i32 %0, 1, !dbg !29 ; [#uses=1]
1616 ret i32 %1, !dbg !29
1515
1616 define signext i16 @subdivp(%struct.node.0.27* nocapture %p, double %dsq, double %tolsq, %struct.hgstruct.2.29* nocapture byval align 8 %hg) nounwind uwtable readonly ssp {
1717 entry:
18 call void @llvm.dbg.declare(metadata %struct.hgstruct.2.29* %hg, metadata !4, metadata !MDExpression())
18 call void @llvm.dbg.declare(metadata %struct.hgstruct.2.29* %hg, metadata !4, metadata !MDExpression()), !dbg !MDLocation(scope: !14)
1919 %type = getelementptr inbounds %struct.node.0.27, %struct.node.0.27* %p, i64 0, i32 0
2020 %0 = load i16, i16* %type, align 2
2121 %cmp = icmp eq i16 %0, 1
4242 br label %if.then4073
4343
4444 if.then4073: ; preds = %if.then3344
45 call void @llvm.dbg.declare(metadata [20 x i8]* %num14075, metadata !4, metadata !MDExpression())
45 call void @llvm.dbg.declare(metadata [20 x i8]* %num14075, metadata !4, metadata !MDExpression()), !dbg !MDLocation(scope: !5)
4646 %arraydecay4078 = getelementptr inbounds [20 x i8], [20 x i8]* %num14075, i64 0, i64 0
4747 %0 = load i32, i32* undef, align 4
4848 %add4093 = add nsw i32 %0, 0
107107 unreachable
108108
109109 cond.end: ; preds = %entry
110 call void @llvm.dbg.declare(metadata %"class.__gnu_cxx::hash_map"* %X, metadata !31, metadata !MDExpression())
110 call void @llvm.dbg.declare(metadata %"class.__gnu_cxx::hash_map"* %X, metadata !31, metadata !MDExpression()), !dbg !MDLocation(scope: !37)
111111 %_M_num_elements.i.i.i.i = getelementptr inbounds %"class.__gnu_cxx::hash_map", %"class.__gnu_cxx::hash_map"* %X, i64 0, i32 0, i32 5
112112 invoke void @_Znwm()
113113 to label %exit.i unwind label %lpad2.i.i.i.i
1919 unreachable
2020
2121 if.end: ; preds = %entry
22 call void @llvm.dbg.declare(metadata %struct.btCompoundLeafCallback* %callback, metadata !3, metadata !MDExpression())
22 call void @llvm.dbg.declare(metadata %struct.btCompoundLeafCallback* %callback, metadata !3, metadata !MDExpression()), !dbg !MDLocation(scope: !2)
2323 %m = getelementptr inbounds %struct.btCompoundLeafCallback, %struct.btCompoundLeafCallback* %callback, i64 0, i32 1
2424 store i32 0, i32* undef, align 8
2525 %cmp12447 = icmp sgt i32 undef, 0
1616 for.body:
1717 call void @llvm.lifetime.end(i64 -1, i8* %0) nounwind
1818 call void @llvm.lifetime.start(i64 -1, i8* %x.i) nounwind
19 call void @llvm.dbg.declare(metadata i8* %x.i, metadata !22, metadata !MDExpression()) nounwind
19 call void @llvm.dbg.declare(metadata i8* %x.i, metadata !22, metadata !MDExpression()) nounwind, !dbg !MDLocation(scope: !2)
2020 br label %for.body
2121 }
2222
4343 define zeroext i1 @_ZN3Foo3batEv(%struct.Foo* %this) #0 align 2 {
4444 entry:
4545 %0 = load %struct.Foo*, %struct.Foo** @pfoo, align 8
46 tail call void @llvm.dbg.value(metadata %struct.Foo* %0, i64 0, metadata !62, metadata !MDExpression())
46 tail call void @llvm.dbg.value(metadata %struct.Foo* %0, i64 0, metadata !62, metadata !MDExpression()), !dbg !MDLocation(scope: !MDSubprogram())
4747 %cmp.i = icmp eq %struct.Foo* %0, %this
4848 ret i1 %cmp.i
4949 }
5252 define void @_Z3bazv() #1 {
5353 entry:
5454 %0 = load %struct.Wibble*, %struct.Wibble** @wibble1, align 8
55 tail call void @llvm.dbg.value(metadata %struct.Flibble* undef, i64 0, metadata !65, metadata !MDExpression())
55 tail call void @llvm.dbg.value(metadata %struct.Flibble* undef, i64 0, metadata !65, metadata !MDExpression()), !dbg !MDLocation(scope: !MDSubprogram())
5656 %1 = load %struct.Wibble*, %struct.Wibble** @wibble2, align 8
5757 %cmp.i = icmp ugt %struct.Wibble* %1, %0
5858 br i1 %cmp.i, label %if.then.i, label %_ZN7Flibble3barEP6Wibble.exit
3131 unreachable
3232
3333 if.end41.i2210: ; preds = %if.end511
34 call void @llvm.dbg.value(metadata x86_fp80 %src.sroa.0.0.src.sroa.0.0.2280, i64 0, metadata !20, metadata !MDExpression())
34 call void @llvm.dbg.value(metadata x86_fp80 %src.sroa.0.0.src.sroa.0.0.2280, i64 0, metadata !20, metadata !MDExpression()), !dbg !MDLocation(scope: !4)
3535 unreachable
3636
3737 sw.bb992: ; preds = %if.end511
4646 entry:
4747 %c = alloca %class.C, align 1
4848 %0 = load i8, i8* @argc, align 1
49 tail call void @llvm.dbg.value(metadata i8 %0, i64 0, metadata !19, metadata !29)
49 tail call void @llvm.dbg.value(metadata i8 %0, i64 0, metadata !19, metadata !29), !dbg !MDLocation(scope: !13)
5050 %conv = sext i8 %0 to i32
51 tail call void @llvm.dbg.value(metadata %class.C* %c, i64 0, metadata !18, metadata !29)
51 tail call void @llvm.dbg.value(metadata %class.C* %c, i64 0, metadata !18, metadata !29), !dbg !MDLocation(scope: !13)
5252 %call = call i32 (%class.C*, i8, i8, i8, ...)* @test_function(%class.C* %c, i8 signext 0, i8 signext %0, i8 signext 0, i32 %conv)
5353 %1 = load i8, i8* @argc, align 1
54 call void @llvm.dbg.value(metadata %class.C* %c, i64 0, metadata !18, metadata !29)
54 call void @llvm.dbg.value(metadata %class.C* %c, i64 0, metadata !18, metadata !29), !dbg !MDLocation(scope: !13)
5555 %call2 = call i32 (%class.C*, i8, i8, i8, ...)* @test_function(%class.C* %c, i8 signext 0, i8 signext %1, i8 signext 0, i32 %conv)
5656 ret void
5757 }
44
55 define void @foo() {
66 entry:
7 call void @llvm.dbg.declare(metadata i32* undef, metadata !0, metadata !MDExpression())
7 call void @llvm.dbg.declare(metadata i32* undef, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
88 ret void
99 }
1010
33
44 define void @Foo(i32 %a, i32 %b) {
55 entry:
6 call void @llvm.dbg.declare(metadata i32* null, metadata !1, metadata !MDExpression())
6 call void @llvm.dbg.declare(metadata i32* null, metadata !1, metadata !MDExpression()), !dbg !MDLocation(scope: !6)
77 ret void
88 }
99 !llvm.dbg.cu = !{!2}
2424 %a12 = load i64, i64* %a11, align 4, !dbg !7 ; [#uses=1]
2525 call void @llvm.dbg.declare(metadata i64* %data_addr.i17, metadata !8, metadata !MDExpression()) nounwind, !dbg !14
2626 store i64 %a12, i64* %data_addr.i17, align 8
27 call void @llvm.dbg.value(metadata !6, i64 0, metadata !15, metadata !MDExpression()) nounwind
28 call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !19, metadata !MDExpression()) nounwind
29 call void @llvm.dbg.declare(metadata !6, metadata !23, metadata !MDExpression()) nounwind
30 call void @llvm.dbg.value(metadata i64* %data_addr.i17, i64 0, metadata !34, metadata !MDExpression()) nounwind
27 call void @llvm.dbg.value(metadata !6, i64 0, metadata !15, metadata !MDExpression()) nounwind, !dbg !MDLocation(scope: !16)
28 call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !19, metadata !MDExpression()) nounwind, !dbg !MDLocation(scope: !16)
29 call void @llvm.dbg.declare(metadata !6, metadata !23, metadata !MDExpression()) nounwind, !dbg !MDLocation(scope: !24)
30 call void @llvm.dbg.value(metadata i64* %data_addr.i17, i64 0, metadata !34, metadata !MDExpression()) nounwind, !dbg !MDLocation(scope: !24)
3131 %a13 = load volatile i64, i64* %data_addr.i17, align 8 ; [#uses=1]
3232 %a14 = call i64 @llvm.bswap.i64(i64 %a13) nounwind ; [#uses=2]
3333 %a15 = add i64 %a10, %a14, !dbg !7 ; [#uses=1]
5252 %19 = inttoptr i64 %18 to i8*
5353 %20 = load i8, i8* %19
5454 %21 = icmp ne i8 %20, 0
55 call void @llvm.dbg.declare(metadata i32* %3, metadata !23, metadata !28)
55 call void @llvm.dbg.declare(metadata i32* %3, metadata !23, metadata !28), !dbg !MDLocation(scope: !4)
5656 br i1 %21, label %22, label %28
5757
5858 ;
7676 %21 = inttoptr i64 %20 to i8*
7777 %22 = load i8, i8* %21
7878 %23 = icmp ne i8 %22, 0
79 call void @llvm.dbg.declare(metadata i32* %8, metadata !12, metadata !14)
79 call void @llvm.dbg.declare(metadata i32* %8, metadata !12, metadata !14), !dbg !MDLocation(scope: !4)
8080 br i1 %23, label %24, label %30
8181
8282 ;
1212 bb: ; preds = %entry
1313 %tmp = icmp eq i32 undef, 0
1414 %tmp1 = add i32 0, 11
15 call void @llvm.dbg.value(metadata i32 %tmp1, i64 0, metadata !0, metadata !MDExpression())
15 call void @llvm.dbg.value(metadata i32 %tmp1, i64 0, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
1616 br i1 undef, label %bb18, label %bb31.preheader
1717
1818 bb31.preheader: ; preds = %bb19, %bb
88
99 define i16 @f(i16 signext %zzz) nounwind {
1010 entry:
11 call void @llvm.dbg.value(metadata i16 %zzz, i64 0, metadata !0, metadata !MDExpression())
11 call void @llvm.dbg.value(metadata i16 %zzz, i64 0, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
1212 %conv = sext i16 %zzz to i32, !dbg !7
1313 %conv1 = trunc i32 %conv to i16
1414 ret i16 %conv1
33
44 define i8* @vfs_addname(i8* %name, i32 %len, i32 %hash, i32 %flags) nounwind ssp {
55 entry:
6 call void @llvm.dbg.value(metadata i8* %name, i64 0, metadata !0, metadata !MDExpression())
7 call void @llvm.dbg.value(metadata i32 %len, i64 0, metadata !10, metadata !MDExpression())
8 call void @llvm.dbg.value(metadata i32 %hash, i64 0, metadata !11, metadata !MDExpression())
9 call void @llvm.dbg.value(metadata i32 %flags, i64 0, metadata !12, metadata !MDExpression())
6 call void @llvm.dbg.value(metadata i8* %name, i64 0, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
7 call void @llvm.dbg.value(metadata i32 %len, i64 0, metadata !10, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
8 call void @llvm.dbg.value(metadata i32 %hash, i64 0, metadata !11, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
9 call void @llvm.dbg.value(metadata i32 %flags, i64 0, metadata !12, metadata !MDExpression()), !dbg !MDLocation(scope: !1)
1010 ; CHECK: call fastcc i8* @add_name_internal(i8* %name, i32 %hash) [[NUW:#[0-9]+]], !dbg !{{[0-9]+}}
1111 %0 = call fastcc i8* @add_name_internal(i8* %name, i32 %len, i32 %hash, i8 zeroext 0, i32 %flags) nounwind, !dbg !13 ; [#uses=1]
1212 ret i8* %0, !dbg !13
1616
1717 define internal fastcc i8* @add_name_internal(i8* %name, i32 %len, i32 %hash, i8 zeroext %extra, i32 %flags) noinline nounwind ssp {
1818 entry:
19 call void @llvm.dbg.value(metadata i8* %name, i64 0, metadata !15, metadata !MDExpression())
20 call void @llvm.dbg.value(metadata i32 %len, i64 0, metadata !20, metadata !MDExpression())
21 call void @llvm.dbg.value(metadata i32 %hash, i64 0, metadata !21, metadata !MDExpression())
22 call void @llvm.dbg.value(metadata i8 %extra, i64 0, metadata !22, metadata !MDExpression())
23 call void @llvm.dbg.value(metadata i32 %flags, i64 0, metadata !23, metadata !MDExpression())
19 call void @llvm.dbg.value(metadata i8* %name, i64 0, metadata !15, metadata !MDExpression()), !dbg !MDLocation(scope: !16)
20 call void @llvm.dbg.value(metadata i32 %len, i64 0, metadata !20, metadata !MDExpression()), !dbg !MDLocation(scope: !16)
21 call void @llvm.dbg.value(metadata i32 %hash, i64 0, metadata !21, metadata !MDExpression()), !dbg !MDLocation(scope: !16)
22 call void @llvm.dbg.value(metadata i8 %extra, i64 0, metadata !22, metadata !MDExpression()), !dbg !MDLocation(scope: !16)
23 call void @llvm.dbg.value(metadata i32 %flags, i64 0, metadata !23, metadata !MDExpression()), !dbg !MDLocation(scope: !16)
2424 %0 = icmp eq i32 %hash, 0, !dbg !24 ; [#uses=1]
2525 br i1 %0, label %bb, label %bb1, !dbg !24
2626
117117
118118 ; Insert a meaningless dbg.value intrinsic; it should have no
119119 ; effect on the working of DSE in any way.
120 call void @llvm.dbg.value(metadata i32* undef, i64 0, metadata !10, metadata !MDExpression())
120 call void @llvm.dbg.value(metadata i32* undef, i64 0, metadata !10, metadata !MDExpression()), !dbg !MDLocation(scope: !4)
121121
122122 ; CHECK: store i32 -1, i32* @x, align 4
123123 store i32 -1, i32* @x, align 4
1111
1212 define <4 x float> @inner_vectors(<4 x float> %a, <4 x float> %b) {
1313 entry:
14 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression())
14 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression()), !dbg !MDLocation(scope: !6)
1515 %mul = fmul <4 x float> %a,
16 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression())
16 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression()), !dbg !MDLocation(scope: !6)
1717 %mul1 = fmul <4 x float> %b,
18 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression())
18 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression()), !dbg !MDLocation(scope: !6)
1919 %add = fadd <4 x float> %mul, %mul1
2020 ret <4 x float> %add
2121 }
2626 ; CHECK: ret float
2727
2828 entry:
29 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression())
30 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression())
29 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression()), !dbg !MDLocation(scope: !6)
30 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression()), !dbg !MDLocation(scope: !6)
3131 %call = call <4 x float> @inner_vectors(<4 x float> %a, <4 x float> %b)
32 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression())
32 call void @llvm.dbg.value(metadata i32 undef, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !6), metadata !MDExpression()), !dbg !MDLocation(scope: !6)
3333 %vecext = extractelement <4 x float> %call, i32 0
3434 %vecext1 = extractelement <4 x float> %call, i32 1
3535 %add = fadd float %vecext, %vecext1
7171
7272 for.inc:
7373 %dec = add i64 %i.0, -1
74 tail call void @llvm.dbg.value(metadata i64 %dec, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !0), metadata !MDExpression())
74 tail call void @llvm.dbg.value(metadata i64 %dec, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !0), metadata !MDExpression()), !dbg !MDLocation(scope: !0)
7575 br label %for.cond
7676
7777 for.end:
1515 %tmp = bitcast %struct.nsTArrayHeader* %add.ptr.i to %struct.nsTArray*
1616 %arrayidx = getelementptr inbounds %struct.nsTArray, %struct.nsTArray* %tmp, i32 %i.06
1717 %add = add nsw i32 %i.06, 1
18 call void @llvm.dbg.value(metadata %struct.nsTArray* %aValues, i64 0, metadata !0, metadata !MDExpression()) nounwind
18 call void @llvm.dbg.value(metadata %struct.nsTArray* %aValues, i64 0, metadata !0, metadata !MDExpression()) nounwind, !dbg !MDLocation(scope: !MDSubprogram())
1919 br label %_ZN8nsTArray9ElementAtEi.exit
2020
2121 _ZN8nsTArray9ElementAtEi.exit: ; preds = %for.body
26832683 invoke.cont:
26842684 %0 = bitcast {}* %self to i8*
26852685 %1 = tail call i8* @objc_retain(i8* %0) nounwind
2686 tail call void @llvm.dbg.value(metadata {}* %self, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !2), metadata !MDExpression())
2687 tail call void @llvm.dbg.value(metadata {}* %self, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !2), metadata !MDExpression())
2686 tail call void @llvm.dbg.value(metadata {}* %self, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !2), metadata !MDExpression()), !dbg !MDLocation(scope: !2)
2687 tail call void @llvm.dbg.value(metadata {}* %self, i64 0, metadata !MDLocalVariable(tag: DW_TAG_auto_variable, scope: !2), metadata !MDExpression()), !dbg !MDLocation(scope: !2)
26882688 %ivar = load i64, i64* @"OBJC_IVAR_$_A.myZ", align 8
26892689 %add.ptr = getelementptr i8, i8* %0, i64 %ivar
26902690 %tmp1 = bitcast i8* %add.ptr to float*
55 define void @foo(i32 %a) {
66 entry:
77 %s = alloca i32
8 call void @llvm.dbg.declare(metadata !"", metadata !MDLocalVariable(tag: DW_TAG_arg_variable, scope: !1), metadata !MDExpression())
8 call void @llvm.dbg.declare(metadata !"", metadata !MDLocalVariable(tag: DW_TAG_arg_variable, scope: !1), metadata !MDExpression()), !dbg !MDLocation(scope: !1)
99 ret void
1010 }
1111
55 define void @foo(i32 %a) {
66 entry:
77 %s = alloca i32
8 call void @llvm.dbg.value(metadata !"", i64 0, metadata !MDLocalVariable(tag: DW_TAG_arg_variable, scope: !1), metadata !MDExpression())
8 call void @llvm.dbg.value(metadata !"", i64 0, metadata !MDLocalVariable(tag: DW_TAG_arg_variable, scope: !1), metadata !MDExpression()), !dbg !MDLocation(scope: !1)
99 ret void
1010 }
1111