llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmptcl1hvuv.c'
source_filename = "/tmp/tmptcl1hvuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptcl1hvuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppzqiu8zs.c'
source_filename = "/tmp/tmppzqiu8zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_borders(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @getmaxyx(ptr noundef %6, i32 noundef %7, i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @mvwprintw(ptr noundef %10, i32 noundef 0, i32 noundef 0, ptr noundef @.str)
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
%15 = call i32 @mvwprintw(ptr noundef %12, i32 noundef %14, i32 noundef 0, ptr noundef @.str)
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @mvwprintw(ptr noundef %16, i32 noundef 0, i32 noundef %18, ptr noundef @.str)
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %4, align 4
%22 = sub nsw i32 %21, 1
%23 = load i32, ptr %3, align 4
%24 = sub nsw i32 %23, 1
%25 = call i32 @mvwprintw(ptr noundef %20, i32 noundef %22, i32 noundef %24, ptr noundef @.str)
store i32 1, ptr %5, align 4
br label %26
26: ; preds = %40, %1
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %4, align 4
%29 = sub nsw i32 %28, 1
%30 = icmp slt i32 %27, %29
br i1 %30, label %31, label %43
31: ; preds = %26
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %5, align 4
%34 = call i32 @mvwprintw(ptr noundef %32, i32 noundef %33, i32 noundef 0, ptr noundef @.str.1)
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %3, align 4
%38 = sub nsw i32 %37, 1
%39 = call i32 @mvwprintw(ptr noundef %35, i32 noundef %36, i32 noundef %38, ptr noundef @.str.1)
br label %40
40: ; preds = %31
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %26, !llvm.loop !6
43: ; preds = %26
store i32 1, ptr %5, align 4
br label %44
44: ; preds = %58, %43
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %3, align 4
%47 = sub nsw i32 %46, 1
%48 = icmp slt i32 %45, %47
br i1 %48, label %49, label %61
49: ; preds = %44
%50 = load ptr, ptr %2, align 8
%51 = load i32, ptr %5, align 4
%52 = call i32 @mvwprintw(ptr noundef %50, i32 noundef 0, i32 noundef %51, ptr noundef @.str.2)
%53 = load ptr, ptr %2, align 8
%54 = load i32, ptr %4, align 4
%55 = sub nsw i32 %54, 1
%56 = load i32, ptr %5, align 4
%57 = call i32 @mvwprintw(ptr noundef %53, i32 noundef %55, i32 noundef %56, ptr noundef @.str.2)
br label %58
58: ; preds = %49
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
br label %44, !llvm.loop !8
61: ; preds = %44
ret void
}
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwprintw(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppzqiu8zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_borders(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @getmaxyx(ptr noundef %6, i32 noundef %7, i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @mvwprintw(ptr noundef %10, i32 noundef 0, i32 noundef 0, ptr noundef @.str)
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
%15 = call i32 @mvwprintw(ptr noundef %12, i32 noundef %14, i32 noundef 0, ptr noundef @.str)
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @mvwprintw(ptr noundef %16, i32 noundef 0, i32 noundef %18, ptr noundef @.str)
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %4, align 4
%22 = sub nsw i32 %21, 1
%23 = load i32, ptr %3, align 4
%24 = sub nsw i32 %23, 1
%25 = call i32 @mvwprintw(ptr noundef %20, i32 noundef %22, i32 noundef %24, ptr noundef @.str)
store i32 1, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %26, %28
br i1 %29, label %.lr.ph, label %46
.lr.ph: ; preds = %1
br label %30
30: ; preds = %.lr.ph, %39
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %5, align 4
%33 = call i32 @mvwprintw(ptr noundef %31, i32 noundef %32, i32 noundef 0, ptr noundef @.str.1)
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %3, align 4
%37 = sub nsw i32 %36, 1
%38 = call i32 @mvwprintw(ptr noundef %34, i32 noundef %35, i32 noundef %37, ptr noundef @.str.1)
br label %39
39: ; preds = %30
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %4, align 4
%44 = sub nsw i32 %43, 1
%45 = icmp slt i32 %42, %44
br i1 %45, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %46
46: ; preds = %._crit_edge, %1
store i32 1, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %3, align 4
%49 = sub nsw i32 %48, 1
%50 = icmp slt i32 %47, %49
br i1 %50, label %.lr.ph2, label %67
.lr.ph2: ; preds = %46
br label %51
51: ; preds = %.lr.ph2, %60
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %5, align 4
%54 = call i32 @mvwprintw(ptr noundef %52, i32 noundef 0, i32 noundef %53, ptr noundef @.str.2)
%55 = load ptr, ptr %2, align 8
%56 = load i32, ptr %4, align 4
%57 = sub nsw i32 %56, 1
%58 = load i32, ptr %5, align 4
%59 = call i32 @mvwprintw(ptr noundef %55, i32 noundef %57, i32 noundef %58, ptr noundef @.str.2)
br label %60
60: ; preds = %51
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %5, align 4
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %3, align 4
%65 = sub nsw i32 %64, 1
%66 = icmp slt i32 %63, %65
br i1 %66, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %67
67: ; preds = %._crit_edge3, %46
ret void
}
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwprintw(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1cgvj0e9.c'
source_filename = "/tmp/tmp1cgvj0e9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1cgvj0e9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1a8sv2i5.c'
source_filename = "/tmp/tmp1a8sv2i5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_unicode_to_utf8(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 128
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @putc(i32 noundef %6, i32 noundef %7)
br label %41
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 2048
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = ashr i32 %13, 6
%15 = or i32 %14, 192
%16 = load i32, ptr @stdout, align 4
%17 = call i32 @putc(i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = and i32 %18, 63
%20 = or i32 %19, 128
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @putc(i32 noundef %20, i32 noundef %21)
br label %40
23: ; preds = %9
%24 = load i32, ptr %2, align 4
%25 = ashr i32 %24, 12
%26 = or i32 %25, 224
%27 = load i32, ptr @stdout, align 4
%28 = call i32 @putc(i32 noundef %26, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = ashr i32 %29, 6
%31 = and i32 %30, 63
%32 = or i32 %31, 128
%33 = load i32, ptr @stdout, align 4
%34 = call i32 @putc(i32 noundef %32, i32 noundef %33)
%35 = load i32, ptr %2, align 4
%36 = and i32 %35, 63
%37 = or i32 %36, 128
%38 = load i32, ptr @stdout, align 4
%39 = call i32 @putc(i32 noundef %37, i32 noundef %38)
br label %40
40: ; preds = %23, %12
br label %41
41: ; preds = %40, %5
ret void
}
declare i32 @putc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1a8sv2i5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_unicode_to_utf8(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 128
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @putc(i32 noundef %6, i32 noundef %7)
br label %41
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 2048
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = ashr i32 %13, 6
%15 = or i32 %14, 192
%16 = load i32, ptr @stdout, align 4
%17 = call i32 @putc(i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = and i32 %18, 63
%20 = or i32 %19, 128
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @putc(i32 noundef %20, i32 noundef %21)
br label %40
23: ; preds = %9
%24 = load i32, ptr %2, align 4
%25 = ashr i32 %24, 12
%26 = or i32 %25, 224
%27 = load i32, ptr @stdout, align 4
%28 = call i32 @putc(i32 noundef %26, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = ashr i32 %29, 6
%31 = and i32 %30, 63
%32 = or i32 %31, 128
%33 = load i32, ptr @stdout, align 4
%34 = call i32 @putc(i32 noundef %32, i32 noundef %33)
%35 = load i32, ptr %2, align 4
%36 = and i32 %35, 63
%37 = or i32 %36, 128
%38 = load i32, ptr @stdout, align 4
%39 = call i32 @putc(i32 noundef %37, i32 noundef %38)
br label %40
40: ; preds = %23, %12
br label %41
41: ; preds = %40, %5
ret void
}
declare i32 @putc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpafhv2wed.c'
source_filename = "/tmp/tmpafhv2wed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mongo_server_split_hash(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%20 = load ptr, ptr %9, align 8
store ptr %20, ptr %17, align 8
%21 = load ptr, ptr %17, align 8
%22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 58)
store ptr %22, ptr %17, align 8
%23 = load ptr, ptr %10, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %35
25: ; preds = %8
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %17, align 8
%28 = load ptr, ptr %9, align 8
%29 = ptrtoint ptr %27 to i64
%30 = ptrtoint ptr %28 to i64
%31 = sub i64 %29, %30
%32 = trunc i64 %31 to i32
%33 = call ptr @strndup(ptr noundef %26, i32 noundef %32)
%34 = load ptr, ptr %10, align 8
store ptr %33, ptr %34, align 8
br label %35
35: ; preds = %25, %8
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %43
38: ; preds = %35
%39 = load ptr, ptr %17, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
%41 = call i32 @atoi(ptr noundef %40)
%42 = load ptr, ptr %11, align 8
store i32 %41, ptr %42, align 4
br label %43
43: ; preds = %38, %35
%44 = load ptr, ptr %17, align 8
%45 = call ptr @strchr(ptr noundef %44, i8 noundef signext 59)
%46 = getelementptr inbounds i8, ptr %45, i64 1
store ptr %46, ptr %17, align 8
%47 = load ptr, ptr %17, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 45
br i1 %51, label %52, label %67
52: ; preds = %43
%53 = load ptr, ptr %12, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %66
55: ; preds = %52
%56 = load ptr, ptr %17, align 8
%57 = load ptr, ptr %17, align 8
%58 = call ptr @strchr(ptr noundef %57, i8 noundef signext 59)
%59 = load ptr, ptr %17, align 8
%60 = ptrtoint ptr %58 to i64
%61 = ptrtoint ptr %59 to i64
%62 = sub i64 %60, %61
%63 = trunc i64 %62 to i32
%64 = call ptr @strndup(ptr noundef %56, i32 noundef %63)
%65 = load ptr, ptr %12, align 8
store ptr %64, ptr %65, align 8
br label %66
66: ; preds = %55, %52
br label %73
67: ; preds = %43
%68 = load ptr, ptr %12, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = load ptr, ptr %12, align 8
store ptr null, ptr %71, align 8
br label %72
72: ; preds = %70, %67
br label %73
73: ; preds = %72, %66
%74 = load ptr, ptr %17, align 8
%75 = call ptr @strchr(ptr noundef %74, i8 noundef signext 59)
%76 = getelementptr inbounds i8, ptr %75, i64 1
store ptr %76, ptr %17, align 8
%77 = load ptr, ptr %17, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 0
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %80, 88
br i1 %81, label %82, label %137
82: ; preds = %73
%83 = load ptr, ptr %13, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %96
85: ; preds = %82
%86 = load ptr, ptr %17, align 8
%87 = load ptr, ptr %17, align 8
%88 = call ptr @strchr(ptr noundef %87, i8 noundef signext 47)
%89 = load ptr, ptr %17, align 8
%90 = ptrtoint ptr %88 to i64
%91 = ptrtoint ptr %89 to i64
%92 = sub i64 %90, %91
%93 = trunc i64 %92 to i32
%94 = call ptr @strndup(ptr noundef %86, i32 noundef %93)
%95 = load ptr, ptr %13, align 8
store ptr %94, ptr %95, align 8
br label %96
96: ; preds = %85, %82
%97 = load ptr, ptr %17, align 8
%98 = call ptr @strchr(ptr noundef %97, i8 noundef signext 47)
store ptr %98, ptr %19, align 8
%99 = load ptr, ptr %14, align 8
%100 = icmp ne ptr %99, null
br i1 %100, label %101, label %115
101: ; preds = %96
%102 = load ptr, ptr %19, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 1
%104 = load ptr, ptr %19, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 1
%106 = call ptr @strchr(ptr noundef %105, i8 noundef signext 47)
%107 = load ptr, ptr %19, align 8
%108 = ptrtoint ptr %106 to i64
%109 = ptrtoint ptr %107 to i64
%110 = sub i64 %108, %109
%111 = sub nsw i64 %110, 1
%112 = trunc i64 %111 to i32
%113 = call ptr @strndup(ptr noundef %103, i32 noundef %112)
%114 = load ptr, ptr %14, align 8
store ptr %113, ptr %114, align 8
br label %115
115: ; preds = %101, %96
%116 = load ptr, ptr %17, align 8
%117 = call ptr @strchr(ptr noundef %116, i8 noundef signext 59)
store ptr %117, ptr %18, align 8
%118 = load ptr, ptr %15, align 8
%119 = icmp ne ptr %118, null
br i1 %119, label %120, label %136
120: ; preds = %115
%121 = load ptr, ptr %19, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 1
%123 = call ptr @strchr(ptr noundef %122, i8 noundef signext 47)
%124 = getelementptr inbounds i8, ptr %123, i64 1
%125 = load ptr, ptr %18, align 8
%126 = load ptr, ptr %19, align 8
%127 = getelementptr inbounds i8, ptr %126, i64 1
%128 = call ptr @strchr(ptr noundef %127, i8 noundef signext 47)
%129 = ptrtoint ptr %125 to i64
%130 = ptrtoint ptr %128 to i64
%131 = sub i64 %129, %130
%132 = sub nsw i64 %131, 1
%133 = trunc i64 %132 to i32
%134 = call ptr @strndup(ptr noundef %124, i32 noundef %133)
%135 = load ptr, ptr %15, align 8
store ptr %134, ptr %135, align 8
br label %136
136: ; preds = %120, %115
br label %155
137: ; preds = %73
%138 = load ptr, ptr %13, align 8
%139 = icmp ne ptr %138, null
br i1 %139, label %140, label %142
140: ; preds = %137
%141 = load ptr, ptr %13, align 8
store ptr null, ptr %141, align 8
br label %142
142: ; preds = %140, %137
%143 = load ptr, ptr %14, align 8
%144 = icmp ne ptr %143, null
br i1 %144, label %145, label %147
145: ; preds = %142
%146 = load ptr, ptr %14, align 8
store ptr null, ptr %146, align 8
br label %147
147: ; preds = %145, %142
%148 = load ptr, ptr %15, align 8
%149 = icmp ne ptr %148, null
br i1 %149, label %150, label %152
150: ; preds = %147
%151 = load ptr, ptr %15, align 8
store ptr null, ptr %151, align 8
br label %152
152: ; preds = %150, %147
%153 = load ptr, ptr %17, align 8
%154 = call ptr @strchr(ptr noundef %153, i8 noundef signext 59)
store ptr %154, ptr %18, align 8
br label %155
155: ; preds = %152, %136
%156 = load ptr, ptr %16, align 8
%157 = icmp ne ptr %156, null
br i1 %157, label %158, label %163
158: ; preds = %155
%159 = load ptr, ptr %18, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 1
%161 = call i32 @atoi(ptr noundef %160)
%162 = load ptr, ptr %16, align 8
store i32 %161, ptr %162, align 4
br label %163
163: ; preds = %158, %155
ret i32 0
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strndup(ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpafhv2wed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mongo_server_split_hash(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%20 = load ptr, ptr %9, align 8
store ptr %20, ptr %17, align 8
%21 = load ptr, ptr %17, align 8
%22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 58)
store ptr %22, ptr %17, align 8
%23 = load ptr, ptr %10, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %35
25: ; preds = %8
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %17, align 8
%28 = load ptr, ptr %9, align 8
%29 = ptrtoint ptr %27 to i64
%30 = ptrtoint ptr %28 to i64
%31 = sub i64 %29, %30
%32 = trunc i64 %31 to i32
%33 = call ptr @strndup(ptr noundef %26, i32 noundef %32)
%34 = load ptr, ptr %10, align 8
store ptr %33, ptr %34, align 8
br label %35
35: ; preds = %25, %8
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %43
38: ; preds = %35
%39 = load ptr, ptr %17, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
%41 = call i32 @atoi(ptr noundef %40)
%42 = load ptr, ptr %11, align 8
store i32 %41, ptr %42, align 4
br label %43
43: ; preds = %38, %35
%44 = load ptr, ptr %17, align 8
%45 = call ptr @strchr(ptr noundef %44, i8 noundef signext 59)
%46 = getelementptr inbounds i8, ptr %45, i64 1
store ptr %46, ptr %17, align 8
%47 = load ptr, ptr %17, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 45
br i1 %51, label %52, label %67
52: ; preds = %43
%53 = load ptr, ptr %12, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %66
55: ; preds = %52
%56 = load ptr, ptr %17, align 8
%57 = load ptr, ptr %17, align 8
%58 = call ptr @strchr(ptr noundef %57, i8 noundef signext 59)
%59 = load ptr, ptr %17, align 8
%60 = ptrtoint ptr %58 to i64
%61 = ptrtoint ptr %59 to i64
%62 = sub i64 %60, %61
%63 = trunc i64 %62 to i32
%64 = call ptr @strndup(ptr noundef %56, i32 noundef %63)
%65 = load ptr, ptr %12, align 8
store ptr %64, ptr %65, align 8
br label %66
66: ; preds = %55, %52
br label %73
67: ; preds = %43
%68 = load ptr, ptr %12, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = load ptr, ptr %12, align 8
store ptr null, ptr %71, align 8
br label %72
72: ; preds = %70, %67
br label %73
73: ; preds = %72, %66
%74 = load ptr, ptr %17, align 8
%75 = call ptr @strchr(ptr noundef %74, i8 noundef signext 59)
%76 = getelementptr inbounds i8, ptr %75, i64 1
store ptr %76, ptr %17, align 8
%77 = load ptr, ptr %17, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 0
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %80, 88
br i1 %81, label %82, label %137
82: ; preds = %73
%83 = load ptr, ptr %13, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %96
85: ; preds = %82
%86 = load ptr, ptr %17, align 8
%87 = load ptr, ptr %17, align 8
%88 = call ptr @strchr(ptr noundef %87, i8 noundef signext 47)
%89 = load ptr, ptr %17, align 8
%90 = ptrtoint ptr %88 to i64
%91 = ptrtoint ptr %89 to i64
%92 = sub i64 %90, %91
%93 = trunc i64 %92 to i32
%94 = call ptr @strndup(ptr noundef %86, i32 noundef %93)
%95 = load ptr, ptr %13, align 8
store ptr %94, ptr %95, align 8
br label %96
96: ; preds = %85, %82
%97 = load ptr, ptr %17, align 8
%98 = call ptr @strchr(ptr noundef %97, i8 noundef signext 47)
store ptr %98, ptr %19, align 8
%99 = load ptr, ptr %14, align 8
%100 = icmp ne ptr %99, null
br i1 %100, label %101, label %115
101: ; preds = %96
%102 = load ptr, ptr %19, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 1
%104 = load ptr, ptr %19, align 8
%105 = getelementptr inbounds i8, ptr %104, i64 1
%106 = call ptr @strchr(ptr noundef %105, i8 noundef signext 47)
%107 = load ptr, ptr %19, align 8
%108 = ptrtoint ptr %106 to i64
%109 = ptrtoint ptr %107 to i64
%110 = sub i64 %108, %109
%111 = sub nsw i64 %110, 1
%112 = trunc i64 %111 to i32
%113 = call ptr @strndup(ptr noundef %103, i32 noundef %112)
%114 = load ptr, ptr %14, align 8
store ptr %113, ptr %114, align 8
br label %115
115: ; preds = %101, %96
%116 = load ptr, ptr %17, align 8
%117 = call ptr @strchr(ptr noundef %116, i8 noundef signext 59)
store ptr %117, ptr %18, align 8
%118 = load ptr, ptr %15, align 8
%119 = icmp ne ptr %118, null
br i1 %119, label %120, label %136
120: ; preds = %115
%121 = load ptr, ptr %19, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 1
%123 = call ptr @strchr(ptr noundef %122, i8 noundef signext 47)
%124 = getelementptr inbounds i8, ptr %123, i64 1
%125 = load ptr, ptr %18, align 8
%126 = load ptr, ptr %19, align 8
%127 = getelementptr inbounds i8, ptr %126, i64 1
%128 = call ptr @strchr(ptr noundef %127, i8 noundef signext 47)
%129 = ptrtoint ptr %125 to i64
%130 = ptrtoint ptr %128 to i64
%131 = sub i64 %129, %130
%132 = sub nsw i64 %131, 1
%133 = trunc i64 %132 to i32
%134 = call ptr @strndup(ptr noundef %124, i32 noundef %133)
%135 = load ptr, ptr %15, align 8
store ptr %134, ptr %135, align 8
br label %136
136: ; preds = %120, %115
br label %155
137: ; preds = %73
%138 = load ptr, ptr %13, align 8
%139 = icmp ne ptr %138, null
br i1 %139, label %140, label %142
140: ; preds = %137
%141 = load ptr, ptr %13, align 8
store ptr null, ptr %141, align 8
br label %142
142: ; preds = %140, %137
%143 = load ptr, ptr %14, align 8
%144 = icmp ne ptr %143, null
br i1 %144, label %145, label %147
145: ; preds = %142
%146 = load ptr, ptr %14, align 8
store ptr null, ptr %146, align 8
br label %147
147: ; preds = %145, %142
%148 = load ptr, ptr %15, align 8
%149 = icmp ne ptr %148, null
br i1 %149, label %150, label %152
150: ; preds = %147
%151 = load ptr, ptr %15, align 8
store ptr null, ptr %151, align 8
br label %152
152: ; preds = %150, %147
%153 = load ptr, ptr %17, align 8
%154 = call ptr @strchr(ptr noundef %153, i8 noundef signext 59)
store ptr %154, ptr %18, align 8
br label %155
155: ; preds = %152, %136
%156 = load ptr, ptr %16, align 8
%157 = icmp ne ptr %156, null
br i1 %157, label %158, label %163
158: ; preds = %155
%159 = load ptr, ptr %18, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 1
%161 = call i32 @atoi(ptr noundef %160)
%162 = load ptr, ptr %16, align 8
store i32 %161, ptr %162, align 4
br label %163
163: ; preds = %158, %155
ret i32 0
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strndup(ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgzup4hsq.c'
source_filename = "/tmp/tmpgzup4hsq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"asd\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"bsd\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"zhangrongxiang\00", align 1
@__const.four.str = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr null], align 16
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @four() #0 {
%1 = alloca [4 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.four.str, i64 32, i1 false)
%2 = getelementptr inbounds [4 x ptr], ptr %1, i64 0, i64 0
%3 = load ptr, ptr %2, align 16
%4 = call i32 @printf(ptr noundef @.str.3, ptr noundef %3)
%5 = getelementptr inbounds [4 x ptr], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds ptr, ptr %5, i64 1
%7 = load ptr, ptr %6, align 8
%8 = call i32 @printf(ptr noundef @.str.3, ptr noundef %7)
%9 = getelementptr inbounds [4 x ptr], ptr %1, i64 0, i64 0
%10 = getelementptr inbounds ptr, ptr %9, i64 2
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str.3, ptr noundef %11)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgzup4hsq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"asd\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"bsd\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"zhangrongxiang\00", align 1
@__const.four.str = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr null], align 16
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @four() #0 {
%1 = alloca [4 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.four.str, i64 32, i1 false)
%2 = getelementptr inbounds [4 x ptr], ptr %1, i64 0, i64 0
%3 = load ptr, ptr %2, align 16
%4 = call i32 @printf(ptr noundef @.str.3, ptr noundef %3)
%5 = getelementptr inbounds [4 x ptr], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds ptr, ptr %5, i64 1
%7 = load ptr, ptr %6, align 8
%8 = call i32 @printf(ptr noundef @.str.3, ptr noundef %7)
%9 = getelementptr inbounds [4 x ptr], ptr %1, i64 0, i64 0
%10 = getelementptr inbounds ptr, ptr %9, i64 2
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str.3, ptr noundef %11)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppafsi5u5.c'
source_filename = "/tmp/tmppafsi5u5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @floatsumsquared(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = getelementptr inbounds float, ptr %8, i64 %9
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %5, align 8
br label %12
12: ; preds = %25, %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp ult ptr %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load float, ptr %17, align 4
%19 = load ptr, ptr %5, align 8
%20 = load float, ptr %19, align 4
%21 = fmul float %18, %20
%22 = fpext float %21 to double
%23 = load double, ptr %7, align 8
%24 = fadd double %23, %22
store double %24, ptr %7, align 8
br label %25
25: ; preds = %16
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds float, ptr %26, i32 1
store ptr %27, ptr %5, align 8
br label %12, !llvm.loop !6
28: ; preds = %12
%29 = load double, ptr %7, align 8
%30 = fptrunc double %29 to float
ret float %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppafsi5u5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @floatsumsquared(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = getelementptr inbounds float, ptr %8, i64 %9
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ult ptr %12, %13
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %24
%16 = load ptr, ptr %5, align 8
%17 = load float, ptr %16, align 4
%18 = load ptr, ptr %5, align 8
%19 = load float, ptr %18, align 4
%20 = fmul float %17, %19
%21 = fpext float %20 to double
%22 = load double, ptr %7, align 8
%23 = fadd double %22, %21
store double %23, ptr %7, align 8
br label %24
24: ; preds = %15
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds float, ptr %25, i32 1
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %6, align 8
%29 = icmp ult ptr %27, %28
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
%31 = load double, ptr %7, align 8
%32 = fptrunc double %31 to float
ret float %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg9_ftd96.c'
source_filename = "/tmp/tmpg9_ftd96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg9_ftd96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsx2e5at0.c'
source_filename = "/tmp/tmpsx2e5at0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hal_init() #0 {
%1 = call i32 (...) @cpu_init()
%2 = call i32 (...) @io_init()
%3 = call i32 (...) @usart_init()
%4 = call i32 (...) @timer_init()
%5 = call i32 (...) @dcf_init()
%6 = call i32 (...) @ws2812_init()
%7 = call i32 (...) @i2c_init()
ret void
}
declare i32 @cpu_init(...) #1
declare i32 @io_init(...) #1
declare i32 @usart_init(...) #1
declare i32 @timer_init(...) #1
declare i32 @dcf_init(...) #1
declare i32 @ws2812_init(...) #1
declare i32 @i2c_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsx2e5at0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hal_init() #0 {
%1 = call i32 (...) @cpu_init()
%2 = call i32 (...) @io_init()
%3 = call i32 (...) @usart_init()
%4 = call i32 (...) @timer_init()
%5 = call i32 (...) @dcf_init()
%6 = call i32 (...) @ws2812_init()
%7 = call i32 (...) @i2c_init()
ret void
}
declare i32 @cpu_init(...) #1
declare i32 @io_init(...) #1
declare i32 @usart_init(...) #1
declare i32 @timer_init(...) #1
declare i32 @dcf_init(...) #1
declare i32 @ws2812_init(...) #1
declare i32 @i2c_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbw51_ry2.c'
source_filename = "/tmp/tmpbw51_ry2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @basic_seed() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @basic_daytime(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load i32, ptr %1, align 4
ret i32 %6
}
declare i32 @basic_daytime(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbw51_ry2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @basic_seed() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @basic_daytime(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load i32, ptr %1, align 4
ret i32 %6
}
declare i32 @basic_daytime(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp52unb8yj.c'
source_filename = "/tmp/tmp52unb8yj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [14 x float] [float 2.860000e+03, float 2.010000e+03, float 2.791000e+03, float 2.618000e+03, float 2.212000e+03, float 2.184000e+03, float 3.244000e+03, float 2.692000e+03, float 2.206000e+03, float 2.914000e+03, float 3.034000e+03, float 4.240000e+03, float 1.400000e+03, float 2.257000e+03], align 16
@__const.main.y = private unnamed_addr constant [14 x float] [float 0x400547AE20000000, float 0x4003AE1480000000, float 0x40079999A0000000, float 0x40067AE140000000, float 0x4007333340000000, float 0x40070A3D80000000, float 0x40010A3D80000000, float 0x40083D70A0000000, float 0x400C51EB80000000, float 0x4008CCCCC0000000, float 0x401147AE20000000, float 0x4006CCCCC0000000, float 0x40019999A0000000, float 0x4005851EC0000000], align 16
@.str = private unnamed_addr constant [9 x i8] c"SSR = %f\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [14 x float], align 16
%7 = alloca [14 x float], align 16
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.x, i64 56, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.y, i64 56, i1 false)
store i32 14, ptr %8, align 4
%18 = getelementptr inbounds [14 x float], ptr %6, i64 0, i64 0
%19 = load i32, ptr %8, align 4
%20 = call float @getAverage(ptr noundef %18, i32 noundef %19)
store float %20, ptr %9, align 4
%21 = load i32, ptr %8, align 4
%22 = sitofp i32 %21 to float
%23 = load float, ptr %9, align 4
%24 = fdiv float %23, %22
store float %24, ptr %9, align 4
%25 = getelementptr inbounds [14 x float], ptr %7, i64 0, i64 0
%26 = load i32, ptr %8, align 4
%27 = call float @getAverage(ptr noundef %25, i32 noundef %26)
store float %27, ptr %10, align 4
%28 = load i32, ptr %8, align 4
%29 = sitofp i32 %28 to float
%30 = load float, ptr %10, align 4
%31 = fdiv float %30, %29
store float %31, ptr %10, align 4
%32 = getelementptr inbounds [14 x float], ptr %6, i64 0, i64 0
%33 = getelementptr inbounds [14 x float], ptr %6, i64 0, i64 0
%34 = load i32, ptr %8, align 4
%35 = call float @sumMult(ptr noundef %32, ptr noundef %33, i32 noundef %34)
store float %35, ptr %11, align 4
%36 = getelementptr inbounds [14 x float], ptr %7, i64 0, i64 0
%37 = getelementptr inbounds [14 x float], ptr %7, i64 0, i64 0
%38 = load i32, ptr %8, align 4
%39 = call float @sumMult(ptr noundef %36, ptr noundef %37, i32 noundef %38)
store float %39, ptr %12, align 4
%40 = getelementptr inbounds [14 x float], ptr %6, i64 0, i64 0
%41 = getelementptr inbounds [14 x float], ptr %7, i64 0, i64 0
%42 = load i32, ptr %8, align 4
%43 = call float @sumMult(ptr noundef %40, ptr noundef %41, i32 noundef %42)
store float %43, ptr %13, align 4
%44 = load float, ptr %11, align 4
%45 = load i32, ptr %8, align 4
%46 = sitofp i32 %45 to float
%47 = load float, ptr %9, align 4
%48 = fmul float %46, %47
%49 = load float, ptr %9, align 4
%50 = fneg float %48
%51 = call float @llvm.fmuladd.f32(float %50, float %49, float %44)
store float %51, ptr %14, align 4
%52 = load float, ptr %12, align 4
%53 = load i32, ptr %8, align 4
%54 = sitofp i32 %53 to float
%55 = load float, ptr %10, align 4
%56 = fmul float %54, %55
%57 = load float, ptr %10, align 4
%58 = fneg float %56
%59 = call float @llvm.fmuladd.f32(float %58, float %57, float %52)
store float %59, ptr %15, align 4
%60 = load float, ptr %13, align 4
%61 = load i32, ptr %8, align 4
%62 = sitofp i32 %61 to float
%63 = load float, ptr %9, align 4
%64 = fmul float %62, %63
%65 = load float, ptr %10, align 4
%66 = fneg float %64
%67 = call float @llvm.fmuladd.f32(float %66, float %65, float %60)
store float %67, ptr %16, align 4
%68 = load float, ptr %14, align 4
%69 = load float, ptr %15, align 4
%70 = load float, ptr %16, align 4
%71 = load float, ptr %16, align 4
%72 = fmul float %70, %71
%73 = fneg float %72
%74 = call float @llvm.fmuladd.f32(float %68, float %69, float %73)
%75 = load float, ptr %14, align 4
%76 = fdiv float %74, %75
store float %76, ptr %17, align 4
%77 = load float, ptr %17, align 4
%78 = call i32 @printf(ptr noundef @.str, float noundef %77)
%79 = load float, ptr %15, align 4
%80 = call i32 @printf(ptr noundef @.str.1, float noundef %79)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare float @getAverage(ptr noundef, i32 noundef) #2
declare float @sumMult(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp52unb8yj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [14 x float] [float 2.860000e+03, float 2.010000e+03, float 2.791000e+03, float 2.618000e+03, float 2.212000e+03, float 2.184000e+03, float 3.244000e+03, float 2.692000e+03, float 2.206000e+03, float 2.914000e+03, float 3.034000e+03, float 4.240000e+03, float 1.400000e+03, float 2.257000e+03], align 16
@__const.main.y = private unnamed_addr constant [14 x float] [float 0x400547AE20000000, float 0x4003AE1480000000, float 0x40079999A0000000, float 0x40067AE140000000, float 0x4007333340000000, float 0x40070A3D80000000, float 0x40010A3D80000000, float 0x40083D70A0000000, float 0x400C51EB80000000, float 0x4008CCCCC0000000, float 0x401147AE20000000, float 0x4006CCCCC0000000, float 0x40019999A0000000, float 0x4005851EC0000000], align 16
@.str = private unnamed_addr constant [9 x i8] c"SSR = %f\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [14 x float], align 16
%7 = alloca [14 x float], align 16
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.x, i64 56, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.y, i64 56, i1 false)
store i32 14, ptr %8, align 4
%18 = getelementptr inbounds [14 x float], ptr %6, i64 0, i64 0
%19 = load i32, ptr %8, align 4
%20 = call float @getAverage(ptr noundef %18, i32 noundef %19)
store float %20, ptr %9, align 4
%21 = load i32, ptr %8, align 4
%22 = sitofp i32 %21 to float
%23 = load float, ptr %9, align 4
%24 = fdiv float %23, %22
store float %24, ptr %9, align 4
%25 = getelementptr inbounds [14 x float], ptr %7, i64 0, i64 0
%26 = load i32, ptr %8, align 4
%27 = call float @getAverage(ptr noundef %25, i32 noundef %26)
store float %27, ptr %10, align 4
%28 = load i32, ptr %8, align 4
%29 = sitofp i32 %28 to float
%30 = load float, ptr %10, align 4
%31 = fdiv float %30, %29
store float %31, ptr %10, align 4
%32 = getelementptr inbounds [14 x float], ptr %6, i64 0, i64 0
%33 = getelementptr inbounds [14 x float], ptr %6, i64 0, i64 0
%34 = load i32, ptr %8, align 4
%35 = call float @sumMult(ptr noundef %32, ptr noundef %33, i32 noundef %34)
store float %35, ptr %11, align 4
%36 = getelementptr inbounds [14 x float], ptr %7, i64 0, i64 0
%37 = getelementptr inbounds [14 x float], ptr %7, i64 0, i64 0
%38 = load i32, ptr %8, align 4
%39 = call float @sumMult(ptr noundef %36, ptr noundef %37, i32 noundef %38)
store float %39, ptr %12, align 4
%40 = getelementptr inbounds [14 x float], ptr %6, i64 0, i64 0
%41 = getelementptr inbounds [14 x float], ptr %7, i64 0, i64 0
%42 = load i32, ptr %8, align 4
%43 = call float @sumMult(ptr noundef %40, ptr noundef %41, i32 noundef %42)
store float %43, ptr %13, align 4
%44 = load float, ptr %11, align 4
%45 = load i32, ptr %8, align 4
%46 = sitofp i32 %45 to float
%47 = load float, ptr %9, align 4
%48 = fmul float %46, %47
%49 = load float, ptr %9, align 4
%50 = fneg float %48
%51 = call float @llvm.fmuladd.f32(float %50, float %49, float %44)
store float %51, ptr %14, align 4
%52 = load float, ptr %12, align 4
%53 = load i32, ptr %8, align 4
%54 = sitofp i32 %53 to float
%55 = load float, ptr %10, align 4
%56 = fmul float %54, %55
%57 = load float, ptr %10, align 4
%58 = fneg float %56
%59 = call float @llvm.fmuladd.f32(float %58, float %57, float %52)
store float %59, ptr %15, align 4
%60 = load float, ptr %13, align 4
%61 = load i32, ptr %8, align 4
%62 = sitofp i32 %61 to float
%63 = load float, ptr %9, align 4
%64 = fmul float %62, %63
%65 = load float, ptr %10, align 4
%66 = fneg float %64
%67 = call float @llvm.fmuladd.f32(float %66, float %65, float %60)
store float %67, ptr %16, align 4
%68 = load float, ptr %14, align 4
%69 = load float, ptr %15, align 4
%70 = load float, ptr %16, align 4
%71 = load float, ptr %16, align 4
%72 = fmul float %70, %71
%73 = fneg float %72
%74 = call float @llvm.fmuladd.f32(float %68, float %69, float %73)
%75 = load float, ptr %14, align 4
%76 = fdiv float %74, %75
store float %76, ptr %17, align 4
%77 = load float, ptr %17, align 4
%78 = call i32 @printf(ptr noundef @.str, float noundef %77)
%79 = load float, ptr %15, align 4
%80 = call i32 @printf(ptr noundef @.str.1, float noundef %79)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare float @getAverage(ptr noundef, i32 noundef) #2
declare float @sumMult(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpen6vgu0t.c'
source_filename = "/tmp/tmpen6vgu0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.in_addr, ptr, i32 }
%struct.in_addr = type { i32 }
%struct.hostent = type { i64 }
@.str = private unnamed_addr constant [49 x i8] c"Error allocating memory for get_line. Aborting.\0A\00", align 1
@cooked = external global i32, align 4
@out_query = external global [1024 x i8], align 16
@dflag = external global i32, align 4
@pflag = external global i32, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"GET /search?%s HTTP/1.0\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"GET http://%s/search?%s HTTP/1.0\0A\0A\00", align 1
@google_server = external global ptr, align 8
@vflag = external global i32, align 4
@.str.3 = private unnamed_addr constant [26 x i8] c"(verbose) GET Line => %s\0A\00", align 1
@he = external global ptr, align 8
@.str.4 = private unnamed_addr constant [23 x i8] c"doing lookup of %s...\0A\00", align 1
@proxyaddr = external global ptr, align 8
@.str.5 = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Host not found: %s\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@proxyport = external global i32, align 4
@.str.8 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@recvbuf = external global [65000 x i8], align 16
@MSG_WAITALL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet_send(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 8
store ptr %0, ptr %3, align 8
%7 = call ptr @calloc(i32 noundef 1024, i32 noundef 1)
store ptr %7, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #4
unreachable
12: ; preds = %1
%13 = load i32, ptr @cooked, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strncpy(ptr noundef %16, ptr noundef @out_query, i32 noundef 1024)
br label %33
18: ; preds = %12
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr @dflag, align 4
%21 = call ptr @inet_convert(ptr noundef %19, i32 noundef %20)
%22 = call i32 @strncpy(ptr noundef @out_query, ptr noundef %21, i32 noundef 1024)
%23 = load i32, ptr @pflag, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = load ptr, ptr %4, align 8
%27 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str.1, ptr noundef @out_query)
br label %32
28: ; preds = %18
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr @google_server, align 8
%31 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %30, ptr noundef @out_query)
br label %32
32: ; preds = %28, %25
br label %33
33: ; preds = %32, %15
%34 = load i32, ptr @vflag, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load ptr, ptr %4, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %37)
br label %39
39: ; preds = %36, %33
%40 = load ptr, ptr @he, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %65
42: ; preds = %39
%43 = load ptr, ptr @google_server, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %43)
%45 = load i32, ptr @pflag, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %55
47: ; preds = %42
%48 = load ptr, ptr @proxyaddr, align 8
%49 = call ptr @gethostbyname(ptr noundef %48)
store ptr %49, ptr @he, align 8
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %54
51: ; preds = %47
%52 = call i32 @perror(ptr noundef @.str.5)
%53 = call i32 @exit(i32 noundef 1) #4
unreachable
54: ; preds = %47
br label %64
55: ; preds = %42
%56 = load ptr, ptr @google_server, align 8
%57 = call ptr @gethostbyname(ptr noundef %56)
store ptr %57, ptr @he, align 8
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %63
59: ; preds = %55
%60 = load ptr, ptr @google_server, align 8
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %60)
%62 = call i32 @exit(i32 noundef 1) #4
unreachable
63: ; preds = %55
br label %64
64: ; preds = %63, %54
br label %65
65: ; preds = %64, %39
%66 = load i32, ptr @AF_INET, align 4
%67 = load i32, ptr @SOCK_STREAM, align 4
%68 = call i32 @socket(i32 noundef %66, i32 noundef %67, i32 noundef 0)
store i32 %68, ptr %5, align 4
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %73
70: ; preds = %65
%71 = call i32 @perror(ptr noundef @.str.7)
%72 = call i32 @exit(i32 noundef 1) #4
unreachable
73: ; preds = %65
%74 = load i32, ptr @AF_INET, align 4
%75 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 3
store i32 %74, ptr %75, align 8
%76 = load i32, ptr @pflag, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %82
78: ; preds = %73
%79 = load i32, ptr @proxyport, align 4
%80 = call ptr @htons(i32 noundef %79)
%81 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store ptr %80, ptr %81, align 8
br label %85
82: ; preds = %73
%83 = call ptr @htons(i32 noundef 80)
%84 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store ptr %83, ptr %84, align 8
br label %85
85: ; preds = %82, %78
%86 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%87 = load ptr, ptr @he, align 8
%88 = getelementptr inbounds %struct.hostent, ptr %87, i32 0, i32 0
%89 = load i64, ptr %88, align 8
%90 = inttoptr i64 %89 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %86, ptr align 4 %90, i64 4, i1 false)
%91 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
%92 = call i32 @bzero(ptr noundef %91, i32 noundef 8)
%93 = load i32, ptr %5, align 4
%94 = call i32 @connect(i32 noundef %93, ptr noundef %6, i32 noundef 4)
%95 = icmp eq i32 %94, -1
br i1 %95, label %96, label %100
96: ; preds = %85
%97 = load i32, ptr %5, align 4
%98 = call i32 @close(i32 noundef %97)
%99 = call i32 @perror(ptr noundef @.str.8)
store i32 1, ptr %2, align 4
br label %111
100: ; preds = %85
%101 = load i32, ptr %5, align 4
%102 = load ptr, ptr %4, align 8
%103 = load ptr, ptr %4, align 8
%104 = call i32 @strlen(ptr noundef %103)
%105 = call i32 @send(i32 noundef %101, ptr noundef %102, i32 noundef %104, i32 noundef 0)
%106 = load i32, ptr %5, align 4
%107 = load i32, ptr @MSG_WAITALL, align 4
%108 = call i32 @recv(i32 noundef %106, ptr noundef @recvbuf, i32 noundef 65000, i32 noundef %107)
%109 = load i32, ptr %5, align 4
%110 = call i32 @close(i32 noundef %109)
store i32 0, ptr %2, align 4
br label %111
111: ; preds = %100, %96
%112 = load i32, ptr %2, align 4
ret i32 %112
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @inet_convert(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @htons(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpen6vgu0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.in_addr, ptr, i32 }
%struct.in_addr = type { i32 }
%struct.hostent = type { i64 }
@.str = private unnamed_addr constant [49 x i8] c"Error allocating memory for get_line. Aborting.\0A\00", align 1
@cooked = external global i32, align 4
@out_query = external global [1024 x i8], align 16
@dflag = external global i32, align 4
@pflag = external global i32, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"GET /search?%s HTTP/1.0\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"GET http://%s/search?%s HTTP/1.0\0A\0A\00", align 1
@google_server = external global ptr, align 8
@vflag = external global i32, align 4
@.str.3 = private unnamed_addr constant [26 x i8] c"(verbose) GET Line => %s\0A\00", align 1
@he = external global ptr, align 8
@.str.4 = private unnamed_addr constant [23 x i8] c"doing lookup of %s...\0A\00", align 1
@proxyaddr = external global ptr, align 8
@.str.5 = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Host not found: %s\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@proxyport = external global i32, align 4
@.str.8 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@recvbuf = external global [65000 x i8], align 16
@MSG_WAITALL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet_send(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 8
store ptr %0, ptr %3, align 8
%7 = call ptr @calloc(i32 noundef 1024, i32 noundef 1)
store ptr %7, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #4
unreachable
12: ; preds = %1
%13 = load i32, ptr @cooked, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strncpy(ptr noundef %16, ptr noundef @out_query, i32 noundef 1024)
br label %33
18: ; preds = %12
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr @dflag, align 4
%21 = call ptr @inet_convert(ptr noundef %19, i32 noundef %20)
%22 = call i32 @strncpy(ptr noundef @out_query, ptr noundef %21, i32 noundef 1024)
%23 = load i32, ptr @pflag, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = load ptr, ptr %4, align 8
%27 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str.1, ptr noundef @out_query)
br label %32
28: ; preds = %18
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr @google_server, align 8
%31 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %30, ptr noundef @out_query)
br label %32
32: ; preds = %28, %25
br label %33
33: ; preds = %32, %15
%34 = load i32, ptr @vflag, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load ptr, ptr %4, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %37)
br label %39
39: ; preds = %36, %33
%40 = load ptr, ptr @he, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %65
42: ; preds = %39
%43 = load ptr, ptr @google_server, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %43)
%45 = load i32, ptr @pflag, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %55
47: ; preds = %42
%48 = load ptr, ptr @proxyaddr, align 8
%49 = call ptr @gethostbyname(ptr noundef %48)
store ptr %49, ptr @he, align 8
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %54
51: ; preds = %47
%52 = call i32 @perror(ptr noundef @.str.5)
%53 = call i32 @exit(i32 noundef 1) #4
unreachable
54: ; preds = %47
br label %64
55: ; preds = %42
%56 = load ptr, ptr @google_server, align 8
%57 = call ptr @gethostbyname(ptr noundef %56)
store ptr %57, ptr @he, align 8
%58 = icmp eq ptr %57, null
br i1 %58, label %59, label %63
59: ; preds = %55
%60 = load ptr, ptr @google_server, align 8
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %60)
%62 = call i32 @exit(i32 noundef 1) #4
unreachable
63: ; preds = %55
br label %64
64: ; preds = %63, %54
br label %65
65: ; preds = %64, %39
%66 = load i32, ptr @AF_INET, align 4
%67 = load i32, ptr @SOCK_STREAM, align 4
%68 = call i32 @socket(i32 noundef %66, i32 noundef %67, i32 noundef 0)
store i32 %68, ptr %5, align 4
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %73
70: ; preds = %65
%71 = call i32 @perror(ptr noundef @.str.7)
%72 = call i32 @exit(i32 noundef 1) #4
unreachable
73: ; preds = %65
%74 = load i32, ptr @AF_INET, align 4
%75 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 3
store i32 %74, ptr %75, align 8
%76 = load i32, ptr @pflag, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %82
78: ; preds = %73
%79 = load i32, ptr @proxyport, align 4
%80 = call ptr @htons(i32 noundef %79)
%81 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store ptr %80, ptr %81, align 8
br label %85
82: ; preds = %73
%83 = call ptr @htons(i32 noundef 80)
%84 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store ptr %83, ptr %84, align 8
br label %85
85: ; preds = %82, %78
%86 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%87 = load ptr, ptr @he, align 8
%88 = getelementptr inbounds %struct.hostent, ptr %87, i32 0, i32 0
%89 = load i64, ptr %88, align 8
%90 = inttoptr i64 %89 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %86, ptr align 4 %90, i64 4, i1 false)
%91 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
%92 = call i32 @bzero(ptr noundef %91, i32 noundef 8)
%93 = load i32, ptr %5, align 4
%94 = call i32 @connect(i32 noundef %93, ptr noundef %6, i32 noundef 4)
%95 = icmp eq i32 %94, -1
br i1 %95, label %96, label %100
96: ; preds = %85
%97 = load i32, ptr %5, align 4
%98 = call i32 @close(i32 noundef %97)
%99 = call i32 @perror(ptr noundef @.str.8)
store i32 1, ptr %2, align 4
br label %111
100: ; preds = %85
%101 = load i32, ptr %5, align 4
%102 = load ptr, ptr %4, align 8
%103 = load ptr, ptr %4, align 8
%104 = call i32 @strlen(ptr noundef %103)
%105 = call i32 @send(i32 noundef %101, ptr noundef %102, i32 noundef %104, i32 noundef 0)
%106 = load i32, ptr %5, align 4
%107 = load i32, ptr @MSG_WAITALL, align 4
%108 = call i32 @recv(i32 noundef %106, ptr noundef @recvbuf, i32 noundef 65000, i32 noundef %107)
%109 = load i32, ptr %5, align 4
%110 = call i32 @close(i32 noundef %109)
store i32 0, ptr %2, align 4
br label %111
111: ; preds = %100, %96
%112 = load i32, ptr %2, align 4
ret i32 %112
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @inet_convert(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @htons(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkki8fmsj.c'
source_filename = "/tmp/tmpkki8fmsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"call to malloc failed to allocate %s bytes\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"call to malloc failed to allocate %s bytes, for %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @malloc_or_die(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i64 1, ptr %4, align 8
br label %9
9: ; preds = %8, %2
%10 = load i64, ptr %4, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %27
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load i64, ptr %4, align 8
%19 = call i32 @ucommatize(i64 noundef %18)
%20 = call i32 (ptr, i32, ...) @suicidef(ptr noundef @.str, i32 noundef %19)
br label %26
21: ; preds = %14
%22 = load i64, ptr %4, align 8
%23 = call i32 @ucommatize(i64 noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = call i32 (ptr, i32, ...) @suicidef(ptr noundef @.str.1, i32 noundef %23, ptr noundef %24)
br label %26
26: ; preds = %21, %17
br label %27
27: ; preds = %26, %9
%28 = load ptr, ptr %5, align 8
ret ptr %28
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @suicidef(ptr noundef, i32 noundef, ...) #2
declare i32 @ucommatize(i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkki8fmsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"call to malloc failed to allocate %s bytes\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"call to malloc failed to allocate %s bytes, for %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @malloc_or_die(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i64 1, ptr %4, align 8
br label %9
9: ; preds = %8, %2
%10 = load i64, ptr %4, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %27
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load i64, ptr %4, align 8
%19 = call i32 @ucommatize(i64 noundef %18)
%20 = call i32 (ptr, i32, ...) @suicidef(ptr noundef @.str, i32 noundef %19)
br label %26
21: ; preds = %14
%22 = load i64, ptr %4, align 8
%23 = call i32 @ucommatize(i64 noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = call i32 (ptr, i32, ...) @suicidef(ptr noundef @.str.1, i32 noundef %23, ptr noundef %24)
br label %26
26: ; preds = %21, %17
br label %27
27: ; preds = %26, %9
%28 = load ptr, ptr %5, align 8
ret ptr %28
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @suicidef(ptr noundef, i32 noundef, ...) #2
declare i32 @ucommatize(i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx3teujhd.c'
source_filename = "/tmp/tmpx3teujhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @starts_with(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i64 @strlen(ptr noundef %11)
%13 = load i64, ptr %7, align 8
%14 = icmp ugt i64 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %62
16: ; preds = %3
store i32 0, ptr %8, align 4
br label %17
17: ; preds = %49, %16
%18 = load i32, ptr %8, align 4
%19 = zext i32 %18 to i64
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %30
22: ; preds = %17
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %22, %17
%31 = phi i1 [ false, %17 ], [ %29, %22 ]
br i1 %31, label %32, label %52
32: ; preds = %30
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %8, align 4
%35 = zext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %8, align 4
%41 = zext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = call signext i8 @toupper(i8 noundef zeroext %43)
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %38, %45
br i1 %46, label %47, label %48
47: ; preds = %32
store i32 0, ptr %4, align 4
br label %62
48: ; preds = %32
br label %49
49: ; preds = %48
%50 = load i32, ptr %8, align 4
%51 = add i32 %50, 1
store i32 %51, ptr %8, align 4
br label %17, !llvm.loop !6
52: ; preds = %30
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %8, align 4
%55 = zext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %52
store i32 1, ptr %4, align 4
br label %62
61: ; preds = %52
store i32 0, ptr %4, align 4
br label %62
62: ; preds = %61, %60, %47, %15
%63 = load i32, ptr %4, align 4
ret i32 %63
}
declare i64 @strlen(ptr noundef) #1
declare signext i8 @toupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3teujhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @starts_with(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i64 @strlen(ptr noundef %11)
%13 = load i64, ptr %7, align 8
%14 = icmp ugt i64 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %62
16: ; preds = %3
store i32 0, ptr %8, align 4
br label %17
17: ; preds = %49, %16
%18 = load i32, ptr %8, align 4
%19 = zext i32 %18 to i64
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %30
22: ; preds = %17
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %22, %17
%31 = phi i1 [ false, %17 ], [ %29, %22 ]
br i1 %31, label %32, label %52
32: ; preds = %30
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %8, align 4
%35 = zext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %8, align 4
%41 = zext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = call signext i8 @toupper(i8 noundef zeroext %43)
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %38, %45
br i1 %46, label %47, label %48
47: ; preds = %32
store i32 0, ptr %4, align 4
br label %62
48: ; preds = %32
br label %49
49: ; preds = %48
%50 = load i32, ptr %8, align 4
%51 = add i32 %50, 1
store i32 %51, ptr %8, align 4
br label %17, !llvm.loop !6
52: ; preds = %30
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %8, align 4
%55 = zext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %52
store i32 1, ptr %4, align 4
br label %62
61: ; preds = %52
store i32 0, ptr %4, align 4
br label %62
62: ; preds = %61, %60, %47, %15
%63 = load i32, ptr %4, align 4
ret i32 %63
}
declare i64 @strlen(ptr noundef) #1
declare signext i8 @toupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfiy7d9rq.c'
source_filename = "/tmp/tmpfiy7d9rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfiy7d9rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4ud57dme.c'
source_filename = "/tmp/tmp4ud57dme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rolright(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @getnum(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, 128
br i1 %10, label %11, label %12
11: ; preds = %8, %1
br label %15
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = call i32 @shiftright_(i32 noundef %13)
br label %15
15: ; preds = %12, %11
ret void
}
declare i32 @getnum(ptr noundef) #1
declare i32 @shiftright_(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ud57dme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rolright(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @getnum(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, 128
br i1 %10, label %11, label %12
11: ; preds = %8, %1
br label %15
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = call i32 @shiftright_(i32 noundef %13)
br label %15
15: ; preds = %12, %11
ret void
}
declare i32 @getnum(ptr noundef) #1
declare i32 @shiftright_(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnoxbepk3.c'
source_filename = "/tmp/tmpnoxbepk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"Error: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr %3, align 4
%9 = call i32 @exit(i32 noundef %8) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnoxbepk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"Error: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr %3, align 4
%9 = call i32 @exit(i32 noundef %8) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm6gtbnca.c'
source_filename = "/tmp/tmpm6gtbnca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.passwd = type { ptr, ptr, i32, i32, ptr, ptr, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Usage: %s <passwd|group> <name>\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"passwd\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Unable to find %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"%s:%s:%d:%d:%s:%s:%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"group\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Not implemented\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 3
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 1, ptr %3, align 4
br label %71
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str.1)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %57
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call ptr @getpwnam(ptr noundef %24)
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %34, label %28
28: ; preds = %21
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 2
%32 = load ptr, ptr %31, align 8
%33 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2, ptr noundef %32)
store i32 2, ptr %3, align 4
br label %71
34: ; preds = %21
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds %struct.passwd, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds %struct.passwd, ptr %38, i32 0, i32 1
%40 = load ptr, ptr %39, align 8
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds %struct.passwd, ptr %41, i32 0, i32 2
%43 = load i32, ptr %42, align 8
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds %struct.passwd, ptr %44, i32 0, i32 3
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds %struct.passwd, ptr %47, i32 0, i32 4
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds %struct.passwd, ptr %50, i32 0, i32 5
%52 = load ptr, ptr %51, align 8
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds %struct.passwd, ptr %53, i32 0, i32 6
%55 = load ptr, ptr %54, align 8
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %37, ptr noundef %40, i32 noundef %43, i32 noundef %46, ptr noundef %49, ptr noundef %52, ptr noundef %55)
store i32 0, ptr %3, align 4
br label %71
57: ; preds = %15
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 1
%60 = load ptr, ptr %59, align 8
%61 = call i64 @strcmp(ptr noundef %60, ptr noundef @.str.4)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 2, ptr %3, align 4
br label %71
65: ; preds = %57
%66 = load i32, ptr @stderr, align 4
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds ptr, ptr %67, i64 0
%69 = load ptr, ptr %68, align 8
%70 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str, ptr noundef %69)
store i32 1, ptr %3, align 4
br label %71
71: ; preds = %65, %63, %34, %28, %9
%72 = load i32, ptr %3, align 4
ret i32 %72
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @getpwnam(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm6gtbnca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.passwd = type { ptr, ptr, i32, i32, ptr, ptr, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Usage: %s <passwd|group> <name>\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"passwd\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Unable to find %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"%s:%s:%d:%d:%s:%s:%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"group\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Not implemented\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 3
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 1, ptr %3, align 4
br label %71
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str.1)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %57
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call ptr @getpwnam(ptr noundef %24)
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %34, label %28
28: ; preds = %21
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 2
%32 = load ptr, ptr %31, align 8
%33 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2, ptr noundef %32)
store i32 2, ptr %3, align 4
br label %71
34: ; preds = %21
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds %struct.passwd, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds %struct.passwd, ptr %38, i32 0, i32 1
%40 = load ptr, ptr %39, align 8
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds %struct.passwd, ptr %41, i32 0, i32 2
%43 = load i32, ptr %42, align 8
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds %struct.passwd, ptr %44, i32 0, i32 3
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds %struct.passwd, ptr %47, i32 0, i32 4
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds %struct.passwd, ptr %50, i32 0, i32 5
%52 = load ptr, ptr %51, align 8
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds %struct.passwd, ptr %53, i32 0, i32 6
%55 = load ptr, ptr %54, align 8
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %37, ptr noundef %40, i32 noundef %43, i32 noundef %46, ptr noundef %49, ptr noundef %52, ptr noundef %55)
store i32 0, ptr %3, align 4
br label %71
57: ; preds = %15
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 1
%60 = load ptr, ptr %59, align 8
%61 = call i64 @strcmp(ptr noundef %60, ptr noundef @.str.4)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 2, ptr %3, align 4
br label %71
65: ; preds = %57
%66 = load i32, ptr @stderr, align 4
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds ptr, ptr %67, i64 0
%69 = load ptr, ptr %68, align 8
%70 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str, ptr noundef %69)
store i32 1, ptr %3, align 4
br label %71
71: ; preds = %65, %63, %34, %28, %9
%72 = load i32, ptr %3, align 4
ret i32 %72
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @getpwnam(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz_pkgc7n.c'
source_filename = "/tmp/tmpz_pkgc7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"res =%d \0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c" year= %x \0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c" month = %x \0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c" day = %x \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @ioperm(i32 noundef 112, i32 noundef 4, i32 noundef 1)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = call i32 @outb(i32 noundef 9, i32 noundef 112)
%9 = call i32 @inb(i32 noundef 113)
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = call i32 @outb(i32 noundef 8, i32 noundef 112)
%12 = call i32 @inb(i32 noundef 113)
%13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = call i32 @outb(i32 noundef 7, i32 noundef 112)
%15 = call i32 @inb(i32 noundef 113)
%16 = call i32 @printf(ptr noundef @.str.3, i32 noundef %15)
ret i32 0
}
declare i32 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @outb(i32 noundef, i32 noundef) #1
declare i32 @inb(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz_pkgc7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"res =%d \0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c" year= %x \0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c" month = %x \0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c" day = %x \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @ioperm(i32 noundef 112, i32 noundef 4, i32 noundef 1)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = call i32 @outb(i32 noundef 9, i32 noundef 112)
%9 = call i32 @inb(i32 noundef 113)
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = call i32 @outb(i32 noundef 8, i32 noundef 112)
%12 = call i32 @inb(i32 noundef 113)
%13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = call i32 @outb(i32 noundef 7, i32 noundef 112)
%15 = call i32 @inb(i32 noundef 113)
%16 = call i32 @printf(ptr noundef @.str.3, i32 noundef %15)
ret i32 0
}
declare i32 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @outb(i32 noundef, i32 noundef) #1
declare i32 @inb(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_va8lzam.c'
source_filename = "/tmp/tmp_va8lzam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @decode_size_base64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @base64_decode_size(i64 noundef %3)
ret i64 %4
}
declare i64 @base64_decode_size(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_va8lzam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @decode_size_base64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @base64_decode_size(i64 noundef %3)
ret i64 %4
}
declare i64 @base64_decode_size(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdpan55p8.c'
source_filename = "/tmp/tmpdpan55p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pin_offset(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 2
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3)
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdpan55p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pin_offset(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 2
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3)
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoowfbqf8.c'
source_filename = "/tmp/tmpoowfbqf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readLine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call i64 @calloc(i32 noundef 0, i32 noundef 1)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %21, %1
%9 = load ptr, ptr %2, align 8
%10 = call signext i8 @fgetc(ptr noundef %9)
store i8 %10, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = load i8, ptr @EOF, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %11, %13
br i1 %14, label %15, label %19
15: ; preds = %8
%16 = load i8, ptr %4, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 10
br label %19
19: ; preds = %15, %8
%20 = phi i1 [ false, %8 ], [ %18, %15 ]
br i1 %20, label %21, label %40
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = mul i64 1, %25
%27 = trunc i64 %26 to i32
%28 = call i64 @realloc(ptr noundef %22, i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %3, align 8
%30 = load i8, ptr %4, align 1
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = sext i32 %32 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
store i8 %30, ptr %35, align 1
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 0, ptr %39, align 1
br label %8, !llvm.loop !6
40: ; preds = %19
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoowfbqf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readLine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call i64 @calloc(i32 noundef 0, i32 noundef 1)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %21, %1
%9 = load ptr, ptr %2, align 8
%10 = call signext i8 @fgetc(ptr noundef %9)
store i8 %10, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = load i8, ptr @EOF, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %11, %13
br i1 %14, label %15, label %19
15: ; preds = %8
%16 = load i8, ptr %4, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 10
br label %19
19: ; preds = %15, %8
%20 = phi i1 [ false, %8 ], [ %18, %15 ]
br i1 %20, label %21, label %40
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = mul i64 1, %25
%27 = trunc i64 %26 to i32
%28 = call i64 @realloc(ptr noundef %22, i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %3, align 8
%30 = load i8, ptr %4, align 1
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = sext i32 %32 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
store i8 %30, ptr %35, align 1
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 0, ptr %39, align 1
br label %8, !llvm.loop !6
40: ; preds = %19
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx7f3it9y.c'
source_filename = "/tmp/tmpx7f3it9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_TRIANGLES = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx7f3it9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_TRIANGLES = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpng5_t4ct.c'
source_filename = "/tmp/tmpng5_t4ct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @f() #0 {
%1 = call ptr (...) @h()
ret ptr %1
}
declare ptr @h(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpng5_t4ct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @f() #0 {
%1 = call ptr (...) @h()
ret ptr %1
}
declare ptr @h(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3iogjb23.c'
source_filename = "/tmp/tmp3iogjb23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %21, %0
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %11, i64 %18
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %12, !llvm.loop !6
24: ; preds = %12
%25 = load i32, ptr %2, align 4
%26 = call i32 @CountSort(ptr noundef %11, i32 noundef %25)
store i32 0, ptr %6, align 4
br label %27
27: ; preds = %37, %24
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %40
31: ; preds = %27
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %11, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35)
br label %37
37: ; preds = %31
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %27, !llvm.loop !8
40: ; preds = %27
store i32 0, ptr %1, align 4
%41 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %41)
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @CountSort(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3iogjb23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %4, align 8
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %20
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %11, i64 %17
%19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
%27 = load i32, ptr %2, align 4
%28 = call i32 @CountSort(ptr noundef %11, i32 noundef %27)
store i32 0, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph2, label %44
.lr.ph2: ; preds = %26
br label %32
32: ; preds = %.lr.ph2, %38
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %11, i64 %34
%36 = load i32, ptr %35, align 4
%37 = call i32 @printf(ptr noundef @.str.1, i32 noundef %36)
br label %38
38: ; preds = %32
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %2, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %44
44: ; preds = %._crit_edge3, %26
store i32 0, ptr %1, align 4
%45 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %45)
%46 = load i32, ptr %1, align 4
ret i32 %46
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @CountSort(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyydkof90.c'
source_filename = "/tmp/tmpyydkof90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strcat_dup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
br label %12
11: ; preds = %2
br label %12
12: ; preds = %11, %8
%13 = phi i64 [ %10, %8 ], [ 0, %11 ]
%14 = load ptr, ptr %4, align 8
%15 = call i64 @strlen(ptr noundef %14)
%16 = add nsw i64 %13, %15
%17 = add nsw i64 %16, 1
%18 = call ptr @realloc(ptr noundef %5, i64 noundef %17)
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %4, align 8
%21 = call ptr @strcat(ptr noundef %19, ptr noundef %20)
ret ptr %21
}
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyydkof90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strcat_dup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
br label %12
11: ; preds = %2
br label %12
12: ; preds = %11, %8
%13 = phi i64 [ %10, %8 ], [ 0, %11 ]
%14 = load ptr, ptr %4, align 8
%15 = call i64 @strlen(ptr noundef %14)
%16 = add nsw i64 %13, %15
%17 = add nsw i64 %16, 1
%18 = call ptr @realloc(ptr noundef %5, i64 noundef %17)
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %4, align 8
%21 = call ptr @strcat(ptr noundef %19, ptr noundef %20)
ret ptr %21
}
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxhtu1jwm.c'
source_filename = "/tmp/tmpxhtu1jwm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f_ior_uint64_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %15
15: ; preds = %48, %6
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %12, align 4
%18 = icmp ult i32 %16, %17
br i1 %18, label %19, label %51
19: ; preds = %15
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %13, align 4
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i64, ptr %20, i64 %22
%24 = load i64, ptr %23, align 8
%25 = load i64, ptr %11, align 8
%26 = or i64 %24, %25
store i64 %26, ptr %14, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %13, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i64, ptr %27, i64 %29
%31 = load i64, ptr %30, align 8
%32 = load i64, ptr %9, align 8
%33 = icmp slt i64 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %19
%35 = load i64, ptr %14, align 8
br label %42
36: ; preds = %19
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %13, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %37, i64 %39
%41 = load i64, ptr %40, align 8
br label %42
42: ; preds = %36, %34
%43 = phi i64 [ %35, %34 ], [ %41, %36 ]
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %13, align 4
%46 = zext i32 %45 to i64
%47 = getelementptr inbounds i64, ptr %44, i64 %46
store i64 %43, ptr %47, align 8
br label %48
48: ; preds = %42
%49 = load i32, ptr %13, align 4
%50 = add i32 %49, 1
store i32 %50, ptr %13, align 4
br label %15, !llvm.loop !6
51: ; preds = %15
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxhtu1jwm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f_ior_uint64_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp ult i32 %15, %16
br i1 %17, label %.lr.ph, label %53
.lr.ph: ; preds = %6
br label %18
18: ; preds = %.lr.ph, %47
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %13, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr %11, align 8
%25 = or i64 %23, %24
store i64 %25, ptr %14, align 8
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %13, align 4
%28 = zext i32 %27 to i64
%29 = getelementptr inbounds i64, ptr %26, i64 %28
%30 = load i64, ptr %29, align 8
%31 = load i64, ptr %9, align 8
%32 = icmp slt i64 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %18
%34 = load i64, ptr %14, align 8
br label %41
35: ; preds = %18
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %13, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds i64, ptr %36, i64 %38
%40 = load i64, ptr %39, align 8
br label %41
41: ; preds = %35, %33
%42 = phi i64 [ %34, %33 ], [ %40, %35 ]
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %13, align 4
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds i64, ptr %43, i64 %45
store i64 %42, ptr %46, align 8
br label %47
47: ; preds = %41
%48 = load i32, ptr %13, align 4
%49 = add i32 %48, 1
store i32 %49, ptr %13, align 4
%50 = load i32, ptr %13, align 4
%51 = load i32, ptr %12, align 4
%52 = icmp ult i32 %50, %51
br i1 %52, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd68mlube.c'
source_filename = "/tmp/tmpd68mlube.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Sum = %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = call i32 (...) @__isoc99_scanf()
%11 = load i32, ptr %8, align 4
%12 = call i32 @add1(i32 noundef %11)
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
ret i32 0
}
declare i32 @__isoc99_scanf(...) #1
declare i32 @add1(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd68mlube.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Sum = %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = call i32 (...) @__isoc99_scanf()
%11 = load i32, ptr %8, align 4
%12 = call i32 @add1(i32 noundef %11)
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
ret i32 0
}
declare i32 @__isoc99_scanf(...) #1
declare i32 @add1(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuyjamayu.c'
source_filename = "/tmp/tmpuyjamayu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
%struct.hostent = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"gethostbyname error.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_ip_from_host(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %9, ptr %10, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%13 = call i64 @inet_aton(ptr noundef %11, ptr noundef %12)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %28
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call ptr @gethostbyname(ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @__die__(ptr noundef @.str)
br label %22
22: ; preds = %20, %15
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds %struct.hostent, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = call i32 @memcpy(ptr noundef %23, i32 noundef %26, i32 noundef 4)
br label %28
28: ; preds = %22, %3
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = call i32 @inet_ntoa(i32 noundef %31)
%33 = load i32, ptr %6, align 4
%34 = call i32 @strncpy(ptr noundef %29, i32 noundef %32, i32 noundef %33)
ret i32 0
}
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @__die__(ptr noundef) #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_ntoa(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuyjamayu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
%struct.hostent = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"gethostbyname error.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_ip_from_host(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %9, ptr %10, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%13 = call i64 @inet_aton(ptr noundef %11, ptr noundef %12)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %28
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call ptr @gethostbyname(ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @__die__(ptr noundef @.str)
br label %22
22: ; preds = %20, %15
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds %struct.hostent, ptr %24, i32 0, i32 0
%26 = load i32, ptr %25, align 4
%27 = call i32 @memcpy(ptr noundef %23, i32 noundef %26, i32 noundef 4)
br label %28
28: ; preds = %22, %3
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = call i32 @inet_ntoa(i32 noundef %31)
%33 = load i32, ptr %6, align 4
%34 = call i32 @strncpy(ptr noundef %29, i32 noundef %32, i32 noundef %33)
ret i32 0
}
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @__die__(ptr noundef) #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_ntoa(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_gh49g_q.c'
source_filename = "/tmp/tmp_gh49g_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @ft_pop_sign(i32 noundef %5, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @ft_putchar(i32 noundef 45)
br label %11
11: ; preds = %9, %1
%12 = load i32, ptr %4, align 4
%13 = icmp uge i32 %12, 10
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = udiv i32 %15, 10
call void @ft_putnbr(i32 noundef %16)
br label %17
17: ; preds = %14, %11
%18 = load i32, ptr %4, align 4
%19 = urem i32 %18, 10
%20 = add i32 %19, 48
%21 = call i32 @ft_putchar(i32 noundef %20)
ret void
}
declare i32 @ft_pop_sign(i32 noundef, ptr noundef) #1
declare i32 @ft_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_gh49g_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @ft_pop_sign(i32 noundef %5, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @ft_putchar(i32 noundef 45)
br label %11
11: ; preds = %9, %1
%12 = load i32, ptr %4, align 4
%13 = icmp uge i32 %12, 10
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = udiv i32 %15, 10
call void @ft_putnbr(i32 noundef %16)
br label %17
17: ; preds = %14, %11
%18 = load i32, ptr %4, align 4
%19 = urem i32 %18, 10
%20 = add i32 %19, 48
%21 = call i32 @ft_putchar(i32 noundef %20)
ret void
}
declare i32 @ft_pop_sign(i32 noundef, ptr noundef) #1
declare i32 @ft_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj7so47wc.c'
source_filename = "/tmp/tmpj7so47wc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"terminator-bounds-check, terminator called\00", align 1
@llvm.global_dtors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @myterm, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myterm() #0 {
%1 = call i32 @FAIL(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @FAIL(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj7so47wc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"terminator-bounds-check, terminator called\00", align 1
@llvm.global_dtors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @myterm, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myterm() #0 {
%1 = call i32 @FAIL(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @FAIL(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkeecvdkf.c'
source_filename = "/tmp/tmpkeecvdkf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @UrlGetProto(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load i64, ptr %5, align 8
%15 = icmp ugt i64 %14, 0
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %22, align 8
%24 = icmp ne ptr %23, null
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load ptr, ptr %4, align 8
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %7, align 8
br label %30
30: ; preds = %47, %3
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
%33 = load i8, ptr %31, align 1
store i8 %33, ptr %9, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %30
%37 = load i64, ptr %5, align 8
%38 = add i64 %37, -1
store i64 %38, ptr %5, align 8
%39 = icmp ne i64 %38, 0
br label %40
40: ; preds = %36, %30
%41 = phi i1 [ false, %30 ], [ %39, %36 ]
br i1 %41, label %42, label %53
42: ; preds = %40
%43 = load i8, ptr %9, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 58
br i1 %45, label %46, label %47
46: ; preds = %42
br label %53
47: ; preds = %42
%48 = load i8, ptr %9, align 1
%49 = call i32 @tolower(i8 noundef signext %48)
%50 = trunc i32 %49 to i8
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %4, align 8
store i8 %50, ptr %51, align 1
br label %30, !llvm.loop !6
53: ; preds = %46, %40
%54 = load ptr, ptr %4, align 8
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %7, align 8
%56 = load ptr, ptr %6, align 8
store ptr %55, ptr %56, align 8
%57 = load ptr, ptr %4, align 8
%58 = load ptr, ptr %8, align 8
%59 = ptrtoint ptr %57 to i64
%60 = ptrtoint ptr %58 to i64
%61 = sub i64 %59, %60
ret i64 %61
}
declare i32 @assert(i32 noundef) #1
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkeecvdkf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @UrlGetProto(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load i64, ptr %5, align 8
%15 = icmp ugt i64 %14, 0
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %22, align 8
%24 = icmp ne ptr %23, null
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load ptr, ptr %4, align 8
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %7, align 8
br label %30
30: ; preds = %47, %3
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
%33 = load i8, ptr %31, align 1
store i8 %33, ptr %9, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %30
%37 = load i64, ptr %5, align 8
%38 = add i64 %37, -1
store i64 %38, ptr %5, align 8
%39 = icmp ne i64 %38, 0
br label %40
40: ; preds = %36, %30
%41 = phi i1 [ false, %30 ], [ %39, %36 ]
br i1 %41, label %42, label %.loopexit
42: ; preds = %40
%43 = load i8, ptr %9, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 58
br i1 %45, label %46, label %47
46: ; preds = %42
br label %53
47: ; preds = %42
%48 = load i8, ptr %9, align 1
%49 = call i32 @tolower(i8 noundef signext %48)
%50 = trunc i32 %49 to i8
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %4, align 8
store i8 %50, ptr %51, align 1
br label %30, !llvm.loop !6
.loopexit: ; preds = %40
br label %53
53: ; preds = %.loopexit, %46
%54 = load ptr, ptr %4, align 8
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %7, align 8
%56 = load ptr, ptr %6, align 8
store ptr %55, ptr %56, align 8
%57 = load ptr, ptr %4, align 8
%58 = load ptr, ptr %8, align 8
%59 = ptrtoint ptr %57 to i64
%60 = ptrtoint ptr %58 to i64
%61 = sub i64 %59, %60
ret i64 %61
}
declare i32 @assert(i32 noundef) #1
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnvv3taa_.c'
source_filename = "/tmp/tmpnvv3taa_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str1 = private unnamed_addr constant [22 x i8] c"This is a test string\00", align 16
@__const.main.str1_expected = private unnamed_addr constant [12 x i8] c"This aterng\00", align 1
@__const.main.str2 = private unnamed_addr constant [3 x i8] c" \00", align 1
@__const.main.str2_expected = private unnamed_addr constant [2 x i8] c" \00", align 1
@__const.main.str3 = private unnamed_addr constant [17 x i8] c"aaaaabbbcccccccc\00", align 16
@__const.main.str3_expected = private unnamed_addr constant [4 x i8] c"abc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [22 x i8], align 16
%3 = alloca [12 x i8], align 1
%4 = alloca [3 x i8], align 1
%5 = alloca [2 x i8], align 1
%6 = alloca [17 x i8], align 16
%7 = alloca [4 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str1, i64 22, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.str1_expected, i64 12, i1 false)
%8 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @replaceDups(ptr noundef %8)
%10 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0
%11 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%12 = call i64 @strcmp(ptr noundef %10, ptr noundef %11)
%13 = icmp eq i64 %12, 0
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.str2, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.str2_expected, i64 2, i1 false)
%16 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%17 = call i32 @replaceDups(ptr noundef %16)
%18 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%19 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%20 = call i64 @strcmp(ptr noundef %18, ptr noundef %19)
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.str3, i64 17, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.str3_expected, i64 4, i1 false)
%24 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0
%25 = call i32 @replaceDups(ptr noundef %24)
%26 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0
%27 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27)
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @replaceDups(ptr noundef) #2
declare i32 @assert(i32 noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnvv3taa_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str1 = private unnamed_addr constant [22 x i8] c"This is a test string\00", align 16
@__const.main.str1_expected = private unnamed_addr constant [12 x i8] c"This aterng\00", align 1
@__const.main.str2 = private unnamed_addr constant [3 x i8] c" \00", align 1
@__const.main.str2_expected = private unnamed_addr constant [2 x i8] c" \00", align 1
@__const.main.str3 = private unnamed_addr constant [17 x i8] c"aaaaabbbcccccccc\00", align 16
@__const.main.str3_expected = private unnamed_addr constant [4 x i8] c"abc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [22 x i8], align 16
%3 = alloca [12 x i8], align 1
%4 = alloca [3 x i8], align 1
%5 = alloca [2 x i8], align 1
%6 = alloca [17 x i8], align 16
%7 = alloca [4 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str1, i64 22, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.str1_expected, i64 12, i1 false)
%8 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @replaceDups(ptr noundef %8)
%10 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0
%11 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%12 = call i64 @strcmp(ptr noundef %10, ptr noundef %11)
%13 = icmp eq i64 %12, 0
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.str2, i64 3, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.main.str2_expected, i64 2, i1 false)
%16 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%17 = call i32 @replaceDups(ptr noundef %16)
%18 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%19 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%20 = call i64 @strcmp(ptr noundef %18, ptr noundef %19)
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.str3, i64 17, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.str3_expected, i64 4, i1 false)
%24 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0
%25 = call i32 @replaceDups(ptr noundef %24)
%26 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0
%27 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27)
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @replaceDups(ptr noundef) #2
declare i32 @assert(i32 noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp86kdlqum.c'
source_filename = "/tmp/tmp86kdlqum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"int\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"float\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"double\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @identifier(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %20
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str.3)
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %16, %12, %8, %1
store i32 0, ptr %2, align 4
br label %62
21: ; preds = %16
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
%24 = load i8, ptr %23, align 1
%25 = call i64 @isalpha(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %34, label %27
27: ; preds = %21
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 95
br i1 %32, label %34, label %33
33: ; preds = %27
store i32 0, ptr %2, align 4
br label %62
34: ; preds = %27, %21
store i32 1, ptr %4, align 4
br label %35
35: ; preds = %58, %34
%36 = load i32, ptr %4, align 4
%37 = load ptr, ptr %3, align 8
%38 = call i32 @strlen(ptr noundef %37)
%39 = icmp slt i32 %36, %38
br i1 %39, label %40, label %61
40: ; preds = %35
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = call i64 @isalnum(i8 noundef signext %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %57, label %48
48: ; preds = %40
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 95
br i1 %55, label %57, label %56
56: ; preds = %48
store i32 0, ptr %2, align 4
br label %62
57: ; preds = %48, %40
br label %58
58: ; preds = %57
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %4, align 4
br label %35, !llvm.loop !6
61: ; preds = %35
store i32 1, ptr %2, align 4
br label %62
62: ; preds = %61, %56, %33, %20
%63 = load i32, ptr %2, align 4
ret i32 %63
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @isalpha(i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isalnum(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp86kdlqum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"int\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"float\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"double\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @identifier(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %20
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str.3)
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %16, %12, %8, %1
store i32 0, ptr %2, align 4
br label %65
21: ; preds = %16
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
%24 = load i8, ptr %23, align 1
%25 = call i64 @isalpha(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %34, label %27
27: ; preds = %21
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 95
br i1 %32, label %34, label %33
33: ; preds = %27
store i32 0, ptr %2, align 4
br label %65
34: ; preds = %27, %21
store i32 1, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = load ptr, ptr %3, align 8
%37 = call i32 @strlen(ptr noundef %36)
%38 = icmp slt i32 %35, %37
br i1 %38, label %.lr.ph, label %64
.lr.ph: ; preds = %34
br label %39
39: ; preds = %.lr.ph, %57
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = call i64 @isalnum(i8 noundef signext %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %56, label %47
47: ; preds = %39
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %4, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 95
br i1 %54, label %56, label %55
55: ; preds = %47
store i32 0, ptr %2, align 4
br label %65
56: ; preds = %47, %39
br label %57
57: ; preds = %56
%58 = load i32, ptr %4, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %4, align 4
%60 = load i32, ptr %4, align 4
%61 = load ptr, ptr %3, align 8
%62 = call i32 @strlen(ptr noundef %61)
%63 = icmp slt i32 %60, %62
br i1 %63, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %64
64: ; preds = %._crit_edge, %34
store i32 1, ptr %2, align 4
br label %65
65: ; preds = %64, %55, %33, %20
%66 = load i32, ptr %2, align 4
ret i32 %66
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @isalpha(i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isalnum(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcm18iksb.c'
source_filename = "/tmp/tmpcm18iksb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @enlarge_array(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = add nsw i32 %8, 1024
%10 = icmp slt i32 %6, %9
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %13, align 4
%15 = add nsw i32 %14, 1024
%16 = load ptr, ptr %4, align 8
store i32 %15, ptr %16, align 4
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %18, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call ptr @realloc(ptr noundef %17, i32 noundef %22)
ret ptr %23
}
declare i32 @assert(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcm18iksb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @enlarge_array(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = add nsw i32 %8, 1024
%10 = icmp slt i32 %6, %9
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %13, align 4
%15 = add nsw i32 %14, 1024
%16 = load ptr, ptr %4, align 8
store i32 %15, ptr %16, align 4
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %18, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call ptr @realloc(ptr noundef %17, i32 noundef %22)
ret ptr %23
}
declare i32 @assert(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfdffjnvz.c'
source_filename = "/tmp/tmpfdffjnvz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @volumeRange3D(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [3 x double], align 16
%13 = alloca [3 x double], align 16
%14 = alloca [3 x double], align 16
%15 = alloca [3 x double], align 16
%16 = alloca [3 x double], align 16
%17 = alloca [3 x double], align 16
%18 = alloca [3 x double], align 16
%19 = alloca [3 x double], align 16
%20 = alloca [3 x double], align 16
%21 = alloca [3 x double], align 16
%22 = alloca [3 x double], align 16
%23 = alloca [3 x double], align 16
%24 = alloca [3 x double], align 16
%25 = alloca [3 x double], align 16
%26 = alloca [3 x double], align 16
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%42 = load ptr, ptr %7, align 8
%43 = getelementptr inbounds double, ptr %42, i64 0
%44 = load double, ptr %43, align 8
%45 = fptosi double %44 to i32
store i32 %45, ptr %9, align 4
%46 = load ptr, ptr %7, align 8
%47 = getelementptr inbounds double, ptr %46, i64 1
%48 = load double, ptr %47, align 8
%49 = fptosi double %48 to i32
store i32 %49, ptr %10, align 4
%50 = load ptr, ptr %7, align 8
%51 = getelementptr inbounds double, ptr %50, i64 2
%52 = load double, ptr %51, align 8
%53 = fptosi double %52 to i32
store i32 %53, ptr %11, align 4
store double 1.000000e+03, ptr %28, align 8
store double 0.000000e+00, ptr %29, align 8
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
%58 = mul nsw i32 %55, %57
%59 = load i32, ptr %11, align 4
%60 = add nsw i32 %59, 1
%61 = mul nsw i32 %58, %60
store i32 %61, ptr %37, align 4
store i32 1, ptr %38, align 4
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %39, align 4
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
%68 = mul nsw i32 %65, %67
store i32 %68, ptr %40, align 4
store i32 0, ptr %31, align 4
br label %69
69: ; preds = %743, %4
%70 = load i32, ptr %31, align 4
%71 = load i32, ptr %9, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %73, label %746
73: ; preds = %69
store i32 0, ptr %32, align 4
br label %74
74: ; preds = %739, %73
%75 = load i32, ptr %32, align 4
%76 = load i32, ptr %10, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %742
78: ; preds = %74
store i32 0, ptr %33, align 4
br label %79
79: ; preds = %735, %78
%80 = load i32, ptr %33, align 4
%81 = load i32, ptr %11, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %83, label %738
83: ; preds = %79
%84 = load i32, ptr %31, align 4
%85 = load i32, ptr %32, align 4
%86 = load i32, ptr %39, align 4
%87 = mul nsw i32 %85, %86
%88 = add nsw i32 %84, %87
%89 = load i32, ptr %33, align 4
%90 = load i32, ptr %40, align 4
%91 = mul nsw i32 %89, %90
%92 = add nsw i32 %88, %91
store i32 %92, ptr %36, align 4
store i32 0, ptr %35, align 4
store i32 0, ptr %34, align 4
br label %93
93: ; preds = %319, %83
%94 = load i32, ptr %34, align 4
%95 = icmp slt i32 %94, 3
br i1 %95, label %96, label %322
96: ; preds = %93
%97 = load ptr, ptr %6, align 8
%98 = load i32, ptr %36, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %97, i64 %99
%101 = load i32, ptr %35, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %100, i64 %102
store ptr %103, ptr %41, align 8
%104 = load ptr, ptr %41, align 8
%105 = load double, ptr %104, align 8
%106 = load i32, ptr %34, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %107
store double %105, ptr %108, align 8
%109 = load ptr, ptr %41, align 8
%110 = getelementptr inbounds double, ptr %109, i64 1
store ptr %110, ptr %41, align 8
%111 = load ptr, ptr %41, align 8
%112 = load double, ptr %111, align 8
%113 = load i32, ptr %34, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %114
store double %112, ptr %115, align 8
%116 = load i32, ptr %39, align 4
%117 = load ptr, ptr %41, align 8
%118 = sext i32 %116 to i64
%119 = getelementptr inbounds double, ptr %117, i64 %118
store ptr %119, ptr %41, align 8
%120 = load ptr, ptr %41, align 8
%121 = load double, ptr %120, align 8
%122 = load i32, ptr %34, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %123
store double %121, ptr %124, align 8
%125 = load ptr, ptr %41, align 8
%126 = getelementptr inbounds double, ptr %125, i64 -1
store ptr %126, ptr %41, align 8
%127 = load ptr, ptr %41, align 8
%128 = load double, ptr %127, align 8
%129 = load i32, ptr %34, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %130
store double %128, ptr %131, align 8
%132 = load i32, ptr %40, align 4
%133 = load ptr, ptr %41, align 8
%134 = sext i32 %132 to i64
%135 = getelementptr inbounds double, ptr %133, i64 %134
store ptr %135, ptr %41, align 8
%136 = load ptr, ptr %41, align 8
%137 = load double, ptr %136, align 8
%138 = load i32, ptr %34, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %139
store double %137, ptr %140, align 8
%141 = load ptr, ptr %41, align 8
%142 = getelementptr inbounds double, ptr %141, i64 1
store ptr %142, ptr %41, align 8
%143 = load ptr, ptr %41, align 8
%144 = load double, ptr %143, align 8
%145 = load i32, ptr %34, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %146
store double %144, ptr %147, align 8
%148 = load i32, ptr %39, align 4
%149 = load ptr, ptr %41, align 8
%150 = sext i32 %148 to i64
%151 = sub i64 0, %150
%152 = getelementptr inbounds double, ptr %149, i64 %151
store ptr %152, ptr %41, align 8
%153 = load ptr, ptr %41, align 8
%154 = load double, ptr %153, align 8
%155 = load i32, ptr %34, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %156
store double %154, ptr %157, align 8
%158 = load ptr, ptr %41, align 8
%159 = getelementptr inbounds double, ptr %158, i64 -1
store ptr %159, ptr %41, align 8
%160 = load ptr, ptr %41, align 8
%161 = load double, ptr %160, align 8
%162 = load i32, ptr %34, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %163
store double %161, ptr %164, align 8
%165 = load i32, ptr %34, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %166
%168 = load double, ptr %167, align 8
%169 = load i32, ptr %34, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %170
%172 = load double, ptr %171, align 8
%173 = fadd double %168, %172
%174 = load i32, ptr %34, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %175
%177 = load double, ptr %176, align 8
%178 = fadd double %173, %177
%179 = load i32, ptr %34, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %180
%182 = load double, ptr %181, align 8
%183 = fadd double %178, %182
%184 = fmul double 2.500000e-01, %183
%185 = load i32, ptr %34, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %186
store double %184, ptr %187, align 8
%188 = load i32, ptr %34, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %189
%191 = load double, ptr %190, align 8
%192 = load i32, ptr %34, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %193
%195 = load double, ptr %194, align 8
%196 = fadd double %191, %195
%197 = load i32, ptr %34, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %198
%200 = load double, ptr %199, align 8
%201 = fadd double %196, %200
%202 = load i32, ptr %34, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %203
%205 = load double, ptr %204, align 8
%206 = fadd double %201, %205
%207 = fmul double 2.500000e-01, %206
%208 = load i32, ptr %34, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %209
store double %207, ptr %210, align 8
%211 = load i32, ptr %34, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %212
%214 = load double, ptr %213, align 8
%215 = load i32, ptr %34, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %216
%218 = load double, ptr %217, align 8
%219 = fadd double %214, %218
%220 = load i32, ptr %34, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %221
%223 = load double, ptr %222, align 8
%224 = fadd double %219, %223
%225 = load i32, ptr %34, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %226
%228 = load double, ptr %227, align 8
%229 = fadd double %224, %228
%230 = fmul double 2.500000e-01, %229
%231 = load i32, ptr %34, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 %232
store double %230, ptr %233, align 8
%234 = load i32, ptr %34, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %235
%237 = load double, ptr %236, align 8
%238 = load i32, ptr %34, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %239
%241 = load double, ptr %240, align 8
%242 = fadd double %237, %241
%243 = load i32, ptr %34, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %244
%246 = load double, ptr %245, align 8
%247 = fadd double %242, %246
%248 = load i32, ptr %34, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %249
%251 = load double, ptr %250, align 8
%252 = fadd double %247, %251
%253 = fmul double 2.500000e-01, %252
%254 = load i32, ptr %34, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 %255
store double %253, ptr %256, align 8
%257 = load i32, ptr %34, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %258
%260 = load double, ptr %259, align 8
%261 = load i32, ptr %34, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %262
%264 = load double, ptr %263, align 8
%265 = fadd double %260, %264
%266 = load i32, ptr %34, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %267
%269 = load double, ptr %268, align 8
%270 = fadd double %265, %269
%271 = load i32, ptr %34, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %272
%274 = load double, ptr %273, align 8
%275 = fadd double %270, %274
%276 = fmul double 2.500000e-01, %275
%277 = load i32, ptr %34, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 %278
store double %276, ptr %279, align 8
%280 = load i32, ptr %34, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %281
%283 = load double, ptr %282, align 8
%284 = load i32, ptr %34, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %285
%287 = load double, ptr %286, align 8
%288 = fadd double %283, %287
%289 = load i32, ptr %34, align 4
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %290
%292 = load double, ptr %291, align 8
%293 = fadd double %288, %292
%294 = load i32, ptr %34, align 4
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %295
%297 = load double, ptr %296, align 8
%298 = fadd double %293, %297
%299 = fmul double 2.500000e-01, %298
%300 = load i32, ptr %34, align 4
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 %301
store double %299, ptr %302, align 8
%303 = load i32, ptr %34, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %304
%306 = load double, ptr %305, align 8
%307 = load i32, ptr %34, align 4
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 %308
%310 = load double, ptr %309, align 8
%311 = fadd double %306, %310
%312 = fmul double 5.000000e-01, %311
%313 = load i32, ptr %34, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 %314
store double %312, ptr %315, align 8
%316 = load i32, ptr %37, align 4
%317 = load i32, ptr %35, align 4
%318 = add nsw i32 %317, %316
store i32 %318, ptr %35, align 4
br label %319
319: ; preds = %96
%320 = load i32, ptr %34, align 4
%321 = add nsw i32 %320, 1
store i32 %321, ptr %34, align 4
br label %93, !llvm.loop !6
322: ; preds = %93
%323 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%324 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%325 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%326 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%327 = call double @det3D(ptr noundef %323, ptr noundef %324, ptr noundef %325, ptr noundef %326)
%328 = fneg double %327
store double %328, ptr %27, align 8
%329 = load double, ptr %28, align 8
%330 = load double, ptr %27, align 8
%331 = fcmp ogt double %329, %330
br i1 %331, label %332, label %334
332: ; preds = %322
%333 = load double, ptr %27, align 8
store double %333, ptr %28, align 8
br label %334
334: ; preds = %332, %322
%335 = load double, ptr %29, align 8
%336 = load double, ptr %27, align 8
%337 = fcmp olt double %335, %336
br i1 %337, label %338, label %340
338: ; preds = %334
%339 = load double, ptr %27, align 8
store double %339, ptr %29, align 8
br label %340
340: ; preds = %338, %334
%341 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%342 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%343 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%344 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%345 = call double @det3D(ptr noundef %341, ptr noundef %342, ptr noundef %343, ptr noundef %344)
%346 = fneg double %345
store double %346, ptr %27, align 8
%347 = load double, ptr %28, align 8
%348 = load double, ptr %27, align 8
%349 = fcmp ogt double %347, %348
br i1 %349, label %350, label %352
350: ; preds = %340
%351 = load double, ptr %27, align 8
store double %351, ptr %28, align 8
br label %352
352: ; preds = %350, %340
%353 = load double, ptr %29, align 8
%354 = load double, ptr %27, align 8
%355 = fcmp olt double %353, %354
br i1 %355, label %356, label %358
356: ; preds = %352
%357 = load double, ptr %27, align 8
store double %357, ptr %29, align 8
br label %358
358: ; preds = %356, %352
%359 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%360 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%361 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%362 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%363 = call double @det3D(ptr noundef %359, ptr noundef %360, ptr noundef %361, ptr noundef %362)
%364 = fneg double %363
store double %364, ptr %27, align 8
%365 = load double, ptr %28, align 8
%366 = load double, ptr %27, align 8
%367 = fcmp ogt double %365, %366
br i1 %367, label %368, label %370
368: ; preds = %358
%369 = load double, ptr %27, align 8
store double %369, ptr %28, align 8
br label %370
370: ; preds = %368, %358
%371 = load double, ptr %29, align 8
%372 = load double, ptr %27, align 8
%373 = fcmp olt double %371, %372
br i1 %373, label %374, label %376
374: ; preds = %370
%375 = load double, ptr %27, align 8
store double %375, ptr %29, align 8
br label %376
376: ; preds = %374, %370
%377 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%378 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%379 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%380 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%381 = call double @det3D(ptr noundef %377, ptr noundef %378, ptr noundef %379, ptr noundef %380)
%382 = fneg double %381
store double %382, ptr %27, align 8
%383 = load double, ptr %28, align 8
%384 = load double, ptr %27, align 8
%385 = fcmp ogt double %383, %384
br i1 %385, label %386, label %388
386: ; preds = %376
%387 = load double, ptr %27, align 8
store double %387, ptr %28, align 8
br label %388
388: ; preds = %386, %376
%389 = load double, ptr %29, align 8
%390 = load double, ptr %27, align 8
%391 = fcmp olt double %389, %390
br i1 %391, label %392, label %394
392: ; preds = %388
%393 = load double, ptr %27, align 8
store double %393, ptr %29, align 8
br label %394
394: ; preds = %392, %388
%395 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%396 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%397 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%398 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%399 = call double @det3D(ptr noundef %395, ptr noundef %396, ptr noundef %397, ptr noundef %398)
store double %399, ptr %27, align 8
%400 = load double, ptr %28, align 8
%401 = load double, ptr %27, align 8
%402 = fcmp ogt double %400, %401
br i1 %402, label %403, label %405
403: ; preds = %394
%404 = load double, ptr %27, align 8
store double %404, ptr %28, align 8
br label %405
405: ; preds = %403, %394
%406 = load double, ptr %29, align 8
%407 = load double, ptr %27, align 8
%408 = fcmp olt double %406, %407
br i1 %408, label %409, label %411
409: ; preds = %405
%410 = load double, ptr %27, align 8
store double %410, ptr %29, align 8
br label %411
411: ; preds = %409, %405
%412 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%413 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%414 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%415 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%416 = call double @det3D(ptr noundef %412, ptr noundef %413, ptr noundef %414, ptr noundef %415)
store double %416, ptr %27, align 8
%417 = load double, ptr %28, align 8
%418 = load double, ptr %27, align 8
%419 = fcmp ogt double %417, %418
br i1 %419, label %420, label %422
420: ; preds = %411
%421 = load double, ptr %27, align 8
store double %421, ptr %28, align 8
br label %422
422: ; preds = %420, %411
%423 = load double, ptr %29, align 8
%424 = load double, ptr %27, align 8
%425 = fcmp olt double %423, %424
br i1 %425, label %426, label %428
426: ; preds = %422
%427 = load double, ptr %27, align 8
store double %427, ptr %29, align 8
br label %428
428: ; preds = %426, %422
%429 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%430 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%431 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%432 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%433 = call double @det3D(ptr noundef %429, ptr noundef %430, ptr noundef %431, ptr noundef %432)
store double %433, ptr %27, align 8
%434 = load double, ptr %28, align 8
%435 = load double, ptr %27, align 8
%436 = fcmp ogt double %434, %435
br i1 %436, label %437, label %439
437: ; preds = %428
%438 = load double, ptr %27, align 8
store double %438, ptr %28, align 8
br label %439
439: ; preds = %437, %428
%440 = load double, ptr %29, align 8
%441 = load double, ptr %27, align 8
%442 = fcmp olt double %440, %441
br i1 %442, label %443, label %445
443: ; preds = %439
%444 = load double, ptr %27, align 8
store double %444, ptr %29, align 8
br label %445
445: ; preds = %443, %439
%446 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%447 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%448 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%449 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%450 = call double @det3D(ptr noundef %446, ptr noundef %447, ptr noundef %448, ptr noundef %449)
store double %450, ptr %27, align 8
%451 = load double, ptr %28, align 8
%452 = load double, ptr %27, align 8
%453 = fcmp ogt double %451, %452
br i1 %453, label %454, label %456
454: ; preds = %445
%455 = load double, ptr %27, align 8
store double %455, ptr %28, align 8
br label %456
456: ; preds = %454, %445
%457 = load double, ptr %29, align 8
%458 = load double, ptr %27, align 8
%459 = fcmp olt double %457, %458
br i1 %459, label %460, label %462
460: ; preds = %456
%461 = load double, ptr %27, align 8
store double %461, ptr %29, align 8
br label %462
462: ; preds = %460, %456
%463 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%464 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%465 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%466 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%467 = call double @det3D(ptr noundef %463, ptr noundef %464, ptr noundef %465, ptr noundef %466)
store double %467, ptr %27, align 8
%468 = load double, ptr %28, align 8
%469 = load double, ptr %27, align 8
%470 = fcmp ogt double %468, %469
br i1 %470, label %471, label %473
471: ; preds = %462
%472 = load double, ptr %27, align 8
store double %472, ptr %28, align 8
br label %473
473: ; preds = %471, %462
%474 = load double, ptr %29, align 8
%475 = load double, ptr %27, align 8
%476 = fcmp olt double %474, %475
br i1 %476, label %477, label %479
477: ; preds = %473
%478 = load double, ptr %27, align 8
store double %478, ptr %29, align 8
br label %479
479: ; preds = %477, %473
%480 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%481 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%482 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%483 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%484 = call double @det3D(ptr noundef %480, ptr noundef %481, ptr noundef %482, ptr noundef %483)
store double %484, ptr %27, align 8
%485 = load double, ptr %28, align 8
%486 = load double, ptr %27, align 8
%487 = fcmp ogt double %485, %486
br i1 %487, label %488, label %490
488: ; preds = %479
%489 = load double, ptr %27, align 8
store double %489, ptr %28, align 8
br label %490
490: ; preds = %488, %479
%491 = load double, ptr %29, align 8
%492 = load double, ptr %27, align 8
%493 = fcmp olt double %491, %492
br i1 %493, label %494, label %496
494: ; preds = %490
%495 = load double, ptr %27, align 8
store double %495, ptr %29, align 8
br label %496
496: ; preds = %494, %490
%497 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%498 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%499 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%500 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%501 = call double @det3D(ptr noundef %497, ptr noundef %498, ptr noundef %499, ptr noundef %500)
store double %501, ptr %27, align 8
%502 = load double, ptr %28, align 8
%503 = load double, ptr %27, align 8
%504 = fcmp ogt double %502, %503
br i1 %504, label %505, label %507
505: ; preds = %496
%506 = load double, ptr %27, align 8
store double %506, ptr %28, align 8
br label %507
507: ; preds = %505, %496
%508 = load double, ptr %29, align 8
%509 = load double, ptr %27, align 8
%510 = fcmp olt double %508, %509
br i1 %510, label %511, label %513
511: ; preds = %507
%512 = load double, ptr %27, align 8
store double %512, ptr %29, align 8
br label %513
513: ; preds = %511, %507
%514 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%515 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%516 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%517 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%518 = call double @det3D(ptr noundef %514, ptr noundef %515, ptr noundef %516, ptr noundef %517)
store double %518, ptr %27, align 8
%519 = load double, ptr %28, align 8
%520 = load double, ptr %27, align 8
%521 = fcmp ogt double %519, %520
br i1 %521, label %522, label %524
522: ; preds = %513
%523 = load double, ptr %27, align 8
store double %523, ptr %28, align 8
br label %524
524: ; preds = %522, %513
%525 = load double, ptr %29, align 8
%526 = load double, ptr %27, align 8
%527 = fcmp olt double %525, %526
br i1 %527, label %528, label %530
528: ; preds = %524
%529 = load double, ptr %27, align 8
store double %529, ptr %29, align 8
br label %530
530: ; preds = %528, %524
%531 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%532 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%533 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%534 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%535 = call double @det3D(ptr noundef %531, ptr noundef %532, ptr noundef %533, ptr noundef %534)
store double %535, ptr %27, align 8
%536 = load double, ptr %28, align 8
%537 = load double, ptr %27, align 8
%538 = fcmp ogt double %536, %537
br i1 %538, label %539, label %541
539: ; preds = %530
%540 = load double, ptr %27, align 8
store double %540, ptr %28, align 8
br label %541
541: ; preds = %539, %530
%542 = load double, ptr %29, align 8
%543 = load double, ptr %27, align 8
%544 = fcmp olt double %542, %543
br i1 %544, label %545, label %547
545: ; preds = %541
%546 = load double, ptr %27, align 8
store double %546, ptr %29, align 8
br label %547
547: ; preds = %545, %541
%548 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%549 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%550 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%551 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%552 = call double @det3D(ptr noundef %548, ptr noundef %549, ptr noundef %550, ptr noundef %551)
store double %552, ptr %27, align 8
%553 = load double, ptr %28, align 8
%554 = load double, ptr %27, align 8
%555 = fcmp ogt double %553, %554
br i1 %555, label %556, label %558
556: ; preds = %547
%557 = load double, ptr %27, align 8
store double %557, ptr %28, align 8
br label %558
558: ; preds = %556, %547
%559 = load double, ptr %29, align 8
%560 = load double, ptr %27, align 8
%561 = fcmp olt double %559, %560
br i1 %561, label %562, label %564
562: ; preds = %558
%563 = load double, ptr %27, align 8
store double %563, ptr %29, align 8
br label %564
564: ; preds = %562, %558
%565 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%566 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%567 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%568 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%569 = call double @det3D(ptr noundef %565, ptr noundef %566, ptr noundef %567, ptr noundef %568)
store double %569, ptr %27, align 8
%570 = load double, ptr %28, align 8
%571 = load double, ptr %27, align 8
%572 = fcmp ogt double %570, %571
br i1 %572, label %573, label %575
573: ; preds = %564
%574 = load double, ptr %27, align 8
store double %574, ptr %28, align 8
br label %575
575: ; preds = %573, %564
%576 = load double, ptr %29, align 8
%577 = load double, ptr %27, align 8
%578 = fcmp olt double %576, %577
br i1 %578, label %579, label %581
579: ; preds = %575
%580 = load double, ptr %27, align 8
store double %580, ptr %29, align 8
br label %581
581: ; preds = %579, %575
%582 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%583 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%584 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%585 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%586 = call double @det3D(ptr noundef %582, ptr noundef %583, ptr noundef %584, ptr noundef %585)
store double %586, ptr %27, align 8
%587 = load double, ptr %28, align 8
%588 = load double, ptr %27, align 8
%589 = fcmp ogt double %587, %588
br i1 %589, label %590, label %592
590: ; preds = %581
%591 = load double, ptr %27, align 8
store double %591, ptr %28, align 8
br label %592
592: ; preds = %590, %581
%593 = load double, ptr %29, align 8
%594 = load double, ptr %27, align 8
%595 = fcmp olt double %593, %594
br i1 %595, label %596, label %598
596: ; preds = %592
%597 = load double, ptr %27, align 8
store double %597, ptr %29, align 8
br label %598
598: ; preds = %596, %592
%599 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%600 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%601 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%602 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%603 = call double @det3D(ptr noundef %599, ptr noundef %600, ptr noundef %601, ptr noundef %602)
store double %603, ptr %27, align 8
%604 = load double, ptr %28, align 8
%605 = load double, ptr %27, align 8
%606 = fcmp ogt double %604, %605
br i1 %606, label %607, label %609
607: ; preds = %598
%608 = load double, ptr %27, align 8
store double %608, ptr %28, align 8
br label %609
609: ; preds = %607, %598
%610 = load double, ptr %29, align 8
%611 = load double, ptr %27, align 8
%612 = fcmp olt double %610, %611
br i1 %612, label %613, label %615
613: ; preds = %609
%614 = load double, ptr %27, align 8
store double %614, ptr %29, align 8
br label %615
615: ; preds = %613, %609
%616 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%617 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%618 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%619 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%620 = call double @det3D(ptr noundef %616, ptr noundef %617, ptr noundef %618, ptr noundef %619)
store double %620, ptr %27, align 8
%621 = load double, ptr %28, align 8
%622 = load double, ptr %27, align 8
%623 = fcmp ogt double %621, %622
br i1 %623, label %624, label %626
624: ; preds = %615
%625 = load double, ptr %27, align 8
store double %625, ptr %28, align 8
br label %626
626: ; preds = %624, %615
%627 = load double, ptr %29, align 8
%628 = load double, ptr %27, align 8
%629 = fcmp olt double %627, %628
br i1 %629, label %630, label %632
630: ; preds = %626
%631 = load double, ptr %27, align 8
store double %631, ptr %29, align 8
br label %632
632: ; preds = %630, %626
%633 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%634 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%635 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%636 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%637 = call double @det3D(ptr noundef %633, ptr noundef %634, ptr noundef %635, ptr noundef %636)
store double %637, ptr %27, align 8
%638 = load double, ptr %28, align 8
%639 = load double, ptr %27, align 8
%640 = fcmp ogt double %638, %639
br i1 %640, label %641, label %643
641: ; preds = %632
%642 = load double, ptr %27, align 8
store double %642, ptr %28, align 8
br label %643
643: ; preds = %641, %632
%644 = load double, ptr %29, align 8
%645 = load double, ptr %27, align 8
%646 = fcmp olt double %644, %645
br i1 %646, label %647, label %649
647: ; preds = %643
%648 = load double, ptr %27, align 8
store double %648, ptr %29, align 8
br label %649
649: ; preds = %647, %643
%650 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%651 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%652 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%653 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%654 = call double @det3D(ptr noundef %650, ptr noundef %651, ptr noundef %652, ptr noundef %653)
store double %654, ptr %27, align 8
%655 = load double, ptr %28, align 8
%656 = load double, ptr %27, align 8
%657 = fcmp ogt double %655, %656
br i1 %657, label %658, label %660
658: ; preds = %649
%659 = load double, ptr %27, align 8
store double %659, ptr %28, align 8
br label %660
660: ; preds = %658, %649
%661 = load double, ptr %29, align 8
%662 = load double, ptr %27, align 8
%663 = fcmp olt double %661, %662
br i1 %663, label %664, label %666
664: ; preds = %660
%665 = load double, ptr %27, align 8
store double %665, ptr %29, align 8
br label %666
666: ; preds = %664, %660
%667 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%668 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%669 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%670 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%671 = call double @det3D(ptr noundef %667, ptr noundef %668, ptr noundef %669, ptr noundef %670)
store double %671, ptr %27, align 8
%672 = load double, ptr %28, align 8
%673 = load double, ptr %27, align 8
%674 = fcmp ogt double %672, %673
br i1 %674, label %675, label %677
675: ; preds = %666
%676 = load double, ptr %27, align 8
store double %676, ptr %28, align 8
br label %677
677: ; preds = %675, %666
%678 = load double, ptr %29, align 8
%679 = load double, ptr %27, align 8
%680 = fcmp olt double %678, %679
br i1 %680, label %681, label %683
681: ; preds = %677
%682 = load double, ptr %27, align 8
store double %682, ptr %29, align 8
br label %683
683: ; preds = %681, %677
%684 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%685 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%686 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%687 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%688 = call double @det3D(ptr noundef %684, ptr noundef %685, ptr noundef %686, ptr noundef %687)
store double %688, ptr %27, align 8
%689 = load double, ptr %28, align 8
%690 = load double, ptr %27, align 8
%691 = fcmp ogt double %689, %690
br i1 %691, label %692, label %694
692: ; preds = %683
%693 = load double, ptr %27, align 8
store double %693, ptr %28, align 8
br label %694
694: ; preds = %692, %683
%695 = load double, ptr %29, align 8
%696 = load double, ptr %27, align 8
%697 = fcmp olt double %695, %696
br i1 %697, label %698, label %700
698: ; preds = %694
%699 = load double, ptr %27, align 8
store double %699, ptr %29, align 8
br label %700
700: ; preds = %698, %694
%701 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%702 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%703 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%704 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%705 = call double @det3D(ptr noundef %701, ptr noundef %702, ptr noundef %703, ptr noundef %704)
store double %705, ptr %27, align 8
%706 = load double, ptr %28, align 8
%707 = load double, ptr %27, align 8
%708 = fcmp ogt double %706, %707
br i1 %708, label %709, label %711
709: ; preds = %700
%710 = load double, ptr %27, align 8
store double %710, ptr %28, align 8
br label %711
711: ; preds = %709, %700
%712 = load double, ptr %29, align 8
%713 = load double, ptr %27, align 8
%714 = fcmp olt double %712, %713
br i1 %714, label %715, label %717
715: ; preds = %711
%716 = load double, ptr %27, align 8
store double %716, ptr %29, align 8
br label %717
717: ; preds = %715, %711
%718 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%719 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%720 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%721 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%722 = call double @det3D(ptr noundef %718, ptr noundef %719, ptr noundef %720, ptr noundef %721)
store double %722, ptr %27, align 8
%723 = load double, ptr %28, align 8
%724 = load double, ptr %27, align 8
%725 = fcmp ogt double %723, %724
br i1 %725, label %726, label %728
726: ; preds = %717
%727 = load double, ptr %27, align 8
store double %727, ptr %28, align 8
br label %728
728: ; preds = %726, %717
%729 = load double, ptr %29, align 8
%730 = load double, ptr %27, align 8
%731 = fcmp olt double %729, %730
br i1 %731, label %732, label %734
732: ; preds = %728
%733 = load double, ptr %27, align 8
store double %733, ptr %29, align 8
br label %734
734: ; preds = %732, %728
br label %735
735: ; preds = %734
%736 = load i32, ptr %33, align 4
%737 = add nsw i32 %736, 1
store i32 %737, ptr %33, align 4
br label %79, !llvm.loop !8
738: ; preds = %79
br label %739
739: ; preds = %738
%740 = load i32, ptr %32, align 4
%741 = add nsw i32 %740, 1
store i32 %741, ptr %32, align 4
br label %74, !llvm.loop !9
742: ; preds = %74
br label %743
743: ; preds = %742
%744 = load i32, ptr %31, align 4
%745 = add nsw i32 %744, 1
store i32 %745, ptr %31, align 4
br label %69, !llvm.loop !10
746: ; preds = %69
%747 = load double, ptr %28, align 8
%748 = load ptr, ptr %5, align 8
store double %747, ptr %748, align 8
%749 = load ptr, ptr %5, align 8
%750 = getelementptr inbounds double, ptr %749, i32 1
store ptr %750, ptr %5, align 8
%751 = load double, ptr %29, align 8
%752 = load ptr, ptr %5, align 8
store double %751, ptr %752, align 8
ret void
}
declare double @det3D(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfdffjnvz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @volumeRange3D(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [3 x double], align 16
%13 = alloca [3 x double], align 16
%14 = alloca [3 x double], align 16
%15 = alloca [3 x double], align 16
%16 = alloca [3 x double], align 16
%17 = alloca [3 x double], align 16
%18 = alloca [3 x double], align 16
%19 = alloca [3 x double], align 16
%20 = alloca [3 x double], align 16
%21 = alloca [3 x double], align 16
%22 = alloca [3 x double], align 16
%23 = alloca [3 x double], align 16
%24 = alloca [3 x double], align 16
%25 = alloca [3 x double], align 16
%26 = alloca [3 x double], align 16
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%42 = load ptr, ptr %7, align 8
%43 = getelementptr inbounds double, ptr %42, i64 0
%44 = load double, ptr %43, align 8
%45 = fptosi double %44 to i32
store i32 %45, ptr %9, align 4
%46 = load ptr, ptr %7, align 8
%47 = getelementptr inbounds double, ptr %46, i64 1
%48 = load double, ptr %47, align 8
%49 = fptosi double %48 to i32
store i32 %49, ptr %10, align 4
%50 = load ptr, ptr %7, align 8
%51 = getelementptr inbounds double, ptr %50, i64 2
%52 = load double, ptr %51, align 8
%53 = fptosi double %52 to i32
store i32 %53, ptr %11, align 4
store double 1.000000e+03, ptr %28, align 8
store double 0.000000e+00, ptr %29, align 8
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
%58 = mul nsw i32 %55, %57
%59 = load i32, ptr %11, align 4
%60 = add nsw i32 %59, 1
%61 = mul nsw i32 %58, %60
store i32 %61, ptr %37, align 4
store i32 1, ptr %38, align 4
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %39, align 4
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
%68 = mul nsw i32 %65, %67
store i32 %68, ptr %40, align 4
store i32 0, ptr %31, align 4
%69 = load i32, ptr %31, align 4
%70 = load i32, ptr %9, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %.lr.ph8, label %753
.lr.ph8: ; preds = %4
br label %72
72: ; preds = %.lr.ph8, %747
store i32 0, ptr %32, align 4
%73 = load i32, ptr %32, align 4
%74 = load i32, ptr %10, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %.lr.ph5, label %746
.lr.ph5: ; preds = %72
br label %76
76: ; preds = %.lr.ph5, %740
store i32 0, ptr %33, align 4
%77 = load i32, ptr %33, align 4
%78 = load i32, ptr %11, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %.lr.ph2, label %739
.lr.ph2: ; preds = %76
br label %80
80: ; preds = %.lr.ph2, %733
%81 = load i32, ptr %31, align 4
%82 = load i32, ptr %32, align 4
%83 = load i32, ptr %39, align 4
%84 = mul nsw i32 %82, %83
%85 = add nsw i32 %81, %84
%86 = load i32, ptr %33, align 4
%87 = load i32, ptr %40, align 4
%88 = mul nsw i32 %86, %87
%89 = add nsw i32 %85, %88
store i32 %89, ptr %36, align 4
store i32 0, ptr %35, align 4
store i32 0, ptr %34, align 4
%90 = load i32, ptr %34, align 4
%91 = icmp slt i32 %90, 3
br i1 %91, label %.lr.ph, label %320
.lr.ph: ; preds = %80
br label %92
92: ; preds = %.lr.ph, %315
%93 = load ptr, ptr %6, align 8
%94 = load i32, ptr %36, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
%97 = load i32, ptr %35, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %96, i64 %98
store ptr %99, ptr %41, align 8
%100 = load ptr, ptr %41, align 8
%101 = load double, ptr %100, align 8
%102 = load i32, ptr %34, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %103
store double %101, ptr %104, align 8
%105 = load ptr, ptr %41, align 8
%106 = getelementptr inbounds double, ptr %105, i64 1
store ptr %106, ptr %41, align 8
%107 = load ptr, ptr %41, align 8
%108 = load double, ptr %107, align 8
%109 = load i32, ptr %34, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %110
store double %108, ptr %111, align 8
%112 = load i32, ptr %39, align 4
%113 = load ptr, ptr %41, align 8
%114 = sext i32 %112 to i64
%115 = getelementptr inbounds double, ptr %113, i64 %114
store ptr %115, ptr %41, align 8
%116 = load ptr, ptr %41, align 8
%117 = load double, ptr %116, align 8
%118 = load i32, ptr %34, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %119
store double %117, ptr %120, align 8
%121 = load ptr, ptr %41, align 8
%122 = getelementptr inbounds double, ptr %121, i64 -1
store ptr %122, ptr %41, align 8
%123 = load ptr, ptr %41, align 8
%124 = load double, ptr %123, align 8
%125 = load i32, ptr %34, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %126
store double %124, ptr %127, align 8
%128 = load i32, ptr %40, align 4
%129 = load ptr, ptr %41, align 8
%130 = sext i32 %128 to i64
%131 = getelementptr inbounds double, ptr %129, i64 %130
store ptr %131, ptr %41, align 8
%132 = load ptr, ptr %41, align 8
%133 = load double, ptr %132, align 8
%134 = load i32, ptr %34, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %135
store double %133, ptr %136, align 8
%137 = load ptr, ptr %41, align 8
%138 = getelementptr inbounds double, ptr %137, i64 1
store ptr %138, ptr %41, align 8
%139 = load ptr, ptr %41, align 8
%140 = load double, ptr %139, align 8
%141 = load i32, ptr %34, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %142
store double %140, ptr %143, align 8
%144 = load i32, ptr %39, align 4
%145 = load ptr, ptr %41, align 8
%146 = sext i32 %144 to i64
%147 = sub i64 0, %146
%148 = getelementptr inbounds double, ptr %145, i64 %147
store ptr %148, ptr %41, align 8
%149 = load ptr, ptr %41, align 8
%150 = load double, ptr %149, align 8
%151 = load i32, ptr %34, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %152
store double %150, ptr %153, align 8
%154 = load ptr, ptr %41, align 8
%155 = getelementptr inbounds double, ptr %154, i64 -1
store ptr %155, ptr %41, align 8
%156 = load ptr, ptr %41, align 8
%157 = load double, ptr %156, align 8
%158 = load i32, ptr %34, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %159
store double %157, ptr %160, align 8
%161 = load i32, ptr %34, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %162
%164 = load double, ptr %163, align 8
%165 = load i32, ptr %34, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %166
%168 = load double, ptr %167, align 8
%169 = fadd double %164, %168
%170 = load i32, ptr %34, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %171
%173 = load double, ptr %172, align 8
%174 = fadd double %169, %173
%175 = load i32, ptr %34, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %176
%178 = load double, ptr %177, align 8
%179 = fadd double %174, %178
%180 = fmul double 2.500000e-01, %179
%181 = load i32, ptr %34, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %182
store double %180, ptr %183, align 8
%184 = load i32, ptr %34, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %185
%187 = load double, ptr %186, align 8
%188 = load i32, ptr %34, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %189
%191 = load double, ptr %190, align 8
%192 = fadd double %187, %191
%193 = load i32, ptr %34, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %194
%196 = load double, ptr %195, align 8
%197 = fadd double %192, %196
%198 = load i32, ptr %34, align 4
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %199
%201 = load double, ptr %200, align 8
%202 = fadd double %197, %201
%203 = fmul double 2.500000e-01, %202
%204 = load i32, ptr %34, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %205
store double %203, ptr %206, align 8
%207 = load i32, ptr %34, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %208
%210 = load double, ptr %209, align 8
%211 = load i32, ptr %34, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %212
%214 = load double, ptr %213, align 8
%215 = fadd double %210, %214
%216 = load i32, ptr %34, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %217
%219 = load double, ptr %218, align 8
%220 = fadd double %215, %219
%221 = load i32, ptr %34, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %222
%224 = load double, ptr %223, align 8
%225 = fadd double %220, %224
%226 = fmul double 2.500000e-01, %225
%227 = load i32, ptr %34, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 %228
store double %226, ptr %229, align 8
%230 = load i32, ptr %34, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %231
%233 = load double, ptr %232, align 8
%234 = load i32, ptr %34, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %235
%237 = load double, ptr %236, align 8
%238 = fadd double %233, %237
%239 = load i32, ptr %34, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %240
%242 = load double, ptr %241, align 8
%243 = fadd double %238, %242
%244 = load i32, ptr %34, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %245
%247 = load double, ptr %246, align 8
%248 = fadd double %243, %247
%249 = fmul double 2.500000e-01, %248
%250 = load i32, ptr %34, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 %251
store double %249, ptr %252, align 8
%253 = load i32, ptr %34, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %254
%256 = load double, ptr %255, align 8
%257 = load i32, ptr %34, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %258
%260 = load double, ptr %259, align 8
%261 = fadd double %256, %260
%262 = load i32, ptr %34, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %263
%265 = load double, ptr %264, align 8
%266 = fadd double %261, %265
%267 = load i32, ptr %34, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %268
%270 = load double, ptr %269, align 8
%271 = fadd double %266, %270
%272 = fmul double 2.500000e-01, %271
%273 = load i32, ptr %34, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 %274
store double %272, ptr %275, align 8
%276 = load i32, ptr %34, align 4
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %277
%279 = load double, ptr %278, align 8
%280 = load i32, ptr %34, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %281
%283 = load double, ptr %282, align 8
%284 = fadd double %279, %283
%285 = load i32, ptr %34, align 4
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 %286
%288 = load double, ptr %287, align 8
%289 = fadd double %284, %288
%290 = load i32, ptr %34, align 4
%291 = sext i32 %290 to i64
%292 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 %291
%293 = load double, ptr %292, align 8
%294 = fadd double %289, %293
%295 = fmul double 2.500000e-01, %294
%296 = load i32, ptr %34, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 %297
store double %295, ptr %298, align 8
%299 = load i32, ptr %34, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %300
%302 = load double, ptr %301, align 8
%303 = load i32, ptr %34, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 %304
%306 = load double, ptr %305, align 8
%307 = fadd double %302, %306
%308 = fmul double 5.000000e-01, %307
%309 = load i32, ptr %34, align 4
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 %310
store double %308, ptr %311, align 8
%312 = load i32, ptr %37, align 4
%313 = load i32, ptr %35, align 4
%314 = add nsw i32 %313, %312
store i32 %314, ptr %35, align 4
br label %315
315: ; preds = %92
%316 = load i32, ptr %34, align 4
%317 = add nsw i32 %316, 1
store i32 %317, ptr %34, align 4
%318 = load i32, ptr %34, align 4
%319 = icmp slt i32 %318, 3
br i1 %319, label %92, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %315
br label %320
320: ; preds = %._crit_edge, %80
%321 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%322 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%323 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%324 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%325 = call double @det3D(ptr noundef %321, ptr noundef %322, ptr noundef %323, ptr noundef %324)
%326 = fneg double %325
store double %326, ptr %27, align 8
%327 = load double, ptr %28, align 8
%328 = load double, ptr %27, align 8
%329 = fcmp ogt double %327, %328
br i1 %329, label %330, label %332
330: ; preds = %320
%331 = load double, ptr %27, align 8
store double %331, ptr %28, align 8
br label %332
332: ; preds = %330, %320
%333 = load double, ptr %29, align 8
%334 = load double, ptr %27, align 8
%335 = fcmp olt double %333, %334
br i1 %335, label %336, label %338
336: ; preds = %332
%337 = load double, ptr %27, align 8
store double %337, ptr %29, align 8
br label %338
338: ; preds = %336, %332
%339 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%340 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%341 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%342 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%343 = call double @det3D(ptr noundef %339, ptr noundef %340, ptr noundef %341, ptr noundef %342)
%344 = fneg double %343
store double %344, ptr %27, align 8
%345 = load double, ptr %28, align 8
%346 = load double, ptr %27, align 8
%347 = fcmp ogt double %345, %346
br i1 %347, label %348, label %350
348: ; preds = %338
%349 = load double, ptr %27, align 8
store double %349, ptr %28, align 8
br label %350
350: ; preds = %348, %338
%351 = load double, ptr %29, align 8
%352 = load double, ptr %27, align 8
%353 = fcmp olt double %351, %352
br i1 %353, label %354, label %356
354: ; preds = %350
%355 = load double, ptr %27, align 8
store double %355, ptr %29, align 8
br label %356
356: ; preds = %354, %350
%357 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%358 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%359 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%360 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%361 = call double @det3D(ptr noundef %357, ptr noundef %358, ptr noundef %359, ptr noundef %360)
%362 = fneg double %361
store double %362, ptr %27, align 8
%363 = load double, ptr %28, align 8
%364 = load double, ptr %27, align 8
%365 = fcmp ogt double %363, %364
br i1 %365, label %366, label %368
366: ; preds = %356
%367 = load double, ptr %27, align 8
store double %367, ptr %28, align 8
br label %368
368: ; preds = %366, %356
%369 = load double, ptr %29, align 8
%370 = load double, ptr %27, align 8
%371 = fcmp olt double %369, %370
br i1 %371, label %372, label %374
372: ; preds = %368
%373 = load double, ptr %27, align 8
store double %373, ptr %29, align 8
br label %374
374: ; preds = %372, %368
%375 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%376 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%377 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
%378 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%379 = call double @det3D(ptr noundef %375, ptr noundef %376, ptr noundef %377, ptr noundef %378)
%380 = fneg double %379
store double %380, ptr %27, align 8
%381 = load double, ptr %28, align 8
%382 = load double, ptr %27, align 8
%383 = fcmp ogt double %381, %382
br i1 %383, label %384, label %386
384: ; preds = %374
%385 = load double, ptr %27, align 8
store double %385, ptr %28, align 8
br label %386
386: ; preds = %384, %374
%387 = load double, ptr %29, align 8
%388 = load double, ptr %27, align 8
%389 = fcmp olt double %387, %388
br i1 %389, label %390, label %392
390: ; preds = %386
%391 = load double, ptr %27, align 8
store double %391, ptr %29, align 8
br label %392
392: ; preds = %390, %386
%393 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%394 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%395 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%396 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%397 = call double @det3D(ptr noundef %393, ptr noundef %394, ptr noundef %395, ptr noundef %396)
store double %397, ptr %27, align 8
%398 = load double, ptr %28, align 8
%399 = load double, ptr %27, align 8
%400 = fcmp ogt double %398, %399
br i1 %400, label %401, label %403
401: ; preds = %392
%402 = load double, ptr %27, align 8
store double %402, ptr %28, align 8
br label %403
403: ; preds = %401, %392
%404 = load double, ptr %29, align 8
%405 = load double, ptr %27, align 8
%406 = fcmp olt double %404, %405
br i1 %406, label %407, label %409
407: ; preds = %403
%408 = load double, ptr %27, align 8
store double %408, ptr %29, align 8
br label %409
409: ; preds = %407, %403
%410 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%411 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%412 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%413 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%414 = call double @det3D(ptr noundef %410, ptr noundef %411, ptr noundef %412, ptr noundef %413)
store double %414, ptr %27, align 8
%415 = load double, ptr %28, align 8
%416 = load double, ptr %27, align 8
%417 = fcmp ogt double %415, %416
br i1 %417, label %418, label %420
418: ; preds = %409
%419 = load double, ptr %27, align 8
store double %419, ptr %28, align 8
br label %420
420: ; preds = %418, %409
%421 = load double, ptr %29, align 8
%422 = load double, ptr %27, align 8
%423 = fcmp olt double %421, %422
br i1 %423, label %424, label %426
424: ; preds = %420
%425 = load double, ptr %27, align 8
store double %425, ptr %29, align 8
br label %426
426: ; preds = %424, %420
%427 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%428 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%429 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%430 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%431 = call double @det3D(ptr noundef %427, ptr noundef %428, ptr noundef %429, ptr noundef %430)
store double %431, ptr %27, align 8
%432 = load double, ptr %28, align 8
%433 = load double, ptr %27, align 8
%434 = fcmp ogt double %432, %433
br i1 %434, label %435, label %437
435: ; preds = %426
%436 = load double, ptr %27, align 8
store double %436, ptr %28, align 8
br label %437
437: ; preds = %435, %426
%438 = load double, ptr %29, align 8
%439 = load double, ptr %27, align 8
%440 = fcmp olt double %438, %439
br i1 %440, label %441, label %443
441: ; preds = %437
%442 = load double, ptr %27, align 8
store double %442, ptr %29, align 8
br label %443
443: ; preds = %441, %437
%444 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%445 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%446 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
%447 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%448 = call double @det3D(ptr noundef %444, ptr noundef %445, ptr noundef %446, ptr noundef %447)
store double %448, ptr %27, align 8
%449 = load double, ptr %28, align 8
%450 = load double, ptr %27, align 8
%451 = fcmp ogt double %449, %450
br i1 %451, label %452, label %454
452: ; preds = %443
%453 = load double, ptr %27, align 8
store double %453, ptr %28, align 8
br label %454
454: ; preds = %452, %443
%455 = load double, ptr %29, align 8
%456 = load double, ptr %27, align 8
%457 = fcmp olt double %455, %456
br i1 %457, label %458, label %460
458: ; preds = %454
%459 = load double, ptr %27, align 8
store double %459, ptr %29, align 8
br label %460
460: ; preds = %458, %454
%461 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%462 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%463 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%464 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%465 = call double @det3D(ptr noundef %461, ptr noundef %462, ptr noundef %463, ptr noundef %464)
store double %465, ptr %27, align 8
%466 = load double, ptr %28, align 8
%467 = load double, ptr %27, align 8
%468 = fcmp ogt double %466, %467
br i1 %468, label %469, label %471
469: ; preds = %460
%470 = load double, ptr %27, align 8
store double %470, ptr %28, align 8
br label %471
471: ; preds = %469, %460
%472 = load double, ptr %29, align 8
%473 = load double, ptr %27, align 8
%474 = fcmp olt double %472, %473
br i1 %474, label %475, label %477
475: ; preds = %471
%476 = load double, ptr %27, align 8
store double %476, ptr %29, align 8
br label %477
477: ; preds = %475, %471
%478 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
%479 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%480 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%481 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%482 = call double @det3D(ptr noundef %478, ptr noundef %479, ptr noundef %480, ptr noundef %481)
store double %482, ptr %27, align 8
%483 = load double, ptr %28, align 8
%484 = load double, ptr %27, align 8
%485 = fcmp ogt double %483, %484
br i1 %485, label %486, label %488
486: ; preds = %477
%487 = load double, ptr %27, align 8
store double %487, ptr %28, align 8
br label %488
488: ; preds = %486, %477
%489 = load double, ptr %29, align 8
%490 = load double, ptr %27, align 8
%491 = fcmp olt double %489, %490
br i1 %491, label %492, label %494
492: ; preds = %488
%493 = load double, ptr %27, align 8
store double %493, ptr %29, align 8
br label %494
494: ; preds = %492, %488
%495 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%496 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%497 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%498 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%499 = call double @det3D(ptr noundef %495, ptr noundef %496, ptr noundef %497, ptr noundef %498)
store double %499, ptr %27, align 8
%500 = load double, ptr %28, align 8
%501 = load double, ptr %27, align 8
%502 = fcmp ogt double %500, %501
br i1 %502, label %503, label %505
503: ; preds = %494
%504 = load double, ptr %27, align 8
store double %504, ptr %28, align 8
br label %505
505: ; preds = %503, %494
%506 = load double, ptr %29, align 8
%507 = load double, ptr %27, align 8
%508 = fcmp olt double %506, %507
br i1 %508, label %509, label %511
509: ; preds = %505
%510 = load double, ptr %27, align 8
store double %510, ptr %29, align 8
br label %511
511: ; preds = %509, %505
%512 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%513 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%514 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%515 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%516 = call double @det3D(ptr noundef %512, ptr noundef %513, ptr noundef %514, ptr noundef %515)
store double %516, ptr %27, align 8
%517 = load double, ptr %28, align 8
%518 = load double, ptr %27, align 8
%519 = fcmp ogt double %517, %518
br i1 %519, label %520, label %522
520: ; preds = %511
%521 = load double, ptr %27, align 8
store double %521, ptr %28, align 8
br label %522
522: ; preds = %520, %511
%523 = load double, ptr %29, align 8
%524 = load double, ptr %27, align 8
%525 = fcmp olt double %523, %524
br i1 %525, label %526, label %528
526: ; preds = %522
%527 = load double, ptr %27, align 8
store double %527, ptr %29, align 8
br label %528
528: ; preds = %526, %522
%529 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%530 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%531 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%532 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%533 = call double @det3D(ptr noundef %529, ptr noundef %530, ptr noundef %531, ptr noundef %532)
store double %533, ptr %27, align 8
%534 = load double, ptr %28, align 8
%535 = load double, ptr %27, align 8
%536 = fcmp ogt double %534, %535
br i1 %536, label %537, label %539
537: ; preds = %528
%538 = load double, ptr %27, align 8
store double %538, ptr %28, align 8
br label %539
539: ; preds = %537, %528
%540 = load double, ptr %29, align 8
%541 = load double, ptr %27, align 8
%542 = fcmp olt double %540, %541
br i1 %542, label %543, label %545
543: ; preds = %539
%544 = load double, ptr %27, align 8
store double %544, ptr %29, align 8
br label %545
545: ; preds = %543, %539
%546 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 0
%547 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%548 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%549 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%550 = call double @det3D(ptr noundef %546, ptr noundef %547, ptr noundef %548, ptr noundef %549)
store double %550, ptr %27, align 8
%551 = load double, ptr %28, align 8
%552 = load double, ptr %27, align 8
%553 = fcmp ogt double %551, %552
br i1 %553, label %554, label %556
554: ; preds = %545
%555 = load double, ptr %27, align 8
store double %555, ptr %28, align 8
br label %556
556: ; preds = %554, %545
%557 = load double, ptr %29, align 8
%558 = load double, ptr %27, align 8
%559 = fcmp olt double %557, %558
br i1 %559, label %560, label %562
560: ; preds = %556
%561 = load double, ptr %27, align 8
store double %561, ptr %29, align 8
br label %562
562: ; preds = %560, %556
%563 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%564 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%565 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%566 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%567 = call double @det3D(ptr noundef %563, ptr noundef %564, ptr noundef %565, ptr noundef %566)
store double %567, ptr %27, align 8
%568 = load double, ptr %28, align 8
%569 = load double, ptr %27, align 8
%570 = fcmp ogt double %568, %569
br i1 %570, label %571, label %573
571: ; preds = %562
%572 = load double, ptr %27, align 8
store double %572, ptr %28, align 8
br label %573
573: ; preds = %571, %562
%574 = load double, ptr %29, align 8
%575 = load double, ptr %27, align 8
%576 = fcmp olt double %574, %575
br i1 %576, label %577, label %579
577: ; preds = %573
%578 = load double, ptr %27, align 8
store double %578, ptr %29, align 8
br label %579
579: ; preds = %577, %573
%580 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%581 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%582 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
%583 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%584 = call double @det3D(ptr noundef %580, ptr noundef %581, ptr noundef %582, ptr noundef %583)
store double %584, ptr %27, align 8
%585 = load double, ptr %28, align 8
%586 = load double, ptr %27, align 8
%587 = fcmp ogt double %585, %586
br i1 %587, label %588, label %590
588: ; preds = %579
%589 = load double, ptr %27, align 8
store double %589, ptr %28, align 8
br label %590
590: ; preds = %588, %579
%591 = load double, ptr %29, align 8
%592 = load double, ptr %27, align 8
%593 = fcmp olt double %591, %592
br i1 %593, label %594, label %596
594: ; preds = %590
%595 = load double, ptr %27, align 8
store double %595, ptr %29, align 8
br label %596
596: ; preds = %594, %590
%597 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%598 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%599 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%600 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%601 = call double @det3D(ptr noundef %597, ptr noundef %598, ptr noundef %599, ptr noundef %600)
store double %601, ptr %27, align 8
%602 = load double, ptr %28, align 8
%603 = load double, ptr %27, align 8
%604 = fcmp ogt double %602, %603
br i1 %604, label %605, label %607
605: ; preds = %596
%606 = load double, ptr %27, align 8
store double %606, ptr %28, align 8
br label %607
607: ; preds = %605, %596
%608 = load double, ptr %29, align 8
%609 = load double, ptr %27, align 8
%610 = fcmp olt double %608, %609
br i1 %610, label %611, label %613
611: ; preds = %607
%612 = load double, ptr %27, align 8
store double %612, ptr %29, align 8
br label %613
613: ; preds = %611, %607
%614 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%615 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%616 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%617 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%618 = call double @det3D(ptr noundef %614, ptr noundef %615, ptr noundef %616, ptr noundef %617)
store double %618, ptr %27, align 8
%619 = load double, ptr %28, align 8
%620 = load double, ptr %27, align 8
%621 = fcmp ogt double %619, %620
br i1 %621, label %622, label %624
622: ; preds = %613
%623 = load double, ptr %27, align 8
store double %623, ptr %28, align 8
br label %624
624: ; preds = %622, %613
%625 = load double, ptr %29, align 8
%626 = load double, ptr %27, align 8
%627 = fcmp olt double %625, %626
br i1 %627, label %628, label %630
628: ; preds = %624
%629 = load double, ptr %27, align 8
store double %629, ptr %29, align 8
br label %630
630: ; preds = %628, %624
%631 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%632 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%633 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%634 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%635 = call double @det3D(ptr noundef %631, ptr noundef %632, ptr noundef %633, ptr noundef %634)
store double %635, ptr %27, align 8
%636 = load double, ptr %28, align 8
%637 = load double, ptr %27, align 8
%638 = fcmp ogt double %636, %637
br i1 %638, label %639, label %641
639: ; preds = %630
%640 = load double, ptr %27, align 8
store double %640, ptr %28, align 8
br label %641
641: ; preds = %639, %630
%642 = load double, ptr %29, align 8
%643 = load double, ptr %27, align 8
%644 = fcmp olt double %642, %643
br i1 %644, label %645, label %647
645: ; preds = %641
%646 = load double, ptr %27, align 8
store double %646, ptr %29, align 8
br label %647
647: ; preds = %645, %641
%648 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%649 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
%650 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
%651 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%652 = call double @det3D(ptr noundef %648, ptr noundef %649, ptr noundef %650, ptr noundef %651)
store double %652, ptr %27, align 8
%653 = load double, ptr %28, align 8
%654 = load double, ptr %27, align 8
%655 = fcmp ogt double %653, %654
br i1 %655, label %656, label %658
656: ; preds = %647
%657 = load double, ptr %27, align 8
store double %657, ptr %28, align 8
br label %658
658: ; preds = %656, %647
%659 = load double, ptr %29, align 8
%660 = load double, ptr %27, align 8
%661 = fcmp olt double %659, %660
br i1 %661, label %662, label %664
662: ; preds = %658
%663 = load double, ptr %27, align 8
store double %663, ptr %29, align 8
br label %664
664: ; preds = %662, %658
%665 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%666 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%667 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%668 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%669 = call double @det3D(ptr noundef %665, ptr noundef %666, ptr noundef %667, ptr noundef %668)
store double %669, ptr %27, align 8
%670 = load double, ptr %28, align 8
%671 = load double, ptr %27, align 8
%672 = fcmp ogt double %670, %671
br i1 %672, label %673, label %675
673: ; preds = %664
%674 = load double, ptr %27, align 8
store double %674, ptr %28, align 8
br label %675
675: ; preds = %673, %664
%676 = load double, ptr %29, align 8
%677 = load double, ptr %27, align 8
%678 = fcmp olt double %676, %677
br i1 %678, label %679, label %681
679: ; preds = %675
%680 = load double, ptr %27, align 8
store double %680, ptr %29, align 8
br label %681
681: ; preds = %679, %675
%682 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
%683 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%684 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%685 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%686 = call double @det3D(ptr noundef %682, ptr noundef %683, ptr noundef %684, ptr noundef %685)
store double %686, ptr %27, align 8
%687 = load double, ptr %28, align 8
%688 = load double, ptr %27, align 8
%689 = fcmp ogt double %687, %688
br i1 %689, label %690, label %692
690: ; preds = %681
%691 = load double, ptr %27, align 8
store double %691, ptr %28, align 8
br label %692
692: ; preds = %690, %681
%693 = load double, ptr %29, align 8
%694 = load double, ptr %27, align 8
%695 = fcmp olt double %693, %694
br i1 %695, label %696, label %698
696: ; preds = %692
%697 = load double, ptr %27, align 8
store double %697, ptr %29, align 8
br label %698
698: ; preds = %696, %692
%699 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%700 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%701 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%702 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%703 = call double @det3D(ptr noundef %699, ptr noundef %700, ptr noundef %701, ptr noundef %702)
store double %703, ptr %27, align 8
%704 = load double, ptr %28, align 8
%705 = load double, ptr %27, align 8
%706 = fcmp ogt double %704, %705
br i1 %706, label %707, label %709
707: ; preds = %698
%708 = load double, ptr %27, align 8
store double %708, ptr %28, align 8
br label %709
709: ; preds = %707, %698
%710 = load double, ptr %29, align 8
%711 = load double, ptr %27, align 8
%712 = fcmp olt double %710, %711
br i1 %712, label %713, label %715
713: ; preds = %709
%714 = load double, ptr %27, align 8
store double %714, ptr %29, align 8
br label %715
715: ; preds = %713, %709
%716 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
%717 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
%718 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
%719 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
%720 = call double @det3D(ptr noundef %716, ptr noundef %717, ptr noundef %718, ptr noundef %719)
store double %720, ptr %27, align 8
%721 = load double, ptr %28, align 8
%722 = load double, ptr %27, align 8
%723 = fcmp ogt double %721, %722
br i1 %723, label %724, label %726
724: ; preds = %715
%725 = load double, ptr %27, align 8
store double %725, ptr %28, align 8
br label %726
726: ; preds = %724, %715
%727 = load double, ptr %29, align 8
%728 = load double, ptr %27, align 8
%729 = fcmp olt double %727, %728
br i1 %729, label %730, label %732
730: ; preds = %726
%731 = load double, ptr %27, align 8
store double %731, ptr %29, align 8
br label %732
732: ; preds = %730, %726
br label %733
733: ; preds = %732
%734 = load i32, ptr %33, align 4
%735 = add nsw i32 %734, 1
store i32 %735, ptr %33, align 4
%736 = load i32, ptr %33, align 4
%737 = load i32, ptr %11, align 4
%738 = icmp slt i32 %736, %737
br i1 %738, label %80, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %733
br label %739
739: ; preds = %._crit_edge3, %76
br label %740
740: ; preds = %739
%741 = load i32, ptr %32, align 4
%742 = add nsw i32 %741, 1
store i32 %742, ptr %32, align 4
%743 = load i32, ptr %32, align 4
%744 = load i32, ptr %10, align 4
%745 = icmp slt i32 %743, %744
br i1 %745, label %76, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %740
br label %746
746: ; preds = %._crit_edge6, %72
br label %747
747: ; preds = %746
%748 = load i32, ptr %31, align 4
%749 = add nsw i32 %748, 1
store i32 %749, ptr %31, align 4
%750 = load i32, ptr %31, align 4
%751 = load i32, ptr %9, align 4
%752 = icmp slt i32 %750, %751
br i1 %752, label %72, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %747
br label %753
753: ; preds = %._crit_edge9, %4
%754 = load double, ptr %28, align 8
%755 = load ptr, ptr %5, align 8
store double %754, ptr %755, align 8
%756 = load ptr, ptr %5, align 8
%757 = getelementptr inbounds double, ptr %756, i32 1
store ptr %757, ptr %5, align 8
%758 = load double, ptr %29, align 8
%759 = load ptr, ptr %5, align 8
store double %758, ptr %759, align 8
ret void
}
declare double @det3D(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpd30ejiwq.c'
source_filename = "/tmp/tmpd30ejiwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
br label %8
8: ; preds = %37, %3
%9 = load i64, ptr %7, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %11, label %44
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load ptr, ptr %6, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %14, %17
br i1 %18, label %19, label %29
19: ; preds = %11
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = icmp slt i32 %22, %25
%27 = zext i1 %26 to i64
%28 = select i1 %26, i32 -1, i32 1
store i32 %28, ptr %4, align 4
br label %45
29: ; preds = %11
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %29
store i32 0, ptr %4, align 4
br label %45
35: ; preds = %29
br label %36
36: ; preds = %35
br label %37
37: ; preds = %36
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %5, align 8
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %6, align 8
%42 = load i64, ptr %7, align 8
%43 = add i64 %42, -1
store i64 %43, ptr %7, align 8
br label %8, !llvm.loop !6
44: ; preds = %8
store i32 0, ptr %4, align 4
br label %45
45: ; preds = %44, %34, %19
%46 = load i32, ptr %4, align 4
ret i32 %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd30ejiwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = icmp ugt i64 %8, 0
br i1 %9, label %.lr.ph, label %45
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %36
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = load ptr, ptr %6, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %13, %16
br i1 %17, label %18, label %28
18: ; preds = %10
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = load ptr, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i32
%25 = icmp slt i32 %21, %24
%26 = zext i1 %25 to i64
%27 = select i1 %25, i32 -1, i32 1
store i32 %27, ptr %4, align 4
br label %46
28: ; preds = %10
%29 = load ptr, ptr %5, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 0, ptr %4, align 4
br label %46
34: ; preds = %28
br label %35
35: ; preds = %34
br label %36
36: ; preds = %35
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %5, align 8
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %6, align 8
%41 = load i64, ptr %7, align 8
%42 = add i64 %41, -1
store i64 %42, ptr %7, align 8
%43 = load i64, ptr %7, align 8
%44 = icmp ugt i64 %43, 0
br i1 %44, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %45
45: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %46
46: ; preds = %45, %33, %18
%47 = load i32, ptr %4, align 4
ret i32 %47
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3s18iff1.c'
source_filename = "/tmp/tmp3s18iff1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"day (%d) month (%d) of year (%d) = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"yearday (%d) of year (%d) = %d day %d month\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2015, ptr %2, align 4
store i32 3, ptr %3, align 4
store i32 8, ptr %4, align 4
store i32 67, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = call i32 @day_of_year_ptr(i32 noundef %11, i32 noundef %12, i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @month_day_ptr(i32 noundef %16, i32 noundef %17, ptr noundef %6, ptr noundef %7)
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @day_of_year_ptr(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @month_day_ptr(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3s18iff1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"day (%d) month (%d) of year (%d) = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"yearday (%d) of year (%d) = %d day %d month\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2015, ptr %2, align 4
store i32 3, ptr %3, align 4
store i32 8, ptr %4, align 4
store i32 67, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = call i32 @day_of_year_ptr(i32 noundef %11, i32 noundef %12, i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @month_day_ptr(i32 noundef %16, i32 noundef %17, ptr noundef %6, ptr noundef %7)
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @day_of_year_ptr(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @month_day_ptr(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp76y5c_6t.c'
source_filename = "/tmp/tmp76y5c_6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_jx_core_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp76y5c_6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_jx_core_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppms1p7rr.c'
source_filename = "/tmp/tmppms1p7rr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @maxu(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp ugt i32 %10, 0
br label %12
12: ; preds = %9, %2
%13 = phi i1 [ false, %2 ], [ %11, %9 ]
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 0
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %6, align 4
store i32 1, ptr %5, align 4
br label %19
19: ; preds = %38, %12
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp ult i32 %20, %21
br i1 %22, label %23, label %41
23: ; preds = %19
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp ugt i32 %28, %29
br i1 %30, label %31, label %37
31: ; preds = %23
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %5, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
store i32 %36, ptr %6, align 4
br label %37
37: ; preds = %31, %23
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add i32 %39, 1
store i32 %40, ptr %5, align 4
br label %19, !llvm.loop !6
41: ; preds = %19
%42 = load i32, ptr %6, align 4
ret i32 %42
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppms1p7rr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @maxu(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp ugt i32 %10, 0
br label %12
12: ; preds = %9, %2
%13 = phi i1 [ false, %2 ], [ %11, %9 ]
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 0
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %6, align 4
store i32 1, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ult i32 %19, %20
br i1 %21, label %.lr.ph, label %43
.lr.ph: ; preds = %12
br label %22
22: ; preds = %.lr.ph, %37
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp ugt i32 %27, %28
br i1 %29, label %30, label %36
30: ; preds = %22
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
store i32 %35, ptr %6, align 4
br label %36
36: ; preds = %30, %22
br label %37
37: ; preds = %36
%38 = load i32, ptr %5, align 4
%39 = add i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp ult i32 %40, %41
br i1 %42, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %12
%44 = load i32, ptr %6, align 4
ret i32 %44
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6hk49fu5.c'
source_filename = "/tmp/tmp6hk49fu5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bpf_jit_compile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hk49fu5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bpf_jit_compile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg0lfwnu1.c'
source_filename = "/tmp/tmpg0lfwnu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg0lfwnu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn2dkcptw.c'
source_filename = "/tmp/tmpn2dkcptw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wafil3(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %13, align 4
br label %21
21: ; preds = %64, %5
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = sub nsw i32 %23, %24
%26 = icmp sle i32 %22, %25
br i1 %26, label %27, label %67
27: ; preds = %21
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr %13, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds float, ptr %28, i64 %30
store float 0.000000e+00, ptr %31, align 4
store i32 1, ptr %14, align 4
br label %32
32: ; preds = %60, %27
%33 = load i32, ptr %14, align 4
%34 = load i32, ptr %8, align 4
%35 = mul nsw i32 2, %34
%36 = add nsw i32 %35, 1
%37 = icmp sle i32 %33, %36
br i1 %37, label %38, label %63
38: ; preds = %32
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %14, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %39, i64 %41
%43 = load float, ptr %42, align 4
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %14, align 4
%47 = add nsw i32 %45, %46
%48 = load i32, ptr %8, align 4
%49 = sub nsw i32 %47, %48
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds float, ptr %44, i64 %51
%53 = load float, ptr %52, align 4
%54 = load ptr, ptr %10, align 8
%55 = load i32, ptr %13, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %54, i64 %56
%58 = load float, ptr %57, align 4
%59 = call float @llvm.fmuladd.f32(float %43, float %53, float %58)
store float %59, ptr %57, align 4
br label %60
60: ; preds = %38
%61 = load i32, ptr %14, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %14, align 4
br label %32, !llvm.loop !6
63: ; preds = %32
br label %64
64: ; preds = %63
%65 = load i32, ptr %13, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %13, align 4
br label %21, !llvm.loop !8
67: ; preds = %21
%68 = load i32, ptr %7, align 4
%69 = load i32, ptr %8, align 4
%70 = sub nsw i32 %68, %69
%71 = load i32, ptr %8, align 4
%72 = sub nsw i32 %70, %71
%73 = load i32, ptr %8, align 4
%74 = mul nsw i32 %73, 2
%75 = icmp slt i32 %72, %74
br i1 %75, label %76, label %82
76: ; preds = %67
%77 = load i32, ptr %7, align 4
%78 = load i32, ptr %8, align 4
%79 = sub nsw i32 %77, %78
%80 = load i32, ptr %8, align 4
%81 = sub nsw i32 %79, %80
br label %85
82: ; preds = %67
%83 = load i32, ptr %8, align 4
%84 = mul nsw i32 %83, 2
br label %85
85: ; preds = %82, %76
%86 = phi i32 [ %81, %76 ], [ %84, %82 ]
store i32 %86, ptr %15, align 4
%87 = load i32, ptr %15, align 4
%88 = load i32, ptr %8, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %92
90: ; preds = %85
%91 = load i32, ptr %15, align 4
br label %94
92: ; preds = %85
%93 = load i32, ptr %8, align 4
br label %94
94: ; preds = %92, %90
%95 = phi i32 [ %91, %90 ], [ %93, %92 ]
store i32 %95, ptr %14, align 4
%96 = load i32, ptr %14, align 4
%97 = icmp slt i32 256, %96
br i1 %97, label %98, label %99
98: ; preds = %94
br label %101
99: ; preds = %94
%100 = load i32, ptr %14, align 4
br label %101
101: ; preds = %99, %98
%102 = phi i32 [ 256, %98 ], [ %100, %99 ]
store i32 %102, ptr %16, align 4
%103 = load i32, ptr %16, align 4
%104 = call ptr @dvector(i32 noundef 1, i32 noundef %103)
store ptr %104, ptr %11, align 8
%105 = load i32, ptr %7, align 4
%106 = load i32, ptr %15, align 4
%107 = sub nsw i32 %105, %106
%108 = load i32, ptr %8, align 4
%109 = sub nsw i32 %107, %108
store i32 %109, ptr %17, align 4
%110 = load i32, ptr %7, align 4
%111 = load i32, ptr %8, align 4
%112 = sub nsw i32 %110, %111
store i32 %112, ptr %18, align 4
%113 = load ptr, ptr %10, align 8
%114 = load i32, ptr %17, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds float, ptr %113, i64 %115
%117 = load i32, ptr %15, align 4
%118 = load i32, ptr %16, align 4
%119 = load ptr, ptr %11, align 8
%120 = call i32 @memcof(ptr noundef %116, i32 noundef %117, i32 noundef %118, ptr noundef %12, ptr noundef %119)
%121 = load ptr, ptr %10, align 8
%122 = load i32, ptr %17, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, ptr %121, i64 %123
%125 = load i32, ptr %15, align 4
%126 = load ptr, ptr %11, align 8
%127 = load i32, ptr %16, align 4
%128 = load ptr, ptr %10, align 8
%129 = load i32, ptr %18, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds float, ptr %128, i64 %130
%132 = load i32, ptr %8, align 4
%133 = call i32 @bacdic(ptr noundef %124, i32 noundef %125, ptr noundef %126, i32 noundef %127, ptr noundef %131, i32 noundef %132)
%134 = load ptr, ptr %10, align 8
%135 = getelementptr inbounds float, ptr %134, i64 1
%136 = load i32, ptr %7, align 4
%137 = call i32 @invrse(ptr noundef %135, i32 noundef %136)
%138 = load ptr, ptr %10, align 8
%139 = load i32, ptr %17, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds float, ptr %138, i64 %140
%142 = load i32, ptr %15, align 4
%143 = load i32, ptr %16, align 4
%144 = load ptr, ptr %11, align 8
%145 = call i32 @memcof(ptr noundef %141, i32 noundef %142, i32 noundef %143, ptr noundef %12, ptr noundef %144)
%146 = load ptr, ptr %10, align 8
%147 = load i32, ptr %17, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds float, ptr %146, i64 %148
%150 = load i32, ptr %15, align 4
%151 = load ptr, ptr %11, align 8
%152 = load i32, ptr %16, align 4
%153 = load ptr, ptr %10, align 8
%154 = load i32, ptr %18, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds float, ptr %153, i64 %155
%157 = load i32, ptr %8, align 4
%158 = call i32 @bacdic(ptr noundef %149, i32 noundef %150, ptr noundef %151, i32 noundef %152, ptr noundef %156, i32 noundef %157)
%159 = load ptr, ptr %10, align 8
%160 = getelementptr inbounds float, ptr %159, i64 1
%161 = load i32, ptr %7, align 4
%162 = call i32 @invrse(ptr noundef %160, i32 noundef %161)
store i32 1, ptr %13, align 4
br label %163
163: ; preds = %179, %101
%164 = load i32, ptr %13, align 4
%165 = load i32, ptr %7, align 4
%166 = icmp sle i32 %164, %165
br i1 %166, label %167, label %182
167: ; preds = %163
%168 = load ptr, ptr %10, align 8
%169 = load i32, ptr %13, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds float, ptr %168, i64 %170
%172 = load float, ptr %171, align 4
%173 = load ptr, ptr %6, align 8
%174 = load i32, ptr %13, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds float, ptr %173, i64 %175
%177 = load float, ptr %176, align 4
%178 = fsub float %177, %172
store float %178, ptr %176, align 4
br label %179
179: ; preds = %167
%180 = load i32, ptr %13, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %13, align 4
br label %163, !llvm.loop !9
182: ; preds = %163
%183 = load ptr, ptr %11, align 8
%184 = call i32 @free_dvector(ptr noundef %183, i32 noundef 1)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare ptr @dvector(i32 noundef, i32 noundef) #2
declare i32 @memcof(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @bacdic(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @invrse(ptr noundef, i32 noundef) #2
declare i32 @free_dvector(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn2dkcptw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wafil3(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %13, align 4
%21 = load i32, ptr %13, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = sub nsw i32 %22, %23
%25 = icmp sle i32 %21, %24
br i1 %25, label %.lr.ph2, label %75
.lr.ph2: ; preds = %5
br label %26
26: ; preds = %.lr.ph2, %67
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %13, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds float, ptr %27, i64 %29
store float 0.000000e+00, ptr %30, align 4
store i32 1, ptr %14, align 4
%31 = load i32, ptr %14, align 4
%32 = load i32, ptr %8, align 4
%33 = mul nsw i32 2, %32
%34 = add nsw i32 %33, 1
%35 = icmp sle i32 %31, %34
br i1 %35, label %.lr.ph, label %66
.lr.ph: ; preds = %26
br label %36
36: ; preds = %.lr.ph, %58
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %14, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds float, ptr %37, i64 %39
%41 = load float, ptr %40, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %13, align 4
%44 = load i32, ptr %14, align 4
%45 = add nsw i32 %43, %44
%46 = load i32, ptr %8, align 4
%47 = sub nsw i32 %45, %46
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, ptr %42, i64 %49
%51 = load float, ptr %50, align 4
%52 = load ptr, ptr %10, align 8
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
%56 = load float, ptr %55, align 4
%57 = call float @llvm.fmuladd.f32(float %41, float %51, float %56)
store float %57, ptr %55, align 4
br label %58
58: ; preds = %36
%59 = load i32, ptr %14, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %14, align 4
%61 = load i32, ptr %14, align 4
%62 = load i32, ptr %8, align 4
%63 = mul nsw i32 2, %62
%64 = add nsw i32 %63, 1
%65 = icmp sle i32 %61, %64
br i1 %65, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %66
66: ; preds = %._crit_edge, %26
br label %67
67: ; preds = %66
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %13, align 4
%70 = load i32, ptr %13, align 4
%71 = load i32, ptr %7, align 4
%72 = load i32, ptr %8, align 4
%73 = sub nsw i32 %71, %72
%74 = icmp sle i32 %70, %73
br i1 %74, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %75
75: ; preds = %._crit_edge3, %5
%76 = load i32, ptr %7, align 4
%77 = load i32, ptr %8, align 4
%78 = sub nsw i32 %76, %77
%79 = load i32, ptr %8, align 4
%80 = sub nsw i32 %78, %79
%81 = load i32, ptr %8, align 4
%82 = mul nsw i32 %81, 2
%83 = icmp slt i32 %80, %82
br i1 %83, label %84, label %90
84: ; preds = %75
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %8, align 4
%87 = sub nsw i32 %85, %86
%88 = load i32, ptr %8, align 4
%89 = sub nsw i32 %87, %88
br label %93
90: ; preds = %75
%91 = load i32, ptr %8, align 4
%92 = mul nsw i32 %91, 2
br label %93
93: ; preds = %90, %84
%94 = phi i32 [ %89, %84 ], [ %92, %90 ]
store i32 %94, ptr %15, align 4
%95 = load i32, ptr %15, align 4
%96 = load i32, ptr %8, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %100
98: ; preds = %93
%99 = load i32, ptr %15, align 4
br label %102
100: ; preds = %93
%101 = load i32, ptr %8, align 4
br label %102
102: ; preds = %100, %98
%103 = phi i32 [ %99, %98 ], [ %101, %100 ]
store i32 %103, ptr %14, align 4
%104 = load i32, ptr %14, align 4
%105 = icmp slt i32 256, %104
br i1 %105, label %106, label %107
106: ; preds = %102
br label %109
107: ; preds = %102
%108 = load i32, ptr %14, align 4
br label %109
109: ; preds = %107, %106
%110 = phi i32 [ 256, %106 ], [ %108, %107 ]
store i32 %110, ptr %16, align 4
%111 = load i32, ptr %16, align 4
%112 = call ptr @dvector(i32 noundef 1, i32 noundef %111)
store ptr %112, ptr %11, align 8
%113 = load i32, ptr %7, align 4
%114 = load i32, ptr %15, align 4
%115 = sub nsw i32 %113, %114
%116 = load i32, ptr %8, align 4
%117 = sub nsw i32 %115, %116
store i32 %117, ptr %17, align 4
%118 = load i32, ptr %7, align 4
%119 = load i32, ptr %8, align 4
%120 = sub nsw i32 %118, %119
store i32 %120, ptr %18, align 4
%121 = load ptr, ptr %10, align 8
%122 = load i32, ptr %17, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, ptr %121, i64 %123
%125 = load i32, ptr %15, align 4
%126 = load i32, ptr %16, align 4
%127 = load ptr, ptr %11, align 8
%128 = call i32 @memcof(ptr noundef %124, i32 noundef %125, i32 noundef %126, ptr noundef %12, ptr noundef %127)
%129 = load ptr, ptr %10, align 8
%130 = load i32, ptr %17, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds float, ptr %129, i64 %131
%133 = load i32, ptr %15, align 4
%134 = load ptr, ptr %11, align 8
%135 = load i32, ptr %16, align 4
%136 = load ptr, ptr %10, align 8
%137 = load i32, ptr %18, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds float, ptr %136, i64 %138
%140 = load i32, ptr %8, align 4
%141 = call i32 @bacdic(ptr noundef %132, i32 noundef %133, ptr noundef %134, i32 noundef %135, ptr noundef %139, i32 noundef %140)
%142 = load ptr, ptr %10, align 8
%143 = getelementptr inbounds float, ptr %142, i64 1
%144 = load i32, ptr %7, align 4
%145 = call i32 @invrse(ptr noundef %143, i32 noundef %144)
%146 = load ptr, ptr %10, align 8
%147 = load i32, ptr %17, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds float, ptr %146, i64 %148
%150 = load i32, ptr %15, align 4
%151 = load i32, ptr %16, align 4
%152 = load ptr, ptr %11, align 8
%153 = call i32 @memcof(ptr noundef %149, i32 noundef %150, i32 noundef %151, ptr noundef %12, ptr noundef %152)
%154 = load ptr, ptr %10, align 8
%155 = load i32, ptr %17, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds float, ptr %154, i64 %156
%158 = load i32, ptr %15, align 4
%159 = load ptr, ptr %11, align 8
%160 = load i32, ptr %16, align 4
%161 = load ptr, ptr %10, align 8
%162 = load i32, ptr %18, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds float, ptr %161, i64 %163
%165 = load i32, ptr %8, align 4
%166 = call i32 @bacdic(ptr noundef %157, i32 noundef %158, ptr noundef %159, i32 noundef %160, ptr noundef %164, i32 noundef %165)
%167 = load ptr, ptr %10, align 8
%168 = getelementptr inbounds float, ptr %167, i64 1
%169 = load i32, ptr %7, align 4
%170 = call i32 @invrse(ptr noundef %168, i32 noundef %169)
store i32 1, ptr %13, align 4
%171 = load i32, ptr %13, align 4
%172 = load i32, ptr %7, align 4
%173 = icmp sle i32 %171, %172
br i1 %173, label %.lr.ph5, label %192
.lr.ph5: ; preds = %109
br label %174
174: ; preds = %.lr.ph5, %186
%175 = load ptr, ptr %10, align 8
%176 = load i32, ptr %13, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds float, ptr %175, i64 %177
%179 = load float, ptr %178, align 4
%180 = load ptr, ptr %6, align 8
%181 = load i32, ptr %13, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds float, ptr %180, i64 %182
%184 = load float, ptr %183, align 4
%185 = fsub float %184, %179
store float %185, ptr %183, align 4
br label %186
186: ; preds = %174
%187 = load i32, ptr %13, align 4
%188 = add nsw i32 %187, 1
store i32 %188, ptr %13, align 4
%189 = load i32, ptr %13, align 4
%190 = load i32, ptr %7, align 4
%191 = icmp sle i32 %189, %190
br i1 %191, label %174, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %186
br label %192
192: ; preds = %._crit_edge6, %109
%193 = load ptr, ptr %11, align 8
%194 = call i32 @free_dvector(ptr noundef %193, i32 noundef 1)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare ptr @dvector(i32 noundef, i32 noundef) #2
declare i32 @memcof(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @bacdic(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @invrse(ptr noundef, i32 noundef) #2
declare i32 @free_dvector(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7_ve17j4.c'
source_filename = "/tmp/tmp7_ve17j4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fizzbuzz(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = srem i32 %3, 3
%5 = icmp eq i32 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 5
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %25
10: ; preds = %6, %1
%11 = load i32, ptr %2, align 4
%12 = srem i32 %11, 3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fputs(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %14, %10
%18 = load i32, ptr %2, align 4
%19 = srem i32 %18, 5
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %21, %17
br label %28
25: ; preds = %6
%26 = load i32, ptr %2, align 4
%27 = call i32 @printf(ptr noundef @.str.2, i32 noundef %26)
br label %28
28: ; preds = %25, %24
%29 = load i32, ptr @stdout, align 4
%30 = call i32 @fputc(i8 noundef signext 10, i32 noundef %29)
ret void
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7_ve17j4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fizzbuzz(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = srem i32 %3, 3
%5 = icmp eq i32 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 5
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %25
10: ; preds = %6, %1
%11 = load i32, ptr %2, align 4
%12 = srem i32 %11, 3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fputs(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %14, %10
%18 = load i32, ptr %2, align 4
%19 = srem i32 %18, 5
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %21, %17
br label %28
25: ; preds = %6
%26 = load i32, ptr %2, align 4
%27 = call i32 @printf(ptr noundef @.str.2, i32 noundef %26)
br label %28
28: ; preds = %25, %24
%29 = load i32, ptr @stdout, align 4
%30 = call i32 @fputc(i8 noundef signext 10, i32 noundef %29)
ret void
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4ibk0a2j.c'
source_filename = "/tmp/tmp4ibk0a2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"C %2d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @child(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 4, ptr %3, align 4
br label %4
4: ; preds = %10, %1
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 6
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
%14 = call i32 @pthread_exit(ptr noundef null)
ret ptr null
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ibk0a2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"C %2d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @child(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 4, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 6
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %9
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %12, 6
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %1
%15 = call i32 @pthread_exit(ptr noundef null)
ret ptr null
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5hl5d6ho.c'
source_filename = "/tmp/tmp5hl5d6ho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vo_draw_alpha_rgb24(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %9, align 4
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %13, align 8
%21 = load i32, ptr %14, align 4
%22 = call i32 @vo_draw_alpha_rgb24_C(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21)
ret void
}
declare i32 @vo_draw_alpha_rgb24_C(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5hl5d6ho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vo_draw_alpha_rgb24(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %9, align 4
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %13, align 8
%21 = load i32, ptr %14, align 4
%22 = call i32 @vo_draw_alpha_rgb24_C(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21)
ret void
}
declare i32 @vo_draw_alpha_rgb24_C(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphyo39eoj.c'
source_filename = "/tmp/tmphyo39eoj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strip_newline(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 10)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %8, %1
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphyo39eoj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strip_newline(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 10)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %8, %1
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyy_1qfr2.c'
source_filename = "/tmp/tmpyy_1qfr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Veuillez entrer une cle (0-255):\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lireCle() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %11, %0
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = icmp sgt i32 %9, 255
br label %11
11: ; preds = %8, %5
%12 = phi i1 [ true, %5 ], [ %10, %8 ]
br i1 %12, label %2, label %13, !llvm.loop !6
13: ; preds = %11
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyy_1qfr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Veuillez entrer une cle (0-255):\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lireCle() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %11, %0
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = icmp sgt i32 %9, 255
br label %11
11: ; preds = %8, %5
%12 = phi i1 [ true, %5 ], [ %10, %8 ]
br i1 %12, label %2, label %13, !llvm.loop !6
13: ; preds = %11
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp73faw62h.c'
source_filename = "/tmp/tmp73faw62h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73faw62h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa1mjno2h.c'
source_filename = "/tmp/tmpa1mjno2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @list_len(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i64 %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load i64, ptr %2, align 8
%6 = call i64 @D_GET_TAG(i64 noundef %5)
%7 = icmp eq i64 %6, 1073741824
br i1 %7, label %8, label %14
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
br label %11
11: ; preds = %8
%12 = load i64, ptr %2, align 8
%13 = call i64 @l_cdr(i64 noundef %12)
store i64 %13, ptr %2, align 8
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i64 @D_GET_TAG(i64 noundef) #1
declare i64 @l_cdr(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa1mjno2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @list_len(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i64 %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i64, ptr %2, align 8
%5 = call i64 @D_GET_TAG(i64 noundef %4)
%6 = icmp eq i64 %5, 1073741824
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %10
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %7
%11 = load i64, ptr %2, align 8
%12 = call i64 @l_cdr(i64 noundef %11)
store i64 %12, ptr %2, align 8
%13 = load i64, ptr %2, align 8
%14 = call i64 @D_GET_TAG(i64 noundef %13)
%15 = icmp eq i64 %14, 1073741824
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %16
16: ; preds = %._crit_edge, %1
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i64 @D_GET_TAG(i64 noundef) #1
declare i64 @l_cdr(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphfvbezf3.c'
source_filename = "/tmp/tmphfvbezf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphfvbezf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsgfd_b17.c'
source_filename = "/tmp/tmpsgfd_b17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Bug in Clozure CL system code:\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lisp_bug(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @Bug(ptr noundef null, ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @Bug(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsgfd_b17.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Bug in Clozure CL system code:\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lisp_bug(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @Bug(ptr noundef null, ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @Bug(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo8x_9dsc.c'
source_filename = "/tmp/tmpo8x_9dsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double -5.000000e+01, %16
%18 = load i32, ptr %3, align 4
%19 = sitofp i32 %18 to double
%20 = fdiv double %17, %19
%21 = load i32, ptr %4, align 4
%22 = sitofp i32 %21 to double
%23 = fmul double 5.000000e+01, %22
%24 = load i32, ptr %3, align 4
%25 = sitofp i32 %24 to double
%26 = fdiv double %23, %25
%27 = call i32 @glOrtho(double noundef -5.000000e+01, double noundef 5.000000e+01, double noundef %20, double noundef %26, double noundef -1.000000e+00, double noundef 1.000000e+00)
br label %42
28: ; preds = %2
%29 = load i32, ptr %3, align 4
%30 = sitofp i32 %29 to double
%31 = fmul double -5.000000e+01, %30
%32 = load i32, ptr %4, align 4
%33 = sitofp i32 %32 to double
%34 = fdiv double %31, %33
%35 = load i32, ptr %3, align 4
%36 = sitofp i32 %35 to double
%37 = fmul double 5.000000e+01, %36
%38 = load i32, ptr %4, align 4
%39 = sitofp i32 %38 to double
%40 = fdiv double %37, %39
%41 = call i32 @glOrtho(double noundef %34, double noundef %40, double noundef -5.000000e+01, double noundef 5.000000e+01, double noundef -1.000000e+00, double noundef 1.000000e+00)
br label %42
42: ; preds = %28, %14
%43 = load i32, ptr @GL_MODELVIEW, align 4
%44 = call i32 @glMatrixMode(i32 noundef %43)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glOrtho(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8x_9dsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double -5.000000e+01, %16
%18 = load i32, ptr %3, align 4
%19 = sitofp i32 %18 to double
%20 = fdiv double %17, %19
%21 = load i32, ptr %4, align 4
%22 = sitofp i32 %21 to double
%23 = fmul double 5.000000e+01, %22
%24 = load i32, ptr %3, align 4
%25 = sitofp i32 %24 to double
%26 = fdiv double %23, %25
%27 = call i32 @glOrtho(double noundef -5.000000e+01, double noundef 5.000000e+01, double noundef %20, double noundef %26, double noundef -1.000000e+00, double noundef 1.000000e+00)
br label %42
28: ; preds = %2
%29 = load i32, ptr %3, align 4
%30 = sitofp i32 %29 to double
%31 = fmul double -5.000000e+01, %30
%32 = load i32, ptr %4, align 4
%33 = sitofp i32 %32 to double
%34 = fdiv double %31, %33
%35 = load i32, ptr %3, align 4
%36 = sitofp i32 %35 to double
%37 = fmul double 5.000000e+01, %36
%38 = load i32, ptr %4, align 4
%39 = sitofp i32 %38 to double
%40 = fdiv double %37, %39
%41 = call i32 @glOrtho(double noundef %34, double noundef %40, double noundef -5.000000e+01, double noundef 5.000000e+01, double noundef -1.000000e+00, double noundef 1.000000e+00)
br label %42
42: ; preds = %28, %14
%43 = load i32, ptr @GL_MODELVIEW, align 4
%44 = call i32 @glMatrixMode(i32 noundef %43)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glOrtho(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp25k3dc2a.c'
source_filename = "/tmp/tmp25k3dc2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp25k3dc2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl130qanx.c'
source_filename = "/tmp/tmpl130qanx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl130qanx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7_wqj482.c'
source_filename = "/tmp/tmp7_wqj482.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 45, ptr %2, align 1
store i8 45, ptr %3, align 1
store i8 45, ptr %4, align 1
store i8 45, ptr %5, align 1
store i8 45, ptr %6, align 1
store i8 45, ptr %7, align 1
store i8 45, ptr %8, align 1
store i8 45, ptr %9, align 1
store i8 45, ptr %10, align 1
br label %13
13: ; preds = %0, %553
%14 = call i32 @putchar(i32 noundef 10)
%15 = call i32 @putchar(i32 noundef 74)
%16 = call i32 @putchar(i32 noundef 111)
%17 = call i32 @putchar(i32 noundef 117)
%18 = call i32 @putchar(i32 noundef 101)
%19 = call i32 @putchar(i32 noundef 117)
%20 = call i32 @putchar(i32 noundef 114)
%21 = call i32 @putchar(i32 noundef 32)
%22 = call i32 @putchar(i32 noundef 49)
%23 = call i32 @putchar(i32 noundef 32)
%24 = call i32 @putchar(i32 noundef 63)
%25 = call i32 @putchar(i32 noundef 32)
%26 = call i32 @putchar(i32 noundef 40)
%27 = call i32 @putchar(i32 noundef 88)
%28 = call i32 @putchar(i32 noundef 41)
%29 = call i32 @putchar(i32 noundef 10)
%30 = call i32 (...) @getchar()
store i32 %30, ptr %11, align 4
%31 = call i32 (...) @getchar()
store i32 %31, ptr %12, align 4
%32 = load i32, ptr %11, align 4
%33 = sub nsw i32 %32, 48
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %11, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %37
36: ; preds = %13
store i8 88, ptr %2, align 1
br label %37
37: ; preds = %36, %13
%38 = load i32, ptr %11, align 4
%39 = icmp eq i32 %38, 2
br i1 %39, label %40, label %41
40: ; preds = %37
store i8 88, ptr %3, align 1
br label %41
41: ; preds = %40, %37
%42 = load i32, ptr %11, align 4
%43 = icmp eq i32 %42, 3
br i1 %43, label %44, label %45
44: ; preds = %41
store i8 88, ptr %4, align 1
br label %45
45: ; preds = %44, %41
%46 = load i32, ptr %11, align 4
%47 = icmp eq i32 %46, 4
br i1 %47, label %48, label %49
48: ; preds = %45
store i8 88, ptr %5, align 1
br label %49
49: ; preds = %48, %45
%50 = load i32, ptr %11, align 4
%51 = icmp eq i32 %50, 5
br i1 %51, label %52, label %53
52: ; preds = %49
store i8 88, ptr %6, align 1
br label %53
53: ; preds = %52, %49
%54 = load i32, ptr %11, align 4
%55 = icmp eq i32 %54, 6
br i1 %55, label %56, label %57
56: ; preds = %53
store i8 88, ptr %7, align 1
br label %57
57: ; preds = %56, %53
%58 = load i32, ptr %11, align 4
%59 = icmp eq i32 %58, 7
br i1 %59, label %60, label %61
60: ; preds = %57
store i8 88, ptr %8, align 1
br label %61
61: ; preds = %60, %57
%62 = load i32, ptr %11, align 4
%63 = icmp eq i32 %62, 8
br i1 %63, label %64, label %65
64: ; preds = %61
store i8 88, ptr %9, align 1
br label %65
65: ; preds = %64, %61
%66 = load i32, ptr %11, align 4
%67 = icmp eq i32 %66, 9
br i1 %67, label %68, label %69
68: ; preds = %65
store i8 88, ptr %10, align 1
br label %69
69: ; preds = %68, %65
%70 = call i32 @putchar(i32 noundef 10)
%71 = call i32 @putchar(i32 noundef 10)
%72 = load i8, ptr %2, align 1
%73 = sext i8 %72 to i32
%74 = call i32 @putchar(i32 noundef %73)
%75 = call i32 @putchar(i32 noundef 32)
%76 = load i8, ptr %3, align 1
%77 = sext i8 %76 to i32
%78 = call i32 @putchar(i32 noundef %77)
%79 = call i32 @putchar(i32 noundef 32)
%80 = load i8, ptr %4, align 1
%81 = sext i8 %80 to i32
%82 = call i32 @putchar(i32 noundef %81)
%83 = call i32 @putchar(i32 noundef 10)
%84 = load i8, ptr %5, align 1
%85 = sext i8 %84 to i32
%86 = call i32 @putchar(i32 noundef %85)
%87 = call i32 @putchar(i32 noundef 32)
%88 = load i8, ptr %6, align 1
%89 = sext i8 %88 to i32
%90 = call i32 @putchar(i32 noundef %89)
%91 = call i32 @putchar(i32 noundef 32)
%92 = load i8, ptr %7, align 1
%93 = sext i8 %92 to i32
%94 = call i32 @putchar(i32 noundef %93)
%95 = call i32 @putchar(i32 noundef 10)
%96 = load i8, ptr %8, align 1
%97 = sext i8 %96 to i32
%98 = call i32 @putchar(i32 noundef %97)
%99 = call i32 @putchar(i32 noundef 32)
%100 = load i8, ptr %9, align 1
%101 = sext i8 %100 to i32
%102 = call i32 @putchar(i32 noundef %101)
%103 = call i32 @putchar(i32 noundef 32)
%104 = load i8, ptr %10, align 1
%105 = sext i8 %104 to i32
%106 = call i32 @putchar(i32 noundef %105)
%107 = call i32 @putchar(i32 noundef 10)
br label %108
108: ; preds = %69
%109 = load i8, ptr %2, align 1
%110 = sext i8 %109 to i32
%111 = load i8, ptr %3, align 1
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %110, %112
br i1 %113, label %114, label %124
114: ; preds = %108
%115 = load i8, ptr %3, align 1
%116 = sext i8 %115 to i32
%117 = load i8, ptr %4, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %116, %118
br i1 %119, label %120, label %124
120: ; preds = %114
%121 = load i8, ptr %2, align 1
%122 = sext i8 %121 to i32
%123 = icmp ne i32 %122, 45
br label %124
124: ; preds = %120, %114, %108
%125 = phi i1 [ false, %114 ], [ false, %108 ], [ %123, %120 ]
br i1 %125, label %126, label %129
126: ; preds = %124
%127 = load i8, ptr %2, align 1
%128 = call i32 @victoire(i8 noundef signext %127)
store i32 0, ptr %1, align 4
br label %554
129: ; preds = %124
br label %130
130: ; preds = %129
%131 = load i8, ptr %5, align 1
%132 = sext i8 %131 to i32
%133 = load i8, ptr %6, align 1
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %132, %134
br i1 %135, label %136, label %146
136: ; preds = %130
%137 = load i8, ptr %6, align 1
%138 = sext i8 %137 to i32
%139 = load i8, ptr %7, align 1
%140 = sext i8 %139 to i32
%141 = icmp eq i32 %138, %140
br i1 %141, label %142, label %146
142: ; preds = %136
%143 = load i8, ptr %5, align 1
%144 = sext i8 %143 to i32
%145 = icmp ne i32 %144, 45
br label %146
146: ; preds = %142, %136, %130
%147 = phi i1 [ false, %136 ], [ false, %130 ], [ %145, %142 ]
br i1 %147, label %148, label %151
148: ; preds = %146
%149 = load i8, ptr %5, align 1
%150 = call i32 @victoire(i8 noundef signext %149)
store i32 0, ptr %1, align 4
br label %554
151: ; preds = %146
br label %152
152: ; preds = %151
%153 = load i8, ptr %8, align 1
%154 = sext i8 %153 to i32
%155 = load i8, ptr %9, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %154, %156
br i1 %157, label %158, label %168
158: ; preds = %152
%159 = load i8, ptr %9, align 1
%160 = sext i8 %159 to i32
%161 = load i8, ptr %10, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %160, %162
br i1 %163, label %164, label %168
164: ; preds = %158
%165 = load i8, ptr %8, align 1
%166 = sext i8 %165 to i32
%167 = icmp ne i32 %166, 45
br label %168
168: ; preds = %164, %158, %152
%169 = phi i1 [ false, %158 ], [ false, %152 ], [ %167, %164 ]
br i1 %169, label %170, label %173
170: ; preds = %168
%171 = load i8, ptr %8, align 1
%172 = call i32 @victoire(i8 noundef signext %171)
store i32 0, ptr %1, align 4
br label %554
173: ; preds = %168
br label %174
174: ; preds = %173
%175 = load i8, ptr %2, align 1
%176 = sext i8 %175 to i32
%177 = load i8, ptr %5, align 1
%178 = sext i8 %177 to i32
%179 = icmp eq i32 %176, %178
br i1 %179, label %180, label %190
180: ; preds = %174
%181 = load i8, ptr %5, align 1
%182 = sext i8 %181 to i32
%183 = load i8, ptr %8, align 1
%184 = sext i8 %183 to i32
%185 = icmp eq i32 %182, %184
br i1 %185, label %186, label %190
186: ; preds = %180
%187 = load i8, ptr %2, align 1
%188 = sext i8 %187 to i32
%189 = icmp ne i32 %188, 45
br label %190
190: ; preds = %186, %180, %174
%191 = phi i1 [ false, %180 ], [ false, %174 ], [ %189, %186 ]
br i1 %191, label %192, label %195
192: ; preds = %190
%193 = load i8, ptr %5, align 1
%194 = call i32 @victoire(i8 noundef signext %193)
store i32 0, ptr %1, align 4
br label %554
195: ; preds = %190
br label %196
196: ; preds = %195
%197 = load i8, ptr %3, align 1
%198 = sext i8 %197 to i32
%199 = load i8, ptr %6, align 1
%200 = sext i8 %199 to i32
%201 = icmp eq i32 %198, %200
br i1 %201, label %202, label %212
202: ; preds = %196
%203 = load i8, ptr %6, align 1
%204 = sext i8 %203 to i32
%205 = load i8, ptr %9, align 1
%206 = sext i8 %205 to i32
%207 = icmp eq i32 %204, %206
br i1 %207, label %208, label %212
208: ; preds = %202
%209 = load i8, ptr %3, align 1
%210 = sext i8 %209 to i32
%211 = icmp ne i32 %210, 45
br label %212
212: ; preds = %208, %202, %196
%213 = phi i1 [ false, %202 ], [ false, %196 ], [ %211, %208 ]
br i1 %213, label %214, label %217
214: ; preds = %212
%215 = load i8, ptr %6, align 1
%216 = call i32 @victoire(i8 noundef signext %215)
store i32 0, ptr %1, align 4
br label %554
217: ; preds = %212
br label %218
218: ; preds = %217
%219 = load i8, ptr %4, align 1
%220 = sext i8 %219 to i32
%221 = load i8, ptr %7, align 1
%222 = sext i8 %221 to i32
%223 = icmp eq i32 %220, %222
br i1 %223, label %224, label %234
224: ; preds = %218
%225 = load i8, ptr %7, align 1
%226 = sext i8 %225 to i32
%227 = load i8, ptr %10, align 1
%228 = sext i8 %227 to i32
%229 = icmp eq i32 %226, %228
br i1 %229, label %230, label %234
230: ; preds = %224
%231 = load i8, ptr %4, align 1
%232 = sext i8 %231 to i32
%233 = icmp ne i32 %232, 45
br label %234
234: ; preds = %230, %224, %218
%235 = phi i1 [ false, %224 ], [ false, %218 ], [ %233, %230 ]
br i1 %235, label %236, label %239
236: ; preds = %234
%237 = load i8, ptr %7, align 1
%238 = call i32 @victoire(i8 noundef signext %237)
store i32 0, ptr %1, align 4
br label %554
239: ; preds = %234
br label %240
240: ; preds = %239
%241 = load i8, ptr %2, align 1
%242 = sext i8 %241 to i32
%243 = load i8, ptr %6, align 1
%244 = sext i8 %243 to i32
%245 = icmp eq i32 %242, %244
br i1 %245, label %246, label %256
246: ; preds = %240
%247 = load i8, ptr %6, align 1
%248 = sext i8 %247 to i32
%249 = load i8, ptr %10, align 1
%250 = sext i8 %249 to i32
%251 = icmp eq i32 %248, %250
br i1 %251, label %252, label %256
252: ; preds = %246
%253 = load i8, ptr %2, align 1
%254 = sext i8 %253 to i32
%255 = icmp ne i32 %254, 45
br label %256
256: ; preds = %252, %246, %240
%257 = phi i1 [ false, %246 ], [ false, %240 ], [ %255, %252 ]
br i1 %257, label %258, label %261
258: ; preds = %256
%259 = load i8, ptr %2, align 1
%260 = call i32 @victoire(i8 noundef signext %259)
store i32 0, ptr %1, align 4
br label %554
261: ; preds = %256
br label %262
262: ; preds = %261
%263 = load i8, ptr %4, align 1
%264 = sext i8 %263 to i32
%265 = load i8, ptr %6, align 1
%266 = sext i8 %265 to i32
%267 = icmp eq i32 %264, %266
br i1 %267, label %268, label %278
268: ; preds = %262
%269 = load i8, ptr %6, align 1
%270 = sext i8 %269 to i32
%271 = load i8, ptr %8, align 1
%272 = sext i8 %271 to i32
%273 = icmp eq i32 %270, %272
br i1 %273, label %274, label %278
274: ; preds = %268
%275 = load i8, ptr %4, align 1
%276 = sext i8 %275 to i32
%277 = icmp ne i32 %276, 45
br label %278
278: ; preds = %274, %268, %262
%279 = phi i1 [ false, %268 ], [ false, %262 ], [ %277, %274 ]
br i1 %279, label %280, label %283
280: ; preds = %278
%281 = load i8, ptr %6, align 1
%282 = call i32 @victoire(i8 noundef signext %281)
store i32 0, ptr %1, align 4
br label %554
283: ; preds = %278
%284 = call i32 @putchar(i32 noundef 10)
%285 = call i32 @putchar(i32 noundef 74)
%286 = call i32 @putchar(i32 noundef 111)
%287 = call i32 @putchar(i32 noundef 117)
%288 = call i32 @putchar(i32 noundef 101)
%289 = call i32 @putchar(i32 noundef 117)
%290 = call i32 @putchar(i32 noundef 114)
%291 = call i32 @putchar(i32 noundef 32)
%292 = call i32 @putchar(i32 noundef 50)
%293 = call i32 @putchar(i32 noundef 32)
%294 = call i32 @putchar(i32 noundef 63)
%295 = call i32 @putchar(i32 noundef 32)
%296 = call i32 @putchar(i32 noundef 40)
%297 = call i32 @putchar(i32 noundef 79)
%298 = call i32 @putchar(i32 noundef 41)
%299 = call i32 @putchar(i32 noundef 10)
%300 = call i32 (...) @getchar()
store i32 %300, ptr %12, align 4
%301 = call i32 (...) @getchar()
store i32 %301, ptr %11, align 4
%302 = load i32, ptr %12, align 4
%303 = sub nsw i32 %302, 48
store i32 %303, ptr %12, align 4
%304 = load i32, ptr %12, align 4
%305 = icmp eq i32 %304, 1
br i1 %305, label %306, label %307
306: ; preds = %283
store i8 79, ptr %2, align 1
br label %307
307: ; preds = %306, %283
%308 = load i32, ptr %12, align 4
%309 = icmp eq i32 %308, 2
br i1 %309, label %310, label %311
310: ; preds = %307
store i8 79, ptr %3, align 1
br label %311
311: ; preds = %310, %307
%312 = load i32, ptr %12, align 4
%313 = icmp eq i32 %312, 3
br i1 %313, label %314, label %315
314: ; preds = %311
store i8 79, ptr %4, align 1
br label %315
315: ; preds = %314, %311
%316 = load i32, ptr %12, align 4
%317 = icmp eq i32 %316, 4
br i1 %317, label %318, label %319
318: ; preds = %315
store i8 79, ptr %5, align 1
br label %319
319: ; preds = %318, %315
%320 = load i32, ptr %12, align 4
%321 = icmp eq i32 %320, 5
br i1 %321, label %322, label %323
322: ; preds = %319
store i8 79, ptr %6, align 1
br label %323
323: ; preds = %322, %319
%324 = load i32, ptr %12, align 4
%325 = icmp eq i32 %324, 6
br i1 %325, label %326, label %327
326: ; preds = %323
store i8 79, ptr %7, align 1
br label %327
327: ; preds = %326, %323
%328 = load i32, ptr %12, align 4
%329 = icmp eq i32 %328, 7
br i1 %329, label %330, label %331
330: ; preds = %327
store i8 79, ptr %8, align 1
br label %331
331: ; preds = %330, %327
%332 = load i32, ptr %12, align 4
%333 = icmp eq i32 %332, 8
br i1 %333, label %334, label %335
334: ; preds = %331
store i8 79, ptr %9, align 1
br label %335
335: ; preds = %334, %331
%336 = load i32, ptr %12, align 4
%337 = icmp eq i32 %336, 9
br i1 %337, label %338, label %339
338: ; preds = %335
store i8 79, ptr %10, align 1
br label %339
339: ; preds = %338, %335
%340 = call i32 @putchar(i32 noundef 10)
%341 = call i32 @putchar(i32 noundef 10)
%342 = load i8, ptr %2, align 1
%343 = sext i8 %342 to i32
%344 = call i32 @putchar(i32 noundef %343)
%345 = call i32 @putchar(i32 noundef 32)
%346 = load i8, ptr %3, align 1
%347 = sext i8 %346 to i32
%348 = call i32 @putchar(i32 noundef %347)
%349 = call i32 @putchar(i32 noundef 32)
%350 = load i8, ptr %4, align 1
%351 = sext i8 %350 to i32
%352 = call i32 @putchar(i32 noundef %351)
%353 = call i32 @putchar(i32 noundef 10)
%354 = load i8, ptr %5, align 1
%355 = sext i8 %354 to i32
%356 = call i32 @putchar(i32 noundef %355)
%357 = call i32 @putchar(i32 noundef 32)
%358 = load i8, ptr %6, align 1
%359 = sext i8 %358 to i32
%360 = call i32 @putchar(i32 noundef %359)
%361 = call i32 @putchar(i32 noundef 32)
%362 = load i8, ptr %7, align 1
%363 = sext i8 %362 to i32
%364 = call i32 @putchar(i32 noundef %363)
%365 = call i32 @putchar(i32 noundef 10)
%366 = load i8, ptr %8, align 1
%367 = sext i8 %366 to i32
%368 = call i32 @putchar(i32 noundef %367)
%369 = call i32 @putchar(i32 noundef 32)
%370 = load i8, ptr %9, align 1
%371 = sext i8 %370 to i32
%372 = call i32 @putchar(i32 noundef %371)
%373 = call i32 @putchar(i32 noundef 32)
%374 = load i8, ptr %10, align 1
%375 = sext i8 %374 to i32
%376 = call i32 @putchar(i32 noundef %375)
%377 = call i32 @putchar(i32 noundef 10)
br label %378
378: ; preds = %339
%379 = load i8, ptr %2, align 1
%380 = sext i8 %379 to i32
%381 = load i8, ptr %3, align 1
%382 = sext i8 %381 to i32
%383 = icmp eq i32 %380, %382
br i1 %383, label %384, label %394
384: ; preds = %378
%385 = load i8, ptr %3, align 1
%386 = sext i8 %385 to i32
%387 = load i8, ptr %4, align 1
%388 = sext i8 %387 to i32
%389 = icmp eq i32 %386, %388
br i1 %389, label %390, label %394
390: ; preds = %384
%391 = load i8, ptr %2, align 1
%392 = sext i8 %391 to i32
%393 = icmp ne i32 %392, 45
br label %394
394: ; preds = %390, %384, %378
%395 = phi i1 [ false, %384 ], [ false, %378 ], [ %393, %390 ]
br i1 %395, label %396, label %399
396: ; preds = %394
%397 = load i8, ptr %2, align 1
%398 = call i32 @victoire(i8 noundef signext %397)
store i32 0, ptr %1, align 4
br label %554
399: ; preds = %394
br label %400
400: ; preds = %399
%401 = load i8, ptr %5, align 1
%402 = sext i8 %401 to i32
%403 = load i8, ptr %6, align 1
%404 = sext i8 %403 to i32
%405 = icmp eq i32 %402, %404
br i1 %405, label %406, label %416
406: ; preds = %400
%407 = load i8, ptr %6, align 1
%408 = sext i8 %407 to i32
%409 = load i8, ptr %7, align 1
%410 = sext i8 %409 to i32
%411 = icmp eq i32 %408, %410
br i1 %411, label %412, label %416
412: ; preds = %406
%413 = load i8, ptr %5, align 1
%414 = sext i8 %413 to i32
%415 = icmp ne i32 %414, 45
br label %416
416: ; preds = %412, %406, %400
%417 = phi i1 [ false, %406 ], [ false, %400 ], [ %415, %412 ]
br i1 %417, label %418, label %421
418: ; preds = %416
%419 = load i8, ptr %5, align 1
%420 = call i32 @victoire(i8 noundef signext %419)
store i32 0, ptr %1, align 4
br label %554
421: ; preds = %416
br label %422
422: ; preds = %421
%423 = load i8, ptr %8, align 1
%424 = sext i8 %423 to i32
%425 = load i8, ptr %9, align 1
%426 = sext i8 %425 to i32
%427 = icmp eq i32 %424, %426
br i1 %427, label %428, label %438
428: ; preds = %422
%429 = load i8, ptr %9, align 1
%430 = sext i8 %429 to i32
%431 = load i8, ptr %10, align 1
%432 = sext i8 %431 to i32
%433 = icmp eq i32 %430, %432
br i1 %433, label %434, label %438
434: ; preds = %428
%435 = load i8, ptr %8, align 1
%436 = sext i8 %435 to i32
%437 = icmp ne i32 %436, 45
br label %438
438: ; preds = %434, %428, %422
%439 = phi i1 [ false, %428 ], [ false, %422 ], [ %437, %434 ]
br i1 %439, label %440, label %443
440: ; preds = %438
%441 = load i8, ptr %8, align 1
%442 = call i32 @victoire(i8 noundef signext %441)
store i32 0, ptr %1, align 4
br label %554
443: ; preds = %438
br label %444
444: ; preds = %443
%445 = load i8, ptr %2, align 1
%446 = sext i8 %445 to i32
%447 = load i8, ptr %5, align 1
%448 = sext i8 %447 to i32
%449 = icmp eq i32 %446, %448
br i1 %449, label %450, label %460
450: ; preds = %444
%451 = load i8, ptr %5, align 1
%452 = sext i8 %451 to i32
%453 = load i8, ptr %8, align 1
%454 = sext i8 %453 to i32
%455 = icmp eq i32 %452, %454
br i1 %455, label %456, label %460
456: ; preds = %450
%457 = load i8, ptr %2, align 1
%458 = sext i8 %457 to i32
%459 = icmp ne i32 %458, 45
br label %460
460: ; preds = %456, %450, %444
%461 = phi i1 [ false, %450 ], [ false, %444 ], [ %459, %456 ]
br i1 %461, label %462, label %465
462: ; preds = %460
%463 = load i8, ptr %5, align 1
%464 = call i32 @victoire(i8 noundef signext %463)
store i32 0, ptr %1, align 4
br label %554
465: ; preds = %460
br label %466
466: ; preds = %465
%467 = load i8, ptr %3, align 1
%468 = sext i8 %467 to i32
%469 = load i8, ptr %6, align 1
%470 = sext i8 %469 to i32
%471 = icmp eq i32 %468, %470
br i1 %471, label %472, label %482
472: ; preds = %466
%473 = load i8, ptr %6, align 1
%474 = sext i8 %473 to i32
%475 = load i8, ptr %9, align 1
%476 = sext i8 %475 to i32
%477 = icmp eq i32 %474, %476
br i1 %477, label %478, label %482
478: ; preds = %472
%479 = load i8, ptr %3, align 1
%480 = sext i8 %479 to i32
%481 = icmp ne i32 %480, 45
br label %482
482: ; preds = %478, %472, %466
%483 = phi i1 [ false, %472 ], [ false, %466 ], [ %481, %478 ]
br i1 %483, label %484, label %487
484: ; preds = %482
%485 = load i8, ptr %6, align 1
%486 = call i32 @victoire(i8 noundef signext %485)
store i32 0, ptr %1, align 4
br label %554
487: ; preds = %482
br label %488
488: ; preds = %487
%489 = load i8, ptr %4, align 1
%490 = sext i8 %489 to i32
%491 = load i8, ptr %7, align 1
%492 = sext i8 %491 to i32
%493 = icmp eq i32 %490, %492
br i1 %493, label %494, label %504
494: ; preds = %488
%495 = load i8, ptr %7, align 1
%496 = sext i8 %495 to i32
%497 = load i8, ptr %10, align 1
%498 = sext i8 %497 to i32
%499 = icmp eq i32 %496, %498
br i1 %499, label %500, label %504
500: ; preds = %494
%501 = load i8, ptr %4, align 1
%502 = sext i8 %501 to i32
%503 = icmp ne i32 %502, 45
br label %504
504: ; preds = %500, %494, %488
%505 = phi i1 [ false, %494 ], [ false, %488 ], [ %503, %500 ]
br i1 %505, label %506, label %509
506: ; preds = %504
%507 = load i8, ptr %7, align 1
%508 = call i32 @victoire(i8 noundef signext %507)
store i32 0, ptr %1, align 4
br label %554
509: ; preds = %504
br label %510
510: ; preds = %509
%511 = load i8, ptr %2, align 1
%512 = sext i8 %511 to i32
%513 = load i8, ptr %6, align 1
%514 = sext i8 %513 to i32
%515 = icmp eq i32 %512, %514
br i1 %515, label %516, label %526
516: ; preds = %510
%517 = load i8, ptr %6, align 1
%518 = sext i8 %517 to i32
%519 = load i8, ptr %10, align 1
%520 = sext i8 %519 to i32
%521 = icmp eq i32 %518, %520
br i1 %521, label %522, label %526
522: ; preds = %516
%523 = load i8, ptr %2, align 1
%524 = sext i8 %523 to i32
%525 = icmp ne i32 %524, 45
br label %526
526: ; preds = %522, %516, %510
%527 = phi i1 [ false, %516 ], [ false, %510 ], [ %525, %522 ]
br i1 %527, label %528, label %531
528: ; preds = %526
%529 = load i8, ptr %2, align 1
%530 = call i32 @victoire(i8 noundef signext %529)
store i32 0, ptr %1, align 4
br label %554
531: ; preds = %526
br label %532
532: ; preds = %531
%533 = load i8, ptr %4, align 1
%534 = sext i8 %533 to i32
%535 = load i8, ptr %6, align 1
%536 = sext i8 %535 to i32
%537 = icmp eq i32 %534, %536
br i1 %537, label %538, label %548
538: ; preds = %532
%539 = load i8, ptr %6, align 1
%540 = sext i8 %539 to i32
%541 = load i8, ptr %8, align 1
%542 = sext i8 %541 to i32
%543 = icmp eq i32 %540, %542
br i1 %543, label %544, label %548
544: ; preds = %538
%545 = load i8, ptr %4, align 1
%546 = sext i8 %545 to i32
%547 = icmp ne i32 %546, 45
br label %548
548: ; preds = %544, %538, %532
%549 = phi i1 [ false, %538 ], [ false, %532 ], [ %547, %544 ]
br i1 %549, label %550, label %553
550: ; preds = %548
%551 = load i8, ptr %6, align 1
%552 = call i32 @victoire(i8 noundef signext %551)
store i32 0, ptr %1, align 4
br label %554
553: ; preds = %548
br label %13
554: ; preds = %550, %528, %506, %484, %462, %440, %418, %396, %280, %258, %236, %214, %192, %170, %148, %126
%555 = load i32, ptr %1, align 4
ret i32 %555
}
declare i32 @putchar(i32 noundef) #1
declare i32 @getchar(...) #1
declare i32 @victoire(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7_wqj482.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 45, ptr %2, align 1
store i8 45, ptr %3, align 1
store i8 45, ptr %4, align 1
store i8 45, ptr %5, align 1
store i8 45, ptr %6, align 1
store i8 45, ptr %7, align 1
store i8 45, ptr %8, align 1
store i8 45, ptr %9, align 1
store i8 45, ptr %10, align 1
br label %13
13: ; preds = %548, %0
%14 = call i32 @putchar(i32 noundef 10)
%15 = call i32 @putchar(i32 noundef 74)
%16 = call i32 @putchar(i32 noundef 111)
%17 = call i32 @putchar(i32 noundef 117)
%18 = call i32 @putchar(i32 noundef 101)
%19 = call i32 @putchar(i32 noundef 117)
%20 = call i32 @putchar(i32 noundef 114)
%21 = call i32 @putchar(i32 noundef 32)
%22 = call i32 @putchar(i32 noundef 49)
%23 = call i32 @putchar(i32 noundef 32)
%24 = call i32 @putchar(i32 noundef 63)
%25 = call i32 @putchar(i32 noundef 32)
%26 = call i32 @putchar(i32 noundef 40)
%27 = call i32 @putchar(i32 noundef 88)
%28 = call i32 @putchar(i32 noundef 41)
%29 = call i32 @putchar(i32 noundef 10)
%30 = call i32 (...) @getchar()
store i32 %30, ptr %11, align 4
%31 = call i32 (...) @getchar()
store i32 %31, ptr %12, align 4
%32 = load i32, ptr %11, align 4
%33 = sub nsw i32 %32, 48
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %11, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %37
36: ; preds = %13
store i8 88, ptr %2, align 1
br label %37
37: ; preds = %36, %13
%38 = load i32, ptr %11, align 4
%39 = icmp eq i32 %38, 2
br i1 %39, label %40, label %41
40: ; preds = %37
store i8 88, ptr %3, align 1
br label %41
41: ; preds = %40, %37
%42 = load i32, ptr %11, align 4
%43 = icmp eq i32 %42, 3
br i1 %43, label %44, label %45
44: ; preds = %41
store i8 88, ptr %4, align 1
br label %45
45: ; preds = %44, %41
%46 = load i32, ptr %11, align 4
%47 = icmp eq i32 %46, 4
br i1 %47, label %48, label %49
48: ; preds = %45
store i8 88, ptr %5, align 1
br label %49
49: ; preds = %48, %45
%50 = load i32, ptr %11, align 4
%51 = icmp eq i32 %50, 5
br i1 %51, label %52, label %53
52: ; preds = %49
store i8 88, ptr %6, align 1
br label %53
53: ; preds = %52, %49
%54 = load i32, ptr %11, align 4
%55 = icmp eq i32 %54, 6
br i1 %55, label %56, label %57
56: ; preds = %53
store i8 88, ptr %7, align 1
br label %57
57: ; preds = %56, %53
%58 = load i32, ptr %11, align 4
%59 = icmp eq i32 %58, 7
br i1 %59, label %60, label %61
60: ; preds = %57
store i8 88, ptr %8, align 1
br label %61
61: ; preds = %60, %57
%62 = load i32, ptr %11, align 4
%63 = icmp eq i32 %62, 8
br i1 %63, label %64, label %65
64: ; preds = %61
store i8 88, ptr %9, align 1
br label %65
65: ; preds = %64, %61
%66 = load i32, ptr %11, align 4
%67 = icmp eq i32 %66, 9
br i1 %67, label %68, label %69
68: ; preds = %65
store i8 88, ptr %10, align 1
br label %69
69: ; preds = %68, %65
%70 = call i32 @putchar(i32 noundef 10)
%71 = call i32 @putchar(i32 noundef 10)
%72 = load i8, ptr %2, align 1
%73 = sext i8 %72 to i32
%74 = call i32 @putchar(i32 noundef %73)
%75 = call i32 @putchar(i32 noundef 32)
%76 = load i8, ptr %3, align 1
%77 = sext i8 %76 to i32
%78 = call i32 @putchar(i32 noundef %77)
%79 = call i32 @putchar(i32 noundef 32)
%80 = load i8, ptr %4, align 1
%81 = sext i8 %80 to i32
%82 = call i32 @putchar(i32 noundef %81)
%83 = call i32 @putchar(i32 noundef 10)
%84 = load i8, ptr %5, align 1
%85 = sext i8 %84 to i32
%86 = call i32 @putchar(i32 noundef %85)
%87 = call i32 @putchar(i32 noundef 32)
%88 = load i8, ptr %6, align 1
%89 = sext i8 %88 to i32
%90 = call i32 @putchar(i32 noundef %89)
%91 = call i32 @putchar(i32 noundef 32)
%92 = load i8, ptr %7, align 1
%93 = sext i8 %92 to i32
%94 = call i32 @putchar(i32 noundef %93)
%95 = call i32 @putchar(i32 noundef 10)
%96 = load i8, ptr %8, align 1
%97 = sext i8 %96 to i32
%98 = call i32 @putchar(i32 noundef %97)
%99 = call i32 @putchar(i32 noundef 32)
%100 = load i8, ptr %9, align 1
%101 = sext i8 %100 to i32
%102 = call i32 @putchar(i32 noundef %101)
%103 = call i32 @putchar(i32 noundef 32)
%104 = load i8, ptr %10, align 1
%105 = sext i8 %104 to i32
%106 = call i32 @putchar(i32 noundef %105)
%107 = call i32 @putchar(i32 noundef 10)
br label %108
108: ; preds = %69
%109 = load i8, ptr %2, align 1
%110 = sext i8 %109 to i32
%111 = load i8, ptr %3, align 1
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %110, %112
br i1 %113, label %114, label %124
114: ; preds = %108
%115 = load i8, ptr %3, align 1
%116 = sext i8 %115 to i32
%117 = load i8, ptr %4, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %116, %118
br i1 %119, label %120, label %124
120: ; preds = %114
%121 = load i8, ptr %2, align 1
%122 = sext i8 %121 to i32
%123 = icmp ne i32 %122, 45
br label %124
124: ; preds = %120, %114, %108
%125 = phi i1 [ false, %114 ], [ false, %108 ], [ %123, %120 ]
br i1 %125, label %126, label %129
126: ; preds = %124
%127 = load i8, ptr %2, align 1
%128 = call i32 @victoire(i8 noundef signext %127)
store i32 0, ptr %1, align 4
br label %553
129: ; preds = %124
br label %130
130: ; preds = %129
%131 = load i8, ptr %5, align 1
%132 = sext i8 %131 to i32
%133 = load i8, ptr %6, align 1
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %132, %134
br i1 %135, label %136, label %146
136: ; preds = %130
%137 = load i8, ptr %6, align 1
%138 = sext i8 %137 to i32
%139 = load i8, ptr %7, align 1
%140 = sext i8 %139 to i32
%141 = icmp eq i32 %138, %140
br i1 %141, label %142, label %146
142: ; preds = %136
%143 = load i8, ptr %5, align 1
%144 = sext i8 %143 to i32
%145 = icmp ne i32 %144, 45
br label %146
146: ; preds = %142, %136, %130
%147 = phi i1 [ false, %136 ], [ false, %130 ], [ %145, %142 ]
br i1 %147, label %148, label %151
148: ; preds = %146
%149 = load i8, ptr %5, align 1
%150 = call i32 @victoire(i8 noundef signext %149)
store i32 0, ptr %1, align 4
br label %553
151: ; preds = %146
br label %152
152: ; preds = %151
%153 = load i8, ptr %8, align 1
%154 = sext i8 %153 to i32
%155 = load i8, ptr %9, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %154, %156
br i1 %157, label %158, label %168
158: ; preds = %152
%159 = load i8, ptr %9, align 1
%160 = sext i8 %159 to i32
%161 = load i8, ptr %10, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %160, %162
br i1 %163, label %164, label %168
164: ; preds = %158
%165 = load i8, ptr %8, align 1
%166 = sext i8 %165 to i32
%167 = icmp ne i32 %166, 45
br label %168
168: ; preds = %164, %158, %152
%169 = phi i1 [ false, %158 ], [ false, %152 ], [ %167, %164 ]
br i1 %169, label %170, label %173
170: ; preds = %168
%171 = load i8, ptr %8, align 1
%172 = call i32 @victoire(i8 noundef signext %171)
store i32 0, ptr %1, align 4
br label %553
173: ; preds = %168
br label %174
174: ; preds = %173
%175 = load i8, ptr %2, align 1
%176 = sext i8 %175 to i32
%177 = load i8, ptr %5, align 1
%178 = sext i8 %177 to i32
%179 = icmp eq i32 %176, %178
br i1 %179, label %180, label %190
180: ; preds = %174
%181 = load i8, ptr %5, align 1
%182 = sext i8 %181 to i32
%183 = load i8, ptr %8, align 1
%184 = sext i8 %183 to i32
%185 = icmp eq i32 %182, %184
br i1 %185, label %186, label %190
186: ; preds = %180
%187 = load i8, ptr %2, align 1
%188 = sext i8 %187 to i32
%189 = icmp ne i32 %188, 45
br label %190
190: ; preds = %186, %180, %174
%191 = phi i1 [ false, %180 ], [ false, %174 ], [ %189, %186 ]
br i1 %191, label %192, label %195
192: ; preds = %190
%193 = load i8, ptr %5, align 1
%194 = call i32 @victoire(i8 noundef signext %193)
store i32 0, ptr %1, align 4
br label %553
195: ; preds = %190
br label %196
196: ; preds = %195
%197 = load i8, ptr %3, align 1
%198 = sext i8 %197 to i32
%199 = load i8, ptr %6, align 1
%200 = sext i8 %199 to i32
%201 = icmp eq i32 %198, %200
br i1 %201, label %202, label %212
202: ; preds = %196
%203 = load i8, ptr %6, align 1
%204 = sext i8 %203 to i32
%205 = load i8, ptr %9, align 1
%206 = sext i8 %205 to i32
%207 = icmp eq i32 %204, %206
br i1 %207, label %208, label %212
208: ; preds = %202
%209 = load i8, ptr %3, align 1
%210 = sext i8 %209 to i32
%211 = icmp ne i32 %210, 45
br label %212
212: ; preds = %208, %202, %196
%213 = phi i1 [ false, %202 ], [ false, %196 ], [ %211, %208 ]
br i1 %213, label %214, label %217
214: ; preds = %212
%215 = load i8, ptr %6, align 1
%216 = call i32 @victoire(i8 noundef signext %215)
store i32 0, ptr %1, align 4
br label %553
217: ; preds = %212
br label %218
218: ; preds = %217
%219 = load i8, ptr %4, align 1
%220 = sext i8 %219 to i32
%221 = load i8, ptr %7, align 1
%222 = sext i8 %221 to i32
%223 = icmp eq i32 %220, %222
br i1 %223, label %224, label %234
224: ; preds = %218
%225 = load i8, ptr %7, align 1
%226 = sext i8 %225 to i32
%227 = load i8, ptr %10, align 1
%228 = sext i8 %227 to i32
%229 = icmp eq i32 %226, %228
br i1 %229, label %230, label %234
230: ; preds = %224
%231 = load i8, ptr %4, align 1
%232 = sext i8 %231 to i32
%233 = icmp ne i32 %232, 45
br label %234
234: ; preds = %230, %224, %218
%235 = phi i1 [ false, %224 ], [ false, %218 ], [ %233, %230 ]
br i1 %235, label %236, label %239
236: ; preds = %234
%237 = load i8, ptr %7, align 1
%238 = call i32 @victoire(i8 noundef signext %237)
store i32 0, ptr %1, align 4
br label %553
239: ; preds = %234
br label %240
240: ; preds = %239
%241 = load i8, ptr %2, align 1
%242 = sext i8 %241 to i32
%243 = load i8, ptr %6, align 1
%244 = sext i8 %243 to i32
%245 = icmp eq i32 %242, %244
br i1 %245, label %246, label %256
246: ; preds = %240
%247 = load i8, ptr %6, align 1
%248 = sext i8 %247 to i32
%249 = load i8, ptr %10, align 1
%250 = sext i8 %249 to i32
%251 = icmp eq i32 %248, %250
br i1 %251, label %252, label %256
252: ; preds = %246
%253 = load i8, ptr %2, align 1
%254 = sext i8 %253 to i32
%255 = icmp ne i32 %254, 45
br label %256
256: ; preds = %252, %246, %240
%257 = phi i1 [ false, %246 ], [ false, %240 ], [ %255, %252 ]
br i1 %257, label %258, label %261
258: ; preds = %256
%259 = load i8, ptr %2, align 1
%260 = call i32 @victoire(i8 noundef signext %259)
store i32 0, ptr %1, align 4
br label %553
261: ; preds = %256
br label %262
262: ; preds = %261
%263 = load i8, ptr %4, align 1
%264 = sext i8 %263 to i32
%265 = load i8, ptr %6, align 1
%266 = sext i8 %265 to i32
%267 = icmp eq i32 %264, %266
br i1 %267, label %268, label %278
268: ; preds = %262
%269 = load i8, ptr %6, align 1
%270 = sext i8 %269 to i32
%271 = load i8, ptr %8, align 1
%272 = sext i8 %271 to i32
%273 = icmp eq i32 %270, %272
br i1 %273, label %274, label %278
274: ; preds = %268
%275 = load i8, ptr %4, align 1
%276 = sext i8 %275 to i32
%277 = icmp ne i32 %276, 45
br label %278
278: ; preds = %274, %268, %262
%279 = phi i1 [ false, %268 ], [ false, %262 ], [ %277, %274 ]
br i1 %279, label %280, label %283
280: ; preds = %278
%281 = load i8, ptr %6, align 1
%282 = call i32 @victoire(i8 noundef signext %281)
store i32 0, ptr %1, align 4
br label %553
283: ; preds = %278
%284 = call i32 @putchar(i32 noundef 10)
%285 = call i32 @putchar(i32 noundef 74)
%286 = call i32 @putchar(i32 noundef 111)
%287 = call i32 @putchar(i32 noundef 117)
%288 = call i32 @putchar(i32 noundef 101)
%289 = call i32 @putchar(i32 noundef 117)
%290 = call i32 @putchar(i32 noundef 114)
%291 = call i32 @putchar(i32 noundef 32)
%292 = call i32 @putchar(i32 noundef 50)
%293 = call i32 @putchar(i32 noundef 32)
%294 = call i32 @putchar(i32 noundef 63)
%295 = call i32 @putchar(i32 noundef 32)
%296 = call i32 @putchar(i32 noundef 40)
%297 = call i32 @putchar(i32 noundef 79)
%298 = call i32 @putchar(i32 noundef 41)
%299 = call i32 @putchar(i32 noundef 10)
%300 = call i32 (...) @getchar()
store i32 %300, ptr %12, align 4
%301 = call i32 (...) @getchar()
store i32 %301, ptr %11, align 4
%302 = load i32, ptr %12, align 4
%303 = sub nsw i32 %302, 48
store i32 %303, ptr %12, align 4
%304 = load i32, ptr %12, align 4
%305 = icmp eq i32 %304, 1
br i1 %305, label %306, label %307
306: ; preds = %283
store i8 79, ptr %2, align 1
br label %307
307: ; preds = %306, %283
%308 = load i32, ptr %12, align 4
%309 = icmp eq i32 %308, 2
br i1 %309, label %310, label %311
310: ; preds = %307
store i8 79, ptr %3, align 1
br label %311
311: ; preds = %310, %307
%312 = load i32, ptr %12, align 4
%313 = icmp eq i32 %312, 3
br i1 %313, label %314, label %315
314: ; preds = %311
store i8 79, ptr %4, align 1
br label %315
315: ; preds = %314, %311
%316 = load i32, ptr %12, align 4
%317 = icmp eq i32 %316, 4
br i1 %317, label %318, label %319
318: ; preds = %315
store i8 79, ptr %5, align 1
br label %319
319: ; preds = %318, %315
%320 = load i32, ptr %12, align 4
%321 = icmp eq i32 %320, 5
br i1 %321, label %322, label %323
322: ; preds = %319
store i8 79, ptr %6, align 1
br label %323
323: ; preds = %322, %319
%324 = load i32, ptr %12, align 4
%325 = icmp eq i32 %324, 6
br i1 %325, label %326, label %327
326: ; preds = %323
store i8 79, ptr %7, align 1
br label %327
327: ; preds = %326, %323
%328 = load i32, ptr %12, align 4
%329 = icmp eq i32 %328, 7
br i1 %329, label %330, label %331
330: ; preds = %327
store i8 79, ptr %8, align 1
br label %331
331: ; preds = %330, %327
%332 = load i32, ptr %12, align 4
%333 = icmp eq i32 %332, 8
br i1 %333, label %334, label %335
334: ; preds = %331
store i8 79, ptr %9, align 1
br label %335
335: ; preds = %334, %331
%336 = load i32, ptr %12, align 4
%337 = icmp eq i32 %336, 9
br i1 %337, label %338, label %339
338: ; preds = %335
store i8 79, ptr %10, align 1
br label %339
339: ; preds = %338, %335
%340 = call i32 @putchar(i32 noundef 10)
%341 = call i32 @putchar(i32 noundef 10)
%342 = load i8, ptr %2, align 1
%343 = sext i8 %342 to i32
%344 = call i32 @putchar(i32 noundef %343)
%345 = call i32 @putchar(i32 noundef 32)
%346 = load i8, ptr %3, align 1
%347 = sext i8 %346 to i32
%348 = call i32 @putchar(i32 noundef %347)
%349 = call i32 @putchar(i32 noundef 32)
%350 = load i8, ptr %4, align 1
%351 = sext i8 %350 to i32
%352 = call i32 @putchar(i32 noundef %351)
%353 = call i32 @putchar(i32 noundef 10)
%354 = load i8, ptr %5, align 1
%355 = sext i8 %354 to i32
%356 = call i32 @putchar(i32 noundef %355)
%357 = call i32 @putchar(i32 noundef 32)
%358 = load i8, ptr %6, align 1
%359 = sext i8 %358 to i32
%360 = call i32 @putchar(i32 noundef %359)
%361 = call i32 @putchar(i32 noundef 32)
%362 = load i8, ptr %7, align 1
%363 = sext i8 %362 to i32
%364 = call i32 @putchar(i32 noundef %363)
%365 = call i32 @putchar(i32 noundef 10)
%366 = load i8, ptr %8, align 1
%367 = sext i8 %366 to i32
%368 = call i32 @putchar(i32 noundef %367)
%369 = call i32 @putchar(i32 noundef 32)
%370 = load i8, ptr %9, align 1
%371 = sext i8 %370 to i32
%372 = call i32 @putchar(i32 noundef %371)
%373 = call i32 @putchar(i32 noundef 32)
%374 = load i8, ptr %10, align 1
%375 = sext i8 %374 to i32
%376 = call i32 @putchar(i32 noundef %375)
%377 = call i32 @putchar(i32 noundef 10)
br label %378
378: ; preds = %339
%379 = load i8, ptr %2, align 1
%380 = sext i8 %379 to i32
%381 = load i8, ptr %3, align 1
%382 = sext i8 %381 to i32
%383 = icmp eq i32 %380, %382
br i1 %383, label %384, label %394
384: ; preds = %378
%385 = load i8, ptr %3, align 1
%386 = sext i8 %385 to i32
%387 = load i8, ptr %4, align 1
%388 = sext i8 %387 to i32
%389 = icmp eq i32 %386, %388
br i1 %389, label %390, label %394
390: ; preds = %384
%391 = load i8, ptr %2, align 1
%392 = sext i8 %391 to i32
%393 = icmp ne i32 %392, 45
br label %394
394: ; preds = %390, %384, %378
%395 = phi i1 [ false, %384 ], [ false, %378 ], [ %393, %390 ]
br i1 %395, label %396, label %399
396: ; preds = %394
%397 = load i8, ptr %2, align 1
%398 = call i32 @victoire(i8 noundef signext %397)
store i32 0, ptr %1, align 4
br label %553
399: ; preds = %394
br label %400
400: ; preds = %399
%401 = load i8, ptr %5, align 1
%402 = sext i8 %401 to i32
%403 = load i8, ptr %6, align 1
%404 = sext i8 %403 to i32
%405 = icmp eq i32 %402, %404
br i1 %405, label %406, label %416
406: ; preds = %400
%407 = load i8, ptr %6, align 1
%408 = sext i8 %407 to i32
%409 = load i8, ptr %7, align 1
%410 = sext i8 %409 to i32
%411 = icmp eq i32 %408, %410
br i1 %411, label %412, label %416
412: ; preds = %406
%413 = load i8, ptr %5, align 1
%414 = sext i8 %413 to i32
%415 = icmp ne i32 %414, 45
br label %416
416: ; preds = %412, %406, %400
%417 = phi i1 [ false, %406 ], [ false, %400 ], [ %415, %412 ]
br i1 %417, label %418, label %421
418: ; preds = %416
%419 = load i8, ptr %5, align 1
%420 = call i32 @victoire(i8 noundef signext %419)
store i32 0, ptr %1, align 4
br label %553
421: ; preds = %416
br label %422
422: ; preds = %421
%423 = load i8, ptr %8, align 1
%424 = sext i8 %423 to i32
%425 = load i8, ptr %9, align 1
%426 = sext i8 %425 to i32
%427 = icmp eq i32 %424, %426
br i1 %427, label %428, label %438
428: ; preds = %422
%429 = load i8, ptr %9, align 1
%430 = sext i8 %429 to i32
%431 = load i8, ptr %10, align 1
%432 = sext i8 %431 to i32
%433 = icmp eq i32 %430, %432
br i1 %433, label %434, label %438
434: ; preds = %428
%435 = load i8, ptr %8, align 1
%436 = sext i8 %435 to i32
%437 = icmp ne i32 %436, 45
br label %438
438: ; preds = %434, %428, %422
%439 = phi i1 [ false, %428 ], [ false, %422 ], [ %437, %434 ]
br i1 %439, label %440, label %443
440: ; preds = %438
%441 = load i8, ptr %8, align 1
%442 = call i32 @victoire(i8 noundef signext %441)
store i32 0, ptr %1, align 4
br label %553
443: ; preds = %438
br label %444
444: ; preds = %443
%445 = load i8, ptr %2, align 1
%446 = sext i8 %445 to i32
%447 = load i8, ptr %5, align 1
%448 = sext i8 %447 to i32
%449 = icmp eq i32 %446, %448
br i1 %449, label %450, label %460
450: ; preds = %444
%451 = load i8, ptr %5, align 1
%452 = sext i8 %451 to i32
%453 = load i8, ptr %8, align 1
%454 = sext i8 %453 to i32
%455 = icmp eq i32 %452, %454
br i1 %455, label %456, label %460
456: ; preds = %450
%457 = load i8, ptr %2, align 1
%458 = sext i8 %457 to i32
%459 = icmp ne i32 %458, 45
br label %460
460: ; preds = %456, %450, %444
%461 = phi i1 [ false, %450 ], [ false, %444 ], [ %459, %456 ]
br i1 %461, label %462, label %465
462: ; preds = %460
%463 = load i8, ptr %5, align 1
%464 = call i32 @victoire(i8 noundef signext %463)
store i32 0, ptr %1, align 4
br label %553
465: ; preds = %460
br label %466
466: ; preds = %465
%467 = load i8, ptr %3, align 1
%468 = sext i8 %467 to i32
%469 = load i8, ptr %6, align 1
%470 = sext i8 %469 to i32
%471 = icmp eq i32 %468, %470
br i1 %471, label %472, label %482
472: ; preds = %466
%473 = load i8, ptr %6, align 1
%474 = sext i8 %473 to i32
%475 = load i8, ptr %9, align 1
%476 = sext i8 %475 to i32
%477 = icmp eq i32 %474, %476
br i1 %477, label %478, label %482
478: ; preds = %472
%479 = load i8, ptr %3, align 1
%480 = sext i8 %479 to i32
%481 = icmp ne i32 %480, 45
br label %482
482: ; preds = %478, %472, %466
%483 = phi i1 [ false, %472 ], [ false, %466 ], [ %481, %478 ]
br i1 %483, label %484, label %487
484: ; preds = %482
%485 = load i8, ptr %6, align 1
%486 = call i32 @victoire(i8 noundef signext %485)
store i32 0, ptr %1, align 4
br label %553
487: ; preds = %482
br label %488
488: ; preds = %487
%489 = load i8, ptr %4, align 1
%490 = sext i8 %489 to i32
%491 = load i8, ptr %7, align 1
%492 = sext i8 %491 to i32
%493 = icmp eq i32 %490, %492
br i1 %493, label %494, label %504
494: ; preds = %488
%495 = load i8, ptr %7, align 1
%496 = sext i8 %495 to i32
%497 = load i8, ptr %10, align 1
%498 = sext i8 %497 to i32
%499 = icmp eq i32 %496, %498
br i1 %499, label %500, label %504
500: ; preds = %494
%501 = load i8, ptr %4, align 1
%502 = sext i8 %501 to i32
%503 = icmp ne i32 %502, 45
br label %504
504: ; preds = %500, %494, %488
%505 = phi i1 [ false, %494 ], [ false, %488 ], [ %503, %500 ]
br i1 %505, label %506, label %509
506: ; preds = %504
%507 = load i8, ptr %7, align 1
%508 = call i32 @victoire(i8 noundef signext %507)
store i32 0, ptr %1, align 4
br label %553
509: ; preds = %504
br label %510
510: ; preds = %509
%511 = load i8, ptr %2, align 1
%512 = sext i8 %511 to i32
%513 = load i8, ptr %6, align 1
%514 = sext i8 %513 to i32
%515 = icmp eq i32 %512, %514
br i1 %515, label %516, label %526
516: ; preds = %510
%517 = load i8, ptr %6, align 1
%518 = sext i8 %517 to i32
%519 = load i8, ptr %10, align 1
%520 = sext i8 %519 to i32
%521 = icmp eq i32 %518, %520
br i1 %521, label %522, label %526
522: ; preds = %516
%523 = load i8, ptr %2, align 1
%524 = sext i8 %523 to i32
%525 = icmp ne i32 %524, 45
br label %526
526: ; preds = %522, %516, %510
%527 = phi i1 [ false, %516 ], [ false, %510 ], [ %525, %522 ]
br i1 %527, label %528, label %531
528: ; preds = %526
%529 = load i8, ptr %2, align 1
%530 = call i32 @victoire(i8 noundef signext %529)
store i32 0, ptr %1, align 4
br label %553
531: ; preds = %526
br label %532
532: ; preds = %531
%533 = load i8, ptr %4, align 1
%534 = sext i8 %533 to i32
%535 = load i8, ptr %6, align 1
%536 = sext i8 %535 to i32
%537 = icmp eq i32 %534, %536
br i1 %537, label %538, label %548
538: ; preds = %532
%539 = load i8, ptr %6, align 1
%540 = sext i8 %539 to i32
%541 = load i8, ptr %8, align 1
%542 = sext i8 %541 to i32
%543 = icmp eq i32 %540, %542
br i1 %543, label %544, label %548
544: ; preds = %538
%545 = load i8, ptr %4, align 1
%546 = sext i8 %545 to i32
%547 = icmp ne i32 %546, 45
br label %548
548: ; preds = %544, %538, %532
%549 = phi i1 [ false, %538 ], [ false, %532 ], [ %547, %544 ]
br i1 %549, label %550, label %13
550: ; preds = %548
%551 = load i8, ptr %6, align 1
%552 = call i32 @victoire(i8 noundef signext %551)
store i32 0, ptr %1, align 4
br label %553
553: ; preds = %550, %528, %506, %484, %462, %440, %418, %396, %280, %258, %236, %214, %192, %170, %148, %126
%554 = load i32, ptr %1, align 4
ret i32 %554
}
declare i32 @putchar(i32 noundef) #1
declare i32 @getchar(...) #1
declare i32 @victoire(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm2212vu6.c'
source_filename = "/tmp/tmpm2212vu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"file.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"This is yiibai.com\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c" C Programming Langauge\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr @SEEK_SET, align 4
%8 = call i32 @fseek(ptr noundef %6, i32 noundef 7, i32 noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fputs(ptr noundef @.str.3, ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @fclose(ptr noundef %11)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm2212vu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"file.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"This is yiibai.com\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c" C Programming Langauge\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr @SEEK_SET, align 4
%8 = call i32 @fseek(ptr noundef %6, i32 noundef 7, i32 noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fputs(ptr noundef @.str.3, ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @fclose(ptr noundef %11)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqrwpz2ed.c'
source_filename = "/tmp/tmpqrwpz2ed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@EVP_PKEY_CTRL_PKCS7_ENCRYPT = dso_local global i32 0, align 4
@EVP_PKEY_OP_ENCRYPT = dso_local global i32 0, align 4
@PKCS7_F_PKCS7_ENCODE_RINFO = dso_local global i32 0, align 4
@PKCS7_R_CTRL_ERROR = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqrwpz2ed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@EVP_PKEY_CTRL_PKCS7_ENCRYPT = dso_local global i32 0, align 4
@EVP_PKEY_OP_ENCRYPT = dso_local global i32 0, align 4
@PKCS7_F_PKCS7_ENCODE_RINFO = dso_local global i32 0, align 4
@PKCS7_R_CTRL_ERROR = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptz2n6tul.c'
source_filename = "/tmp/tmptz2n6tul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__gstrsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sge i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
br label %24
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @__gstrpart(ptr noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
call void @__gstrsort(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @__gstrsort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
br label %24
24: ; preds = %12, %11
ret void
}
declare i32 @__gstrpart(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptz2n6tul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__gstrsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sge i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
br label %24
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @__gstrpart(ptr noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
call void @__gstrsort(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @__gstrsort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
br label %24
24: ; preds = %12, %11
ret void
}
declare i32 @__gstrpart(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgwar9_ib.c'
source_filename = "/tmp/tmpgwar9_ib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bind_cpu(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%8 = call i64 (...) @get_num_cpus()
store i64 %8, ptr %6, align 8
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = icmp sge i32 %12, %14
br i1 %15, label %16, label %19
16: ; preds = %11, %1
%17 = load i32, ptr @EINVAL, align 4
%18 = sub nsw i32 0, %17
store i32 %18, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %53
19: ; preds = %11
%20 = load i64, ptr %6, align 8
%21 = call ptr @CPU_ALLOC(i64 noundef %20)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %19
store i32 -1, ptr %2, align 4
br label %53
25: ; preds = %19
%26 = load i64, ptr %6, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @CPU_ZERO_S(i64 noundef %26, ptr noundef %27)
%29 = load i32, ptr %3, align 4
%30 = load i64, ptr %6, align 8
%31 = load ptr, ptr %4, align 8
%32 = call i32 @CPU_SET_S(i32 noundef %29, i64 noundef %30, ptr noundef %31)
%33 = load i64, ptr %6, align 8
%34 = load ptr, ptr %4, align 8
%35 = call i32 @sched_setaffinity(i32 noundef 0, i64 noundef %33, ptr noundef %34)
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %4, align 8
%37 = call i32 @CPU_FREE(ptr noundef %36)
%38 = call i64 (...) @numa_max_node()
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %25
%41 = load i32, ptr %7, align 4
store i32 %41, ptr %2, align 4
br label %53
42: ; preds = %25
%43 = call ptr @numa_bitmask_alloc(i32 noundef 16)
store ptr %43, ptr %5, align 8
%44 = load ptr, ptr %5, align 8
%45 = call i32 @assert(ptr noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = call i32 @numa_bitmask_setbit(ptr noundef %46, i32 noundef 0)
%48 = load ptr, ptr %5, align 8
%49 = call i32 @numa_set_membind(ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = call i32 @numa_bitmask_free(ptr noundef %50)
%52 = load i32, ptr %7, align 4
store i32 %52, ptr %2, align 4
br label %53
53: ; preds = %42, %40, %24, %16
%54 = load i32, ptr %2, align 4
ret i32 %54
}
declare i64 @get_num_cpus(...) #1
declare ptr @CPU_ALLOC(i64 noundef) #1
declare i32 @CPU_ZERO_S(i64 noundef, ptr noundef) #1
declare i32 @CPU_SET_S(i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @sched_setaffinity(i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @CPU_FREE(ptr noundef) #1
declare i64 @numa_max_node(...) #1
declare ptr @numa_bitmask_alloc(i32 noundef) #1
declare i32 @assert(ptr noundef) #1
declare i32 @numa_bitmask_setbit(ptr noundef, i32 noundef) #1
declare i32 @numa_set_membind(ptr noundef) #1
declare i32 @numa_bitmask_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgwar9_ib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bind_cpu(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%8 = call i64 (...) @get_num_cpus()
store i64 %8, ptr %6, align 8
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = icmp sge i32 %12, %14
br i1 %15, label %16, label %19
16: ; preds = %11, %1
%17 = load i32, ptr @EINVAL, align 4
%18 = sub nsw i32 0, %17
store i32 %18, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %53
19: ; preds = %11
%20 = load i64, ptr %6, align 8
%21 = call ptr @CPU_ALLOC(i64 noundef %20)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %19
store i32 -1, ptr %2, align 4
br label %53
25: ; preds = %19
%26 = load i64, ptr %6, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @CPU_ZERO_S(i64 noundef %26, ptr noundef %27)
%29 = load i32, ptr %3, align 4
%30 = load i64, ptr %6, align 8
%31 = load ptr, ptr %4, align 8
%32 = call i32 @CPU_SET_S(i32 noundef %29, i64 noundef %30, ptr noundef %31)
%33 = load i64, ptr %6, align 8
%34 = load ptr, ptr %4, align 8
%35 = call i32 @sched_setaffinity(i32 noundef 0, i64 noundef %33, ptr noundef %34)
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %4, align 8
%37 = call i32 @CPU_FREE(ptr noundef %36)
%38 = call i64 (...) @numa_max_node()
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %25
%41 = load i32, ptr %7, align 4
store i32 %41, ptr %2, align 4
br label %53
42: ; preds = %25
%43 = call ptr @numa_bitmask_alloc(i32 noundef 16)
store ptr %43, ptr %5, align 8
%44 = load ptr, ptr %5, align 8
%45 = call i32 @assert(ptr noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = call i32 @numa_bitmask_setbit(ptr noundef %46, i32 noundef 0)
%48 = load ptr, ptr %5, align 8
%49 = call i32 @numa_set_membind(ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = call i32 @numa_bitmask_free(ptr noundef %50)
%52 = load i32, ptr %7, align 4
store i32 %52, ptr %2, align 4
br label %53
53: ; preds = %42, %40, %24, %16
%54 = load i32, ptr %2, align 4
ret i32 %54
}
declare i64 @get_num_cpus(...) #1
declare ptr @CPU_ALLOC(i64 noundef) #1
declare i32 @CPU_ZERO_S(i64 noundef, ptr noundef) #1
declare i32 @CPU_SET_S(i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @sched_setaffinity(i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @CPU_FREE(ptr noundef) #1
declare i64 @numa_max_node(...) #1
declare ptr @numa_bitmask_alloc(i32 noundef) #1
declare i32 @assert(ptr noundef) #1
declare i32 @numa_bitmask_setbit(ptr noundef, i32 noundef) #1
declare i32 @numa_set_membind(ptr noundef) #1
declare i32 @numa_bitmask_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpedrmtmij.c'
source_filename = "/tmp/tmpedrmtmij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%ms\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %70, %0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 83
br i1 %10, label %11, label %30
11: ; preds = %4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 84
br i1 %16, label %17, label %30
17: ; preds = %11
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 79
br i1 %22, label %23, label %30
23: ; preds = %17
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 3
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 80
br i1 %28, label %29, label %30
29: ; preds = %23
br label %71
30: ; preds = %23, %17, %11, %4
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %62, %30
%32 = load i32, ptr %3, align 4
%33 = load ptr, ptr %2, align 8
%34 = call i32 @mstrlen(ptr noundef %33)
%35 = icmp sle i32 %32, %34
br i1 %35, label %36, label %65
36: ; preds = %31
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp sge i32 %42, 97
br i1 %43, label %44, label %61
44: ; preds = %36
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %3, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp sle i32 %50, 122
br i1 %51, label %52, label %61
52: ; preds = %44
%53 = load ptr, ptr %2, align 8
%54 = load i32, ptr %3, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = sub nsw i32 %58, 32
%60 = trunc i32 %59 to i8
store i8 %60, ptr %56, align 1
br label %61
61: ; preds = %52, %44, %36
br label %62
62: ; preds = %61
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
br label %31, !llvm.loop !6
65: ; preds = %31
%66 = load ptr, ptr %2, align 8
%67 = call i32 @printf(ptr noundef @.str.1, ptr noundef %66)
%68 = load ptr, ptr %2, align 8
%69 = call i32 @free(ptr noundef %68)
br label %70
70: ; preds = %65
br i1 true, label %4, label %71
71: ; preds = %70, %29
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @mstrlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpedrmtmij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%ms\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %73, %0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 83
br i1 %10, label %11, label %30
11: ; preds = %4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 84
br i1 %16, label %17, label %30
17: ; preds = %11
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 79
br i1 %22, label %23, label %30
23: ; preds = %17
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 3
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 80
br i1 %28, label %29, label %30
29: ; preds = %23
br label %74
30: ; preds = %23, %17, %11, %4
store i32 0, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = load ptr, ptr %2, align 8
%33 = call i32 @mstrlen(ptr noundef %32)
%34 = icmp sle i32 %31, %33
br i1 %34, label %.lr.ph, label %68
.lr.ph: ; preds = %30
br label %35
35: ; preds = %.lr.ph, %61
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp sge i32 %41, 97
br i1 %42, label %43, label %60
43: ; preds = %35
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp sle i32 %49, 122
br i1 %50, label %51, label %60
51: ; preds = %43
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %3, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = sub nsw i32 %57, 32
%59 = trunc i32 %58 to i8
store i8 %59, ptr %55, align 1
br label %60
60: ; preds = %51, %43, %35
br label %61
61: ; preds = %60
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
%64 = load i32, ptr %3, align 4
%65 = load ptr, ptr %2, align 8
%66 = call i32 @mstrlen(ptr noundef %65)
%67 = icmp sle i32 %64, %66
br i1 %67, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %68
68: ; preds = %._crit_edge, %30
%69 = load ptr, ptr %2, align 8
%70 = call i32 @printf(ptr noundef @.str.1, ptr noundef %69)
%71 = load ptr, ptr %2, align 8
%72 = call i32 @free(ptr noundef %71)
br label %73
73: ; preds = %68
br i1 true, label %4, label %.loopexit
.loopexit: ; preds = %73
br label %74
74: ; preds = %.loopexit, %29
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @mstrlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7qv6i_d_.c'
source_filename = "/tmp/tmp7qv6i_d_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7qv6i_d_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprvxu_okk.c'
source_filename = "/tmp/tmprvxu_okk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 4
store i32 1111, ptr %4, align 16
%5 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 5
store i32 2222, ptr %5, align 4
%6 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 6
store i32 3333, ptr %6, align 8
%7 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 7
store i32 4444, ptr %7, align 4
%8 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 8
store i32 5555, ptr %8, align 16
%9 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 9
store i32 6666, ptr %9, align 4
%10 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 4
%11 = load i32, ptr %10, align 16
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @print_int(i32 noundef %12)
%14 = call i32 @print_string(ptr noundef @.str)
%15 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 5
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @print_int(i32 noundef %17)
%19 = call i32 @print_string(ptr noundef @.str)
%20 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 6
%21 = load i32, ptr %20, align 8
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @print_int(i32 noundef %22)
%24 = call i32 @print_string(ptr noundef @.str)
%25 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 7
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = call i32 @print_int(i32 noundef %27)
%29 = call i32 @print_string(ptr noundef @.str)
%30 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 8
%31 = load i32, ptr %30, align 16
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = call i32 @print_int(i32 noundef %32)
%34 = call i32 @print_string(ptr noundef @.str)
%35 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 9
%36 = load i32, ptr %35, align 4
store i32 %36, ptr %3, align 4
%37 = load i32, ptr %3, align 4
%38 = call i32 @print_int(i32 noundef %37)
%39 = call i32 @print_string(ptr noundef @.str)
ret void
}
declare i32 @print_int(i32 noundef) #1
declare i32 @print_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprvxu_okk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 4
store i32 1111, ptr %4, align 16
%5 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 5
store i32 2222, ptr %5, align 4
%6 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 6
store i32 3333, ptr %6, align 8
%7 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 7
store i32 4444, ptr %7, align 4
%8 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 8
store i32 5555, ptr %8, align 16
%9 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 9
store i32 6666, ptr %9, align 4
%10 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 4
%11 = load i32, ptr %10, align 16
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @print_int(i32 noundef %12)
%14 = call i32 @print_string(ptr noundef @.str)
%15 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 5
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @print_int(i32 noundef %17)
%19 = call i32 @print_string(ptr noundef @.str)
%20 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 6
%21 = load i32, ptr %20, align 8
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @print_int(i32 noundef %22)
%24 = call i32 @print_string(ptr noundef @.str)
%25 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 7
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = call i32 @print_int(i32 noundef %27)
%29 = call i32 @print_string(ptr noundef @.str)
%30 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 8
%31 = load i32, ptr %30, align 16
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = call i32 @print_int(i32 noundef %32)
%34 = call i32 @print_string(ptr noundef @.str)
%35 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 9
%36 = load i32, ptr %35, align 4
store i32 %36, ptr %3, align 4
%37 = load i32, ptr %3, align 4
%38 = call i32 @print_int(i32 noundef %37)
%39 = call i32 @print_string(ptr noundef @.str)
ret void
}
declare i32 @print_int(i32 noundef) #1
declare i32 @print_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2hgi6xi8.c'
source_filename = "/tmp/tmp2hgi6xi8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2hgi6xi8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmh8ysdu6.c'
source_filename = "/tmp/tmpmh8ysdu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @points_distance(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [3 x double], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0
%9 = call i32 @vector_subtract(ptr noundef %6, ptr noundef %7, ptr noundef %8)
%10 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0
%11 = call double @magnitude(ptr noundef %10)
ret double %11
}
declare i32 @vector_subtract(ptr noundef, ptr noundef, ptr noundef) #1
declare double @magnitude(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmh8ysdu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @points_distance(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [3 x double], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0
%9 = call i32 @vector_subtract(ptr noundef %6, ptr noundef %7, ptr noundef %8)
%10 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0
%11 = call double @magnitude(ptr noundef %10)
ret double %11
}
declare i32 @vector_subtract(ptr noundef, ptr noundef, ptr noundef) #1
declare double @magnitude(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc7mqfshb.c'
source_filename = "/tmp/tmpc7mqfshb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"%s (client) v%s for testing puroses\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"modbus-master\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"0.1b\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Usage: %s [OPTIONS]\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"\09-h\09\09Display this help message.\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"\09-p [tcp|rtu]\09Protocol. Default - TCP.\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"\09-m [test|echo]\09Client mode. Default - test.\0A\00", align 1
@.str.7 = private unnamed_addr constant [65 x i8] c"\09-i [ip addr]\09IP address. TCP mode only. Default - 192.168.1.1.\0A\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"\09-o [1 .. 65535]\09Port. TCP mode only.\0A\00", align 1
@.str.9 = private unnamed_addr constant [49 x i8] c"\09-d [dev]\09Specify serial device. RTU mode only.\0A\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"\09-s [0 .. 247]\09Specify slave ID. RTU mode only.\0A\00", align 1
@.str.11 = private unnamed_addr constant [23 x i8] c"\09-v\09\09Display version.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc7mqfshb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"%s (client) v%s for testing puroses\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"modbus-master\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"0.1b\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Usage: %s [OPTIONS]\0A\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"\09-h\09\09Display this help message.\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"\09-p [tcp|rtu]\09Protocol. Default - TCP.\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"\09-m [test|echo]\09Client mode. Default - test.\0A\00", align 1
@.str.7 = private unnamed_addr constant [65 x i8] c"\09-i [ip addr]\09IP address. TCP mode only. Default - 192.168.1.1.\0A\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"\09-o [1 .. 65535]\09Port. TCP mode only.\0A\00", align 1
@.str.9 = private unnamed_addr constant [49 x i8] c"\09-d [dev]\09Specify serial device. RTU mode only.\0A\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"\09-s [0 .. 247]\09Specify slave ID. RTU mode only.\0A\00", align 1
@.str.11 = private unnamed_addr constant [23 x i8] c"\09-v\09\09Display version.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjmapgdf8.c'
source_filename = "/tmp/tmpjmapgdf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GPS_Math_TMerc_EN_To_LatLon(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10) #0 {
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store double %0, ptr %12, align 8
store double %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store double %4, ptr %16, align 8
store double %5, ptr %17, align 8
store double %6, ptr %18, align 8
store double %7, ptr %19, align 8
store double %8, ptr %20, align 8
store double %9, ptr %21, align 8
store double %10, ptr %22, align 8
%23 = load double, ptr %12, align 8
%24 = load double, ptr %13, align 8
%25 = load ptr, ptr %14, align 8
%26 = load ptr, ptr %15, align 8
%27 = load double, ptr %19, align 8
%28 = load double, ptr %18, align 8
%29 = load double, ptr %16, align 8
%30 = load double, ptr %17, align 8
%31 = load double, ptr %20, align 8
%32 = load double, ptr %21, align 8
%33 = load double, ptr %22, align 8
%34 = call i32 @GPS_Math_EN_To_LatLon(double noundef %23, double noundef %24, ptr noundef %25, ptr noundef %26, double noundef %27, double noundef %28, double noundef %29, double noundef %30, double noundef %31, double noundef %32, double noundef %33)
ret void
}
declare i32 @GPS_Math_EN_To_LatLon(double noundef, double noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjmapgdf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GPS_Math_TMerc_EN_To_LatLon(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10) #0 {
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store double %0, ptr %12, align 8
store double %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store double %4, ptr %16, align 8
store double %5, ptr %17, align 8
store double %6, ptr %18, align 8
store double %7, ptr %19, align 8
store double %8, ptr %20, align 8
store double %9, ptr %21, align 8
store double %10, ptr %22, align 8
%23 = load double, ptr %12, align 8
%24 = load double, ptr %13, align 8
%25 = load ptr, ptr %14, align 8
%26 = load ptr, ptr %15, align 8
%27 = load double, ptr %19, align 8
%28 = load double, ptr %18, align 8
%29 = load double, ptr %16, align 8
%30 = load double, ptr %17, align 8
%31 = load double, ptr %20, align 8
%32 = load double, ptr %21, align 8
%33 = load double, ptr %22, align 8
%34 = call i32 @GPS_Math_EN_To_LatLon(double noundef %23, double noundef %24, ptr noundef %25, ptr noundef %26, double noundef %27, double noundef %28, double noundef %29, double noundef %30, double noundef %31, double noundef %32, double noundef %33)
ret void
}
declare i32 @GPS_Math_EN_To_LatLon(double noundef, double noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu2fyankw.c'
source_filename = "/tmp/tmpu2fyankw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu2fyankw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp5q06zui.c'
source_filename = "/tmp/tmpp5q06zui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [104 x i8] c"Dec Hex Oct Chr |Dec Hex Oct Chr |Dec Hex Oct Chr|Dec Hex Oct Chr\0A\00", align 1
@.str.1 = private unnamed_addr constant [105 x i8] c"-------------------------------------------------------------------------------------------------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [105 x i8] c" 0 0 000 NUL (null) | 32 20 040 Space| 64 40 100 @ | 96 60 140 ` \0A\00", align 1
@.str.3 = private unnamed_addr constant [105 x i8] c" 1 1 001 SOH (start of heading) | 33 21 041 ! | 65 41 100 A | 97 61 141 a \0A\00", align 1
@.str.4 = private unnamed_addr constant [105 x i8] c" 2 2 002 STX (start of text) | 34 22 042 \22 | 66 42 100 B | 98 62 142 b \0A\00", align 1
@.str.5 = private unnamed_addr constant [105 x i8] c" 3 3 003 ETX (end of text) | 35 23 043 # | 67 43 100 C | 99 63 143 c \0A\00", align 1
@.str.6 = private unnamed_addr constant [105 x i8] c" 4 4 004 EOT (end of transmission) | 36 24 044 $ | 68 44 100 D |100 64 144 d \0A\00", align 1
@.str.7 = private unnamed_addr constant [106 x i8] c" 5 5 005 ENQ (enquiry) | 37 25 045 %% | 69 45 100 E |101 65 145 e \0A\00", align 1
@.str.8 = private unnamed_addr constant [105 x i8] c" 6 6 006 ACK (acknowledge) | 38 26 046 & | 70 46 100 F |102 66 146 f \0A\00", align 1
@.str.9 = private unnamed_addr constant [105 x i8] c" 7 7 007 BEL (bell) | 39 27 047 ' | 71 47 100 G |103 67 147 g \0A\00", align 1
@.str.10 = private unnamed_addr constant [105 x i8] c" 8 8 010 BS (backspace) | 40 28 050 ( | 72 48 100 G |104 68 150 h \0A\00", align 1
@.str.11 = private unnamed_addr constant [105 x i8] c" 9 9 011 TAB (horizontal tabl) | 41 29 051 ) | 73 49 100 I |105 69 151 i \0A\00", align 1
@.str.12 = private unnamed_addr constant [105 x i8] c" 10 A 012 LF (NL line feed, new line)| 42 2A 052 * | 74 4A 112 J |106 6A 152 j \0A\00", align 1
@.str.13 = private unnamed_addr constant [105 x i8] c" 11 B 013 VT (vertical tab) | 43 2B 053 + | 75 4B 112 K |107 6B 153 k \0A\00", align 1
@.str.14 = private unnamed_addr constant [105 x i8] c" 12 C 014 FF (NP form feed, new page)| 44 2C 054 , | 76 4C 112 L |108 6C 154 l \0A\00", align 1
@.str.15 = private unnamed_addr constant [105 x i8] c" 13 D 015 CR (carriage return) | 45 2D 055 - | 77 4D 112 M |109 6D 155 m \0A\00", align 1
@.str.16 = private unnamed_addr constant [105 x i8] c" 14 E 016 SO (shift out) | 46 2E 056 . | 78 4E 112 N |110 6E 156 n \0A\00", align 1
@.str.17 = private unnamed_addr constant [105 x i8] c" 15 F 017 SI (shift in) | 47 2F 057 / | 79 4F 112 O |111 6F 157 o \0A\00", align 1
@.str.18 = private unnamed_addr constant [105 x i8] c" 16 10 020 DLE (data link escape) | 48 30 060 0 | 80 40 112 P |112 70 160 p \0A\00", align 1
@.str.19 = private unnamed_addr constant [105 x i8] c" 17 11 021 DC1 (device control 1) | 49 31 061 1 | 81 41 112 Q |113 71 161 q \0A\00", align 1
@.str.20 = private unnamed_addr constant [105 x i8] c" 18 12 022 DC2 (device control 1) | 50 32 062 2 | 82 42 112 R |114 72 162 r \0A\00", align 1
@.str.21 = private unnamed_addr constant [105 x i8] c" 19 13 023 DC3 (device control 1) | 51 33 063 3 | 83 43 112 S |115 73 163 s \0A\00", align 1
@.str.22 = private unnamed_addr constant [105 x i8] c" 20 14 024 DC4 (device control 1) | 52 34 064 4 | 84 44 112 T |116 74 164 t \0A\00", align 1
@.str.23 = private unnamed_addr constant [105 x i8] c" 21 15 025 NAK (negative acknowledge) | 53 35 065 5 | 85 45 112 U |117 75 165 u \0A\00", align 1
@.str.24 = private unnamed_addr constant [105 x i8] c" 22 16 026 SYN (synchronous idle) | 54 36 066 6 | 86 46 112 V |118 76 166 v \0A\00", align 1
@.str.25 = private unnamed_addr constant [105 x i8] c" 23 17 027 ETB (end of trans. block) | 55 37 067 7 | 87 47 112 W |119 77 167 w \0A\00", align 1
@.str.26 = private unnamed_addr constant [105 x i8] c" 24 18 030 CAN (cancel) | 56 38 070 8 | 88 48 112 X |120 78 170 x \0A\00", align 1
@.str.27 = private unnamed_addr constant [105 x i8] c" 25 19 031 EM (end of medium) | 57 39 071 9 | 89 49 112 Y |121 79 171 y \0A\00", align 1
@.str.28 = private unnamed_addr constant [105 x i8] c" 26 1A 032 SUB (substitue) | 58 3A 072 : | 90 4A 112 Z |122 7A 172 z \0A\00", align 1
@.str.29 = private unnamed_addr constant [105 x i8] c" 27 1B 033 ESC (escape) | 59 3B 073 ; | 91 4B 112 [ |123 7B 173 { \0A\00", align 1
@.str.30 = private unnamed_addr constant [105 x i8] c" 28 1C 034 FS (file separator) | 60 3C 074 < | 92 4C 112 \\ |124 7C 174 | \0A\00", align 1
@.str.31 = private unnamed_addr constant [105 x i8] c" 29 1D 035 GS (group separator) | 61 3D 075 = | 93 4D 112 ] |125 7D 175 } \0A\00", align 1
@.str.32 = private unnamed_addr constant [105 x i8] c" 30 1E 036 RS (record separator) | 62 3E 076 > | 94 4E 112 ^ |126 7E 176 ~ \0A\00", align 1
@.str.33 = private unnamed_addr constant [105 x i8] c" 31 1F 037 US (unit separator) | 63 3F 077 ? | 95 5F 137 _ |127 7F 177 DEL\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.12)
%15 = call i32 @printf(ptr noundef @.str.13)
%16 = call i32 @printf(ptr noundef @.str.14)
%17 = call i32 @printf(ptr noundef @.str.15)
%18 = call i32 @printf(ptr noundef @.str.16)
%19 = call i32 @printf(ptr noundef @.str.17)
%20 = call i32 @printf(ptr noundef @.str.18)
%21 = call i32 @printf(ptr noundef @.str.19)
%22 = call i32 @printf(ptr noundef @.str.20)
%23 = call i32 @printf(ptr noundef @.str.21)
%24 = call i32 @printf(ptr noundef @.str.22)
%25 = call i32 @printf(ptr noundef @.str.23)
%26 = call i32 @printf(ptr noundef @.str.24)
%27 = call i32 @printf(ptr noundef @.str.25)
%28 = call i32 @printf(ptr noundef @.str.26)
%29 = call i32 @printf(ptr noundef @.str.27)
%30 = call i32 @printf(ptr noundef @.str.28)
%31 = call i32 @printf(ptr noundef @.str.29)
%32 = call i32 @printf(ptr noundef @.str.30)
%33 = call i32 @printf(ptr noundef @.str.31)
%34 = call i32 @printf(ptr noundef @.str.32)
%35 = call i32 @printf(ptr noundef @.str.33)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp5q06zui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [104 x i8] c"Dec Hex Oct Chr |Dec Hex Oct Chr |Dec Hex Oct Chr|Dec Hex Oct Chr\0A\00", align 1
@.str.1 = private unnamed_addr constant [105 x i8] c"-------------------------------------------------------------------------------------------------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [105 x i8] c" 0 0 000 NUL (null) | 32 20 040 Space| 64 40 100 @ | 96 60 140 ` \0A\00", align 1
@.str.3 = private unnamed_addr constant [105 x i8] c" 1 1 001 SOH (start of heading) | 33 21 041 ! | 65 41 100 A | 97 61 141 a \0A\00", align 1
@.str.4 = private unnamed_addr constant [105 x i8] c" 2 2 002 STX (start of text) | 34 22 042 \22 | 66 42 100 B | 98 62 142 b \0A\00", align 1
@.str.5 = private unnamed_addr constant [105 x i8] c" 3 3 003 ETX (end of text) | 35 23 043 # | 67 43 100 C | 99 63 143 c \0A\00", align 1
@.str.6 = private unnamed_addr constant [105 x i8] c" 4 4 004 EOT (end of transmission) | 36 24 044 $ | 68 44 100 D |100 64 144 d \0A\00", align 1
@.str.7 = private unnamed_addr constant [106 x i8] c" 5 5 005 ENQ (enquiry) | 37 25 045 %% | 69 45 100 E |101 65 145 e \0A\00", align 1
@.str.8 = private unnamed_addr constant [105 x i8] c" 6 6 006 ACK (acknowledge) | 38 26 046 & | 70 46 100 F |102 66 146 f \0A\00", align 1
@.str.9 = private unnamed_addr constant [105 x i8] c" 7 7 007 BEL (bell) | 39 27 047 ' | 71 47 100 G |103 67 147 g \0A\00", align 1
@.str.10 = private unnamed_addr constant [105 x i8] c" 8 8 010 BS (backspace) | 40 28 050 ( | 72 48 100 G |104 68 150 h \0A\00", align 1
@.str.11 = private unnamed_addr constant [105 x i8] c" 9 9 011 TAB (horizontal tabl) | 41 29 051 ) | 73 49 100 I |105 69 151 i \0A\00", align 1
@.str.12 = private unnamed_addr constant [105 x i8] c" 10 A 012 LF (NL line feed, new line)| 42 2A 052 * | 74 4A 112 J |106 6A 152 j \0A\00", align 1
@.str.13 = private unnamed_addr constant [105 x i8] c" 11 B 013 VT (vertical tab) | 43 2B 053 + | 75 4B 112 K |107 6B 153 k \0A\00", align 1
@.str.14 = private unnamed_addr constant [105 x i8] c" 12 C 014 FF (NP form feed, new page)| 44 2C 054 , | 76 4C 112 L |108 6C 154 l \0A\00", align 1
@.str.15 = private unnamed_addr constant [105 x i8] c" 13 D 015 CR (carriage return) | 45 2D 055 - | 77 4D 112 M |109 6D 155 m \0A\00", align 1
@.str.16 = private unnamed_addr constant [105 x i8] c" 14 E 016 SO (shift out) | 46 2E 056 . | 78 4E 112 N |110 6E 156 n \0A\00", align 1
@.str.17 = private unnamed_addr constant [105 x i8] c" 15 F 017 SI (shift in) | 47 2F 057 / | 79 4F 112 O |111 6F 157 o \0A\00", align 1
@.str.18 = private unnamed_addr constant [105 x i8] c" 16 10 020 DLE (data link escape) | 48 30 060 0 | 80 40 112 P |112 70 160 p \0A\00", align 1
@.str.19 = private unnamed_addr constant [105 x i8] c" 17 11 021 DC1 (device control 1) | 49 31 061 1 | 81 41 112 Q |113 71 161 q \0A\00", align 1
@.str.20 = private unnamed_addr constant [105 x i8] c" 18 12 022 DC2 (device control 1) | 50 32 062 2 | 82 42 112 R |114 72 162 r \0A\00", align 1
@.str.21 = private unnamed_addr constant [105 x i8] c" 19 13 023 DC3 (device control 1) | 51 33 063 3 | 83 43 112 S |115 73 163 s \0A\00", align 1
@.str.22 = private unnamed_addr constant [105 x i8] c" 20 14 024 DC4 (device control 1) | 52 34 064 4 | 84 44 112 T |116 74 164 t \0A\00", align 1
@.str.23 = private unnamed_addr constant [105 x i8] c" 21 15 025 NAK (negative acknowledge) | 53 35 065 5 | 85 45 112 U |117 75 165 u \0A\00", align 1
@.str.24 = private unnamed_addr constant [105 x i8] c" 22 16 026 SYN (synchronous idle) | 54 36 066 6 | 86 46 112 V |118 76 166 v \0A\00", align 1
@.str.25 = private unnamed_addr constant [105 x i8] c" 23 17 027 ETB (end of trans. block) | 55 37 067 7 | 87 47 112 W |119 77 167 w \0A\00", align 1
@.str.26 = private unnamed_addr constant [105 x i8] c" 24 18 030 CAN (cancel) | 56 38 070 8 | 88 48 112 X |120 78 170 x \0A\00", align 1
@.str.27 = private unnamed_addr constant [105 x i8] c" 25 19 031 EM (end of medium) | 57 39 071 9 | 89 49 112 Y |121 79 171 y \0A\00", align 1
@.str.28 = private unnamed_addr constant [105 x i8] c" 26 1A 032 SUB (substitue) | 58 3A 072 : | 90 4A 112 Z |122 7A 172 z \0A\00", align 1
@.str.29 = private unnamed_addr constant [105 x i8] c" 27 1B 033 ESC (escape) | 59 3B 073 ; | 91 4B 112 [ |123 7B 173 { \0A\00", align 1
@.str.30 = private unnamed_addr constant [105 x i8] c" 28 1C 034 FS (file separator) | 60 3C 074 < | 92 4C 112 \\ |124 7C 174 | \0A\00", align 1
@.str.31 = private unnamed_addr constant [105 x i8] c" 29 1D 035 GS (group separator) | 61 3D 075 = | 93 4D 112 ] |125 7D 175 } \0A\00", align 1
@.str.32 = private unnamed_addr constant [105 x i8] c" 30 1E 036 RS (record separator) | 62 3E 076 > | 94 4E 112 ^ |126 7E 176 ~ \0A\00", align 1
@.str.33 = private unnamed_addr constant [105 x i8] c" 31 1F 037 US (unit separator) | 63 3F 077 ? | 95 5F 137 _ |127 7F 177 DEL\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.12)
%15 = call i32 @printf(ptr noundef @.str.13)
%16 = call i32 @printf(ptr noundef @.str.14)
%17 = call i32 @printf(ptr noundef @.str.15)
%18 = call i32 @printf(ptr noundef @.str.16)
%19 = call i32 @printf(ptr noundef @.str.17)
%20 = call i32 @printf(ptr noundef @.str.18)
%21 = call i32 @printf(ptr noundef @.str.19)
%22 = call i32 @printf(ptr noundef @.str.20)
%23 = call i32 @printf(ptr noundef @.str.21)
%24 = call i32 @printf(ptr noundef @.str.22)
%25 = call i32 @printf(ptr noundef @.str.23)
%26 = call i32 @printf(ptr noundef @.str.24)
%27 = call i32 @printf(ptr noundef @.str.25)
%28 = call i32 @printf(ptr noundef @.str.26)
%29 = call i32 @printf(ptr noundef @.str.27)
%30 = call i32 @printf(ptr noundef @.str.28)
%31 = call i32 @printf(ptr noundef @.str.29)
%32 = call i32 @printf(ptr noundef @.str.30)
%33 = call i32 @printf(ptr noundef @.str.31)
%34 = call i32 @printf(ptr noundef @.str.32)
%35 = call i32 @printf(ptr noundef @.str.33)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp568lpk68.c'
source_filename = "/tmp/tmp568lpk68.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%s.iFiction\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_dir(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [512 x i8], align 16
%7 = alloca [520 x i8], align 16
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %26
12: ; preds = %2
%13 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @getcwd(ptr noundef %13, i32 noundef 512)
%15 = getelementptr inbounds [520 x i8], ptr %7, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @chdir(ptr noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds [520 x i8], ptr %7, i64 0, i64 0
%22 = call ptr @get_ifiction(ptr noundef %20, ptr noundef %21)
store ptr %22, ptr %8, align 8
%23 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @chdir(ptr noundef %23)
%25 = load ptr, ptr %8, align 8
store ptr %25, ptr %3, align 8
br label %26
26: ; preds = %12, %11
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @chdir(ptr noundef) #1
declare ptr @get_ifiction(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp568lpk68.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%s.iFiction\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_dir(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [512 x i8], align 16
%7 = alloca [520 x i8], align 16
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %26
12: ; preds = %2
%13 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @getcwd(ptr noundef %13, i32 noundef 512)
%15 = getelementptr inbounds [520 x i8], ptr %7, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @chdir(ptr noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds [520 x i8], ptr %7, i64 0, i64 0
%22 = call ptr @get_ifiction(ptr noundef %20, ptr noundef %21)
store ptr %22, ptr %8, align 8
%23 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @chdir(ptr noundef %23)
%25 = load ptr, ptr %8, align 8
store ptr %25, ptr %3, align 8
br label %26
26: ; preds = %12, %11
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @chdir(ptr noundef) #1
declare ptr @get_ifiction(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_6dafsh6.c'
source_filename = "/tmp/tmp_6dafsh6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @insert(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @find_largest_asci(ptr noundef %10)
store i32 %11, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %26, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %16, label %29
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 %21, ptr %25, align 1
br label %26
26: ; preds = %16
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
br label %12, !llvm.loop !6
29: ; preds = %12
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %32
32: ; preds = %50, %29
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 10
br i1 %39, label %40, label %48
40: ; preds = %32
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br label %48
48: ; preds = %40, %32
%49 = phi i1 [ false, %32 ], [ %47, %40 ]
br i1 %49, label %50, label %62
50: ; preds = %48
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %8, align 4
%54 = sext i32 %52 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i8, ptr %55, align 1
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
%60 = sext i32 %58 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
store i8 %56, ptr %61, align 1
br label %32, !llvm.loop !8
62: ; preds = %48
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %8, align 4
br label %65
65: ; preds = %83, %62
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %71, 10
br i1 %72, label %73, label %81
73: ; preds = %65
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %8, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 0
br label %81
81: ; preds = %73, %65
%82 = phi i1 [ false, %65 ], [ %80, %73 ]
br i1 %82, label %83, label %95
83: ; preds = %81
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %8, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %8, align 4
%87 = sext i32 %85 to i64
%88 = getelementptr inbounds i8, ptr %84, i64 %87
%89 = load i8, ptr %88, align 1
%90 = load ptr, ptr %6, align 8
%91 = load i32, ptr %9, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %9, align 4
%93 = sext i32 %91 to i64
%94 = getelementptr inbounds i8, ptr %90, i64 %93
store i8 %89, ptr %94, align 1
br label %65, !llvm.loop !9
95: ; preds = %81
%96 = load ptr, ptr %6, align 8
%97 = load i32, ptr %9, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
store i8 0, ptr %99, align 1
ret i32 0
}
declare i32 @find_largest_asci(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_6dafsh6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @insert(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @find_largest_asci(ptr noundef %10)
store i32 %11, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %25
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 %20, ptr %24, align 1
br label %25
25: ; preds = %15
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %3
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %34
34: ; preds = %52, %31
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 10
br i1 %41, label %42, label %50
42: ; preds = %34
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br label %50
50: ; preds = %42, %34
%51 = phi i1 [ false, %34 ], [ %49, %42 ]
br i1 %51, label %52, label %64
52: ; preds = %50
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %8, align 4
%56 = sext i32 %54 to i64
%57 = getelementptr inbounds i8, ptr %53, i64 %56
%58 = load i8, ptr %57, align 1
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %9, align 4
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds i8, ptr %59, i64 %62
store i8 %58, ptr %63, align 1
br label %34, !llvm.loop !8
64: ; preds = %50
%65 = load i32, ptr %7, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %8, align 4
br label %67
67: ; preds = %85, %64
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 10
br i1 %74, label %75, label %83
75: ; preds = %67
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %8, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp ne i32 %81, 0
br label %83
83: ; preds = %75, %67
%84 = phi i1 [ false, %67 ], [ %82, %75 ]
br i1 %84, label %85, label %97
85: ; preds = %83
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %8, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %8, align 4
%89 = sext i32 %87 to i64
%90 = getelementptr inbounds i8, ptr %86, i64 %89
%91 = load i8, ptr %90, align 1
%92 = load ptr, ptr %6, align 8
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %9, align 4
%95 = sext i32 %93 to i64
%96 = getelementptr inbounds i8, ptr %92, i64 %95
store i8 %91, ptr %96, align 1
br label %67, !llvm.loop !9
97: ; preds = %83
%98 = load ptr, ptr %6, align 8
%99 = load i32, ptr %9, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
store i8 0, ptr %101, align 1
ret i32 0
}
declare i32 @find_largest_asci(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpjxvcro8v.c'
source_filename = "/tmp/tmpjxvcro8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fgmvwrite_codever_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [10 x i8], align 1
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strncpy(ptr noundef %4, ptr noundef %5, i32 noundef 8)
%7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds i8, ptr %7, i64 8
store i8 0, ptr %8, align 1
%9 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @gmvwrite_codever(ptr noundef %9)
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gmvwrite_codever(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjxvcro8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fgmvwrite_codever_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [10 x i8], align 1
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strncpy(ptr noundef %4, ptr noundef %5, i32 noundef 8)
%7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds i8, ptr %7, i64 8
store i8 0, ptr %8, align 1
%9 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @gmvwrite_codever(ptr noundef %9)
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gmvwrite_codever(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_h258pe2.c'
source_filename = "/tmp/tmp_h258pe2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strpbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %8
8: ; preds = %44, %2
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = getelementptr inbounds i8, ptr %9, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %47
15: ; preds = %8
store i64 0, ptr %7, align 8
br label %16
16: ; preds = %40, %15
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %43
23: ; preds = %16
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %7, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %28, %33
br i1 %34, label %35, label %39
35: ; preds = %23
%36 = load ptr, ptr %4, align 8
%37 = load i64, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
store ptr %38, ptr %3, align 8
br label %48
39: ; preds = %23
br label %40
40: ; preds = %39
%41 = load i64, ptr %7, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %7, align 8
br label %16, !llvm.loop !6
43: ; preds = %16
br label %44
44: ; preds = %43
%45 = load i64, ptr %6, align 8
%46 = add i64 %45, 1
store i64 %46, ptr %6, align 8
br label %8, !llvm.loop !8
47: ; preds = %8
store ptr null, ptr %3, align 8
br label %48
48: ; preds = %47, %35
%49 = load ptr, ptr %3, align 8
ret ptr %49
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_h258pe2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strpbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = getelementptr inbounds i8, ptr %8, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph2, label %57
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %48
store i64 0, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %.lr.ph, label %47
.lr.ph: ; preds = %14
br label %21
21: ; preds = %.lr.ph, %38
%22 = load ptr, ptr %4, align 8
%23 = load i64, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load ptr, ptr %5, align 8
%28 = load i64, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %26, %31
br i1 %32, label %33, label %37
33: ; preds = %21
%34 = load ptr, ptr %4, align 8
%35 = load i64, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
store ptr %36, ptr %3, align 8
br label %58
37: ; preds = %21
br label %38
38: ; preds = %37
%39 = load i64, ptr %7, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %7, align 8
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %7, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %47
47: ; preds = %._crit_edge, %14
br label %48
48: ; preds = %47
%49 = load i64, ptr %6, align 8
%50 = add i64 %49, 1
store i64 %50, ptr %6, align 8
%51 = load ptr, ptr %5, align 8
%52 = load i64, ptr %6, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 0
br i1 %56, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %57
57: ; preds = %._crit_edge3, %2
store ptr null, ptr %3, align 8
br label %58
58: ; preds = %57, %33
%59 = load ptr, ptr %3, align 8
ret ptr %59
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjqdowl3f.c'
source_filename = "/tmp/tmpjqdowl3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjqdowl3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2yvjywtc.c'
source_filename = "/tmp/tmp2yvjywtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1005 x i32], align 16
%10 = alloca [1005 x i32], align 16
store i32 0, ptr %1, align 4
store i32 1410065407, ptr %8, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %80, %0
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %83
16: ; preds = %12
store i32 1410065407, ptr %8, align 4
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %6, align 4
br label %18
18: ; preds = %27, %16
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %30
22: ; preds = %18
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [1005 x i32], ptr %9, i64 0, i64 %24
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %22
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %18, !llvm.loop !6
30: ; preds = %18
%31 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i32 0, ptr %6, align 4
br label %32
32: ; preds = %74, %30
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %77
36: ; preds = %32
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [1005 x i32], ptr %10, i64 0, i64 %38
%40 = call i32 @scanf(ptr noundef @.str, ptr noundef %39)
store i32 0, ptr %7, align 4
br label %41
41: ; preds = %70, %36
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %73
45: ; preds = %41
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [1005 x i32], ptr %10, i64 0, i64 %47
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [1005 x i32], ptr %9, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = sub nsw i32 %49, %53
%55 = call i32 @abs(i32 noundef %54) #3
%56 = load i32, ptr %8, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %69
58: ; preds = %45
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [1005 x i32], ptr %10, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [1005 x i32], ptr %9, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = sub nsw i32 %62, %66
%68 = call i32 @abs(i32 noundef %67) #3
store i32 %68, ptr %8, align 4
br label %69
69: ; preds = %58, %45
br label %70
70: ; preds = %69
%71 = load i32, ptr %7, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %7, align 4
br label %41, !llvm.loop !8
73: ; preds = %41
br label %74
74: ; preds = %73
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
br label %32, !llvm.loop !9
77: ; preds = %32
%78 = load i32, ptr %8, align 4
%79 = call i32 @printf(ptr noundef @.str.1, i32 noundef %78)
br label %80
80: ; preds = %77
%81 = load i32, ptr %3, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %3, align 4
br label %12, !llvm.loop !10
83: ; preds = %12
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2yvjywtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1005 x i32], align 16
%10 = alloca [1005 x i32], align 16
store i32 0, ptr %1, align 4
store i32 1410065407, ptr %8, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph8, label %91
.lr.ph8: ; preds = %0
br label %15
15: ; preds = %.lr.ph8, %85
store i32 1410065407, ptr %8, align 4
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %31
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %25
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1005 x i32], ptr %9, i64 0, i64 %22
%24 = call i32 @scanf(ptr noundef @.str, ptr noundef %23)
br label %25
25: ; preds = %20
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %15
%32 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i32 0, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph5, label %82
.lr.ph5: ; preds = %31
br label %36
36: ; preds = %.lr.ph5, %76
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [1005 x i32], ptr %10, i64 0, i64 %38
%40 = call i32 @scanf(ptr noundef @.str, ptr noundef %39)
store i32 0, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %75
.lr.ph2: ; preds = %36
br label %44
44: ; preds = %.lr.ph2, %69
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [1005 x i32], ptr %10, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [1005 x i32], ptr %9, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = sub nsw i32 %48, %52
%54 = call i32 @abs(i32 noundef %53) #3
%55 = load i32, ptr %8, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %68
57: ; preds = %44
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [1005 x i32], ptr %10, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load i32, ptr %7, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [1005 x i32], ptr %9, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
%66 = sub nsw i32 %61, %65
%67 = call i32 @abs(i32 noundef %66) #3
store i32 %67, ptr %8, align 4
br label %68
68: ; preds = %57, %44
br label %69
69: ; preds = %68
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %36
br label %76
76: ; preds = %75
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %5, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %36, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %31
%83 = load i32, ptr %8, align 4
%84 = call i32 @printf(ptr noundef @.str.1, i32 noundef %83)
br label %85
85: ; preds = %82
%86 = load i32, ptr %3, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %3, align 4
%88 = load i32, ptr %3, align 4
%89 = load i32, ptr %2, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %15, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %85
br label %91
91: ; preds = %._crit_edge9, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpsl1_faa3.c'
source_filename = "/tmp/tmpsl1_faa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsl1_faa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo9_xhc7s.c'
source_filename = "/tmp/tmpo9_xhc7s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"close unopened or invalid fd fail\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"read from unopened fd fail\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"write to unopened fd fail\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"err_unopened: FAIL\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"err_unopened: PASS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @err_unopened() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [32 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %14, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 8
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i32 @ece391_close(i32 noundef %8)
%10 = icmp ne i32 -1, %9
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str)
store i32 2, ptr %1, align 4
br label %13
13: ; preds = %11, %7
br label %14
14: ; preds = %13
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
store i32 2, ptr %2, align 4
br label %18
18: ; preds = %29, %17
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 8
br i1 %20, label %21, label %32
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%24 = call i32 @ece391_read(i32 noundef %22, ptr noundef %23, i32 noundef 31)
%25 = icmp ne i32 -1, %24
br i1 %25, label %26, label %28
26: ; preds = %21
%27 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.1)
store i32 2, ptr %1, align 4
br label %28
28: ; preds = %26, %21
br label %29
29: ; preds = %28
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %18, !llvm.loop !8
32: ; preds = %18
store i32 2, ptr %2, align 4
br label %33
33: ; preds = %44, %32
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %34, 8
br i1 %35, label %36, label %47
36: ; preds = %33
%37 = load i32, ptr %2, align 4
%38 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%39 = call i32 @ece391_write(i32 noundef %37, ptr noundef %38, i32 noundef 31)
%40 = icmp ne i32 -1, %39
br i1 %40, label %41, label %43
41: ; preds = %36
%42 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.2)
store i32 2, ptr %1, align 4
br label %43
43: ; preds = %41, %36
br label %44
44: ; preds = %43
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %2, align 4
br label %33, !llvm.loop !9
47: ; preds = %33
%48 = load i32, ptr %1, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.3)
br label %54
52: ; preds = %47
%53 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.4)
br label %54
54: ; preds = %52, %50
%55 = load i32, ptr %1, align 4
ret i32 %55
}
declare i32 @ece391_close(i32 noundef) #1
declare i32 @ece391_fdputs(i32 noundef, ptr noundef) #1
declare i32 @ece391_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ece391_write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo9_xhc7s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"close unopened or invalid fd fail\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"read from unopened fd fail\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"write to unopened fd fail\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"err_unopened: FAIL\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"err_unopened: PASS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @err_unopened() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [32 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 8
br i1 %5, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %13
%7 = load i32, ptr %2, align 4
%8 = call i32 @ece391_close(i32 noundef %7)
%9 = icmp ne i32 -1, %8
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str)
store i32 2, ptr %1, align 4
br label %12
12: ; preds = %10, %6
br label %13
13: ; preds = %12
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 8
br i1 %17, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
store i32 2, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 8
br i1 %20, label %.lr.ph2, label %34
.lr.ph2: ; preds = %18
br label %21
21: ; preds = %.lr.ph2, %29
%22 = load i32, ptr %2, align 4
%23 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%24 = call i32 @ece391_read(i32 noundef %22, ptr noundef %23, i32 noundef 31)
%25 = icmp ne i32 -1, %24
br i1 %25, label %26, label %28
26: ; preds = %21
%27 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.1)
store i32 2, ptr %1, align 4
br label %28
28: ; preds = %26, %21
br label %29
29: ; preds = %28
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %32, 8
br i1 %33, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %18
store i32 2, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp slt i32 %35, 8
br i1 %36, label %.lr.ph5, label %50
.lr.ph5: ; preds = %34
br label %37
37: ; preds = %.lr.ph5, %45
%38 = load i32, ptr %2, align 4
%39 = getelementptr inbounds [32 x i32], ptr %3, i64 0, i64 0
%40 = call i32 @ece391_write(i32 noundef %38, ptr noundef %39, i32 noundef 31)
%41 = icmp ne i32 -1, %40
br i1 %41, label %42, label %44
42: ; preds = %37
%43 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.2)
store i32 2, ptr %1, align 4
br label %44
44: ; preds = %42, %37
br label %45
45: ; preds = %44
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %2, align 4
%48 = load i32, ptr %2, align 4
%49 = icmp slt i32 %48, 8
br i1 %49, label %37, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %45
br label %50
50: ; preds = %._crit_edge6, %34
%51 = load i32, ptr %1, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.3)
br label %57
55: ; preds = %50
%56 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.4)
br label %57
57: ; preds = %55, %53
%58 = load i32, ptr %1, align 4
ret i32 %58
}
declare i32 @ece391_close(i32 noundef) #1
declare i32 @ece391_fdputs(i32 noundef, ptr noundef) #1
declare i32 @ece391_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ece391_write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmptsplvbip.c'
source_filename = "/tmp/tmptsplvbip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sum2D(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %8, align 4
%12 = call i32 @vzero(ptr noundef %10, i32 noundef %11)
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %27, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %30
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %8, align 4
%26 = call i32 @vvp(ptr noundef %18, ptr noundef %19, ptr noundef %24, i32 noundef %25)
br label %27
27: ; preds = %17
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
br label %13, !llvm.loop !6
30: ; preds = %13
ret void
}
declare i32 @vzero(ptr noundef, i32 noundef) #1
declare i32 @vvp(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptsplvbip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sum2D(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %8, align 4
%12 = call i32 @vzero(ptr noundef %10, i32 noundef %11)
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %32
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %26
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %8, align 4
%25 = call i32 @vvp(ptr noundef %17, ptr noundef %18, ptr noundef %23, i32 noundef %24)
br label %26
26: ; preds = %16
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %4
ret void
}
declare i32 @vzero(ptr noundef, i32 noundef) #1
declare i32 @vvp(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu04sbofi.c'
source_filename = "/tmp/tmpu04sbofi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Temporary name 1: %s\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"\0ATemporary name 2: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [10 x i8], align 1
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%9 = call ptr @tmpnam(ptr noundef %8)
%10 = call ptr @tmpnam(ptr noundef null)
store ptr %10, ptr %7, align 8
%11 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %7, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
ret i32 0
}
declare ptr @tmpnam(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu04sbofi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Temporary name 1: %s\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"\0ATemporary name 2: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [10 x i8], align 1
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%9 = call ptr @tmpnam(ptr noundef %8)
%10 = call ptr @tmpnam(ptr noundef null)
store ptr %10, ptr %7, align 8
%11 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %7, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
ret i32 0
}
declare ptr @tmpnam(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv1m202ai.c'
source_filename = "/tmp/tmpv1m202ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 123, ptr %2, align 4
%4 = call i64 @malloc(i32 noundef 1)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @int2str(i32 noundef %6, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @int2str(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv1m202ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 123, ptr %2, align 4
%4 = call i64 @malloc(i32 noundef 1)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @int2str(i32 noundef %6, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @int2str(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9y5qo5kq.c'
source_filename = "/tmp/tmp9y5qo5kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @OPTICSMATERIALS_pha_lambda(i32 noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
store double 0.000000e+00, ptr %9, align 8
%12 = load double, ptr %6, align 8
%13 = fmul double %12, 1.000000e+06
store double %13, ptr %11, align 8
%14 = load double, ptr %9, align 8
%15 = load double, ptr %11, align 8
%16 = load double, ptr %11, align 8
%17 = fmul double %15, %16
%18 = fdiv double 1.000000e+00, %17
%19 = fsub double 0x406DC0978D4FDF3B, %18
%20 = fdiv double 0x3FADA7D3EEFFFD7C, %19
%21 = load double, ptr %11, align 8
%22 = load double, ptr %11, align 8
%23 = fmul double %21, %22
%24 = fdiv double 1.000000e+00, %23
%25 = fsub double 5.736200e+01, %24
%26 = fdiv double 1.679170e-03, %25
%27 = fadd double %20, %26
%28 = call double @llvm.fmuladd.f64(double %14, double %27, double 1.000000e+00)
store double %28, ptr %10, align 8
%29 = load i32, ptr %4, align 4
%30 = load double, ptr %6, align 8
%31 = call double @OPTICSMATERIALS_n(i32 noundef %29, double noundef %30)
store double %31, ptr %7, align 8
%32 = load double, ptr @M_PI, align 8
%33 = fmul double 2.000000e+00, %32
%34 = load double, ptr %7, align 8
%35 = load double, ptr %10, align 8
%36 = fsub double %34, %35
%37 = fmul double %33, %36
%38 = load double, ptr %5, align 8
%39 = fmul double %37, %38
%40 = load double, ptr %6, align 8
%41 = fdiv double %39, %40
store double %41, ptr %8, align 8
%42 = load double, ptr %8, align 8
ret double %42
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @OPTICSMATERIALS_n(i32 noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9y5qo5kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @OPTICSMATERIALS_pha_lambda(i32 noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
store double 0.000000e+00, ptr %9, align 8
%12 = load double, ptr %6, align 8
%13 = fmul double %12, 1.000000e+06
store double %13, ptr %11, align 8
%14 = load double, ptr %9, align 8
%15 = load double, ptr %11, align 8
%16 = load double, ptr %11, align 8
%17 = fmul double %15, %16
%18 = fdiv double 1.000000e+00, %17
%19 = fsub double 0x406DC0978D4FDF3B, %18
%20 = fdiv double 0x3FADA7D3EEFFFD7C, %19
%21 = load double, ptr %11, align 8
%22 = load double, ptr %11, align 8
%23 = fmul double %21, %22
%24 = fdiv double 1.000000e+00, %23
%25 = fsub double 5.736200e+01, %24
%26 = fdiv double 1.679170e-03, %25
%27 = fadd double %20, %26
%28 = call double @llvm.fmuladd.f64(double %14, double %27, double 1.000000e+00)
store double %28, ptr %10, align 8
%29 = load i32, ptr %4, align 4
%30 = load double, ptr %6, align 8
%31 = call double @OPTICSMATERIALS_n(i32 noundef %29, double noundef %30)
store double %31, ptr %7, align 8
%32 = load double, ptr @M_PI, align 8
%33 = fmul double 2.000000e+00, %32
%34 = load double, ptr %7, align 8
%35 = load double, ptr %10, align 8
%36 = fsub double %34, %35
%37 = fmul double %33, %36
%38 = load double, ptr %5, align 8
%39 = fmul double %37, %38
%40 = load double, ptr %6, align 8
%41 = fdiv double %39, %40
store double %41, ptr %8, align 8
%42 = load double, ptr %8, align 8
ret double %42
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @OPTICSMATERIALS_n(i32 noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg9_2ily7.c'
source_filename = "/tmp/tmpg9_2ily7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg9_2ily7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo8tfzw8l.c'
source_filename = "/tmp/tmpo8tfzw8l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"This function is not implemented yet.\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"InititalizeSecurityFunctions\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @InititalizeSecurityFunctions() #0 {
%1 = call i32 @ThrowException(i32 noundef 1, i32 noundef 6, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @ThrowException(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8tfzw8l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"This function is not implemented yet.\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"InititalizeSecurityFunctions\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @InititalizeSecurityFunctions() #0 {
%1 = call i32 @ThrowException(i32 noundef 1, i32 noundef 6, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @ThrowException(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp02ou4ba1.c'
source_filename = "/tmp/tmp02ou4ba1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_enable(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = icmp uge i64 %4, 32
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 -1, ptr %2, align 4
br label %15
7: ; preds = %1
%8 = call i32 @mfspr(i64 noundef 18432)
%9 = sext i32 %8 to i64
%10 = load i64, ptr %3, align 8
%11 = shl i64 1, %10
%12 = or i64 %9, %11
%13 = trunc i64 %12 to i32
%14 = call i32 @mtspr(i64 noundef 18432, i32 noundef %13)
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %7, %6
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @mtspr(i64 noundef, i32 noundef) #1
declare i32 @mfspr(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp02ou4ba1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_enable(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = icmp uge i64 %4, 32
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 -1, ptr %2, align 4
br label %15
7: ; preds = %1
%8 = call i32 @mfspr(i64 noundef 18432)
%9 = sext i32 %8 to i64
%10 = load i64, ptr %3, align 8
%11 = shl i64 1, %10
%12 = or i64 %9, %11
%13 = trunc i64 %12 to i32
%14 = call i32 @mtspr(i64 noundef 18432, i32 noundef %13)
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %7, %6
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @mtspr(i64 noundef, i32 noundef) #1
declare i32 @mfspr(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6_y50oj_.c'
source_filename = "/tmp/tmp6_y50oj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ERR_peek_last_error() #0 {
%1 = call i64 @get_error_values(i32 noundef 0, i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
ret i64 %1
}
declare i64 @get_error_values(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_y50oj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ERR_peek_last_error() #0 {
%1 = call i64 @get_error_values(i32 noundef 0, i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
ret i64 %1
}
declare i64 @get_error_values(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp1za6i69.c'
source_filename = "/tmp/tmpp1za6i69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"Couldn't allocate the requested amount of memory\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @checkGlobalAssumptions()
%8 = call i32 (...) @set_nice_priority()
%9 = call i32 (...) @initialise_slice_properties()
%10 = call i32 (...) @init_structure_children_visitors()
%11 = call i32 (...) @init_moves_children_visitors()
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @parseCommandlineOptions(i32 noundef %12, ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
br label %25
24: ; preds = %2
br label %25
25: ; preds = %24, %18
%26 = phi ptr [ %23, %18 ], [ @.str, %24 ]
%27 = call i64 @OpenInput(ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %43
29: ; preds = %25
%30 = call i32 (...) @platform_init()
%31 = call i32 (...) @dimensionHashtable()
%32 = icmp ne i32 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %29
%34 = load i32, ptr @stdout, align 4
%35 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %33, %29
%37 = call i32 (...) @StartTimer()
%38 = call i32 (...) @InitCheckDir()
%39 = load i32, ptr @stdout, align 4
%40 = call i32 @output_plaintext_print_version_info(i32 noundef %39)
%41 = call i32 (...) @iterate_problems()
%42 = call i32 (...) @CloseInput()
br label %43
43: ; preds = %36, %25
%44 = call i32 (...) @LaTeXShutdown()
ret i32 0
}
declare i32 @checkGlobalAssumptions(...) #1
declare i32 @set_nice_priority(...) #1
declare i32 @initialise_slice_properties(...) #1
declare i32 @init_structure_children_visitors(...) #1
declare i32 @init_moves_children_visitors(...) #1
declare i32 @parseCommandlineOptions(i32 noundef, ptr noundef) #1
declare i64 @OpenInput(ptr noundef) #1
declare i32 @platform_init(...) #1
declare i32 @dimensionHashtable(...) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @StartTimer(...) #1
declare i32 @InitCheckDir(...) #1
declare i32 @output_plaintext_print_version_info(i32 noundef) #1
declare i32 @iterate_problems(...) #1
declare i32 @CloseInput(...) #1
declare i32 @LaTeXShutdown(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp1za6i69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"Couldn't allocate the requested amount of memory\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @checkGlobalAssumptions()
%8 = call i32 (...) @set_nice_priority()
%9 = call i32 (...) @initialise_slice_properties()
%10 = call i32 (...) @init_structure_children_visitors()
%11 = call i32 (...) @init_moves_children_visitors()
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @parseCommandlineOptions(i32 noundef %12, ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
br label %25
24: ; preds = %2
br label %25
25: ; preds = %24, %18
%26 = phi ptr [ %23, %18 ], [ @.str, %24 ]
%27 = call i64 @OpenInput(ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %43
29: ; preds = %25
%30 = call i32 (...) @platform_init()
%31 = call i32 (...) @dimensionHashtable()
%32 = icmp ne i32 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %29
%34 = load i32, ptr @stdout, align 4
%35 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %33, %29
%37 = call i32 (...) @StartTimer()
%38 = call i32 (...) @InitCheckDir()
%39 = load i32, ptr @stdout, align 4
%40 = call i32 @output_plaintext_print_version_info(i32 noundef %39)
%41 = call i32 (...) @iterate_problems()
%42 = call i32 (...) @CloseInput()
br label %43
43: ; preds = %36, %25
%44 = call i32 (...) @LaTeXShutdown()
ret i32 0
}
declare i32 @checkGlobalAssumptions(...) #1
declare i32 @set_nice_priority(...) #1
declare i32 @initialise_slice_properties(...) #1
declare i32 @init_structure_children_visitors(...) #1
declare i32 @init_moves_children_visitors(...) #1
declare i32 @parseCommandlineOptions(i32 noundef, ptr noundef) #1
declare i64 @OpenInput(ptr noundef) #1
declare i32 @platform_init(...) #1
declare i32 @dimensionHashtable(...) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @StartTimer(...) #1
declare i32 @InitCheckDir(...) #1
declare i32 @output_plaintext_print_version_info(i32 noundef) #1
declare i32 @iterate_problems(...) #1
declare i32 @CloseInput(...) #1
declare i32 @LaTeXShutdown(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1bwungvr.c'
source_filename = "/tmp/tmp1bwungvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"heavy\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"light\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %14, %0
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %8
8: ; preds = %6
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %9, 1
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp sge i32 %12, 9999
br label %14
14: ; preds = %11, %8
%15 = phi i1 [ false, %8 ], [ %13, %11 ]
br i1 %15, label %6, label %16, !llvm.loop !6
16: ; preds = %14
br label %17
17: ; preds = %26, %16
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 10
%21 = add nsw i32 %18, %20
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = sdiv i32 %22, 10
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %17
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %17, label %29, !llvm.loop !8
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = sdiv i32 %30, %31
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sge i32 %33, 7
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @printf(ptr noundef @.str.1)
br label %39
37: ; preds = %29
%38 = call i32 @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %37, %35
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1bwungvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"heavy\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"light\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %14, %0
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %8
8: ; preds = %6
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %9, 1
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp sge i32 %12, 9999
br label %14
14: ; preds = %11, %8
%15 = phi i1 [ false, %8 ], [ %13, %11 ]
br i1 %15, label %6, label %16, !llvm.loop !6
16: ; preds = %14
br label %17
17: ; preds = %26, %16
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 10
%21 = add nsw i32 %18, %20
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = sdiv i32 %22, 10
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %17
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %17, label %29, !llvm.loop !8
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = sdiv i32 %30, %31
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sge i32 %33, 7
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @printf(ptr noundef @.str.1)
br label %39
37: ; preds = %29
%38 = call i32 @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %37, %35
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnpf9obsr.c'
source_filename = "/tmp/tmpnpf9obsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpf9obsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0df924xv.c'
source_filename = "/tmp/tmp0df924xv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @pixel2lat(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = shl i32 1, %7
%9 = mul nsw i32 %8, 128
%10 = sub nsw i32 %6, %9
%11 = sub nsw i32 0, %10
%12 = load i32, ptr @M_PI, align 4
%13 = mul nsw i32 2, %12
%14 = mul nsw i32 %11, %13
%15 = load i32, ptr %3, align 4
%16 = shl i32 1, %15
%17 = mul nsw i32 256, %16
%18 = sdiv i32 %14, %17
%19 = sitofp i32 %18 to float
store float %19, ptr %5, align 4
%20 = load float, ptr %5, align 4
%21 = call i32 @tanhf(float noundef %20)
%22 = call float @asinf(i32 noundef %21)
ret float %22
}
declare float @asinf(i32 noundef) #1
declare i32 @tanhf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0df924xv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @pixel2lat(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = shl i32 1, %7
%9 = mul nsw i32 %8, 128
%10 = sub nsw i32 %6, %9
%11 = sub nsw i32 0, %10
%12 = load i32, ptr @M_PI, align 4
%13 = mul nsw i32 2, %12
%14 = mul nsw i32 %11, %13
%15 = load i32, ptr %3, align 4
%16 = shl i32 1, %15
%17 = mul nsw i32 256, %16
%18 = sdiv i32 %14, %17
%19 = sitofp i32 %18 to float
store float %19, ptr %5, align 4
%20 = load float, ptr %5, align 4
%21 = call i32 @tanhf(float noundef %20)
%22 = call float @asinf(i32 noundef %21)
ret float %22
}
declare float @asinf(i32 noundef) #1
declare i32 @tanhf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp46o1wq_n.c'
source_filename = "/tmp/tmp46o1wq_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Sorting failed!\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Sorted successfully!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkAscending(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %28, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp slt i32 %7, %9
br i1 %10, label %11, label %31
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %17, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp sgt i32 %16, %22
br i1 %23, label %24, label %27
24: ; preds = %11
%25 = call i32 @perror(ptr noundef @.str)
%26 = call i32 @printf(ptr noundef @.str)
br label %34
27: ; preds = %11
br label %28
28: ; preds = %27
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %6, !llvm.loop !6
31: ; preds = %6
%32 = call i32 @perror(ptr noundef @.str.1)
%33 = call i32 @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %31, %24
ret void
}
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46o1wq_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Sorting failed!\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Sorted successfully!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkAscending(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
%9 = icmp slt i32 %6, %8
br i1 %9, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %27
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %16, i64 %19
%21 = load i32, ptr %20, align 4
%22 = icmp sgt i32 %15, %21
br i1 %22, label %23, label %26
23: ; preds = %10
%24 = call i32 @perror(ptr noundef @.str)
%25 = call i32 @printf(ptr noundef @.str)
br label %37
26: ; preds = %10
br label %27
27: ; preds = %26
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %4, align 4
%32 = sub nsw i32 %31, 1
%33 = icmp slt i32 %30, %32
br i1 %33, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %2
%35 = call i32 @perror(ptr noundef @.str.1)
%36 = call i32 @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %34, %23
ret void
}
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw9nfjp5_.c'
source_filename = "/tmp/tmpw9nfjp5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_system_info() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw9nfjp5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_system_info() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp22c7pfag.c'
source_filename = "/tmp/tmp22c7pfag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp22c7pfag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjqh92vhl.c'
source_filename = "/tmp/tmpjqh92vhl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rct2srgb(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds float, ptr %9, i64 0
%11 = load float, ptr %10, align 4
store float %11, ptr %3, align 4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds float, ptr %12, i64 1
%14 = load float, ptr %13, align 4
store float %14, ptr %4, align 4
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds float, ptr %15, i64 2
%17 = load float, ptr %16, align 4
store float %17, ptr %5, align 4
%18 = load float, ptr %3, align 4
%19 = load float, ptr %4, align 4
%20 = load float, ptr %5, align 4
%21 = fadd float %19, %20
%22 = fdiv float %21, 4.000000e+00
%23 = call float @llvm.floor.f32(float %22)
%24 = fsub float %18, %23
store float %24, ptr %6, align 4
%25 = load float, ptr %4, align 4
%26 = load float, ptr %6, align 4
%27 = fadd float %25, %26
store float %27, ptr %7, align 4
%28 = load float, ptr %5, align 4
%29 = load float, ptr %6, align 4
%30 = fadd float %28, %29
store float %30, ptr %8, align 4
%31 = load float, ptr %7, align 4
%32 = call float @fclampf(float noundef %31, float noundef 0.000000e+00, float noundef 2.550000e+02)
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds float, ptr %33, i64 0
store float %32, ptr %34, align 4
%35 = load float, ptr %6, align 4
%36 = call float @fclampf(float noundef %35, float noundef 0.000000e+00, float noundef 2.550000e+02)
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds float, ptr %37, i64 1
store float %36, ptr %38, align 4
%39 = load float, ptr %8, align 4
%40 = call float @fclampf(float noundef %39, float noundef 0.000000e+00, float noundef 2.550000e+02)
%41 = load ptr, ptr %2, align 8
%42 = getelementptr inbounds float, ptr %41, i64 2
store float %40, ptr %42, align 4
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.floor.f32(float) #1
declare float @fclampf(float noundef, float noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjqh92vhl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rct2srgb(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds float, ptr %9, i64 0
%11 = load float, ptr %10, align 4
store float %11, ptr %3, align 4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds float, ptr %12, i64 1
%14 = load float, ptr %13, align 4
store float %14, ptr %4, align 4
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds float, ptr %15, i64 2
%17 = load float, ptr %16, align 4
store float %17, ptr %5, align 4
%18 = load float, ptr %3, align 4
%19 = load float, ptr %4, align 4
%20 = load float, ptr %5, align 4
%21 = fadd float %19, %20
%22 = fdiv float %21, 4.000000e+00
%23 = call float @llvm.floor.f32(float %22)
%24 = fsub float %18, %23
store float %24, ptr %6, align 4
%25 = load float, ptr %4, align 4
%26 = load float, ptr %6, align 4
%27 = fadd float %25, %26
store float %27, ptr %7, align 4
%28 = load float, ptr %5, align 4
%29 = load float, ptr %6, align 4
%30 = fadd float %28, %29
store float %30, ptr %8, align 4
%31 = load float, ptr %7, align 4
%32 = call float @fclampf(float noundef %31, float noundef 0.000000e+00, float noundef 2.550000e+02)
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds float, ptr %33, i64 0
store float %32, ptr %34, align 4
%35 = load float, ptr %6, align 4
%36 = call float @fclampf(float noundef %35, float noundef 0.000000e+00, float noundef 2.550000e+02)
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds float, ptr %37, i64 1
store float %36, ptr %38, align 4
%39 = load float, ptr %8, align 4
%40 = call float @fclampf(float noundef %39, float noundef 0.000000e+00, float noundef 2.550000e+02)
%41 = load ptr, ptr %2, align 8
%42 = getelementptr inbounds float, ptr %41, i64 2
store float %40, ptr %42, align 4
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.floor.f32(float) #1
declare float @fclampf(float noundef, float noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7fhdi9sm.c'
source_filename = "/tmp/tmp7fhdi9sm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_schar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 @f_schar_1(i8 noundef signext 0)
%4 = call i32 @sink(i32 noundef %3)
%5 = call i32 @f_schar_2(i32 noundef 0, i8 noundef signext 1)
%6 = call i32 @sink(i32 noundef %5)
%7 = call i32 @f_schar_2(i32 noundef 1, i8 noundef signext 0)
%8 = call i32 @sink(i32 noundef %7)
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = call i32 @f_schar_2(i32 noundef %10, i8 noundef signext 0)
%12 = call i32 @sink(i32 noundef %11)
%13 = load i8, ptr %2, align 1
%14 = call i32 @f_schar_2(i32 noundef 0, i8 noundef signext %13)
%15 = call i32 @sink(i32 noundef %14)
%16 = load i8, ptr %2, align 1
%17 = call i32 @f_schar_1(i8 noundef signext %16)
%18 = call i32 @sink(i32 noundef %17)
store i8 0, ptr %2, align 1
%19 = load i8, ptr %2, align 1
%20 = call i32 @f_schar_1(i8 noundef signext %19)
%21 = call i32 @sink(i32 noundef %20)
%22 = load i8, ptr %2, align 1
%23 = call i32 @f_schar_2(i32 noundef 1, i8 noundef signext %22)
%24 = call i32 @sink(i32 noundef %23)
ret void
}
declare i32 @sink(i32 noundef) #1
declare i32 @f_schar_1(i8 noundef signext) #1
declare i32 @f_schar_2(i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7fhdi9sm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_schar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 @f_schar_1(i8 noundef signext 0)
%4 = call i32 @sink(i32 noundef %3)
%5 = call i32 @f_schar_2(i32 noundef 0, i8 noundef signext 1)
%6 = call i32 @sink(i32 noundef %5)
%7 = call i32 @f_schar_2(i32 noundef 1, i8 noundef signext 0)
%8 = call i32 @sink(i32 noundef %7)
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = call i32 @f_schar_2(i32 noundef %10, i8 noundef signext 0)
%12 = call i32 @sink(i32 noundef %11)
%13 = load i8, ptr %2, align 1
%14 = call i32 @f_schar_2(i32 noundef 0, i8 noundef signext %13)
%15 = call i32 @sink(i32 noundef %14)
%16 = load i8, ptr %2, align 1
%17 = call i32 @f_schar_1(i8 noundef signext %16)
%18 = call i32 @sink(i32 noundef %17)
store i8 0, ptr %2, align 1
%19 = load i8, ptr %2, align 1
%20 = call i32 @f_schar_1(i8 noundef signext %19)
%21 = call i32 @sink(i32 noundef %20)
%22 = load i8, ptr %2, align 1
%23 = call i32 @f_schar_2(i32 noundef 1, i8 noundef signext %22)
%24 = call i32 @sink(i32 noundef %23)
ret void
}
declare i32 @sink(i32 noundef) #1
declare i32 @f_schar_1(i8 noundef signext) #1
declare i32 @f_schar_2(i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg27gxpet.c'
source_filename = "/tmp/tmpg27gxpet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg27gxpet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2ixwwu1p.c'
source_filename = "/tmp/tmp2ixwwu1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ixwwu1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkpwc_aqv.c'
source_filename = "/tmp/tmpkpwc_aqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PT_TRACE_ME = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkpwc_aqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PT_TRACE_ME = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp414tb32m.c'
source_filename = "/tmp/tmp414tb32m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp414tb32m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz_7vr83x.c'
source_filename = "/tmp/tmpz_7vr83x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"enter the size of pattern: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"* \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %38, %0
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %41
12: ; preds = %8
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %22, %12
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %2, align 4
%17 = sub nsw i32 %15, %16
%18 = sub nsw i32 %17, 1
%19 = icmp slt i32 %14, %18
br i1 %19, label %20, label %25
20: ; preds = %13
%21 = call i32 @printf(ptr noundef @.str.2)
br label %22
22: ; preds = %20
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %13, !llvm.loop !6
25: ; preds = %13
store i32 0, ptr %4, align 4
br label %26
26: ; preds = %33, %25
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %2, align 4
%29 = mul nsw i32 %28, 2
%30 = icmp sle i32 %27, %29
br i1 %30, label %31, label %36
31: ; preds = %26
%32 = call i32 @printf(ptr noundef @.str.3)
br label %33
33: ; preds = %31
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %26, !llvm.loop !8
36: ; preds = %26
%37 = call i32 @printf(ptr noundef @.str.4)
br label %38
38: ; preds = %36
%39 = load i32, ptr %2, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %2, align 4
br label %8, !llvm.loop !9
41: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz_7vr83x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"enter the size of pattern: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"* \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph5, label %51
.lr.ph5: ; preds = %0
br label %11
11: ; preds = %.lr.ph5, %45
store i32 0, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %13, %14
%16 = sub nsw i32 %15, 1
%17 = icmp slt i32 %12, %16
br i1 %17, label %.lr.ph, label %29
.lr.ph: ; preds = %11
br label %18
18: ; preds = %.lr.ph, %20
%19 = call i32 @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %18
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %2, align 4
%26 = sub nsw i32 %24, %25
%27 = sub nsw i32 %26, 1
%28 = icmp slt i32 %23, %27
br i1 %28, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %29
29: ; preds = %._crit_edge, %11
store i32 0, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %2, align 4
%32 = mul nsw i32 %31, 2
%33 = icmp sle i32 %30, %32
br i1 %33, label %.lr.ph2, label %43
.lr.ph2: ; preds = %29
br label %34
34: ; preds = %.lr.ph2, %36
%35 = call i32 @printf(ptr noundef @.str.3)
br label %36
36: ; preds = %34
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %2, align 4
%41 = mul nsw i32 %40, 2
%42 = icmp sle i32 %39, %41
br i1 %42, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %43
43: ; preds = %._crit_edge3, %29
%44 = call i32 @printf(ptr noundef @.str.4)
br label %45
45: ; preds = %43
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %2, align 4
%48 = load i32, ptr %2, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %11, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %45
br label %51
51: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphybyxrkd.c'
source_filename = "/tmp/tmphybyxrkd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @btor_is_one_const(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i32
%13 = icmp sgt i32 %12, 0
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = call i32 @is_valid_const(ptr noundef %16)
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = trunc i64 %20 to i32
store i32 %21, ptr %4, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 49
br i1 %29, label %30, label %31
30: ; preds = %1
store i32 0, ptr %2, align 4
br label %51
31: ; preds = %1
store i32 0, ptr %5, align 4
br label %32
32: ; preds = %47, %31
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp slt i32 %33, %35
br i1 %36, label %37, label %50
37: ; preds = %32
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 48
br i1 %44, label %45, label %46
45: ; preds = %37
store i32 0, ptr %2, align 4
br label %51
46: ; preds = %37
br label %47
47: ; preds = %46
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %32, !llvm.loop !6
50: ; preds = %32
store i32 1, ptr %2, align 4
br label %51
51: ; preds = %50, %45, %30
%52 = load i32, ptr %2, align 4
ret i32 %52
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @is_valid_const(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphybyxrkd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @btor_is_one_const(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i32
%13 = icmp sgt i32 %12, 0
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = call i32 @is_valid_const(ptr noundef %16)
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = trunc i64 %20 to i32
store i32 %21, ptr %4, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 49
br i1 %29, label %30, label %31
30: ; preds = %1
store i32 0, ptr %2, align 4
br label %54
31: ; preds = %1
store i32 0, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %4, align 4
%34 = sub nsw i32 %33, 1
%35 = icmp slt i32 %32, %34
br i1 %35, label %.lr.ph, label %53
.lr.ph: ; preds = %31
br label %36
36: ; preds = %.lr.ph, %46
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 48
br i1 %43, label %44, label %45
44: ; preds = %36
store i32 0, ptr %2, align 4
br label %54
45: ; preds = %36
br label %46
46: ; preds = %45
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %4, align 4
%51 = sub nsw i32 %50, 1
%52 = icmp slt i32 %49, %51
br i1 %52, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %53
53: ; preds = %._crit_edge, %31
store i32 1, ptr %2, align 4
br label %54
54: ; preds = %53, %44, %30
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @is_valid_const(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|