llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp_winfeex.c'
source_filename = "/tmp/tmp_winfeex.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"%d %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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %3, align 8
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 4
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %21
21: ; preds = %40, %0
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %43
25: ; preds = %21
%26 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7)
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %27, %28
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
store i32 %29, ptr %33, align 4
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
store i32 %35, ptr %39, align 4
br label %40
40: ; preds = %25
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %21, !llvm.loop !6
43: ; preds = %21
%44 = load i32, ptr %2, align 4
%45 = load ptr, ptr %3, align 8
%46 = load ptr, ptr %4, align 8
%47 = call i32 @order(i32 noundef %44, ptr noundef %45, ptr noundef %46)
%48 = load i32, ptr %2, align 4
%49 = load ptr, ptr %4, align 8
%50 = call i32 @print_array(i32 noundef %48, ptr noundef %49)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @order(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @print_array(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_winfeex.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"%d %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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %3, align 8
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 4
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %4, align 8
store i32 0, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %45
.lr.ph: ; preds = %0
br label %24
24: ; preds = %.lr.ph, %39
%25 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7)
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %26, %27
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
store i32 %28, ptr %32, align 4
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
store i32 %34, ptr %38, align 4
br label %39
39: ; preds = %24
%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 %2, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %0
%46 = load i32, ptr %2, align 4
%47 = load ptr, ptr %3, align 8
%48 = load ptr, ptr %4, align 8
%49 = call i32 @order(i32 noundef %46, ptr noundef %47, ptr noundef %48)
%50 = load i32, ptr %2, align 4
%51 = load ptr, ptr %4, align 8
%52 = call i32 @print_array(i32 noundef %50, ptr noundef %51)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @order(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @print_array(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"}
|
; ModuleID = '/tmp/tmp80845e3y.c'
source_filename = "/tmp/tmp80845e3y.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 @fb_completed() #0 {
%1 = call i32 @sys_call(i32 noundef 20, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret i32 %1
}
declare i32 @sys_call(i32 noundef, i32 noundef, i32 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/tmp80845e3y.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 @fb_completed() #0 {
%1 = call i32 @sys_call(i32 noundef 20, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret i32 %1
}
declare i32 @sys_call(i32 noundef, i32 noundef, i32 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/tmp73fq583h.c'
source_filename = "/tmp/tmp73fq583h.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"
@SQLITE_OK = 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/tmp73fq583h.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"
@SQLITE_OK = 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/tmpzt6m3lx1.c'
source_filename = "/tmp/tmpzt6m3lx1.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 @foo() #0 {
%1 = alloca [10000 x i8], align 16
%2 = alloca i16, align 2
call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 10000, i1 false)
store i16 9999, ptr %2, align 2
br label %3
3: ; preds = %8, %0
%4 = load i16, ptr %2, align 2
%5 = add i16 %4, -1
store i16 %5, ptr %2, align 2
%6 = zext i16 %4 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %3
%9 = load i16, ptr %2, align 2
%10 = zext i16 %9 to i64
%11 = getelementptr inbounds [10000 x i8], ptr %1, i64 0, i64 %10
store i8 65, ptr %11, align 1
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = getelementptr inbounds [10000 x i8], ptr %1, i64 0, i64 0
%14 = call i32 @bar(ptr noundef %13)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @bar(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: write) }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzt6m3lx1.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 @foo() #0 {
%1 = alloca [10000 x i8], align 16
%2 = alloca i16, align 2
call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 10000, i1 false)
store i16 9999, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = add i16 %3, -1
store i16 %4, ptr %2, align 2
%5 = zext i16 %3 to i32
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i16, ptr %2, align 2
%9 = zext i16 %8 to i64
%10 = getelementptr inbounds [10000 x i8], ptr %1, i64 0, i64 %9
store i8 65, ptr %10, align 1
%11 = load i16, ptr %2, align 2
%12 = add i16 %11, -1
store i16 %12, ptr %2, align 2
%13 = zext i16 %11 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %15
15: ; preds = %._crit_edge, %0
%16 = getelementptr inbounds [10000 x i8], ptr %1, i64 0, i64 0
%17 = call i32 @bar(ptr noundef %16)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @bar(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: write) }
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"}
|
; ModuleID = '/tmp/tmpnhlboaqj.c'
source_filename = "/tmp/tmpnhlboaqj.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 @time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = ptrtoint ptr %5 to i64
%7 = call { i64, i64 } asm sideeffect "int $$0x80", "={ax},=&{bx},0,1,~{dirflag},~{fpsr},~{flags}"(i64 13, i64 %6) #1, !srcloc !6
%8 = extractvalue { i64, i64 } %7, 0
%9 = extractvalue { i64, i64 } %7, 1
store i64 %8, ptr %3, align 8
store i64 %9, ptr %4, align 8
%10 = load i64, ptr %3, align 8
%11 = inttoptr i64 %10 to ptr
ret ptr %11
}
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 = { nounwind }
!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 = !{i64 487}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnhlboaqj.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 @time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = ptrtoint ptr %5 to i64
%7 = call { i64, i64 } asm sideeffect "int $$0x80", "={ax},=&{bx},0,1,~{dirflag},~{fpsr},~{flags}"(i64 13, i64 %6) #1, !srcloc !6
%8 = extractvalue { i64, i64 } %7, 0
%9 = extractvalue { i64, i64 } %7, 1
store i64 %8, ptr %3, align 8
store i64 %9, ptr %4, align 8
%10 = load i64, ptr %3, align 8
%11 = inttoptr i64 %10 to ptr
ret ptr %11
}
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 = { nounwind }
!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 = !{i64 487}
|
; ModuleID = '/tmp/tmplsclb9bj.c'
source_filename = "/tmp/tmplsclb9bj.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 [13 x i8] c"hello,worldz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
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/tmplsclb9bj.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 [13 x i8] c"hello,worldz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
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/tmpqxxu9tk5.c'
source_filename = "/tmp/tmpqxxu9tk5.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/tmpqxxu9tk5.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/tmpcpn7b116.c'
source_filename = "/tmp/tmpcpn7b116.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/tmpcpn7b116.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/tmpuh7vf22t.c'
source_filename = "/tmp/tmpuh7vf22t.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 [15 x i8] c"SRAY_DATA_PATH\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_path(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @getenv(ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @set_path(ptr noundef %9)
store i32 %10, ptr %2, align 4
br label %25
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strlen(ptr noundef %14)
%16 = add nsw i64 %13, %15
%17 = add nsw i64 %16, 2
%18 = call ptr @alloca(i64 noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @set_path(ptr noundef %23)
store i32 %24, ptr %2, align 4
br label %25
25: ; preds = %11, %8
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare ptr @getenv(ptr noundef) #1
declare i32 @set_path(ptr noundef) #1
declare ptr @alloca(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(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/tmpuh7vf22t.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 [15 x i8] c"SRAY_DATA_PATH\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_path(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @getenv(ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @set_path(ptr noundef %9)
store i32 %10, ptr %2, align 4
br label %25
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strlen(ptr noundef %14)
%16 = add nsw i64 %13, %15
%17 = add nsw i64 %16, 2
%18 = call ptr @alloca(i64 noundef %17)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @set_path(ptr noundef %23)
store i32 %24, ptr %2, align 4
br label %25
25: ; preds = %11, %8
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare ptr @getenv(ptr noundef) #1
declare i32 @set_path(ptr noundef) #1
declare ptr @alloca(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(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/tmpj_zpxvz6.c'
source_filename = "/tmp/tmpj_zpxvz6.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 [65 x i8] c"Calcula la suma, la multiplicacio i la mitjana del 1 fins a n.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\09\09n.>\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"\0ALa suma de 1 fins a %d es de %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"El producte dels nombres entre 1 i %d es de %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"La mitjana da la suma es de %.2f.\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 float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %3, align 4
br label %11
11: ; preds = %20, %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %5, align 4
%17 = mul nsw i32 %16, %15
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %2, align 4
br label %20
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %11, label %23, !llvm.loop !6
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = sitofp i32 %24 to float
%26 = load i32, ptr %3, align 4
%27 = sitofp i32 %26 to float
%28 = fdiv float %25, %27
store float %28, ptr %6, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29, i32 noundef %30)
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %5, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32, i32 noundef %33)
%35 = load float, ptr %6, align 4
%36 = fpext float %35 to double
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %36)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_zpxvz6.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 [65 x i8] c"Calcula la suma, la multiplicacio i la mitjana del 1 fins a n.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\09\09n.>\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"\0ALa suma de 1 fins a %d es de %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"El producte dels nombres entre 1 i %d es de %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"La mitjana da la suma es de %.2f.\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 float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %3, align 4
br label %11
11: ; preds = %20, %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %5, align 4
%17 = mul nsw i32 %16, %15
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %2, align 4
br label %20
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %11, label %23, !llvm.loop !6
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = sitofp i32 %24 to float
%26 = load i32, ptr %3, align 4
%27 = sitofp i32 %26 to float
%28 = fdiv float %25, %27
store float %28, ptr %6, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29, i32 noundef %30)
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %5, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32, i32 noundef %33)
%35 = load float, ptr %6, align 4
%36 = fpext float %35 to double
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %36)
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"}
|
; ModuleID = '/tmp/tmp65q53u7l.c'
source_filename = "/tmp/tmp65q53u7l.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/tmp65q53u7l.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/tmp80_ahupx.c'
source_filename = "/tmp/tmp80_ahupx.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 [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0x87\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x87() #0 {
%1 = call i64 @isgraph(i32 noundef 135)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 680, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmp80_ahupx.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 [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0x87\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x87() #0 {
%1 = call i64 @isgraph(i32 noundef 135)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 680, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmp24x6cwmb.c'
source_filename = "/tmp/tmp24x6cwmb.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 @ece391_strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%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 eq i64 0, %8
br i1 %9, label %10, label %11
10: ; preds = %3
store i64 0, ptr %4, align 8
br label %43
11: ; preds = %3
br label %12
12: ; preds = %30, %11
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %15, %18
br i1 %19, label %20, label %35
20: ; preds = %12
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label %29, label %25
25: ; preds = %20
%26 = load i64, ptr %7, align 8
%27 = add nsw i64 %26, -1
store i64 %27, ptr %7, align 8
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %25, %20
store i64 0, ptr %4, align 8
br label %43
30: ; preds = %25
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %5, align 8
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %6, align 8
br label %12, !llvm.loop !6
35: ; preds = %12
%36 = load ptr, ptr %5, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i64
%39 = load ptr, ptr %6, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i64
%42 = sub nsw i64 %38, %41
store i64 %42, ptr %4, align 8
br label %43
43: ; preds = %35, %29, %10
%44 = load i64, ptr %4, align 8
ret i64 %44
}
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/tmp24x6cwmb.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 @ece391_strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%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 eq i64 0, %8
br i1 %9, label %10, label %11
10: ; preds = %3
store i64 0, ptr %4, align 8
br label %49
11: ; preds = %3
%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 eq i32 %14, %17
br i1 %18, label %.lr.ph, label %41
.lr.ph: ; preds = %11
br label %19
19: ; preds = %.lr.ph, %29
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %19
%25 = load i64, ptr %7, align 8
%26 = add nsw i64 %25, -1
store i64 %26, ptr %7, align 8
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24, %19
store i64 0, ptr %4, align 8
br label %49
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %5, align 8
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %6, align 8
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load ptr, ptr %6, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %36, %39
br i1 %40, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %41
41: ; preds = %._crit_edge, %11
%42 = load ptr, ptr %5, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i64
%45 = load ptr, ptr %6, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i64
%48 = sub nsw i64 %44, %47
store i64 %48, ptr %4, align 8
br label %49
49: ; preds = %41, %28, %10
%50 = load i64, ptr %4, align 8
ret i64 %50
}
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/tmpeg85x6j8.c'
source_filename = "/tmp/tmpeg85x6j8.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"
@new_corner.corner = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @new_corner() #0 {
%1 = load i32, ptr @new_corner.corner, align 4
%2 = add nsw i32 %1, 1
%3 = srem i32 %2, 4
store i32 %3, ptr @new_corner.corner, align 4
%4 = load i32, ptr @new_corner.corner, align 4
switch i32 %4, label %13 [
i32 0, label %5
i32 1, label %7
i32 2, label %9
i32 3, label %11
]
5: ; preds = %0
%6 = call i32 @go(i32 noundef 10, i32 noundef 10)
br label %13
7: ; preds = %0
%8 = call i32 @go(i32 noundef 10, i32 noundef 990)
br label %13
9: ; preds = %0
%10 = call i32 @go(i32 noundef 990, i32 noundef 990)
br label %13
11: ; preds = %0
%12 = call i32 @go(i32 noundef 990, i32 noundef 10)
br label %13
13: ; preds = %0, %11, %9, %7, %5
ret void
}
declare i32 @go(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/tmpeg85x6j8.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"
@new_corner.corner = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @new_corner() #0 {
%1 = load i32, ptr @new_corner.corner, align 4
%2 = add nsw i32 %1, 1
%3 = srem i32 %2, 4
store i32 %3, ptr @new_corner.corner, align 4
%4 = load i32, ptr @new_corner.corner, align 4
switch i32 %4, label %13 [
i32 0, label %5
i32 1, label %7
i32 2, label %9
i32 3, label %11
]
5: ; preds = %0
%6 = call i32 @go(i32 noundef 10, i32 noundef 10)
br label %13
7: ; preds = %0
%8 = call i32 @go(i32 noundef 10, i32 noundef 990)
br label %13
9: ; preds = %0
%10 = call i32 @go(i32 noundef 990, i32 noundef 990)
br label %13
11: ; preds = %0
%12 = call i32 @go(i32 noundef 990, i32 noundef 10)
br label %13
13: ; preds = %11, %9, %7, %5, %0
ret void
}
declare i32 @go(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/tmpx4dhk0ay.c'
source_filename = "/tmp/tmpx4dhk0ay.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.dirent = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ace_tu_fs_is_directory_empty(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @ace_fs_does_directory_exist(ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %30
11: ; preds = %1
store i32 1, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = call ptr @opendir(ptr noundef %12)
store ptr %13, ptr %6, align 8
br label %14
14: ; preds = %25, %11
%15 = load ptr, ptr %6, align 8
%16 = call ptr @readdir(ptr noundef %15)
store ptr %16, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.dirent, ptr %19, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = call i32 @ace_fs_is_current_or_parent_directory(i32 noundef %21)
%23 = icmp ne i32 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %18
store i32 0, ptr %4, align 4
br label %26
25: ; preds = %18
br label %14, !llvm.loop !6
26: ; preds = %24, %14
%27 = load ptr, ptr %6, align 8
%28 = call i32 @closedir(ptr noundef %27)
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %26, %10
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @ace_fs_does_directory_exist(ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @ace_fs_is_current_or_parent_directory(i32 noundef) #1
declare i32 @closedir(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/tmpx4dhk0ay.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.dirent = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ace_tu_fs_is_directory_empty(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @ace_fs_does_directory_exist(ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %32
11: ; preds = %1
store i32 1, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = call ptr @opendir(ptr noundef %12)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = call ptr @readdir(ptr noundef %14)
store ptr %15, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %11
br label %21
17: ; preds = %21
%18 = load ptr, ptr %6, align 8
%19 = call ptr @readdir(ptr noundef %18)
store ptr %19, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %..loopexit_crit_edge, !llvm.loop !6
21: ; preds = %.lr.ph, %17
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.dirent, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = call i32 @ace_fs_is_current_or_parent_directory(i32 noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %17, label %27
27: ; preds = %21
store i32 0, ptr %4, align 4
br label %28
..loopexit_crit_edge: ; preds = %17
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %11
br label %28
28: ; preds = %.loopexit, %27
%29 = load ptr, ptr %6, align 8
%30 = call i32 @closedir(ptr noundef %29)
%31 = load i32, ptr %4, align 4
store i32 %31, ptr %2, align 4
br label %32
32: ; preds = %28, %10
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @ace_fs_does_directory_exist(ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @ace_fs_is_current_or_parent_directory(i32 noundef) #1
declare i32 @closedir(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/tmpqdq5jg4h.c'
source_filename = "/tmp/tmpqdq5jg4h.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
store i32 0, ptr %1, align 4
%2 = call i32 (...) @isdn_port_info()
ret i32 0
}
declare i32 @isdn_port_info(...) #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/tmpqdq5jg4h.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
store i32 0, ptr %1, align 4
%2 = call i32 (...) @isdn_port_info()
ret i32 0
}
declare i32 @isdn_port_info(...) #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/tmpm4z01_u1.c'
source_filename = "/tmp/tmpm4z01_u1.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 @rnd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @rand()
%4 = load i32, ptr %2, align 4
%5 = srem i32 %3, %4
ret i32 %5
}
declare i32 @rand(...) #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/tmpm4z01_u1.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 @rnd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @rand()
%4 = load i32, ptr %2, align 4
%5 = srem i32 %3, %4
ret i32 %5
}
declare i32 @rand(...) #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/tmpn06wsr6n.c'
source_filename = "/tmp/tmpn06wsr6n.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/tmpn06wsr6n.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/tmpohjrx4ab.c'
source_filename = "/tmp/tmpohjrx4ab.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 [22 x i8] c"No FIPS ECDH support\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
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/tmpohjrx4ab.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 [22 x i8] c"No FIPS ECDH support\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
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/tmpbaqq2td8.c'
source_filename = "/tmp/tmpbaqq2td8.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 @entrypoint() #0 {
%1 = call i32 (...) @bar()
%2 = call i32 (...) @foo()
%3 = add nsw i32 %1, %2
%4 = call i32 (...) @a0()
%5 = add nsw i32 %3, %4
%6 = call i32 @j0(i32 noundef 5)
%7 = add nsw i32 %5, %6
ret i32 %7
}
declare i32 @bar(...) #1
declare i32 @foo(...) #1
declare i32 @a0(...) #1
declare i32 @j0(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/tmpbaqq2td8.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 @entrypoint() #0 {
%1 = call i32 (...) @bar()
%2 = call i32 (...) @foo()
%3 = add nsw i32 %1, %2
%4 = call i32 (...) @a0()
%5 = add nsw i32 %3, %4
%6 = call i32 @j0(i32 noundef 5)
%7 = add nsw i32 %5, %6
ret i32 %7
}
declare i32 @bar(...) #1
declare i32 @foo(...) #1
declare i32 @a0(...) #1
declare i32 @j0(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/tmplg1_1u42.c'
source_filename = "/tmp/tmplg1_1u42.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 [30 x i8] c"\0A Array list is as follows: \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\09 %d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_list(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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %18, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %7
%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 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplg1_1u42.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 [30 x i8] c"\0A Array list is as follows: \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\09 %d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_list(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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%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 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps_sprp21.c'
source_filename = "/tmp/tmps_sprp21.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 @lcd_display_map(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %28, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 48
br i1 %7, label %8, label %31
8: ; preds = %5
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %24, %8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 84
br i1 %11, label %12, label %27
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [84 x i8], ptr %15, i64 %17
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [84 x i8], ptr %18, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call i32 @lcd_display_map_bit(i32 noundef %13, i32 noundef %14, i8 noundef zeroext %22)
br label %24
24: ; preds = %12
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %9, !llvm.loop !6
27: ; preds = %9
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %5, !llvm.loop !8
31: ; preds = %5
ret void
}
declare i32 @lcd_display_map_bit(i32 noundef, i32 noundef, 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_sprp21.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 @lcd_display_map(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 48
br i1 %6, label %.lr.ph2, label %33
.lr.ph2: ; preds = %1
br label %7
7: ; preds = %.lr.ph2, %28
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 84
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %22
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [84 x i8], ptr %13, i64 %15
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [84 x i8], ptr %16, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i32 @lcd_display_map_bit(i32 noundef %11, i32 noundef %12, i8 noundef zeroext %20)
br label %22
22: ; preds = %10
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 84
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %7
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %31, 48
br i1 %32, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @lcd_display_map_bit(i32 noundef, i32 noundef, 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmwbvqaba.c'
source_filename = "/tmp/tmpmwbvqaba.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 @stdlib_ndarray_get_ptr_int16(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 i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
store i32 %6, ptr %7, align 4
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/tmpmwbvqaba.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 @stdlib_ndarray_get_ptr_int16(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 i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
store i32 %6, ptr %7, align 4
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/tmp4h8cpea5.c'
source_filename = "/tmp/tmp4h8cpea5.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/tmp4h8cpea5.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/tmpvoq8fh8v.c'
source_filename = "/tmp/tmpvoq8fh8v.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.a = private unnamed_addr constant [3 x i32] [i32 10, i32 20, i32 30], align 4
@.str = private unnamed_addr constant [9 x i8] c"a = %i \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 [3 x i32], align 4
%7 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.a, i64 12, i1 false)
store i32 0, ptr %7, align 4
%8 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0
%9 = call i32 @erhoehe(ptr noundef %8)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %19, %2
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %13
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
br label %10, !llvm.loop !6
22: ; preds = %10
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 @erhoehe(ptr noundef) #2
declare i32 @printf(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 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvoq8fh8v.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.a = private unnamed_addr constant [3 x i32] [i32 10, i32 20, i32 30], align 4
@.str = private unnamed_addr constant [9 x i8] c"a = %i \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 [3 x i32], align 4
%7 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.a, i64 12, i1 false)
store i32 0, ptr %7, align 4
%8 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0
%9 = call i32 @erhoehe(ptr noundef %8)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %18
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %12
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 3
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
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 @erhoehe(ptr noundef) #2
declare i32 @printf(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 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp94o7ojhz.c'
source_filename = "/tmp/tmp94o7ojhz.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"# - A - B - C - D - E - F - G - H - I - J\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"-----------------------------------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%i |\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c" X \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" M \00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c" ? \00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c" C \00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c" B \00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c" R \00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c" S \00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c" D \00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @drawBoard(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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %71, %2
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %74
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
store i32 0, ptr %6, align 4
br label %15
15: ; preds = %66, %12
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %18, label %69
18: ; preds = %15
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %37, label %21
21: ; preds = %18
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [0 x [10 x i32]], ptr %22, i64 0, i64 %24
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i32], ptr %25, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
switch i32 %29, label %34 [
i32 9, label %30
i32 8, label %32
]
30: ; preds = %21
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %36
32: ; preds = %21
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %36
34: ; preds = %21
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %36
36: ; preds = %34, %32, %30
br label %65
37: ; preds = %18
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [0 x [10 x i32]], ptr %38, i64 0, i64 %40
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10 x i32], ptr %41, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
switch i32 %45, label %62 [
i32 0, label %46
i32 1, label %48
i32 2, label %50
i32 3, label %52
i32 4, label %54
i32 5, label %56
i32 8, label %58
i32 9, label %60
]
46: ; preds = %37
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %64
48: ; preds = %37
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %64
50: ; preds = %37
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %64
52: ; preds = %37
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %64
54: ; preds = %37
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %64
56: ; preds = %37
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %64
58: ; preds = %37
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %64
60: ; preds = %37
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %64
62: ; preds = %37
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %64
64: ; preds = %62, %60, %58, %56, %54, %52, %50, %48, %46
br label %65
65: ; preds = %64, %36
br label %66
66: ; preds = %65
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
br label %15, !llvm.loop !6
69: ; preds = %15
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %71
71: ; preds = %69
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
br label %9, !llvm.loop !8
74: ; preds = %9
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp94o7ojhz.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"# - A - B - C - D - E - F - G - H - I - J\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"-----------------------------------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%i |\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c" X \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" M \00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c" ? \00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c" C \00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c" B \00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c" R \00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c" S \00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c" D \00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @drawBoard(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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %.lr.ph2, label %76
.lr.ph2: ; preds = %2
br label %11
11: ; preds = %.lr.ph2, %71
%12 = load i32, ptr %5, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
store i32 0, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %.lr.ph, label %69
.lr.ph: ; preds = %11
br label %16
16: ; preds = %.lr.ph, %64
%17 = load i32, ptr %4, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %35, label %19
19: ; preds = %16
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [0 x [10 x i32]], ptr %20, i64 0, i64 %22
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i32], ptr %23, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
switch i32 %27, label %32 [
i32 9, label %28
i32 8, label %30
]
28: ; preds = %19
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %34
30: ; preds = %19
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %34
32: ; preds = %19
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %34
34: ; preds = %32, %30, %28
br label %63
35: ; preds = %16
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [0 x [10 x i32]], ptr %36, i64 0, i64 %38
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i32], ptr %39, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
switch i32 %43, label %60 [
i32 0, label %44
i32 1, label %46
i32 2, label %48
i32 3, label %50
i32 4, label %52
i32 5, label %54
i32 8, label %56
i32 9, label %58
]
44: ; preds = %35
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %62
46: ; preds = %35
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %62
48: ; preds = %35
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %62
50: ; preds = %35
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %62
52: ; preds = %35
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %62
54: ; preds = %35
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %62
56: ; preds = %35
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %62
58: ; preds = %35
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %62
60: ; preds = %35
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %62
62: ; preds = %60, %58, %56, %54, %52, %50, %48, %46, %44
br label %63
63: ; preds = %62, %34
br label %64
64: ; preds = %63
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %67, 10
br i1 %68, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %69
69: ; preds = %._crit_edge, %11
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %71
71: ; preds = %69
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
%74 = load i32, ptr %5, align 4
%75 = icmp slt i32 %74, 10
br i1 %75, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %71
br label %76
76: ; preds = %._crit_edge3, %2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphyql16i3.c'
source_filename = "/tmp/tmphyql16i3.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 @Sort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = call i32 @QuickSort(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret void
}
declare i32 @QuickSort(ptr noundef, i32 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/tmphyql16i3.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 @Sort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = call i32 @QuickSort(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret void
}
declare i32 @QuickSort(ptr noundef, i32 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/tmpc2q4x1g0.c'
source_filename = "/tmp/tmpc2q4x1g0.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 @fit_arc(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fmul double 2.000000e+00, %6
%8 = load double, ptr %4, align 8
%9 = fneg double %7
%10 = call double @llvm.fmuladd.f64(double %9, double %8, double %5)
%11 = load double, ptr %4, align 8
%12 = load double, ptr %4, align 8
%13 = load double, ptr %3, align 8
%14 = call double @llvm.fmuladd.f64(double %11, double %12, double %13)
%15 = load double, ptr %3, align 8
%16 = load double, ptr %3, align 8
%17 = fneg double %15
%18 = call double @llvm.fmuladd.f64(double %17, double %16, double %14)
%19 = call double @atan2(double noundef %10, double noundef %18) #3
ret double %19
}
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { nounwind "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 speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!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/tmpc2q4x1g0.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 @fit_arc(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fmul double 2.000000e+00, %6
%8 = load double, ptr %4, align 8
%9 = fneg double %7
%10 = call double @llvm.fmuladd.f64(double %9, double %8, double %5)
%11 = load double, ptr %4, align 8
%12 = load double, ptr %4, align 8
%13 = load double, ptr %3, align 8
%14 = call double @llvm.fmuladd.f64(double %11, double %12, double %13)
%15 = load double, ptr %3, align 8
%16 = load double, ptr %3, align 8
%17 = fneg double %15
%18 = call double @llvm.fmuladd.f64(double %17, double %16, double %14)
%19 = call double @atan2(double noundef %10, double noundef %18) #3
ret double %19
}
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { nounwind "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 speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!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/tmph2c6ocky.c'
source_filename = "/tmp/tmph2c6ocky.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"
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @srcscr_set_bit(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @PROT_READ, align 4
%8 = load i32, ptr @PROT_WRITE, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @MAP_SHARED, align 4
%11 = load i32, ptr %3, align 4
%12 = call ptr @mmap(i32 noundef 0, i64 noundef 4, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef 34439168)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %13, align 8
store i64 %14, ptr %6, align 8
%15 = load i64, ptr %6, align 8
%16 = load i32, ptr %4, align 4
%17 = zext i32 %16 to i64
%18 = or i64 %15, %17
%19 = load ptr, ptr %5, align 8
store i64 %18, ptr %19, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @munmap(ptr noundef %20, i64 noundef 4)
ret void
}
declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @munmap(ptr noundef, 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/tmph2c6ocky.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"
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @srcscr_set_bit(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @PROT_READ, align 4
%8 = load i32, ptr @PROT_WRITE, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @MAP_SHARED, align 4
%11 = load i32, ptr %3, align 4
%12 = call ptr @mmap(i32 noundef 0, i64 noundef 4, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef 34439168)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %13, align 8
store i64 %14, ptr %6, align 8
%15 = load i64, ptr %6, align 8
%16 = load i32, ptr %4, align 4
%17 = zext i32 %16 to i64
%18 = or i64 %15, %17
%19 = load ptr, ptr %5, align 8
store i64 %18, ptr %19, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @munmap(ptr noundef %20, i64 noundef 4)
ret void
}
declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @munmap(ptr noundef, 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/tmpte2xct7k.c'
source_filename = "/tmp/tmpte2xct7k.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 @runner(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = call i32 @pthread_exit(i32 noundef 0)
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
declare i32 @pthread_exit(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/tmpte2xct7k.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 @runner(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = call i32 @pthread_exit(i32 noundef 0)
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
declare i32 @pthread_exit(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/tmp2navq6ed.c'
source_filename = "/tmp/tmp2navq6ed.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 @vis5d_set_cursor_type(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 ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @XCreateFontCursor(ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 @XDefineCursor(ptr noundef %11, i32 noundef %12, i32 noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = call i32 @XFreeCursor(ptr noundef %15, i32 noundef %16)
ret i32 1
}
declare i32 @XCreateFontCursor(ptr noundef, i32 noundef) #1
declare i32 @XDefineCursor(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XFreeCursor(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/tmp2navq6ed.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 @vis5d_set_cursor_type(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 ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @XCreateFontCursor(ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 @XDefineCursor(ptr noundef %11, i32 noundef %12, i32 noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = call i32 @XFreeCursor(ptr noundef %15, i32 noundef %16)
ret i32 1
}
declare i32 @XCreateFontCursor(ptr noundef, i32 noundef) #1
declare i32 @XDefineCursor(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XFreeCursor(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/tmpkx8_kqtm.c'
source_filename = "/tmp/tmpkx8_kqtm.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"
@TIOCM_DTR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_dtr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @get_mlines(i32 noundef %4)
%6 = load i32, ptr @TIOCM_DTR, align 4
%7 = and i32 %5, %6
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @get_mlines(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/tmpkx8_kqtm.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"
@TIOCM_DTR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_dtr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @get_mlines(i32 noundef %4)
%6 = load i32, ptr @TIOCM_DTR, align 4
%7 = and i32 %5, %6
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @get_mlines(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/tmpdjey6upa.c'
source_filename = "/tmp/tmpdjey6upa.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 @gbcode_get_str_len(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %29, %1
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br label %14
14: ; preds = %9, %6
%15 = phi i1 [ false, %6 ], [ %13, %9 ]
br i1 %15, label %16, label %34
16: ; preds = %14
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp sgt i32 %19, 128
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %21, %16
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 2
store ptr %28, ptr %4, align 8
br label %29
29: ; preds = %26, %21
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %6, !llvm.loop !6
34: ; preds = %14
%35 = load i32, ptr %3, align 4
ret i32 %35
}
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/tmpdjey6upa.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 @gbcode_get_str_len(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %29, %1
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br label %14
14: ; preds = %9, %6
%15 = phi i1 [ false, %6 ], [ %13, %9 ]
br i1 %15, label %16, label %34
16: ; preds = %14
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp sgt i32 %19, 128
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %21, %16
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 2
store ptr %28, ptr %4, align 8
br label %29
29: ; preds = %26, %21
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %6, !llvm.loop !6
34: ; preds = %14
%35 = load i32, ptr %3, align 4
ret i32 %35
}
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/tmpmd0a0rmn.c'
source_filename = "/tmp/tmpmd0a0rmn.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 [40 x i8] c"Configuring exfiles password lookup...\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"passwd\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"exfiles\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Error configuring NSS\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 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = call i32 @__nss_configure_lookup(ptr noundef @.str.1, ptr noundef @.str.2)
%6 = icmp eq i32 -1, %5
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str.3)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %0
%11 = call i32 (...) @setpwent()
br label %12
12: ; preds = %21, %10
%13 = call ptr (...) @getpwent()
store ptr %13, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = icmp eq ptr null, %14
br i1 %15, label %16, label %17
16: ; preds = %12
br label %24
17: ; preds = %12
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %2, align 8
%20 = call i32 @print_passwd_struct(i32 noundef %18, ptr noundef %19)
br label %21
21: ; preds = %17
%22 = load ptr, ptr %2, align 8
%23 = icmp ne ptr null, %22
br i1 %23, label %12, label %24, !llvm.loop !6
24: ; preds = %21, %16
%25 = call i32 (...) @endpwent()
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @__nss_configure_lookup(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setpwent(...) #1
declare ptr @getpwent(...) #1
declare i32 @print_passwd_struct(i32 noundef, ptr noundef) #1
declare i32 @endpwent(...) #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 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmd0a0rmn.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 [40 x i8] c"Configuring exfiles password lookup...\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"passwd\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"exfiles\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Error configuring NSS\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 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = call i32 @__nss_configure_lookup(ptr noundef @.str.1, ptr noundef @.str.2)
%6 = icmp eq i32 -1, %5
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str.3)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %0
%11 = call i32 (...) @setpwent()
br label %12
12: ; preds = %21, %10
%13 = call ptr (...) @getpwent()
store ptr %13, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = icmp eq ptr null, %14
br i1 %15, label %16, label %17
16: ; preds = %12
br label %24
17: ; preds = %12
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %2, align 8
%20 = call i32 @print_passwd_struct(i32 noundef %18, ptr noundef %19)
br label %21
21: ; preds = %17
%22 = load ptr, ptr %2, align 8
%23 = icmp ne ptr null, %22
br i1 %23, label %12, label %.loopexit, !llvm.loop !6
.loopexit: ; preds = %21
br label %24
24: ; preds = %.loopexit, %16
%25 = call i32 (...) @endpwent()
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @__nss_configure_lookup(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setpwent(...) #1
declare ptr @getpwent(...) #1
declare i32 @print_passwd_struct(i32 noundef, ptr noundef) #1
declare i32 @endpwent(...) #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 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp49neh6nd.c'
source_filename = "/tmp/tmp49neh6nd.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/tmp49neh6nd.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/tmppmxt0spr.c'
source_filename = "/tmp/tmppmxt0spr.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/tmppmxt0spr.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/tmpwl2c32le.c'
source_filename = "/tmp/tmpwl2c32le.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/tmpwl2c32le.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/tmpfzwxzly2.c'
source_filename = "/tmp/tmpfzwxzly2.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 [6 x i8] c"%s : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_out_shammx64_msg(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
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
%9 = load ptr, ptr %5, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call i32 @dump_out_shammx64(ptr noundef %11, i32 noundef %12, i32 noundef %13)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @dump_out_shammx64(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/tmpfzwxzly2.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 [6 x i8] c"%s : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_out_shammx64_msg(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
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
%9 = load ptr, ptr %5, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call i32 @dump_out_shammx64(ptr noundef %11, i32 noundef %12, i32 noundef %13)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @dump_out_shammx64(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/tmpuco2v2fd.c'
source_filename = "/tmp/tmpuco2v2fd.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"%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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %30, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 12
br i1 %5, label %6, label %33
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
%9 = add nsw i32 %7, 1
%10 = icmp eq i32 %9, 5
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
br label %29
14: ; preds = %6
%15 = load i32, ptr %2, align 4
%16 = srem i32 %15, 2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
br label %33
19: ; preds = %14
%20 = load i32, ptr %2, align 4
%21 = srem i32 %20, 3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
br label %30
24: ; preds = %19
%25 = load i32, ptr %2, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
br label %27
27: ; preds = %24
br label %28
28: ; preds = %27
br label %29
29: ; preds = %28, %11
br label %30
30: ; preds = %29, %23
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %3, !llvm.loop !6
33: ; preds = %18, %3
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuco2v2fd.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"%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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 12
br i1 %4, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %29
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %2, align 4
%8 = add nsw i32 %6, 1
%9 = icmp eq i32 %8, 5
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %28
13: ; preds = %5
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
br label %34
18: ; preds = %13
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
br label %29
23: ; preds = %18
%24 = load i32, ptr %2, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %23
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27, %10
br label %29
29: ; preds = %28, %22
%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, 12
br i1 %33, label %5, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %29
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %34
34: ; preds = %.loopexit, %17
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbkxh0aru.c'
source_filename = "/tmp/tmpbkxh0aru.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 @u8trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %15, %1
%5 = load ptr, ptr %2, align 8
%6 = call i64 @u8isbasespacec(ptr noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br label %13
13: ; preds = %8, %4
%14 = phi i1 [ false, %4 ], [ %12, %8 ]
br i1 %14, label %15, label %18
15: ; preds = %13
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %2, align 8
br label %4, !llvm.loop !6
18: ; preds = %13
%19 = load ptr, ptr %2, align 8
store ptr %19, ptr %3, align 8
br label %20
20: ; preds = %25, %18
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = call ptr @u8shiftc(ptr noundef %26, i32 noundef 1)
store ptr %27, ptr %3, align 8
br label %20, !llvm.loop !8
28: ; preds = %20
%29 = load ptr, ptr %3, align 8
%30 = call ptr @u8shiftc(ptr noundef %29, i32 noundef -1)
store ptr %30, ptr %3, align 8
br label %31
31: ; preds = %37, %28
%32 = load ptr, ptr %3, align 8
%33 = call i64 @u8isbasespacec(ptr noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %31
%36 = load ptr, ptr %3, align 8
store i8 0, ptr %36, align 1
br label %37
37: ; preds = %35
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 -1
store ptr %39, ptr %3, align 8
br label %31, !llvm.loop !9
40: ; preds = %31
%41 = load ptr, ptr %2, align 8
ret ptr %41
}
declare i64 @u8isbasespacec(ptr noundef) #1
declare ptr @u8shiftc(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/tmpbkxh0aru.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 @u8trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %15, %1
%5 = load ptr, ptr %2, align 8
%6 = call i64 @u8isbasespacec(ptr noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br label %13
13: ; preds = %8, %4
%14 = phi i1 [ false, %4 ], [ %12, %8 ]
br i1 %14, label %15, label %18
15: ; preds = %13
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %2, align 8
br label %4, !llvm.loop !6
18: ; preds = %13
%19 = load ptr, ptr %2, align 8
store ptr %19, ptr %3, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %.lr.ph, label %31
.lr.ph: ; preds = %18
br label %24
24: ; preds = %.lr.ph, %24
%25 = load ptr, ptr %3, align 8
%26 = call ptr @u8shiftc(ptr noundef %25, i32 noundef 1)
store ptr %26, ptr %3, align 8
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 0
br i1 %30, label %24, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %24
br label %31
31: ; preds = %._crit_edge, %18
%32 = load ptr, ptr %3, align 8
%33 = call ptr @u8shiftc(ptr noundef %32, i32 noundef -1)
store ptr %33, ptr %3, align 8
%34 = load ptr, ptr %3, align 8
%35 = call i64 @u8isbasespacec(ptr noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %.lr.ph2, label %45
.lr.ph2: ; preds = %31
br label %37
37: ; preds = %.lr.ph2, %39
%38 = load ptr, ptr %3, align 8
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %37
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 -1
store ptr %41, ptr %3, align 8
%42 = load ptr, ptr %3, align 8
%43 = call i64 @u8isbasespacec(ptr noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %37, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %31
%46 = load ptr, ptr %2, align 8
ret ptr %46
}
declare i64 @u8isbasespacec(ptr noundef) #1
declare ptr @u8shiftc(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/tmpj6xrbwny.c'
source_filename = "/tmp/tmpj6xrbwny.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"
@errno = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssgl_readsocket(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %7, align 4
store i32 %12, ptr %10, align 4
br label %13
13: ; preds = %45, %3
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %10, align 4
%17 = call i32 @recv(i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef 0)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %13
store i32 -1, ptr %4, align 4
br label %46
21: ; preds = %13
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %10, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 0, ptr %4, align 4
br label %46
26: ; preds = %21
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %26
%30 = load i32, ptr @errno, align 4
%31 = load i32, ptr @EINTR, align 4
%32 = sub nsw i32 0, %31
%33 = icmp eq i32 %30, %32
br i1 %33, label %34, label %35
34: ; preds = %29
br label %45
35: ; preds = %29
%36 = load i32, ptr %9, align 4
store i32 %36, ptr %4, align 4
br label %46
37: ; preds = %26
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %10, align 4
%40 = sub nsw i32 %39, %38
store i32 %40, ptr %10, align 4
%41 = load i32, ptr %9, align 4
%42 = load ptr, ptr %8, align 8
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8, ptr %42, i64 %43
store ptr %44, ptr %8, align 8
br label %45
45: ; preds = %37, %34
br i1 true, label %13, label %46
46: ; preds = %20, %25, %35, %45
%47 = load i32, ptr %4, align 4
ret i32 %47
}
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" }
!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/tmpj6xrbwny.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"
@errno = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssgl_readsocket(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %7, align 4
store i32 %12, ptr %10, align 4
br label %13
13: ; preds = %45, %3
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %10, align 4
%17 = call i32 @recv(i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef 0)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %13
store i32 -1, ptr %4, align 4
br label %46
21: ; preds = %13
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %10, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 0, ptr %4, align 4
br label %46
26: ; preds = %21
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %26
%30 = load i32, ptr @errno, align 4
%31 = load i32, ptr @EINTR, align 4
%32 = sub nsw i32 0, %31
%33 = icmp eq i32 %30, %32
br i1 %33, label %34, label %35
34: ; preds = %29
br label %45
35: ; preds = %29
%36 = load i32, ptr %9, align 4
store i32 %36, ptr %4, align 4
br label %46
37: ; preds = %26
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %10, align 4
%40 = sub nsw i32 %39, %38
store i32 %40, ptr %10, align 4
%41 = load i32, ptr %9, align 4
%42 = load ptr, ptr %8, align 8
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8, ptr %42, i64 %43
store ptr %44, ptr %8, align 8
br label %45
45: ; preds = %37, %34
br i1 true, label %13, label %.loopexit
.loopexit: ; preds = %45
br label %46
46: ; preds = %.loopexit, %35, %25, %20
%47 = load i32, ptr %4, align 4
ret i32 %47
}
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" }
!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/tmpmkn_4iqh.c'
source_filename = "/tmp/tmpmkn_4iqh.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 @parse_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [2048 x i8], align 16
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %5
5: ; preds = %127, %1
%6 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%7 = load ptr, ptr %2, align 8
%8 = call i64 @fgets(ptr noundef %6, i32 noundef 2048, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %128
10: ; preds = %5
%11 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%12 = load i8, ptr %11, align 16
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 33
br i1 %14, label %15, label %124
15: ; preds = %10
%16 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%17 = getelementptr inbounds i8, ptr %16, i64 2
store ptr %17, ptr %4, align 8
%18 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
switch i32 %20, label %120 [
i32 69, label %21
i32 73, label %43
i32 68, label %65
i32 70, label %87
]
21: ; preds = %15
br label %22
22: ; preds = %35, %21
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %33
27: ; preds = %22
%28 = load ptr, ptr %4, align 8
%29 = load i8, ptr %28, align 1
%30 = call i32 @isspace(i8 noundef signext %29)
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
br label %33
33: ; preds = %27, %22
%34 = phi i1 [ false, %22 ], [ %32, %27 ]
br i1 %34, label %35, label %38
35: ; preds = %33
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %4, align 8
br label %22, !llvm.loop !6
38: ; preds = %33
%39 = load ptr, ptr %4, align 8
store i8 0, ptr %39, align 1
%40 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%41 = getelementptr inbounds i8, ptr %40, i64 2
%42 = call i32 @externalfunctions(ptr noundef %41)
br label %123
43: ; preds = %15
br label %44
44: ; preds = %57, %43
%45 = load ptr, ptr %4, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %55
49: ; preds = %44
%50 = load ptr, ptr %4, align 8
%51 = load i8, ptr %50, align 1
%52 = call i32 @isspace(i8 noundef signext %51)
%53 = icmp ne i32 %52, 0
%54 = xor i1 %53, true
br label %55
55: ; preds = %49, %44
%56 = phi i1 [ false, %44 ], [ %54, %49 ]
br i1 %56, label %57, label %60
57: ; preds = %55
%58 = load ptr, ptr %4, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %4, align 8
br label %44, !llvm.loop !8
60: ; preds = %55
%61 = load ptr, ptr %4, align 8
store i8 0, ptr %61, align 1
%62 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%63 = getelementptr inbounds i8, ptr %62, i64 2
%64 = call i32 @internalfunctions(ptr noundef %63)
br label %123
65: ; preds = %15
br label %66
66: ; preds = %79, %65
%67 = load ptr, ptr %4, align 8
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %77
71: ; preds = %66
%72 = load ptr, ptr %4, align 8
%73 = load i8, ptr %72, align 1
%74 = call i32 @isspace(i8 noundef signext %73)
%75 = icmp ne i32 %74, 0
%76 = xor i1 %75, true
br label %77
77: ; preds = %71, %66
%78 = phi i1 [ false, %66 ], [ %76, %71 ]
br i1 %78, label %79, label %82
79: ; preds = %77
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds i8, ptr %80, i32 1
store ptr %81, ptr %4, align 8
br label %66, !llvm.loop !9
82: ; preds = %77
%83 = load ptr, ptr %4, align 8
store i8 0, ptr %83, align 1
%84 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%85 = getelementptr inbounds i8, ptr %84, i64 2
%86 = call i32 @symbolsonly(ptr noundef %85)
br label %123
87: ; preds = %15
br label %88
88: ; preds = %101, %87
%89 = load ptr, ptr %4, align 8
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %99
93: ; preds = %88
%94 = load ptr, ptr %4, align 8
%95 = load i8, ptr %94, align 1
%96 = call i32 @isspace(i8 noundef signext %95)
%97 = icmp ne i32 %96, 0
%98 = xor i1 %97, true
br label %99
99: ; preds = %93, %88
%100 = phi i1 [ false, %88 ], [ %98, %93 ]
br i1 %100, label %101, label %104
101: ; preds = %99
%102 = load ptr, ptr %4, align 8
%103 = getelementptr inbounds i8, ptr %102, i32 1
store ptr %103, ptr %4, align 8
br label %88, !llvm.loop !10
104: ; preds = %99
%105 = load ptr, ptr %4, align 8
%106 = getelementptr inbounds i8, ptr %105, i32 1
store ptr %106, ptr %4, align 8
store i8 0, ptr %105, align 1
br label %107
107: ; preds = %112, %104
%108 = load ptr, ptr %4, align 8
%109 = load i8, ptr %108, align 1
%110 = call i32 @isspace(i8 noundef signext %109)
%111 = icmp ne i32 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %107
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds i8, ptr %113, i32 1
store ptr %114, ptr %4, align 8
br label %107, !llvm.loop !11
115: ; preds = %107
%116 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%117 = getelementptr inbounds i8, ptr %116, i64 2
%118 = load ptr, ptr %4, align 8
%119 = call i32 @singlefunctions(ptr noundef %117, ptr noundef %118)
br label %123
120: ; preds = %15
%121 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%122 = call i32 @defaultline(ptr noundef %121)
br label %123
123: ; preds = %120, %115, %82, %60, %38
br label %127
124: ; preds = %10
%125 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%126 = call i32 @defaultline(ptr noundef %125)
br label %127
127: ; preds = %124, %123
br label %5, !llvm.loop !12
128: ; preds = %5
%129 = load i32, ptr @stdout, align 4
%130 = call i32 @fflush(i32 noundef %129)
ret void
}
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
declare i32 @externalfunctions(ptr noundef) #1
declare i32 @internalfunctions(ptr noundef) #1
declare i32 @symbolsonly(ptr noundef) #1
declare i32 @singlefunctions(ptr noundef, ptr noundef) #1
declare i32 @defaultline(ptr noundef) #1
declare i32 @fflush(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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmkn_4iqh.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 @parse_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [2048 x i8], align 16
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i64 @fgets(ptr noundef %5, i32 noundef 2048, ptr noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph2, label %133
.lr.ph2: ; preds = %1
br label %9
9: ; preds = %.lr.ph2, %129
%10 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%11 = load i8, ptr %10, align 16
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 33
br i1 %13, label %14, label %126
14: ; preds = %9
%15 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%16 = getelementptr inbounds i8, ptr %15, i64 2
store ptr %16, ptr %4, align 8
%17 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 1
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
switch i32 %19, label %122 [
i32 69, label %20
i32 73, label %42
i32 68, label %64
i32 70, label %86
]
20: ; preds = %14
br label %21
21: ; preds = %34, %20
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %21
%27 = load ptr, ptr %4, align 8
%28 = load i8, ptr %27, align 1
%29 = call i32 @isspace(i8 noundef signext %28)
%30 = icmp ne i32 %29, 0
%31 = xor i1 %30, true
br label %32
32: ; preds = %26, %21
%33 = phi i1 [ false, %21 ], [ %31, %26 ]
br i1 %33, label %34, label %37
34: ; preds = %32
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %4, align 8
br label %21, !llvm.loop !6
37: ; preds = %32
%38 = load ptr, ptr %4, align 8
store i8 0, ptr %38, align 1
%39 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 2
%41 = call i32 @externalfunctions(ptr noundef %40)
br label %125
42: ; preds = %14
br label %43
43: ; preds = %56, %42
%44 = load ptr, ptr %4, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %54
48: ; preds = %43
%49 = load ptr, ptr %4, align 8
%50 = load i8, ptr %49, align 1
%51 = call i32 @isspace(i8 noundef signext %50)
%52 = icmp ne i32 %51, 0
%53 = xor i1 %52, true
br label %54
54: ; preds = %48, %43
%55 = phi i1 [ false, %43 ], [ %53, %48 ]
br i1 %55, label %56, label %59
56: ; preds = %54
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %4, align 8
br label %43, !llvm.loop !8
59: ; preds = %54
%60 = load ptr, ptr %4, align 8
store i8 0, ptr %60, align 1
%61 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%62 = getelementptr inbounds i8, ptr %61, i64 2
%63 = call i32 @internalfunctions(ptr noundef %62)
br label %125
64: ; preds = %14
br label %65
65: ; preds = %78, %64
%66 = load ptr, ptr %4, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %76
70: ; preds = %65
%71 = load ptr, ptr %4, align 8
%72 = load i8, ptr %71, align 1
%73 = call i32 @isspace(i8 noundef signext %72)
%74 = icmp ne i32 %73, 0
%75 = xor i1 %74, true
br label %76
76: ; preds = %70, %65
%77 = phi i1 [ false, %65 ], [ %75, %70 ]
br i1 %77, label %78, label %81
78: ; preds = %76
%79 = load ptr, ptr %4, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %4, align 8
br label %65, !llvm.loop !9
81: ; preds = %76
%82 = load ptr, ptr %4, align 8
store i8 0, ptr %82, align 1
%83 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%84 = getelementptr inbounds i8, ptr %83, i64 2
%85 = call i32 @symbolsonly(ptr noundef %84)
br label %125
86: ; preds = %14
br label %87
87: ; preds = %100, %86
%88 = load ptr, ptr %4, align 8
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp ne i32 %90, 0
br i1 %91, label %92, label %98
92: ; preds = %87
%93 = load ptr, ptr %4, align 8
%94 = load i8, ptr %93, align 1
%95 = call i32 @isspace(i8 noundef signext %94)
%96 = icmp ne i32 %95, 0
%97 = xor i1 %96, true
br label %98
98: ; preds = %92, %87
%99 = phi i1 [ false, %87 ], [ %97, %92 ]
br i1 %99, label %100, label %103
100: ; preds = %98
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds i8, ptr %101, i32 1
store ptr %102, ptr %4, align 8
br label %87, !llvm.loop !10
103: ; preds = %98
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds i8, ptr %104, i32 1
store ptr %105, ptr %4, align 8
store i8 0, ptr %104, align 1
%106 = load ptr, ptr %4, align 8
%107 = load i8, ptr %106, align 1
%108 = call i32 @isspace(i8 noundef signext %107)
%109 = icmp ne i32 %108, 0
br i1 %109, label %.lr.ph, label %117
.lr.ph: ; preds = %103
br label %110
110: ; preds = %.lr.ph, %110
%111 = load ptr, ptr %4, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %4, align 8
%113 = load ptr, ptr %4, align 8
%114 = load i8, ptr %113, align 1
%115 = call i32 @isspace(i8 noundef signext %114)
%116 = icmp ne i32 %115, 0
br i1 %116, label %110, label %._crit_edge, !llvm.loop !11
._crit_edge: ; preds = %110
br label %117
117: ; preds = %._crit_edge, %103
%118 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%119 = getelementptr inbounds i8, ptr %118, i64 2
%120 = load ptr, ptr %4, align 8
%121 = call i32 @singlefunctions(ptr noundef %119, ptr noundef %120)
br label %125
122: ; preds = %14
%123 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%124 = call i32 @defaultline(ptr noundef %123)
br label %125
125: ; preds = %122, %117, %81, %59, %37
br label %129
126: ; preds = %9
%127 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%128 = call i32 @defaultline(ptr noundef %127)
br label %129
129: ; preds = %126, %125
%130 = load ptr, ptr %2, align 8
%131 = call i64 @fgets(ptr noundef %5, i32 noundef 2048, ptr noundef %130)
%132 = icmp ne i64 %131, 0
br i1 %132, label %9, label %._crit_edge3, !llvm.loop !12
._crit_edge3: ; preds = %129
br label %133
133: ; preds = %._crit_edge3, %1
%134 = load i32, ptr @stdout, align 4
%135 = call i32 @fflush(i32 noundef %134)
ret void
}
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
declare i32 @externalfunctions(ptr noundef) #1
declare i32 @internalfunctions(ptr noundef) #1
declare i32 @symbolsonly(ptr noundef) #1
declare i32 @singlefunctions(ptr noundef, ptr noundef) #1
declare i32 @defaultline(ptr noundef) #1
declare i32 @fflush(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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp4tr1mtd1.c'
source_filename = "/tmp/tmp4tr1mtd1.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 @sudoku_solve(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 i64 @solveWithConditions(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @solveWithBacktracking(ptr noundef %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @solveWithConditions(ptr noundef) #1
declare i64 @solveWithBacktracking(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/tmp4tr1mtd1.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 @sudoku_solve(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 i64 @solveWithConditions(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @solveWithBacktracking(ptr noundef %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @solveWithConditions(ptr noundef) #1
declare i64 @solveWithBacktracking(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/tmpoks6z7yh.c'
source_filename = "/tmp/tmpoks6z7yh.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 [32 x i8] c"Usage: %s FileToCat [DestFile]\0A\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"Could not open output file \22%s\22!\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"File size: %d bytes\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 [1024 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [1024 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [64 x i8], align 16
%14 = alloca i32, align 4
%15 = alloca [1024 x i8], align 16
%16 = 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
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 2
br i1 %18, label %19, label %29
19: ; preds = %2
%20 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %20, i32 noundef 1024, ptr noundef @.str, ptr noundef %23)
store i32 %24, ptr %7, align 4
%25 = load i32, ptr @STDOUT_FILENO, align 4
%26 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%27 = load i32, ptr %7, align 4
%28 = call i32 @write(i32 noundef %25, ptr noundef %26, i32 noundef %27)
store i32 1, ptr %3, align 4
br label %94
29: ; preds = %2
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr @O_RDONLY, align 4
%34 = call i32 (ptr, i32, ...) @open(ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %29
store i32 1, ptr %3, align 4
br label %94
38: ; preds = %29
%39 = load i32, ptr %4, align 4
%40 = icmp sge i32 %39, 3
br i1 %40, label %41, label %70
41: ; preds = %38
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 2
%44 = load ptr, ptr %43, align 8
%45 = load i32, ptr @O_WRONLY, align 4
%46 = load i32, ptr @O_CREAT, align 4
%47 = or i32 %45, %46
%48 = load i32, ptr @O_EXCL, align 4
%49 = or i32 %47, %48
%50 = call i32 (ptr, i32, ...) @open(ptr noundef %44, i32 noundef %49, i32 noundef 420)
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp sge i32 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %41
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr @STDOUT_FILENO, align 4
%56 = call i32 @dup2(i32 noundef %54, i32 noundef %55)
%57 = load i32, ptr %9, align 4
%58 = call i32 @close(i32 noundef %57)
br label %69
59: ; preds = %41
%60 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 2
%63 = load ptr, ptr %62, align 8
%64 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %60, i32 noundef 1024, ptr noundef @.str.1, ptr noundef %63)
store i32 %64, ptr %11, align 4
%65 = load i32, ptr @STDOUT_FILENO, align 4
%66 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%67 = load i32, ptr %11, align 4
%68 = call i32 @write(i32 noundef %65, ptr noundef %66, i32 noundef %67)
br label %69
69: ; preds = %59, %53
br label %70
70: ; preds = %69, %38
store i32 0, ptr %12, align 4
br label %71
71: ; preds = %76, %70
%72 = load i32, ptr %8, align 4
%73 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%74 = call i32 @read(i32 noundef %72, ptr noundef %73, i32 noundef 64)
store i32 %74, ptr %14, align 4
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %84
76: ; preds = %71
%77 = load i32, ptr @STDOUT_FILENO, align 4
%78 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%79 = load i32, ptr %14, align 4
%80 = call i32 @write(i32 noundef %77, ptr noundef %78, i32 noundef %79)
%81 = load i32, ptr %14, align 4
%82 = load i32, ptr %12, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %12, align 4
br label %71, !llvm.loop !6
84: ; preds = %71
%85 = load i32, ptr %8, align 4
%86 = call i32 @close(i32 noundef %85)
%87 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0
%88 = load i32, ptr %12, align 4
%89 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %87, i32 noundef 1024, ptr noundef @.str.2, i32 noundef %88)
store i32 %89, ptr %16, align 4
%90 = load i32, ptr @STDOUT_FILENO, align 4
%91 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0
%92 = load i32, ptr %16, align 4
%93 = call i32 @write(i32 noundef %90, ptr noundef %91, i32 noundef %92)
store i32 0, ptr %3, align 4
br label %94
94: ; preds = %84, %37, %19
%95 = load i32, ptr %3, align 4
ret i32 %95
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @read(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoks6z7yh.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 [32 x i8] c"Usage: %s FileToCat [DestFile]\0A\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"Could not open output file \22%s\22!\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"File size: %d bytes\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 [1024 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [1024 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [64 x i8], align 16
%14 = alloca i32, align 4
%15 = alloca [1024 x i8], align 16
%16 = 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
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 2
br i1 %18, label %19, label %29
19: ; preds = %2
%20 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %20, i32 noundef 1024, ptr noundef @.str, ptr noundef %23)
store i32 %24, ptr %7, align 4
%25 = load i32, ptr @STDOUT_FILENO, align 4
%26 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%27 = load i32, ptr %7, align 4
%28 = call i32 @write(i32 noundef %25, ptr noundef %26, i32 noundef %27)
store i32 1, ptr %3, align 4
br label %96
29: ; preds = %2
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr @O_RDONLY, align 4
%34 = call i32 (ptr, i32, ...) @open(ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %29
store i32 1, ptr %3, align 4
br label %96
38: ; preds = %29
%39 = load i32, ptr %4, align 4
%40 = icmp sge i32 %39, 3
br i1 %40, label %41, label %70
41: ; preds = %38
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 2
%44 = load ptr, ptr %43, align 8
%45 = load i32, ptr @O_WRONLY, align 4
%46 = load i32, ptr @O_CREAT, align 4
%47 = or i32 %45, %46
%48 = load i32, ptr @O_EXCL, align 4
%49 = or i32 %47, %48
%50 = call i32 (ptr, i32, ...) @open(ptr noundef %44, i32 noundef %49, i32 noundef 420)
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp sge i32 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %41
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr @STDOUT_FILENO, align 4
%56 = call i32 @dup2(i32 noundef %54, i32 noundef %55)
%57 = load i32, ptr %9, align 4
%58 = call i32 @close(i32 noundef %57)
br label %69
59: ; preds = %41
%60 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 2
%63 = load ptr, ptr %62, align 8
%64 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %60, i32 noundef 1024, ptr noundef @.str.1, ptr noundef %63)
store i32 %64, ptr %11, align 4
%65 = load i32, ptr @STDOUT_FILENO, align 4
%66 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%67 = load i32, ptr %11, align 4
%68 = call i32 @write(i32 noundef %65, ptr noundef %66, i32 noundef %67)
br label %69
69: ; preds = %59, %53
br label %70
70: ; preds = %69, %38
store i32 0, ptr %12, align 4
%71 = load i32, ptr %8, align 4
%72 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%73 = call i32 @read(i32 noundef %71, ptr noundef %72, i32 noundef 64)
store i32 %73, ptr %14, align 4
%74 = icmp ne i32 %73, 0
br i1 %74, label %.lr.ph, label %86
.lr.ph: ; preds = %70
br label %75
75: ; preds = %.lr.ph, %75
%76 = load i32, ptr @STDOUT_FILENO, align 4
%77 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
%78 = load i32, ptr %14, align 4
%79 = call i32 @write(i32 noundef %76, ptr noundef %77, i32 noundef %78)
%80 = load i32, ptr %14, align 4
%81 = load i32, ptr %12, align 4
%82 = add nsw i32 %81, %80
store i32 %82, ptr %12, align 4
%83 = load i32, ptr %8, align 4
%84 = call i32 @read(i32 noundef %83, ptr noundef %72, i32 noundef 64)
store i32 %84, ptr %14, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %75, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %86
86: ; preds = %._crit_edge, %70
%87 = load i32, ptr %8, align 4
%88 = call i32 @close(i32 noundef %87)
%89 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0
%90 = load i32, ptr %12, align 4
%91 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %89, i32 noundef 1024, ptr noundef @.str.2, i32 noundef %90)
store i32 %91, ptr %16, align 4
%92 = load i32, ptr @STDOUT_FILENO, align 4
%93 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0
%94 = load i32, ptr %16, align 4
%95 = call i32 @write(i32 noundef %92, ptr noundef %93, i32 noundef %94)
store i32 0, ptr %3, align 4
br label %96
96: ; preds = %86, %37, %19
%97 = load i32, ptr %3, align 4
ret i32 %97
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @read(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"}
|
; ModuleID = '/tmp/tmpvkptaymv.c'
source_filename = "/tmp/tmpvkptaymv.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
!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/tmpvkptaymv.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
!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/tmpjonoallu.c'
source_filename = "/tmp/tmpjonoallu.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/tmpjonoallu.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/tmphjokpmku.c'
source_filename = "/tmp/tmphjokpmku.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/tmphjokpmku.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/tmpvdxz5__p.c'
source_filename = "/tmp/tmpvdxz5__p.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"00\00\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"11\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_reply(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = call i32 @write(i32 noundef %9, ptr noundef @.str, i32 noundef 3)
store i32 %10, ptr %5, align 4
br label %14
11: ; preds = %2
%12 = load i32, ptr %3, align 4
%13 = call i32 @write(i32 noundef %12, ptr noundef @.str.1, i32 noundef 3)
store i32 %13, ptr %5, align 4
br label %14
14: ; preds = %11, %8
ret void
}
declare i32 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvdxz5__p.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"00\00\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"11\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_reply(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = call i32 @write(i32 noundef %9, ptr noundef @.str, i32 noundef 3)
store i32 %10, ptr %5, align 4
br label %14
11: ; preds = %2
%12 = load i32, ptr %3, align 4
%13 = call i32 @write(i32 noundef %12, ptr noundef @.str.1, i32 noundef 3)
store i32 %13, ptr %5, align 4
br label %14
14: ; preds = %11, %8
ret void
}
declare i32 @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"}
|
; ModuleID = '/tmp/tmpnldc3kjz.c'
source_filename = "/tmp/tmpnldc3kjz.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/tmpnldc3kjz.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/tmpo7xn2cz2.c'
source_filename = "/tmp/tmpo7xn2cz2.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/tmpo7xn2cz2.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/tmp11j6bfhr.c'
source_filename = "/tmp/tmp11j6bfhr.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.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_folder(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
call void @llvm.memset.p0.i64(ptr align 4 %4, i8 0, i64 4, i1 false)
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strdup(ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @strrchr(ptr noundef %9, i8 noundef signext 47)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %19
13: ; preds = %1
%14 = load ptr, ptr %6, align 8
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @create_folder(ptr noundef %17)
br label %21
19: ; preds = %1
%20 = load ptr, ptr %5, align 8
store ptr %20, ptr %6, align 8
br label %21
21: ; preds = %19, %13
%22 = load ptr, ptr %3, align 8
%23 = call i32 @stat(ptr noundef %22, ptr noundef %4)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %35
25: ; preds = %21
%26 = load ptr, ptr %3, align 8
%27 = call i32 @mkdir(ptr noundef %26, i32 noundef 511)
%28 = load ptr, ptr %3, align 8
%29 = call i32 @stat(ptr noundef %28, ptr noundef %4)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load ptr, ptr %5, align 8
%33 = call i32 @free(ptr noundef %32)
store i32 0, ptr %2, align 4
br label %38
34: ; preds = %25
br label %35
35: ; preds = %34, %21
%36 = load ptr, ptr %5, align 8
%37 = call i32 @free(ptr noundef %36)
store i32 1, ptr %2, align 4
br label %38
38: ; preds = %35, %31
%39 = load i32, ptr %2, align 4
ret i32 %39
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @strdup(ptr noundef) #2
declare ptr @strrchr(ptr noundef, i8 noundef signext) #2
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i32 @mkdir(ptr noundef, i32 noundef) #2
declare i32 @free(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: write) }
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/tmp11j6bfhr.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.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_folder(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
call void @llvm.memset.p0.i64(ptr align 4 %4, i8 0, i64 4, i1 false)
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strdup(ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @strrchr(ptr noundef %9, i8 noundef signext 47)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %19
13: ; preds = %1
%14 = load ptr, ptr %6, align 8
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @create_folder(ptr noundef %17)
br label %21
19: ; preds = %1
%20 = load ptr, ptr %5, align 8
store ptr %20, ptr %6, align 8
br label %21
21: ; preds = %19, %13
%22 = load ptr, ptr %3, align 8
%23 = call i32 @stat(ptr noundef %22, ptr noundef %4)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %35
25: ; preds = %21
%26 = load ptr, ptr %3, align 8
%27 = call i32 @mkdir(ptr noundef %26, i32 noundef 511)
%28 = load ptr, ptr %3, align 8
%29 = call i32 @stat(ptr noundef %28, ptr noundef %4)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load ptr, ptr %5, align 8
%33 = call i32 @free(ptr noundef %32)
store i32 0, ptr %2, align 4
br label %38
34: ; preds = %25
br label %35
35: ; preds = %34, %21
%36 = load ptr, ptr %5, align 8
%37 = call i32 @free(ptr noundef %36)
store i32 1, ptr %2, align 4
br label %38
38: ; preds = %35, %31
%39 = load i32, ptr %2, align 4
ret i32 %39
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @strdup(ptr noundef) #2
declare ptr @strrchr(ptr noundef, i8 noundef signext) #2
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i32 @mkdir(ptr noundef, i32 noundef) #2
declare i32 @free(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: write) }
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/tmpb1b6di9m.c'
source_filename = "/tmp/tmpb1b6di9m.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 @getFilename(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 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47)
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47)
%12 = getelementptr inbounds i8, ptr %11, i64 1
%13 = call i32 @strcpy(ptr noundef %9, ptr noundef %12)
br label %18
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16)
br label %18
18: ; preds = %14, %8
ret void
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(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/tmpb1b6di9m.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 @getFilename(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 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47)
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47)
%12 = getelementptr inbounds i8, ptr %11, i64 1
%13 = call i32 @strcpy(ptr noundef %9, ptr noundef %12)
br label %18
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16)
br label %18
18: ; preds = %14, %8
ret void
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(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/tmp0kivnmkb.c'
source_filename = "/tmp/tmp0kivnmkb.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"NX_DISPLAY\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 i32, align 4
%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
store i32 -1, ptr %6, align 4
store ptr null, ptr %7, align 8
%8 = call ptr @getenv(ptr noundef @.str)
store ptr %8, ptr %7, align 8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i64 @NXTransParseCommandLine(i32 noundef %9, ptr noundef %10)
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @NXTransCleanup()
br label %15
15: ; preds = %13, %2
%16 = load ptr, ptr %7, align 8
%17 = call i64 @NXTransParseEnvironment(ptr noundef %16, i32 noundef 0)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 (...) @NXTransCleanup()
br label %21
21: ; preds = %19, %15
%22 = call i32 @NXTransProxy(i32 noundef -1, i32 noundef -1, ptr noundef null)
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = call i32 @NXTransExit(i32 noundef %23)
ret i32 0
}
declare ptr @getenv(ptr noundef) #1
declare i64 @NXTransParseCommandLine(i32 noundef, ptr noundef) #1
declare i32 @NXTransCleanup(...) #1
declare i64 @NXTransParseEnvironment(ptr noundef, i32 noundef) #1
declare i32 @NXTransProxy(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @NXTransExit(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/tmp0kivnmkb.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"NX_DISPLAY\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 i32, align 4
%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
store i32 -1, ptr %6, align 4
store ptr null, ptr %7, align 8
%8 = call ptr @getenv(ptr noundef @.str)
store ptr %8, ptr %7, align 8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i64 @NXTransParseCommandLine(i32 noundef %9, ptr noundef %10)
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @NXTransCleanup()
br label %15
15: ; preds = %13, %2
%16 = load ptr, ptr %7, align 8
%17 = call i64 @NXTransParseEnvironment(ptr noundef %16, i32 noundef 0)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 (...) @NXTransCleanup()
br label %21
21: ; preds = %19, %15
%22 = call i32 @NXTransProxy(i32 noundef -1, i32 noundef -1, ptr noundef null)
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = call i32 @NXTransExit(i32 noundef %23)
ret i32 0
}
declare ptr @getenv(ptr noundef) #1
declare i64 @NXTransParseCommandLine(i32 noundef, ptr noundef) #1
declare i32 @NXTransCleanup(...) #1
declare i64 @NXTransParseEnvironment(ptr noundef, i32 noundef) #1
declare i32 @NXTransProxy(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @NXTransExit(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/tmp4t5uvmiy.c'
source_filename = "/tmp/tmp4t5uvmiy.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 @T2Cam_InitializeLib() #0 {
%1 = call i32 (...) @T2Cam_errormsg()
%2 = call i32 @assert(i32 noundef 0)
ret i32 0
}
declare i32 @T2Cam_errormsg(...) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4t5uvmiy.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 @T2Cam_InitializeLib() #0 {
%1 = call i32 (...) @T2Cam_errormsg()
%2 = call i32 @assert(i32 noundef 0)
ret i32 0
}
declare i32 @T2Cam_errormsg(...) #1
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"}
|
; ModuleID = '/tmp/tmpd7lwy3iz.c'
source_filename = "/tmp/tmpd7lwy3iz.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 @pg_finfo_varchargenfunc() #0 {
%1 = call ptr (...) @GppcFinfoV1()
ret ptr %1
}
declare ptr @GppcFinfoV1(...) #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/tmpd7lwy3iz.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 @pg_finfo_varchargenfunc() #0 {
%1 = call ptr (...) @GppcFinfoV1()
ret ptr %1
}
declare ptr @GppcFinfoV1(...) #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/tmp3qlldg9_.c'
source_filename = "/tmp/tmp3qlldg9_.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 @amino_acid_sequence(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 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
ret ptr %6
}
declare i32 @strlen(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/tmp3qlldg9_.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 @amino_acid_sequence(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 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
ret ptr %6
}
declare i32 @strlen(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/tmpealigo7y.c'
source_filename = "/tmp/tmpealigo7y.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"%f\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%.4f is positive\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"%.4f is negative\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"input is zero\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load float, ptr %2, align 4
%5 = fcmp ogt float %4, 0.000000e+00
br i1 %5, label %6, label %10
6: ; preds = %0
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %8)
br label %20
10: ; preds = %0
%11 = load float, ptr %2, align 4
%12 = fcmp olt float %11, 0.000000e+00
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load float, ptr %2, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %15)
br label %19
17: ; preds = %10
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %19
19: ; preds = %17, %13
br label %20
20: ; preds = %19, %6
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpealigo7y.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"%f\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%.4f is positive\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"%.4f is negative\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"input is zero\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load float, ptr %2, align 4
%5 = fcmp ogt float %4, 0.000000e+00
br i1 %5, label %6, label %10
6: ; preds = %0
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %8)
br label %20
10: ; preds = %0
%11 = load float, ptr %2, align 4
%12 = fcmp olt float %11, 0.000000e+00
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load float, ptr %2, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %15)
br label %19
17: ; preds = %10
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %19
19: ; preds = %17, %13
br label %20
20: ; preds = %19, %6
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"}
|
; ModuleID = '/tmp/tmp8kz7otdk.c'
source_filename = "/tmp/tmp8kz7otdk.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 @changelvalueinarray(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %6, align 8
%14 = getelementptr inbounds i64, ptr %12, i64 %13
store ptr %14, ptr %10, align 8
br label %15
15: ; preds = %28, %4
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ult ptr %16, %17
br i1 %18, label %19, label %31
19: ; preds = %15
%20 = load ptr, ptr %9, align 8
%21 = load i64, ptr %20, align 8
%22 = load i64, ptr %7, align 8
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i64, ptr %8, align 8
%26 = load ptr, ptr %9, align 8
store i64 %25, ptr %26, align 8
br label %27
27: ; preds = %24, %19
br label %28
28: ; preds = %27
%29 = load ptr, ptr %9, align 8
%30 = getelementptr inbounds i64, ptr %29, i32 1
store ptr %30, ptr %9, align 8
br label %15, !llvm.loop !6
31: ; 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/tmp8kz7otdk.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 @changelvalueinarray(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %6, align 8
%14 = getelementptr inbounds i64, ptr %12, i64 %13
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = icmp ult ptr %15, %16
br i1 %17, label %.lr.ph, label %33
.lr.ph: ; preds = %4
br label %18
18: ; preds = %.lr.ph, %27
%19 = load ptr, ptr %9, align 8
%20 = load i64, ptr %19, align 8
%21 = load i64, ptr %7, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = load i64, ptr %8, align 8
%25 = load ptr, ptr %9, align 8
store i64 %24, ptr %25, align 8
br label %26
26: ; preds = %23, %18
br label %27
27: ; preds = %26
%28 = load ptr, ptr %9, align 8
%29 = getelementptr inbounds i64, ptr %28, i32 1
store ptr %29, ptr %9, align 8
%30 = load ptr, ptr %9, align 8
%31 = load ptr, ptr %10, align 8
%32 = icmp ult ptr %30, %31
br i1 %32, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %4
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/tmpuaypuv4f.c'
source_filename = "/tmp/tmpuaypuv4f.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"%p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @make_hash_key(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 ptr @masprintf(ptr noundef @.str, ptr noundef %3)
ret ptr %4
}
declare ptr @masprintf(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/tmpuaypuv4f.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"%p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @make_hash_key(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 ptr @masprintf(ptr noundef @.str, ptr noundef %3)
ret ptr %4
}
declare ptr @masprintf(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/tmpd18i5q7b.c'
source_filename = "/tmp/tmpd18i5q7b.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"on\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"C00\0D\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"C01\0D\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"ask\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"C02\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ExecPowerCommand(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @ProcessCommand(ptr noundef %10, ptr noundef @.str.1)
store i32 %11, ptr %3, align 4
br label %27
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp ne i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = call i32 @ProcessCommand(ptr noundef %17, ptr noundef @.str.3)
store i32 %18, ptr %3, align 4
br label %27
19: ; preds = %12
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.4)
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = call i32 @ProcessCommand(ptr noundef %24, ptr noundef @.str.5)
store i32 %25, ptr %3, align 4
br label %27
26: ; preds = %19
store i32 2, ptr %3, align 4
br label %27
27: ; preds = %26, %23, %16, %9
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ProcessCommand(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/tmpd18i5q7b.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"on\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"C00\0D\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"C01\0D\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"ask\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"C02\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ExecPowerCommand(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @ProcessCommand(ptr noundef %10, ptr noundef @.str.1)
store i32 %11, ptr %3, align 4
br label %27
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp ne i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = call i32 @ProcessCommand(ptr noundef %17, ptr noundef @.str.3)
store i32 %18, ptr %3, align 4
br label %27
19: ; preds = %12
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.4)
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = call i32 @ProcessCommand(ptr noundef %24, ptr noundef @.str.5)
store i32 %25, ptr %3, align 4
br label %27
26: ; preds = %19
store i32 2, ptr %3, align 4
br label %27
27: ; preds = %26, %23, %16, %9
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ProcessCommand(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/tmp78ty8bre.c'
source_filename = "/tmp/tmp78ty8bre.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 @brute_force(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
br label %6
6: ; preds = %9, %2
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 26
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @show_result(i32 noundef %10, i32 noundef %11, ptr noundef %12)
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
ret void
}
declare i32 @show_result(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp78ty8bre.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 @brute_force(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 26
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @show_result(i32 noundef %9, i32 noundef %10, ptr noundef %11)
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 26
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %17
17: ; preds = %._crit_edge, %2
ret void
}
declare i32 @show_result(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"}
|
; ModuleID = '/tmp/tmpgje12p6g.c'
source_filename = "/tmp/tmpgje12p6g.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.ch = private unnamed_addr constant [16 x i8] c"123%E6%88%91567\00", align 16
@.str = private unnamed_addr constant [11 x i8] c"decode: %s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"XY_KK\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"zhwen\E8\AE\B8\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"kk: %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [16 x i8], align 16
%3 = alloca [20 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.ch, i64 16, i1 false)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @memset(ptr noundef %8, i8 noundef signext 0, i32 noundef 20)
%10 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @decode(ptr noundef %10)
%12 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
%14 = call i32 @setenv(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 1)
%15 = call ptr @getenv(ptr noundef @.str.1)
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i32 @printf(ptr noundef @.str.3, ptr noundef %16)
%18 = call i32 @unsetenv(ptr noundef @.str.1)
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 @memset(ptr noundef, i8 noundef signext, i32 noundef) #2
declare i32 @decode(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @getenv(ptr noundef) #2
declare i32 @unsetenv(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/tmpgje12p6g.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.ch = private unnamed_addr constant [16 x i8] c"123%E6%88%91567\00", align 16
@.str = private unnamed_addr constant [11 x i8] c"decode: %s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"XY_KK\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"zhwen\E8\AE\B8\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"kk: %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [16 x i8], align 16
%3 = alloca [20 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.ch, i64 16, i1 false)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @memset(ptr noundef %8, i8 noundef signext 0, i32 noundef 20)
%10 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @decode(ptr noundef %10)
%12 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
%14 = call i32 @setenv(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 1)
%15 = call ptr @getenv(ptr noundef @.str.1)
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i32 @printf(ptr noundef @.str.3, ptr noundef %16)
%18 = call i32 @unsetenv(ptr noundef @.str.1)
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 @memset(ptr noundef, i8 noundef signext, i32 noundef) #2
declare i32 @decode(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @getenv(ptr noundef) #2
declare i32 @unsetenv(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/tmp0bs10va7.c'
source_filename = "/tmp/tmp0bs10va7.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.termios = type { i32 }
@TCGETS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_isatty(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.termios, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @TCGETS, align 4
%6 = call i64 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i64 @ioctl(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0bs10va7.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.termios = type { i32 }
@TCGETS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_isatty(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.termios, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @TCGETS, align 4
%6 = call i64 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i64 @ioctl(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"}
|
; ModuleID = '/tmp/tmpkcnrlr5a.c'
source_filename = "/tmp/tmpkcnrlr5a.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"YOU LOOSE ! LOOSER !\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Press a key to continue...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @loose_scr() #0 {
%1 = call i32 (...) @header()
%2 = call i32 @txt_ctrd(ptr noundef @.str, i8 noundef signext 10)
%3 = call i32 @txt_ctrd(ptr noundef @.str.1, i8 noundef signext 10)
%4 = call i32 (...) @getchar()
ret void
}
declare i32 @header(...) #1
declare i32 @txt_ctrd(ptr noundef, i8 noundef signext) #1
declare i32 @getchar(...) #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/tmpkcnrlr5a.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"YOU LOOSE ! LOOSER !\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Press a key to continue...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @loose_scr() #0 {
%1 = call i32 (...) @header()
%2 = call i32 @txt_ctrd(ptr noundef @.str, i8 noundef signext 10)
%3 = call i32 @txt_ctrd(ptr noundef @.str.1, i8 noundef signext 10)
%4 = call i32 (...) @getchar()
ret void
}
declare i32 @header(...) #1
declare i32 @txt_ctrd(ptr noundef, i8 noundef signext) #1
declare i32 @getchar(...) #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/tmpr_4aeypq.c'
source_filename = "/tmp/tmpr_4aeypq.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 @write_loop(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = call double (...) @get_time()
store double %5, ptr %4, align 8
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %15, %1
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10000000
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
store i32 %10, ptr %14, align 4
br label %15
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
%19 = call double (...) @get_time()
%20 = load double, ptr %4, align 8
%21 = fsub double %19, %20
ret double %21
}
declare double @get_time(...) #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/tmpr_4aeypq.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 @write_loop(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = call double (...) @get_time()
store double %5, ptr %4, align 8
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 10000000
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %14
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
store i32 %9, ptr %13, align 4
br label %14
14: ; preds = %8
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 10000000
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %1
%20 = call double (...) @get_time()
%21 = load double, ptr %4, align 8
%22 = fsub double %20, %21
ret double %22
}
declare double @get_time(...) #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/tmpnhc1gdu9.c'
source_filename = "/tmp/tmpnhc1gdu9.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/tmpnhc1gdu9.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/tmp7frmi930.c'
source_filename = "/tmp/tmp7frmi930.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 @get_derivative_dynmat_at_q(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, double noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14) #0 {
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca double, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%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 [3 x double], align 16
%41 = alloca [3 x double], align 16
%42 = alloca [3 x double], align 16
%43 = alloca double, align 8
%44 = alloca double, align 8
%45 = alloca double, align 8
%46 = alloca double, align 8
%47 = alloca double, align 8
%48 = alloca double, align 8
%49 = alloca double, align 8
%50 = alloca double, align 8
%51 = alloca [3 x [3 x [3 x double]]], align 16
%52 = alloca [3 x [3 x [3 x double]]], align 16
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
store ptr %0, ptr %16, align 8
store i32 %1, ptr %17, align 4
store i32 %2, ptr %18, align 4
store ptr %3, ptr %19, align 8
store ptr %4, ptr %20, align 8
store ptr %5, ptr %21, align 8
store ptr %6, ptr %22, align 8
store ptr %7, ptr %23, align 8
store ptr %8, ptr %24, align 8
store ptr %9, ptr %25, align 8
store ptr %10, ptr %26, align 8
store double %11, ptr %27, align 8
store ptr %12, ptr %28, align 8
store ptr %13, ptr %29, align 8
store ptr %14, ptr %30, align 8
%55 = load ptr, ptr %28, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %107
57: ; preds = %15
store i32 1, ptr %39, align 4
%58 = load ptr, ptr %30, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %83
60: ; preds = %57
%61 = load ptr, ptr %30, align 8
%62 = getelementptr inbounds double, ptr %61, i64 0
%63 = load double, ptr %62, align 8
%64 = call i32 @fabs(double noundef %63)
%65 = sitofp i32 %64 to double
%66 = fcmp olt double %65, 1.000000e-05
br i1 %66, label %67, label %82
67: ; preds = %60
%68 = load ptr, ptr %30, align 8
%69 = getelementptr inbounds double, ptr %68, i64 1
%70 = load double, ptr %69, align 8
%71 = call i32 @fabs(double noundef %70)
%72 = sitofp i32 %71 to double
%73 = fcmp olt double %72, 1.000000e-05
br i1 %73, label %74, label %82
74: ; preds = %67
%75 = load ptr, ptr %30, align 8
%76 = getelementptr inbounds double, ptr %75, i64 2
%77 = load double, ptr %76, align 8
%78 = call i32 @fabs(double noundef %77)
%79 = sitofp i32 %78 to double
%80 = fcmp olt double %79, 1.000000e-05
br i1 %80, label %81, label %82
81: ; preds = %74
store i32 0, ptr %39, align 4
br label %82
82: ; preds = %81, %74, %67, %60
br label %106
83: ; preds = %57
%84 = load ptr, ptr %20, align 8
%85 = getelementptr inbounds double, ptr %84, i64 0
%86 = load double, ptr %85, align 8
%87 = call i32 @fabs(double noundef %86)
%88 = sitofp i32 %87 to double
%89 = fcmp olt double %88, 1.000000e-05
br i1 %89, label %90, label %105
90: ; preds = %83
%91 = load ptr, ptr %20, align 8
%92 = getelementptr inbounds double, ptr %91, i64 1
%93 = load double, ptr %92, align 8
%94 = call i32 @fabs(double noundef %93)
%95 = sitofp i32 %94 to double
%96 = fcmp olt double %95, 1.000000e-05
br i1 %96, label %97, label %105
97: ; preds = %90
%98 = load ptr, ptr %20, align 8
%99 = getelementptr inbounds double, ptr %98, i64 2
%100 = load double, ptr %99, align 8
%101 = call i32 @fabs(double noundef %100)
%102 = sitofp i32 %101 to double
%103 = fcmp olt double %102, 1.000000e-05
br i1 %103, label %104, label %105
104: ; preds = %97
store i32 0, ptr %39, align 4
br label %105
105: ; preds = %104, %97, %90, %83
br label %106
106: ; preds = %105, %82
br label %108
107: ; preds = %15
store i32 0, ptr %39, align 4
br label %108
108: ; preds = %107, %106
%109 = load i32, ptr %39, align 4
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %150
111: ; preds = %108
%112 = load i32, ptr %17, align 4
%113 = sext i32 %112 to i64
%114 = mul i64 8, %113
%115 = load i32, ptr %17, align 4
%116 = sext i32 %115 to i64
%117 = mul i64 %114, %116
%118 = mul i64 %117, 27
%119 = trunc i64 %118 to i32
%120 = call i64 @malloc(i32 noundef %119)
%121 = inttoptr i64 %120 to ptr
store ptr %121, ptr %53, align 8
%122 = load i32, ptr %17, align 4
%123 = sext i32 %122 to i64
%124 = mul i64 8, %123
%125 = load i32, ptr %17, align 4
%126 = sext i32 %125 to i64
%127 = mul i64 %124, %126
%128 = mul i64 %127, 9
%129 = trunc i64 %128 to i32
%130 = call i64 @malloc(i32 noundef %129)
%131 = inttoptr i64 %130 to ptr
store ptr %131, ptr %54, align 8
%132 = load double, ptr %27, align 8
%133 = load i32, ptr %17, align 4
%134 = sitofp i32 %133 to double
%135 = fmul double %132, %134
%136 = load i32, ptr %18, align 4
%137 = sitofp i32 %136 to double
%138 = fdiv double %135, %137
store double %138, ptr %48, align 8
%139 = load ptr, ptr %53, align 8
%140 = load ptr, ptr %54, align 8
%141 = load i32, ptr %17, align 4
%142 = load ptr, ptr %21, align 8
%143 = load ptr, ptr %24, align 8
%144 = load ptr, ptr %20, align 8
%145 = load ptr, ptr %28, align 8
%146 = load ptr, ptr %29, align 8
%147 = load ptr, ptr %30, align 8
%148 = load double, ptr %48, align 8
%149 = call i32 @get_derivative_nac(ptr noundef %139, ptr noundef %140, i32 noundef %141, ptr noundef %142, ptr noundef %143, ptr noundef %144, ptr noundef %145, ptr noundef %146, ptr noundef %147, double noundef %148)
br label %150
150: ; preds = %111, %108
store i32 0, ptr %31, align 4
br label %151
151: ; preds = %708, %150
%152 = load i32, ptr %31, align 4
%153 = load i32, ptr %17, align 4
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %711
155: ; preds = %151
store i32 0, ptr %32, align 4
br label %156
156: ; preds = %704, %155
%157 = load i32, ptr %32, align 4
%158 = load i32, ptr %17, align 4
%159 = icmp slt i32 %157, %158
br i1 %159, label %160, label %707
160: ; preds = %156
%161 = load ptr, ptr %24, align 8
%162 = load i32, ptr %31, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, ptr %161, i64 %163
%165 = load double, ptr %164, align 8
%166 = load ptr, ptr %24, align 8
%167 = load i32, ptr %32, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds double, ptr %166, i64 %168
%170 = load double, ptr %169, align 8
%171 = fmul double %165, %170
%172 = call double @sqrt(double noundef %171) #4
store double %172, ptr %46, align 8
store i32 0, ptr %33, align 4
br label %173
173: ; preds = %211, %160
%174 = load i32, ptr %33, align 4
%175 = icmp slt i32 %174, 3
br i1 %175, label %176, label %214
176: ; preds = %173
store i32 0, ptr %34, align 4
br label %177
177: ; preds = %207, %176
%178 = load i32, ptr %34, align 4
%179 = icmp slt i32 %178, 3
br i1 %179, label %180, label %210
180: ; preds = %177
store i32 0, ptr %35, align 4
br label %181
181: ; preds = %203, %180
%182 = load i32, ptr %35, align 4
%183 = icmp slt i32 %182, 3
br i1 %183, label %184, label %206
184: ; preds = %181
%185 = load i32, ptr %35, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %51, i64 0, i64 %186
%188 = load i32, ptr %33, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [3 x [3 x double]], ptr %187, i64 0, i64 %189
%191 = load i32, ptr %34, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [3 x double], ptr %190, i64 0, i64 %192
store double 0.000000e+00, ptr %193, align 8
%194 = load i32, ptr %35, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %52, i64 0, i64 %195
%197 = load i32, ptr %33, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [3 x [3 x double]], ptr %196, i64 0, i64 %198
%200 = load i32, ptr %34, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [3 x double], ptr %199, i64 0, i64 %201
store double 0.000000e+00, ptr %202, align 8
br label %203
203: ; preds = %184
%204 = load i32, ptr %35, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %35, align 4
br label %181, !llvm.loop !6
206: ; preds = %181
br label %207
207: ; preds = %206
%208 = load i32, ptr %34, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %34, align 4
br label %177, !llvm.loop !8
210: ; preds = %177
br label %211
211: ; preds = %210
%212 = load i32, ptr %33, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %33, align 4
br label %173, !llvm.loop !9
214: ; preds = %173
store i32 0, ptr %33, align 4
br label %215
215: ; preds = %623, %214
%216 = load i32, ptr %33, align 4
%217 = load i32, ptr %18, align 4
%218 = icmp slt i32 %216, %217
br i1 %218, label %219, label %626
219: ; preds = %215
%220 = load ptr, ptr %25, align 8
%221 = load i32, ptr %33, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i32, ptr %220, i64 %222
%224 = load i32, ptr %223, align 4
%225 = load ptr, ptr %26, align 8
%226 = load i32, ptr %32, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds i32, ptr %225, i64 %227
%229 = load i32, ptr %228, align 4
%230 = icmp ne i32 %224, %229
br i1 %230, label %231, label %232
231: ; preds = %219
br label %623
232: ; preds = %219
store double 0.000000e+00, ptr %49, align 8
store double 0.000000e+00, ptr %50, align 8
store i32 0, ptr %34, align 4
br label %233
233: ; preds = %243, %232
%234 = load i32, ptr %34, align 4
%235 = icmp slt i32 %234, 3
br i1 %235, label %236, label %246
236: ; preds = %233
%237 = load i32, ptr %34, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %238
store double 0.000000e+00, ptr %239, align 8
%240 = load i32, ptr %34, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %241
store double 0.000000e+00, ptr %242, align 8
br label %243
243: ; preds = %236
%244 = load i32, ptr %34, align 4
%245 = add nsw i32 %244, 1
store i32 %245, ptr %34, align 4
br label %233, !llvm.loop !10
246: ; preds = %233
store i32 0, ptr %34, align 4
br label %247
247: ; preds = %383, %246
%248 = load i32, ptr %34, align 4
%249 = load ptr, ptr %23, align 8
%250 = load i32, ptr %33, align 4
%251 = load i32, ptr %17, align 4
%252 = mul nsw i32 %250, %251
%253 = load i32, ptr %31, align 4
%254 = add nsw i32 %252, %253
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds i32, ptr %249, i64 %255
%257 = load i32, ptr %256, align 4
%258 = icmp slt i32 %248, %257
br i1 %258, label %259, label %386
259: ; preds = %247
store double 0.000000e+00, ptr %45, align 8
store i32 0, ptr %35, align 4
br label %260
260: ; preds = %287, %259
%261 = load i32, ptr %35, align 4
%262 = icmp slt i32 %261, 3
br i1 %262, label %263, label %290
263: ; preds = %260
%264 = load ptr, ptr %20, align 8
%265 = load i32, ptr %35, align 4
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds double, ptr %264, i64 %266
%268 = load double, ptr %267, align 8
%269 = load ptr, ptr %22, align 8
%270 = load i32, ptr %33, align 4
%271 = load i32, ptr %17, align 4
%272 = mul nsw i32 %270, %271
%273 = mul nsw i32 %272, 81
%274 = load i32, ptr %31, align 4
%275 = mul nsw i32 %274, 81
%276 = add nsw i32 %273, %275
%277 = load i32, ptr %34, align 4
%278 = mul nsw i32 %277, 3
%279 = add nsw i32 %276, %278
%280 = load i32, ptr %35, align 4
%281 = add nsw i32 %279, %280
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds double, ptr %269, i64 %282
%284 = load double, ptr %283, align 8
%285 = load double, ptr %45, align 8
%286 = call double @llvm.fmuladd.f64(double %268, double %284, double %285)
store double %286, ptr %45, align 8
br label %287
287: ; preds = %263
%288 = load i32, ptr %35, align 4
%289 = add nsw i32 %288, 1
store i32 %289, ptr %35, align 4
br label %260, !llvm.loop !11
290: ; preds = %260
%291 = load double, ptr %45, align 8
%292 = fmul double %291, 2.000000e+00
%293 = fmul double %292, 0x400921FB54442D18
%294 = call double @sin(double noundef %293) #4
store double %294, ptr %44, align 8
%295 = load double, ptr %45, align 8
%296 = fmul double %295, 2.000000e+00
%297 = fmul double %296, 0x400921FB54442D18
%298 = call double @cos(double noundef %297) #4
store double %298, ptr %43, align 8
%299 = load double, ptr %43, align 8
%300 = load double, ptr %49, align 8
%301 = fadd double %300, %299
store double %301, ptr %49, align 8
%302 = load double, ptr %44, align 8
%303 = load double, ptr %50, align 8
%304 = fadd double %303, %302
store double %304, ptr %50, align 8
store i32 0, ptr %35, align 4
br label %305
305: ; preds = %350, %290
%306 = load i32, ptr %35, align 4
%307 = icmp slt i32 %306, 3
br i1 %307, label %308, label %353
308: ; preds = %305
%309 = load i32, ptr %35, align 4
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %310
store double 0.000000e+00, ptr %311, align 8
store i32 0, ptr %36, align 4
br label %312
312: ; preds = %346, %308
%313 = load i32, ptr %36, align 4
%314 = icmp slt i32 %313, 3
br i1 %314, label %315, label %349
315: ; preds = %312
%316 = load ptr, ptr %21, align 8
%317 = load i32, ptr %35, align 4
%318 = mul nsw i32 %317, 3
%319 = load i32, ptr %36, align 4
%320 = add nsw i32 %318, %319
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds double, ptr %316, i64 %321
%323 = load double, ptr %322, align 8
%324 = fmul double 0x401921FB54442D18, %323
%325 = load ptr, ptr %22, align 8
%326 = load i32, ptr %33, align 4
%327 = load i32, ptr %17, align 4
%328 = mul nsw i32 %326, %327
%329 = mul nsw i32 %328, 81
%330 = load i32, ptr %31, align 4
%331 = mul nsw i32 %330, 81
%332 = add nsw i32 %329, %331
%333 = load i32, ptr %34, align 4
%334 = mul nsw i32 %333, 3
%335 = add nsw i32 %332, %334
%336 = load i32, ptr %36, align 4
%337 = add nsw i32 %335, %336
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds double, ptr %325, i64 %338
%340 = load double, ptr %339, align 8
%341 = load i32, ptr %35, align 4
%342 = sext i32 %341 to i64
%343 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %342
%344 = load double, ptr %343, align 8
%345 = call double @llvm.fmuladd.f64(double %324, double %340, double %344)
store double %345, ptr %343, align 8
br label %346
346: ; preds = %315
%347 = load i32, ptr %36, align 4
%348 = add nsw i32 %347, 1
store i32 %348, ptr %36, align 4
br label %312, !llvm.loop !12
349: ; preds = %312
br label %350
350: ; preds = %349
%351 = load i32, ptr %35, align 4
%352 = add nsw i32 %351, 1
store i32 %352, ptr %35, align 4
br label %305, !llvm.loop !13
353: ; preds = %305
store i32 0, ptr %35, align 4
br label %354
354: ; preds = %379, %353
%355 = load i32, ptr %35, align 4
%356 = icmp slt i32 %355, 3
br i1 %356, label %357, label %382
357: ; preds = %354
%358 = load i32, ptr %35, align 4
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %359
%361 = load double, ptr %360, align 8
%362 = load double, ptr %44, align 8
%363 = load i32, ptr %35, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %364
%366 = load double, ptr %365, align 8
%367 = fneg double %361
%368 = call double @llvm.fmuladd.f64(double %367, double %362, double %366)
store double %368, ptr %365, align 8
%369 = load i32, ptr %35, align 4
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %370
%372 = load double, ptr %371, align 8
%373 = load double, ptr %43, align 8
%374 = load i32, ptr %35, align 4
%375 = sext i32 %374 to i64
%376 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %375
%377 = load double, ptr %376, align 8
%378 = call double @llvm.fmuladd.f64(double %372, double %373, double %377)
store double %378, ptr %376, align 8
br label %379
379: ; preds = %357
%380 = load i32, ptr %35, align 4
%381 = add nsw i32 %380, 1
store i32 %381, ptr %35, align 4
br label %354, !llvm.loop !14
382: ; preds = %354
br label %383
383: ; preds = %382
%384 = load i32, ptr %34, align 4
%385 = add nsw i32 %384, 1
store i32 %385, ptr %34, align 4
br label %247, !llvm.loop !15
386: ; preds = %247
%387 = load ptr, ptr %23, align 8
%388 = load i32, ptr %33, align 4
%389 = load i32, ptr %17, align 4
%390 = mul nsw i32 %388, %389
%391 = load i32, ptr %31, align 4
%392 = add nsw i32 %390, %391
%393 = sext i32 %392 to i64
%394 = getelementptr inbounds i32, ptr %387, i64 %393
%395 = load i32, ptr %394, align 4
%396 = sitofp i32 %395 to double
%397 = load double, ptr %49, align 8
%398 = fdiv double %397, %396
store double %398, ptr %49, align 8
%399 = load ptr, ptr %23, align 8
%400 = load i32, ptr %33, align 4
%401 = load i32, ptr %17, align 4
%402 = mul nsw i32 %400, %401
%403 = load i32, ptr %31, align 4
%404 = add nsw i32 %402, %403
%405 = sext i32 %404 to i64
%406 = getelementptr inbounds i32, ptr %399, i64 %405
%407 = load i32, ptr %406, align 4
%408 = sitofp i32 %407 to double
%409 = load double, ptr %50, align 8
%410 = fdiv double %409, %408
store double %410, ptr %50, align 8
store i32 0, ptr %34, align 4
br label %411
411: ; preds = %445, %386
%412 = load i32, ptr %34, align 4
%413 = icmp slt i32 %412, 3
br i1 %413, label %414, label %448
414: ; preds = %411
%415 = load ptr, ptr %23, align 8
%416 = load i32, ptr %33, align 4
%417 = load i32, ptr %17, align 4
%418 = mul nsw i32 %416, %417
%419 = load i32, ptr %31, align 4
%420 = add nsw i32 %418, %419
%421 = sext i32 %420 to i64
%422 = getelementptr inbounds i32, ptr %415, i64 %421
%423 = load i32, ptr %422, align 4
%424 = sitofp i32 %423 to double
%425 = load i32, ptr %34, align 4
%426 = sext i32 %425 to i64
%427 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %426
%428 = load double, ptr %427, align 8
%429 = fdiv double %428, %424
store double %429, ptr %427, align 8
%430 = load ptr, ptr %23, align 8
%431 = load i32, ptr %33, align 4
%432 = load i32, ptr %17, align 4
%433 = mul nsw i32 %431, %432
%434 = load i32, ptr %31, align 4
%435 = add nsw i32 %433, %434
%436 = sext i32 %435 to i64
%437 = getelementptr inbounds i32, ptr %430, i64 %436
%438 = load i32, ptr %437, align 4
%439 = sitofp i32 %438 to double
%440 = load i32, ptr %34, align 4
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %441
%443 = load double, ptr %442, align 8
%444 = fdiv double %443, %439
store double %444, ptr %442, align 8
br label %445
445: ; preds = %414
%446 = load i32, ptr %34, align 4
%447 = add nsw i32 %446, 1
store i32 %447, ptr %34, align 4
br label %411, !llvm.loop !16
448: ; preds = %411
store i32 0, ptr %34, align 4
br label %449
449: ; preds = %619, %448
%450 = load i32, ptr %34, align 4
%451 = icmp slt i32 %450, 3
br i1 %451, label %452, label %622
452: ; preds = %449
store i32 0, ptr %35, align 4
br label %453
453: ; preds = %615, %452
%454 = load i32, ptr %35, align 4
%455 = icmp slt i32 %454, 3
br i1 %455, label %456, label %618
456: ; preds = %453
%457 = load ptr, ptr %19, align 8
%458 = load ptr, ptr %26, align 8
%459 = load i32, ptr %31, align 4
%460 = sext i32 %459 to i64
%461 = getelementptr inbounds i32, ptr %458, i64 %460
%462 = load i32, ptr %461, align 4
%463 = load i32, ptr %18, align 4
%464 = mul nsw i32 %462, %463
%465 = mul nsw i32 %464, 9
%466 = load i32, ptr %33, align 4
%467 = mul nsw i32 %466, 9
%468 = add nsw i32 %465, %467
%469 = load i32, ptr %34, align 4
%470 = mul nsw i32 %469, 3
%471 = add nsw i32 %468, %470
%472 = load i32, ptr %35, align 4
%473 = add nsw i32 %471, %472
%474 = sext i32 %473 to i64
%475 = getelementptr inbounds double, ptr %457, i64 %474
%476 = load double, ptr %475, align 8
%477 = load double, ptr %46, align 8
%478 = fdiv double %476, %477
store double %478, ptr %47, align 8
%479 = load i32, ptr %39, align 4
%480 = icmp ne i32 %479, 0
br i1 %480, label %481, label %500
481: ; preds = %456
%482 = load ptr, ptr %54, align 8
%483 = load i32, ptr %31, align 4
%484 = mul nsw i32 %483, 9
%485 = load i32, ptr %17, align 4
%486 = mul nsw i32 %484, %485
%487 = load i32, ptr %32, align 4
%488 = mul nsw i32 %487, 9
%489 = add nsw i32 %486, %488
%490 = load i32, ptr %34, align 4
%491 = mul nsw i32 %490, 3
%492 = add nsw i32 %489, %491
%493 = load i32, ptr %35, align 4
%494 = add nsw i32 %492, %493
%495 = sext i32 %494 to i64
%496 = getelementptr inbounds double, ptr %482, i64 %495
%497 = load double, ptr %496, align 8
%498 = load double, ptr %47, align 8
%499 = fadd double %498, %497
store double %499, ptr %47, align 8
br label %500
500: ; preds = %481, %456
store i32 0, ptr %36, align 4
br label %501
501: ; preds = %611, %500
%502 = load i32, ptr %36, align 4
%503 = icmp slt i32 %502, 3
br i1 %503, label %504, label %614
504: ; preds = %501
%505 = load double, ptr %47, align 8
%506 = load i32, ptr %36, align 4
%507 = sext i32 %506 to i64
%508 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %507
%509 = load double, ptr %508, align 8
%510 = load i32, ptr %36, align 4
%511 = sext i32 %510 to i64
%512 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %51, i64 0, i64 %511
%513 = load i32, ptr %34, align 4
%514 = sext i32 %513 to i64
%515 = getelementptr inbounds [3 x [3 x double]], ptr %512, i64 0, i64 %514
%516 = load i32, ptr %35, align 4
%517 = sext i32 %516 to i64
%518 = getelementptr inbounds [3 x double], ptr %515, i64 0, i64 %517
%519 = load double, ptr %518, align 8
%520 = call double @llvm.fmuladd.f64(double %505, double %509, double %519)
store double %520, ptr %518, align 8
%521 = load double, ptr %47, align 8
%522 = load i32, ptr %36, align 4
%523 = sext i32 %522 to i64
%524 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %523
%525 = load double, ptr %524, align 8
%526 = load i32, ptr %36, align 4
%527 = sext i32 %526 to i64
%528 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %52, i64 0, i64 %527
%529 = load i32, ptr %34, align 4
%530 = sext i32 %529 to i64
%531 = getelementptr inbounds [3 x [3 x double]], ptr %528, i64 0, i64 %530
%532 = load i32, ptr %35, align 4
%533 = sext i32 %532 to i64
%534 = getelementptr inbounds [3 x double], ptr %531, i64 0, i64 %533
%535 = load double, ptr %534, align 8
%536 = call double @llvm.fmuladd.f64(double %521, double %525, double %535)
store double %536, ptr %534, align 8
%537 = load i32, ptr %39, align 4
%538 = icmp ne i32 %537, 0
br i1 %538, label %539, label %610
539: ; preds = %504
%540 = load ptr, ptr %53, align 8
%541 = load i32, ptr %36, align 4
%542 = load i32, ptr %17, align 4
%543 = mul nsw i32 %541, %542
%544 = load i32, ptr %17, align 4
%545 = mul nsw i32 %543, %544
%546 = mul nsw i32 %545, 9
%547 = load i32, ptr %31, align 4
%548 = mul nsw i32 %547, 9
%549 = load i32, ptr %17, align 4
%550 = mul nsw i32 %548, %549
%551 = add nsw i32 %546, %550
%552 = load i32, ptr %32, align 4
%553 = mul nsw i32 %552, 9
%554 = add nsw i32 %551, %553
%555 = load i32, ptr %34, align 4
%556 = mul nsw i32 %555, 3
%557 = add nsw i32 %554, %556
%558 = load i32, ptr %35, align 4
%559 = add nsw i32 %557, %558
%560 = sext i32 %559 to i64
%561 = getelementptr inbounds double, ptr %540, i64 %560
%562 = load double, ptr %561, align 8
%563 = load double, ptr %49, align 8
%564 = load i32, ptr %36, align 4
%565 = sext i32 %564 to i64
%566 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %51, i64 0, i64 %565
%567 = load i32, ptr %34, align 4
%568 = sext i32 %567 to i64
%569 = getelementptr inbounds [3 x [3 x double]], ptr %566, i64 0, i64 %568
%570 = load i32, ptr %35, align 4
%571 = sext i32 %570 to i64
%572 = getelementptr inbounds [3 x double], ptr %569, i64 0, i64 %571
%573 = load double, ptr %572, align 8
%574 = call double @llvm.fmuladd.f64(double %562, double %563, double %573)
store double %574, ptr %572, align 8
%575 = load ptr, ptr %53, align 8
%576 = load i32, ptr %36, align 4
%577 = load i32, ptr %17, align 4
%578 = mul nsw i32 %576, %577
%579 = load i32, ptr %17, align 4
%580 = mul nsw i32 %578, %579
%581 = mul nsw i32 %580, 9
%582 = load i32, ptr %31, align 4
%583 = mul nsw i32 %582, 9
%584 = load i32, ptr %17, align 4
%585 = mul nsw i32 %583, %584
%586 = add nsw i32 %581, %585
%587 = load i32, ptr %32, align 4
%588 = mul nsw i32 %587, 9
%589 = add nsw i32 %586, %588
%590 = load i32, ptr %34, align 4
%591 = mul nsw i32 %590, 3
%592 = add nsw i32 %589, %591
%593 = load i32, ptr %35, align 4
%594 = add nsw i32 %592, %593
%595 = sext i32 %594 to i64
%596 = getelementptr inbounds double, ptr %575, i64 %595
%597 = load double, ptr %596, align 8
%598 = load double, ptr %50, align 8
%599 = load i32, ptr %36, align 4
%600 = sext i32 %599 to i64
%601 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %52, i64 0, i64 %600
%602 = load i32, ptr %34, align 4
%603 = sext i32 %602 to i64
%604 = getelementptr inbounds [3 x [3 x double]], ptr %601, i64 0, i64 %603
%605 = load i32, ptr %35, align 4
%606 = sext i32 %605 to i64
%607 = getelementptr inbounds [3 x double], ptr %604, i64 0, i64 %606
%608 = load double, ptr %607, align 8
%609 = call double @llvm.fmuladd.f64(double %597, double %598, double %608)
store double %609, ptr %607, align 8
br label %610
610: ; preds = %539, %504
br label %611
611: ; preds = %610
%612 = load i32, ptr %36, align 4
%613 = add nsw i32 %612, 1
store i32 %613, ptr %36, align 4
br label %501, !llvm.loop !17
614: ; preds = %501
br label %615
615: ; preds = %614
%616 = load i32, ptr %35, align 4
%617 = add nsw i32 %616, 1
store i32 %617, ptr %35, align 4
br label %453, !llvm.loop !18
618: ; preds = %453
br label %619
619: ; preds = %618
%620 = load i32, ptr %34, align 4
%621 = add nsw i32 %620, 1
store i32 %621, ptr %34, align 4
br label %449, !llvm.loop !19
622: ; preds = %449
br label %623
623: ; preds = %622, %231
%624 = load i32, ptr %33, align 4
%625 = add nsw i32 %624, 1
store i32 %625, ptr %33, align 4
br label %215, !llvm.loop !20
626: ; preds = %215
store i32 0, ptr %33, align 4
br label %627
627: ; preds = %700, %626
%628 = load i32, ptr %33, align 4
%629 = icmp slt i32 %628, 3
br i1 %629, label %630, label %703
630: ; preds = %627
store i32 0, ptr %34, align 4
br label %631
631: ; preds = %696, %630
%632 = load i32, ptr %34, align 4
%633 = icmp slt i32 %632, 3
br i1 %633, label %634, label %699
634: ; preds = %631
store i32 0, ptr %35, align 4
br label %635
635: ; preds = %692, %634
%636 = load i32, ptr %35, align 4
%637 = icmp slt i32 %636, 3
br i1 %637, label %638, label %695
638: ; preds = %635
%639 = load i32, ptr %33, align 4
%640 = load i32, ptr %17, align 4
%641 = mul nsw i32 %639, %640
%642 = load i32, ptr %17, align 4
%643 = mul nsw i32 %641, %642
%644 = mul nsw i32 %643, 18
%645 = load i32, ptr %31, align 4
%646 = mul nsw i32 %645, 3
%647 = load i32, ptr %34, align 4
%648 = add nsw i32 %646, %647
%649 = load i32, ptr %17, align 4
%650 = mul nsw i32 %648, %649
%651 = mul nsw i32 %650, 6
%652 = add nsw i32 %644, %651
%653 = load i32, ptr %32, align 4
%654 = mul nsw i32 %653, 6
%655 = add nsw i32 %652, %654
%656 = load i32, ptr %35, align 4
%657 = mul nsw i32 %656, 2
%658 = add nsw i32 %655, %657
store i32 %658, ptr %37, align 4
%659 = load i32, ptr %33, align 4
%660 = sext i32 %659 to i64
%661 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %51, i64 0, i64 %660
%662 = load i32, ptr %34, align 4
%663 = sext i32 %662 to i64
%664 = getelementptr inbounds [3 x [3 x double]], ptr %661, i64 0, i64 %663
%665 = load i32, ptr %35, align 4
%666 = sext i32 %665 to i64
%667 = getelementptr inbounds [3 x double], ptr %664, i64 0, i64 %666
%668 = load double, ptr %667, align 8
%669 = load ptr, ptr %16, align 8
%670 = load i32, ptr %37, align 4
%671 = sext i32 %670 to i64
%672 = getelementptr inbounds double, ptr %669, i64 %671
%673 = load double, ptr %672, align 8
%674 = fadd double %673, %668
store double %674, ptr %672, align 8
%675 = load i32, ptr %33, align 4
%676 = sext i32 %675 to i64
%677 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %52, i64 0, i64 %676
%678 = load i32, ptr %34, align 4
%679 = sext i32 %678 to i64
%680 = getelementptr inbounds [3 x [3 x double]], ptr %677, i64 0, i64 %679
%681 = load i32, ptr %35, align 4
%682 = sext i32 %681 to i64
%683 = getelementptr inbounds [3 x double], ptr %680, i64 0, i64 %682
%684 = load double, ptr %683, align 8
%685 = load ptr, ptr %16, align 8
%686 = load i32, ptr %37, align 4
%687 = add nsw i32 %686, 1
%688 = sext i32 %687 to i64
%689 = getelementptr inbounds double, ptr %685, i64 %688
%690 = load double, ptr %689, align 8
%691 = fadd double %690, %684
store double %691, ptr %689, align 8
br label %692
692: ; preds = %638
%693 = load i32, ptr %35, align 4
%694 = add nsw i32 %693, 1
store i32 %694, ptr %35, align 4
br label %635, !llvm.loop !21
695: ; preds = %635
br label %696
696: ; preds = %695
%697 = load i32, ptr %34, align 4
%698 = add nsw i32 %697, 1
store i32 %698, ptr %34, align 4
br label %631, !llvm.loop !22
699: ; preds = %631
br label %700
700: ; preds = %699
%701 = load i32, ptr %33, align 4
%702 = add nsw i32 %701, 1
store i32 %702, ptr %33, align 4
br label %627, !llvm.loop !23
703: ; preds = %627
br label %704
704: ; preds = %703
%705 = load i32, ptr %32, align 4
%706 = add nsw i32 %705, 1
store i32 %706, ptr %32, align 4
br label %156, !llvm.loop !24
707: ; preds = %156
br label %708
708: ; preds = %707
%709 = load i32, ptr %31, align 4
%710 = add nsw i32 %709, 1
store i32 %710, ptr %31, align 4
br label %151, !llvm.loop !25
711: ; preds = %151
store i32 0, ptr %31, align 4
br label %712
712: ; preds = %823, %711
%713 = load i32, ptr %31, align 4
%714 = icmp slt i32 %713, 3
br i1 %714, label %715, label %826
715: ; preds = %712
%716 = load i32, ptr %31, align 4
store i32 %716, ptr %32, align 4
br label %717
717: ; preds = %819, %715
%718 = load i32, ptr %32, align 4
%719 = load i32, ptr %17, align 4
%720 = mul nsw i32 %719, 3
%721 = icmp slt i32 %718, %720
br i1 %721, label %722, label %822
722: ; preds = %717
store i32 0, ptr %33, align 4
br label %723
723: ; preds = %815, %722
%724 = load i32, ptr %33, align 4
%725 = load i32, ptr %17, align 4
%726 = mul nsw i32 %725, 3
%727 = icmp slt i32 %724, %726
br i1 %727, label %728, label %818
728: ; preds = %723
%729 = load i32, ptr %31, align 4
%730 = load i32, ptr %17, align 4
%731 = mul nsw i32 %729, %730
%732 = load i32, ptr %17, align 4
%733 = mul nsw i32 %731, %732
%734 = mul nsw i32 %733, 18
%735 = load i32, ptr %32, align 4
%736 = load i32, ptr %17, align 4
%737 = mul nsw i32 %735, %736
%738 = mul nsw i32 %737, 6
%739 = add nsw i32 %734, %738
%740 = load i32, ptr %33, align 4
%741 = mul nsw i32 %740, 2
%742 = add nsw i32 %739, %741
store i32 %742, ptr %37, align 4
%743 = load i32, ptr %31, align 4
%744 = load i32, ptr %17, align 4
%745 = mul nsw i32 %743, %744
%746 = load i32, ptr %17, align 4
%747 = mul nsw i32 %745, %746
%748 = mul nsw i32 %747, 18
%749 = load i32, ptr %33, align 4
%750 = load i32, ptr %17, align 4
%751 = mul nsw i32 %749, %750
%752 = mul nsw i32 %751, 6
%753 = add nsw i32 %748, %752
%754 = load i32, ptr %32, align 4
%755 = mul nsw i32 %754, 2
%756 = add nsw i32 %753, %755
store i32 %756, ptr %38, align 4
%757 = load ptr, ptr %16, align 8
%758 = load i32, ptr %38, align 4
%759 = sext i32 %758 to i64
%760 = getelementptr inbounds double, ptr %757, i64 %759
%761 = load double, ptr %760, align 8
%762 = load ptr, ptr %16, align 8
%763 = load i32, ptr %37, align 4
%764 = sext i32 %763 to i64
%765 = getelementptr inbounds double, ptr %762, i64 %764
%766 = load double, ptr %765, align 8
%767 = fadd double %766, %761
store double %767, ptr %765, align 8
%768 = load ptr, ptr %16, align 8
%769 = load i32, ptr %37, align 4
%770 = sext i32 %769 to i64
%771 = getelementptr inbounds double, ptr %768, i64 %770
%772 = load double, ptr %771, align 8
%773 = fdiv double %772, 2.000000e+00
store double %773, ptr %771, align 8
%774 = load ptr, ptr %16, align 8
%775 = load i32, ptr %38, align 4
%776 = add nsw i32 %775, 1
%777 = sext i32 %776 to i64
%778 = getelementptr inbounds double, ptr %774, i64 %777
%779 = load double, ptr %778, align 8
%780 = load ptr, ptr %16, align 8
%781 = load i32, ptr %37, align 4
%782 = add nsw i32 %781, 1
%783 = sext i32 %782 to i64
%784 = getelementptr inbounds double, ptr %780, i64 %783
%785 = load double, ptr %784, align 8
%786 = fsub double %785, %779
store double %786, ptr %784, align 8
%787 = load ptr, ptr %16, align 8
%788 = load i32, ptr %37, align 4
%789 = add nsw i32 %788, 1
%790 = sext i32 %789 to i64
%791 = getelementptr inbounds double, ptr %787, i64 %790
%792 = load double, ptr %791, align 8
%793 = fdiv double %792, 2.000000e+00
store double %793, ptr %791, align 8
%794 = load ptr, ptr %16, align 8
%795 = load i32, ptr %37, align 4
%796 = sext i32 %795 to i64
%797 = getelementptr inbounds double, ptr %794, i64 %796
%798 = load double, ptr %797, align 8
%799 = load ptr, ptr %16, align 8
%800 = load i32, ptr %38, align 4
%801 = sext i32 %800 to i64
%802 = getelementptr inbounds double, ptr %799, i64 %801
store double %798, ptr %802, align 8
%803 = load ptr, ptr %16, align 8
%804 = load i32, ptr %37, align 4
%805 = add nsw i32 %804, 1
%806 = sext i32 %805 to i64
%807 = getelementptr inbounds double, ptr %803, i64 %806
%808 = load double, ptr %807, align 8
%809 = fneg double %808
%810 = load ptr, ptr %16, align 8
%811 = load i32, ptr %38, align 4
%812 = add nsw i32 %811, 1
%813 = sext i32 %812 to i64
%814 = getelementptr inbounds double, ptr %810, i64 %813
store double %809, ptr %814, align 8
br label %815
815: ; preds = %728
%816 = load i32, ptr %33, align 4
%817 = add nsw i32 %816, 1
store i32 %817, ptr %33, align 4
br label %723, !llvm.loop !26
818: ; preds = %723
br label %819
819: ; preds = %818
%820 = load i32, ptr %32, align 4
%821 = add nsw i32 %820, 1
store i32 %821, ptr %32, align 4
br label %717, !llvm.loop !27
822: ; preds = %717
br label %823
823: ; preds = %822
%824 = load i32, ptr %31, align 4
%825 = add nsw i32 %824, 1
store i32 %825, ptr %31, align 4
br label %712, !llvm.loop !28
826: ; preds = %712
%827 = load i32, ptr %39, align 4
%828 = icmp ne i32 %827, 0
br i1 %828, label %829, label %834
829: ; preds = %826
%830 = load ptr, ptr %53, align 8
%831 = call i32 @free(ptr noundef %830)
%832 = load ptr, ptr %54, align 8
%833 = call i32 @free(ptr noundef %832)
br label %834
834: ; preds = %829, %826
ret void
}
declare i32 @fabs(double noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @get_derivative_nac(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @sin(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
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" }
attributes #2 = { nounwind "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) }
attributes #4 = { nounwind }
!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}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7frmi930.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 @get_derivative_dynmat_at_q(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, double noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14) #0 {
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca double, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%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 [3 x double], align 16
%41 = alloca [3 x double], align 16
%42 = alloca [3 x double], align 16
%43 = alloca double, align 8
%44 = alloca double, align 8
%45 = alloca double, align 8
%46 = alloca double, align 8
%47 = alloca double, align 8
%48 = alloca double, align 8
%49 = alloca double, align 8
%50 = alloca double, align 8
%51 = alloca [3 x [3 x [3 x double]]], align 16
%52 = alloca [3 x [3 x [3 x double]]], align 16
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
store ptr %0, ptr %16, align 8
store i32 %1, ptr %17, align 4
store i32 %2, ptr %18, align 4
store ptr %3, ptr %19, align 8
store ptr %4, ptr %20, align 8
store ptr %5, ptr %21, align 8
store ptr %6, ptr %22, align 8
store ptr %7, ptr %23, align 8
store ptr %8, ptr %24, align 8
store ptr %9, ptr %25, align 8
store ptr %10, ptr %26, align 8
store double %11, ptr %27, align 8
store ptr %12, ptr %28, align 8
store ptr %13, ptr %29, align 8
store ptr %14, ptr %30, align 8
%55 = load ptr, ptr %28, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %107
57: ; preds = %15
store i32 1, ptr %39, align 4
%58 = load ptr, ptr %30, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %83
60: ; preds = %57
%61 = load ptr, ptr %30, align 8
%62 = getelementptr inbounds double, ptr %61, i64 0
%63 = load double, ptr %62, align 8
%64 = call i32 @fabs(double noundef %63)
%65 = sitofp i32 %64 to double
%66 = fcmp olt double %65, 1.000000e-05
br i1 %66, label %67, label %82
67: ; preds = %60
%68 = load ptr, ptr %30, align 8
%69 = getelementptr inbounds double, ptr %68, i64 1
%70 = load double, ptr %69, align 8
%71 = call i32 @fabs(double noundef %70)
%72 = sitofp i32 %71 to double
%73 = fcmp olt double %72, 1.000000e-05
br i1 %73, label %74, label %82
74: ; preds = %67
%75 = load ptr, ptr %30, align 8
%76 = getelementptr inbounds double, ptr %75, i64 2
%77 = load double, ptr %76, align 8
%78 = call i32 @fabs(double noundef %77)
%79 = sitofp i32 %78 to double
%80 = fcmp olt double %79, 1.000000e-05
br i1 %80, label %81, label %82
81: ; preds = %74
store i32 0, ptr %39, align 4
br label %82
82: ; preds = %81, %74, %67, %60
br label %106
83: ; preds = %57
%84 = load ptr, ptr %20, align 8
%85 = getelementptr inbounds double, ptr %84, i64 0
%86 = load double, ptr %85, align 8
%87 = call i32 @fabs(double noundef %86)
%88 = sitofp i32 %87 to double
%89 = fcmp olt double %88, 1.000000e-05
br i1 %89, label %90, label %105
90: ; preds = %83
%91 = load ptr, ptr %20, align 8
%92 = getelementptr inbounds double, ptr %91, i64 1
%93 = load double, ptr %92, align 8
%94 = call i32 @fabs(double noundef %93)
%95 = sitofp i32 %94 to double
%96 = fcmp olt double %95, 1.000000e-05
br i1 %96, label %97, label %105
97: ; preds = %90
%98 = load ptr, ptr %20, align 8
%99 = getelementptr inbounds double, ptr %98, i64 2
%100 = load double, ptr %99, align 8
%101 = call i32 @fabs(double noundef %100)
%102 = sitofp i32 %101 to double
%103 = fcmp olt double %102, 1.000000e-05
br i1 %103, label %104, label %105
104: ; preds = %97
store i32 0, ptr %39, align 4
br label %105
105: ; preds = %104, %97, %90, %83
br label %106
106: ; preds = %105, %82
br label %108
107: ; preds = %15
store i32 0, ptr %39, align 4
br label %108
108: ; preds = %107, %106
%109 = load i32, ptr %39, align 4
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %150
111: ; preds = %108
%112 = load i32, ptr %17, align 4
%113 = sext i32 %112 to i64
%114 = mul i64 8, %113
%115 = load i32, ptr %17, align 4
%116 = sext i32 %115 to i64
%117 = mul i64 %114, %116
%118 = mul i64 %117, 27
%119 = trunc i64 %118 to i32
%120 = call i64 @malloc(i32 noundef %119)
%121 = inttoptr i64 %120 to ptr
store ptr %121, ptr %53, align 8
%122 = load i32, ptr %17, align 4
%123 = sext i32 %122 to i64
%124 = mul i64 8, %123
%125 = load i32, ptr %17, align 4
%126 = sext i32 %125 to i64
%127 = mul i64 %124, %126
%128 = mul i64 %127, 9
%129 = trunc i64 %128 to i32
%130 = call i64 @malloc(i32 noundef %129)
%131 = inttoptr i64 %130 to ptr
store ptr %131, ptr %54, align 8
%132 = load double, ptr %27, align 8
%133 = load i32, ptr %17, align 4
%134 = sitofp i32 %133 to double
%135 = fmul double %132, %134
%136 = load i32, ptr %18, align 4
%137 = sitofp i32 %136 to double
%138 = fdiv double %135, %137
store double %138, ptr %48, align 8
%139 = load ptr, ptr %53, align 8
%140 = load ptr, ptr %54, align 8
%141 = load i32, ptr %17, align 4
%142 = load ptr, ptr %21, align 8
%143 = load ptr, ptr %24, align 8
%144 = load ptr, ptr %20, align 8
%145 = load ptr, ptr %28, align 8
%146 = load ptr, ptr %29, align 8
%147 = load ptr, ptr %30, align 8
%148 = load double, ptr %48, align 8
%149 = call i32 @get_derivative_nac(ptr noundef %139, ptr noundef %140, i32 noundef %141, ptr noundef %142, ptr noundef %143, ptr noundef %144, ptr noundef %145, ptr noundef %146, ptr noundef %147, double noundef %148)
br label %150
150: ; preds = %111, %108
store i32 0, ptr %31, align 4
%151 = load i32, ptr %31, align 4
%152 = load i32, ptr %17, align 4
%153 = icmp slt i32 %151, %152
br i1 %153, label %.lr.ph53, label %742
.lr.ph53: ; preds = %150
br label %154
154: ; preds = %.lr.ph53, %736
store i32 0, ptr %32, align 4
%155 = load i32, ptr %32, align 4
%156 = load i32, ptr %17, align 4
%157 = icmp slt i32 %155, %156
br i1 %157, label %.lr.ph50, label %735
.lr.ph50: ; preds = %154
br label %158
158: ; preds = %.lr.ph50, %729
%159 = load ptr, ptr %24, align 8
%160 = load i32, ptr %31, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double, ptr %159, i64 %161
%163 = load double, ptr %162, align 8
%164 = load ptr, ptr %24, align 8
%165 = load i32, ptr %32, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds double, ptr %164, i64 %166
%168 = load double, ptr %167, align 8
%169 = fmul double %163, %168
%170 = call double @sqrt(double noundef %169) #4
store double %170, ptr %46, align 8
store i32 0, ptr %33, align 4
%171 = load i32, ptr %33, align 4
%172 = icmp slt i32 %171, 3
br i1 %172, label %.lr.ph5, label %215
.lr.ph5: ; preds = %158
br label %173
173: ; preds = %.lr.ph5, %210
store i32 0, ptr %34, align 4
%174 = load i32, ptr %34, align 4
%175 = icmp slt i32 %174, 3
br i1 %175, label %.lr.ph2, label %209
.lr.ph2: ; preds = %173
br label %176
176: ; preds = %.lr.ph2, %204
store i32 0, ptr %35, align 4
%177 = load i32, ptr %35, align 4
%178 = icmp slt i32 %177, 3
br i1 %178, label %.lr.ph, label %203
.lr.ph: ; preds = %176
br label %179
179: ; preds = %.lr.ph, %198
%180 = load i32, ptr %35, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %51, i64 0, i64 %181
%183 = load i32, ptr %33, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [3 x [3 x double]], ptr %182, i64 0, i64 %184
%186 = load i32, ptr %34, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [3 x double], ptr %185, i64 0, i64 %187
store double 0.000000e+00, ptr %188, align 8
%189 = load i32, ptr %35, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %52, i64 0, i64 %190
%192 = load i32, ptr %33, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [3 x [3 x double]], ptr %191, i64 0, i64 %193
%195 = load i32, ptr %34, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [3 x double], ptr %194, i64 0, i64 %196
store double 0.000000e+00, ptr %197, align 8
br label %198
198: ; preds = %179
%199 = load i32, ptr %35, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %35, align 4
%201 = load i32, ptr %35, align 4
%202 = icmp slt i32 %201, 3
br i1 %202, label %179, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %198
br label %203
203: ; preds = %._crit_edge, %176
br label %204
204: ; preds = %203
%205 = load i32, ptr %34, align 4
%206 = add nsw i32 %205, 1
store i32 %206, ptr %34, align 4
%207 = load i32, ptr %34, align 4
%208 = icmp slt i32 %207, 3
br i1 %208, label %176, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %204
br label %209
209: ; preds = %._crit_edge3, %173
br label %210
210: ; preds = %209
%211 = load i32, ptr %33, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %33, align 4
%213 = load i32, ptr %33, align 4
%214 = icmp slt i32 %213, 3
br i1 %214, label %173, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %210
br label %215
215: ; preds = %._crit_edge6, %158
store i32 0, ptr %33, align 4
%216 = load i32, ptr %33, align 4
%217 = load i32, ptr %18, align 4
%218 = icmp slt i32 %216, %217
br i1 %218, label %.lr.ph38, label %648
.lr.ph38: ; preds = %215
br label %219
219: ; preds = %.lr.ph38, %642
%220 = load ptr, ptr %25, align 8
%221 = load i32, ptr %33, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i32, ptr %220, i64 %222
%224 = load i32, ptr %223, align 4
%225 = load ptr, ptr %26, align 8
%226 = load i32, ptr %32, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds i32, ptr %225, i64 %227
%229 = load i32, ptr %228, align 4
%230 = icmp ne i32 %224, %229
br i1 %230, label %231, label %232
231: ; preds = %219
br label %642
232: ; preds = %219
store double 0.000000e+00, ptr %49, align 8
store double 0.000000e+00, ptr %50, align 8
store i32 0, ptr %34, align 4
%233 = load i32, ptr %34, align 4
%234 = icmp slt i32 %233, 3
br i1 %234, label %.lr.ph8, label %247
.lr.ph8: ; preds = %232
br label %235
235: ; preds = %.lr.ph8, %242
%236 = load i32, ptr %34, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %237
store double 0.000000e+00, ptr %238, align 8
%239 = load i32, ptr %34, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %240
store double 0.000000e+00, ptr %241, align 8
br label %242
242: ; preds = %235
%243 = load i32, ptr %34, align 4
%244 = add nsw i32 %243, 1
store i32 %244, ptr %34, align 4
%245 = load i32, ptr %34, align 4
%246 = icmp slt i32 %245, 3
br i1 %246, label %235, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %242
br label %247
247: ; preds = %._crit_edge9, %232
store i32 0, ptr %34, align 4
%248 = load i32, ptr %34, align 4
%249 = load ptr, ptr %23, align 8
%250 = load i32, ptr %33, align 4
%251 = load i32, ptr %17, align 4
%252 = mul nsw i32 %250, %251
%253 = load i32, ptr %31, align 4
%254 = add nsw i32 %252, %253
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds i32, ptr %249, i64 %255
%257 = load i32, ptr %256, align 4
%258 = icmp slt i32 %248, %257
br i1 %258, label %.lr.ph23, label %401
.lr.ph23: ; preds = %247
br label %259
259: ; preds = %.lr.ph23, %387
store double 0.000000e+00, ptr %45, align 8
store i32 0, ptr %35, align 4
%260 = load i32, ptr %35, align 4
%261 = icmp slt i32 %260, 3
br i1 %261, label %.lr.ph11, label %291
.lr.ph11: ; preds = %259
br label %262
262: ; preds = %.lr.ph11, %286
%263 = load ptr, ptr %20, align 8
%264 = load i32, ptr %35, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds double, ptr %263, i64 %265
%267 = load double, ptr %266, align 8
%268 = load ptr, ptr %22, align 8
%269 = load i32, ptr %33, align 4
%270 = load i32, ptr %17, align 4
%271 = mul nsw i32 %269, %270
%272 = mul nsw i32 %271, 81
%273 = load i32, ptr %31, align 4
%274 = mul nsw i32 %273, 81
%275 = add nsw i32 %272, %274
%276 = load i32, ptr %34, align 4
%277 = mul nsw i32 %276, 3
%278 = add nsw i32 %275, %277
%279 = load i32, ptr %35, align 4
%280 = add nsw i32 %278, %279
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds double, ptr %268, i64 %281
%283 = load double, ptr %282, align 8
%284 = load double, ptr %45, align 8
%285 = call double @llvm.fmuladd.f64(double %267, double %283, double %284)
store double %285, ptr %45, align 8
br label %286
286: ; preds = %262
%287 = load i32, ptr %35, align 4
%288 = add nsw i32 %287, 1
store i32 %288, ptr %35, align 4
%289 = load i32, ptr %35, align 4
%290 = icmp slt i32 %289, 3
br i1 %290, label %262, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %286
br label %291
291: ; preds = %._crit_edge12, %259
%292 = load double, ptr %45, align 8
%293 = fmul double %292, 2.000000e+00
%294 = fmul double %293, 0x400921FB54442D18
%295 = call double @sin(double noundef %294) #4
store double %295, ptr %44, align 8
%296 = load double, ptr %45, align 8
%297 = fmul double %296, 2.000000e+00
%298 = fmul double %297, 0x400921FB54442D18
%299 = call double @cos(double noundef %298) #4
store double %299, ptr %43, align 8
%300 = load double, ptr %43, align 8
%301 = load double, ptr %49, align 8
%302 = fadd double %301, %300
store double %302, ptr %49, align 8
%303 = load double, ptr %44, align 8
%304 = load double, ptr %50, align 8
%305 = fadd double %304, %303
store double %305, ptr %50, align 8
store i32 0, ptr %35, align 4
%306 = load i32, ptr %35, align 4
%307 = icmp slt i32 %306, 3
br i1 %307, label %.lr.ph17, label %356
.lr.ph17: ; preds = %291
br label %308
308: ; preds = %.lr.ph17, %351
%309 = load i32, ptr %35, align 4
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %310
store double 0.000000e+00, ptr %311, align 8
store i32 0, ptr %36, align 4
%312 = load i32, ptr %36, align 4
%313 = icmp slt i32 %312, 3
br i1 %313, label %.lr.ph14, label %350
.lr.ph14: ; preds = %308
br label %314
314: ; preds = %.lr.ph14, %345
%315 = load ptr, ptr %21, align 8
%316 = load i32, ptr %35, align 4
%317 = mul nsw i32 %316, 3
%318 = load i32, ptr %36, align 4
%319 = add nsw i32 %317, %318
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds double, ptr %315, i64 %320
%322 = load double, ptr %321, align 8
%323 = fmul double 0x401921FB54442D18, %322
%324 = load ptr, ptr %22, align 8
%325 = load i32, ptr %33, align 4
%326 = load i32, ptr %17, align 4
%327 = mul nsw i32 %325, %326
%328 = mul nsw i32 %327, 81
%329 = load i32, ptr %31, align 4
%330 = mul nsw i32 %329, 81
%331 = add nsw i32 %328, %330
%332 = load i32, ptr %34, align 4
%333 = mul nsw i32 %332, 3
%334 = add nsw i32 %331, %333
%335 = load i32, ptr %36, align 4
%336 = add nsw i32 %334, %335
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds double, ptr %324, i64 %337
%339 = load double, ptr %338, align 8
%340 = load i32, ptr %35, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %341
%343 = load double, ptr %342, align 8
%344 = call double @llvm.fmuladd.f64(double %323, double %339, double %343)
store double %344, ptr %342, align 8
br label %345
345: ; preds = %314
%346 = load i32, ptr %36, align 4
%347 = add nsw i32 %346, 1
store i32 %347, ptr %36, align 4
%348 = load i32, ptr %36, align 4
%349 = icmp slt i32 %348, 3
br i1 %349, label %314, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %345
br label %350
350: ; preds = %._crit_edge15, %308
br label %351
351: ; preds = %350
%352 = load i32, ptr %35, align 4
%353 = add nsw i32 %352, 1
store i32 %353, ptr %35, align 4
%354 = load i32, ptr %35, align 4
%355 = icmp slt i32 %354, 3
br i1 %355, label %308, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %351
br label %356
356: ; preds = %._crit_edge18, %291
store i32 0, ptr %35, align 4
%357 = load i32, ptr %35, align 4
%358 = icmp slt i32 %357, 3
br i1 %358, label %.lr.ph20, label %386
.lr.ph20: ; preds = %356
br label %359
359: ; preds = %.lr.ph20, %381
%360 = load i32, ptr %35, align 4
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %361
%363 = load double, ptr %362, align 8
%364 = load double, ptr %44, align 8
%365 = load i32, ptr %35, align 4
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %366
%368 = load double, ptr %367, align 8
%369 = fneg double %363
%370 = call double @llvm.fmuladd.f64(double %369, double %364, double %368)
store double %370, ptr %367, align 8
%371 = load i32, ptr %35, align 4
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %372
%374 = load double, ptr %373, align 8
%375 = load double, ptr %43, align 8
%376 = load i32, ptr %35, align 4
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %377
%379 = load double, ptr %378, align 8
%380 = call double @llvm.fmuladd.f64(double %374, double %375, double %379)
store double %380, ptr %378, align 8
br label %381
381: ; preds = %359
%382 = load i32, ptr %35, align 4
%383 = add nsw i32 %382, 1
store i32 %383, ptr %35, align 4
%384 = load i32, ptr %35, align 4
%385 = icmp slt i32 %384, 3
br i1 %385, label %359, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %381
br label %386
386: ; preds = %._crit_edge21, %356
br label %387
387: ; preds = %386
%388 = load i32, ptr %34, align 4
%389 = add nsw i32 %388, 1
store i32 %389, ptr %34, align 4
%390 = load i32, ptr %34, align 4
%391 = load ptr, ptr %23, align 8
%392 = load i32, ptr %33, align 4
%393 = load i32, ptr %17, align 4
%394 = mul nsw i32 %392, %393
%395 = load i32, ptr %31, align 4
%396 = add nsw i32 %394, %395
%397 = sext i32 %396 to i64
%398 = getelementptr inbounds i32, ptr %391, i64 %397
%399 = load i32, ptr %398, align 4
%400 = icmp slt i32 %390, %399
br i1 %400, label %259, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %387
br label %401
401: ; preds = %._crit_edge24, %247
%402 = load ptr, ptr %23, align 8
%403 = load i32, ptr %33, align 4
%404 = load i32, ptr %17, align 4
%405 = mul nsw i32 %403, %404
%406 = load i32, ptr %31, align 4
%407 = add nsw i32 %405, %406
%408 = sext i32 %407 to i64
%409 = getelementptr inbounds i32, ptr %402, i64 %408
%410 = load i32, ptr %409, align 4
%411 = sitofp i32 %410 to double
%412 = load double, ptr %49, align 8
%413 = fdiv double %412, %411
store double %413, ptr %49, align 8
%414 = load ptr, ptr %23, align 8
%415 = load i32, ptr %33, align 4
%416 = load i32, ptr %17, align 4
%417 = mul nsw i32 %415, %416
%418 = load i32, ptr %31, align 4
%419 = add nsw i32 %417, %418
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds i32, ptr %414, i64 %420
%422 = load i32, ptr %421, align 4
%423 = sitofp i32 %422 to double
%424 = load double, ptr %50, align 8
%425 = fdiv double %424, %423
store double %425, ptr %50, align 8
store i32 0, ptr %34, align 4
%426 = load i32, ptr %34, align 4
%427 = icmp slt i32 %426, 3
br i1 %427, label %.lr.ph26, label %464
.lr.ph26: ; preds = %401
br label %428
428: ; preds = %.lr.ph26, %459
%429 = load ptr, ptr %23, align 8
%430 = load i32, ptr %33, align 4
%431 = load i32, ptr %17, align 4
%432 = mul nsw i32 %430, %431
%433 = load i32, ptr %31, align 4
%434 = add nsw i32 %432, %433
%435 = sext i32 %434 to i64
%436 = getelementptr inbounds i32, ptr %429, i64 %435
%437 = load i32, ptr %436, align 4
%438 = sitofp i32 %437 to double
%439 = load i32, ptr %34, align 4
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %440
%442 = load double, ptr %441, align 8
%443 = fdiv double %442, %438
store double %443, ptr %441, align 8
%444 = load ptr, ptr %23, align 8
%445 = load i32, ptr %33, align 4
%446 = load i32, ptr %17, align 4
%447 = mul nsw i32 %445, %446
%448 = load i32, ptr %31, align 4
%449 = add nsw i32 %447, %448
%450 = sext i32 %449 to i64
%451 = getelementptr inbounds i32, ptr %444, i64 %450
%452 = load i32, ptr %451, align 4
%453 = sitofp i32 %452 to double
%454 = load i32, ptr %34, align 4
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %455
%457 = load double, ptr %456, align 8
%458 = fdiv double %457, %453
store double %458, ptr %456, align 8
br label %459
459: ; preds = %428
%460 = load i32, ptr %34, align 4
%461 = add nsw i32 %460, 1
store i32 %461, ptr %34, align 4
%462 = load i32, ptr %34, align 4
%463 = icmp slt i32 %462, 3
br i1 %463, label %428, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %459
br label %464
464: ; preds = %._crit_edge27, %401
store i32 0, ptr %34, align 4
%465 = load i32, ptr %34, align 4
%466 = icmp slt i32 %465, 3
br i1 %466, label %.lr.ph35, label %641
.lr.ph35: ; preds = %464
br label %467
467: ; preds = %.lr.ph35, %636
store i32 0, ptr %35, align 4
%468 = load i32, ptr %35, align 4
%469 = icmp slt i32 %468, 3
br i1 %469, label %.lr.ph32, label %635
.lr.ph32: ; preds = %467
br label %470
470: ; preds = %.lr.ph32, %630
%471 = load ptr, ptr %19, align 8
%472 = load ptr, ptr %26, align 8
%473 = load i32, ptr %31, align 4
%474 = sext i32 %473 to i64
%475 = getelementptr inbounds i32, ptr %472, i64 %474
%476 = load i32, ptr %475, align 4
%477 = load i32, ptr %18, align 4
%478 = mul nsw i32 %476, %477
%479 = mul nsw i32 %478, 9
%480 = load i32, ptr %33, align 4
%481 = mul nsw i32 %480, 9
%482 = add nsw i32 %479, %481
%483 = load i32, ptr %34, align 4
%484 = mul nsw i32 %483, 3
%485 = add nsw i32 %482, %484
%486 = load i32, ptr %35, align 4
%487 = add nsw i32 %485, %486
%488 = sext i32 %487 to i64
%489 = getelementptr inbounds double, ptr %471, i64 %488
%490 = load double, ptr %489, align 8
%491 = load double, ptr %46, align 8
%492 = fdiv double %490, %491
store double %492, ptr %47, align 8
%493 = load i32, ptr %39, align 4
%494 = icmp ne i32 %493, 0
br i1 %494, label %495, label %514
495: ; preds = %470
%496 = load ptr, ptr %54, align 8
%497 = load i32, ptr %31, align 4
%498 = mul nsw i32 %497, 9
%499 = load i32, ptr %17, align 4
%500 = mul nsw i32 %498, %499
%501 = load i32, ptr %32, align 4
%502 = mul nsw i32 %501, 9
%503 = add nsw i32 %500, %502
%504 = load i32, ptr %34, align 4
%505 = mul nsw i32 %504, 3
%506 = add nsw i32 %503, %505
%507 = load i32, ptr %35, align 4
%508 = add nsw i32 %506, %507
%509 = sext i32 %508 to i64
%510 = getelementptr inbounds double, ptr %496, i64 %509
%511 = load double, ptr %510, align 8
%512 = load double, ptr %47, align 8
%513 = fadd double %512, %511
store double %513, ptr %47, align 8
br label %514
514: ; preds = %495, %470
store i32 0, ptr %36, align 4
%515 = load i32, ptr %36, align 4
%516 = icmp slt i32 %515, 3
br i1 %516, label %.lr.ph29, label %629
.lr.ph29: ; preds = %514
br label %517
517: ; preds = %.lr.ph29, %624
%518 = load double, ptr %47, align 8
%519 = load i32, ptr %36, align 4
%520 = sext i32 %519 to i64
%521 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %520
%522 = load double, ptr %521, align 8
%523 = load i32, ptr %36, align 4
%524 = sext i32 %523 to i64
%525 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %51, i64 0, i64 %524
%526 = load i32, ptr %34, align 4
%527 = sext i32 %526 to i64
%528 = getelementptr inbounds [3 x [3 x double]], ptr %525, i64 0, i64 %527
%529 = load i32, ptr %35, align 4
%530 = sext i32 %529 to i64
%531 = getelementptr inbounds [3 x double], ptr %528, i64 0, i64 %530
%532 = load double, ptr %531, align 8
%533 = call double @llvm.fmuladd.f64(double %518, double %522, double %532)
store double %533, ptr %531, align 8
%534 = load double, ptr %47, align 8
%535 = load i32, ptr %36, align 4
%536 = sext i32 %535 to i64
%537 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 %536
%538 = load double, ptr %537, align 8
%539 = load i32, ptr %36, align 4
%540 = sext i32 %539 to i64
%541 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %52, i64 0, i64 %540
%542 = load i32, ptr %34, align 4
%543 = sext i32 %542 to i64
%544 = getelementptr inbounds [3 x [3 x double]], ptr %541, i64 0, i64 %543
%545 = load i32, ptr %35, align 4
%546 = sext i32 %545 to i64
%547 = getelementptr inbounds [3 x double], ptr %544, i64 0, i64 %546
%548 = load double, ptr %547, align 8
%549 = call double @llvm.fmuladd.f64(double %534, double %538, double %548)
store double %549, ptr %547, align 8
%550 = load i32, ptr %39, align 4
%551 = icmp ne i32 %550, 0
br i1 %551, label %552, label %623
552: ; preds = %517
%553 = load ptr, ptr %53, align 8
%554 = load i32, ptr %36, align 4
%555 = load i32, ptr %17, align 4
%556 = mul nsw i32 %554, %555
%557 = load i32, ptr %17, align 4
%558 = mul nsw i32 %556, %557
%559 = mul nsw i32 %558, 9
%560 = load i32, ptr %31, align 4
%561 = mul nsw i32 %560, 9
%562 = load i32, ptr %17, align 4
%563 = mul nsw i32 %561, %562
%564 = add nsw i32 %559, %563
%565 = load i32, ptr %32, align 4
%566 = mul nsw i32 %565, 9
%567 = add nsw i32 %564, %566
%568 = load i32, ptr %34, align 4
%569 = mul nsw i32 %568, 3
%570 = add nsw i32 %567, %569
%571 = load i32, ptr %35, align 4
%572 = add nsw i32 %570, %571
%573 = sext i32 %572 to i64
%574 = getelementptr inbounds double, ptr %553, i64 %573
%575 = load double, ptr %574, align 8
%576 = load double, ptr %49, align 8
%577 = load i32, ptr %36, align 4
%578 = sext i32 %577 to i64
%579 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %51, i64 0, i64 %578
%580 = load i32, ptr %34, align 4
%581 = sext i32 %580 to i64
%582 = getelementptr inbounds [3 x [3 x double]], ptr %579, i64 0, i64 %581
%583 = load i32, ptr %35, align 4
%584 = sext i32 %583 to i64
%585 = getelementptr inbounds [3 x double], ptr %582, i64 0, i64 %584
%586 = load double, ptr %585, align 8
%587 = call double @llvm.fmuladd.f64(double %575, double %576, double %586)
store double %587, ptr %585, align 8
%588 = load ptr, ptr %53, align 8
%589 = load i32, ptr %36, align 4
%590 = load i32, ptr %17, align 4
%591 = mul nsw i32 %589, %590
%592 = load i32, ptr %17, align 4
%593 = mul nsw i32 %591, %592
%594 = mul nsw i32 %593, 9
%595 = load i32, ptr %31, align 4
%596 = mul nsw i32 %595, 9
%597 = load i32, ptr %17, align 4
%598 = mul nsw i32 %596, %597
%599 = add nsw i32 %594, %598
%600 = load i32, ptr %32, align 4
%601 = mul nsw i32 %600, 9
%602 = add nsw i32 %599, %601
%603 = load i32, ptr %34, align 4
%604 = mul nsw i32 %603, 3
%605 = add nsw i32 %602, %604
%606 = load i32, ptr %35, align 4
%607 = add nsw i32 %605, %606
%608 = sext i32 %607 to i64
%609 = getelementptr inbounds double, ptr %588, i64 %608
%610 = load double, ptr %609, align 8
%611 = load double, ptr %50, align 8
%612 = load i32, ptr %36, align 4
%613 = sext i32 %612 to i64
%614 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %52, i64 0, i64 %613
%615 = load i32, ptr %34, align 4
%616 = sext i32 %615 to i64
%617 = getelementptr inbounds [3 x [3 x double]], ptr %614, i64 0, i64 %616
%618 = load i32, ptr %35, align 4
%619 = sext i32 %618 to i64
%620 = getelementptr inbounds [3 x double], ptr %617, i64 0, i64 %619
%621 = load double, ptr %620, align 8
%622 = call double @llvm.fmuladd.f64(double %610, double %611, double %621)
store double %622, ptr %620, align 8
br label %623
623: ; preds = %552, %517
br label %624
624: ; preds = %623
%625 = load i32, ptr %36, align 4
%626 = add nsw i32 %625, 1
store i32 %626, ptr %36, align 4
%627 = load i32, ptr %36, align 4
%628 = icmp slt i32 %627, 3
br i1 %628, label %517, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %624
br label %629
629: ; preds = %._crit_edge30, %514
br label %630
630: ; preds = %629
%631 = load i32, ptr %35, align 4
%632 = add nsw i32 %631, 1
store i32 %632, ptr %35, align 4
%633 = load i32, ptr %35, align 4
%634 = icmp slt i32 %633, 3
br i1 %634, label %470, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %630
br label %635
635: ; preds = %._crit_edge33, %467
br label %636
636: ; preds = %635
%637 = load i32, ptr %34, align 4
%638 = add nsw i32 %637, 1
store i32 %638, ptr %34, align 4
%639 = load i32, ptr %34, align 4
%640 = icmp slt i32 %639, 3
br i1 %640, label %467, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %636
br label %641
641: ; preds = %._crit_edge36, %464
br label %642
642: ; preds = %641, %231
%643 = load i32, ptr %33, align 4
%644 = add nsw i32 %643, 1
store i32 %644, ptr %33, align 4
%645 = load i32, ptr %33, align 4
%646 = load i32, ptr %18, align 4
%647 = icmp slt i32 %645, %646
br i1 %647, label %219, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %642
br label %648
648: ; preds = %._crit_edge39, %215
store i32 0, ptr %33, align 4
%649 = load i32, ptr %33, align 4
%650 = icmp slt i32 %649, 3
br i1 %650, label %.lr.ph47, label %728
.lr.ph47: ; preds = %648
br label %651
651: ; preds = %.lr.ph47, %723
store i32 0, ptr %34, align 4
%652 = load i32, ptr %34, align 4
%653 = icmp slt i32 %652, 3
br i1 %653, label %.lr.ph44, label %722
.lr.ph44: ; preds = %651
br label %654
654: ; preds = %.lr.ph44, %717
store i32 0, ptr %35, align 4
%655 = load i32, ptr %35, align 4
%656 = icmp slt i32 %655, 3
br i1 %656, label %.lr.ph41, label %716
.lr.ph41: ; preds = %654
br label %657
657: ; preds = %.lr.ph41, %711
%658 = load i32, ptr %33, align 4
%659 = load i32, ptr %17, align 4
%660 = mul nsw i32 %658, %659
%661 = load i32, ptr %17, align 4
%662 = mul nsw i32 %660, %661
%663 = mul nsw i32 %662, 18
%664 = load i32, ptr %31, align 4
%665 = mul nsw i32 %664, 3
%666 = load i32, ptr %34, align 4
%667 = add nsw i32 %665, %666
%668 = load i32, ptr %17, align 4
%669 = mul nsw i32 %667, %668
%670 = mul nsw i32 %669, 6
%671 = add nsw i32 %663, %670
%672 = load i32, ptr %32, align 4
%673 = mul nsw i32 %672, 6
%674 = add nsw i32 %671, %673
%675 = load i32, ptr %35, align 4
%676 = mul nsw i32 %675, 2
%677 = add nsw i32 %674, %676
store i32 %677, ptr %37, align 4
%678 = load i32, ptr %33, align 4
%679 = sext i32 %678 to i64
%680 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %51, i64 0, i64 %679
%681 = load i32, ptr %34, align 4
%682 = sext i32 %681 to i64
%683 = getelementptr inbounds [3 x [3 x double]], ptr %680, i64 0, i64 %682
%684 = load i32, ptr %35, align 4
%685 = sext i32 %684 to i64
%686 = getelementptr inbounds [3 x double], ptr %683, i64 0, i64 %685
%687 = load double, ptr %686, align 8
%688 = load ptr, ptr %16, align 8
%689 = load i32, ptr %37, align 4
%690 = sext i32 %689 to i64
%691 = getelementptr inbounds double, ptr %688, i64 %690
%692 = load double, ptr %691, align 8
%693 = fadd double %692, %687
store double %693, ptr %691, align 8
%694 = load i32, ptr %33, align 4
%695 = sext i32 %694 to i64
%696 = getelementptr inbounds [3 x [3 x [3 x double]]], ptr %52, i64 0, i64 %695
%697 = load i32, ptr %34, align 4
%698 = sext i32 %697 to i64
%699 = getelementptr inbounds [3 x [3 x double]], ptr %696, i64 0, i64 %698
%700 = load i32, ptr %35, align 4
%701 = sext i32 %700 to i64
%702 = getelementptr inbounds [3 x double], ptr %699, i64 0, i64 %701
%703 = load double, ptr %702, align 8
%704 = load ptr, ptr %16, align 8
%705 = load i32, ptr %37, align 4
%706 = add nsw i32 %705, 1
%707 = sext i32 %706 to i64
%708 = getelementptr inbounds double, ptr %704, i64 %707
%709 = load double, ptr %708, align 8
%710 = fadd double %709, %703
store double %710, ptr %708, align 8
br label %711
711: ; preds = %657
%712 = load i32, ptr %35, align 4
%713 = add nsw i32 %712, 1
store i32 %713, ptr %35, align 4
%714 = load i32, ptr %35, align 4
%715 = icmp slt i32 %714, 3
br i1 %715, label %657, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %711
br label %716
716: ; preds = %._crit_edge42, %654
br label %717
717: ; preds = %716
%718 = load i32, ptr %34, align 4
%719 = add nsw i32 %718, 1
store i32 %719, ptr %34, align 4
%720 = load i32, ptr %34, align 4
%721 = icmp slt i32 %720, 3
br i1 %721, label %654, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %717
br label %722
722: ; preds = %._crit_edge45, %651
br label %723
723: ; preds = %722
%724 = load i32, ptr %33, align 4
%725 = add nsw i32 %724, 1
store i32 %725, ptr %33, align 4
%726 = load i32, ptr %33, align 4
%727 = icmp slt i32 %726, 3
br i1 %727, label %651, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %723
br label %728
728: ; preds = %._crit_edge48, %648
br label %729
729: ; preds = %728
%730 = load i32, ptr %32, align 4
%731 = add nsw i32 %730, 1
store i32 %731, ptr %32, align 4
%732 = load i32, ptr %32, align 4
%733 = load i32, ptr %17, align 4
%734 = icmp slt i32 %732, %733
br i1 %734, label %158, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %729
br label %735
735: ; preds = %._crit_edge51, %154
br label %736
736: ; preds = %735
%737 = load i32, ptr %31, align 4
%738 = add nsw i32 %737, 1
store i32 %738, ptr %31, align 4
%739 = load i32, ptr %31, align 4
%740 = load i32, ptr %17, align 4
%741 = icmp slt i32 %739, %740
br i1 %741, label %154, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %736
br label %742
742: ; preds = %._crit_edge54, %150
store i32 0, ptr %31, align 4
%743 = load i32, ptr %31, align 4
%744 = icmp slt i32 %743, 3
br i1 %744, label %.lr.ph62, label %864
.lr.ph62: ; preds = %742
br label %745
745: ; preds = %.lr.ph62, %859
%746 = load i32, ptr %31, align 4
store i32 %746, ptr %32, align 4
%747 = load i32, ptr %32, align 4
%748 = load i32, ptr %17, align 4
%749 = mul nsw i32 %748, 3
%750 = icmp slt i32 %747, %749
br i1 %750, label %.lr.ph59, label %858
.lr.ph59: ; preds = %745
br label %751
751: ; preds = %.lr.ph59, %851
store i32 0, ptr %33, align 4
%752 = load i32, ptr %33, align 4
%753 = load i32, ptr %17, align 4
%754 = mul nsw i32 %753, 3
%755 = icmp slt i32 %752, %754
br i1 %755, label %.lr.ph56, label %850
.lr.ph56: ; preds = %751
br label %756
756: ; preds = %.lr.ph56, %843
%757 = load i32, ptr %31, align 4
%758 = load i32, ptr %17, align 4
%759 = mul nsw i32 %757, %758
%760 = load i32, ptr %17, align 4
%761 = mul nsw i32 %759, %760
%762 = mul nsw i32 %761, 18
%763 = load i32, ptr %32, align 4
%764 = load i32, ptr %17, align 4
%765 = mul nsw i32 %763, %764
%766 = mul nsw i32 %765, 6
%767 = add nsw i32 %762, %766
%768 = load i32, ptr %33, align 4
%769 = mul nsw i32 %768, 2
%770 = add nsw i32 %767, %769
store i32 %770, ptr %37, align 4
%771 = load i32, ptr %31, align 4
%772 = load i32, ptr %17, align 4
%773 = mul nsw i32 %771, %772
%774 = load i32, ptr %17, align 4
%775 = mul nsw i32 %773, %774
%776 = mul nsw i32 %775, 18
%777 = load i32, ptr %33, align 4
%778 = load i32, ptr %17, align 4
%779 = mul nsw i32 %777, %778
%780 = mul nsw i32 %779, 6
%781 = add nsw i32 %776, %780
%782 = load i32, ptr %32, align 4
%783 = mul nsw i32 %782, 2
%784 = add nsw i32 %781, %783
store i32 %784, ptr %38, align 4
%785 = load ptr, ptr %16, align 8
%786 = load i32, ptr %38, align 4
%787 = sext i32 %786 to i64
%788 = getelementptr inbounds double, ptr %785, i64 %787
%789 = load double, ptr %788, align 8
%790 = load ptr, ptr %16, align 8
%791 = load i32, ptr %37, align 4
%792 = sext i32 %791 to i64
%793 = getelementptr inbounds double, ptr %790, i64 %792
%794 = load double, ptr %793, align 8
%795 = fadd double %794, %789
store double %795, ptr %793, align 8
%796 = load ptr, ptr %16, align 8
%797 = load i32, ptr %37, align 4
%798 = sext i32 %797 to i64
%799 = getelementptr inbounds double, ptr %796, i64 %798
%800 = load double, ptr %799, align 8
%801 = fdiv double %800, 2.000000e+00
store double %801, ptr %799, align 8
%802 = load ptr, ptr %16, align 8
%803 = load i32, ptr %38, align 4
%804 = add nsw i32 %803, 1
%805 = sext i32 %804 to i64
%806 = getelementptr inbounds double, ptr %802, i64 %805
%807 = load double, ptr %806, align 8
%808 = load ptr, ptr %16, align 8
%809 = load i32, ptr %37, align 4
%810 = add nsw i32 %809, 1
%811 = sext i32 %810 to i64
%812 = getelementptr inbounds double, ptr %808, i64 %811
%813 = load double, ptr %812, align 8
%814 = fsub double %813, %807
store double %814, ptr %812, align 8
%815 = load ptr, ptr %16, align 8
%816 = load i32, ptr %37, align 4
%817 = add nsw i32 %816, 1
%818 = sext i32 %817 to i64
%819 = getelementptr inbounds double, ptr %815, i64 %818
%820 = load double, ptr %819, align 8
%821 = fdiv double %820, 2.000000e+00
store double %821, ptr %819, align 8
%822 = load ptr, ptr %16, align 8
%823 = load i32, ptr %37, align 4
%824 = sext i32 %823 to i64
%825 = getelementptr inbounds double, ptr %822, i64 %824
%826 = load double, ptr %825, align 8
%827 = load ptr, ptr %16, align 8
%828 = load i32, ptr %38, align 4
%829 = sext i32 %828 to i64
%830 = getelementptr inbounds double, ptr %827, i64 %829
store double %826, ptr %830, align 8
%831 = load ptr, ptr %16, align 8
%832 = load i32, ptr %37, align 4
%833 = add nsw i32 %832, 1
%834 = sext i32 %833 to i64
%835 = getelementptr inbounds double, ptr %831, i64 %834
%836 = load double, ptr %835, align 8
%837 = fneg double %836
%838 = load ptr, ptr %16, align 8
%839 = load i32, ptr %38, align 4
%840 = add nsw i32 %839, 1
%841 = sext i32 %840 to i64
%842 = getelementptr inbounds double, ptr %838, i64 %841
store double %837, ptr %842, align 8
br label %843
843: ; preds = %756
%844 = load i32, ptr %33, align 4
%845 = add nsw i32 %844, 1
store i32 %845, ptr %33, align 4
%846 = load i32, ptr %33, align 4
%847 = load i32, ptr %17, align 4
%848 = mul nsw i32 %847, 3
%849 = icmp slt i32 %846, %848
br i1 %849, label %756, label %._crit_edge57, !llvm.loop !26
._crit_edge57: ; preds = %843
br label %850
850: ; preds = %._crit_edge57, %751
br label %851
851: ; preds = %850
%852 = load i32, ptr %32, align 4
%853 = add nsw i32 %852, 1
store i32 %853, ptr %32, align 4
%854 = load i32, ptr %32, align 4
%855 = load i32, ptr %17, align 4
%856 = mul nsw i32 %855, 3
%857 = icmp slt i32 %854, %856
br i1 %857, label %751, label %._crit_edge60, !llvm.loop !27
._crit_edge60: ; preds = %851
br label %858
858: ; preds = %._crit_edge60, %745
br label %859
859: ; preds = %858
%860 = load i32, ptr %31, align 4
%861 = add nsw i32 %860, 1
store i32 %861, ptr %31, align 4
%862 = load i32, ptr %31, align 4
%863 = icmp slt i32 %862, 3
br i1 %863, label %745, label %._crit_edge63, !llvm.loop !28
._crit_edge63: ; preds = %859
br label %864
864: ; preds = %._crit_edge63, %742
%865 = load i32, ptr %39, align 4
%866 = icmp ne i32 %865, 0
br i1 %866, label %867, label %872
867: ; preds = %864
%868 = load ptr, ptr %53, align 8
%869 = call i32 @free(ptr noundef %868)
%870 = load ptr, ptr %54, align 8
%871 = call i32 @free(ptr noundef %870)
br label %872
872: ; preds = %867, %864
ret void
}
declare i32 @fabs(double noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @get_derivative_nac(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @sin(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
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" }
attributes #2 = { nounwind "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) }
attributes #4 = { nounwind }
!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}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
|
; ModuleID = '/tmp/tmpx1gjw8w_.c'
source_filename = "/tmp/tmpx1gjw8w_.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/tmpx1gjw8w_.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/tmp8dqqamj9.c'
source_filename = "/tmp/tmp8dqqamj9.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"%s%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\1B[\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printEscapeCode(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 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
ret void
}
declare i32 @printf(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/tmp8dqqamj9.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"%s%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\1B[\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printEscapeCode(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 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
ret void
}
declare i32 @printf(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/tmpelorn7br.c'
source_filename = "/tmp/tmpelorn7br.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
@.str.1 = private unnamed_addr constant [16 x i8] c"end transaction\00", align 1
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define dso_local void @tx_end() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { alwaysinline 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/tmpelorn7br.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
@.str.1 = private unnamed_addr constant [16 x i8] c"end transaction\00", align 1
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define dso_local void @tx_end() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { alwaysinline 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/tmpxquyckpn.c'
source_filename = "/tmp/tmpxquyckpn.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 [612 x i8] c"Usage: %s [OPTION]... [ACTION]... [FILE]...\0A\0ADecode XNB container FILE(s) or standard input\0A\0A Options:\0A -f --file FILE should be treated as a list of input files, one per line.\0A -q --quiet Suppress output\0A\0A Actions:\0A -l --list Print information about the container\0A (this is the default action if another is not specified)\0A -e --export[=basename] Export the container's object(s) to file(s), using\0A basename as the base filename if specified. Note that basename\0A may not be specified if there are multiple input files.\0A -o --output-prefix=dir Prepend this path to all output filenames\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(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 ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
ret void
}
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/tmpxquyckpn.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 [612 x i8] c"Usage: %s [OPTION]... [ACTION]... [FILE]...\0A\0ADecode XNB container FILE(s) or standard input\0A\0A Options:\0A -f --file FILE should be treated as a list of input files, one per line.\0A -q --quiet Suppress output\0A\0A Actions:\0A -l --list Print information about the container\0A (this is the default action if another is not specified)\0A -e --export[=basename] Export the container's object(s) to file(s), using\0A basename as the base filename if specified. Note that basename\0A may not be specified if there are multiple input files.\0A -o --output-prefix=dir Prepend this path to all output filenames\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(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 ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
ret void
}
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/tmpip_tt_5n.c'
source_filename = "/tmp/tmpip_tt_5n.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 @aa(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%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 %4, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 2, ptr %4, align 4
br label %8
8: ; preds = %7, %1
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %12
11: ; preds = %8
store i32 3, ptr %4, align 4
br label %13
12: ; preds = %8
store i32 4, ptr %4, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %4, align 4
%15 = call i32 @check(i32 noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i32 0, ptr %4, align 4
br label %18
18: ; preds = %17, %13
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @check(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/tmpip_tt_5n.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 @aa(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%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 %4, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 2, ptr %4, align 4
br label %8
8: ; preds = %7, %1
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %12
11: ; preds = %8
store i32 3, ptr %4, align 4
br label %13
12: ; preds = %8
store i32 4, ptr %4, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %4, align 4
%15 = call i32 @check(i32 noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i32 0, ptr %4, align 4
br label %18
18: ; preds = %17, %13
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @check(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/tmpjz1nif1f.c'
source_filename = "/tmp/tmpjz1nif1f.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"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fiz_readfile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %43
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr @SEEK_END, align 4
%15 = call i32 @fseek(ptr noundef %13, i32 noundef 0, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i64 @ftell(ptr noundef %16)
store i64 %17, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @rewind(ptr noundef %18)
%20 = load i64, ptr %5, align 8
%21 = add nsw i64 %20, 2
%22 = call ptr @malloc(i64 noundef %21)
store ptr %22, ptr %7, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %25, label %24
24: ; preds = %12
store ptr null, ptr %2, align 8
br label %43
25: ; preds = %12
%26 = load ptr, ptr %7, align 8
%27 = load i64, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = call i64 @fread(ptr noundef %26, i32 noundef 1, i64 noundef %27, ptr noundef %28)
store i64 %29, ptr %6, align 8
%30 = load i64, ptr %6, align 8
%31 = load i64, ptr %5, align 8
%32 = icmp ne i64 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %25
%34 = load ptr, ptr %7, align 8
%35 = call i32 @free(ptr noundef %34)
store ptr null, ptr %2, align 8
br label %43
36: ; preds = %25
%37 = load ptr, ptr %4, align 8
%38 = call i32 @fclose(ptr noundef %37)
%39 = load ptr, ptr %7, align 8
%40 = load i64, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %7, align 8
store ptr %42, ptr %2, align 8
br label %43
43: ; preds = %36, %33, %24, %11
%44 = load ptr, ptr %2, align 8
ret ptr %44
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @free(ptr 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/tmpjz1nif1f.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"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fiz_readfile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %43
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr @SEEK_END, align 4
%15 = call i32 @fseek(ptr noundef %13, i32 noundef 0, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i64 @ftell(ptr noundef %16)
store i64 %17, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @rewind(ptr noundef %18)
%20 = load i64, ptr %5, align 8
%21 = add nsw i64 %20, 2
%22 = call ptr @malloc(i64 noundef %21)
store ptr %22, ptr %7, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %25, label %24
24: ; preds = %12
store ptr null, ptr %2, align 8
br label %43
25: ; preds = %12
%26 = load ptr, ptr %7, align 8
%27 = load i64, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = call i64 @fread(ptr noundef %26, i32 noundef 1, i64 noundef %27, ptr noundef %28)
store i64 %29, ptr %6, align 8
%30 = load i64, ptr %6, align 8
%31 = load i64, ptr %5, align 8
%32 = icmp ne i64 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %25
%34 = load ptr, ptr %7, align 8
%35 = call i32 @free(ptr noundef %34)
store ptr null, ptr %2, align 8
br label %43
36: ; preds = %25
%37 = load ptr, ptr %4, align 8
%38 = call i32 @fclose(ptr noundef %37)
%39 = load ptr, ptr %7, align 8
%40 = load i64, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %7, align 8
store ptr %42, ptr %2, align 8
br label %43
43: ; preds = %36, %33, %24, %11
%44 = load ptr, ptr %2, align 8
ret ptr %44
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @free(ptr 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/tmp57sty8l2.c'
source_filename = "/tmp/tmp57sty8l2.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/tmp57sty8l2.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/tmpon4bw5ti.c'
source_filename = "/tmp/tmpon4bw5ti.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 [77 x i8] c"mkpasswd [-m|-d|-b|-e] [-l saltlength] [-r rounds] [-s salt] [-p plaintext]\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"-m Generate an MD5 password\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"-d Generate a DES password\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"-b Generate a BlowFish password\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"-e Generate an Extended DES password\0A\00", align 1
@.str.5 = private unnamed_addr constant [55 x i8] c"-l Specify a length for a random MD5 or BlowFish salt\0A\00", align 1
@.str.6 = private unnamed_addr constant [71 x i8] c"-r Specify a number of rounds for a BlowFish or Extended DES password\0A\00", align 1
@.str.7 = private unnamed_addr constant [53 x i8] c" BlowFish: default 4, no more than 6 recommended\0A\00", align 1
@.str.8 = private unnamed_addr constant [30 x i8] c" Extended DES: default 25\0A\00", align 1
@.str.9 = private unnamed_addr constant [73 x i8] c"-s Specify a salt, 2 alphanumeric characters for DES, up to 16 for MD5,\0A\00", align 1
@.str.10 = private unnamed_addr constant [50 x i8] c" up to 22 for BlowFish, and 4 for Extended DES\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"-p Specify a plaintext password to use\0A\00", align 1
@.str.12 = private unnamed_addr constant [37 x i8] c"Example: mkpasswd -m -s 3dr -p test\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @full_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(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/tmpon4bw5ti.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 [77 x i8] c"mkpasswd [-m|-d|-b|-e] [-l saltlength] [-r rounds] [-s salt] [-p plaintext]\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"-m Generate an MD5 password\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"-d Generate a DES password\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"-b Generate a BlowFish password\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"-e Generate an Extended DES password\0A\00", align 1
@.str.5 = private unnamed_addr constant [55 x i8] c"-l Specify a length for a random MD5 or BlowFish salt\0A\00", align 1
@.str.6 = private unnamed_addr constant [71 x i8] c"-r Specify a number of rounds for a BlowFish or Extended DES password\0A\00", align 1
@.str.7 = private unnamed_addr constant [53 x i8] c" BlowFish: default 4, no more than 6 recommended\0A\00", align 1
@.str.8 = private unnamed_addr constant [30 x i8] c" Extended DES: default 25\0A\00", align 1
@.str.9 = private unnamed_addr constant [73 x i8] c"-s Specify a salt, 2 alphanumeric characters for DES, up to 16 for MD5,\0A\00", align 1
@.str.10 = private unnamed_addr constant [50 x i8] c" up to 22 for BlowFish, and 4 for Extended DES\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"-p Specify a plaintext password to use\0A\00", align 1
@.str.12 = private unnamed_addr constant [37 x i8] c"Example: mkpasswd -m -s 3dr -p test\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @full_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(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/tmpx2vitkzh.c'
source_filename = "/tmp/tmpx2vitkzh.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/tmpx2vitkzh.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/tmp4ant8ft4.c'
source_filename = "/tmp/tmp4ant8ft4.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 @_old_bar() #0 {
%1 = call i32 (...) @bar()
ret i32 %1
}
declare i32 @bar(...) #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/tmp4ant8ft4.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 @_old_bar() #0 {
%1 = call i32 (...) @bar()
ret i32 %1
}
declare i32 @bar(...) #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/tmp8t2oxd4i.c'
source_filename = "/tmp/tmp8t2oxd4i.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 @a() #0 {
%1 = call i32 (...) @b()
ret void
}
declare i32 @b(...) #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/tmp8t2oxd4i.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 @a() #0 {
%1 = call i32 (...) @b()
ret void
}
declare i32 @b(...) #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/tmpr14_vnhv.c'
source_filename = "/tmp/tmpr14_vnhv.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/tmpr14_vnhv.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/tmp3zlbaeyg.c'
source_filename = "/tmp/tmp3zlbaeyg.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
!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/tmp3zlbaeyg.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
!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/tmpwgey19ic.c'
source_filename = "/tmp/tmpwgey19ic.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 i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %10, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i32 @func(i32 noundef %8)
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @func(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/tmpwgey19ic.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 i32, align 4
%3 = alloca i32, align 4
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, 10
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %9
%7 = load i32, ptr %2, align 4
%8 = call i32 @func(i32 noundef %7)
store i32 %8, ptr %3, align 4
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @func(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/tmpyip_afxm.c'
source_filename = "/tmp/tmpyip_afxm.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"tRadacct\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CurrentMonthReportLegacyProxy(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 = call i32 (...) @ConnectDb()
%6 = load ptr, ptr %3, align 8
%7 = call i32 @AcctReportLegacyProxy(ptr noundef %6, ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @ConnectDb(...) #1
declare i32 @AcctReportLegacyProxy(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/tmpyip_afxm.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"tRadacct\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CurrentMonthReportLegacyProxy(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 = call i32 (...) @ConnectDb()
%6 = load ptr, ptr %3, align 8
%7 = call i32 @AcctReportLegacyProxy(ptr noundef %6, ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @ConnectDb(...) #1
declare i32 @AcctReportLegacyProxy(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/tmp3upu0_zf.c'
source_filename = "/tmp/tmp3upu0_zf.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 @ap_set_block(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 @ap_cmd_set_int(i32 noundef %5, i32 noundef 52250, i32 noundef %6)
ret i32 %7
}
declare i32 @ap_cmd_set_int(i32 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/tmp3upu0_zf.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 @ap_set_block(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 @ap_cmd_set_int(i32 noundef %5, i32 noundef 52250, i32 noundef %6)
ret i32 %7
}
declare i32 @ap_cmd_set_int(i32 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/tmpd73rm50e.c'
source_filename = "/tmp/tmpd73rm50e.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/tmpd73rm50e.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/tmpov6lkhdj.c'
source_filename = "/tmp/tmpov6lkhdj.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_collapse() #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
br label %6
6: ; preds = %10, %0
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 16
br i1 %8, label %9, label %13
9: ; preds = %6
br label %10
10: ; preds = %9
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
br label %6, !llvm.loop !6
13: ; preds = %6
store i32 0, ptr %1, align 4
br label %14
14: ; preds = %18, %13
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 16
br i1 %16, label %17, label %21
17: ; preds = %14
br label %18
18: ; preds = %17
%19 = load i32, ptr %1, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %1, align 4
br label %14, !llvm.loop !8
21: ; preds = %14
store i32 0, ptr %1, align 4
br label %22
22: ; preds = %26, %21
%23 = load i32, ptr %1, align 4
%24 = icmp slt i32 %23, 16
br i1 %24, label %25, label %29
25: ; preds = %22
br label %26
26: ; preds = %25
%27 = load i32, ptr %1, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %1, align 4
br label %22, !llvm.loop !9
29: ; preds = %22
store i32 0, ptr %1, align 4
br label %30
30: ; preds = %34, %29
%31 = load i32, ptr %1, align 4
%32 = icmp slt i32 %31, 16
br i1 %32, label %33, label %37
33: ; preds = %30
br label %34
34: ; preds = %33
%35 = load i32, ptr %1, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %1, align 4
br label %30, !llvm.loop !10
37: ; preds = %30
store i32 0, ptr %1, align 4
br label %38
38: ; preds = %42, %37
%39 = load i32, ptr %1, align 4
%40 = icmp slt i32 %39, 16
br i1 %40, label %41, label %45
41: ; preds = %38
br label %42
42: ; preds = %41
%43 = load i32, ptr %1, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %1, align 4
br label %38, !llvm.loop !11
45: ; preds = %38
store i32 0, ptr %1, align 4
br label %46
46: ; preds = %50, %45
%47 = load i32, ptr %1, align 4
%48 = icmp slt i32 %47, 16
br i1 %48, label %49, label %53
49: ; preds = %46
br label %50
50: ; preds = %49
%51 = load i32, ptr %1, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %1, align 4
br label %46, !llvm.loop !12
53: ; preds = %46
store i32 0, ptr %1, align 4
br label %54
54: ; preds = %58, %53
%55 = load i32, ptr %1, align 4
%56 = icmp slt i32 %55, 16
br i1 %56, label %57, label %61
57: ; preds = %54
br label %58
58: ; preds = %57
%59 = load i32, ptr %1, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %1, align 4
br label %54, !llvm.loop !13
61: ; preds = %54
store i32 0, ptr %1, align 4
br label %62
62: ; preds = %66, %61
%63 = load i32, ptr %1, align 4
%64 = icmp slt i32 %63, 16
br i1 %64, label %65, label %69
65: ; preds = %62
br label %66
66: ; preds = %65
%67 = load i32, ptr %1, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %1, align 4
br label %62, !llvm.loop !14
69: ; preds = %62
store i32 0, ptr %1, align 4
br label %70
70: ; preds = %74, %69
%71 = load i32, ptr %1, align 4
%72 = icmp slt i32 %71, 16
br i1 %72, label %73, label %77
73: ; preds = %70
br label %74
74: ; preds = %73
%75 = load i32, ptr %1, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %1, align 4
br label %70, !llvm.loop !15
77: ; preds = %70
store i32 0, ptr %1, align 4
br label %78
78: ; preds = %82, %77
%79 = load i32, ptr %1, align 4
%80 = icmp slt i32 %79, 16
br i1 %80, label %81, label %85
81: ; preds = %78
br label %82
82: ; preds = %81
%83 = load i32, ptr %1, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %1, align 4
br label %78, !llvm.loop !16
85: ; preds = %78
store i32 0, ptr %1, align 4
br label %86
86: ; preds = %90, %85
%87 = load i32, ptr %1, align 4
%88 = icmp slt i32 %87, 16
br i1 %88, label %89, label %93
89: ; preds = %86
br label %90
90: ; preds = %89
%91 = load i32, ptr %1, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %1, align 4
br label %86, !llvm.loop !17
93: ; preds = %86
store i32 0, ptr %1, align 4
br label %94
94: ; preds = %98, %93
%95 = load i32, ptr %1, align 4
%96 = icmp slt i32 %95, 16
br i1 %96, label %97, label %101
97: ; preds = %94
br label %98
98: ; preds = %97
%99 = load i32, ptr %1, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %1, align 4
br label %94, !llvm.loop !18
101: ; preds = %94
store i32 0, ptr %2, align 4
br label %102
102: ; preds = %131, %101
%103 = load i32, ptr %2, align 4
%104 = icmp slt i32 %103, 16
br i1 %104, label %105, label %134
105: ; preds = %102
store i32 0, ptr %3, align 4
br label %106
106: ; preds = %127, %105
%107 = load i32, ptr %3, align 4
%108 = icmp slt i32 %107, 16
br i1 %108, label %109, label %130
109: ; preds = %106
store i32 0, ptr %4, align 4
br label %110
110: ; preds = %123, %109
%111 = load i32, ptr %4, align 4
%112 = icmp slt i32 %111, 16
br i1 %112, label %113, label %126
113: ; preds = %110
store i32 0, ptr %5, align 4
br label %114
114: ; preds = %119, %113
%115 = load i32, ptr %5, align 4
%116 = icmp slt i32 %115, 16
br i1 %116, label %117, label %122
117: ; preds = %114
%118 = call i32 (...) @foo()
br label %119
119: ; preds = %117
%120 = load i32, ptr %5, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %5, align 4
br label %114, !llvm.loop !19
122: ; preds = %114
br label %123
123: ; preds = %122
%124 = load i32, ptr %4, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %4, align 4
br label %110, !llvm.loop !20
126: ; preds = %110
br label %127
127: ; preds = %126
%128 = load i32, ptr %3, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %3, align 4
br label %106, !llvm.loop !21
130: ; preds = %106
br label %131
131: ; preds = %130
%132 = load i32, ptr %2, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %2, align 4
br label %102, !llvm.loop !22
134: ; preds = %102
store i32 0, ptr %1, align 4
br label %135
135: ; preds = %139, %134
%136 = load i32, ptr %1, align 4
%137 = icmp slt i32 %136, 16
br i1 %137, label %138, label %142
138: ; preds = %135
br label %139
139: ; preds = %138
%140 = load i32, ptr %1, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %1, align 4
br label %135, !llvm.loop !23
142: ; preds = %135
store i32 0, ptr %1, align 4
br label %143
143: ; preds = %147, %142
%144 = load i32, ptr %1, align 4
%145 = icmp slt i32 %144, 16
br i1 %145, label %146, label %150
146: ; preds = %143
br label %147
147: ; preds = %146
%148 = load i32, ptr %1, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %1, align 4
br label %143, !llvm.loop !24
150: ; preds = %143
store i32 0, ptr %1, align 4
br label %151
151: ; preds = %155, %150
%152 = load i32, ptr %1, align 4
%153 = icmp slt i32 %152, 16
br i1 %153, label %154, label %158
154: ; preds = %151
br label %155
155: ; preds = %154
%156 = load i32, ptr %1, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %1, align 4
br label %151, !llvm.loop !25
158: ; preds = %151
store i32 0, ptr %1, align 4
br label %159
159: ; preds = %163, %158
%160 = load i32, ptr %1, align 4
%161 = icmp slt i32 %160, 16
br i1 %161, label %162, label %166
162: ; preds = %159
br label %163
163: ; preds = %162
%164 = load i32, ptr %1, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %1, align 4
br label %159, !llvm.loop !26
166: ; preds = %159
store i32 0, ptr %1, align 4
br label %167
167: ; preds = %171, %166
%168 = load i32, ptr %1, align 4
%169 = icmp slt i32 %168, 16
br i1 %169, label %170, label %174
170: ; preds = %167
br label %171
171: ; preds = %170
%172 = load i32, ptr %1, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %1, align 4
br label %167, !llvm.loop !27
174: ; preds = %167
store i32 0, ptr %1, align 4
br label %175
175: ; preds = %179, %174
%176 = load i32, ptr %1, align 4
%177 = icmp slt i32 %176, 16
br i1 %177, label %178, label %182
178: ; preds = %175
br label %179
179: ; preds = %178
%180 = load i32, ptr %1, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %1, align 4
br label %175, !llvm.loop !28
182: ; preds = %175
ret void
}
declare i32 @foo(...) #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}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpov6lkhdj.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_collapse() #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 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 16
br i1 %7, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %9
br label %9
9: ; preds = %8
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp slt i32 %12, 16
br i1 %13, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
store i32 0, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 16
br i1 %16, label %.lr.ph2, label %23
.lr.ph2: ; preds = %14
br label %17
17: ; preds = %.lr.ph2, %18
br label %18
18: ; preds = %17
%19 = load i32, ptr %1, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %1, align 4
%21 = load i32, ptr %1, align 4
%22 = icmp slt i32 %21, 16
br i1 %22, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %18
br label %23
23: ; preds = %._crit_edge3, %14
store i32 0, ptr %1, align 4
%24 = load i32, ptr %1, align 4
%25 = icmp slt i32 %24, 16
br i1 %25, label %.lr.ph5, label %32
.lr.ph5: ; preds = %23
br label %26
26: ; preds = %.lr.ph5, %27
br label %27
27: ; preds = %26
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %1, align 4
%30 = load i32, ptr %1, align 4
%31 = icmp slt i32 %30, 16
br i1 %31, label %26, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %27
br label %32
32: ; preds = %._crit_edge6, %23
store i32 0, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp slt i32 %33, 16
br i1 %34, label %.lr.ph8, label %41
.lr.ph8: ; preds = %32
br label %35
35: ; preds = %.lr.ph8, %36
br label %36
36: ; preds = %35
%37 = load i32, ptr %1, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %1, align 4
%39 = load i32, ptr %1, align 4
%40 = icmp slt i32 %39, 16
br i1 %40, label %35, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %36
br label %41
41: ; preds = %._crit_edge9, %32
store i32 0, ptr %1, align 4
%42 = load i32, ptr %1, align 4
%43 = icmp slt i32 %42, 16
br i1 %43, label %.lr.ph11, label %50
.lr.ph11: ; preds = %41
br label %44
44: ; preds = %.lr.ph11, %45
br label %45
45: ; preds = %44
%46 = load i32, ptr %1, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %1, align 4
%48 = load i32, ptr %1, align 4
%49 = icmp slt i32 %48, 16
br i1 %49, label %44, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %45
br label %50
50: ; preds = %._crit_edge12, %41
store i32 0, ptr %1, align 4
%51 = load i32, ptr %1, align 4
%52 = icmp slt i32 %51, 16
br i1 %52, label %.lr.ph14, label %59
.lr.ph14: ; preds = %50
br label %53
53: ; preds = %.lr.ph14, %54
br label %54
54: ; preds = %53
%55 = load i32, ptr %1, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %1, align 4
%57 = load i32, ptr %1, align 4
%58 = icmp slt i32 %57, 16
br i1 %58, label %53, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %54
br label %59
59: ; preds = %._crit_edge15, %50
store i32 0, ptr %1, align 4
%60 = load i32, ptr %1, align 4
%61 = icmp slt i32 %60, 16
br i1 %61, label %.lr.ph17, label %68
.lr.ph17: ; preds = %59
br label %62
62: ; preds = %.lr.ph17, %63
br label %63
63: ; preds = %62
%64 = load i32, ptr %1, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %1, align 4
%66 = load i32, ptr %1, align 4
%67 = icmp slt i32 %66, 16
br i1 %67, label %62, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %63
br label %68
68: ; preds = %._crit_edge18, %59
store i32 0, ptr %1, align 4
%69 = load i32, ptr %1, align 4
%70 = icmp slt i32 %69, 16
br i1 %70, label %.lr.ph20, label %77
.lr.ph20: ; preds = %68
br label %71
71: ; preds = %.lr.ph20, %72
br label %72
72: ; preds = %71
%73 = load i32, ptr %1, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %1, align 4
%75 = load i32, ptr %1, align 4
%76 = icmp slt i32 %75, 16
br i1 %76, label %71, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %72
br label %77
77: ; preds = %._crit_edge21, %68
store i32 0, ptr %1, align 4
%78 = load i32, ptr %1, align 4
%79 = icmp slt i32 %78, 16
br i1 %79, label %.lr.ph23, label %86
.lr.ph23: ; preds = %77
br label %80
80: ; preds = %.lr.ph23, %81
br label %81
81: ; preds = %80
%82 = load i32, ptr %1, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %1, align 4
%84 = load i32, ptr %1, align 4
%85 = icmp slt i32 %84, 16
br i1 %85, label %80, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %81
br label %86
86: ; preds = %._crit_edge24, %77
store i32 0, ptr %1, align 4
%87 = load i32, ptr %1, align 4
%88 = icmp slt i32 %87, 16
br i1 %88, label %.lr.ph26, label %95
.lr.ph26: ; preds = %86
br label %89
89: ; preds = %.lr.ph26, %90
br label %90
90: ; preds = %89
%91 = load i32, ptr %1, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %1, align 4
%93 = load i32, ptr %1, align 4
%94 = icmp slt i32 %93, 16
br i1 %94, label %89, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %90
br label %95
95: ; preds = %._crit_edge27, %86
store i32 0, ptr %1, align 4
%96 = load i32, ptr %1, align 4
%97 = icmp slt i32 %96, 16
br i1 %97, label %.lr.ph29, label %104
.lr.ph29: ; preds = %95
br label %98
98: ; preds = %.lr.ph29, %99
br label %99
99: ; preds = %98
%100 = load i32, ptr %1, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %1, align 4
%102 = load i32, ptr %1, align 4
%103 = icmp slt i32 %102, 16
br i1 %103, label %98, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %99
br label %104
104: ; preds = %._crit_edge30, %95
store i32 0, ptr %1, align 4
%105 = load i32, ptr %1, align 4
%106 = icmp slt i32 %105, 16
br i1 %106, label %.lr.ph32, label %113
.lr.ph32: ; preds = %104
br label %107
107: ; preds = %.lr.ph32, %108
br label %108
108: ; preds = %107
%109 = load i32, ptr %1, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %1, align 4
%111 = load i32, ptr %1, align 4
%112 = icmp slt i32 %111, 16
br i1 %112, label %107, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %108
br label %113
113: ; preds = %._crit_edge33, %104
store i32 0, ptr %2, align 4
%114 = load i32, ptr %2, align 4
%115 = icmp slt i32 %114, 16
br i1 %115, label %.lr.ph44, label %150
.lr.ph44: ; preds = %113
br label %116
116: ; preds = %.lr.ph44, %145
store i32 0, ptr %3, align 4
%117 = load i32, ptr %3, align 4
%118 = icmp slt i32 %117, 16
br i1 %118, label %.lr.ph41, label %144
.lr.ph41: ; preds = %116
br label %119
119: ; preds = %.lr.ph41, %139
store i32 0, ptr %4, align 4
%120 = load i32, ptr %4, align 4
%121 = icmp slt i32 %120, 16
br i1 %121, label %.lr.ph38, label %138
.lr.ph38: ; preds = %119
br label %122
122: ; preds = %.lr.ph38, %133
store i32 0, ptr %5, align 4
%123 = load i32, ptr %5, align 4
%124 = icmp slt i32 %123, 16
br i1 %124, label %.lr.ph35, label %132
.lr.ph35: ; preds = %122
br label %125
125: ; preds = %.lr.ph35, %127
%126 = call i32 (...) @foo()
br label %127
127: ; preds = %125
%128 = load i32, ptr %5, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %5, align 4
%130 = load i32, ptr %5, align 4
%131 = icmp slt i32 %130, 16
br i1 %131, label %125, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %127
br label %132
132: ; preds = %._crit_edge36, %122
br label %133
133: ; preds = %132
%134 = load i32, ptr %4, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %4, align 4
%136 = load i32, ptr %4, align 4
%137 = icmp slt i32 %136, 16
br i1 %137, label %122, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %133
br label %138
138: ; preds = %._crit_edge39, %119
br label %139
139: ; preds = %138
%140 = load i32, ptr %3, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %3, align 4
%142 = load i32, ptr %3, align 4
%143 = icmp slt i32 %142, 16
br i1 %143, label %119, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %139
br label %144
144: ; preds = %._crit_edge42, %116
br label %145
145: ; preds = %144
%146 = load i32, ptr %2, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %2, align 4
%148 = load i32, ptr %2, align 4
%149 = icmp slt i32 %148, 16
br i1 %149, label %116, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %145
br label %150
150: ; preds = %._crit_edge45, %113
store i32 0, ptr %1, align 4
%151 = load i32, ptr %1, align 4
%152 = icmp slt i32 %151, 16
br i1 %152, label %.lr.ph47, label %159
.lr.ph47: ; preds = %150
br label %153
153: ; preds = %.lr.ph47, %154
br label %154
154: ; preds = %153
%155 = load i32, ptr %1, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %1, align 4
%157 = load i32, ptr %1, align 4
%158 = icmp slt i32 %157, 16
br i1 %158, label %153, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %154
br label %159
159: ; preds = %._crit_edge48, %150
store i32 0, ptr %1, align 4
%160 = load i32, ptr %1, align 4
%161 = icmp slt i32 %160, 16
br i1 %161, label %.lr.ph50, label %168
.lr.ph50: ; preds = %159
br label %162
162: ; preds = %.lr.ph50, %163
br label %163
163: ; preds = %162
%164 = load i32, ptr %1, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %1, align 4
%166 = load i32, ptr %1, align 4
%167 = icmp slt i32 %166, 16
br i1 %167, label %162, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %163
br label %168
168: ; preds = %._crit_edge51, %159
store i32 0, ptr %1, align 4
%169 = load i32, ptr %1, align 4
%170 = icmp slt i32 %169, 16
br i1 %170, label %.lr.ph53, label %177
.lr.ph53: ; preds = %168
br label %171
171: ; preds = %.lr.ph53, %172
br label %172
172: ; preds = %171
%173 = load i32, ptr %1, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %1, align 4
%175 = load i32, ptr %1, align 4
%176 = icmp slt i32 %175, 16
br i1 %176, label %171, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %172
br label %177
177: ; preds = %._crit_edge54, %168
store i32 0, ptr %1, align 4
%178 = load i32, ptr %1, align 4
%179 = icmp slt i32 %178, 16
br i1 %179, label %.lr.ph56, label %186
.lr.ph56: ; preds = %177
br label %180
180: ; preds = %.lr.ph56, %181
br label %181
181: ; preds = %180
%182 = load i32, ptr %1, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %1, align 4
%184 = load i32, ptr %1, align 4
%185 = icmp slt i32 %184, 16
br i1 %185, label %180, label %._crit_edge57, !llvm.loop !26
._crit_edge57: ; preds = %181
br label %186
186: ; preds = %._crit_edge57, %177
store i32 0, ptr %1, align 4
%187 = load i32, ptr %1, align 4
%188 = icmp slt i32 %187, 16
br i1 %188, label %.lr.ph59, label %195
.lr.ph59: ; preds = %186
br label %189
189: ; preds = %.lr.ph59, %190
br label %190
190: ; preds = %189
%191 = load i32, ptr %1, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %1, align 4
%193 = load i32, ptr %1, align 4
%194 = icmp slt i32 %193, 16
br i1 %194, label %189, label %._crit_edge60, !llvm.loop !27
._crit_edge60: ; preds = %190
br label %195
195: ; preds = %._crit_edge60, %186
store i32 0, ptr %1, align 4
%196 = load i32, ptr %1, align 4
%197 = icmp slt i32 %196, 16
br i1 %197, label %.lr.ph62, label %204
.lr.ph62: ; preds = %195
br label %198
198: ; preds = %.lr.ph62, %199
br label %199
199: ; preds = %198
%200 = load i32, ptr %1, align 4
%201 = add nsw i32 %200, 1
store i32 %201, ptr %1, align 4
%202 = load i32, ptr %1, align 4
%203 = icmp slt i32 %202, 16
br i1 %203, label %198, label %._crit_edge63, !llvm.loop !28
._crit_edge63: ; preds = %199
br label %204
204: ; preds = %._crit_edge63, %195
ret void
}
declare i32 @foo(...) #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}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
|
; ModuleID = '/tmp/tmp6vhe68in.c'
source_filename = "/tmp/tmp6vhe68in.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 [14 x i8] c"irq_gpf!%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @irq_gpf(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 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = call i32 (...) @halt()
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @halt(...) #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/tmp6vhe68in.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 [14 x i8] c"irq_gpf!%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @irq_gpf(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 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = call i32 (...) @halt()
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @halt(...) #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/tmpbkxacyw6.c'
source_filename = "/tmp/tmpbkxacyw6.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"
@O_RDONLY = 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 @parse_init_open(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @assert(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr @O_RDONLY, align 4
%11 = call i32 @open(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr @errno, align 4
%16 = sub nsw i32 0, %15
store i32 %16, ptr %3, align 4
br label %21
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = call i32 @parse_init(ptr noundef %18, i32 noundef %19)
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %17, %14
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @assert(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @parse_init(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/tmpbkxacyw6.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"
@O_RDONLY = 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 @parse_init_open(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @assert(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr @O_RDONLY, align 4
%11 = call i32 @open(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr @errno, align 4
%16 = sub nsw i32 0, %15
store i32 %16, ptr %3, align 4
br label %21
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = call i32 @parse_init(ptr noundef %18, i32 noundef %19)
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %17, %14
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @assert(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @parse_init(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/tmp3wtb9i6u.c'
source_filename = "/tmp/tmp3wtb9i6u.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 @fff_blas_drotmg(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store double %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %10, align 8
%15 = call i32 @drotmg_(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %9, ptr noundef %14)
ret i32 %15
}
declare i32 @drotmg_(ptr 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/tmp3wtb9i6u.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 @fff_blas_drotmg(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store double %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %10, align 8
%15 = call i32 @drotmg_(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %9, ptr noundef %14)
ret i32 %15
}
declare i32 @drotmg_(ptr 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/tmpxhlgiz4n.c'
source_filename = "/tmp/tmpxhlgiz4n.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 [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %21, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = call float (...) @rand_float()
%12 = call float @llvm.fmuladd.f32(float 1.000000e+02, float %11, float -5.000000e+01)
store float %12, ptr %2, align 4
%13 = load float, ptr %2, align 4
%14 = call float @stdlib_base_rampf(float noundef %13)
store float %14, ptr %3, align 4
%15 = load float, ptr %3, align 4
%16 = load float, ptr %3, align 4
%17 = fcmp une float %15, %16
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @printf(ptr noundef @.str)
br label %24
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %7, !llvm.loop !6
24: ; preds = %18, %7
%25 = call double (...) @tic()
%26 = load double, ptr %4, align 8
%27 = fsub double %25, %26
store double %27, ptr %1, align 8
%28 = load float, ptr %3, align 4
%29 = load float, ptr %3, align 4
%30 = fcmp une float %28, %29
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %24
%34 = load double, ptr %1, align 8
ret double %34
}
declare double @tic(...) #1
declare float @rand_float(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @stdlib_base_rampf(float 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" }
attributes #2 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxhlgiz4n.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 [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 1000000
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %20
%10 = call float (...) @rand_float()
%11 = call float @llvm.fmuladd.f32(float 1.000000e+02, float %10, float -5.000000e+01)
store float %11, ptr %2, align 4
%12 = load float, ptr %2, align 4
%13 = call float @stdlib_base_rampf(float noundef %12)
store float %13, ptr %3, align 4
%14 = load float, ptr %3, align 4
%15 = load float, ptr %3, align 4
%16 = fcmp une float %14, %15
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @printf(ptr noundef @.str)
br label %25
19: ; preds = %9
br label %20
20: ; preds = %19
%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 = icmp slt i32 %23, 1000000
br i1 %24, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %25
25: ; preds = %.loopexit, %17
%26 = call double (...) @tic()
%27 = load double, ptr %4, align 8
%28 = fsub double %26, %27
store double %28, ptr %1, align 8
%29 = load float, ptr %3, align 4
%30 = load float, ptr %3, align 4
%31 = fcmp une float %29, %30
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str)
br label %34
34: ; preds = %32, %25
%35 = load double, ptr %1, align 8
ret double %35
}
declare double @tic(...) #1
declare float @rand_float(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @stdlib_base_rampf(float 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" }
attributes #2 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzibhofnr.c'
source_filename = "/tmp/tmpzibhofnr.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 @feed_heap_destroy(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/tmpzibhofnr.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 @feed_heap_destroy(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/tmp73es9ste.c'
source_filename = "/tmp/tmp73es9ste.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 @msort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %15, 1
br i1 %16, label %17, label %18
17: ; preds = %2
br label %189
18: ; preds = %2
%19 = load i32, ptr %3, align 4
%20 = sdiv i32 %19, 2
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %5, align 4
%23 = sub nsw i32 %21, %22
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 4, %25
%27 = trunc i64 %26 to i32
%28 = call i64 @malloc(i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %44, %18
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %49
34: ; preds = %30
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
store i32 %39, ptr %43, align 4
br label %44
44: ; preds = %34
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
br label %30, !llvm.loop !6
49: ; preds = %30
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %50, %51
store i32 %52, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = mul i64 4, %54
%56 = trunc i64 %55 to i32
%57 = call i64 @malloc(i32 noundef %56)
%58 = inttoptr i64 %57 to ptr
store ptr %58, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %59
59: ; preds = %73, %49
%60 = load i32, ptr %8, align 4
%61 = load i32, ptr %3, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %78
63: ; preds = %59
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %11, align 8
%70 = load i32, ptr %12, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
store i32 %68, ptr %72, align 4
br label %73
73: ; preds = %63
%74 = load i32, ptr %12, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %12, align 4
%76 = load i32, ptr %8, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %8, align 4
br label %59, !llvm.loop !8
78: ; preds = %59
%79 = load i32, ptr %6, align 4
%80 = load ptr, ptr %7, align 8
call void @msort(i32 noundef %79, ptr noundef %80)
%81 = load i32, ptr %10, align 4
%82 = load ptr, ptr %11, align 8
call void @msort(i32 noundef %81, ptr noundef %82)
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %8, align 4
br label %83
83: ; preds = %133, %78
%84 = load i32, ptr %13, align 4
%85 = load i32, ptr %6, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %91
87: ; preds = %83
%88 = load i32, ptr %14, align 4
%89 = load i32, ptr %10, align 4
%90 = icmp slt i32 %88, %89
br label %91
91: ; preds = %87, %83
%92 = phi i1 [ false, %83 ], [ %90, %87 ]
br i1 %92, label %93, label %134
93: ; preds = %91
%94 = load ptr, ptr %7, align 8
%95 = load i32, ptr %13, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
%99 = load ptr, ptr %11, align 8
%100 = load i32, ptr %14, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
%103 = load i32, ptr %102, align 4
%104 = icmp slt i32 %98, %103
br i1 %104, label %105, label %119
105: ; preds = %93
%106 = load ptr, ptr %7, align 8
%107 = load i32, ptr %13, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
%110 = load i32, ptr %109, align 4
%111 = load ptr, ptr %4, align 8
%112 = load i32, ptr %8, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i32, ptr %111, i64 %113
store i32 %110, ptr %114, align 4
%115 = load i32, ptr %8, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %8, align 4
%117 = load i32, ptr %13, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %13, align 4
br label %133
119: ; preds = %93
%120 = load ptr, ptr %11, align 8
%121 = load i32, ptr %14, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %120, i64 %122
%124 = load i32, ptr %123, align 4
%125 = load ptr, ptr %4, align 8
%126 = load i32, ptr %8, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i32, ptr %125, i64 %127
store i32 %124, ptr %128, align 4
%129 = load i32, ptr %8, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %8, align 4
%131 = load i32, ptr %14, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %14, align 4
br label %133
133: ; preds = %119, %105
br label %83, !llvm.loop !9
134: ; preds = %91
%135 = load i32, ptr %13, align 4
%136 = load i32, ptr %6, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %138, label %159
138: ; preds = %134
br label %139
139: ; preds = %153, %138
%140 = load i32, ptr %13, align 4
%141 = load i32, ptr %6, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %143, label %158
143: ; preds = %139
%144 = load ptr, ptr %7, align 8
%145 = load i32, ptr %13, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %144, i64 %146
%148 = load i32, ptr %147, align 4
%149 = load ptr, ptr %4, align 8
%150 = load i32, ptr %8, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %149, i64 %151
store i32 %148, ptr %152, align 4
br label %153
153: ; preds = %143
%154 = load i32, ptr %13, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %13, align 4
%156 = load i32, ptr %8, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %8, align 4
br label %139, !llvm.loop !10
158: ; preds = %139
br label %159
159: ; preds = %158, %134
%160 = load i32, ptr %14, align 4
%161 = load i32, ptr %10, align 4
%162 = icmp slt i32 %160, %161
br i1 %162, label %163, label %184
163: ; preds = %159
br label %164
164: ; preds = %178, %163
%165 = load i32, ptr %14, align 4
%166 = load i32, ptr %10, align 4
%167 = icmp slt i32 %165, %166
br i1 %167, label %168, label %183
168: ; preds = %164
%169 = load ptr, ptr %11, align 8
%170 = load i32, ptr %14, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %169, i64 %171
%173 = load i32, ptr %172, align 4
%174 = load ptr, ptr %4, align 8
%175 = load i32, ptr %8, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
store i32 %173, ptr %177, align 4
br label %178
178: ; preds = %168
%179 = load i32, ptr %14, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %14, align 4
%181 = load i32, ptr %8, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %8, align 4
br label %164, !llvm.loop !11
183: ; preds = %164
br label %184
184: ; preds = %183, %159
%185 = load ptr, ptr %7, align 8
%186 = call i32 @free(ptr noundef %185)
%187 = load ptr, ptr %11, align 8
%188 = call i32 @free(ptr noundef %187)
br label %189
189: ; preds = %184, %17
ret void
}
declare i64 @malloc(i32 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73es9ste.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 @msort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %15, 1
br i1 %16, label %17, label %18
17: ; preds = %2
br label %197
18: ; preds = %2
%19 = load i32, ptr %3, align 4
%20 = sdiv i32 %19, 2
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %5, align 4
%23 = sub nsw i32 %21, %22
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 4, %25
%27 = trunc i64 %26 to i32
%28 = call i64 @malloc(i32 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph, label %51
.lr.ph: ; preds = %18
br label %33
33: ; preds = %.lr.ph, %43
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
store i32 %38, ptr %42, align 4
br label %43
43: ; preds = %33
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %9, align 4
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %51
51: ; preds = %._crit_edge, %18
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %6, align 4
%54 = sub nsw i32 %52, %53
store i32 %54, ptr %10, align 4
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = mul i64 4, %56
%58 = trunc i64 %57 to i32
%59 = call i64 @malloc(i32 noundef %58)
%60 = inttoptr i64 %59 to ptr
store ptr %60, ptr %11, align 8
store i32 0, ptr %12, align 4
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %3, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %.lr.ph2, label %82
.lr.ph2: ; preds = %51
br label %64
64: ; preds = %.lr.ph2, %74
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %11, align 8
%71 = load i32, ptr %12, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
store i32 %69, ptr %73, align 4
br label %74
74: ; preds = %64
%75 = load i32, ptr %12, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %12, align 4
%77 = load i32, ptr %8, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %3, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %64, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %74
br label %82
82: ; preds = %._crit_edge3, %51
%83 = load i32, ptr %6, align 4
%84 = load ptr, ptr %7, align 8
call void @msort(i32 noundef %83, ptr noundef %84)
%85 = load i32, ptr %10, align 4
%86 = load ptr, ptr %11, align 8
call void @msort(i32 noundef %85, ptr noundef %86)
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %8, align 4
br label %87
87: ; preds = %137, %82
%88 = load i32, ptr %13, align 4
%89 = load i32, ptr %6, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %95
91: ; preds = %87
%92 = load i32, ptr %14, align 4
%93 = load i32, ptr %10, align 4
%94 = icmp slt i32 %92, %93
br label %95
95: ; preds = %91, %87
%96 = phi i1 [ false, %87 ], [ %94, %91 ]
br i1 %96, label %97, label %138
97: ; preds = %95
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %13, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = load ptr, ptr %11, align 8
%104 = load i32, ptr %14, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %103, i64 %105
%107 = load i32, ptr %106, align 4
%108 = icmp slt i32 %102, %107
br i1 %108, label %109, label %123
109: ; preds = %97
%110 = load ptr, ptr %7, align 8
%111 = load i32, ptr %13, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i32, ptr %110, i64 %112
%114 = load i32, ptr %113, align 4
%115 = load ptr, ptr %4, align 8
%116 = load i32, ptr %8, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i32, ptr %115, i64 %117
store i32 %114, ptr %118, align 4
%119 = load i32, ptr %8, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %8, align 4
%121 = load i32, ptr %13, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %13, align 4
br label %137
123: ; preds = %97
%124 = load ptr, ptr %11, align 8
%125 = load i32, ptr %14, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %124, i64 %126
%128 = load i32, ptr %127, align 4
%129 = load ptr, ptr %4, align 8
%130 = load i32, ptr %8, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
store i32 %128, ptr %132, align 4
%133 = load i32, ptr %8, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %8, align 4
%135 = load i32, ptr %14, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %14, align 4
br label %137
137: ; preds = %123, %109
br label %87, !llvm.loop !9
138: ; preds = %95
%139 = load i32, ptr %13, align 4
%140 = load i32, ptr %6, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %142, label %165
142: ; preds = %138
%143 = load i32, ptr %13, align 4
%144 = load i32, ptr %6, align 4
%145 = icmp slt i32 %143, %144
br i1 %145, label %.lr.ph5, label %164
.lr.ph5: ; preds = %142
br label %146
146: ; preds = %.lr.ph5, %156
%147 = load ptr, ptr %7, align 8
%148 = load i32, ptr %13, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %147, i64 %149
%151 = load i32, ptr %150, align 4
%152 = load ptr, ptr %4, align 8
%153 = load i32, ptr %8, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %152, i64 %154
store i32 %151, ptr %155, align 4
br label %156
156: ; preds = %146
%157 = load i32, ptr %13, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %13, align 4
%159 = load i32, ptr %8, align 4
%160 = add nsw i32 %159, 1
store i32 %160, ptr %8, align 4
%161 = load i32, ptr %13, align 4
%162 = load i32, ptr %6, align 4
%163 = icmp slt i32 %161, %162
br i1 %163, label %146, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %156
br label %164
164: ; preds = %._crit_edge6, %142
br label %165
165: ; preds = %164, %138
%166 = load i32, ptr %14, align 4
%167 = load i32, ptr %10, align 4
%168 = icmp slt i32 %166, %167
br i1 %168, label %169, label %192
169: ; preds = %165
%170 = load i32, ptr %14, align 4
%171 = load i32, ptr %10, align 4
%172 = icmp slt i32 %170, %171
br i1 %172, label %.lr.ph8, label %191
.lr.ph8: ; preds = %169
br label %173
173: ; preds = %.lr.ph8, %183
%174 = load ptr, ptr %11, align 8
%175 = load i32, ptr %14, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
%178 = load i32, ptr %177, align 4
%179 = load ptr, ptr %4, align 8
%180 = load i32, ptr %8, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds i32, ptr %179, i64 %181
store i32 %178, ptr %182, align 4
br label %183
183: ; preds = %173
%184 = load i32, ptr %14, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %14, align 4
%186 = load i32, ptr %8, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %8, align 4
%188 = load i32, ptr %14, align 4
%189 = load i32, ptr %10, align 4
%190 = icmp slt i32 %188, %189
br i1 %190, label %173, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %183
br label %191
191: ; preds = %._crit_edge9, %169
br label %192
192: ; preds = %191, %165
%193 = load ptr, ptr %7, align 8
%194 = call i32 @free(ptr noundef %193)
%195 = load ptr, ptr %11, align 8
%196 = call i32 @free(ptr noundef %195)
br label %197
197: ; preds = %192, %17
ret void
}
declare i64 @malloc(i32 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp8ti4tpr0.c'
source_filename = "/tmp/tmp8ti4tpr0.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 @string_strlen(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @strlen(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/tmp8ti4tpr0.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 @string_strlen(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @strlen(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/tmpfu7rpj7q.c'
source_filename = "/tmp/tmpfu7rpj7q.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 [15 x i8] c"Key %d-th: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cipherFunction(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = shl i32 %8, %9
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = sub i64 32, %13
%15 = trunc i64 %14 to i32
%16 = ashr i32 %11, %15
%17 = or i32 %10, %16
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = shl i32 %20, %21
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = sub i64 32, %25
%27 = trunc i64 %26 to i32
%28 = ashr i32 %23, %27
%29 = or i32 %22, %28
%30 = xor i32 %19, %29
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
ret i32 %31
}
declare i32 @printf(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/tmpfu7rpj7q.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 [15 x i8] c"Key %d-th: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cipherFunction(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = shl i32 %8, %9
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = sub i64 32, %13
%15 = trunc i64 %14 to i32
%16 = ashr i32 %11, %15
%17 = or i32 %10, %16
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = shl i32 %20, %21
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = sub i64 32, %25
%27 = trunc i64 %26 to i32
%28 = ashr i32 %23, %27
%29 = or i32 %22, %28
%30 = xor i32 %19, %29
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
ret i32 %31
}
declare i32 @printf(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/tmp0zvgrr8t.c'
source_filename = "/tmp/tmp0zvgrr8t.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"%d\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 (...) @isdebugged()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @isdebugged(...) #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/tmp0zvgrr8t.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"%d\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 (...) @isdebugged()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @isdebugged(...) #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/tmpu5cnur69.c'
source_filename = "/tmp/tmpu5cnur69.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 @fu_Fchown(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 ptr, ptr %4, align 8
%9 = call i32 @fileno(ptr noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @fchown(i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @fileno(ptr noundef) #1
declare i32 @fchown(i32 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/tmpu5cnur69.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 @fu_Fchown(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 ptr, ptr %4, align 8
%9 = call i32 @fileno(ptr noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @fchown(i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @fileno(ptr noundef) #1
declare i32 @fchown(i32 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/tmpywmtkz1i.c'
source_filename = "/tmp/tmpywmtkz1i.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"c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @builtin_history(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
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %19, %2
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @shell_getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %6, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %8
%14 = load i32, ptr %6, align 4
switch i32 %14, label %16 [
i32 99, label %15
]
15: ; preds = %13
store i32 1, ptr %7, align 4
br label %19
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = call i32 @builtin_invopt(ptr noundef %17)
store i32 1, ptr %3, align 4
br label %28
19: ; preds = %15
br label %8, !llvm.loop !6
20: ; preds = %8
%21 = load i32, ptr %7, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 (...) @history_clear()
br label %27
25: ; preds = %20
%26 = call i32 (...) @history_print()
br label %27
27: ; preds = %25, %23
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %27, %16
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i32 @shell_getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @builtin_invopt(ptr noundef) #1
declare i32 @history_clear(...) #1
declare i32 @history_print(...) #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/tmpywmtkz1i.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"c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @builtin_history(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
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @shell_getopt(i32 noundef %8, ptr noundef %9, ptr noundef @.str)
store i32 %10, ptr %6, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %18
%13 = load i32, ptr %6, align 4
switch i32 %13, label %15 [
i32 99, label %14
]
14: ; preds = %12
store i32 1, ptr %7, align 4
br label %18
15: ; preds = %12
%16 = load ptr, ptr %5, align 8
%17 = call i32 @builtin_invopt(ptr noundef %16)
store i32 1, ptr %3, align 4
br label %31
18: ; preds = %14
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = call i32 @shell_getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str)
store i32 %21, ptr %6, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 (...) @history_clear()
br label %30
28: ; preds = %23
%29 = call i32 (...) @history_print()
br label %30
30: ; preds = %28, %26
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %30, %15
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @shell_getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @builtin_invopt(ptr noundef) #1
declare i32 @history_clear(...) #1
declare i32 @history_print(...) #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/tmp898uga7x.c'
source_filename = "/tmp/tmp898uga7x.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"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_int_array(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %21, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
br label %21
21: ; preds = %14
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
br label %10, !llvm.loop !6
24: ; preds = %10
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp898uga7x.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"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_int_array(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %20
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18)
br label %20
20: ; preds = %13
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp ult i32 %23, %24
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %3
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0aob3hl8.c'
source_filename = "/tmp/tmp0aob3hl8.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 [572 x i8] c"mahal v0.1 Copyright (C) 2010 Jean-Fran\C3\A7ois Mousinho\0A\0AUsage: mahal [options] [-t file] [-i file] [-o file] [-k kParam]\0A -t Train set matrix file, def: set_train.txt\0A -i Test set matrix file, def: set_test.txt\0A -o Output results file, def: stdout\0AOptions:\0A -m Matlab output (useful for results checks)\0A -e Apply Euclidean distance\0A -k <k-Param> Apply K-NN with K-Param and Mahalanobis distance\0A -c <col-idx> Column index where the class is (one-based)\0A -v Verbose mode.\0A\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @EXIT_SUCCESS, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(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/tmp0aob3hl8.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 [572 x i8] c"mahal v0.1 Copyright (C) 2010 Jean-Fran\C3\A7ois Mousinho\0A\0AUsage: mahal [options] [-t file] [-i file] [-o file] [-k kParam]\0A -t Train set matrix file, def: set_train.txt\0A -i Test set matrix file, def: set_test.txt\0A -o Output results file, def: stdout\0AOptions:\0A -m Matlab output (useful for results checks)\0A -e Apply Euclidean distance\0A -k <k-Param> Apply K-NN with K-Param and Mahalanobis distance\0A -c <col-idx> Column index where the class is (one-based)\0A -v Verbose mode.\0A\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @EXIT_SUCCESS, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(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/tmpfz60iq0g.c'
source_filename = "/tmp/tmpfz60iq0g.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"temp.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"55 33 22\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"fscanf matched %d items\0A\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
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str.2)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fclose(ptr noundef %10)
%12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.3)
store ptr %12, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.4, ptr noundef %3, ptr noundef %4, ptr noundef %5)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @fclose(ptr noundef %21)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpfz60iq0g.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"temp.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"55 33 22\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"fscanf matched %d items\0A\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
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str.2)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fclose(ptr noundef %10)
%12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.3)
store ptr %12, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.4, ptr noundef %3, ptr noundef %4, ptr noundef %5)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @fclose(ptr noundef %21)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmp3zymni68.c'
source_filename = "/tmp/tmp3zymni68.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 @write_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @_strlen(ptr noundef %4)
%6 = call i32 @sys_write(i32 noundef 1, ptr noundef %3, i32 noundef %5)
ret void
}
declare i32 @sys_write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @_strlen(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/tmp3zymni68.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 @write_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @_strlen(ptr noundef %4)
%6 = call i32 @sys_write(i32 noundef 1, ptr noundef %3, i32 noundef %5)
ret void
}
declare i32 @sys_write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @_strlen(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.