Lines Matching refs:dbg
31 define i32 @main(i32 %argc, i8** %argv) #0 !dbg !6 {
45 call void @llvm.dbg.declare(metadata i32* %argc.addr, metadata !16, metadata !17), !dbg !18
47 call void @llvm.dbg.declare(metadata i8*** %argv.addr, metadata !19, metadata !17), !dbg !20
48 %0 = load i32, i32* %argc.addr, align 4, !dbg !21
49 %cmp = icmp slt i32 %0, 2, !dbg !23
50 br i1 %cmp, label %if.then, label %if.end, !dbg !24
55 store i32 1, i32* %retval, align 4, !dbg !25
56 br label %return, !dbg !25
59 call void @llvm.dbg.declare(metadata double* %result, metadata !26, metadata !17), !dbg !27
60 call void @llvm.dbg.declare(metadata i32* %limit, metadata !28, metadata !17), !dbg !29
61 %1 = load i8**, i8*** %argv.addr, align 8, !dbg !30
62 %arrayidx = getelementptr inbounds i8*, i8** %1, i64 1, !dbg !30
63 %2 = load i8*, i8** %arrayidx, align 8, !dbg !30
64 %call = call i32 @atoi(i8* %2) #4, !dbg !31
65 store i32 %call, i32* %limit, align 4, !dbg !29
66 %3 = load i32, i32* %limit, align 4, !dbg !32
67 %cmp1 = icmp sgt i32 %3, 100, !dbg !34
68 br i1 %cmp1, label %if.then.2, label %if.else, !dbg !35
73 call void @llvm.dbg.declare(metadata double* %s, metadata !36, metadata !17), !dbg !38
74 %4 = load i8**, i8*** %argv.addr, align 8, !dbg !39
75 %arrayidx3 = getelementptr inbounds i8*, i8** %4, i64 2, !dbg !39
76 %5 = load i8*, i8** %arrayidx3, align 8, !dbg !39
77 %call4 = call i32 @atoi(i8* %5) #4, !dbg !40
78 %conv = sitofp i32 %call4 to double, !dbg !40
79 %mul = fmul double 0x40370ABE6A337A81, %conv, !dbg !41
80 store double %mul, double* %s, align 8, !dbg !38
81 call void @llvm.dbg.declare(metadata i32* %u, metadata !42, metadata !17), !dbg !44
82 store i32 0, i32* %u, align 4, !dbg !44
83 br label %for.cond, !dbg !45
86 %6 = load i32, i32* %u, align 4, !dbg !46
87 %7 = load i32, i32* %limit, align 4, !dbg !48
88 %cmp5 = icmp slt i32 %6, %7, !dbg !49
89 br i1 %cmp5, label %for.body, label %for.end, !dbg !50
92 call void @llvm.dbg.declare(metadata double* %x, metadata !51, metadata !17), !dbg !53
93 %8 = load double, double* %s, align 8, !dbg !54
94 store double %8, double* %x, align 8, !dbg !53
95 %9 = load double, double* %x, align 8, !dbg !55
96 %add = fadd double %9, 3.049000e+00, !dbg !56
97 %10 = load i32, i32* %u, align 4, !dbg !57
98 %conv6 = sitofp i32 %10 to double, !dbg !57
99 %add7 = fadd double %add, %conv6, !dbg !58
100 store double %add7, double* %s, align 8, !dbg !59
101 %11 = load double, double* %s, align 8, !dbg !60
102 %12 = load double, double* %x, align 8, !dbg !61
103 %div = fdiv double 3.940000e+00, %12, !dbg !62
104 %mul8 = fmul double %div, 3.200000e-01, !dbg !63
105 %add9 = fadd double %11, %mul8, !dbg !64
106 %13 = load double, double* %s, align 8, !dbg !65
107 %sub = fsub double %13, %add9, !dbg !65
108 store double %sub, double* %s, align 8, !dbg !65
109 br label %for.inc, !dbg !66
112 %14 = load i32, i32* %u, align 4, !dbg !67
113 %inc = add nsw i32 %14, 1, !dbg !67
114 store i32 %inc, i32* %u, align 4, !dbg !67
115 br label %for.cond, !dbg !68
118 %15 = load double, double* %s, align 8, !dbg !69
119 store double %15, double* %result, align 8, !dbg !70
120 br label %if.end.13, !dbg !71
123 %16 = load i8**, i8*** %argv.addr, align 8, !dbg !72
124 %arrayidx10 = getelementptr inbounds i8*, i8** %16, i64 2, !dbg !72
125 %17 = load i8*, i8** %arrayidx10, align 8, !dbg !72
126 %call11 = call i32 @atoi(i8* %17) #4, !dbg !74
127 %conv12 = sitofp i32 %call11 to double, !dbg !74
128 store double %conv12, double* %result, align 8, !dbg !75
132 %18 = load double, double* %result, align 8, !dbg !76
133 …rintf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i32 0, i32 0), double %18), !dbg !77
134 store i32 0, i32* %retval, align 4, !dbg !78
135 br label %return, !dbg !78
138 %19 = load i32, i32* %retval, align 4, !dbg !79
139 ret i32 %19, !dbg !79
143 declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
156 !llvm.dbg.cu = !{!0}