llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmprjeot8bs.c'
source_filename = "/tmp/tmprjeot8bs.c"
target datalayout = "e-m:e-p270: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 @hextochr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 0
%5 = load i8, ptr %4, align 1
%6 = call i64 @isdigit(i8 noundef zeroext %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = sub nsw i32 %12, 48
br label %22
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = call signext i8 @toupper(i8 noundef signext %17)
%19 = sext i8 %18 to i32
%20 = sub nsw i32 %19, 65
%21 = add nsw i32 %20, 10
br label %22
22: ; preds = %14, %8
%23 = phi i32 [ %13, %8 ], [ %21, %14 ]
%24 = shl i32 %23, 4
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %26, align 1
%28 = call i64 @isdigit(i8 noundef zeroext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %22
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = sub nsw i32 %34, 48
br label %44
36: ; preds = %22
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = call signext i8 @toupper(i8 noundef signext %39)
%41 = sext i8 %40 to i32
%42 = sub nsw i32 %41, 65
%43 = add nsw i32 %42, 10
br label %44
44: ; preds = %36, %30
%45 = phi i32 [ %35, %30 ], [ %43, %36 ]
%46 = add nsw i32 %24, %45
ret i32 %46
}
declare i64 @isdigit(i8 noundef zeroext) #1
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjeot8bs.c"
target datalayout = "e-m:e-p270: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 @hextochr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i8, ptr %3, i64 0
%5 = load i8, ptr %4, align 1
%6 = call i64 @isdigit(i8 noundef zeroext %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = sub nsw i32 %12, 48
br label %22
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = call signext i8 @toupper(i8 noundef signext %17)
%19 = sext i8 %18 to i32
%20 = sub nsw i32 %19, 65
%21 = add nsw i32 %20, 10
br label %22
22: ; preds = %14, %8
%23 = phi i32 [ %13, %8 ], [ %21, %14 ]
%24 = shl i32 %23, 4
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %26, align 1
%28 = call i64 @isdigit(i8 noundef zeroext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %22
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = sub nsw i32 %34, 48
br label %44
36: ; preds = %22
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = call signext i8 @toupper(i8 noundef signext %39)
%41 = sext i8 %40 to i32
%42 = sub nsw i32 %41, 65
%43 = add nsw i32 %42, 10
br label %44
44: ; preds = %36, %30
%45 = phi i32 [ %35, %30 ], [ %43, %36 ]
%46 = add nsw i32 %24, %45
ret i32 %46
}
declare i64 @isdigit(i8 noundef zeroext) #1
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4d1o7kpl.c'
source_filename = "/tmp/tmp4d1o7kpl.c"
target datalayout = "e-m:e-p270: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/tmp4d1o7kpl.c"
target datalayout = "e-m:e-p270: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/tmpjt5een7m.c'
source_filename = "/tmp/tmpjt5een7m.c"
target datalayout = "e-m:e-p270: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 [8 x i8] c"g = %f\0A\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
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load float, ptr %3, align 4
%8 = load float, ptr %2, align 4
%9 = fmul float %7, %8
%10 = call float @sin(float noundef %9)
%11 = load float, ptr %3, align 4
%12 = load float, ptr %2, align 4
%13 = fsub float %11, %12
%14 = call float @cos(float noundef %13)
%15 = fmul float %10, %14
store float %15, ptr %4, align 4
%16 = load float, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str.1, float noundef %16)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare float @sin(float noundef) #1
declare float @cos(float noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjt5een7m.c"
target datalayout = "e-m:e-p270: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 [8 x i8] c"g = %f\0A\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
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load float, ptr %3, align 4
%8 = load float, ptr %2, align 4
%9 = fmul float %7, %8
%10 = call float @sin(float noundef %9)
%11 = load float, ptr %3, align 4
%12 = load float, ptr %2, align 4
%13 = fsub float %11, %12
%14 = call float @cos(float noundef %13)
%15 = fmul float %10, %14
store float %15, ptr %4, align 4
%16 = load float, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str.1, float noundef %16)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare float @sin(float noundef) #1
declare float @cos(float noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4l8gzucb.c'
source_filename = "/tmp/tmp4l8gzucb.c"
target datalayout = "e-m:e-p270: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/tmp4l8gzucb.c"
target datalayout = "e-m:e-p270: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/tmpndnpjgw1.c'
source_filename = "/tmp/tmpndnpjgw1.c"
target datalayout = "e-m:e-p270: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 signext i16 @transpose_bytes(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i8, align 1
%17 = alloca i8, align 1
%18 = alloca i8, align 1
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %5
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %29, %5
store i16 -1, ptr %6, align 2
br label %309
33: ; preds = %29
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %34, 2
br i1 %35, label %39, label %36
36: ; preds = %33
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %37, 2
br i1 %38, label %39, label %40
39: ; preds = %36, %33
store i16 0, ptr %6, align 2
br label %309
40: ; preds = %36
%41 = load i32, ptr %11, align 4
%42 = icmp slt i32 %41, 1
br i1 %42, label %43, label %44
43: ; preds = %40
store i16 -2, ptr %6, align 2
br label %309
44: ; preds = %40
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %104
48: ; preds = %44
store i32 0, ptr %12, align 4
br label %49
49: ; preds = %100, %48
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %103
53: ; preds = %49
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %13, align 4
br label %56
56: ; preds = %96, %53
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %99
60: ; preds = %56
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %12, align 4
%63 = load i32, ptr %13, align 4
%64 = load i32, ptr %8, align 4
%65 = mul nsw i32 %63, %64
%66 = add nsw i32 %62, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %61, i64 %67
%69 = load i8, ptr %68, align 1
store i8 %69, ptr %16, align 1
%70 = load ptr, ptr %7, align 8
%71 = load i32, ptr %13, align 4
%72 = load i32, ptr %12, align 4
%73 = load i32, ptr %8, align 4
%74 = mul nsw i32 %72, %73
%75 = add nsw i32 %71, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %70, i64 %76
%78 = load i8, ptr %77, align 1
%79 = load ptr, ptr %7, align 8
%80 = load i32, ptr %12, align 4
%81 = load i32, ptr %13, align 4
%82 = load i32, ptr %8, align 4
%83 = mul nsw i32 %81, %82
%84 = add nsw i32 %80, %83
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %79, i64 %85
store i8 %78, ptr %86, align 1
%87 = load i8, ptr %16, align 1
%88 = load ptr, ptr %7, align 8
%89 = load i32, ptr %13, align 4
%90 = load i32, ptr %12, align 4
%91 = load i32, ptr %8, align 4
%92 = mul nsw i32 %90, %91
%93 = add nsw i32 %89, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %88, i64 %94
store i8 %87, ptr %95, align 1
br label %96
96: ; preds = %60
%97 = load i32, ptr %13, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %13, align 4
br label %56, !llvm.loop !6
99: ; preds = %56
br label %100
100: ; preds = %99
%101 = load i32, ptr %12, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %12, align 4
br label %49, !llvm.loop !8
103: ; preds = %49
store i16 0, ptr %6, align 2
br label %309
104: ; preds = %44
store i32 2, ptr %19, align 4
%105 = load i32, ptr %9, align 4
%106 = load i32, ptr %8, align 4
%107 = mul nsw i32 %105, %106
store i32 %107, ptr %15, align 4
%108 = sub nsw i32 %107, 1
store i32 %108, ptr %20, align 4
store i32 0, ptr %12, align 4
br label %109
109: ; preds = %118, %104
%110 = load i32, ptr %12, align 4
%111 = load i32, ptr %11, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %113, label %121
113: ; preds = %109
%114 = load ptr, ptr %10, align 8
%115 = load i32, ptr %12, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
store i8 0, ptr %117, align 1
br label %118
118: ; preds = %113
%119 = load i32, ptr %12, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %12, align 4
br label %109, !llvm.loop !9
121: ; preds = %109
%122 = load i32, ptr %9, align 4
%123 = icmp sge i32 %122, 3
br i1 %123, label %124, label %136
124: ; preds = %121
%125 = load i32, ptr %8, align 4
%126 = icmp sge i32 %125, 3
br i1 %126, label %127, label %136
127: ; preds = %124
%128 = load i32, ptr %9, align 4
%129 = sub nsw i32 %128, 1
%130 = load i32, ptr %8, align 4
%131 = sub nsw i32 %130, 1
%132 = call i32 @TOMS_gcd(i32 noundef %129, i32 noundef %131)
%133 = sub nsw i32 %132, 1
%134 = load i32, ptr %19, align 4
%135 = add nsw i32 %134, %133
store i32 %135, ptr %19, align 4
br label %136
136: ; preds = %127, %124, %121
store i32 1, ptr %12, align 4
%137 = load i32, ptr %9, align 4
store i32 %137, ptr %14, align 4
br label %138
138: ; preds = %136, %307
%139 = load i32, ptr %12, align 4
store i32 %139, ptr %21, align 4
%140 = load i32, ptr %20, align 4
%141 = load i32, ptr %12, align 4
%142 = sub nsw i32 %140, %141
store i32 %142, ptr %25, align 4
%143 = load ptr, ptr %7, align 8
%144 = load i32, ptr %21, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8, ptr %143, i64 %145
%147 = load i8, ptr %146, align 1
store i8 %147, ptr %16, align 1
%148 = load i32, ptr %25, align 4
store i32 %148, ptr %23, align 4
%149 = load ptr, ptr %7, align 8
%150 = load i32, ptr %23, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i8, ptr %149, i64 %151
%153 = load i8, ptr %152, align 1
store i8 %153, ptr %17, align 1
br label %154
154: ; preds = %138, %199
%155 = load i32, ptr %9, align 4
%156 = load i32, ptr %21, align 4
%157 = mul nsw i32 %155, %156
%158 = load i32, ptr %20, align 4
%159 = load i32, ptr %21, align 4
%160 = load i32, ptr %8, align 4
%161 = sdiv i32 %159, %160
%162 = mul nsw i32 %158, %161
%163 = sub nsw i32 %157, %162
store i32 %163, ptr %22, align 4
%164 = load i32, ptr %20, align 4
%165 = load i32, ptr %22, align 4
%166 = sub nsw i32 %164, %165
store i32 %166, ptr %24, align 4
%167 = load i32, ptr %21, align 4
%168 = load i32, ptr %11, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %170, label %175
170: ; preds = %154
%171 = load ptr, ptr %10, align 8
%172 = load i32, ptr %21, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i8, ptr %171, i64 %173
store i8 1, ptr %174, align 1
br label %175
175: ; preds = %170, %154
%176 = load i32, ptr %23, align 4
%177 = load i32, ptr %11, align 4
%178 = icmp slt i32 %176, %177
br i1 %178, label %179, label %184
179: ; preds = %175
%180 = load ptr, ptr %10, align 8
%181 = load i32, ptr %23, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds i8, ptr %180, i64 %182
store i8 1, ptr %183, align 1
br label %184
184: ; preds = %179, %175
%185 = load i32, ptr %19, align 4
%186 = add nsw i32 %185, 2
store i32 %186, ptr %19, align 4
%187 = load i32, ptr %22, align 4
%188 = load i32, ptr %12, align 4
%189 = icmp eq i32 %187, %188
br i1 %189, label %190, label %191
190: ; preds = %184
br label %220
191: ; preds = %184
%192 = load i32, ptr %22, align 4
%193 = load i32, ptr %25, align 4
%194 = icmp eq i32 %192, %193
br i1 %194, label %195, label %199
195: ; preds = %191
%196 = load i8, ptr %16, align 1
store i8 %196, ptr %18, align 1
%197 = load i8, ptr %17, align 1
store i8 %197, ptr %16, align 1
%198 = load i8, ptr %18, align 1
store i8 %198, ptr %17, align 1
br label %220
199: ; preds = %191
%200 = load ptr, ptr %7, align 8
%201 = load i32, ptr %22, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i8, ptr %200, i64 %202
%204 = load i8, ptr %203, align 1
%205 = load ptr, ptr %7, align 8
%206 = load i32, ptr %21, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds i8, ptr %205, i64 %207
store i8 %204, ptr %208, align 1
%209 = load ptr, ptr %7, align 8
%210 = load i32, ptr %24, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i8, ptr %209, i64 %211
%213 = load i8, ptr %212, align 1
%214 = load ptr, ptr %7, align 8
%215 = load i32, ptr %23, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i8, ptr %214, i64 %216
store i8 %213, ptr %217, align 1
%218 = load i32, ptr %22, align 4
store i32 %218, ptr %21, align 4
%219 = load i32, ptr %24, align 4
store i32 %219, ptr %23, align 4
br label %154
220: ; preds = %195, %190
%221 = load i8, ptr %16, align 1
%222 = load ptr, ptr %7, align 8
%223 = load i32, ptr %21, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i8, ptr %222, i64 %224
store i8 %221, ptr %225, align 1
%226 = load i8, ptr %17, align 1
%227 = load ptr, ptr %7, align 8
%228 = load i32, ptr %23, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds i8, ptr %227, i64 %229
store i8 %226, ptr %230, align 1
%231 = load i32, ptr %19, align 4
%232 = load i32, ptr %15, align 4
%233 = icmp sge i32 %231, %232
br i1 %233, label %234, label %235
234: ; preds = %220
br label %308
235: ; preds = %220
br label %236
236: ; preds = %235, %264, %306
%237 = load i32, ptr %20, align 4
%238 = load i32, ptr %12, align 4
%239 = sub nsw i32 %237, %238
store i32 %239, ptr %26, align 4
%240 = load i32, ptr %12, align 4
%241 = add nsw i32 %240, 1
store i32 %241, ptr %12, align 4
%242 = load i32, ptr %12, align 4
%243 = load i32, ptr %26, align 4
%244 = icmp sgt i32 %242, %243
br i1 %244, label %245, label %248
245: ; preds = %236
%246 = load i32, ptr %12, align 4
%247 = trunc i32 %246 to i16
store i16 %247, ptr %6, align 2
br label %309
248: ; preds = %236
%249 = load i32, ptr %9, align 4
%250 = load i32, ptr %14, align 4
%251 = add nsw i32 %250, %249
store i32 %251, ptr %14, align 4
%252 = load i32, ptr %14, align 4
%253 = load i32, ptr %20, align 4
%254 = icmp sgt i32 %252, %253
br i1 %254, label %255, label %259
255: ; preds = %248
%256 = load i32, ptr %20, align 4
%257 = load i32, ptr %14, align 4
%258 = sub nsw i32 %257, %256
store i32 %258, ptr %14, align 4
br label %259
259: ; preds = %255, %248
%260 = load i32, ptr %14, align 4
store i32 %260, ptr %22, align 4
%261 = load i32, ptr %12, align 4
%262 = load i32, ptr %22, align 4
%263 = icmp eq i32 %261, %262
br i1 %263, label %264, label %265
264: ; preds = %259
br label %236
265: ; preds = %259
%266 = load i32, ptr %12, align 4
%267 = load i32, ptr %11, align 4
%268 = icmp sge i32 %266, %267
br i1 %268, label %269, label %297
269: ; preds = %265
br label %270
270: ; preds = %280, %269
%271 = load i32, ptr %22, align 4
%272 = load i32, ptr %12, align 4
%273 = icmp sgt i32 %271, %272
br i1 %273, label %274, label %278
274: ; preds = %270
%275 = load i32, ptr %22, align 4
%276 = load i32, ptr %26, align 4
%277 = icmp slt i32 %275, %276
br label %278
278: ; preds = %274, %270
%279 = phi i1 [ false, %270 ], [ %277, %274 ]
br i1 %279, label %280, label %291
280: ; preds = %278
%281 = load i32, ptr %22, align 4
store i32 %281, ptr %21, align 4
%282 = load i32, ptr %9, align 4
%283 = load i32, ptr %21, align 4
%284 = mul nsw i32 %282, %283
%285 = load i32, ptr %20, align 4
%286 = load i32, ptr %21, align 4
%287 = load i32, ptr %8, align 4
%288 = sdiv i32 %286, %287
%289 = mul nsw i32 %285, %288
%290 = sub nsw i32 %284, %289
store i32 %290, ptr %22, align 4
br label %270, !llvm.loop !10
291: ; preds = %278
%292 = load i32, ptr %22, align 4
%293 = load i32, ptr %12, align 4
%294 = icmp eq i32 %292, %293
br i1 %294, label %295, label %296
295: ; preds = %291
br label %307
296: ; preds = %291
br label %306
297: ; preds = %265
%298 = load ptr, ptr %10, align 8
%299 = load i32, ptr %12, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds i8, ptr %298, i64 %300
%302 = load i8, ptr %301, align 1
%303 = icmp ne i8 %302, 0
br i1 %303, label %305, label %304
304: ; preds = %297
br label %307
305: ; preds = %297
br label %306
306: ; preds = %305, %296
br label %236
307: ; preds = %304, %295
br label %138
308: ; preds = %234
store i16 0, ptr %6, align 2
br label %309
309: ; preds = %308, %245, %103, %43, %39, %32
%310 = load i16, ptr %6, align 2
ret i16 %310
}
declare i32 @TOMS_gcd(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpndnpjgw1.c"
target datalayout = "e-m:e-p270: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 signext i16 @transpose_bytes(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i16, align 2
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i8, align 1
%17 = alloca i8, align 1
%18 = alloca i8, align 1
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %5
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %29, %5
store i16 -1, ptr %6, align 2
br label %322
33: ; preds = %29
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %34, 2
br i1 %35, label %39, label %36
36: ; preds = %33
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %37, 2
br i1 %38, label %39, label %40
39: ; preds = %36, %33
store i16 0, ptr %6, align 2
br label %322
40: ; preds = %36
%41 = load i32, ptr %11, align 4
%42 = icmp slt i32 %41, 1
br i1 %42, label %43, label %44
43: ; preds = %40
store i16 -2, ptr %6, align 2
br label %322
44: ; preds = %40
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %108
48: ; preds = %44
store i32 0, ptr %12, align 4
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph9, label %107
.lr.ph9: ; preds = %48
br label %52
52: ; preds = %.lr.ph9, %101
%53 = load i32, ptr %12, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %13, align 4
%55 = load i32, ptr %13, align 4
%56 = load i32, ptr %8, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph6, label %100
.lr.ph6: ; preds = %52
br label %58
58: ; preds = %.lr.ph6, %94
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %12, align 4
%61 = load i32, ptr %13, align 4
%62 = load i32, ptr %8, align 4
%63 = mul nsw i32 %61, %62
%64 = add nsw i32 %60, %63
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %59, i64 %65
%67 = load i8, ptr %66, align 1
store i8 %67, ptr %16, align 1
%68 = load ptr, ptr %7, align 8
%69 = load i32, ptr %13, align 4
%70 = load i32, ptr %12, align 4
%71 = load i32, ptr %8, align 4
%72 = mul nsw i32 %70, %71
%73 = add nsw i32 %69, %72
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %68, i64 %74
%76 = load i8, ptr %75, align 1
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %12, align 4
%79 = load i32, ptr %13, align 4
%80 = load i32, ptr %8, align 4
%81 = mul nsw i32 %79, %80
%82 = add nsw i32 %78, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %77, i64 %83
store i8 %76, ptr %84, align 1
%85 = load i8, ptr %16, align 1
%86 = load ptr, ptr %7, align 8
%87 = load i32, ptr %13, align 4
%88 = load i32, ptr %12, align 4
%89 = load i32, ptr %8, align 4
%90 = mul nsw i32 %88, %89
%91 = add nsw i32 %87, %90
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %86, i64 %92
store i8 %85, ptr %93, align 1
br label %94
94: ; preds = %58
%95 = load i32, ptr %13, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %13, align 4
%97 = load i32, ptr %13, align 4
%98 = load i32, ptr %8, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %58, label %._crit_edge7, !llvm.loop !6
._crit_edge7: ; preds = %94
br label %100
100: ; preds = %._crit_edge7, %52
br label %101
101: ; preds = %100
%102 = load i32, ptr %12, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %12, align 4
%104 = load i32, ptr %12, align 4
%105 = load i32, ptr %8, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %52, label %._crit_edge10, !llvm.loop !8
._crit_edge10: ; preds = %101
br label %107
107: ; preds = %._crit_edge10, %48
store i16 0, ptr %6, align 2
br label %322
108: ; preds = %44
store i32 2, ptr %19, align 4
%109 = load i32, ptr %9, align 4
%110 = load i32, ptr %8, align 4
%111 = mul nsw i32 %109, %110
store i32 %111, ptr %15, align 4
%112 = sub nsw i32 %111, 1
store i32 %112, ptr %20, align 4
store i32 0, ptr %12, align 4
%113 = load i32, ptr %12, align 4
%114 = load i32, ptr %11, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %.lr.ph, label %127
.lr.ph: ; preds = %108
br label %116
116: ; preds = %.lr.ph, %121
%117 = load ptr, ptr %10, align 8
%118 = load i32, ptr %12, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %117, i64 %119
store i8 0, ptr %120, align 1
br label %121
121: ; preds = %116
%122 = load i32, ptr %12, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %12, align 4
%124 = load i32, ptr %12, align 4
%125 = load i32, ptr %11, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %116, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %121
br label %127
127: ; preds = %._crit_edge, %108
%128 = load i32, ptr %9, align 4
%129 = icmp sge i32 %128, 3
br i1 %129, label %130, label %142
130: ; preds = %127
%131 = load i32, ptr %8, align 4
%132 = icmp sge i32 %131, 3
br i1 %132, label %133, label %142
133: ; preds = %130
%134 = load i32, ptr %9, align 4
%135 = sub nsw i32 %134, 1
%136 = load i32, ptr %8, align 4
%137 = sub nsw i32 %136, 1
%138 = call i32 @TOMS_gcd(i32 noundef %135, i32 noundef %137)
%139 = sub nsw i32 %138, 1
%140 = load i32, ptr %19, align 4
%141 = add nsw i32 %140, %139
store i32 %141, ptr %19, align 4
br label %142
142: ; preds = %133, %130, %127
store i32 1, ptr %12, align 4
%143 = load i32, ptr %9, align 4
store i32 %143, ptr %14, align 4
br label %144
144: ; preds = %320, %142
%145 = load i32, ptr %12, align 4
store i32 %145, ptr %21, align 4
%146 = load i32, ptr %20, align 4
%147 = load i32, ptr %12, align 4
%148 = sub nsw i32 %146, %147
store i32 %148, ptr %25, align 4
%149 = load ptr, ptr %7, align 8
%150 = load i32, ptr %21, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i8, ptr %149, i64 %151
%153 = load i8, ptr %152, align 1
store i8 %153, ptr %16, align 1
%154 = load i32, ptr %25, align 4
store i32 %154, ptr %23, align 4
%155 = load ptr, ptr %7, align 8
%156 = load i32, ptr %23, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i8, ptr %155, i64 %157
%159 = load i8, ptr %158, align 1
store i8 %159, ptr %17, align 1
br label %160
160: ; preds = %205, %144
%161 = load i32, ptr %9, align 4
%162 = load i32, ptr %21, align 4
%163 = mul nsw i32 %161, %162
%164 = load i32, ptr %20, align 4
%165 = load i32, ptr %21, align 4
%166 = load i32, ptr %8, align 4
%167 = sdiv i32 %165, %166
%168 = mul nsw i32 %164, %167
%169 = sub nsw i32 %163, %168
store i32 %169, ptr %22, align 4
%170 = load i32, ptr %20, align 4
%171 = load i32, ptr %22, align 4
%172 = sub nsw i32 %170, %171
store i32 %172, ptr %24, align 4
%173 = load i32, ptr %21, align 4
%174 = load i32, ptr %11, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %176, label %181
176: ; preds = %160
%177 = load ptr, ptr %10, align 8
%178 = load i32, ptr %21, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i8, ptr %177, i64 %179
store i8 1, ptr %180, align 1
br label %181
181: ; preds = %176, %160
%182 = load i32, ptr %23, align 4
%183 = load i32, ptr %11, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %185, label %190
185: ; preds = %181
%186 = load ptr, ptr %10, align 8
%187 = load i32, ptr %23, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i8, ptr %186, i64 %188
store i8 1, ptr %189, align 1
br label %190
190: ; preds = %185, %181
%191 = load i32, ptr %19, align 4
%192 = add nsw i32 %191, 2
store i32 %192, ptr %19, align 4
%193 = load i32, ptr %22, align 4
%194 = load i32, ptr %12, align 4
%195 = icmp eq i32 %193, %194
br i1 %195, label %196, label %197
196: ; preds = %190
br label %226
197: ; preds = %190
%198 = load i32, ptr %22, align 4
%199 = load i32, ptr %25, align 4
%200 = icmp eq i32 %198, %199
br i1 %200, label %201, label %205
201: ; preds = %197
%202 = load i8, ptr %16, align 1
store i8 %202, ptr %18, align 1
%203 = load i8, ptr %17, align 1
store i8 %203, ptr %16, align 1
%204 = load i8, ptr %18, align 1
store i8 %204, ptr %17, align 1
br label %226
205: ; preds = %197
%206 = load ptr, ptr %7, align 8
%207 = load i32, ptr %22, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds i8, ptr %206, i64 %208
%210 = load i8, ptr %209, align 1
%211 = load ptr, ptr %7, align 8
%212 = load i32, ptr %21, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds i8, ptr %211, i64 %213
store i8 %210, ptr %214, align 1
%215 = load ptr, ptr %7, align 8
%216 = load i32, ptr %24, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i8, ptr %215, i64 %217
%219 = load i8, ptr %218, align 1
%220 = load ptr, ptr %7, align 8
%221 = load i32, ptr %23, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i8, ptr %220, i64 %222
store i8 %219, ptr %223, align 1
%224 = load i32, ptr %22, align 4
store i32 %224, ptr %21, align 4
%225 = load i32, ptr %24, align 4
store i32 %225, ptr %23, align 4
br label %160
226: ; preds = %201, %196
%227 = load i8, ptr %16, align 1
%228 = load ptr, ptr %7, align 8
%229 = load i32, ptr %21, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i8, ptr %228, i64 %230
store i8 %227, ptr %231, align 1
%232 = load i8, ptr %17, align 1
%233 = load ptr, ptr %7, align 8
%234 = load i32, ptr %23, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i8, ptr %233, i64 %235
store i8 %232, ptr %236, align 1
%237 = load i32, ptr %19, align 4
%238 = load i32, ptr %15, align 4
%239 = icmp sge i32 %237, %238
br i1 %239, label %240, label %241
240: ; preds = %226
br label %321
241: ; preds = %226
%242 = load i32, ptr %20, align 4
%243 = load i32, ptr %12, align 4
%244 = sub nsw i32 %242, %243
store i32 %244, ptr %26, align 4
%245 = load i32, ptr %12, align 4
%246 = add nsw i32 %245, 1
store i32 %246, ptr %12, align 4
%247 = load i32, ptr %12, align 4
%248 = load i32, ptr %26, align 4
%249 = icmp sgt i32 %247, %248
br i1 %249, label %._crit_edge3, label %.lr.ph2
.lr.ph2: ; preds = %241
br label %253
._crit_edge3: ; preds = %241
br label %250
._crit_edge4: ; preds = %.backedge
br label %250
250: ; preds = %._crit_edge4, %._crit_edge3
%251 = load i32, ptr %12, align 4
%252 = trunc i32 %251 to i16
store i16 %252, ptr %6, align 2
br label %322
253: ; preds = %.lr.ph2, %.backedge
%254 = load i32, ptr %9, align 4
%255 = load i32, ptr %14, align 4
%256 = add nsw i32 %255, %254
store i32 %256, ptr %14, align 4
%257 = load i32, ptr %14, align 4
%258 = load i32, ptr %20, align 4
%259 = icmp sgt i32 %257, %258
br i1 %259, label %260, label %264
260: ; preds = %253
%261 = load i32, ptr %20, align 4
%262 = load i32, ptr %14, align 4
%263 = sub nsw i32 %262, %261
store i32 %263, ptr %14, align 4
br label %264
264: ; preds = %260, %253
%265 = load i32, ptr %14, align 4
store i32 %265, ptr %22, align 4
%266 = load i32, ptr %12, align 4
%267 = load i32, ptr %22, align 4
%268 = icmp eq i32 %266, %267
br i1 %268, label %269, label %278
269: ; preds = %264
br label %.backedge
.backedge: ; preds = %269, %319
%270 = load i32, ptr %20, align 4
%271 = load i32, ptr %12, align 4
%272 = sub nsw i32 %270, %271
store i32 %272, ptr %26, align 4
%273 = load i32, ptr %12, align 4
%274 = add nsw i32 %273, 1
store i32 %274, ptr %12, align 4
%275 = load i32, ptr %12, align 4
%276 = load i32, ptr %26, align 4
%277 = icmp sgt i32 %275, %276
br i1 %277, label %._crit_edge4, label %253
278: ; preds = %264
%279 = load i32, ptr %12, align 4
%280 = load i32, ptr %11, align 4
%281 = icmp sge i32 %279, %280
br i1 %281, label %282, label %310
282: ; preds = %278
br label %283
283: ; preds = %293, %282
%284 = load i32, ptr %22, align 4
%285 = load i32, ptr %12, align 4
%286 = icmp sgt i32 %284, %285
br i1 %286, label %287, label %291
287: ; preds = %283
%288 = load i32, ptr %22, align 4
%289 = load i32, ptr %26, align 4
%290 = icmp slt i32 %288, %289
br label %291
291: ; preds = %287, %283
%292 = phi i1 [ false, %283 ], [ %290, %287 ]
br i1 %292, label %293, label %304
293: ; preds = %291
%294 = load i32, ptr %22, align 4
store i32 %294, ptr %21, align 4
%295 = load i32, ptr %9, align 4
%296 = load i32, ptr %21, align 4
%297 = mul nsw i32 %295, %296
%298 = load i32, ptr %20, align 4
%299 = load i32, ptr %21, align 4
%300 = load i32, ptr %8, align 4
%301 = sdiv i32 %299, %300
%302 = mul nsw i32 %298, %301
%303 = sub nsw i32 %297, %302
store i32 %303, ptr %22, align 4
br label %283, !llvm.loop !10
304: ; preds = %291
%305 = load i32, ptr %22, align 4
%306 = load i32, ptr %12, align 4
%307 = icmp eq i32 %305, %306
br i1 %307, label %308, label %309
308: ; preds = %304
br label %320
309: ; preds = %304
br label %319
310: ; preds = %278
%311 = load ptr, ptr %10, align 8
%312 = load i32, ptr %12, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds i8, ptr %311, i64 %313
%315 = load i8, ptr %314, align 1
%316 = icmp ne i8 %315, 0
br i1 %316, label %318, label %317
317: ; preds = %310
br label %320
318: ; preds = %310
br label %319
319: ; preds = %318, %309
br label %.backedge
320: ; preds = %317, %308
br label %144
321: ; preds = %240
store i16 0, ptr %6, align 2
br label %322
322: ; preds = %321, %250, %107, %43, %39, %32
%323 = load i16, ptr %6, align 2
ret i16 %323
}
declare i32 @TOMS_gcd(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp7b7muur1.c'
source_filename = "/tmp/tmp7b7muur1.c"
target datalayout = "e-m:e-p270: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 @get_interrupts(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %24, %2
%13 = load ptr, ptr %7, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 58
br i1 %16, label %17, label %22
17: ; preds = %12
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br label %22
22: ; preds = %17, %12
%23 = phi i1 [ false, %12 ], [ %21, %17 ]
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %7, align 8
br label %12, !llvm.loop !6
27: ; preds = %22
br label %28
28: ; preds = %74, %27
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %75
33: ; preds = %28
%34 = load ptr, ptr %7, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = load ptr, ptr %7, align 8
store i8 0, ptr %39, align 1
br label %41
40: ; preds = %33
store i32 1, ptr %9, align 4
br label %41
41: ; preds = %40, %38
%42 = load ptr, ptr %6, align 8
%43 = call i32 @strtoul(ptr noundef %42, ptr noundef null, i32 noundef 0)
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %43, ptr %47, align 4
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp sgt i32 %50, 4
br i1 %51, label %55, label %52
52: ; preds = %41
%53 = load i32, ptr %9, align 4
%54 = icmp eq i32 %53, 1
br i1 %54, label %55, label %56
55: ; preds = %52, %41
store i32 0, ptr %3, align 4
br label %76
56: ; preds = %52
%57 = load ptr, ptr %7, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %7, align 8
store ptr %58, ptr %6, align 8
br label %59
59: ; preds = %71, %56
%60 = load ptr, ptr %7, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 58
br i1 %63, label %64, label %69
64: ; preds = %59
%65 = load ptr, ptr %7, align 8
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br label %69
69: ; preds = %64, %59
%70 = phi i1 [ false, %59 ], [ %68, %64 ]
br i1 %70, label %71, label %74
71: ; preds = %69
%72 = load ptr, ptr %7, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %7, align 8
br label %59, !llvm.loop !8
74: ; preds = %69
br label %28, !llvm.loop !9
75: ; preds = %28
store i32 0, ptr %3, align 4
br label %76
76: ; preds = %75, %55
%77 = load i32, ptr %3, align 4
ret i32 %77
}
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7b7muur1.c"
target datalayout = "e-m:e-p270: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 @get_interrupts(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %24, %2
%13 = load ptr, ptr %7, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 58
br i1 %16, label %17, label %22
17: ; preds = %12
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br label %22
22: ; preds = %17, %12
%23 = phi i1 [ false, %12 ], [ %21, %17 ]
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %7, align 8
br label %12, !llvm.loop !6
27: ; preds = %22
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %.lr.ph, label %78
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %73
%33 = load ptr, ptr %7, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = load ptr, ptr %7, align 8
store i8 0, ptr %38, align 1
br label %40
39: ; preds = %32
store i32 1, ptr %9, align 4
br label %40
40: ; preds = %39, %37
%41 = load ptr, ptr %6, align 8
%42 = call i32 @strtoul(ptr noundef %41, ptr noundef null, i32 noundef 0)
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 %42, ptr %46, align 4
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp sgt i32 %49, 4
br i1 %50, label %54, label %51
51: ; preds = %40
%52 = load i32, ptr %9, align 4
%53 = icmp eq i32 %52, 1
br i1 %53, label %54, label %55
54: ; preds = %51, %40
store i32 0, ptr %3, align 4
br label %79
55: ; preds = %51
%56 = load ptr, ptr %7, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %7, align 8
store ptr %57, ptr %6, align 8
br label %58
58: ; preds = %70, %55
%59 = load ptr, ptr %7, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 58
br i1 %62, label %63, label %68
63: ; preds = %58
%64 = load ptr, ptr %7, align 8
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %66, 0
br label %68
68: ; preds = %63, %58
%69 = phi i1 [ false, %58 ], [ %67, %63 ]
br i1 %69, label %70, label %73
70: ; preds = %68
%71 = load ptr, ptr %7, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %7, align 8
br label %58, !llvm.loop !8
73: ; preds = %68
%74 = load ptr, ptr %6, align 8
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %76, 0
br i1 %77, label %32, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %73
br label %78
78: ; preds = %._crit_edge, %27
store i32 0, ptr %3, align 4
br label %79
79: ; preds = %78, %54
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpys1j6tk_.c'
source_filename = "/tmp/tmpys1j6tk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"~/{Downloads,Pictures}/*.{jpg,gif,png}\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"It{{em,alic}iz,erat}e{d,}, please.\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"{,{,gotta have{ ,\\, again\\, }}more }cowbell!\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 @test(ptr noundef @.str)
%3 = call i32 @test(ptr noundef @.str.1)
%4 = call i32 @test(ptr noundef @.str.2)
ret i32 0
}
declare i32 @test(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/tmpys1j6tk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"~/{Downloads,Pictures}/*.{jpg,gif,png}\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"It{{em,alic}iz,erat}e{d,}, please.\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"{,{,gotta have{ ,\\, again\\, }}more }cowbell!\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 @test(ptr noundef @.str)
%3 = call i32 @test(ptr noundef @.str.1)
%4 = call i32 @test(ptr noundef @.str.2)
ret i32 0
}
declare i32 @test(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/tmp7ohy6lpj.c'
source_filename = "/tmp/tmp7ohy6lpj.c"
target datalayout = "e-m:e-p270: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: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets___fxstatat(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @__fxstatat(i32 noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @__fxstatat(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 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/tmp7ohy6lpj.c"
target datalayout = "e-m:e-p270: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: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets___fxstatat(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @__fxstatat(i32 noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @__fxstatat(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 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/tmpfg7bjrhu.c'
source_filename = "/tmp/tmpfg7bjrhu.c"
target datalayout = "e-m:e-p270: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 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 %0, ptr %2, align 4
store i8 0, ptr %3, align 1
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = call i64 (...) @bar()
%8 = icmp ne i64 %7, 0
br label %9
9: ; preds = %6, %1
%10 = phi i1 [ true, %1 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
%12 = trunc i32 %11 to i8
store i8 %12, ptr %3, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %9
%15 = call i64 (...) @bar()
br label %16
16: ; preds = %14, %9
%17 = load i8, ptr %3, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = call i32 (...) @abort() #3
unreachable
21: ; preds = %16
ret void
}
declare i64 @bar(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpfg7bjrhu.c"
target datalayout = "e-m:e-p270: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 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 %0, ptr %2, align 4
store i8 0, ptr %3, align 1
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = call i64 (...) @bar()
%8 = icmp ne i64 %7, 0
br label %9
9: ; preds = %6, %1
%10 = phi i1 [ true, %1 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
%12 = trunc i32 %11 to i8
store i8 %12, ptr %3, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %9
%15 = call i64 (...) @bar()
br label %16
16: ; preds = %14, %9
%17 = load i8, ptr %3, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = call i32 (...) @abort() #3
unreachable
21: ; preds = %16
ret void
}
declare i64 @bar(...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpbv6m17dh.c'
source_filename = "/tmp/tmpbv6m17dh.c"
target datalayout = "e-m:e-p270: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 @aes_128_decrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @aes_decrypt(ptr noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 16)
ret void
}
declare i32 @aes_decrypt(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbv6m17dh.c"
target datalayout = "e-m:e-p270: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 @aes_128_decrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @aes_decrypt(ptr noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 16)
ret void
}
declare i32 @aes_decrypt(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcpgfpwyd.c'
source_filename = "/tmp/tmpcpgfpwyd.c"
target datalayout = "e-m:e-p270: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"U_WMRABORTDOC\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMRABORTDOC_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(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/tmpcpgfpwyd.c"
target datalayout = "e-m:e-p270: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"U_WMRABORTDOC\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMRABORTDOC_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(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/tmp2w_72uls.c'
source_filename = "/tmp/tmp2w_72uls.c"
target datalayout = "e-m:e-p270: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 [8 x i8] c"U_WMR5B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMR5B_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(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/tmp2w_72uls.c"
target datalayout = "e-m:e-p270: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 [8 x i8] c"U_WMR5B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMR5B_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(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/tmp3kklv8mg.c'
source_filename = "/tmp/tmp3kklv8mg.c"
target datalayout = "e-m:e-p270: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 @CALL() #0 {
%1 = call i32 @Subroutine_addr(i32 noundef 205, i32 noundef 196)
ret void
}
declare i32 @Subroutine_addr(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/tmp3kklv8mg.c"
target datalayout = "e-m:e-p270: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 @CALL() #0 {
%1 = call i32 @Subroutine_addr(i32 noundef 205, i32 noundef 196)
ret void
}
declare i32 @Subroutine_addr(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/tmp5qazir0w.c'
source_filename = "/tmp/tmp5qazir0w.c"
target datalayout = "e-m:e-p270: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(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
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca i64, 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 32, ptr %12, align 4
%20 = load i32, ptr %12, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %14, align 8
%23 = alloca i32, i64 %21, align 16
store i64 %21, ptr %15, align 8
%24 = load i32, ptr %12, align 4
%25 = zext i32 %24 to i64
%26 = alloca i64, i64 %25, align 16
store i64 %25, ptr %16, align 8
%27 = load i32, ptr %12, align 4
%28 = zext i32 %27 to i64
%29 = alloca float, i64 %28, align 16
store i64 %28, ptr %19, align 8
store i32 1234, ptr %7, align 4
store i32 31, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %30
30: ; preds = %39, %2
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %12, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %42
34: ; preds = %30
%35 = load i32, ptr %13, align 4
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %23, i64 %37
store i32 %35, ptr %38, align 4
br label %39
39: ; preds = %34
%40 = load i32, ptr %13, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %13, align 4
br label %30, !llvm.loop !6
42: ; preds = %30
store i32 0, ptr %13, align 4
br label %43
43: ; preds = %53, %42
%44 = load i32, ptr %13, align 4
%45 = load i32, ptr %12, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %56
47: ; preds = %43
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %13, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %23, i64 %50
store i32 %48, ptr %51, align 4
%52 = load i32, ptr %13, align 4
store i32 %52, ptr %7, align 4
br label %53
53: ; preds = %47
%54 = load i32, ptr %13, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %13, align 4
br label %43, !llvm.loop !8
56: ; preds = %43
store i32 0, ptr %8, align 4
%57 = load i32, ptr %12, align 4
store i32 %57, ptr %9, align 4
store i32 0, ptr %13, align 4
br label %58
58: ; preds = %93, %56
%59 = load i32, ptr %13, align 4
%60 = load i32, ptr %12, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %96
62: ; preds = %58
%63 = load i32, ptr %13, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %23, i64 %64
%66 = load i32, ptr %65, align 4
%67 = load i32, ptr %8, align 4
%68 = icmp sgt i32 %66, %67
br i1 %68, label %69, label %74
69: ; preds = %62
%70 = load i32, ptr %13, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %23, i64 %71
%73 = load i32, ptr %72, align 4
br label %76
74: ; preds = %62
%75 = load i32, ptr %8, align 4
br label %76
76: ; preds = %74, %69
%77 = phi i32 [ %73, %69 ], [ %75, %74 ]
store i32 %77, ptr %8, align 4
%78 = load i32, ptr %13, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %23, i64 %79
%81 = load i32, ptr %80, align 4
%82 = load i32, ptr %9, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %89
84: ; preds = %76
%85 = load i32, ptr %13, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %23, i64 %86
%88 = load i32, ptr %87, align 4
br label %91
89: ; preds = %76
%90 = load i32, ptr %9, align 4
br label %91
91: ; preds = %89, %84
%92 = phi i32 [ %88, %84 ], [ %90, %89 ]
store i32 %92, ptr %9, align 4
br label %93
93: ; preds = %91
%94 = load i32, ptr %13, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %13, align 4
br label %58, !llvm.loop !9
96: ; preds = %58
%97 = load i32, ptr %8, align 4
%98 = icmp ne i32 %97, 1234
br i1 %98, label %102, label %99
99: ; preds = %96
%100 = load i32, ptr %9, align 4
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %99, %96
%103 = call i32 (...) @abort() #3
unreachable
104: ; preds = %99
store i32 0, ptr %3, align 4
%105 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %105)
%106 = load i32, ptr %3, align 4
ret i32 %106
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn }
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5qazir0w.c"
target datalayout = "e-m:e-p270: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(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
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca i64, 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 32, ptr %12, align 4
%20 = load i32, ptr %12, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %14, align 8
%23 = alloca i32, i64 %21, align 16
store i64 %21, ptr %15, align 8
%24 = load i32, ptr %12, align 4
%25 = zext i32 %24 to i64
%26 = alloca i64, i64 %25, align 16
store i64 %25, ptr %16, align 8
%27 = load i32, ptr %12, align 4
%28 = zext i32 %27 to i64
%29 = alloca float, i64 %28, align 16
store i64 %28, ptr %19, align 8
store i32 1234, ptr %7, align 4
store i32 31, ptr %6, align 4
store i32 0, ptr %13, align 4
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %12, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph, label %44
.lr.ph: ; preds = %2
br label %33
33: ; preds = %.lr.ph, %38
%34 = load i32, ptr %13, align 4
%35 = load i32, ptr %13, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %23, i64 %36
store i32 %34, ptr %37, align 4
br label %38
38: ; preds = %33
%39 = load i32, ptr %13, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %13, align 4
%41 = load i32, ptr %13, align 4
%42 = load i32, ptr %12, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %2
store i32 0, ptr %13, align 4
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %12, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph2, label %60
.lr.ph2: ; preds = %44
br label %48
48: ; preds = %.lr.ph2, %54
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %13, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %23, i64 %51
store i32 %49, ptr %52, align 4
%53 = load i32, ptr %13, align 4
store i32 %53, ptr %7, align 4
br label %54
54: ; preds = %48
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %13, align 4
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %12, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %48, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %44
store i32 0, ptr %8, align 4
%61 = load i32, ptr %12, align 4
store i32 %61, ptr %9, align 4
store i32 0, ptr %13, align 4
%62 = load i32, ptr %13, align 4
%63 = load i32, ptr %12, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph5, label %102
.lr.ph5: ; preds = %60
br label %65
65: ; preds = %.lr.ph5, %96
%66 = load i32, ptr %13, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %23, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load i32, ptr %8, align 4
%71 = icmp sgt i32 %69, %70
br i1 %71, label %72, label %77
72: ; preds = %65
%73 = load i32, ptr %13, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %23, i64 %74
%76 = load i32, ptr %75, align 4
br label %79
77: ; preds = %65
%78 = load i32, ptr %8, align 4
br label %79
79: ; preds = %77, %72
%80 = phi i32 [ %76, %72 ], [ %78, %77 ]
store i32 %80, ptr %8, align 4
%81 = load i32, ptr %13, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %23, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load i32, ptr %9, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %92
87: ; preds = %79
%88 = load i32, ptr %13, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %23, i64 %89
%91 = load i32, ptr %90, align 4
br label %94
92: ; preds = %79
%93 = load i32, ptr %9, align 4
br label %94
94: ; preds = %92, %87
%95 = phi i32 [ %91, %87 ], [ %93, %92 ]
store i32 %95, ptr %9, align 4
br label %96
96: ; preds = %94
%97 = load i32, ptr %13, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %13, align 4
%99 = load i32, ptr %13, align 4
%100 = load i32, ptr %12, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %65, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %96
br label %102
102: ; preds = %._crit_edge6, %60
%103 = load i32, ptr %8, align 4
%104 = icmp ne i32 %103, 1234
br i1 %104, label %108, label %105
105: ; preds = %102
%106 = load i32, ptr %9, align 4
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %110
108: ; preds = %105, %102
%109 = call i32 (...) @abort() #3
unreachable
110: ; preds = %105
store i32 0, ptr %3, align 4
%111 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %111)
%112 = load i32, ptr %3, align 4
ret i32 %112
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn }
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpe97nq9j_.c'
source_filename = "/tmp/tmpe97nq9j_.c"
target datalayout = "e-m:e-p270: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"Pin.makeInput\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @amaret_local_A1_makeInput__E() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe97nq9j_.c"
target datalayout = "e-m:e-p270: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"Pin.makeInput\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @amaret_local_A1_makeInput__E() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeunfvs40.c'
source_filename = "/tmp/tmpeunfvs40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"aplay -D hw:1,0 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @playWav(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [100 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strcat(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @system(ptr noundef %9)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @system(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/tmpeunfvs40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"aplay -D hw:1,0 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @playWav(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [100 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strcat(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @system(ptr noundef %9)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @system(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/tmp2nicsfas.c'
source_filename = "/tmp/tmp2nicsfas.c"
target datalayout = "e-m:e-p270: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 @setbrushcolor(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @SetBrushColor86(i64 noundef %3)
ret void
}
declare i32 @SetBrushColor86(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/tmp2nicsfas.c"
target datalayout = "e-m:e-p270: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 @setbrushcolor(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @SetBrushColor86(i64 noundef %3)
ret void
}
declare i32 @SetBrushColor86(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/tmpxuh2og_s.c'
source_filename = "/tmp/tmpxuh2og_s.c"
target datalayout = "e-m:e-p270: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.RunKernel.local_size = private unnamed_addr constant [1 x i64] [i64 256], align 8
@CL_SUCCESS = dso_local global i64 0, align 8
@CL_PROFILING_COMMAND_START = dso_local global i32 0, align 4
@CL_PROFILING_COMMAND_END = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"\09Kernel exec time: %8.2f us\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RunKernel(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
%7 = alloca [1 x i64], align 8
%8 = alloca [1 x i64], align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca float, align 4
%12 = alloca float, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%13 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 255
%16 = sdiv i32 %15, 256
%17 = mul nsw i32 %16, 256
%18 = sext i32 %17 to i64
store i64 %18, ptr %13, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @__const.RunKernel.local_size, i64 8, i1 false)
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%22 = getelementptr inbounds [1 x i64], ptr %8, i64 0, i64 0
%23 = call i64 @clEnqueueNDRangeKernel(i32 noundef %19, i32 noundef %20, i32 noundef 1, ptr noundef null, ptr noundef %21, ptr noundef %22, i32 noundef 0, ptr noundef null, ptr noundef %9)
store i64 %23, ptr %10, align 8
%24 = load i64, ptr %10, align 8
%25 = load i64, ptr @CL_SUCCESS, align 8
%26 = icmp eq i64 %24, %25
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = call i64 @clFinish(i32 noundef %29)
store i64 %30, ptr %10, align 8
%31 = load i64, ptr %10, align 8
%32 = load i64, ptr @CL_SUCCESS, align 8
%33 = icmp eq i64 %31, %32
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
store float 0.000000e+00, ptr %11, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr @CL_PROFILING_COMMAND_START, align 4
%38 = call i64 @clGetEventProfilingInfo(i32 noundef %36, i32 noundef %37, i32 noundef 4, ptr noundef %11, ptr noundef null)
store i64 %38, ptr %10, align 8
%39 = load i64, ptr %10, align 8
%40 = load i64, ptr @CL_SUCCESS, align 8
%41 = icmp eq i64 %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
store float 0.000000e+00, ptr %12, align 4
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr @CL_PROFILING_COMMAND_END, align 4
%46 = call i64 @clGetEventProfilingInfo(i32 noundef %44, i32 noundef %45, i32 noundef 4, ptr noundef %12, ptr noundef null)
store i64 %46, ptr %10, align 8
%47 = load i64, ptr %10, align 8
%48 = load i64, ptr @CL_SUCCESS, align 8
%49 = icmp eq i64 %47, %48
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 noundef %50)
%52 = load i32, ptr @stderr, align 4
%53 = load float, ptr %12, align 4
%54 = load float, ptr %11, align 4
%55 = fsub float %53, %54
%56 = fmul float 1.000000e+00, %55
%57 = fpext float %56 to double
%58 = fdiv double %57, 1.000000e+03
%59 = fptrunc double %58 to float
%60 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str, float noundef %59)
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 i64 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @assert(i32 noundef) #2
declare i64 @clFinish(i32 noundef) #2
declare i64 @clGetEventProfilingInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpxuh2og_s.c"
target datalayout = "e-m:e-p270: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.RunKernel.local_size = private unnamed_addr constant [1 x i64] [i64 256], align 8
@CL_SUCCESS = dso_local global i64 0, align 8
@CL_PROFILING_COMMAND_START = dso_local global i32 0, align 4
@CL_PROFILING_COMMAND_END = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"\09Kernel exec time: %8.2f us\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RunKernel(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
%7 = alloca [1 x i64], align 8
%8 = alloca [1 x i64], align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca float, align 4
%12 = alloca float, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%13 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 255
%16 = sdiv i32 %15, 256
%17 = mul nsw i32 %16, 256
%18 = sext i32 %17 to i64
store i64 %18, ptr %13, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @__const.RunKernel.local_size, i64 8, i1 false)
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%22 = getelementptr inbounds [1 x i64], ptr %8, i64 0, i64 0
%23 = call i64 @clEnqueueNDRangeKernel(i32 noundef %19, i32 noundef %20, i32 noundef 1, ptr noundef null, ptr noundef %21, ptr noundef %22, i32 noundef 0, ptr noundef null, ptr noundef %9)
store i64 %23, ptr %10, align 8
%24 = load i64, ptr %10, align 8
%25 = load i64, ptr @CL_SUCCESS, align 8
%26 = icmp eq i64 %24, %25
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = call i64 @clFinish(i32 noundef %29)
store i64 %30, ptr %10, align 8
%31 = load i64, ptr %10, align 8
%32 = load i64, ptr @CL_SUCCESS, align 8
%33 = icmp eq i64 %31, %32
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
store float 0.000000e+00, ptr %11, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr @CL_PROFILING_COMMAND_START, align 4
%38 = call i64 @clGetEventProfilingInfo(i32 noundef %36, i32 noundef %37, i32 noundef 4, ptr noundef %11, ptr noundef null)
store i64 %38, ptr %10, align 8
%39 = load i64, ptr %10, align 8
%40 = load i64, ptr @CL_SUCCESS, align 8
%41 = icmp eq i64 %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
store float 0.000000e+00, ptr %12, align 4
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr @CL_PROFILING_COMMAND_END, align 4
%46 = call i64 @clGetEventProfilingInfo(i32 noundef %44, i32 noundef %45, i32 noundef 4, ptr noundef %12, ptr noundef null)
store i64 %46, ptr %10, align 8
%47 = load i64, ptr %10, align 8
%48 = load i64, ptr @CL_SUCCESS, align 8
%49 = icmp eq i64 %47, %48
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 noundef %50)
%52 = load i32, ptr @stderr, align 4
%53 = load float, ptr %12, align 4
%54 = load float, ptr %11, align 4
%55 = fsub float %53, %54
%56 = fmul float 1.000000e+00, %55
%57 = fpext float %56 to double
%58 = fdiv double %57, 1.000000e+03
%59 = fptrunc double %58 to float
%60 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str, float noundef %59)
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 i64 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @assert(i32 noundef) #2
declare i64 @clFinish(i32 noundef) #2
declare i64 @clGetEventProfilingInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp1k7o_doy.c'
source_filename = "/tmp/tmp1k7o_doy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@.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 ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.x, i64 12, i1 false)
%5 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
%6 = call i32 @permute(ptr noundef %5, i32 noundef 3, ptr noundef %3)
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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 @permute(ptr noundef, i32 noundef, 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1k7o_doy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@.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 ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.x, i64 12, i1 false)
%5 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 0
%6 = call i32 @permute(ptr noundef %5, i32 noundef 3, ptr noundef %3)
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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 @permute(ptr noundef, i32 noundef, 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"}
|
; ModuleID = '/tmp/tmparbujj28.c'
source_filename = "/tmp/tmparbujj28.c"
target datalayout = "e-m:e-p270: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 @ft_strnew(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %3, align 8
%7 = add i64 %6, 1
%8 = mul i64 1, %7
%9 = trunc i64 %8 to i32
%10 = call i64 @malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %1
store ptr null, ptr %2, align 8
br label %29
14: ; preds = %1
br label %15
15: ; preds = %19, %14
%16 = load i64, ptr %5, align 8
%17 = load i64, ptr %3, align 8
%18 = icmp ule i64 %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %5, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 0, ptr %23, align 1
br label %15, !llvm.loop !6
24: ; preds = %15
%25 = load ptr, ptr %4, align 8
%26 = load i64, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %4, align 8
store ptr %28, ptr %2, align 8
br label %29
29: ; preds = %24, %13
%30 = load ptr, ptr %2, align 8
ret ptr %30
}
declare i64 @malloc(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/tmparbujj28.c"
target datalayout = "e-m:e-p270: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 @ft_strnew(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %3, align 8
%7 = add i64 %6, 1
%8 = mul i64 1, %7
%9 = trunc i64 %8 to i32
%10 = call i64 @malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %1
store ptr null, ptr %2, align 8
br label %31
14: ; preds = %1
%15 = load i64, ptr %5, align 8
%16 = load i64, ptr %3, align 8
%17 = icmp ule i64 %15, %16
br i1 %17, label %.lr.ph, label %26
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %5, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %19, i64 %20
store i8 0, ptr %22, align 1
%23 = load i64, ptr %5, align 8
%24 = load i64, ptr %3, align 8
%25 = icmp ule i64 %23, %24
br i1 %25, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %26
26: ; preds = %._crit_edge, %14
%27 = load ptr, ptr %4, align 8
%28 = load i64, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
store i8 0, ptr %29, align 1
%30 = load ptr, ptr %4, align 8
store ptr %30, ptr %2, align 8
br label %31
31: ; preds = %26, %13
%32 = load ptr, ptr %2, align 8
ret ptr %32
}
declare i64 @malloc(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/tmpbkhjip3m.c'
source_filename = "/tmp/tmpbkhjip3m.c"
target datalayout = "e-m:e-p270: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/tmpbkhjip3m.c"
target datalayout = "e-m:e-p270: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/tmpd8xhr5uf.c'
source_filename = "/tmp/tmpd8xhr5uf.c"
target datalayout = "e-m:e-p270: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 [58 x i8] c" n un tn en An\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"init - %12.8f %12.8f %12.8f\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"%4u %12.8f %12.8f %12.8f %12.8f\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"true:%12.8f %12.8f\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 double, align 8
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 12, ptr %2, align 4
store double 2.000000e+00, ptr %3, align 8
%15 = call double @sqrt(double noundef 2.000000e+00) #5
store double %15, ptr %4, align 8
%16 = load i32, ptr %2, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %5, align 8
%19 = alloca double, i64 %17, align 16
store i64 %17, ptr %6, align 8
%20 = load double, ptr %3, align 8
%21 = call double @log(double noundef %20) #5
%22 = fdiv double 1.000000e+00, %21
store double %22, ptr %7, align 8
store double 1.000000e+00, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %23
23: ; preds = %38, %0
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %27, label %41
27: ; preds = %23
%28 = load double, ptr %8, align 8
%29 = fadd double 1.000000e+00, %28
%30 = call double @log(double noundef %29) #5
%31 = load double, ptr %7, align 8
%32 = fmul double %30, %31
%33 = load i32, ptr %9, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %19, i64 %34
store double %32, ptr %35, align 8
%36 = load double, ptr %8, align 8
%37 = fmul double %36, 5.000000e-01
store double %37, ptr %8, align 8
br label %38
38: ; preds = %27
%39 = load i32, ptr %9, align 4
%40 = add i32 %39, 1
store i32 %40, ptr %9, align 4
br label %23, !llvm.loop !6
41: ; preds = %23
store double 0.000000e+00, ptr %10, align 8
store double 1.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store double 1.000000e+00, ptr %13, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%43 = load double, ptr %10, align 8
%44 = load double, ptr %11, align 8
%45 = getelementptr inbounds double, ptr %19, i64 0
%46 = load double, ptr %45, align 16
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %43, double noundef %44, double noundef %46)
store i32 1, ptr %9, align 4
br label %48
48: ; preds = %86, %41
%49 = load i32, ptr %9, align 4
%50 = load i32, ptr %2, align 4
%51 = icmp ult i32 %49, %50
br i1 %51, label %52, label %89
52: ; preds = %48
%53 = load double, ptr %13, align 8
%54 = fmul double %53, 5.000000e-01
store double %54, ptr %13, align 8
br label %55
55: ; preds = %77, %52
br label %56
56: ; preds = %55
%57 = load double, ptr %11, align 8
%58 = load double, ptr %11, align 8
%59 = load double, ptr %13, align 8
%60 = call double @llvm.fmuladd.f64(double %58, double %59, double %57)
store double %60, ptr %12, align 8
%61 = load double, ptr %12, align 8
%62 = load double, ptr %4, align 8
%63 = fcmp ole double %61, %62
%64 = zext i1 %63 to i32
store i32 %64, ptr %14, align 4
%65 = load i32, ptr %9, align 4
%66 = load double, ptr %12, align 8
%67 = load double, ptr %10, align 8
%68 = load double, ptr %11, align 8
%69 = load i32, ptr %9, align 4
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %19, i64 %70
%72 = load double, ptr %71, align 8
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65, double noundef %66, double noundef %67, double noundef %68, double noundef %72)
%74 = load i32, ptr %14, align 4
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %56
br label %85
77: ; preds = %56
%78 = load i32, ptr %9, align 4
%79 = zext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %19, i64 %79
%81 = load double, ptr %80, align 8
%82 = load double, ptr %10, align 8
%83 = fadd double %82, %81
store double %83, ptr %10, align 8
%84 = load double, ptr %12, align 8
store double %84, ptr %11, align 8
br label %55
85: ; preds = %76
br label %86
86: ; preds = %85
%87 = load i32, ptr %9, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %9, align 4
br label %48, !llvm.loop !8
89: ; preds = %48
%90 = load double, ptr %4, align 8
%91 = load double, ptr %4, align 8
%92 = call double @log2f(double noundef %91)
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %90, double noundef %92)
store i32 0, ptr %1, align 4
%94 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %94)
%95 = load i32, ptr %1, align 4
ret i32 %95
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nounwind
declare double @log(double noundef) #1
declare i32 @printf(ptr noundef, ...) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
declare double @log2f(double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd8xhr5uf.c"
target datalayout = "e-m:e-p270: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 [58 x i8] c" n un tn en An\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"init - %12.8f %12.8f %12.8f\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"%4u %12.8f %12.8f %12.8f %12.8f\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"true:%12.8f %12.8f\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 double, align 8
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 12, ptr %2, align 4
store double 2.000000e+00, ptr %3, align 8
%15 = call double @sqrt(double noundef 2.000000e+00) #5
store double %15, ptr %4, align 8
%16 = load i32, ptr %2, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %5, align 8
%19 = alloca double, i64 %17, align 16
store i64 %17, ptr %6, align 8
%20 = load double, ptr %3, align 8
%21 = call double @log(double noundef %20) #5
%22 = fdiv double 1.000000e+00, %21
store double %22, ptr %7, align 8
store double 1.000000e+00, ptr %8, align 8
store i32 0, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp ult i32 %23, %24
br i1 %25, label %.lr.ph, label %43
.lr.ph: ; preds = %0
br label %26
26: ; preds = %.lr.ph, %37
%27 = load double, ptr %8, align 8
%28 = fadd double 1.000000e+00, %27
%29 = call double @log(double noundef %28) #5
%30 = load double, ptr %7, align 8
%31 = fmul double %29, %30
%32 = load i32, ptr %9, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %19, i64 %33
store double %31, ptr %34, align 8
%35 = load double, ptr %8, align 8
%36 = fmul double %35, 5.000000e-01
store double %36, ptr %8, align 8
br label %37
37: ; preds = %26
%38 = load i32, ptr %9, align 4
%39 = add i32 %38, 1
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp ult i32 %40, %41
br i1 %42, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %0
store double 0.000000e+00, ptr %10, align 8
store double 1.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store double 1.000000e+00, ptr %13, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%45 = load double, ptr %10, align 8
%46 = load double, ptr %11, align 8
%47 = getelementptr inbounds double, ptr %19, i64 0
%48 = load double, ptr %47, align 16
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %45, double noundef %46, double noundef %48)
store i32 1, ptr %9, align 4
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %2, align 4
%52 = icmp ult i32 %50, %51
br i1 %52, label %.lr.ph2, label %93
.lr.ph2: ; preds = %43
br label %53
53: ; preds = %.lr.ph2, %87
%54 = load double, ptr %13, align 8
%55 = fmul double %54, 5.000000e-01
store double %55, ptr %13, align 8
br label %56
56: ; preds = %78, %53
br label %57
57: ; preds = %56
%58 = load double, ptr %11, align 8
%59 = load double, ptr %11, align 8
%60 = load double, ptr %13, align 8
%61 = call double @llvm.fmuladd.f64(double %59, double %60, double %58)
store double %61, ptr %12, align 8
%62 = load double, ptr %12, align 8
%63 = load double, ptr %4, align 8
%64 = fcmp ole double %62, %63
%65 = zext i1 %64 to i32
store i32 %65, ptr %14, align 4
%66 = load i32, ptr %9, align 4
%67 = load double, ptr %12, align 8
%68 = load double, ptr %10, align 8
%69 = load double, ptr %11, align 8
%70 = load i32, ptr %9, align 4
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %19, i64 %71
%73 = load double, ptr %72, align 8
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66, double noundef %67, double noundef %68, double noundef %69, double noundef %73)
%75 = load i32, ptr %14, align 4
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %57
br label %86
78: ; preds = %57
%79 = load i32, ptr %9, align 4
%80 = zext i32 %79 to i64
%81 = getelementptr inbounds double, ptr %19, i64 %80
%82 = load double, ptr %81, align 8
%83 = load double, ptr %10, align 8
%84 = fadd double %83, %82
store double %84, ptr %10, align 8
%85 = load double, ptr %12, align 8
store double %85, ptr %11, align 8
br label %56
86: ; preds = %77
br label %87
87: ; preds = %86
%88 = load i32, ptr %9, align 4
%89 = add i32 %88, 1
store i32 %89, ptr %9, align 4
%90 = load i32, ptr %9, align 4
%91 = load i32, ptr %2, align 4
%92 = icmp ult i32 %90, %91
br i1 %92, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %87
br label %93
93: ; preds = %._crit_edge3, %43
%94 = load double, ptr %4, align 8
%95 = load double, ptr %4, align 8
%96 = call double @log2f(double noundef %95)
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %94, double noundef %96)
store i32 0, ptr %1, align 4
%98 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %98)
%99 = load i32, ptr %1, align 4
ret i32 %99
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nounwind
declare double @log(double noundef) #1
declare i32 @printf(ptr noundef, ...) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
declare double @log2f(double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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}
|
; ModuleID = '/tmp/tmpn_o9l8s5.c'
source_filename = "/tmp/tmpn_o9l8s5.c"
target datalayout = "e-m:e-p270: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 zeroext i16 @readShort() #0 {
%1 = alloca i16, align 2
%2 = call zeroext i16 (...) @readByte()
%3 = zext i16 %2 to i32
%4 = shl i32 %3, 8
%5 = trunc i32 %4 to i16
store i16 %5, ptr %1, align 2
%6 = call zeroext i16 (...) @readByte()
%7 = zext i16 %6 to i32
%8 = load i16, ptr %1, align 2
%9 = zext i16 %8 to i32
%10 = or i32 %9, %7
%11 = trunc i32 %10 to i16
store i16 %11, ptr %1, align 2
%12 = load i16, ptr %1, align 2
ret i16 %12
}
declare zeroext i16 @readByte(...) #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/tmpn_o9l8s5.c"
target datalayout = "e-m:e-p270: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 zeroext i16 @readShort() #0 {
%1 = alloca i16, align 2
%2 = call zeroext i16 (...) @readByte()
%3 = zext i16 %2 to i32
%4 = shl i32 %3, 8
%5 = trunc i32 %4 to i16
store i16 %5, ptr %1, align 2
%6 = call zeroext i16 (...) @readByte()
%7 = zext i16 %6 to i32
%8 = load i16, ptr %1, align 2
%9 = zext i16 %8 to i32
%10 = or i32 %9, %7
%11 = trunc i32 %10 to i16
store i16 %11, ptr %1, align 2
%12 = load i16, ptr %1, align 2
ret i16 %12
}
declare zeroext i16 @readByte(...) #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/tmp4edeg7nn.c'
source_filename = "/tmp/tmp4edeg7nn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGALRM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @manejaSenial(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 @sigemptyset(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr @SIGALRM, align 4
%7 = call i32 @sigaddset(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(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/tmp4edeg7nn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGALRM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @manejaSenial(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 @sigemptyset(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr @SIGALRM, align 4
%7 = call i32 @sigaddset(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(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/tmp27lig8bl.c'
source_filename = "/tmp/tmp27lig8bl.c"
target datalayout = "e-m:e-p270: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"my pid is %d\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 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
%8 = call i64 @malloc(i32 noundef 1024)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %7, align 8
%10 = call i32 (...) @getpid()
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %17, %2
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 60
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = call i32 @sleep(i32 noundef 60)
br label %17
17: ; preds = %15
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %12, !llvm.loop !6
20: ; preds = %12
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @sleep(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/tmp27lig8bl.c"
target datalayout = "e-m:e-p270: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"my pid is %d\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 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
%8 = call i64 @malloc(i32 noundef 1024)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %7, align 8
%10 = call i32 (...) @getpid()
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 60
br i1 %13, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %16
%15 = call i32 @sleep(i32 noundef 60)
br label %16
16: ; preds = %14
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 60
br i1 %20, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %2
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @sleep(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/tmpf26umm5p.c'
source_filename = "/tmp/tmpf26umm5p.c"
target datalayout = "e-m:e-p270: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/tmpf26umm5p.c"
target datalayout = "e-m:e-p270: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/tmp29rcs2fy.c'
source_filename = "/tmp/tmp29rcs2fy.c"
target datalayout = "e-m:e-p270: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"Sum of squares is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Square of sums is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Answer: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 25502500, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %4, align 4
%7 = icmp sle i32 %6, 100
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = mul nsw i32 %10, %11
%13 = add nsw i32 %9, %12
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %8
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load i32, ptr %3, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20)
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = sub nsw i32 %22, %23
%25 = call i32 @printf(ptr noundef @.str.2, i32 noundef %24)
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/tmp29rcs2fy.c"
target datalayout = "e-m:e-p270: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"Sum of squares is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Square of sums is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Answer: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 25502500, ptr %2, 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 sle i32 %5, 100
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 %9, %10
%12 = add nsw i32 %8, %11
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %7
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sle i32 %16, 100
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %3, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr %2, align 4
%22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21)
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = sub nsw i32 %23, %24
%26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25)
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/tmp_hm5r6zb.c'
source_filename = "/tmp/tmp_hm5r6zb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__listen(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 @ENOSYS, align 4
%6 = call i32 @__set_errno(i32 noundef %5)
ret i32 -1
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hm5r6zb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__listen(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 @ENOSYS, align 4
%6 = call i32 @__set_errno(i32 noundef %5)
ret i32 -1
}
declare i32 @__set_errno(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/tmpgwrosogy.c'
source_filename = "/tmp/tmpgwrosogy.c"
target datalayout = "e-m:e-p270: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"%i %i %i\09 %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test3(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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %52, %4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %55
16: ; preds = %12
store i32 0, ptr %10, align 4
br label %17
17: ; preds = %48, %16
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %51
21: ; preds = %17
store i32 0, ptr %11, align 4
br label %22
22: ; preds = %44, %21
%23 = load i32, ptr %11, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %47
26: ; preds = %22
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %11, align 4
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %27, i32 noundef %28, i32 noundef %29, double noundef %42)
br label %44
44: ; preds = %26
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %11, align 4
br label %22, !llvm.loop !6
47: ; preds = %22
br label %48
48: ; preds = %47
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
br label %17, !llvm.loop !8
51: ; preds = %17
br label %52
52: ; preds = %51
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
br label %12, !llvm.loop !9
55: ; preds = %12
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgwrosogy.c"
target datalayout = "e-m:e-p270: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"%i %i %i\09 %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test3(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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph5, label %61
.lr.ph5: ; preds = %4
br label %15
15: ; preds = %.lr.ph5, %55
store i32 0, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph2, label %54
.lr.ph2: ; preds = %15
br label %19
19: ; preds = %.lr.ph2, %48
store i32 0, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %47
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %41
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %11, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = call i32 @printf(ptr noundef @.str, i32 noundef %24, i32 noundef %25, i32 noundef %26, double noundef %39)
br label %41
41: ; preds = %23
%42 = load i32, ptr %11, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %11, align 4
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %19
br label %48
48: ; preds = %47
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %54
54: ; preds = %._crit_edge3, %15
br label %55
55: ; preds = %54
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %15, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %55
br label %61
61: ; preds = %._crit_edge6, %4
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpannfv4n0.c'
source_filename = "/tmp/tmpannfv4n0.c"
target datalayout = "e-m:e-p270: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/tmpannfv4n0.c"
target datalayout = "e-m:e-p270: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/tmpymo0wok0.c'
source_filename = "/tmp/tmpymo0wok0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d ms\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"%.8lf\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 double, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 100000000, ptr %3, align 4
store i32 0, ptr %4, align 4
store double 0.000000e+00, ptr %5, align 8
%7 = call i32 (...) @clock()
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %4, align 4
store i32 %8, ptr %6, align 4
br label %9
9: ; preds = %26, %0
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
%14 = load i32, ptr %6, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, double 4.000000e+00, double -4.000000e+00
%19 = load i32, ptr %6, align 4
%20 = mul nsw i32 2, %19
%21 = add nsw i32 %20, 1
%22 = sitofp i32 %21 to double
%23 = fdiv double %18, %22
%24 = load double, ptr %5, align 8
%25 = fadd double %24, %23
store double %25, ptr %5, align 8
br label %26
26: ; preds = %13
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
%30 = call i32 (...) @clock()
%31 = load i32, ptr %2, align 4
%32 = sub nsw i32 %30, %31
%33 = load i32, ptr @CLOCKS_PER_SEC, align 4
%34 = sdiv i32 %33, 1000
%35 = sdiv i32 %32, %34
%36 = sitofp i32 %35 to double
%37 = call i32 @printf(ptr noundef @.str, double noundef %36)
%38 = load double, ptr %5, align 8
%39 = call i32 @printf(ptr noundef @.str.1, double noundef %38)
ret i32 0
}
declare i32 @clock(...) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymo0wok0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d ms\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"%.8lf\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 double, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 100000000, ptr %3, align 4
store i32 0, ptr %4, align 4
store double 0.000000e+00, ptr %5, align 8
%7 = call i32 (...) @clock()
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %4, align 4
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %25
%13 = load i32, ptr %6, align 4
%14 = srem i32 %13, 2
%15 = icmp eq i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, double 4.000000e+00, double -4.000000e+00
%18 = load i32, ptr %6, align 4
%19 = mul nsw i32 2, %18
%20 = add nsw i32 %19, 1
%21 = sitofp i32 %20 to double
%22 = fdiv double %17, %21
%23 = load double, ptr %5, align 8
%24 = fadd double %23, %22
store double %24, ptr %5, align 8
br label %25
25: ; preds = %12
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %0
%32 = call i32 (...) @clock()
%33 = load i32, ptr %2, align 4
%34 = sub nsw i32 %32, %33
%35 = load i32, ptr @CLOCKS_PER_SEC, align 4
%36 = sdiv i32 %35, 1000
%37 = sdiv i32 %34, %36
%38 = sitofp i32 %37 to double
%39 = call i32 @printf(ptr noundef @.str, double noundef %38)
%40 = load double, ptr %5, align 8
%41 = call i32 @printf(ptr noundef @.str.1, double noundef %40)
ret i32 0
}
declare i32 @clock(...) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa6hlq8qm.c'
source_filename = "/tmp/tmpa6hlq8qm.c"
target datalayout = "e-m:e-p270: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 @timlib_round_int(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @round_int(double noundef %3)
ret i32 %4
}
declare i32 @round_int(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa6hlq8qm.c"
target datalayout = "e-m:e-p270: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 @timlib_round_int(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @round_int(double noundef %3)
ret i32 %4
}
declare i32 @round_int(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5lp7hdob.c'
source_filename = "/tmp/tmp5lp7hdob.c"
target datalayout = "e-m:e-p270: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"be\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"BE\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"le\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"LE\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"mulaw\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"MULAW\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"alaw\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"ALAW\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"ac3\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"AC3\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"mpeg2\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"MPEG2\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"iec61937\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"IEC61937\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c"imaadpcm\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"IMAADPCM\00", align 1
@.str.16 = private unnamed_addr constant [6 x i8] c"float\00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"FLOAT\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"unsigned\00", align 1
@.str.19 = private unnamed_addr constant [9 x i8] c"UNSIGNED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @af_str2fmt(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strstr(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i64 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strstr(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8, %1
%13 = load i32, ptr %4, align 4
%14 = or i32 %13, 0
store i32 %14, ptr %4, align 4
br label %30
15: ; preds = %8
%16 = load ptr, ptr %3, align 8
%17 = call i64 @strstr(ptr noundef %16, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strstr(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %19, %15
%24 = load i32, ptr %4, align 4
%25 = or i32 %24, 1
store i32 %25, ptr %4, align 4
br label %29
26: ; preds = %19
%27 = load i32, ptr %4, align 4
%28 = or i32 %27, 0
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %26, %23
br label %30
30: ; preds = %29, %12
%31 = load ptr, ptr %3, align 8
%32 = call i64 @strstr(ptr noundef %31, ptr noundef @.str.4)
%33 = icmp ne i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %30
%35 = load ptr, ptr %3, align 8
%36 = call i64 @strstr(ptr noundef %35, ptr noundef @.str.5)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %34, %30
%39 = load i32, ptr %4, align 4
%40 = or i32 %39, 64
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
store i32 %41, ptr %2, align 4
br label %133
42: ; preds = %34
%43 = load ptr, ptr %3, align 8
%44 = call i64 @strstr(ptr noundef %43, ptr noundef @.str.6)
%45 = icmp ne i64 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load ptr, ptr %3, align 8
%48 = call i64 @strstr(ptr noundef %47, ptr noundef @.str.7)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46, %42
%51 = load i32, ptr %4, align 4
%52 = or i32 %51, 128
store i32 %52, ptr %4, align 4
%53 = load i32, ptr %4, align 4
store i32 %53, ptr %2, align 4
br label %133
54: ; preds = %46
%55 = load ptr, ptr %3, align 8
%56 = call i64 @strstr(ptr noundef %55, ptr noundef @.str.8)
%57 = icmp ne i64 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %54
%59 = load ptr, ptr %3, align 8
%60 = call i64 @strstr(ptr noundef %59, ptr noundef @.str.9)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %58, %54
%63 = load i32, ptr %4, align 4
%64 = or i32 %63, 264
store i32 %64, ptr %4, align 4
%65 = load i32, ptr %4, align 4
store i32 %65, ptr %2, align 4
br label %133
66: ; preds = %58
%67 = load ptr, ptr %3, align 8
%68 = call i64 @strstr(ptr noundef %67, ptr noundef @.str.10)
%69 = icmp ne i64 %68, 0
br i1 %69, label %74, label %70
70: ; preds = %66
%71 = load ptr, ptr %3, align 8
%72 = call i64 @strstr(ptr noundef %71, ptr noundef @.str.11)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %70, %66
%75 = load i32, ptr %4, align 4
%76 = or i32 %75, 192
store i32 %76, ptr %4, align 4
%77 = load i32, ptr %4, align 4
store i32 %77, ptr %2, align 4
br label %133
78: ; preds = %70
%79 = load ptr, ptr %3, align 8
%80 = call i64 @strstr(ptr noundef %79, ptr noundef @.str.12)
%81 = icmp ne i64 %80, 0
br i1 %81, label %86, label %82
82: ; preds = %78
%83 = load ptr, ptr %3, align 8
%84 = call i64 @strstr(ptr noundef %83, ptr noundef @.str.13)
%85 = icmp ne i64 %84, 0
br i1 %85, label %86, label %90
86: ; preds = %82, %78
%87 = load i32, ptr %4, align 4
%88 = or i32 %87, 392
store i32 %88, ptr %4, align 4
%89 = load i32, ptr %4, align 4
store i32 %89, ptr %2, align 4
br label %133
90: ; preds = %82
%91 = load ptr, ptr %3, align 8
%92 = call i64 @strstr(ptr noundef %91, ptr noundef @.str.14)
%93 = icmp ne i64 %92, 0
br i1 %93, label %98, label %94
94: ; preds = %90
%95 = load ptr, ptr %3, align 8
%96 = call i64 @strstr(ptr noundef %95, ptr noundef @.str.15)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %102
98: ; preds = %94, %90
%99 = load i32, ptr %4, align 4
%100 = or i32 %99, 320
store i32 %100, ptr %4, align 4
%101 = load i32, ptr %4, align 4
store i32 %101, ptr %2, align 4
br label %133
102: ; preds = %94
%103 = load ptr, ptr %3, align 8
%104 = call i64 @strstr(ptr noundef %103, ptr noundef @.str.16)
%105 = icmp ne i64 %104, 0
br i1 %105, label %110, label %106
106: ; preds = %102
%107 = load ptr, ptr %3, align 8
%108 = call i64 @strstr(ptr noundef %107, ptr noundef @.str.17)
%109 = icmp ne i64 %108, 0
br i1 %109, label %110, label %114
110: ; preds = %106, %102
%111 = load i32, ptr %4, align 4
%112 = or i32 %111, 4
store i32 %112, ptr %4, align 4
%113 = load i32, ptr %4, align 4
store i32 %113, ptr %2, align 4
br label %133
114: ; preds = %106
%115 = load i32, ptr %4, align 4
%116 = or i32 %115, 0
store i32 %116, ptr %4, align 4
br label %117
117: ; preds = %114
%118 = load ptr, ptr %3, align 8
%119 = call i64 @strstr(ptr noundef %118, ptr noundef @.str.18)
%120 = icmp ne i64 %119, 0
br i1 %120, label %125, label %121
121: ; preds = %117
%122 = load ptr, ptr %3, align 8
%123 = call i64 @strstr(ptr noundef %122, ptr noundef @.str.19)
%124 = icmp ne i64 %123, 0
br i1 %124, label %125, label %128
125: ; preds = %121, %117
%126 = load i32, ptr %4, align 4
%127 = or i32 %126, 2
store i32 %127, ptr %4, align 4
br label %131
128: ; preds = %121
%129 = load i32, ptr %4, align 4
%130 = or i32 %129, 0
store i32 %130, ptr %4, align 4
br label %131
131: ; preds = %128, %125
%132 = load i32, ptr %4, align 4
store i32 %132, ptr %2, align 4
br label %133
133: ; preds = %131, %110, %98, %86, %74, %62, %50, %38
%134 = load i32, ptr %2, align 4
ret i32 %134
}
declare i64 @strstr(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/tmp5lp7hdob.c"
target datalayout = "e-m:e-p270: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"be\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"BE\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"le\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"LE\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"mulaw\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"MULAW\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"alaw\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"ALAW\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"ac3\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"AC3\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"mpeg2\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"MPEG2\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"iec61937\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"IEC61937\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c"imaadpcm\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"IMAADPCM\00", align 1
@.str.16 = private unnamed_addr constant [6 x i8] c"float\00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"FLOAT\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"unsigned\00", align 1
@.str.19 = private unnamed_addr constant [9 x i8] c"UNSIGNED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @af_str2fmt(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strstr(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne i64 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strstr(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8, %1
%13 = load i32, ptr %4, align 4
%14 = or i32 %13, 0
store i32 %14, ptr %4, align 4
br label %30
15: ; preds = %8
%16 = load ptr, ptr %3, align 8
%17 = call i64 @strstr(ptr noundef %16, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = call i64 @strstr(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %19, %15
%24 = load i32, ptr %4, align 4
%25 = or i32 %24, 1
store i32 %25, ptr %4, align 4
br label %29
26: ; preds = %19
%27 = load i32, ptr %4, align 4
%28 = or i32 %27, 0
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %26, %23
br label %30
30: ; preds = %29, %12
%31 = load ptr, ptr %3, align 8
%32 = call i64 @strstr(ptr noundef %31, ptr noundef @.str.4)
%33 = icmp ne i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %30
%35 = load ptr, ptr %3, align 8
%36 = call i64 @strstr(ptr noundef %35, ptr noundef @.str.5)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %34, %30
%39 = load i32, ptr %4, align 4
%40 = or i32 %39, 64
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
store i32 %41, ptr %2, align 4
br label %133
42: ; preds = %34
%43 = load ptr, ptr %3, align 8
%44 = call i64 @strstr(ptr noundef %43, ptr noundef @.str.6)
%45 = icmp ne i64 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load ptr, ptr %3, align 8
%48 = call i64 @strstr(ptr noundef %47, ptr noundef @.str.7)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46, %42
%51 = load i32, ptr %4, align 4
%52 = or i32 %51, 128
store i32 %52, ptr %4, align 4
%53 = load i32, ptr %4, align 4
store i32 %53, ptr %2, align 4
br label %133
54: ; preds = %46
%55 = load ptr, ptr %3, align 8
%56 = call i64 @strstr(ptr noundef %55, ptr noundef @.str.8)
%57 = icmp ne i64 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %54
%59 = load ptr, ptr %3, align 8
%60 = call i64 @strstr(ptr noundef %59, ptr noundef @.str.9)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %58, %54
%63 = load i32, ptr %4, align 4
%64 = or i32 %63, 264
store i32 %64, ptr %4, align 4
%65 = load i32, ptr %4, align 4
store i32 %65, ptr %2, align 4
br label %133
66: ; preds = %58
%67 = load ptr, ptr %3, align 8
%68 = call i64 @strstr(ptr noundef %67, ptr noundef @.str.10)
%69 = icmp ne i64 %68, 0
br i1 %69, label %74, label %70
70: ; preds = %66
%71 = load ptr, ptr %3, align 8
%72 = call i64 @strstr(ptr noundef %71, ptr noundef @.str.11)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %70, %66
%75 = load i32, ptr %4, align 4
%76 = or i32 %75, 192
store i32 %76, ptr %4, align 4
%77 = load i32, ptr %4, align 4
store i32 %77, ptr %2, align 4
br label %133
78: ; preds = %70
%79 = load ptr, ptr %3, align 8
%80 = call i64 @strstr(ptr noundef %79, ptr noundef @.str.12)
%81 = icmp ne i64 %80, 0
br i1 %81, label %86, label %82
82: ; preds = %78
%83 = load ptr, ptr %3, align 8
%84 = call i64 @strstr(ptr noundef %83, ptr noundef @.str.13)
%85 = icmp ne i64 %84, 0
br i1 %85, label %86, label %90
86: ; preds = %82, %78
%87 = load i32, ptr %4, align 4
%88 = or i32 %87, 392
store i32 %88, ptr %4, align 4
%89 = load i32, ptr %4, align 4
store i32 %89, ptr %2, align 4
br label %133
90: ; preds = %82
%91 = load ptr, ptr %3, align 8
%92 = call i64 @strstr(ptr noundef %91, ptr noundef @.str.14)
%93 = icmp ne i64 %92, 0
br i1 %93, label %98, label %94
94: ; preds = %90
%95 = load ptr, ptr %3, align 8
%96 = call i64 @strstr(ptr noundef %95, ptr noundef @.str.15)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %102
98: ; preds = %94, %90
%99 = load i32, ptr %4, align 4
%100 = or i32 %99, 320
store i32 %100, ptr %4, align 4
%101 = load i32, ptr %4, align 4
store i32 %101, ptr %2, align 4
br label %133
102: ; preds = %94
%103 = load ptr, ptr %3, align 8
%104 = call i64 @strstr(ptr noundef %103, ptr noundef @.str.16)
%105 = icmp ne i64 %104, 0
br i1 %105, label %110, label %106
106: ; preds = %102
%107 = load ptr, ptr %3, align 8
%108 = call i64 @strstr(ptr noundef %107, ptr noundef @.str.17)
%109 = icmp ne i64 %108, 0
br i1 %109, label %110, label %114
110: ; preds = %106, %102
%111 = load i32, ptr %4, align 4
%112 = or i32 %111, 4
store i32 %112, ptr %4, align 4
%113 = load i32, ptr %4, align 4
store i32 %113, ptr %2, align 4
br label %133
114: ; preds = %106
%115 = load i32, ptr %4, align 4
%116 = or i32 %115, 0
store i32 %116, ptr %4, align 4
br label %117
117: ; preds = %114
%118 = load ptr, ptr %3, align 8
%119 = call i64 @strstr(ptr noundef %118, ptr noundef @.str.18)
%120 = icmp ne i64 %119, 0
br i1 %120, label %125, label %121
121: ; preds = %117
%122 = load ptr, ptr %3, align 8
%123 = call i64 @strstr(ptr noundef %122, ptr noundef @.str.19)
%124 = icmp ne i64 %123, 0
br i1 %124, label %125, label %128
125: ; preds = %121, %117
%126 = load i32, ptr %4, align 4
%127 = or i32 %126, 2
store i32 %127, ptr %4, align 4
br label %131
128: ; preds = %121
%129 = load i32, ptr %4, align 4
%130 = or i32 %129, 0
store i32 %130, ptr %4, align 4
br label %131
131: ; preds = %128, %125
%132 = load i32, ptr %4, align 4
store i32 %132, ptr %2, align 4
br label %133
133: ; preds = %131, %110, %98, %86, %74, %62, %50, %38
%134 = load i32, ptr %2, align 4
ret i32 %134
}
declare i64 @strstr(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/tmpzb05n6yt.c'
source_filename = "/tmp/tmpzb05n6yt.c"
target datalayout = "e-m:e-p270: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 @immedlit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @immed()
%4 = load i32, ptr %2, align 4
%5 = call i32 @queuelabel(i32 noundef %4)
%6 = call i32 @outbyte(i8 noundef signext 43)
ret void
}
declare i32 @immed(...) #1
declare i32 @queuelabel(i32 noundef) #1
declare i32 @outbyte(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzb05n6yt.c"
target datalayout = "e-m:e-p270: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 @immedlit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @immed()
%4 = load i32, ptr %2, align 4
%5 = call i32 @queuelabel(i32 noundef %4)
%6 = call i32 @outbyte(i8 noundef signext 43)
ret void
}
declare i32 @immed(...) #1
declare i32 @queuelabel(i32 noundef) #1
declare i32 @outbyte(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8mcbs12o.c'
source_filename = "/tmp/tmp8mcbs12o.c"
target datalayout = "e-m:e-p270: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/tmp8mcbs12o.c"
target datalayout = "e-m:e-p270: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/tmp47mdi5vv.c'
source_filename = "/tmp/tmp47mdi5vv.c"
target datalayout = "e-m:e-p270: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.firstName = private unnamed_addr constant [20 x i8] c"John \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.firstName2 = private unnamed_addr constant [20 x i8] c"John \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [4 x i8] c"Doe\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca [20 x i8], align 16
%4 = alloca ptr, align 8
%5 = 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.firstName, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.firstName2, i64 20, i1 false)
store ptr @.str, ptr %4, align 8
store ptr @.str, ptr %5, align 8
%6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strcat(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9)
%11 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strncat(ptr noundef %11, ptr noundef %12, i32 noundef 1)
%14 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14)
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 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @strncat(ptr noundef, 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp47mdi5vv.c"
target datalayout = "e-m:e-p270: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.firstName = private unnamed_addr constant [20 x i8] c"John \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.firstName2 = private unnamed_addr constant [20 x i8] c"John \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [4 x i8] c"Doe\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca [20 x i8], align 16
%4 = alloca ptr, align 8
%5 = 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.firstName, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.firstName2, i64 20, i1 false)
store ptr @.str, ptr %4, align 8
store ptr @.str, ptr %5, align 8
%6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strcat(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9)
%11 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strncat(ptr noundef %11, ptr noundef %12, i32 noundef 1)
%14 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14)
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 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @strncat(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpce93ydnp.c'
source_filename = "/tmp/tmpce93ydnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c" {\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" }\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" }, {\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_uint8_2d_array(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 ptr, align 8
%8 = 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
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %31, %3
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %34
15: ; preds = %11
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %6, align 4
%19 = mul nsw i32 %17, %18
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %16, i64 %20
%22 = load i32, ptr %6, align 4
%23 = call i32 @write_uint8_array(ptr noundef %21, i32 noundef %22, i32 noundef 0)
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %5, align 4
%26 = sub nsw i32 %25, 1
%27 = icmp eq i32 %24, %26
%28 = zext i1 %27 to i64
%29 = select i1 %27, ptr @.str.1, ptr @.str.2
%30 = call i32 @printf(ptr noundef %29)
br label %31
31: ; preds = %15
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
br label %11, !llvm.loop !6
34: ; preds = %11
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @write_uint8_array(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpce93ydnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c" {\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" }\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" }, {\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_uint8_2d_array(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 ptr, align 8
%8 = 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
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %36
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %30
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %15, i64 %19
%21 = load i32, ptr %6, align 4
%22 = call i32 @write_uint8_array(ptr noundef %20, i32 noundef %21, i32 noundef 0)
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 1
%26 = icmp eq i32 %23, %25
%27 = zext i1 %26 to i64
%28 = select i1 %26, ptr @.str.1, ptr @.str.2
%29 = call i32 @printf(ptr noundef %28)
br label %30
30: ; preds = %14
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %3
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @write_uint8_array(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbvf3duvc.c'
source_filename = "/tmp/tmpbvf3duvc.c"
target datalayout = "e-m:e-p270: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(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 i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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 0, ptr %6, align 4
store i64 20000000, ptr %7, align 8
%11 = load i64, ptr %7, align 8
%12 = mul i64 8, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = mul i64 8, %15
%17 = trunc i64 %16 to i32
%18 = call ptr @malloc(i32 noundef %17)
store ptr %18, ptr %9, align 8
%19 = load i64, ptr %7, align 8
%20 = mul i64 8, %19
%21 = trunc i64 %20 to i32
%22 = call ptr @malloc(i32 noundef %21)
store ptr %22, ptr %10, align 8
store i32 0, ptr %6, align 4
br label %23
23: ; preds = %44, %2
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = load i64, ptr %7, align 8
%27 = icmp slt i64 %25, %26
br i1 %27, label %28, label %47
28: ; preds = %23
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i64, ptr %29, i64 %31
%33 = load i64, ptr %32, align 8
%34 = load ptr, ptr %10, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i64, ptr %34, i64 %36
%38 = load i64, ptr %37, align 8
%39 = add nsw i64 %33, %38
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i64, ptr %40, i64 %42
store i64 %39, ptr %43, align 8
br label %44
44: ; preds = %28
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %23, !llvm.loop !6
47: ; preds = %23
%48 = load ptr, ptr %8, align 8
%49 = call i32 @free(ptr noundef %48)
%50 = load ptr, ptr %9, align 8
%51 = call i32 @free(ptr noundef %50)
%52 = load ptr, ptr %10, align 8
%53 = call i32 @free(ptr noundef %52)
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare ptr @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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbvf3duvc.c"
target datalayout = "e-m:e-p270: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(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 i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = 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 0, ptr %6, align 4
store i64 20000000, ptr %7, align 8
%11 = load i64, ptr %7, align 8
%12 = mul i64 8, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = mul i64 8, %15
%17 = trunc i64 %16 to i32
%18 = call ptr @malloc(i32 noundef %17)
store ptr %18, ptr %9, align 8
%19 = load i64, ptr %7, align 8
%20 = mul i64 8, %19
%21 = trunc i64 %20 to i32
%22 = call ptr @malloc(i32 noundef %21)
store ptr %22, ptr %10, align 8
store i32 0, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = load i64, ptr %7, align 8
%26 = icmp slt i64 %24, %25
br i1 %26, label %.lr.ph, label %50
.lr.ph: ; preds = %2
br label %27
27: ; preds = %.lr.ph, %43
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i64, ptr %28, i64 %30
%32 = load i64, ptr %31, align 8
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i64, ptr %33, i64 %35
%37 = load i64, ptr %36, align 8
%38 = add nsw i64 %32, %37
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i64, ptr %39, i64 %41
store i64 %38, ptr %42, align 8
br label %43
43: ; preds = %27
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = load i64, ptr %7, align 8
%49 = icmp slt i64 %47, %48
br i1 %49, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %50
50: ; preds = %._crit_edge, %2
%51 = load ptr, ptr %8, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load ptr, ptr %9, align 8
%54 = call i32 @free(ptr noundef %53)
%55 = load ptr, ptr %10, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare ptr @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"}
|
; ModuleID = '/tmp/tmpjlcffljn.c'
source_filename = "/tmp/tmpjlcffljn.c"
target datalayout = "e-m:e-p270: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 @girar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
switch i32 %4, label %13 [
i32 69, label %5
i32 68, label %9
]
5: ; preds = %1
%6 = call i32 @motorDireito(i32 noundef 0)
%7 = call i32 @motorEsquerdo(i32 noundef 1)
%8 = call i32 @delay(i32 noundef 0)
br label %13
9: ; preds = %1
%10 = call i32 @motorDireito(i32 noundef 1)
%11 = call i32 @motorEsquerdo(i32 noundef 0)
%12 = call i32 @delay(i32 noundef 0)
br label %13
13: ; preds = %1, %9, %5
ret void
}
declare i32 @motorDireito(i32 noundef) #1
declare i32 @motorEsquerdo(i32 noundef) #1
declare i32 @delay(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/tmpjlcffljn.c"
target datalayout = "e-m:e-p270: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 @girar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
switch i32 %4, label %13 [
i32 69, label %5
i32 68, label %9
]
5: ; preds = %1
%6 = call i32 @motorDireito(i32 noundef 0)
%7 = call i32 @motorEsquerdo(i32 noundef 1)
%8 = call i32 @delay(i32 noundef 0)
br label %13
9: ; preds = %1
%10 = call i32 @motorDireito(i32 noundef 1)
%11 = call i32 @motorEsquerdo(i32 noundef 0)
%12 = call i32 @delay(i32 noundef 0)
br label %13
13: ; preds = %9, %5, %1
ret void
}
declare i32 @motorDireito(i32 noundef) #1
declare i32 @motorEsquerdo(i32 noundef) #1
declare i32 @delay(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/tmp8rjuye_z.c'
source_filename = "/tmp/tmp8rjuye_z.c"
target datalayout = "e-m:e-p270: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/tmp8rjuye_z.c"
target datalayout = "e-m:e-p270: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/tmpipqoc9gt.c'
source_filename = "/tmp/tmpipqoc9gt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %5, align 4
store i32 65, ptr %6, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
store i32 %8, ptr %4, align 4
br label %9
9: ; preds = %38, %0
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %42
12: ; preds = %9
%13 = load i32, ptr %4, align 4
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %18, %12
%15 = load i32, ptr %3, align 4
%16 = icmp sge i32 %15, 1
br i1 %16, label %17, label %24
17: ; preds = %14
br label %18
18: ; preds = %17
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
br label %14, !llvm.loop !6
24: ; preds = %14
%25 = load i32, ptr %2, align 4
store i32 %25, ptr %3, align 4
br label %26
26: ; preds = %31, %24
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp sge i32 %27, %28
br i1 %29, label %30, label %37
30: ; preds = %26
br label %31
31: ; preds = %30
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
br label %26, !llvm.loop !8
37: ; preds = %26
br label %38
38: ; preds = %37
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %4, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %9, !llvm.loop !9
42: ; preds = %9
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpipqoc9gt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %5, align 4
store i32 65, ptr %6, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %.lr.ph5, label %46
.lr.ph5: ; preds = %0
br label %11
11: ; preds = %.lr.ph5, %40
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sge i32 %13, 1
br i1 %14, label %.lr.ph, label %24
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %16
br label %16
16: ; preds = %15
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
%22 = load i32, ptr %3, align 4
%23 = icmp sge i32 %22, 1
br i1 %23, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %11
%25 = load i32, ptr %2, align 4
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %.lr.ph2, label %39
.lr.ph2: ; preds = %24
br label %29
29: ; preds = %.lr.ph2, %30
br label %30
30: ; preds = %29
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp sge i32 %36, %37
br i1 %38, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %39
39: ; preds = %._crit_edge3, %24
br label %40
40: ; preds = %39
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %4, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%44 = load i32, ptr %4, align 4
%45 = icmp sgt i32 %44, 0
br i1 %45, label %11, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %40
br label %46
46: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpk_deg4d1.c'
source_filename = "/tmp/tmpk_deg4d1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@timestr_full.buf = internal global [32 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [19 x i8] c"%3dd %2d:%02d:%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @timestr_full(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = sdiv i64 %7, 86400
%9 = trunc i64 %8 to i32
store i32 %9, ptr %3, align 4
%10 = load i64, ptr %2, align 8
%11 = srem i64 %10, 86400
store i64 %11, ptr %2, align 8
%12 = load i64, ptr %2, align 8
%13 = sdiv i64 %12, 3600
%14 = trunc i64 %13 to i32
store i32 %14, ptr %4, align 4
%15 = load i64, ptr %2, align 8
%16 = srem i64 %15, 3600
store i64 %16, ptr %2, align 8
%17 = load i64, ptr %2, align 8
%18 = sdiv i64 %17, 60
%19 = trunc i64 %18 to i32
store i32 %19, ptr %5, align 4
%20 = load i64, ptr %2, align 8
%21 = srem i64 %20, 60
%22 = trunc i64 %21 to i32
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @snprintf(ptr noundef @timestr_full.buf, i32 noundef 32, ptr noundef @.str, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26)
ret ptr @timestr_full.buf
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr 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/tmpk_deg4d1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@timestr_full.buf = internal global [32 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [19 x i8] c"%3dd %2d:%02d:%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @timestr_full(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = sdiv i64 %7, 86400
%9 = trunc i64 %8 to i32
store i32 %9, ptr %3, align 4
%10 = load i64, ptr %2, align 8
%11 = srem i64 %10, 86400
store i64 %11, ptr %2, align 8
%12 = load i64, ptr %2, align 8
%13 = sdiv i64 %12, 3600
%14 = trunc i64 %13 to i32
store i32 %14, ptr %4, align 4
%15 = load i64, ptr %2, align 8
%16 = srem i64 %15, 3600
store i64 %16, ptr %2, align 8
%17 = load i64, ptr %2, align 8
%18 = sdiv i64 %17, 60
%19 = trunc i64 %18 to i32
store i32 %19, ptr %5, align 4
%20 = load i64, ptr %2, align 8
%21 = srem i64 %20, 60
%22 = trunc i64 %21 to i32
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @snprintf(ptr noundef @timestr_full.buf, i32 noundef 32, ptr noundef @.str, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26)
ret ptr @timestr_full.buf
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr 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/tmpbf06fo7q.c'
source_filename = "/tmp/tmpbf06fo7q.c"
target datalayout = "e-m:e-p270: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 @BGBMID_ScaleSampleStereo(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i16, ptr %9, i64 0
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = getelementptr inbounds i16, ptr %12, i64 0
%14 = load i32, ptr %8, align 4
%15 = call i32 @BGBMID_ScaleSample2H(ptr noundef %10, i32 noundef %11, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i16, ptr %16, i64 1
%18 = load i32, ptr %6, align 4
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i16, ptr %19, i64 1
%21 = load i32, ptr %8, align 4
%22 = call i32 @BGBMID_ScaleSample2H(ptr noundef %17, i32 noundef %18, ptr noundef %20, i32 noundef %21)
ret i32 0
}
declare i32 @BGBMID_ScaleSample2H(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbf06fo7q.c"
target datalayout = "e-m:e-p270: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 @BGBMID_ScaleSampleStereo(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i16, ptr %9, i64 0
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = getelementptr inbounds i16, ptr %12, i64 0
%14 = load i32, ptr %8, align 4
%15 = call i32 @BGBMID_ScaleSample2H(ptr noundef %10, i32 noundef %11, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i16, ptr %16, i64 1
%18 = load i32, ptr %6, align 4
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i16, ptr %19, i64 1
%21 = load i32, ptr %8, align 4
%22 = call i32 @BGBMID_ScaleSample2H(ptr noundef %17, i32 noundef %18, ptr noundef %20, i32 noundef %21)
ret i32 0
}
declare i32 @BGBMID_ScaleSample2H(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp49vf97dr.c'
source_filename = "/tmp/tmp49vf97dr.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"B\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"D\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"E\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"ERROR\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
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = sdiv i32 %4, 10
switch i32 %5, label %16 [
i32 10, label %6
i32 9, label %6
i32 8, label %8
i32 7, label %10
i32 6, label %12
i32 5, label %14
i32 4, label %14
i32 3, label %14
i32 2, label %14
i32 1, label %14
i32 0, label %14
]
6: ; preds = %0, %0
%7 = call i32 @printf(ptr noundef @.str.1)
br label %18
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.2)
br label %18
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.3)
br label %18
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.4)
br label %18
14: ; preds = %0, %0, %0, %0, %0, %0
%15 = call i32 @printf(ptr noundef @.str.5)
br label %18
16: ; preds = %0
%17 = call i32 @printf(ptr noundef @.str.6)
br label %18
18: ; preds = %16, %14, %12, %10, %8, %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/tmp49vf97dr.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"B\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"D\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"E\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"ERROR\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
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = sdiv i32 %4, 10
switch i32 %5, label %16 [
i32 10, label %6
i32 9, label %6
i32 8, label %8
i32 7, label %10
i32 6, label %12
i32 5, label %14
i32 4, label %14
i32 3, label %14
i32 2, label %14
i32 1, label %14
i32 0, label %14
]
6: ; preds = %0, %0
%7 = call i32 @printf(ptr noundef @.str.1)
br label %18
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.2)
br label %18
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.3)
br label %18
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.4)
br label %18
14: ; preds = %0, %0, %0, %0, %0, %0
%15 = call i32 @printf(ptr noundef @.str.5)
br label %18
16: ; preds = %0
%17 = call i32 @printf(ptr noundef @.str.6)
br label %18
18: ; preds = %16, %14, %12, %10, %8, %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/tmp2bs84ckc.c'
source_filename = "/tmp/tmp2bs84ckc.c"
target datalayout = "e-m:e-p270: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/tmp2bs84ckc.c"
target datalayout = "e-m:e-p270: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/tmp_ezao61c.c'
source_filename = "/tmp/tmp_ezao61c.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"What is the value of a: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"What is the value of b: \00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"What is the value of c: \00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"What is the value of d: \00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"What is the value of e: \00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c" The average is: %f\0A\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
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%18 = load float, ptr %2, align 4
%19 = load float, ptr %3, align 4
%20 = fadd float %18, %19
%21 = load float, ptr %4, align 4
%22 = fadd float %20, %21
%23 = load float, ptr %5, align 4
%24 = fadd float %22, %23
%25 = load float, ptr %6, align 4
%26 = fadd float %24, %25
%27 = fdiv float %26, 5.000000e+00
store float %27, ptr %7, align 4
%28 = load float, ptr %7, align 4
%29 = fpext float %28 to double
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %29)
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ezao61c.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"What is the value of a: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"What is the value of b: \00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"What is the value of c: \00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"What is the value of d: \00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"What is the value of e: \00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c" The average is: %f\0A\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
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%18 = load float, ptr %2, align 4
%19 = load float, ptr %3, align 4
%20 = fadd float %18, %19
%21 = load float, ptr %4, align 4
%22 = fadd float %20, %21
%23 = load float, ptr %5, align 4
%24 = fadd float %22, %23
%25 = load float, ptr %6, align 4
%26 = fadd float %24, %25
%27 = fdiv float %26, 5.000000e+00
store float %27, ptr %7, align 4
%28 = load float, ptr %7, align 4
%29 = fpext float %28 to double
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %29)
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"}
|
; ModuleID = '/tmp/tmpgg0r1uco.c'
source_filename = "/tmp/tmpgg0r1uco.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Hello word from Hamad!\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"i learnd that 2+2=%d,!\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"The grade am working for is %c!\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"The temperature outside is barely %f!\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 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 65)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 3.200000e+01)
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/tmpgg0r1uco.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Hello word from Hamad!\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"i learnd that 2+2=%d,!\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"The grade am working for is %c!\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"The temperature outside is barely %f!\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 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 65)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 3.200000e+01)
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/tmp2jhwtp0k.c'
source_filename = "/tmp/tmp2jhwtp0k.c"
target datalayout = "e-m:e-p270: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 @powercap_rapl_get_num_packages() #0 {
%1 = call i32 (...) @powercap_rapl_get_num_instances()
ret i32 %1
}
declare i32 @powercap_rapl_get_num_instances(...) #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/tmp2jhwtp0k.c"
target datalayout = "e-m:e-p270: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 @powercap_rapl_get_num_packages() #0 {
%1 = call i32 (...) @powercap_rapl_get_num_instances()
ret i32 %1
}
declare i32 @powercap_rapl_get_num_instances(...) #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/tmp6rfs3a85.c'
source_filename = "/tmp/tmp6rfs3a85.c"
target datalayout = "e-m:e-p270: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 @window_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6rfs3a85.c"
target datalayout = "e-m:e-p270: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 @window_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpghikulb7.c'
source_filename = "/tmp/tmpghikulb7.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call ptr @createArray(i32 noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %2, align 4
%9 = call i32 @fillArray(ptr noundef %7, i32 noundef %8, i32 noundef 0, i32 noundef 2)
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = call i32 @printArray(ptr noundef %10, i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %2, align 4
%15 = call i32 @sort(ptr noundef %13, i32 noundef %14)
%16 = call i32 @printf(ptr noundef @.str.1)
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %2, align 4
%19 = call i32 @printArray(ptr noundef %17, i32 noundef %18)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @createArray(i32 noundef) #1
declare i32 @fillArray(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef) #1
declare i32 @sort(ptr noundef, i32 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/tmpghikulb7.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call ptr @createArray(i32 noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %2, align 4
%9 = call i32 @fillArray(ptr noundef %7, i32 noundef %8, i32 noundef 0, i32 noundef 2)
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = call i32 @printArray(ptr noundef %10, i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %2, align 4
%15 = call i32 @sort(ptr noundef %13, i32 noundef %14)
%16 = call i32 @printf(ptr noundef @.str.1)
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %2, align 4
%19 = call i32 @printArray(ptr noundef %17, i32 noundef %18)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @createArray(i32 noundef) #1
declare i32 @fillArray(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef) #1
declare i32 @sort(ptr noundef, i32 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/tmpwjxxc594.c'
source_filename = "/tmp/tmpwjxxc594.c"
target datalayout = "e-m:e-p270: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/tmpwjxxc594.c"
target datalayout = "e-m:e-p270: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/tmphaj3vifw.c'
source_filename = "/tmp/tmphaj3vifw.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @hanoi(i32 noundef %3, i8 noundef signext 65, i8 noundef signext 66, i8 noundef signext 67)
ret i32 0
}
declare i32 @hanoi(i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphaj3vifw.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @hanoi(i32 noundef %3, i8 noundef signext 65, i8 noundef signext 66, i8 noundef signext 67)
ret i32 0
}
declare i32 @hanoi(i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpch7yiq_l.c'
source_filename = "/tmp/tmpch7yiq_l.c"
target datalayout = "e-m:e-p270: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"%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printbinary(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %16, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 8
br i1 %6, label %7, label %19
7: ; preds = %4
%8 = load i8, ptr %2, align 1
%9 = zext i8 %8 to i32
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 7, %10
%12 = ashr i32 %9, %11
%13 = and i32 %12, 1
%14 = trunc i32 %13 to i8
%15 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %14)
br label %16
16: ; preds = %7
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %4, !llvm.loop !6
19: ; preds = %4
ret void
}
declare i32 @printf(ptr 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpch7yiq_l.c"
target datalayout = "e-m:e-p270: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"%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printbinary(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 8
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %15
%7 = load i8, ptr %2, align 1
%8 = zext i8 %7 to i32
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 7, %9
%11 = ashr i32 %8, %10
%12 = and i32 %11, 1
%13 = trunc i32 %12 to i8
%14 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %13)
br label %15
15: ; preds = %6
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 8
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr 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"}
|
; ModuleID = '/tmp/tmpfhv8jh0i.c'
source_filename = "/tmp/tmpfhv8jh0i.c"
target datalayout = "e-m:e-p270: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 }
@O_RDWR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"Failed to open console in container\00", align 1
@TIOCSCTTY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"tcgetattr\00", align 1
@IGNBRK = dso_local global i32 0, align 4
@IUTF8 = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setconsole(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca %struct.termios, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 (...) @setsid()
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @die(i32 noundef 0, ptr noundef @.str)
br label %12
12: ; preds = %10, %1
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr @TIOCSCTTY, align 4
%15 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, ptr noundef null)
%16 = load i32, ptr %3, align 4
%17 = call i64 @tcgetattr(i32 noundef %16, ptr noundef %4)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %12
%20 = load i32, ptr @errno, align 4
%21 = call i32 @die(i32 noundef %20, ptr noundef @.str.1)
br label %22
22: ; preds = %19, %12
%23 = load i32, ptr @IGNBRK, align 4
%24 = load i32, ptr @IUTF8, align 4
%25 = or i32 %23, %24
%26 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = or i32 %27, %25
store i32 %28, ptr %26, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr @TCSANOW, align 4
%31 = call i32 @tcsetattr(i32 noundef %29, i32 noundef %30, ptr noundef %4)
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr @STDIN_FILENO, align 4
%34 = call i32 @dup2(i32 noundef %32, i32 noundef %33)
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr @STDOUT_FILENO, align 4
%37 = call i32 @dup2(i32 noundef %35, i32 noundef %36)
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr @STDERR_FILENO, align 4
%40 = call i32 @dup2(i32 noundef %38, i32 noundef %39)
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr @STDIN_FILENO, align 4
%43 = icmp ne i32 %41, %42
br i1 %43, label %44, label %57
44: ; preds = %22
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr @STDOUT_FILENO, align 4
%47 = icmp ne i32 %45, %46
br i1 %47, label %48, label %56
48: ; preds = %44
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr @STDERR_FILENO, align 4
%51 = icmp ne i32 %49, %50
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = load i32, ptr %3, align 4
%54 = call i32 @close(i32 noundef %53)
br label %55
55: ; preds = %52, %48
br label %56
56: ; preds = %55, %44
br label %57
57: ; preds = %56, %22
ret void
}
declare i32 @setsid(...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @die(i32 noundef, ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(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/tmpfhv8jh0i.c"
target datalayout = "e-m:e-p270: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 }
@O_RDWR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"Failed to open console in container\00", align 1
@TIOCSCTTY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"tcgetattr\00", align 1
@IGNBRK = dso_local global i32 0, align 4
@IUTF8 = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setconsole(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca %struct.termios, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 (...) @setsid()
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @die(i32 noundef 0, ptr noundef @.str)
br label %12
12: ; preds = %10, %1
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr @TIOCSCTTY, align 4
%15 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, ptr noundef null)
%16 = load i32, ptr %3, align 4
%17 = call i64 @tcgetattr(i32 noundef %16, ptr noundef %4)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %12
%20 = load i32, ptr @errno, align 4
%21 = call i32 @die(i32 noundef %20, ptr noundef @.str.1)
br label %22
22: ; preds = %19, %12
%23 = load i32, ptr @IGNBRK, align 4
%24 = load i32, ptr @IUTF8, align 4
%25 = or i32 %23, %24
%26 = getelementptr inbounds %struct.termios, ptr %4, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = or i32 %27, %25
store i32 %28, ptr %26, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr @TCSANOW, align 4
%31 = call i32 @tcsetattr(i32 noundef %29, i32 noundef %30, ptr noundef %4)
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr @STDIN_FILENO, align 4
%34 = call i32 @dup2(i32 noundef %32, i32 noundef %33)
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr @STDOUT_FILENO, align 4
%37 = call i32 @dup2(i32 noundef %35, i32 noundef %36)
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr @STDERR_FILENO, align 4
%40 = call i32 @dup2(i32 noundef %38, i32 noundef %39)
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr @STDIN_FILENO, align 4
%43 = icmp ne i32 %41, %42
br i1 %43, label %44, label %57
44: ; preds = %22
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr @STDOUT_FILENO, align 4
%47 = icmp ne i32 %45, %46
br i1 %47, label %48, label %56
48: ; preds = %44
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr @STDERR_FILENO, align 4
%51 = icmp ne i32 %49, %50
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = load i32, ptr %3, align 4
%54 = call i32 @close(i32 noundef %53)
br label %55
55: ; preds = %52, %48
br label %56
56: ; preds = %55, %44
br label %57
57: ; preds = %56, %22
ret void
}
declare i32 @setsid(...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @die(i32 noundef, ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(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/tmps_9t5_6o.c'
source_filename = "/tmp/tmps_9t5_6o.c"
target datalayout = "e-m:e-p270: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/tmps_9t5_6o.c"
target datalayout = "e-m:e-p270: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/tmpnbrb3mzp.c'
source_filename = "/tmp/tmpnbrb3mzp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c" %19.16f\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %19g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @doubleout_file(ptr noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %3
br label %26
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %26
13: ; preds = %10
%14 = load double, ptr %5, align 8
%15 = call double @llvm.fabs.f64(double %14)
%16 = fcmp olt double %15, 1.000000e+02
br i1 %16, label %17, label %21
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load double, ptr %5, align 8
%20 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str, double noundef %19)
br label %25
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = load double, ptr %5, align 8
%24 = call i32 @fprintf(ptr noundef %22, ptr noundef @.str.1, double noundef %23)
br label %25
25: ; preds = %21, %17
br label %26
26: ; preds = %9, %25, %10
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnbrb3mzp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c" %19.16f\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %19g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @doubleout_file(ptr noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %3
br label %26
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %26
13: ; preds = %10
%14 = load double, ptr %5, align 8
%15 = call double @llvm.fabs.f64(double %14)
%16 = fcmp olt double %15, 1.000000e+02
br i1 %16, label %17, label %21
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load double, ptr %5, align 8
%20 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str, double noundef %19)
br label %25
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = load double, ptr %5, align 8
%24 = call i32 @fprintf(ptr noundef %22, ptr noundef @.str.1, double noundef %23)
br label %25
25: ; preds = %21, %17
br label %26
26: ; preds = %25, %10, %9
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlj9ff6c.c'
source_filename = "/tmp/tmpxlj9ff6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [10 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00, float 0x7FF8000000000000, float 0x7FF8000000000000], align 16
@.str = private unnamed_addr constant [10 x i8] c"sum: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [10 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 40, i1 false)
store i32 5, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [10 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call double @stdlib_strided_dsnansum(i32 noundef %5, ptr noundef %6, i32 noundef %7)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
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 double @stdlib_strided_dsnansum(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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/tmpxlj9ff6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [10 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00, float 0x7FF8000000000000, float 0x7FF8000000000000], align 16
@.str = private unnamed_addr constant [10 x i8] c"sum: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [10 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 40, i1 false)
store i32 5, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [10 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call double @stdlib_strided_dsnansum(i32 noundef %5, ptr noundef %6, i32 noundef %7)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
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 double @stdlib_strided_dsnansum(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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/tmpv0d_j5rt.c'
source_filename = "/tmp/tmpv0d_j5rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
@GL_POLYGON = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display() #0 {
%1 = alloca double, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4
%6 = call i32 @glClear(i32 noundef %5)
store double 0x400921FB54442D11, ptr %1, align 8
store i32 128, ptr %2, align 4
%7 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%8 = load i32, ptr @GL_POLYGON, align 4
%9 = call i32 @glBegin(i32 noundef %8)
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %26, %0
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double 0x401921FB54442D11, %16
%18 = load i32, ptr %2, align 4
%19 = sitofp i32 %18 to double
%20 = fdiv double %17, %19
store double %20, ptr %4, align 8
%21 = load double, ptr %4, align 8
%22 = call i32 @cos(double noundef %21)
%23 = load double, ptr %4, align 8
%24 = call i32 @sin(double noundef %23)
%25 = call i32 @glVertex2f(i32 noundef %22, i32 noundef %24)
br label %26
26: ; preds = %14
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %10, !llvm.loop !6
29: ; preds = %10
%30 = call i32 (...) @glEnd()
%31 = call i32 (...) @glFlush()
ret void
}
declare i32 @glClear(i32 noundef) #1
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @glBegin(i32 noundef) #1
declare i32 @glVertex2f(i32 noundef, i32 noundef) #1
declare i32 @cos(double noundef) #1
declare i32 @sin(double noundef) #1
declare i32 @glEnd(...) #1
declare i32 @glFlush(...) #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/tmpv0d_j5rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
@GL_POLYGON = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display() #0 {
%1 = alloca double, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4
%6 = call i32 @glClear(i32 noundef %5)
store double 0x400921FB54442D11, ptr %1, align 8
store i32 128, ptr %2, align 4
%7 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%8 = load i32, ptr @GL_POLYGON, align 4
%9 = call i32 @glBegin(i32 noundef %8)
store i32 0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %25
%14 = load i32, ptr %3, align 4
%15 = sitofp i32 %14 to double
%16 = fmul double 0x401921FB54442D11, %15
%17 = load i32, ptr %2, align 4
%18 = sitofp i32 %17 to double
%19 = fdiv double %16, %18
store double %19, ptr %4, align 8
%20 = load double, ptr %4, align 8
%21 = call i32 @cos(double noundef %20)
%22 = load double, ptr %4, align 8
%23 = call i32 @sin(double noundef %22)
%24 = call i32 @glVertex2f(i32 noundef %21, i32 noundef %23)
br label %25
25: ; preds = %13
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %0
%32 = call i32 (...) @glEnd()
%33 = call i32 (...) @glFlush()
ret void
}
declare i32 @glClear(i32 noundef) #1
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @glBegin(i32 noundef) #1
declare i32 @glVertex2f(i32 noundef, i32 noundef) #1
declare i32 @cos(double noundef) #1
declare i32 @sin(double noundef) #1
declare i32 @glEnd(...) #1
declare i32 @glFlush(...) #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/tmpi8072ldg.c'
source_filename = "/tmp/tmpi8072ldg.c"
target datalayout = "e-m:e-p270: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"value of x: %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 i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 30, ptr %2, align 4
store i32 20, ptr %3, align 4
store i32 10, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = sdiv i32 %6, %5
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 10
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 %10, 2
store i32 %11, ptr %2, align 4
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi8072ldg.c"
target datalayout = "e-m:e-p270: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"value of x: %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 i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 30, ptr %2, align 4
store i32 20, ptr %3, align 4
store i32 10, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = sdiv i32 %6, %5
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 10
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 %10, 2
store i32 %11, ptr %2, align 4
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
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"}
|
; ModuleID = '/tmp/tmpgbwe5iy_.c'
source_filename = "/tmp/tmpgbwe5iy_.c"
target datalayout = "e-m:e-p270: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 @doubler(ptr noundef null)
ret i32 0
}
declare i32 @doubler(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/tmpgbwe5iy_.c"
target datalayout = "e-m:e-p270: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 @doubler(ptr noundef null)
ret i32 0
}
declare i32 @doubler(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/tmpaqg4cl5a.c'
source_filename = "/tmp/tmpaqg4cl5a.c"
target datalayout = "e-m:e-p270: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 @RotateBufRight(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
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %3
br label %79
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %17
16: ; preds = %13
br label %21
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
br label %21
21: ; preds = %17, %16
%22 = phi ptr [ null, %16 ], [ %20, %17 ]
store ptr %22, ptr %9, align 8
%23 = load ptr, ptr %9, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %54
25: ; preds = %21
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = sub i64 0, %29
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = load i32, ptr %6, align 4
%33 = call i32 @memcpy(ptr noundef %26, ptr noundef %31, i32 noundef %32)
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = load ptr, ptr %4, align 8
%41 = ptrtoint ptr %39 to i64
%42 = ptrtoint ptr %40 to i64
%43 = sub i64 %41, %42
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = sub i64 %43, %45
%47 = call i32 @memmove(ptr noundef %37, ptr noundef %38, i64 noundef %46)
%48 = load ptr, ptr %4, align 8
%49 = load ptr, ptr %9, align 8
%50 = load i32, ptr %6, align 4
%51 = call i32 @memcpy(ptr noundef %48, ptr noundef %49, i32 noundef %50)
%52 = load ptr, ptr %9, align 8
%53 = call i32 @free(ptr noundef %52)
br label %79
54: ; preds = %21
store i32 0, ptr %7, align 4
br label %55
55: ; preds = %75, %54
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %78
59: ; preds = %55
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 -1
%62 = load i8, ptr %61, align 1
store i8 %62, ptr %8, align 1
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 1
%65 = load ptr, ptr %4, align 8
%66 = load ptr, ptr %5, align 8
%67 = load ptr, ptr %4, align 8
%68 = ptrtoint ptr %66 to i64
%69 = ptrtoint ptr %67 to i64
%70 = sub i64 %68, %69
%71 = sub i64 %70, 1
%72 = call i32 @memmove(ptr noundef %64, ptr noundef %65, i64 noundef %71)
%73 = load i8, ptr %8, align 1
%74 = load ptr, ptr %4, align 8
store i8 %73, ptr %74, align 1
br label %75
75: ; preds = %59
%76 = load i32, ptr %7, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %7, align 4
br label %55, !llvm.loop !6
78: ; preds = %55
br label %79
79: ; preds = %12, %78, %25
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaqg4cl5a.c"
target datalayout = "e-m:e-p270: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 @RotateBufRight(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
%8 = alloca i8, align 1
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %3
br label %81
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %17
16: ; preds = %13
br label %21
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
br label %21
21: ; preds = %17, %16
%22 = phi ptr [ null, %16 ], [ %20, %17 ]
store ptr %22, ptr %9, align 8
%23 = load ptr, ptr %9, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %54
25: ; preds = %21
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = sub i64 0, %29
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = load i32, ptr %6, align 4
%33 = call i32 @memcpy(ptr noundef %26, ptr noundef %31, i32 noundef %32)
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = load ptr, ptr %4, align 8
%41 = ptrtoint ptr %39 to i64
%42 = ptrtoint ptr %40 to i64
%43 = sub i64 %41, %42
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = sub i64 %43, %45
%47 = call i32 @memmove(ptr noundef %37, ptr noundef %38, i64 noundef %46)
%48 = load ptr, ptr %4, align 8
%49 = load ptr, ptr %9, align 8
%50 = load i32, ptr %6, align 4
%51 = call i32 @memcpy(ptr noundef %48, ptr noundef %49, i32 noundef %50)
%52 = load ptr, ptr %9, align 8
%53 = call i32 @free(ptr noundef %52)
br label %81
54: ; preds = %21
store i32 0, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph, label %80
.lr.ph: ; preds = %54
br label %58
58: ; preds = %.lr.ph, %74
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 -1
%61 = load i8, ptr %60, align 1
store i8 %61, ptr %8, align 1
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 1
%64 = load ptr, ptr %4, align 8
%65 = load ptr, ptr %5, align 8
%66 = load ptr, ptr %4, align 8
%67 = ptrtoint ptr %65 to i64
%68 = ptrtoint ptr %66 to i64
%69 = sub i64 %67, %68
%70 = sub i64 %69, 1
%71 = call i32 @memmove(ptr noundef %63, ptr noundef %64, i64 noundef %70)
%72 = load i8, ptr %8, align 1
%73 = load ptr, ptr %4, align 8
store i8 %72, ptr %73, align 1
br label %74
74: ; preds = %58
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
%77 = load i32, ptr %7, align 4
%78 = load i32, ptr %6, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %58, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %74
br label %80
80: ; preds = %._crit_edge, %54
br label %81
81: ; preds = %80, %25, %12
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbetgrww2.c'
source_filename = "/tmp/tmpbetgrww2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i32 0, align 4
@TRUE = 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/tmpbetgrww2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i32 0, align 4
@TRUE = 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/tmp02dk27rx.c'
source_filename = "/tmp/tmp02dk27rx.c"
target datalayout = "e-m:e-p270: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 @valid_digit(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %19
8: ; preds = %2
%9 = load i8, ptr %4, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 48
br i1 %11, label %16, label %12
12: ; preds = %8
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 49
br label %16
16: ; preds = %12, %8
%17 = phi i1 [ true, %8 ], [ %15, %12 ]
%18 = zext i1 %17 to i32
store i32 %18, ptr %3, align 4
br label %69
19: ; preds = %2
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 8
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp sge i32 %24, 48
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load i8, ptr %4, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 55
br label %30
30: ; preds = %26, %22
%31 = phi i1 [ false, %22 ], [ %29, %26 ]
%32 = zext i1 %31 to i32
store i32 %32, ptr %3, align 4
br label %69
33: ; preds = %19
%34 = load i32, ptr %5, align 4
%35 = icmp eq i32 %34, 10
br i1 %35, label %36, label %47
36: ; preds = %33
%37 = load i8, ptr %4, align 1
%38 = sext i8 %37 to i32
%39 = icmp sge i32 %38, 48
br i1 %39, label %40, label %44
40: ; preds = %36
%41 = load i8, ptr %4, align 1
%42 = sext i8 %41 to i32
%43 = icmp sle i32 %42, 57
br label %44
44: ; preds = %40, %36
%45 = phi i1 [ false, %36 ], [ %43, %40 ]
%46 = zext i1 %45 to i32
store i32 %46, ptr %3, align 4
br label %69
47: ; preds = %33
br label %48
48: ; preds = %47
%49 = load i8, ptr %4, align 1
%50 = sext i8 %49 to i32
%51 = icmp sge i32 %50, 48
br i1 %51, label %52, label %57
52: ; preds = %48
%53 = load i8, ptr %4, align 1
%54 = sext i8 %53 to i32
%55 = icmp sle i32 %54, 57
br i1 %55, label %56, label %57
56: ; preds = %52
store i32 1, ptr %3, align 4
br label %69
57: ; preds = %52, %48
%58 = load i8, ptr %4, align 1
%59 = call signext i8 @tolower(i8 noundef signext %58)
store i8 %59, ptr %4, align 1
%60 = load i8, ptr %4, align 1
%61 = sext i8 %60 to i32
%62 = icmp sge i32 %61, 97
br i1 %62, label %63, label %68
63: ; preds = %57
%64 = load i8, ptr %4, align 1
%65 = sext i8 %64 to i32
%66 = icmp sle i32 %65, 102
br i1 %66, label %67, label %68
67: ; preds = %63
store i32 1, ptr %3, align 4
br label %69
68: ; preds = %63, %57
store i32 0, ptr %3, align 4
br label %69
69: ; preds = %68, %67, %56, %44, %30, %16
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp02dk27rx.c"
target datalayout = "e-m:e-p270: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 @valid_digit(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %19
8: ; preds = %2
%9 = load i8, ptr %4, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 48
br i1 %11, label %16, label %12
12: ; preds = %8
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 49
br label %16
16: ; preds = %12, %8
%17 = phi i1 [ true, %8 ], [ %15, %12 ]
%18 = zext i1 %17 to i32
store i32 %18, ptr %3, align 4
br label %69
19: ; preds = %2
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 8
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp sge i32 %24, 48
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load i8, ptr %4, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 55
br label %30
30: ; preds = %26, %22
%31 = phi i1 [ false, %22 ], [ %29, %26 ]
%32 = zext i1 %31 to i32
store i32 %32, ptr %3, align 4
br label %69
33: ; preds = %19
%34 = load i32, ptr %5, align 4
%35 = icmp eq i32 %34, 10
br i1 %35, label %36, label %47
36: ; preds = %33
%37 = load i8, ptr %4, align 1
%38 = sext i8 %37 to i32
%39 = icmp sge i32 %38, 48
br i1 %39, label %40, label %44
40: ; preds = %36
%41 = load i8, ptr %4, align 1
%42 = sext i8 %41 to i32
%43 = icmp sle i32 %42, 57
br label %44
44: ; preds = %40, %36
%45 = phi i1 [ false, %36 ], [ %43, %40 ]
%46 = zext i1 %45 to i32
store i32 %46, ptr %3, align 4
br label %69
47: ; preds = %33
br label %48
48: ; preds = %47
%49 = load i8, ptr %4, align 1
%50 = sext i8 %49 to i32
%51 = icmp sge i32 %50, 48
br i1 %51, label %52, label %57
52: ; preds = %48
%53 = load i8, ptr %4, align 1
%54 = sext i8 %53 to i32
%55 = icmp sle i32 %54, 57
br i1 %55, label %56, label %57
56: ; preds = %52
store i32 1, ptr %3, align 4
br label %69
57: ; preds = %52, %48
%58 = load i8, ptr %4, align 1
%59 = call signext i8 @tolower(i8 noundef signext %58)
store i8 %59, ptr %4, align 1
%60 = load i8, ptr %4, align 1
%61 = sext i8 %60 to i32
%62 = icmp sge i32 %61, 97
br i1 %62, label %63, label %68
63: ; preds = %57
%64 = load i8, ptr %4, align 1
%65 = sext i8 %64 to i32
%66 = icmp sle i32 %65, 102
br i1 %66, label %67, label %68
67: ; preds = %63
store i32 1, ptr %3, align 4
br label %69
68: ; preds = %63, %57
store i32 0, ptr %3, align 4
br label %69
69: ; preds = %68, %67, %56, %44, %30, %16
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcf7wwt1x.c'
source_filename = "/tmp/tmpcf7wwt1x.c"
target datalayout = "e-m:e-p270: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"%lX\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ns_send_http_chunk(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [50 x i8], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%10 = load i64, ptr %6, align 8
%11 = call i32 @snprintf(ptr noundef %9, i32 noundef 50, ptr noundef @.str, i64 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%14 = load i32, ptr %8, align 4
%15 = call i32 @ns_send(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %6, align 8
%19 = trunc i64 %18 to i32
%20 = call i32 @ns_send(ptr noundef %16, ptr noundef %17, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @ns_send(ptr noundef %21, ptr noundef @.str.1, i32 noundef 2)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @ns_send(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcf7wwt1x.c"
target datalayout = "e-m:e-p270: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"%lX\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ns_send_http_chunk(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [50 x i8], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%10 = load i64, ptr %6, align 8
%11 = call i32 @snprintf(ptr noundef %9, i32 noundef 50, ptr noundef @.str, i64 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%14 = load i32, ptr %8, align 4
%15 = call i32 @ns_send(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %6, align 8
%19 = trunc i64 %18 to i32
%20 = call i32 @ns_send(ptr noundef %16, ptr noundef %17, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @ns_send(ptr noundef %21, ptr noundef @.str.1, i32 noundef 2)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @ns_send(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmju_z4mc.c'
source_filename = "/tmp/tmpmju_z4mc.c"
target datalayout = "e-m:e-p270: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"%08X\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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @atoi(ptr noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmju_z4mc.c"
target datalayout = "e-m:e-p270: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"%08X\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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @atoi(ptr noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxymiy5gt.c'
source_filename = "/tmp/tmpxymiy5gt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 2, ptr %3, align 4
br label %6
6: ; preds = %21, %0
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 0
br label %13
13: ; preds = %10, %6
%14 = phi i1 [ false, %6 ], [ %12, %10 ]
br i1 %14, label %15, label %24
15: ; preds = %13
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = srem i32 %16, %17
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %15
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %20, %15
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %6, !llvm.loop !6
24: ; preds = %13
%25 = load i32, ptr %4, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
ret i32 0
}
declare i32 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxymiy5gt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 2, ptr %3, align 4
br label %6
6: ; preds = %21, %0
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 0
br label %13
13: ; preds = %10, %6
%14 = phi i1 [ false, %6 ], [ %12, %10 ]
br i1 %14, label %15, label %24
15: ; preds = %13
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = srem i32 %16, %17
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %15
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %20, %15
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %6, !llvm.loop !6
24: ; preds = %13
%25 = load i32, ptr %4, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
ret i32 0
}
declare i32 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvgii_3f_.c'
source_filename = "/tmp/tmpvgii_3f_.c"
target datalayout = "e-m:e-p270: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 @in_cksum(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
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = 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
%11 = load i32, ptr %5, align 4
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %8, align 8
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %10, align 4
br label %14
14: ; preds = %17, %3
%15 = load i32, ptr %7, align 4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %25
17: ; preds = %14
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds i32, ptr %18, i32 1
store ptr %19, ptr %8, align 8
%20 = load i32, ptr %18, align 4
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %10, align 4
%23 = load i32, ptr %7, align 4
%24 = sub nsw i32 %23, 2
store i32 %24, ptr %7, align 4
br label %14, !llvm.loop !6
25: ; preds = %14
%26 = load i32, ptr %7, align 4
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %37
28: ; preds = %25
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %29, align 4
%31 = shl i32 %30, 8
%32 = call i64 @htons(i32 noundef %31)
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = add nsw i64 %34, %32
%36 = trunc i64 %35 to i32
store i32 %36, ptr %10, align 4
br label %37
37: ; preds = %28, %25
%38 = load i32, ptr %10, align 4
%39 = ashr i32 %38, 16
%40 = load i32, ptr %10, align 4
%41 = and i32 %40, 65535
%42 = add nsw i32 %39, %41
store i32 %42, ptr %10, align 4
%43 = load i32, ptr %10, align 4
%44 = ashr i32 %43, 16
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, %44
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = xor i32 %47, -1
store i32 %48, ptr %9, align 4
%49 = load i32, ptr %9, align 4
ret i32 %49
}
declare i64 @htons(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/tmpvgii_3f_.c"
target datalayout = "e-m:e-p270: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 @in_cksum(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
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = 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
%11 = load i32, ptr %5, align 4
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %8, align 8
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %10, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %.lr.ph, label %26
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %16
%17 = load ptr, ptr %8, align 8
%18 = getelementptr inbounds i32, ptr %17, i32 1
store ptr %18, ptr %8, align 8
%19 = load i32, ptr %17, align 4
%20 = load i32, ptr %10, align 4
%21 = add nsw i32 %20, %19
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %7, align 4
%23 = sub nsw i32 %22, 2
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 1
br i1 %25, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %26
26: ; preds = %._crit_edge, %3
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %30, align 4
%32 = shl i32 %31, 8
%33 = call i64 @htons(i32 noundef %32)
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = add nsw i64 %35, %33
%37 = trunc i64 %36 to i32
store i32 %37, ptr %10, align 4
br label %38
38: ; preds = %29, %26
%39 = load i32, ptr %10, align 4
%40 = ashr i32 %39, 16
%41 = load i32, ptr %10, align 4
%42 = and i32 %41, 65535
%43 = add nsw i32 %40, %42
store i32 %43, ptr %10, align 4
%44 = load i32, ptr %10, align 4
%45 = ashr i32 %44, 16
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = xor i32 %48, -1
store i32 %49, ptr %9, align 4
%50 = load i32, ptr %9, align 4
ret i32 %50
}
declare i64 @htons(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/tmppp57rvkb.c'
source_filename = "/tmp/tmppp57rvkb.c"
target datalayout = "e-m:e-p270: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 @look_ahead_test(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %5
store float 0.000000e+00, ptr %11, align 4
store float 1.000000e+00, ptr %12, align 4
store float 1.000000e+00, ptr %13, align 4
store float 1.000000e+00, ptr %14, align 4
store float 1.000000e+00, ptr %15, align 4
store float 1.250000e+00, ptr %16, align 4
br label %26
25: ; preds = %5
store float 1.000000e+00, ptr %11, align 4
store float 2.000000e+00, ptr %12, align 4
store float 2.000000e+00, ptr %13, align 4
store float 2.000000e+00, ptr %14, align 4
store float 2.000000e+00, ptr %15, align 4
store float 2.250000e+00, ptr %16, align 4
br label %26
26: ; preds = %25, %24
%27 = load i32, ptr %9, align 4
switch i32 %27, label %33 [
i32 2, label %28
i32 3, label %29
i32 4, label %30
i32 5, label %31
i32 6, label %32
]
28: ; preds = %26
store float 0.000000e+00, ptr %12, align 4
br label %33
29: ; preds = %26
store float 0.000000e+00, ptr %13, align 4
br label %33
30: ; preds = %26
store float 0.000000e+00, ptr %14, align 4
br label %33
31: ; preds = %26
store float 0.000000e+00, ptr %15, align 4
br label %33
32: ; preds = %26
store float 0.000000e+00, ptr %16, align 4
br label %33
33: ; preds = %26, %32, %31, %30, %29, %28
%34 = load i32, ptr %8, align 4
store i32 %34, ptr %18, align 4
br label %35
35: ; preds = %312, %33
%36 = load i32, ptr %18, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load i32, ptr %18, align 4
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 8
%43 = icmp sle i32 %40, %42
br label %44
44: ; preds = %39, %35
%45 = phi i1 [ false, %35 ], [ %43, %39 ]
br i1 %45, label %46, label %315
46: ; preds = %44
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %18, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = icmp sle i32 %52, 127
br i1 %53, label %54, label %60
54: ; preds = %46
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %18, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
store i8 %59, ptr %21, align 1
br label %69
60: ; preds = %46
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %18, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = zext i8 %65 to i32
%67 = sub nsw i32 %66, 127
%68 = trunc i32 %67 to i8
store i8 %68, ptr %21, align 1
br label %69
69: ; preds = %60, %54
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %18, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = icmp sge i32 %75, 48
br i1 %76, label %77, label %90
77: ; preds = %69
%78 = load ptr, ptr %6, align 8
%79 = load i32, ptr %18, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = zext i8 %82 to i32
%84 = icmp sle i32 %83, 57
br i1 %84, label %85, label %90
85: ; preds = %77
%86 = load float, ptr %11, align 4
%87 = fpext float %86 to double
%88 = fadd double %87, 5.000000e-01
%89 = fptrunc double %88 to float
store float %89, ptr %11, align 4
br label %95
90: ; preds = %77, %69
%91 = load float, ptr %11, align 4
%92 = fpext float %91 to double
%93 = fadd double %92, 1.000000e+00
%94 = fptrunc double %93 to float
store float %94, ptr %11, align 4
br label %95
95: ; preds = %90, %85
%96 = load ptr, ptr %6, align 8
%97 = load i32, ptr %18, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
%100 = load i8, ptr %99, align 1
%101 = zext i8 %100 to i32
%102 = icmp sgt i32 %101, 127
br i1 %102, label %103, label %108
103: ; preds = %95
%104 = load float, ptr %11, align 4
%105 = fpext float %104 to double
%106 = fadd double %105, 1.000000e+00
%107 = fptrunc double %106 to float
store float %107, ptr %11, align 4
br label %108
108: ; preds = %103, %95
store i32 0, ptr %19, align 4
%109 = load i8, ptr %21, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 32
br i1 %111, label %112, label %117
112: ; preds = %108
%113 = load float, ptr %12, align 4
%114 = fpext float %113 to double
%115 = fadd double %114, 0x3FE5555555555555
%116 = fptrunc double %115 to float
store float %116, ptr %12, align 4
store i32 1, ptr %19, align 4
br label %117
117: ; preds = %112, %108
%118 = load i8, ptr %21, align 1
%119 = sext i8 %118 to i32
%120 = icmp sge i32 %119, 48
br i1 %120, label %121, label %130
121: ; preds = %117
%122 = load i8, ptr %21, align 1
%123 = sext i8 %122 to i32
%124 = icmp sle i32 %123, 57
br i1 %124, label %125, label %130
125: ; preds = %121
%126 = load float, ptr %12, align 4
%127 = fpext float %126 to double
%128 = fadd double %127, 0x3FE5555555555555
%129 = fptrunc double %128 to float
store float %129, ptr %12, align 4
store i32 1, ptr %19, align 4
br label %130
130: ; preds = %125, %121, %117
%131 = load i8, ptr %21, align 1
%132 = sext i8 %131 to i32
%133 = icmp sge i32 %132, 65
br i1 %133, label %134, label %143
134: ; preds = %130
%135 = load i8, ptr %21, align 1
%136 = sext i8 %135 to i32
%137 = icmp sle i32 %136, 90
br i1 %137, label %138, label %143
138: ; preds = %134
%139 = load float, ptr %12, align 4
%140 = fpext float %139 to double
%141 = fadd double %140, 0x3FE5555555555555
%142 = fptrunc double %141 to float
store float %142, ptr %12, align 4
store i32 1, ptr %19, align 4
br label %143
143: ; preds = %138, %134, %130
%144 = load ptr, ptr %6, align 8
%145 = load i32, ptr %18, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i8, ptr %144, i64 %146
%148 = load i8, ptr %147, align 1
%149 = zext i8 %148 to i32
%150 = icmp sgt i32 %149, 127
br i1 %150, label %151, label %156
151: ; preds = %143
%152 = load float, ptr %12, align 4
%153 = fpext float %152 to double
%154 = fadd double %153, 0x3FF5555555555555
%155 = fptrunc double %154 to float
store float %155, ptr %12, align 4
br label %156
156: ; preds = %151, %143
%157 = load i32, ptr %19, align 4
%158 = icmp eq i32 %157, 0
br i1 %158, label %159, label %164
159: ; preds = %156
%160 = load float, ptr %12, align 4
%161 = fpext float %160 to double
%162 = fadd double %161, 0x3FF5555555555555
%163 = fptrunc double %162 to float
store float %163, ptr %12, align 4
br label %164
164: ; preds = %159, %156
store i32 0, ptr %19, align 4
%165 = load i8, ptr %21, align 1
%166 = sext i8 %165 to i32
%167 = icmp eq i32 %166, 32
br i1 %167, label %168, label %173
168: ; preds = %164
%169 = load float, ptr %13, align 4
%170 = fpext float %169 to double
%171 = fadd double %170, 0x3FE5555555555555
%172 = fptrunc double %171 to float
store float %172, ptr %13, align 4
store i32 1, ptr %19, align 4
br label %173
173: ; preds = %168, %164
%174 = load i8, ptr %21, align 1
%175 = sext i8 %174 to i32
%176 = icmp sge i32 %175, 48
br i1 %176, label %177, label %186
177: ; preds = %173
%178 = load i8, ptr %21, align 1
%179 = sext i8 %178 to i32
%180 = icmp sle i32 %179, 57
br i1 %180, label %181, label %186
181: ; preds = %177
%182 = load float, ptr %13, align 4
%183 = fpext float %182 to double
%184 = fadd double %183, 0x3FE5555555555555
%185 = fptrunc double %184 to float
store float %185, ptr %13, align 4
store i32 1, ptr %19, align 4
br label %186
186: ; preds = %181, %177, %173
%187 = load i8, ptr %21, align 1
%188 = sext i8 %187 to i32
%189 = icmp sge i32 %188, 97
br i1 %189, label %190, label %199
190: ; preds = %186
%191 = load i8, ptr %21, align 1
%192 = sext i8 %191 to i32
%193 = icmp sle i32 %192, 122
br i1 %193, label %194, label %199
194: ; preds = %190
%195 = load float, ptr %13, align 4
%196 = fpext float %195 to double
%197 = fadd double %196, 0x3FE5555555555555
%198 = fptrunc double %197 to float
store float %198, ptr %13, align 4
store i32 1, ptr %19, align 4
br label %199
199: ; preds = %194, %190, %186
%200 = load ptr, ptr %6, align 8
%201 = load i32, ptr %18, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i8, ptr %200, i64 %202
%204 = load i8, ptr %203, align 1
%205 = zext i8 %204 to i32
%206 = icmp sgt i32 %205, 127
br i1 %206, label %207, label %212
207: ; preds = %199
%208 = load float, ptr %13, align 4
%209 = fpext float %208 to double
%210 = fadd double %209, 0x3FF5555555555555
%211 = fptrunc double %210 to float
store float %211, ptr %13, align 4
br label %212
212: ; preds = %207, %199
%213 = load i32, ptr %19, align 4
%214 = icmp eq i32 %213, 0
br i1 %214, label %215, label %220
215: ; preds = %212
%216 = load float, ptr %13, align 4
%217 = fpext float %216 to double
%218 = fadd double %217, 0x3FF5555555555555
%219 = fptrunc double %218 to float
store float %219, ptr %13, align 4
br label %220
220: ; preds = %215, %212
%221 = load ptr, ptr %6, align 8
%222 = load i32, ptr %18, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i8, ptr %221, i64 %223
%225 = load i8, ptr %224, align 1
%226 = call i64 @isx12(i8 noundef zeroext %225)
%227 = icmp ne i64 %226, 0
br i1 %227, label %228, label %233
228: ; preds = %220
%229 = load float, ptr %14, align 4
%230 = fpext float %229 to double
%231 = fadd double %230, 0x3FE5555555555555
%232 = fptrunc double %231 to float
store float %232, ptr %14, align 4
br label %238
233: ; preds = %220
%234 = load float, ptr %14, align 4
%235 = fpext float %234 to double
%236 = fadd double %235, 4.000000e+00
%237 = fptrunc double %236 to float
store float %237, ptr %14, align 4
br label %238
238: ; preds = %233, %228
store i32 0, ptr %19, align 4
%239 = load ptr, ptr %6, align 8
%240 = load i32, ptr %18, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds i8, ptr %239, i64 %241
%243 = load i8, ptr %242, align 1
%244 = zext i8 %243 to i32
%245 = icmp sge i32 %244, 32
br i1 %245, label %246, label %259
246: ; preds = %238
%247 = load ptr, ptr %6, align 8
%248 = load i32, ptr %18, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i8, ptr %247, i64 %249
%251 = load i8, ptr %250, align 1
%252 = zext i8 %251 to i32
%253 = icmp sle i32 %252, 94
br i1 %253, label %254, label %259
254: ; preds = %246
%255 = load float, ptr %15, align 4
%256 = fpext float %255 to double
%257 = fadd double %256, 7.500000e-01
%258 = fptrunc double %257 to float
store float %258, ptr %15, align 4
br label %264
259: ; preds = %246, %238
%260 = load float, ptr %15, align 4
%261 = fpext float %260 to double
%262 = fadd double %261, 6.000000e+00
%263 = fptrunc double %262 to float
store float %263, ptr %15, align 4
br label %264
264: ; preds = %259, %254
%265 = load i32, ptr %10, align 4
%266 = icmp ne i32 %265, 0
br i1 %266, label %267, label %280
267: ; preds = %264
%268 = load ptr, ptr %6, align 8
%269 = load i32, ptr %18, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds i8, ptr %268, i64 %270
%272 = load i8, ptr %271, align 1
%273 = zext i8 %272 to i32
%274 = icmp eq i32 %273, 91
br i1 %274, label %275, label %280
275: ; preds = %267
%276 = load float, ptr %15, align 4
%277 = fpext float %276 to double
%278 = fadd double %277, 6.000000e+00
%279 = fptrunc double %278 to float
store float %279, ptr %15, align 4
br label %280
280: ; preds = %275, %267, %264
%281 = load i32, ptr %18, align 4
%282 = load i32, ptr %7, align 4
%283 = sub nsw i32 %282, 5
%284 = icmp sge i32 %281, %283
br i1 %284, label %285, label %290
285: ; preds = %280
%286 = load float, ptr %15, align 4
%287 = fpext float %286 to double
%288 = fadd double %287, 6.000000e+00
%289 = fptrunc double %288 to float
store float %289, ptr %15, align 4
br label %290
290: ; preds = %285, %280
%291 = load i32, ptr %10, align 4
%292 = icmp ne i32 %291, 0
br i1 %292, label %293, label %306
293: ; preds = %290
%294 = load ptr, ptr %6, align 8
%295 = load i32, ptr %18, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds i8, ptr %294, i64 %296
%298 = load i8, ptr %297, align 1
%299 = zext i8 %298 to i32
%300 = icmp eq i32 %299, 91
br i1 %300, label %301, label %306
301: ; preds = %293
%302 = load float, ptr %16, align 4
%303 = fpext float %302 to double
%304 = fadd double %303, 4.000000e+00
%305 = fptrunc double %304 to float
store float %305, ptr %16, align 4
br label %311
306: ; preds = %293, %290
%307 = load float, ptr %16, align 4
%308 = fpext float %307 to double
%309 = fadd double %308, 1.000000e+00
%310 = fptrunc double %309 to float
store float %310, ptr %16, align 4
br label %311
311: ; preds = %306, %301
br label %312
312: ; preds = %311
%313 = load i32, ptr %18, align 4
%314 = add nsw i32 %313, 1
store i32 %314, ptr %18, align 4
br label %35, !llvm.loop !6
315: ; preds = %44
%316 = load float, ptr %11, align 4
store float %316, ptr %17, align 4
store i32 1, ptr %20, align 4
%317 = load float, ptr %16, align 4
%318 = load float, ptr %17, align 4
%319 = fcmp ole float %317, %318
br i1 %319, label %320, label %322
320: ; preds = %315
%321 = load float, ptr %16, align 4
store float %321, ptr %17, align 4
store i32 6, ptr %20, align 4
br label %322
322: ; preds = %320, %315
%323 = load float, ptr %15, align 4
%324 = load float, ptr %17, align 4
%325 = fcmp ole float %323, %324
br i1 %325, label %326, label %328
326: ; preds = %322
%327 = load float, ptr %15, align 4
store float %327, ptr %17, align 4
store i32 5, ptr %20, align 4
br label %328
328: ; preds = %326, %322
%329 = load float, ptr %13, align 4
%330 = load float, ptr %17, align 4
%331 = fcmp ole float %329, %330
br i1 %331, label %332, label %334
332: ; preds = %328
%333 = load float, ptr %13, align 4
store float %333, ptr %17, align 4
store i32 3, ptr %20, align 4
br label %334
334: ; preds = %332, %328
%335 = load float, ptr %14, align 4
%336 = load float, ptr %17, align 4
%337 = fcmp ole float %335, %336
br i1 %337, label %338, label %340
338: ; preds = %334
%339 = load float, ptr %14, align 4
store float %339, ptr %17, align 4
store i32 4, ptr %20, align 4
br label %340
340: ; preds = %338, %334
%341 = load float, ptr %12, align 4
%342 = load float, ptr %17, align 4
%343 = fcmp ole float %341, %342
br i1 %343, label %344, label %346
344: ; preds = %340
%345 = load float, ptr %12, align 4
store float %345, ptr %17, align 4
store i32 2, ptr %20, align 4
br label %346
346: ; preds = %344, %340
%347 = load i32, ptr %20, align 4
ret i32 %347
}
declare i64 @isx12(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppp57rvkb.c"
target datalayout = "e-m:e-p270: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 @look_ahead_test(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %5
store float 0.000000e+00, ptr %11, align 4
store float 1.000000e+00, ptr %12, align 4
store float 1.000000e+00, ptr %13, align 4
store float 1.000000e+00, ptr %14, align 4
store float 1.000000e+00, ptr %15, align 4
store float 1.250000e+00, ptr %16, align 4
br label %26
25: ; preds = %5
store float 1.000000e+00, ptr %11, align 4
store float 2.000000e+00, ptr %12, align 4
store float 2.000000e+00, ptr %13, align 4
store float 2.000000e+00, ptr %14, align 4
store float 2.000000e+00, ptr %15, align 4
store float 2.250000e+00, ptr %16, align 4
br label %26
26: ; preds = %25, %24
%27 = load i32, ptr %9, align 4
switch i32 %27, label %33 [
i32 2, label %28
i32 3, label %29
i32 4, label %30
i32 5, label %31
i32 6, label %32
]
28: ; preds = %26
store float 0.000000e+00, ptr %12, align 4
br label %33
29: ; preds = %26
store float 0.000000e+00, ptr %13, align 4
br label %33
30: ; preds = %26
store float 0.000000e+00, ptr %14, align 4
br label %33
31: ; preds = %26
store float 0.000000e+00, ptr %15, align 4
br label %33
32: ; preds = %26
store float 0.000000e+00, ptr %16, align 4
br label %33
33: ; preds = %32, %31, %30, %29, %28, %26
%34 = load i32, ptr %8, align 4
store i32 %34, ptr %18, align 4
br label %35
35: ; preds = %312, %33
%36 = load i32, ptr %18, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load i32, ptr %18, align 4
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 8
%43 = icmp sle i32 %40, %42
br label %44
44: ; preds = %39, %35
%45 = phi i1 [ false, %35 ], [ %43, %39 ]
br i1 %45, label %46, label %315
46: ; preds = %44
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %18, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = icmp sle i32 %52, 127
br i1 %53, label %54, label %60
54: ; preds = %46
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %18, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
store i8 %59, ptr %21, align 1
br label %69
60: ; preds = %46
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %18, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = zext i8 %65 to i32
%67 = sub nsw i32 %66, 127
%68 = trunc i32 %67 to i8
store i8 %68, ptr %21, align 1
br label %69
69: ; preds = %60, %54
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %18, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = icmp sge i32 %75, 48
br i1 %76, label %77, label %90
77: ; preds = %69
%78 = load ptr, ptr %6, align 8
%79 = load i32, ptr %18, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = zext i8 %82 to i32
%84 = icmp sle i32 %83, 57
br i1 %84, label %85, label %90
85: ; preds = %77
%86 = load float, ptr %11, align 4
%87 = fpext float %86 to double
%88 = fadd double %87, 5.000000e-01
%89 = fptrunc double %88 to float
store float %89, ptr %11, align 4
br label %95
90: ; preds = %77, %69
%91 = load float, ptr %11, align 4
%92 = fpext float %91 to double
%93 = fadd double %92, 1.000000e+00
%94 = fptrunc double %93 to float
store float %94, ptr %11, align 4
br label %95
95: ; preds = %90, %85
%96 = load ptr, ptr %6, align 8
%97 = load i32, ptr %18, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
%100 = load i8, ptr %99, align 1
%101 = zext i8 %100 to i32
%102 = icmp sgt i32 %101, 127
br i1 %102, label %103, label %108
103: ; preds = %95
%104 = load float, ptr %11, align 4
%105 = fpext float %104 to double
%106 = fadd double %105, 1.000000e+00
%107 = fptrunc double %106 to float
store float %107, ptr %11, align 4
br label %108
108: ; preds = %103, %95
store i32 0, ptr %19, align 4
%109 = load i8, ptr %21, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 32
br i1 %111, label %112, label %117
112: ; preds = %108
%113 = load float, ptr %12, align 4
%114 = fpext float %113 to double
%115 = fadd double %114, 0x3FE5555555555555
%116 = fptrunc double %115 to float
store float %116, ptr %12, align 4
store i32 1, ptr %19, align 4
br label %117
117: ; preds = %112, %108
%118 = load i8, ptr %21, align 1
%119 = sext i8 %118 to i32
%120 = icmp sge i32 %119, 48
br i1 %120, label %121, label %130
121: ; preds = %117
%122 = load i8, ptr %21, align 1
%123 = sext i8 %122 to i32
%124 = icmp sle i32 %123, 57
br i1 %124, label %125, label %130
125: ; preds = %121
%126 = load float, ptr %12, align 4
%127 = fpext float %126 to double
%128 = fadd double %127, 0x3FE5555555555555
%129 = fptrunc double %128 to float
store float %129, ptr %12, align 4
store i32 1, ptr %19, align 4
br label %130
130: ; preds = %125, %121, %117
%131 = load i8, ptr %21, align 1
%132 = sext i8 %131 to i32
%133 = icmp sge i32 %132, 65
br i1 %133, label %134, label %143
134: ; preds = %130
%135 = load i8, ptr %21, align 1
%136 = sext i8 %135 to i32
%137 = icmp sle i32 %136, 90
br i1 %137, label %138, label %143
138: ; preds = %134
%139 = load float, ptr %12, align 4
%140 = fpext float %139 to double
%141 = fadd double %140, 0x3FE5555555555555
%142 = fptrunc double %141 to float
store float %142, ptr %12, align 4
store i32 1, ptr %19, align 4
br label %143
143: ; preds = %138, %134, %130
%144 = load ptr, ptr %6, align 8
%145 = load i32, ptr %18, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i8, ptr %144, i64 %146
%148 = load i8, ptr %147, align 1
%149 = zext i8 %148 to i32
%150 = icmp sgt i32 %149, 127
br i1 %150, label %151, label %156
151: ; preds = %143
%152 = load float, ptr %12, align 4
%153 = fpext float %152 to double
%154 = fadd double %153, 0x3FF5555555555555
%155 = fptrunc double %154 to float
store float %155, ptr %12, align 4
br label %156
156: ; preds = %151, %143
%157 = load i32, ptr %19, align 4
%158 = icmp eq i32 %157, 0
br i1 %158, label %159, label %164
159: ; preds = %156
%160 = load float, ptr %12, align 4
%161 = fpext float %160 to double
%162 = fadd double %161, 0x3FF5555555555555
%163 = fptrunc double %162 to float
store float %163, ptr %12, align 4
br label %164
164: ; preds = %159, %156
store i32 0, ptr %19, align 4
%165 = load i8, ptr %21, align 1
%166 = sext i8 %165 to i32
%167 = icmp eq i32 %166, 32
br i1 %167, label %168, label %173
168: ; preds = %164
%169 = load float, ptr %13, align 4
%170 = fpext float %169 to double
%171 = fadd double %170, 0x3FE5555555555555
%172 = fptrunc double %171 to float
store float %172, ptr %13, align 4
store i32 1, ptr %19, align 4
br label %173
173: ; preds = %168, %164
%174 = load i8, ptr %21, align 1
%175 = sext i8 %174 to i32
%176 = icmp sge i32 %175, 48
br i1 %176, label %177, label %186
177: ; preds = %173
%178 = load i8, ptr %21, align 1
%179 = sext i8 %178 to i32
%180 = icmp sle i32 %179, 57
br i1 %180, label %181, label %186
181: ; preds = %177
%182 = load float, ptr %13, align 4
%183 = fpext float %182 to double
%184 = fadd double %183, 0x3FE5555555555555
%185 = fptrunc double %184 to float
store float %185, ptr %13, align 4
store i32 1, ptr %19, align 4
br label %186
186: ; preds = %181, %177, %173
%187 = load i8, ptr %21, align 1
%188 = sext i8 %187 to i32
%189 = icmp sge i32 %188, 97
br i1 %189, label %190, label %199
190: ; preds = %186
%191 = load i8, ptr %21, align 1
%192 = sext i8 %191 to i32
%193 = icmp sle i32 %192, 122
br i1 %193, label %194, label %199
194: ; preds = %190
%195 = load float, ptr %13, align 4
%196 = fpext float %195 to double
%197 = fadd double %196, 0x3FE5555555555555
%198 = fptrunc double %197 to float
store float %198, ptr %13, align 4
store i32 1, ptr %19, align 4
br label %199
199: ; preds = %194, %190, %186
%200 = load ptr, ptr %6, align 8
%201 = load i32, ptr %18, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i8, ptr %200, i64 %202
%204 = load i8, ptr %203, align 1
%205 = zext i8 %204 to i32
%206 = icmp sgt i32 %205, 127
br i1 %206, label %207, label %212
207: ; preds = %199
%208 = load float, ptr %13, align 4
%209 = fpext float %208 to double
%210 = fadd double %209, 0x3FF5555555555555
%211 = fptrunc double %210 to float
store float %211, ptr %13, align 4
br label %212
212: ; preds = %207, %199
%213 = load i32, ptr %19, align 4
%214 = icmp eq i32 %213, 0
br i1 %214, label %215, label %220
215: ; preds = %212
%216 = load float, ptr %13, align 4
%217 = fpext float %216 to double
%218 = fadd double %217, 0x3FF5555555555555
%219 = fptrunc double %218 to float
store float %219, ptr %13, align 4
br label %220
220: ; preds = %215, %212
%221 = load ptr, ptr %6, align 8
%222 = load i32, ptr %18, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i8, ptr %221, i64 %223
%225 = load i8, ptr %224, align 1
%226 = call i64 @isx12(i8 noundef zeroext %225)
%227 = icmp ne i64 %226, 0
br i1 %227, label %228, label %233
228: ; preds = %220
%229 = load float, ptr %14, align 4
%230 = fpext float %229 to double
%231 = fadd double %230, 0x3FE5555555555555
%232 = fptrunc double %231 to float
store float %232, ptr %14, align 4
br label %238
233: ; preds = %220
%234 = load float, ptr %14, align 4
%235 = fpext float %234 to double
%236 = fadd double %235, 4.000000e+00
%237 = fptrunc double %236 to float
store float %237, ptr %14, align 4
br label %238
238: ; preds = %233, %228
store i32 0, ptr %19, align 4
%239 = load ptr, ptr %6, align 8
%240 = load i32, ptr %18, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds i8, ptr %239, i64 %241
%243 = load i8, ptr %242, align 1
%244 = zext i8 %243 to i32
%245 = icmp sge i32 %244, 32
br i1 %245, label %246, label %259
246: ; preds = %238
%247 = load ptr, ptr %6, align 8
%248 = load i32, ptr %18, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i8, ptr %247, i64 %249
%251 = load i8, ptr %250, align 1
%252 = zext i8 %251 to i32
%253 = icmp sle i32 %252, 94
br i1 %253, label %254, label %259
254: ; preds = %246
%255 = load float, ptr %15, align 4
%256 = fpext float %255 to double
%257 = fadd double %256, 7.500000e-01
%258 = fptrunc double %257 to float
store float %258, ptr %15, align 4
br label %264
259: ; preds = %246, %238
%260 = load float, ptr %15, align 4
%261 = fpext float %260 to double
%262 = fadd double %261, 6.000000e+00
%263 = fptrunc double %262 to float
store float %263, ptr %15, align 4
br label %264
264: ; preds = %259, %254
%265 = load i32, ptr %10, align 4
%266 = icmp ne i32 %265, 0
br i1 %266, label %267, label %280
267: ; preds = %264
%268 = load ptr, ptr %6, align 8
%269 = load i32, ptr %18, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds i8, ptr %268, i64 %270
%272 = load i8, ptr %271, align 1
%273 = zext i8 %272 to i32
%274 = icmp eq i32 %273, 91
br i1 %274, label %275, label %280
275: ; preds = %267
%276 = load float, ptr %15, align 4
%277 = fpext float %276 to double
%278 = fadd double %277, 6.000000e+00
%279 = fptrunc double %278 to float
store float %279, ptr %15, align 4
br label %280
280: ; preds = %275, %267, %264
%281 = load i32, ptr %18, align 4
%282 = load i32, ptr %7, align 4
%283 = sub nsw i32 %282, 5
%284 = icmp sge i32 %281, %283
br i1 %284, label %285, label %290
285: ; preds = %280
%286 = load float, ptr %15, align 4
%287 = fpext float %286 to double
%288 = fadd double %287, 6.000000e+00
%289 = fptrunc double %288 to float
store float %289, ptr %15, align 4
br label %290
290: ; preds = %285, %280
%291 = load i32, ptr %10, align 4
%292 = icmp ne i32 %291, 0
br i1 %292, label %293, label %306
293: ; preds = %290
%294 = load ptr, ptr %6, align 8
%295 = load i32, ptr %18, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds i8, ptr %294, i64 %296
%298 = load i8, ptr %297, align 1
%299 = zext i8 %298 to i32
%300 = icmp eq i32 %299, 91
br i1 %300, label %301, label %306
301: ; preds = %293
%302 = load float, ptr %16, align 4
%303 = fpext float %302 to double
%304 = fadd double %303, 4.000000e+00
%305 = fptrunc double %304 to float
store float %305, ptr %16, align 4
br label %311
306: ; preds = %293, %290
%307 = load float, ptr %16, align 4
%308 = fpext float %307 to double
%309 = fadd double %308, 1.000000e+00
%310 = fptrunc double %309 to float
store float %310, ptr %16, align 4
br label %311
311: ; preds = %306, %301
br label %312
312: ; preds = %311
%313 = load i32, ptr %18, align 4
%314 = add nsw i32 %313, 1
store i32 %314, ptr %18, align 4
br label %35, !llvm.loop !6
315: ; preds = %44
%316 = load float, ptr %11, align 4
store float %316, ptr %17, align 4
store i32 1, ptr %20, align 4
%317 = load float, ptr %16, align 4
%318 = load float, ptr %17, align 4
%319 = fcmp ole float %317, %318
br i1 %319, label %320, label %322
320: ; preds = %315
%321 = load float, ptr %16, align 4
store float %321, ptr %17, align 4
store i32 6, ptr %20, align 4
br label %322
322: ; preds = %320, %315
%323 = load float, ptr %15, align 4
%324 = load float, ptr %17, align 4
%325 = fcmp ole float %323, %324
br i1 %325, label %326, label %328
326: ; preds = %322
%327 = load float, ptr %15, align 4
store float %327, ptr %17, align 4
store i32 5, ptr %20, align 4
br label %328
328: ; preds = %326, %322
%329 = load float, ptr %13, align 4
%330 = load float, ptr %17, align 4
%331 = fcmp ole float %329, %330
br i1 %331, label %332, label %334
332: ; preds = %328
%333 = load float, ptr %13, align 4
store float %333, ptr %17, align 4
store i32 3, ptr %20, align 4
br label %334
334: ; preds = %332, %328
%335 = load float, ptr %14, align 4
%336 = load float, ptr %17, align 4
%337 = fcmp ole float %335, %336
br i1 %337, label %338, label %340
338: ; preds = %334
%339 = load float, ptr %14, align 4
store float %339, ptr %17, align 4
store i32 4, ptr %20, align 4
br label %340
340: ; preds = %338, %334
%341 = load float, ptr %12, align 4
%342 = load float, ptr %17, align 4
%343 = fcmp ole float %341, %342
br i1 %343, label %344, label %346
344: ; preds = %340
%345 = load float, ptr %12, align 4
store float %345, ptr %17, align 4
store i32 2, ptr %20, align 4
br label %346
346: ; preds = %344, %340
%347 = load i32, ptr %20, align 4
ret i32 %347
}
declare i64 @isx12(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphgryxdm6.c'
source_filename = "/tmp/tmphgryxdm6.c"
target datalayout = "e-m:e-p270: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 @fflush(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphgryxdm6.c"
target datalayout = "e-m:e-p270: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 @fflush(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppp03ir96.c'
source_filename = "/tmp/tmppp03ir96.c"
target datalayout = "e-m:e-p270: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.r8_gamma_log.c = private unnamed_addr constant [7 x double] [double 0xBF5F4CFBB56B5FF7, double 0x3F4B94CEC9F537D1, double 0xBF438137DA5DD682, double 0x3F4A01A019EC73CF, double 0xBF66C16C16C16B39, double 0x3FB5555555555555, double 0x3F7761AC88EC07D7], align 16
@__const.r8_gamma_log.p1 = private unnamed_addr constant [8 x double] [double 0x4013C7EBC72CCF1B, double 0x406939F5DBE7CF07, double 0x40A1E5AD3F55B6E9, double 0x40C61BD60607C998, double 0x40DBE34FC44EF5F9, double 0x40E2CA9ECB08BBCC, double 0x40D9C25F395D45EC, double 0x40BC39D060F94058], align 16
@__const.r8_gamma_log.p2 = private unnamed_addr constant [8 x double] [double 0x4013E5FF995C9307, double 0x4080F34F95D372B4, double 0x40CE497825AD1596, double 0x41068ECA52D49963, double 0x41309ACCC4FBE8BF, double 0x414977D47BE6FFBE, double 0x41537AF96B738BB6, double 0x4147741E870557AD], align 16
@__const.r8_gamma_log.p4 = private unnamed_addr constant [8 x double] [double 0x40CCCC82C5C64704, double 0x414283DEAF4B5720, double 0x419CF647959E37B1, double 0x41E3D818203430F7, double 0x421B6268E3F961D5, double 0x4243D256DDE8451B, double 0x425CAC7FDC026F8F, double 0x426050FBAE6ACCA5], align 16
@__const.r8_gamma_log.q1 = private unnamed_addr constant [8 x double] [double 0x4050DEDB24ED0759, double 0x409165545F0E2840, double 0x40BE3AC1CE7BBABF, double 0x40DAFDF7BA452EAB, double 0x40EADA2344181374, double 0x40EE156718FDB2A1, double 0x40E1BFE8D44BBC1A, double 0x40C128C4A58EDCFC], align 16
@__const.r8_gamma_log.q2 = private unnamed_addr constant [8 x double] [double 0x4066E10D0656F583, double 0x40BE550CA054894B, double 0x410042330FF7AAEF, double 0x41315841D2422817, double 0x4154187F07841A73, double 0x4169AFB0D1612A5B, double 0x4171006254DB4526, double 0x41622ED4F2F06392], align 16
@__const.r8_gamma_log.q4 = private unnamed_addr constant [8 x double] [double 0x40A5050F73363548, double 0x4123833921800ACC, double 0x4183B856FA6B57F8, double 0x41D0B3C9AB676EF8, double 0x420BBA436E364E1B, double 0x4237AC9F24E33E6B, double 0x4253E46FC45DAF37, double 0x4259FA9FBBBD7E2A], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @r8_gamma_log(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca [7 x double], align 16
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca [8 x double], align 16
%11 = alloca [8 x double], align 16
%12 = alloca [8 x double], align 16
%13 = alloca [8 x double], align 16
%14 = alloca [8 x double], align 16
%15 = alloca [8 x double], align 16
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
store double %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.r8_gamma_log.c, i64 56, i1 false)
store double 0xBFE2788CFC6FB619, ptr %5, align 8
store double 0x3FDB0EE6072093CE, ptr %6, align 8
store double 0x3FFCAB0BFA2A2002, ptr %7, align 8
store double 2.250000e+76, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.r8_gamma_log.p1, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.r8_gamma_log.p2, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.r8_gamma_log.p4, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.r8_gamma_log.q1, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.r8_gamma_log.q2, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const.r8_gamma_log.q4, i64 64, i1 false)
store double 0x3FED67F1C864BEB5, ptr %17, align 8
store double 2.550000e+305, ptr %18, align 8
store double 1.790000e+308, ptr %20, align 8
%27 = load double, ptr %2, align 8
store double %27, ptr %25, align 8
%28 = load double, ptr %25, align 8
%29 = fcmp olt double 0.000000e+00, %28
br i1 %29, label %30, label %240
30: ; preds = %1
%31 = load double, ptr %25, align 8
%32 = fcmp ole double %31, 2.550000e+305
br i1 %32, label %33, label %240
33: ; preds = %30
%34 = load double, ptr %25, align 8
%35 = call double (...) @r8_epsilon()
%36 = fcmp ole double %34, %35
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = load double, ptr %25, align 8
%39 = call double @log(double noundef %38) #5
%40 = fneg double %39
store double %40, ptr %16, align 8
br label %239
41: ; preds = %33
%42 = load double, ptr %25, align 8
%43 = fcmp ole double %42, 1.500000e+00
br i1 %43, label %44, label %128
44: ; preds = %41
%45 = load double, ptr %25, align 8
%46 = fcmp olt double %45, 0x3FE5C00000000000
br i1 %46, label %47, label %52
47: ; preds = %44
%48 = load double, ptr %25, align 8
%49 = call double @log(double noundef %48) #5
%50 = fneg double %49
store double %50, ptr %4, align 8
%51 = load double, ptr %25, align 8
store double %51, ptr %21, align 8
br label %56
52: ; preds = %44
store double 0.000000e+00, ptr %4, align 8
%53 = load double, ptr %25, align 8
%54 = fsub double %53, 5.000000e-01
%55 = fsub double %54, 5.000000e-01
store double %55, ptr %21, align 8
br label %56
56: ; preds = %52, %47
%57 = load double, ptr %25, align 8
%58 = fcmp ole double %57, 5.000000e-01
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = load double, ptr %25, align 8
%61 = fcmp ole double 0x3FE5C00000000000, %60
br i1 %61, label %62, label %93
62: ; preds = %59, %56
store double 1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %9, align 4
br label %63
63: ; preds = %81, %62
%64 = load i32, ptr %9, align 4
%65 = icmp slt i32 %64, 8
br i1 %65, label %66, label %84
66: ; preds = %63
%67 = load double, ptr %24, align 8
%68 = load double, ptr %21, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [8 x double], ptr %10, i64 0, i64 %70
%72 = load double, ptr %71, align 8
%73 = call double @llvm.fmuladd.f64(double %67, double %68, double %72)
store double %73, ptr %24, align 8
%74 = load double, ptr %19, align 8
%75 = load double, ptr %21, align 8
%76 = load i32, ptr %9, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [8 x double], ptr %13, i64 0, i64 %77
%79 = load double, ptr %78, align 8
%80 = call double @llvm.fmuladd.f64(double %74, double %75, double %79)
store double %80, ptr %19, align 8
br label %81
81: ; preds = %66
%82 = load i32, ptr %9, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %9, align 4
br label %63, !llvm.loop !6
84: ; preds = %63
%85 = load double, ptr %4, align 8
%86 = load double, ptr %21, align 8
%87 = load double, ptr %21, align 8
%88 = load double, ptr %24, align 8
%89 = load double, ptr %19, align 8
%90 = fdiv double %88, %89
%91 = call double @llvm.fmuladd.f64(double %87, double %90, double 0xBFE2788CFC6FB619)
%92 = call double @llvm.fmuladd.f64(double %86, double %91, double %85)
store double %92, ptr %16, align 8
br label %127
93: ; preds = %59
%94 = load double, ptr %25, align 8
%95 = fsub double %94, 5.000000e-01
%96 = fsub double %95, 5.000000e-01
store double %96, ptr %22, align 8
store double 1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %9, align 4
br label %97
97: ; preds = %115, %93
%98 = load i32, ptr %9, align 4
%99 = icmp slt i32 %98, 8
br i1 %99, label %100, label %118
100: ; preds = %97
%101 = load double, ptr %24, align 8
%102 = load double, ptr %22, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [8 x double], ptr %11, i64 0, i64 %104
%106 = load double, ptr %105, align 8
%107 = call double @llvm.fmuladd.f64(double %101, double %102, double %106)
store double %107, ptr %24, align 8
%108 = load double, ptr %19, align 8
%109 = load double, ptr %22, align 8
%110 = load i32, ptr %9, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [8 x double], ptr %14, i64 0, i64 %111
%113 = load double, ptr %112, align 8
%114 = call double @llvm.fmuladd.f64(double %108, double %109, double %113)
store double %114, ptr %19, align 8
br label %115
115: ; preds = %100
%116 = load i32, ptr %9, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %9, align 4
br label %97, !llvm.loop !8
118: ; preds = %97
%119 = load double, ptr %4, align 8
%120 = load double, ptr %22, align 8
%121 = load double, ptr %22, align 8
%122 = load double, ptr %24, align 8
%123 = load double, ptr %19, align 8
%124 = fdiv double %122, %123
%125 = call double @llvm.fmuladd.f64(double %121, double %124, double 0x3FDB0EE6072093CE)
%126 = call double @llvm.fmuladd.f64(double %120, double %125, double %119)
store double %126, ptr %16, align 8
br label %127
127: ; preds = %118, %84
br label %238
128: ; preds = %41
%129 = load double, ptr %25, align 8
%130 = fcmp ole double %129, 4.000000e+00
br i1 %130, label %131, label %163
131: ; preds = %128
%132 = load double, ptr %25, align 8
%133 = fsub double %132, 2.000000e+00
store double %133, ptr %22, align 8
store double 1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %9, align 4
br label %134
134: ; preds = %152, %131
%135 = load i32, ptr %9, align 4
%136 = icmp slt i32 %135, 8
br i1 %136, label %137, label %155
137: ; preds = %134
%138 = load double, ptr %24, align 8
%139 = load double, ptr %22, align 8
%140 = load i32, ptr %9, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [8 x double], ptr %11, i64 0, i64 %141
%143 = load double, ptr %142, align 8
%144 = call double @llvm.fmuladd.f64(double %138, double %139, double %143)
store double %144, ptr %24, align 8
%145 = load double, ptr %19, align 8
%146 = load double, ptr %22, align 8
%147 = load i32, ptr %9, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [8 x double], ptr %14, i64 0, i64 %148
%150 = load double, ptr %149, align 8
%151 = call double @llvm.fmuladd.f64(double %145, double %146, double %150)
store double %151, ptr %19, align 8
br label %152
152: ; preds = %137
%153 = load i32, ptr %9, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %9, align 4
br label %134, !llvm.loop !9
155: ; preds = %134
%156 = load double, ptr %22, align 8
%157 = load double, ptr %22, align 8
%158 = load double, ptr %24, align 8
%159 = load double, ptr %19, align 8
%160 = fdiv double %158, %159
%161 = call double @llvm.fmuladd.f64(double %157, double %160, double 0x3FDB0EE6072093CE)
%162 = fmul double %156, %161
store double %162, ptr %16, align 8
br label %237
163: ; preds = %128
%164 = load double, ptr %25, align 8
%165 = fcmp ole double %164, 1.200000e+01
br i1 %165, label %166, label %196
166: ; preds = %163
%167 = load double, ptr %25, align 8
%168 = fsub double %167, 4.000000e+00
store double %168, ptr %23, align 8
store double -1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %9, align 4
br label %169
169: ; preds = %187, %166
%170 = load i32, ptr %9, align 4
%171 = icmp slt i32 %170, 8
br i1 %171, label %172, label %190
172: ; preds = %169
%173 = load double, ptr %24, align 8
%174 = load double, ptr %23, align 8
%175 = load i32, ptr %9, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [8 x double], ptr %12, i64 0, i64 %176
%178 = load double, ptr %177, align 8
%179 = call double @llvm.fmuladd.f64(double %173, double %174, double %178)
store double %179, ptr %24, align 8
%180 = load double, ptr %19, align 8
%181 = load double, ptr %23, align 8
%182 = load i32, ptr %9, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [8 x double], ptr %15, i64 0, i64 %183
%185 = load double, ptr %184, align 8
%186 = call double @llvm.fmuladd.f64(double %180, double %181, double %185)
store double %186, ptr %19, align 8
br label %187
187: ; preds = %172
%188 = load i32, ptr %9, align 4
%189 = add nsw i32 %188, 1
store i32 %189, ptr %9, align 4
br label %169, !llvm.loop !10
190: ; preds = %169
%191 = load double, ptr %23, align 8
%192 = load double, ptr %24, align 8
%193 = load double, ptr %19, align 8
%194 = fdiv double %192, %193
%195 = call double @llvm.fmuladd.f64(double %191, double %194, double 0x3FFCAB0BFA2A2002)
store double %195, ptr %16, align 8
br label %236
196: ; preds = %163
store double 0.000000e+00, ptr %16, align 8
%197 = load double, ptr %25, align 8
%198 = fcmp ole double %197, 2.250000e+76
br i1 %198, label %199, label %221
199: ; preds = %196
%200 = getelementptr inbounds [7 x double], ptr %3, i64 0, i64 6
%201 = load double, ptr %200, align 16
store double %201, ptr %16, align 8
%202 = load double, ptr %25, align 8
%203 = load double, ptr %25, align 8
%204 = fmul double %202, %203
store double %204, ptr %26, align 8
store i32 0, ptr %9, align 4
br label %205
205: ; preds = %217, %199
%206 = load i32, ptr %9, align 4
%207 = icmp slt i32 %206, 6
br i1 %207, label %208, label %220
208: ; preds = %205
%209 = load double, ptr %16, align 8
%210 = load double, ptr %26, align 8
%211 = fdiv double %209, %210
%212 = load i32, ptr %9, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [7 x double], ptr %3, i64 0, i64 %213
%215 = load double, ptr %214, align 8
%216 = fadd double %211, %215
store double %216, ptr %16, align 8
br label %217
217: ; preds = %208
%218 = load i32, ptr %9, align 4
%219 = add nsw i32 %218, 1
store i32 %219, ptr %9, align 4
br label %205, !llvm.loop !11
220: ; preds = %205
br label %221
221: ; preds = %220, %196
%222 = load double, ptr %16, align 8
%223 = load double, ptr %25, align 8
%224 = fdiv double %222, %223
store double %224, ptr %16, align 8
%225 = load double, ptr %25, align 8
%226 = call double @log(double noundef %225) #5
store double %226, ptr %4, align 8
%227 = load double, ptr %16, align 8
%228 = fadd double %227, 0x3FED67F1C864BEB5
%229 = load double, ptr %4, align 8
%230 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %229, double %228)
store double %230, ptr %16, align 8
%231 = load double, ptr %16, align 8
%232 = load double, ptr %25, align 8
%233 = load double, ptr %4, align 8
%234 = fsub double %233, 1.000000e+00
%235 = call double @llvm.fmuladd.f64(double %232, double %234, double %231)
store double %235, ptr %16, align 8
br label %236
236: ; preds = %221, %190
br label %237
237: ; preds = %236, %155
br label %238
238: ; preds = %237, %127
br label %239
239: ; preds = %238, %37
br label %241
240: ; preds = %30, %1
store double 1.790000e+308, ptr %16, align 8
br label %241
241: ; preds = %240, %239
%242 = load double, ptr %16, align 8
ret double %242
}
; 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 double @r8_epsilon(...) #2
; Function Attrs: nounwind
declare double @log(double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppp03ir96.c"
target datalayout = "e-m:e-p270: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.r8_gamma_log.c = private unnamed_addr constant [7 x double] [double 0xBF5F4CFBB56B5FF7, double 0x3F4B94CEC9F537D1, double 0xBF438137DA5DD682, double 0x3F4A01A019EC73CF, double 0xBF66C16C16C16B39, double 0x3FB5555555555555, double 0x3F7761AC88EC07D7], align 16
@__const.r8_gamma_log.p1 = private unnamed_addr constant [8 x double] [double 0x4013C7EBC72CCF1B, double 0x406939F5DBE7CF07, double 0x40A1E5AD3F55B6E9, double 0x40C61BD60607C998, double 0x40DBE34FC44EF5F9, double 0x40E2CA9ECB08BBCC, double 0x40D9C25F395D45EC, double 0x40BC39D060F94058], align 16
@__const.r8_gamma_log.p2 = private unnamed_addr constant [8 x double] [double 0x4013E5FF995C9307, double 0x4080F34F95D372B4, double 0x40CE497825AD1596, double 0x41068ECA52D49963, double 0x41309ACCC4FBE8BF, double 0x414977D47BE6FFBE, double 0x41537AF96B738BB6, double 0x4147741E870557AD], align 16
@__const.r8_gamma_log.p4 = private unnamed_addr constant [8 x double] [double 0x40CCCC82C5C64704, double 0x414283DEAF4B5720, double 0x419CF647959E37B1, double 0x41E3D818203430F7, double 0x421B6268E3F961D5, double 0x4243D256DDE8451B, double 0x425CAC7FDC026F8F, double 0x426050FBAE6ACCA5], align 16
@__const.r8_gamma_log.q1 = private unnamed_addr constant [8 x double] [double 0x4050DEDB24ED0759, double 0x409165545F0E2840, double 0x40BE3AC1CE7BBABF, double 0x40DAFDF7BA452EAB, double 0x40EADA2344181374, double 0x40EE156718FDB2A1, double 0x40E1BFE8D44BBC1A, double 0x40C128C4A58EDCFC], align 16
@__const.r8_gamma_log.q2 = private unnamed_addr constant [8 x double] [double 0x4066E10D0656F583, double 0x40BE550CA054894B, double 0x410042330FF7AAEF, double 0x41315841D2422817, double 0x4154187F07841A73, double 0x4169AFB0D1612A5B, double 0x4171006254DB4526, double 0x41622ED4F2F06392], align 16
@__const.r8_gamma_log.q4 = private unnamed_addr constant [8 x double] [double 0x40A5050F73363548, double 0x4123833921800ACC, double 0x4183B856FA6B57F8, double 0x41D0B3C9AB676EF8, double 0x420BBA436E364E1B, double 0x4237AC9F24E33E6B, double 0x4253E46FC45DAF37, double 0x4259FA9FBBBD7E2A], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @r8_gamma_log(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca [7 x double], align 16
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca [8 x double], align 16
%11 = alloca [8 x double], align 16
%12 = alloca [8 x double], align 16
%13 = alloca [8 x double], align 16
%14 = alloca [8 x double], align 16
%15 = alloca [8 x double], align 16
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
store double %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.r8_gamma_log.c, i64 56, i1 false)
store double 0xBFE2788CFC6FB619, ptr %5, align 8
store double 0x3FDB0EE6072093CE, ptr %6, align 8
store double 0x3FFCAB0BFA2A2002, ptr %7, align 8
store double 2.250000e+76, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.r8_gamma_log.p1, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.r8_gamma_log.p2, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.r8_gamma_log.p4, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.r8_gamma_log.q1, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.r8_gamma_log.q2, i64 64, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const.r8_gamma_log.q4, i64 64, i1 false)
store double 0x3FED67F1C864BEB5, ptr %17, align 8
store double 2.550000e+305, ptr %18, align 8
store double 1.790000e+308, ptr %20, align 8
%27 = load double, ptr %2, align 8
store double %27, ptr %25, align 8
%28 = load double, ptr %25, align 8
%29 = fcmp olt double 0.000000e+00, %28
br i1 %29, label %30, label %245
30: ; preds = %1
%31 = load double, ptr %25, align 8
%32 = fcmp ole double %31, 2.550000e+305
br i1 %32, label %33, label %245
33: ; preds = %30
%34 = load double, ptr %25, align 8
%35 = call double (...) @r8_epsilon()
%36 = fcmp ole double %34, %35
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = load double, ptr %25, align 8
%39 = call double @log(double noundef %38) #5
%40 = fneg double %39
store double %40, ptr %16, align 8
br label %244
41: ; preds = %33
%42 = load double, ptr %25, align 8
%43 = fcmp ole double %42, 1.500000e+00
br i1 %43, label %44, label %130
44: ; preds = %41
%45 = load double, ptr %25, align 8
%46 = fcmp olt double %45, 0x3FE5C00000000000
br i1 %46, label %47, label %52
47: ; preds = %44
%48 = load double, ptr %25, align 8
%49 = call double @log(double noundef %48) #5
%50 = fneg double %49
store double %50, ptr %4, align 8
%51 = load double, ptr %25, align 8
store double %51, ptr %21, align 8
br label %56
52: ; preds = %44
store double 0.000000e+00, ptr %4, align 8
%53 = load double, ptr %25, align 8
%54 = fsub double %53, 5.000000e-01
%55 = fsub double %54, 5.000000e-01
store double %55, ptr %21, align 8
br label %56
56: ; preds = %52, %47
%57 = load double, ptr %25, align 8
%58 = fcmp ole double %57, 5.000000e-01
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = load double, ptr %25, align 8
%61 = fcmp ole double 0x3FE5C00000000000, %60
br i1 %61, label %62, label %94
62: ; preds = %59, %56
store double 1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = icmp slt i32 %63, 8
br i1 %64, label %.lr.ph11, label %85
.lr.ph11: ; preds = %62
br label %65
65: ; preds = %.lr.ph11, %80
%66 = load double, ptr %24, align 8
%67 = load double, ptr %21, align 8
%68 = load i32, ptr %9, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [8 x double], ptr %10, i64 0, i64 %69
%71 = load double, ptr %70, align 8
%72 = call double @llvm.fmuladd.f64(double %66, double %67, double %71)
store double %72, ptr %24, align 8
%73 = load double, ptr %19, align 8
%74 = load double, ptr %21, align 8
%75 = load i32, ptr %9, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [8 x double], ptr %13, i64 0, i64 %76
%78 = load double, ptr %77, align 8
%79 = call double @llvm.fmuladd.f64(double %73, double %74, double %78)
store double %79, ptr %19, align 8
br label %80
80: ; preds = %65
%81 = load i32, ptr %9, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %9, align 4
%83 = load i32, ptr %9, align 4
%84 = icmp slt i32 %83, 8
br i1 %84, label %65, label %._crit_edge12, !llvm.loop !6
._crit_edge12: ; preds = %80
br label %85
85: ; preds = %._crit_edge12, %62
%86 = load double, ptr %4, align 8
%87 = load double, ptr %21, align 8
%88 = load double, ptr %21, align 8
%89 = load double, ptr %24, align 8
%90 = load double, ptr %19, align 8
%91 = fdiv double %89, %90
%92 = call double @llvm.fmuladd.f64(double %88, double %91, double 0xBFE2788CFC6FB619)
%93 = call double @llvm.fmuladd.f64(double %87, double %92, double %86)
store double %93, ptr %16, align 8
br label %129
94: ; preds = %59
%95 = load double, ptr %25, align 8
%96 = fsub double %95, 5.000000e-01
%97 = fsub double %96, 5.000000e-01
store double %97, ptr %22, align 8
store double 1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %9, align 4
%98 = load i32, ptr %9, align 4
%99 = icmp slt i32 %98, 8
br i1 %99, label %.lr.ph8, label %120
.lr.ph8: ; preds = %94
br label %100
100: ; preds = %.lr.ph8, %115
%101 = load double, ptr %24, align 8
%102 = load double, ptr %22, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [8 x double], ptr %11, i64 0, i64 %104
%106 = load double, ptr %105, align 8
%107 = call double @llvm.fmuladd.f64(double %101, double %102, double %106)
store double %107, ptr %24, align 8
%108 = load double, ptr %19, align 8
%109 = load double, ptr %22, align 8
%110 = load i32, ptr %9, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [8 x double], ptr %14, i64 0, i64 %111
%113 = load double, ptr %112, align 8
%114 = call double @llvm.fmuladd.f64(double %108, double %109, double %113)
store double %114, ptr %19, align 8
br label %115
115: ; preds = %100
%116 = load i32, ptr %9, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %9, align 4
%118 = load i32, ptr %9, align 4
%119 = icmp slt i32 %118, 8
br i1 %119, label %100, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %115
br label %120
120: ; preds = %._crit_edge9, %94
%121 = load double, ptr %4, align 8
%122 = load double, ptr %22, align 8
%123 = load double, ptr %22, align 8
%124 = load double, ptr %24, align 8
%125 = load double, ptr %19, align 8
%126 = fdiv double %124, %125
%127 = call double @llvm.fmuladd.f64(double %123, double %126, double 0x3FDB0EE6072093CE)
%128 = call double @llvm.fmuladd.f64(double %122, double %127, double %121)
store double %128, ptr %16, align 8
br label %129
129: ; preds = %120, %85
br label %243
130: ; preds = %41
%131 = load double, ptr %25, align 8
%132 = fcmp ole double %131, 4.000000e+00
br i1 %132, label %133, label %166
133: ; preds = %130
%134 = load double, ptr %25, align 8
%135 = fsub double %134, 2.000000e+00
store double %135, ptr %22, align 8
store double 1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %9, align 4
%136 = load i32, ptr %9, align 4
%137 = icmp slt i32 %136, 8
br i1 %137, label %.lr.ph5, label %158
.lr.ph5: ; preds = %133
br label %138
138: ; preds = %.lr.ph5, %153
%139 = load double, ptr %24, align 8
%140 = load double, ptr %22, align 8
%141 = load i32, ptr %9, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [8 x double], ptr %11, i64 0, i64 %142
%144 = load double, ptr %143, align 8
%145 = call double @llvm.fmuladd.f64(double %139, double %140, double %144)
store double %145, ptr %24, align 8
%146 = load double, ptr %19, align 8
%147 = load double, ptr %22, align 8
%148 = load i32, ptr %9, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [8 x double], ptr %14, i64 0, i64 %149
%151 = load double, ptr %150, align 8
%152 = call double @llvm.fmuladd.f64(double %146, double %147, double %151)
store double %152, ptr %19, align 8
br label %153
153: ; preds = %138
%154 = load i32, ptr %9, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %9, align 4
%156 = load i32, ptr %9, align 4
%157 = icmp slt i32 %156, 8
br i1 %157, label %138, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %153
br label %158
158: ; preds = %._crit_edge6, %133
%159 = load double, ptr %22, align 8
%160 = load double, ptr %22, align 8
%161 = load double, ptr %24, align 8
%162 = load double, ptr %19, align 8
%163 = fdiv double %161, %162
%164 = call double @llvm.fmuladd.f64(double %160, double %163, double 0x3FDB0EE6072093CE)
%165 = fmul double %159, %164
store double %165, ptr %16, align 8
br label %242
166: ; preds = %130
%167 = load double, ptr %25, align 8
%168 = fcmp ole double %167, 1.200000e+01
br i1 %168, label %169, label %200
169: ; preds = %166
%170 = load double, ptr %25, align 8
%171 = fsub double %170, 4.000000e+00
store double %171, ptr %23, align 8
store double -1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %9, align 4
%172 = load i32, ptr %9, align 4
%173 = icmp slt i32 %172, 8
br i1 %173, label %.lr.ph2, label %194
.lr.ph2: ; preds = %169
br label %174
174: ; preds = %.lr.ph2, %189
%175 = load double, ptr %24, align 8
%176 = load double, ptr %23, align 8
%177 = load i32, ptr %9, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [8 x double], ptr %12, i64 0, i64 %178
%180 = load double, ptr %179, align 8
%181 = call double @llvm.fmuladd.f64(double %175, double %176, double %180)
store double %181, ptr %24, align 8
%182 = load double, ptr %19, align 8
%183 = load double, ptr %23, align 8
%184 = load i32, ptr %9, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [8 x double], ptr %15, i64 0, i64 %185
%187 = load double, ptr %186, align 8
%188 = call double @llvm.fmuladd.f64(double %182, double %183, double %187)
store double %188, ptr %19, align 8
br label %189
189: ; preds = %174
%190 = load i32, ptr %9, align 4
%191 = add nsw i32 %190, 1
store i32 %191, ptr %9, align 4
%192 = load i32, ptr %9, align 4
%193 = icmp slt i32 %192, 8
br i1 %193, label %174, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %189
br label %194
194: ; preds = %._crit_edge3, %169
%195 = load double, ptr %23, align 8
%196 = load double, ptr %24, align 8
%197 = load double, ptr %19, align 8
%198 = fdiv double %196, %197
%199 = call double @llvm.fmuladd.f64(double %195, double %198, double 0x3FFCAB0BFA2A2002)
store double %199, ptr %16, align 8
br label %241
200: ; preds = %166
store double 0.000000e+00, ptr %16, align 8
%201 = load double, ptr %25, align 8
%202 = fcmp ole double %201, 2.250000e+76
br i1 %202, label %203, label %226
203: ; preds = %200
%204 = getelementptr inbounds [7 x double], ptr %3, i64 0, i64 6
%205 = load double, ptr %204, align 16
store double %205, ptr %16, align 8
%206 = load double, ptr %25, align 8
%207 = load double, ptr %25, align 8
%208 = fmul double %206, %207
store double %208, ptr %26, align 8
store i32 0, ptr %9, align 4
%209 = load i32, ptr %9, align 4
%210 = icmp slt i32 %209, 6
br i1 %210, label %.lr.ph, label %225
.lr.ph: ; preds = %203
br label %211
211: ; preds = %.lr.ph, %220
%212 = load double, ptr %16, align 8
%213 = load double, ptr %26, align 8
%214 = fdiv double %212, %213
%215 = load i32, ptr %9, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [7 x double], ptr %3, i64 0, i64 %216
%218 = load double, ptr %217, align 8
%219 = fadd double %214, %218
store double %219, ptr %16, align 8
br label %220
220: ; preds = %211
%221 = load i32, ptr %9, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %9, align 4
%223 = load i32, ptr %9, align 4
%224 = icmp slt i32 %223, 6
br i1 %224, label %211, label %._crit_edge, !llvm.loop !11
._crit_edge: ; preds = %220
br label %225
225: ; preds = %._crit_edge, %203
br label %226
226: ; preds = %225, %200
%227 = load double, ptr %16, align 8
%228 = load double, ptr %25, align 8
%229 = fdiv double %227, %228
store double %229, ptr %16, align 8
%230 = load double, ptr %25, align 8
%231 = call double @log(double noundef %230) #5
store double %231, ptr %4, align 8
%232 = load double, ptr %16, align 8
%233 = fadd double %232, 0x3FED67F1C864BEB5
%234 = load double, ptr %4, align 8
%235 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %234, double %233)
store double %235, ptr %16, align 8
%236 = load double, ptr %16, align 8
%237 = load double, ptr %25, align 8
%238 = load double, ptr %4, align 8
%239 = fsub double %238, 1.000000e+00
%240 = call double @llvm.fmuladd.f64(double %237, double %239, double %236)
store double %240, ptr %16, align 8
br label %241
241: ; preds = %226, %194
br label %242
242: ; preds = %241, %158
br label %243
243: ; preds = %242, %129
br label %244
244: ; preds = %243, %37
br label %246
245: ; preds = %30, %1
store double 1.790000e+308, ptr %16, align 8
br label %246
246: ; preds = %245, %244
%247 = load double, ptr %16, align 8
ret double %247
}
; 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 double @r8_epsilon(...) #2
; Function Attrs: nounwind
declare double @log(double noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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}
|
; ModuleID = '/tmp/tmpgc3x7y03.c'
source_filename = "/tmp/tmpgc3x7y03.c"
target datalayout = "e-m:e-p270: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 @setRedStill(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @sendConf(i32 noundef %3, i32 noundef 158)
%5 = load i32, ptr %2, align 4
%6 = call i32 @sendBlink(i32 noundef %5, i32 noundef 17, i32 noundef 101, i32 noundef 100)
%7 = load i32, ptr %2, align 4
%8 = call i32 @sendBlink(i32 noundef %7, i32 noundef 19, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @sendConf(i32 noundef, i32 noundef) #1
declare i32 @sendBlink(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/tmpgc3x7y03.c"
target datalayout = "e-m:e-p270: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 @setRedStill(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @sendConf(i32 noundef %3, i32 noundef 158)
%5 = load i32, ptr %2, align 4
%6 = call i32 @sendBlink(i32 noundef %5, i32 noundef 17, i32 noundef 101, i32 noundef 100)
%7 = load i32, ptr %2, align 4
%8 = call i32 @sendBlink(i32 noundef %7, i32 noundef 19, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @sendConf(i32 noundef, i32 noundef) #1
declare i32 @sendBlink(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/tmpz5g82yee.c'
source_filename = "/tmp/tmpz5g82yee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @diminishing_returns(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
%8 = load float, ptr %4, align 4
%9 = fpext float %8 to double
%10 = fcmp olt double %9, 0.000000e+00
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load float, ptr %4, align 4
%13 = fneg float %12
%14 = load float, ptr %5, align 4
%15 = call float @diminishing_returns(float noundef %13, float noundef %14)
%16 = fneg float %15
store float %16, ptr %3, align 4
br label %31
17: ; preds = %2
%18 = load float, ptr %4, align 4
%19 = load float, ptr %5, align 4
%20 = fdiv float %18, %19
store float %20, ptr %6, align 4
%21 = load float, ptr %6, align 4
%22 = fpext float %21 to double
%23 = call double @llvm.fmuladd.f64(double 8.000000e+00, double %22, double 1.000000e+00)
%24 = call double @sqrt(double noundef %23) #3
%25 = fsub double %24, 1.000000e+00
%26 = fdiv double %25, 2.000000e+00
%27 = fptrunc double %26 to float
store float %27, ptr %7, align 4
%28 = load float, ptr %7, align 4
%29 = load float, ptr %5, align 4
%30 = fmul float %28, %29
store float %30, ptr %3, align 4
br label %31
31: ; preds = %17, %11
%32 = load float, ptr %3, align 4
ret float %32
}
; Function Attrs: nounwind
declare double @sqrt(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/tmpz5g82yee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @diminishing_returns(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
%8 = load float, ptr %4, align 4
%9 = fpext float %8 to double
%10 = fcmp olt double %9, 0.000000e+00
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load float, ptr %4, align 4
%13 = fneg float %12
%14 = load float, ptr %5, align 4
%15 = call float @diminishing_returns(float noundef %13, float noundef %14)
%16 = fneg float %15
store float %16, ptr %3, align 4
br label %31
17: ; preds = %2
%18 = load float, ptr %4, align 4
%19 = load float, ptr %5, align 4
%20 = fdiv float %18, %19
store float %20, ptr %6, align 4
%21 = load float, ptr %6, align 4
%22 = fpext float %21 to double
%23 = call double @llvm.fmuladd.f64(double 8.000000e+00, double %22, double 1.000000e+00)
%24 = call double @sqrt(double noundef %23) #3
%25 = fsub double %24, 1.000000e+00
%26 = fdiv double %25, 2.000000e+00
%27 = fptrunc double %26 to float
store float %27, ptr %7, align 4
%28 = load float, ptr %7, align 4
%29 = load float, ptr %5, align 4
%30 = fmul float %28, %29
store float %30, ptr %3, align 4
br label %31
31: ; preds = %17, %11
%32 = load float, ptr %3, align 4
ret float %32
}
; Function Attrs: nounwind
declare double @sqrt(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/tmp7vt5faav.c'
source_filename = "/tmp/tmp7vt5faav.c"
target datalayout = "e-m:e-p270: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 @vec2_snap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
%9 = load float, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds float, ptr %10, i64 0
%12 = load float, ptr %11, align 4
%13 = fdiv float %9, %12
%14 = call float @llvm.floor.f32(float %13)
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds float, ptr %15, i64 0
%17 = load float, ptr %16, align 4
%18 = fmul float %14, %17
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds float, ptr %19, i64 0
store float %18, ptr %20, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds float, ptr %21, i64 1
%23 = load float, ptr %22, align 4
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds float, ptr %24, i64 1
%26 = load float, ptr %25, align 4
%27 = fdiv float %23, %26
%28 = call float @llvm.floor.f32(float %27)
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds float, ptr %29, i64 1
%31 = load float, ptr %30, align 4
%32 = fmul float %28, %31
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds float, ptr %33, i64 1
store float %32, ptr %34, align 4
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.floor.f32(float) #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7vt5faav.c"
target datalayout = "e-m:e-p270: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 @vec2_snap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
%9 = load float, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds float, ptr %10, i64 0
%12 = load float, ptr %11, align 4
%13 = fdiv float %9, %12
%14 = call float @llvm.floor.f32(float %13)
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds float, ptr %15, i64 0
%17 = load float, ptr %16, align 4
%18 = fmul float %14, %17
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds float, ptr %19, i64 0
store float %18, ptr %20, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds float, ptr %21, i64 1
%23 = load float, ptr %22, align 4
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds float, ptr %24, i64 1
%26 = load float, ptr %25, align 4
%27 = fdiv float %23, %26
%28 = call float @llvm.floor.f32(float %27)
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds float, ptr %29, i64 1
%31 = load float, ptr %30, align 4
%32 = fmul float %28, %31
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds float, ptr %33, i64 1
store float %32, ptr %34, align 4
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.floor.f32(float) #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbj7k81_q.c'
source_filename = "/tmp/tmpbj7k81_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"cd\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"echo\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"getenv\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @testCommandeInterne(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 %6, label %27
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str)
%9 = icmp eq i64 %8, 0
br i1 %9, label %26, label %10
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1)
%13 = icmp eq i64 %12, 0
br i1 %13, label %26, label %14
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp eq i64 %16, 0
br i1 %17, label %26, label %18
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load ptr, ptr %3, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.4)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22, %18, %14, %10, %6
store i32 1, ptr %2, align 4
br label %28
27: ; preds = %22, %1
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %26
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @strcmp(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/tmpbj7k81_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"cd\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"echo\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"getenv\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @testCommandeInterne(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 %6, label %27
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str)
%9 = icmp eq i64 %8, 0
br i1 %9, label %26, label %10
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1)
%13 = icmp eq i64 %12, 0
br i1 %13, label %26, label %14
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp eq i64 %16, 0
br i1 %17, label %26, label %18
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load ptr, ptr %3, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.4)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22, %18, %14, %10, %6
store i32 1, ptr %2, align 4
br label %28
27: ; preds = %22, %1
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %27, %26
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @strcmp(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/tmpp91ydqfr.c'
source_filename = "/tmp/tmpp91ydqfr.c"
target datalayout = "e-m:e-p270: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 @bbp_swap64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 56
%5 = sext i32 %4 to i64
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = and i64 %7, 71776119061217280
%9 = ashr i64 %8, 40
%10 = or i64 %5, %9
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = and i64 %12, 280375465082880
%14 = ashr i64 %13, 24
%15 = or i64 %10, %14
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = and i64 %17, 1095216660480
%19 = ashr i64 %18, 8
%20 = or i64 %15, %19
%21 = load i32, ptr %2, align 4
%22 = and i32 %21, -16777216
%23 = shl i32 %22, 8
%24 = zext i32 %23 to i64
%25 = or i64 %20, %24
%26 = load i32, ptr %2, align 4
%27 = and i32 %26, 16711680
%28 = shl i32 %27, 24
%29 = sext i32 %28 to i64
%30 = or i64 %25, %29
%31 = load i32, ptr %2, align 4
%32 = and i32 %31, 65280
%33 = shl i32 %32, 40
%34 = sext i32 %33 to i64
%35 = or i64 %30, %34
%36 = load i32, ptr %2, align 4
%37 = and i32 %36, 255
%38 = shl i32 %37, 56
%39 = sext i32 %38 to i64
%40 = or i64 %35, %39
%41 = trunc i64 %40 to i32
ret i32 %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpp91ydqfr.c"
target datalayout = "e-m:e-p270: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 @bbp_swap64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 56
%5 = sext i32 %4 to i64
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = and i64 %7, 71776119061217280
%9 = ashr i64 %8, 40
%10 = or i64 %5, %9
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = and i64 %12, 280375465082880
%14 = ashr i64 %13, 24
%15 = or i64 %10, %14
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = and i64 %17, 1095216660480
%19 = ashr i64 %18, 8
%20 = or i64 %15, %19
%21 = load i32, ptr %2, align 4
%22 = and i32 %21, -16777216
%23 = shl i32 %22, 8
%24 = zext i32 %23 to i64
%25 = or i64 %20, %24
%26 = load i32, ptr %2, align 4
%27 = and i32 %26, 16711680
%28 = shl i32 %27, 24
%29 = sext i32 %28 to i64
%30 = or i64 %25, %29
%31 = load i32, ptr %2, align 4
%32 = and i32 %31, 65280
%33 = shl i32 %32, 40
%34 = sext i32 %33 to i64
%35 = or i64 %30, %34
%36 = load i32, ptr %2, align 4
%37 = and i32 %36, 255
%38 = shl i32 %37, 56
%39 = sext i32 %38 to i64
%40 = or i64 %35, %39
%41 = trunc i64 %40 to i32
ret i32 %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpxjf62faz.c'
source_filename = "/tmp/tmpxjf62faz.c"
target datalayout = "e-m:e-p270: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 [52 x i8] c"Usage: reheadSQ -m fa.dict -a assembly -s species\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [121 x i8] c"Takes sam format from stdin, prints header where SQ lines are replaced with dict contents and rest of stdin to stdout.\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [116 x i8] c"-d --dict [file] Path to fasta dict file (as generated by 'samtools dict -a ASSEMBLY -s SPECIES genome.fasta')\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"-h --help Display this usage information.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = load i32, ptr %2, align 4
%8 = call i32 @exit(i32 noundef %7) #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/tmpxjf62faz.c"
target datalayout = "e-m:e-p270: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 [52 x i8] c"Usage: reheadSQ -m fa.dict -a assembly -s species\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [121 x i8] c"Takes sam format from stdin, prints header where SQ lines are replaced with dict contents and rest of stdin to stdout.\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [116 x i8] c"-d --dict [file] Path to fasta dict file (as generated by 'samtools dict -a ASSEMBLY -s SPECIES genome.fasta')\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"-h --help Display this usage information.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = load i32, ptr %2, align 4
%8 = call i32 @exit(i32 noundef %7) #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/tmpw7n3hpnm.c'
source_filename = "/tmp/tmpw7n3hpnm.c"
target datalayout = "e-m:e-p270: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 @strupper(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %8, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %16
8: ; preds = %3
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call signext i8 @toupper(i8 noundef signext %10)
%12 = load ptr, ptr %2, align 8
store i8 %11, ptr %12, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %2, align 8
%15 = load i8, ptr %13, align 1
br label %3, !llvm.loop !6
16: ; preds = %3
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw7n3hpnm.c"
target datalayout = "e-m:e-p270: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 @strupper(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 i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = call signext i8 @toupper(i8 noundef signext %9)
%11 = load ptr, ptr %2, align 8
store i8 %10, ptr %11, align 1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
%14 = load i8, ptr %12, align 1
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %19
19: ; preds = %._crit_edge, %1
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa926d7o7.c'
source_filename = "/tmp/tmpa926d7o7.c"
target datalayout = "e-m:e-p270: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.array1 = private unnamed_addr constant [100 x i8] c"GodissagirlGodisagirlis\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca [100 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.array1, i64 100, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 100, i1 false)
%3 = getelementptr inbounds [100 x i8], ptr %2, i32 0, i32 0
store i8 105, ptr %3, align 16
%4 = getelementptr inbounds [100 x i8], ptr %2, i32 0, i32 1
store i8 115, ptr %4, align 1
%5 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @countOfSubstring(ptr noundef %5, ptr noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i32 noundef) #3
declare i32 @countOfSubstring(ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpa926d7o7.c"
target datalayout = "e-m:e-p270: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.array1 = private unnamed_addr constant [100 x i8] c"GodissagirlGodisagirlis\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca [100 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.array1, i64 100, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 100, i1 false)
%3 = getelementptr inbounds [100 x i8], ptr %2, i32 0, i32 0
store i8 105, ptr %3, align 16
%4 = getelementptr inbounds [100 x i8], ptr %2, i32 0, i32 1
store i8 115, ptr %4, align 1
%5 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @countOfSubstring(ptr noundef %5, ptr noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i32 noundef) #3
declare i32 @countOfSubstring(ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpkgq_8rj6.c'
source_filename = "/tmp/tmpkgq_8rj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"res = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"time = %.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = call double (...) @gt()
store double %4, ptr %2, align 8
%5 = call i32 (...) @safe_run()
store i32 %5, ptr %1, align 4
%6 = call double (...) @gt()
store double %6, ptr %3, align 8
%7 = load i32, ptr %1, align 4
%8 = sitofp i32 %7 to double
%9 = call i32 @printf(ptr noundef @.str, double noundef %8)
%10 = load double, ptr %3, align 8
%11 = load double, ptr %2, align 8
%12 = fsub double %10, %11
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %12)
ret i32 0
}
declare double @gt(...) #1
declare i32 @safe_run(...) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkgq_8rj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"res = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"time = %.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = call double (...) @gt()
store double %4, ptr %2, align 8
%5 = call i32 (...) @safe_run()
store i32 %5, ptr %1, align 4
%6 = call double (...) @gt()
store double %6, ptr %3, align 8
%7 = load i32, ptr %1, align 4
%8 = sitofp i32 %7 to double
%9 = call i32 @printf(ptr noundef @.str, double noundef %8)
%10 = load double, ptr %3, align 8
%11 = load double, ptr %2, align 8
%12 = fsub double %10, %11
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %12)
ret i32 0
}
declare double @gt(...) #1
declare i32 @safe_run(...) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfb9b2ewd.c'
source_filename = "/tmp/tmpfb9b2ewd.c"
target datalayout = "e-m:e-p270: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/tmpfb9b2ewd.c"
target datalayout = "e-m:e-p270: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/tmp90g2eezt.c'
source_filename = "/tmp/tmp90g2eezt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"can't write 0x%02x to 0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @store_byte(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = icmp uge i32 %9, -131072
br i1 %10, label %11, label %17
11: ; preds = %4
%12 = load i32, ptr %5, align 4
%13 = icmp ule i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
call void @reg_write_byte(i32 noundef %15, i32 noundef %16)
br label %56
17: ; preds = %11, %4
%18 = load i32, ptr %5, align 4
%19 = and i32 %18, -536870913
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp uge i32 %20, -1614807040
br i1 %21, label %22, label %28
22: ; preds = %17
%23 = load i32, ptr %5, align 4
%24 = icmp ult i32 %23, -1612709888
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
call void @flash_write(i32 noundef %26, i32 noundef %27)
br label %56
28: ; preds = %22, %17
%29 = load i32, ptr %5, align 4
%30 = icmp uge i32 %29, -1614807040
br i1 %30, label %31, label %37
31: ; preds = %28
%32 = load i32, ptr %5, align 4
%33 = icmp ult i32 %32, -1612709888
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %6, align 4
call void @flash_write(i32 noundef %35, i32 noundef %36)
br label %56
37: ; preds = %31, %28
%38 = load i32, ptr %5, align 4
%39 = icmp uge i32 %38, -2147483648
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = load i32, ptr %5, align 4
%42 = icmp ult i32 %41, -2113929216
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = load ptr, ptr %7, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = getelementptr inbounds i32, ptr %48, i64 -2147483648
store i32 %44, ptr %49, align 4
br label %56
50: ; preds = %40, %37
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %5, align 4
%55 = call i32 @printf(ptr noundef @.str, i32 noundef %53, i32 noundef %54)
br label %56
56: ; preds = %52, %43, %34, %25, %14
ret void
}
declare void @reg_write_byte(i32 noundef, i32 noundef) #1
declare void @flash_write(i32 noundef, i32 noundef) #1
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/tmp90g2eezt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"can't write 0x%02x to 0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @store_byte(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = icmp uge i32 %9, -131072
br i1 %10, label %11, label %17
11: ; preds = %4
%12 = load i32, ptr %5, align 4
%13 = icmp ule i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
call void @reg_write_byte(i32 noundef %15, i32 noundef %16)
br label %56
17: ; preds = %11, %4
%18 = load i32, ptr %5, align 4
%19 = and i32 %18, -536870913
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp uge i32 %20, -1614807040
br i1 %21, label %22, label %28
22: ; preds = %17
%23 = load i32, ptr %5, align 4
%24 = icmp ult i32 %23, -1612709888
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
call void @flash_write(i32 noundef %26, i32 noundef %27)
br label %56
28: ; preds = %22, %17
%29 = load i32, ptr %5, align 4
%30 = icmp uge i32 %29, -1614807040
br i1 %30, label %31, label %37
31: ; preds = %28
%32 = load i32, ptr %5, align 4
%33 = icmp ult i32 %32, -1612709888
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %6, align 4
call void @flash_write(i32 noundef %35, i32 noundef %36)
br label %56
37: ; preds = %31, %28
%38 = load i32, ptr %5, align 4
%39 = icmp uge i32 %38, -2147483648
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = load i32, ptr %5, align 4
%42 = icmp ult i32 %41, -2113929216
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = load ptr, ptr %7, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = getelementptr inbounds i32, ptr %48, i64 -2147483648
store i32 %44, ptr %49, align 4
br label %56
50: ; preds = %40, %37
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %5, align 4
%55 = call i32 @printf(ptr noundef @.str, i32 noundef %53, i32 noundef %54)
br label %56
56: ; preds = %52, %43, %34, %25, %14
ret void
}
declare void @reg_write_byte(i32 noundef, i32 noundef) #1
declare void @flash_write(i32 noundef, i32 noundef) #1
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/tmpmcygrgn4.c'
source_filename = "/tmp/tmpmcygrgn4.c"
target datalayout = "e-m:e-p270: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 @ft_check_sudoku(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 81
br i1 %12, label %13, label %14
13: ; preds = %3
store i32 1, ptr %4, align 4
br label %78
14: ; preds = %3
%15 = load i32, ptr %6, align 4
%16 = sdiv i32 %15, 9
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %6, align 4
%18 = srem i32 %17, 9
store i32 %18, ptr %10, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [9 x i32], ptr %19, i64 %21
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [9 x i32], ptr %22, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %14
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
%32 = load i32, ptr %7, align 4
%33 = call i32 @ft_check_sudoku(ptr noundef %29, i32 noundef %31, i32 noundef %32)
store i32 %33, ptr %4, align 4
br label %78
34: ; preds = %14
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %69, %34
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
%38 = icmp sle i32 %36, 9
br i1 %38, label %39, label %70
39: ; preds = %35
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %7, align 4
%44 = call i32 @ft_missing(ptr noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43)
%45 = icmp eq i32 %44, 3
br i1 %45, label %46, label %63
46: ; preds = %39
%47 = load i32, ptr %7, align 4
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [9 x i32], ptr %48, i64 %50
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [9 x i32], ptr %51, i64 0, i64 %53
store i32 %47, ptr %54, align 4
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
%58 = load i32, ptr %7, align 4
%59 = call i32 @ft_check_sudoku(ptr noundef %55, i32 noundef %57, i32 noundef %58)
%60 = icmp eq i32 %59, 1
br i1 %60, label %61, label %62
61: ; preds = %46
store i32 1, ptr %4, align 4
br label %78
62: ; preds = %46
br label %63
63: ; preds = %62, %39
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %7, align 4
%66 = load i32, ptr %7, align 4
%67 = icmp eq i32 %66, 10
br i1 %67, label %68, label %69
68: ; preds = %63
store i32 1, ptr %7, align 4
br label %69
69: ; preds = %68, %63
br label %35, !llvm.loop !6
70: ; preds = %35
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [9 x i32], ptr %71, i64 %73
%75 = load i32, ptr %10, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [9 x i32], ptr %74, i64 0, i64 %76
store i32 0, ptr %77, align 4
store i32 0, ptr %4, align 4
br label %78
78: ; preds = %70, %61, %28, %13
%79 = load i32, ptr %4, align 4
ret i32 %79
}
declare i32 @ft_missing(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmcygrgn4.c"
target datalayout = "e-m:e-p270: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 @ft_check_sudoku(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 81
br i1 %12, label %13, label %14
13: ; preds = %3
store i32 1, ptr %4, align 4
br label %80
14: ; preds = %3
%15 = load i32, ptr %6, align 4
%16 = sdiv i32 %15, 9
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %6, align 4
%18 = srem i32 %17, 9
store i32 %18, ptr %10, align 4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [9 x i32], ptr %19, i64 %21
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [9 x i32], ptr %22, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %14
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
%32 = load i32, ptr %7, align 4
%33 = call i32 @ft_check_sudoku(ptr noundef %29, i32 noundef %31, i32 noundef %32)
store i32 %33, ptr %4, align 4
br label %80
34: ; preds = %14
store i32 0, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
%37 = icmp sle i32 %35, 9
br i1 %37, label %.lr.ph, label %72
.lr.ph: ; preds = %34
br label %38
38: ; preds = %.lr.ph, %68
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %7, align 4
%43 = call i32 @ft_missing(ptr noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42)
%44 = icmp eq i32 %43, 3
br i1 %44, label %45, label %62
45: ; preds = %38
%46 = load i32, ptr %7, align 4
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [9 x i32], ptr %47, i64 %49
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [9 x i32], ptr %50, i64 0, i64 %52
store i32 %46, ptr %53, align 4
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
%57 = load i32, ptr %7, align 4
%58 = call i32 @ft_check_sudoku(ptr noundef %54, i32 noundef %56, i32 noundef %57)
%59 = icmp eq i32 %58, 1
br i1 %59, label %60, label %61
60: ; preds = %45
store i32 1, ptr %4, align 4
br label %80
61: ; preds = %45
br label %62
62: ; preds = %61, %38
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp eq i32 %65, 10
br i1 %66, label %67, label %68
67: ; preds = %62
store i32 1, ptr %7, align 4
br label %68
68: ; preds = %67, %62
%69 = load i32, ptr %8, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %8, align 4
%71 = icmp sle i32 %69, 9
br i1 %71, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %72
72: ; preds = %._crit_edge, %34
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [9 x i32], ptr %73, i64 %75
%77 = load i32, ptr %10, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [9 x i32], ptr %76, i64 0, i64 %78
store i32 0, ptr %79, align 4
store i32 0, ptr %4, align 4
br label %80
80: ; preds = %72, %60, %28, %13
%81 = load i32, ptr %4, align 4
ret i32 %81
}
declare i32 @ft_missing(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp50oefbn4.c'
source_filename = "/tmp/tmp50oefbn4.c"
target datalayout = "e-m:e-p270: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 @ehnlc_strrchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store ptr null, ptr %5, align 8
br label %6
6: ; preds = %19, %2
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %10, label %22
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load ptr, ptr %3, align 8
store ptr %17, ptr %5, align 8
br label %18
18: ; preds = %16, %10
br label %19
19: ; preds = %18
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %3, align 8
br label %6, !llvm.loop !6
22: ; preds = %6
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp50oefbn4.c"
target datalayout = "e-m:e-p270: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 @ehnlc_strrchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %18
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
store ptr %16, ptr %5, align 8
br label %17
17: ; preds = %15, %9
br label %18
18: ; preds = %17
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = icmp ne i8 %22, 0
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
%25 = load ptr, ptr %5, align 8
ret ptr %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6nn5whoj.c'
source_filename = "/tmp/tmp6nn5whoj.c"
target datalayout = "e-m:e-p270: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 @dupe_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %16
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
br label %16
16: ; preds = %12, %6, %1
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #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/tmp6nn5whoj.c"
target datalayout = "e-m:e-p270: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 @dupe_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %16
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
br label %16
16: ; preds = %12, %6, %1
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #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/tmpkmf6al79.c'
source_filename = "/tmp/tmpkmf6al79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Lunghezza: %d \0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @FindPointer(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
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %32, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 32
br i1 %15, label %16, label %30
16: ; preds = %8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 9
br i1 %23, label %24, label %30
24: ; preds = %16
%25 = load i32, ptr %3, align 4
%26 = load ptr, ptr %2, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %25, %28
br label %30
30: ; preds = %24, %16, %8
%31 = phi i1 [ false, %16 ], [ false, %8 ], [ %29, %24 ]
br i1 %31, label %32, label %35
32: ; preds = %30
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
br label %8, !llvm.loop !6
35: ; preds = %30
br label %36
36: ; preds = %60, %35
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 32
br i1 %43, label %52, label %44
44: ; preds = %36
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %3, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 9
br i1 %51, label %52, label %58
52: ; preds = %44, %36
%53 = load i32, ptr %3, align 4
%54 = load ptr, ptr %2, align 8
%55 = call i32 @strlen(ptr noundef %54)
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %53, %56
br label %58
58: ; preds = %52, %44
%59 = phi i1 [ false, %44 ], [ %57, %52 ]
br i1 %59, label %60, label %63
60: ; preds = %58
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
br label %36, !llvm.loop !8
63: ; preds = %58
%64 = load ptr, ptr %2, align 8
%65 = load i32, ptr %3, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
store ptr %67, ptr %4, align 8
%68 = load ptr, ptr %4, align 8
ret ptr %68
}
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkmf6al79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Lunghezza: %d \0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @FindPointer(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
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %32, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 32
br i1 %15, label %16, label %30
16: ; preds = %8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 9
br i1 %23, label %24, label %30
24: ; preds = %16
%25 = load i32, ptr %3, align 4
%26 = load ptr, ptr %2, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %25, %28
br label %30
30: ; preds = %24, %16, %8
%31 = phi i1 [ false, %16 ], [ false, %8 ], [ %29, %24 ]
br i1 %31, label %32, label %35
32: ; preds = %30
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
br label %8, !llvm.loop !6
35: ; preds = %30
br label %36
36: ; preds = %60, %35
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 32
br i1 %43, label %52, label %44
44: ; preds = %36
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %3, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 9
br i1 %51, label %52, label %58
52: ; preds = %44, %36
%53 = load i32, ptr %3, align 4
%54 = load ptr, ptr %2, align 8
%55 = call i32 @strlen(ptr noundef %54)
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %53, %56
br label %58
58: ; preds = %52, %44
%59 = phi i1 [ false, %44 ], [ %57, %52 ]
br i1 %59, label %60, label %63
60: ; preds = %58
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
br label %36, !llvm.loop !8
63: ; preds = %58
%64 = load ptr, ptr %2, align 8
%65 = load i32, ptr %3, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
store ptr %67, ptr %4, align 8
%68 = load ptr, ptr %4, align 8
ret ptr %68
}
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmppqtksvly.c'
source_filename = "/tmp/tmppqtksvly.c"
target datalayout = "e-m:e-p270: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 @Tween_ElasticInEasing(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %3, align 8
store double 1.000000e-01, ptr %5, align 8
store double 4.000000e-01, ptr %6, align 8
%7 = load double, ptr %3, align 8
%8 = fcmp oeq double %7, 0.000000e+00
br i1 %8, label %9, label %10
9: ; preds = %1
store double 0.000000e+00, ptr %2, align 8
br label %49
10: ; preds = %1
%11 = load double, ptr %3, align 8
%12 = fcmp oeq double %11, 1.000000e+00
br i1 %12, label %13, label %14
13: ; preds = %10
store double 1.000000e+00, ptr %2, align 8
br label %49
14: ; preds = %10
%15 = load double, ptr %5, align 8
%16 = fcmp une double %15, 0.000000e+00
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load double, ptr %5, align 8
%19 = fcmp olt double %18, 1.000000e+00
br i1 %19, label %20, label %23
20: ; preds = %17, %14
store double 1.000000e+00, ptr %5, align 8
%21 = load double, ptr %6, align 8
%22 = fdiv double %21, 4.000000e+00
store double %22, ptr %4, align 8
br label %31
23: ; preds = %17
%24 = load double, ptr %6, align 8
%25 = load double, ptr %5, align 8
%26 = fdiv double 1.000000e+00, %25
%27 = fptosi double %26 to i32
%28 = call double @asin(i32 noundef %27)
%29 = fmul double %24, %28
%30 = fdiv double %29, 0x401921FB53C8D4F1
store double %30, ptr %4, align 8
br label %31
31: ; preds = %23, %20
%32 = load double, ptr %3, align 8
%33 = fsub double %32, 1.000000e+00
store double %33, ptr %3, align 8
%34 = load double, ptr %5, align 8
%35 = load double, ptr %3, align 8
%36 = fmul double 1.000000e+01, %35
%37 = fptosi double %36 to i32
%38 = call double @pow(i32 noundef 2, i32 noundef %37)
%39 = fmul double %34, %38
%40 = load double, ptr %3, align 8
%41 = load double, ptr %4, align 8
%42 = fsub double %40, %41
%43 = fmul double %42, 0x401921FB53C8D4F1
%44 = load double, ptr %6, align 8
%45 = fdiv double %43, %44
%46 = call double @sin(double noundef %45) #3
%47 = fmul double %39, %46
%48 = fneg double %47
store double %48, ptr %2, align 8
br label %49
49: ; preds = %31, %13, %9
%50 = load double, ptr %2, align 8
ret double %50
}
declare double @asin(i32 noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmppqtksvly.c"
target datalayout = "e-m:e-p270: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 @Tween_ElasticInEasing(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %3, align 8
store double 1.000000e-01, ptr %5, align 8
store double 4.000000e-01, ptr %6, align 8
%7 = load double, ptr %3, align 8
%8 = fcmp oeq double %7, 0.000000e+00
br i1 %8, label %9, label %10
9: ; preds = %1
store double 0.000000e+00, ptr %2, align 8
br label %49
10: ; preds = %1
%11 = load double, ptr %3, align 8
%12 = fcmp oeq double %11, 1.000000e+00
br i1 %12, label %13, label %14
13: ; preds = %10
store double 1.000000e+00, ptr %2, align 8
br label %49
14: ; preds = %10
%15 = load double, ptr %5, align 8
%16 = fcmp une double %15, 0.000000e+00
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load double, ptr %5, align 8
%19 = fcmp olt double %18, 1.000000e+00
br i1 %19, label %20, label %23
20: ; preds = %17, %14
store double 1.000000e+00, ptr %5, align 8
%21 = load double, ptr %6, align 8
%22 = fdiv double %21, 4.000000e+00
store double %22, ptr %4, align 8
br label %31
23: ; preds = %17
%24 = load double, ptr %6, align 8
%25 = load double, ptr %5, align 8
%26 = fdiv double 1.000000e+00, %25
%27 = fptosi double %26 to i32
%28 = call double @asin(i32 noundef %27)
%29 = fmul double %24, %28
%30 = fdiv double %29, 0x401921FB53C8D4F1
store double %30, ptr %4, align 8
br label %31
31: ; preds = %23, %20
%32 = load double, ptr %3, align 8
%33 = fsub double %32, 1.000000e+00
store double %33, ptr %3, align 8
%34 = load double, ptr %5, align 8
%35 = load double, ptr %3, align 8
%36 = fmul double 1.000000e+01, %35
%37 = fptosi double %36 to i32
%38 = call double @pow(i32 noundef 2, i32 noundef %37)
%39 = fmul double %34, %38
%40 = load double, ptr %3, align 8
%41 = load double, ptr %4, align 8
%42 = fsub double %40, %41
%43 = fmul double %42, 0x401921FB53C8D4F1
%44 = load double, ptr %6, align 8
%45 = fdiv double %43, %44
%46 = call double @sin(double noundef %45) #3
%47 = fmul double %39, %46
%48 = fneg double %47
store double %48, ptr %2, align 8
br label %49
49: ; preds = %31, %13, %9
%50 = load double, ptr %2, align 8
ret double %50
}
declare double @asin(i32 noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpsyqf3wjr.c'
source_filename = "/tmp/tmpsyqf3wjr.c"
target datalayout = "e-m:e-p270: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 @buflist_config_change_use_items(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @buflist_bar_item_update(i32 noundef 2)
ret void
}
declare i32 @buflist_bar_item_update(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/tmpsyqf3wjr.c"
target datalayout = "e-m:e-p270: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 @buflist_config_change_use_items(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @buflist_bar_item_update(i32 noundef 2)
ret void
}
declare i32 @buflist_bar_item_update(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/tmptth1iwqw.c'
source_filename = "/tmp/tmptth1iwqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmptth1iwqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpmowcz6om.c'
source_filename = "/tmp/tmpmowcz6om.c"
target datalayout = "e-m:e-p270: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 @gen_quiesce_moves(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @gen_captures(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @gen_quiet_proms(ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @gen_captures(ptr noundef, ptr noundef) #1
declare i32 @gen_quiet_proms(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/tmpmowcz6om.c"
target datalayout = "e-m:e-p270: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 @gen_quiesce_moves(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @gen_captures(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @gen_quiet_proms(ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @gen_captures(ptr noundef, ptr noundef) #1
declare i32 @gen_quiet_proms(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/tmp1_ni4ff9.c'
source_filename = "/tmp/tmp1_ni4ff9.c"
target datalayout = "e-m:e-p270: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"Input number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"fibonacci(%d) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%12 = call i32 (...) @fib()
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fib(...) #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/tmp1_ni4ff9.c"
target datalayout = "e-m:e-p270: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"Input number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"fibonacci(%d) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%12 = call i32 (...) @fib()
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fib(...) #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/tmp4pduou8y.c'
source_filename = "/tmp/tmp4pduou8y.c"
target datalayout = "e-m:e-p270: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"\7FELF\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"ELF Magic number test failed.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_magic(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %26, %1
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 4
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %15, %21
br i1 %22, label %25, label %23
23: ; preds = %9
%24 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
br label %30
25: ; preds = %9
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %6, !llvm.loop !6
29: ; preds = %6
store i32 0, ptr %2, align 4
br label %30
30: ; preds = %29, %23
%31 = load i32, ptr %2, align 4
ret i32 %31
}
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/tmp4pduou8y.c"
target datalayout = "e-m:e-p270: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"\7FELF\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"ELF Magic number test failed.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_magic(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 4
br i1 %7, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %25
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = zext i8 %13 to i32
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %14, %20
br i1 %21, label %24, label %22
22: ; preds = %8
%23 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
br label %31
24: ; preds = %8
br label %25
25: ; preds = %24
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %28, 4
br i1 %29, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %1
store i32 0, ptr %2, align 4
br label %31
31: ; preds = %30, %22
%32 = load i32, ptr %2, align 4
ret i32 %32
}
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/tmpl0i_xwst.c'
source_filename = "/tmp/tmpl0i_xwst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGKILL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @syscall(i32 noundef 317)
%7 = load i32, ptr @SIGKILL, align 4
%8 = call i32 @kill(i32 noundef 1, i32 noundef %7)
ret i32 0
}
declare i32 @syscall(i32 noundef) #1
declare i32 @kill(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/tmpl0i_xwst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGKILL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @syscall(i32 noundef 317)
%7 = load i32, ptr @SIGKILL, align 4
%8 = call i32 @kill(i32 noundef 1, i32 noundef %7)
ret i32 0
}
declare i32 @syscall(i32 noundef) #1
declare i32 @kill(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/tmpsrnxm84w.c'
source_filename = "/tmp/tmpsrnxm84w.c"
target datalayout = "e-m:e-p270: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 @logger_string_trimFileNameExtension(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %6, align 8
store i64 %9, ptr %7, align 8
%10 = load i64, ptr %6, align 8
store i64 %10, ptr %8, align 8
br label %11
11: ; preds = %27, %3
%12 = load i64, ptr %8, align 8
%13 = icmp ugt i64 %12, 0
br i1 %13, label %14, label %30
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %8, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 46
br i1 %20, label %21, label %27
21: ; preds = %14
%22 = load i64, ptr %8, align 8
%23 = icmp ugt i64 %22, 1
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = load i64, ptr %8, align 8
store i64 %25, ptr %7, align 8
br label %30
26: ; preds = %21
br label %27
27: ; preds = %26, %14
%28 = load i64, ptr %8, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %8, align 8
br label %11, !llvm.loop !6
30: ; preds = %24, %11
%31 = load i64, ptr %7, align 8
%32 = load ptr, ptr %4, align 8
store i64 %31, ptr %32, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsrnxm84w.c"
target datalayout = "e-m:e-p270: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 @logger_string_trimFileNameExtension(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %6, align 8
store i64 %9, ptr %7, align 8
%10 = load i64, ptr %6, align 8
store i64 %10, ptr %8, align 8
%11 = load i64, ptr %8, align 8
%12 = icmp ugt i64 %11, 0
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %26
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %8, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 46
br i1 %19, label %20, label %26
20: ; preds = %13
%21 = load i64, ptr %8, align 8
%22 = icmp ugt i64 %21, 1
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load i64, ptr %8, align 8
store i64 %24, ptr %7, align 8
br label %31
25: ; preds = %20
br label %26
26: ; preds = %25, %13
%27 = load i64, ptr %8, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %8, align 8
%29 = load i64, ptr %8, align 8
%30 = icmp ugt i64 %29, 0
br i1 %30, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %26
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %31
31: ; preds = %.loopexit, %23
%32 = load i64, ptr %7, align 8
%33 = load ptr, ptr %4, align 8
store i64 %32, ptr %33, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6fihysfg.c'
source_filename = "/tmp/tmp6fihysfg.c"
target datalayout = "e-m:e-p270: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 @finalize_vector_mpz(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
br label %5
5: ; preds = %17, %2
%6 = load i32, ptr %4, align 4
%7 = icmp ugt i32 %6, 0
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %9, align 8
%11 = load i32, ptr %4, align 4
%12 = sub i32 %11, 1
%13 = zext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %10, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 @mpz_clear(i32 noundef %15)
br label %17
17: ; preds = %8
%18 = load i32, ptr %4, align 4
%19 = add i32 %18, -1
store i32 %19, ptr %4, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %21, align 8
%23 = call i32 @free(ptr noundef %22)
%24 = load ptr, ptr %3, align 8
store ptr null, ptr %24, align 8
ret void
}
declare i32 @mpz_clear(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6fihysfg.c"
target datalayout = "e-m:e-p270: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 @finalize_vector_mpz(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp ugt i32 %5, 0
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %7
7: ; preds = %.lr.ph, %16
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
%10 = load i32, ptr %4, align 4
%11 = sub i32 %10, 1
%12 = zext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %9, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 @mpz_clear(i32 noundef %14)
br label %16
16: ; preds = %7
%17 = load i32, ptr %4, align 4
%18 = add i32 %17, -1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp ugt i32 %19, 0
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %2
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %22, align 8
%24 = call i32 @free(ptr noundef %23)
%25 = load ptr, ptr %3, align 8
store ptr null, ptr %25, align 8
ret void
}
declare i32 @mpz_clear(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"}
|
; ModuleID = '/tmp/tmp3jt35bak.c'
source_filename = "/tmp/tmp3jt35bak.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Unesite nazive gradova!\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Sortiran spisak gradova\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [140 x i8], align 16
%3 = alloca [7 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %10
10: ; preds = %73, %0
store i32 0, ptr %8, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %13
%15 = call i32 @gets(ptr noundef %14)
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %17
%19 = call i32 @strlen(ptr noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %20, %21
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %66
26: ; preds = %10
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %29
29: ; preds = %55, %26
%30 = load i32, ptr %7, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %32, label %58
32: ; preds = %29
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %37
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %40
%42 = call i64 @strcmp(ptr noundef %38, ptr noundef %41)
%43 = icmp sgt i64 %42, 0
br i1 %43, label %44, label %53
44: ; preds = %32
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %51
store i32 %48, ptr %52, align 4
br label %54
53: ; preds = %32
br label %58
54: ; preds = %44
br label %55
55: ; preds = %54
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, -1
store i32 %57, ptr %7, align 4
br label %29, !llvm.loop !6
58: ; preds = %53, %29
%59 = load i32, ptr %4, align 4
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %62
store i32 %59, ptr %63, align 4
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 4
br label %66
66: ; preds = %58, %10
br label %67
67: ; preds = %66
%68 = load i32, ptr %5, align 4
%69 = icmp slt i32 %68, 7
br i1 %69, label %70, label %73
70: ; preds = %67
%71 = load i32, ptr %8, align 4
%72 = icmp ne i32 %71, 0
br label %73
73: ; preds = %70, %67
%74 = phi i1 [ false, %67 ], [ %72, %70 ]
br i1 %74, label %10, label %75, !llvm.loop !8
75: ; preds = %73
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
br label %77
77: ; preds = %89, %75
%78 = load i32, ptr %7, align 4
%79 = load i32, ptr %5, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %92
81: ; preds = %77
%82 = load i32, ptr %7, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %86
%88 = call i32 @puts(ptr noundef %87)
br label %89
89: ; preds = %81
%90 = load i32, ptr %7, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %7, align 4
br label %77, !llvm.loop !9
92: ; preds = %77
store i32 0, ptr %7, align 4
br label %93
93: ; preds = %114, %92
%94 = load i32, ptr %7, align 4
%95 = load i32, ptr %6, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %97, label %117
97: ; preds = %93
%98 = load i32, ptr %7, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %111
104: ; preds = %97
%105 = load i32, ptr %7, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %109)
br label %113
111: ; preds = %97
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %113
113: ; preds = %111, %104
br label %114
114: ; preds = %113
%115 = load i32, ptr %7, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %7, align 4
br label %93, !llvm.loop !10
117: ; preds = %93
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3jt35bak.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Unesite nazive gradova!\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Sortiran spisak gradova\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [140 x i8], align 16
%3 = alloca [7 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %10
10: ; preds = %74, %0
store i32 0, ptr %8, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %13
%15 = call i32 @gets(ptr noundef %14)
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %17
%19 = call i32 @strlen(ptr noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %20, %21
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %67
26: ; preds = %10
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %26
br label %31
31: ; preds = %.lr.ph, %54
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %36
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %39
%41 = call i64 @strcmp(ptr noundef %37, ptr noundef %40)
%42 = icmp sgt i64 %41, 0
br i1 %42, label %43, label %52
43: ; preds = %31
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %50
store i32 %47, ptr %51, align 4
br label %53
52: ; preds = %31
br label %59
53: ; preds = %43
br label %54
54: ; preds = %53
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = icmp sge i32 %57, 0
br i1 %58, label %31, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %54
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %26
br label %59
59: ; preds = %.loopexit, %52
%60 = load i32, ptr %4, align 4
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %63
store i32 %60, ptr %64, align 4
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
br label %67
67: ; preds = %59, %10
br label %68
68: ; preds = %67
%69 = load i32, ptr %5, align 4
%70 = icmp slt i32 %69, 7
br i1 %70, label %71, label %74
71: ; preds = %68
%72 = load i32, ptr %8, align 4
%73 = icmp ne i32 %72, 0
br label %74
74: ; preds = %71, %68
%75 = phi i1 [ false, %68 ], [ %73, %71 ]
br i1 %75, label %10, label %76, !llvm.loop !8
76: ; preds = %74
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %7, align 4
%78 = load i32, ptr %7, align 4
%79 = load i32, ptr %5, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %.lr.ph1, label %95
.lr.ph1: ; preds = %76
br label %81
81: ; preds = %.lr.ph1, %89
%82 = load i32, ptr %7, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %86
%88 = call i32 @puts(ptr noundef %87)
br label %89
89: ; preds = %81
%90 = load i32, ptr %7, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %7, align 4
%92 = load i32, ptr %7, align 4
%93 = load i32, ptr %5, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %81, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %89
br label %95
95: ; preds = %._crit_edge, %76
store i32 0, ptr %7, align 4
%96 = load i32, ptr %7, align 4
%97 = load i32, ptr %6, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %.lr.ph3, label %122
.lr.ph3: ; preds = %95
br label %99
99: ; preds = %.lr.ph3, %116
%100 = load i32, ptr %7, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %101
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %113
106: ; preds = %99
%107 = load i32, ptr %7, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [140 x i8], ptr %2, i64 0, i64 %108
%110 = load i8, ptr %109, align 1
%111 = sext i8 %110 to i32
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %111)
br label %115
113: ; preds = %99
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %115
115: ; preds = %113, %106
br label %116
116: ; preds = %115
%117 = load i32, ptr %7, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %7, align 4
%119 = load i32, ptr %7, align 4
%120 = load i32, ptr %6, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %99, label %._crit_edge4, !llvm.loop !10
._crit_edge4: ; preds = %116
br label %122
122: ; preds = %._crit_edge4, %95
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpeqe6_hcg.c'
source_filename = "/tmp/tmpeqe6_hcg.c"
target datalayout = "e-m:e-p270: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 @str_split(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store ptr null, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call ptr @strtok(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %8, align 8
br label %12
12: ; preds = %15, %3
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = sext i32 %17 to i64
%20 = getelementptr inbounds [512 x i8], ptr %16, i64 %19
%21 = getelementptr inbounds [512 x i8], ptr %20, i64 0, i64 0
%22 = load ptr, ptr %8, align 8
%23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = call ptr @strtok(ptr noundef null, ptr noundef %24)
store ptr %25, ptr %8, align 8
br label %12, !llvm.loop !6
26: ; preds = %12
%27 = load i32, ptr %7, align 4
ret i32 %27
}
declare ptr @strtok(ptr noundef, ptr noundef) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeqe6_hcg.c"
target datalayout = "e-m:e-p270: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 @str_split(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store ptr null, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call ptr @strtok(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %7, align 4
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds [512 x i8], ptr %15, i64 %18
%20 = getelementptr inbounds [512 x i8], ptr %19, i64 0, i64 0
%21 = load ptr, ptr %8, align 8
%22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call ptr @strtok(ptr noundef null, ptr noundef %23)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %27
27: ; preds = %._crit_edge, %3
%28 = load i32, ptr %7, align 4
ret i32 %28
}
declare ptr @strtok(ptr noundef, ptr noundef) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1h20lr4_.c'
source_filename = "/tmp/tmp1h20lr4_.c"
target datalayout = "e-m:e-p270: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/tmp1h20lr4_.c"
target datalayout = "e-m:e-p270: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/tmpx6wbu7ot.c'
source_filename = "/tmp/tmpx6wbu7ot.c"
target datalayout = "e-m:e-p270: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/tmpx6wbu7ot.c"
target datalayout = "e-m:e-p270: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/tmpi5u_btps.c'
source_filename = "/tmp/tmpi5u_btps.c"
target datalayout = "e-m:e-p270: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_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xae\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0xae() #0 {
%1 = call i64 @isascii(i32 noundef 174)
%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 875, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpi5u_btps.c"
target datalayout = "e-m:e-p270: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_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xae\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0xae() #0 {
%1 = call i64 @isascii(i32 noundef 174)
%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 875, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpbzhbf4jk.c'
source_filename = "/tmp/tmpbzhbf4jk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_word(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %10, %1
%5 = call signext i8 (...) @getch()
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 %5, ptr %7, align 1
%8 = call i64 @is_space(i8 noundef signext %5)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %4
br label %4, !llvm.loop !6
11: ; preds = %4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 10
br i1 %16, label %25, label %17
17: ; preds = %11
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load i8, ptr @EOF, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %21, %23
br i1 %24, label %25, label %28
25: ; preds = %17, %11
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
store i8 0, ptr %27, align 1
br label %91
28: ; preds = %17
store i32 1, ptr %3, align 4
br label %29
29: ; preds = %58, %28
%30 = call signext i8 (...) @getch()
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 %30, ptr %34, align 1
%35 = call i64 @is_space(i8 noundef signext %30)
%36 = icmp ne i64 %35, 0
br i1 %36, label %55, label %37
37: ; preds = %29
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 10
br i1 %44, label %45, label %55
45: ; preds = %37
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = load i8, ptr @EOF, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %51, %53
br label %55
55: ; preds = %45, %37, %29
%56 = phi i1 [ false, %37 ], [ false, %29 ], [ %54, %45 ]
br i1 %56, label %57, label %61
57: ; preds = %55
br label %58
58: ; preds = %57
%59 = load i32, ptr %3, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %3, align 4
br label %29, !llvm.loop !8
61: ; preds = %55
%62 = load ptr, ptr %2, align 8
%63 = load i32, ptr %3, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 10
br i1 %68, label %79, label %69
69: ; preds = %61
%70 = load ptr, ptr %2, align 8
%71 = load i32, ptr %3, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = load i8, ptr @EOF, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %75, %77
br i1 %78, label %79, label %86
79: ; preds = %69, %61
%80 = load ptr, ptr %2, align 8
%81 = load i32, ptr %3, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = call i32 @ungetch(i8 noundef signext %84)
br label %86
86: ; preds = %79, %69
%87 = load ptr, ptr %2, align 8
%88 = load i32, ptr %3, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
store i8 0, ptr %90, align 1
br label %91
91: ; preds = %25, %86
ret void
}
declare i64 @is_space(i8 noundef signext) #1
declare signext i8 @getch(...) #1
declare i32 @ungetch(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbzhbf4jk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_word(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %4, %1
%5 = call signext i8 (...) @getch()
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 %5, ptr %7, align 1
%8 = call i64 @is_space(i8 noundef signext %5)
%9 = icmp ne i64 %8, 0
br i1 %9, label %4, label %10, !llvm.loop !6
10: ; preds = %4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 10
br i1 %15, label %24, label %16
16: ; preds = %10
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr @EOF, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %20, %22
br i1 %23, label %24, label %27
24: ; preds = %16, %10
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
store i8 0, ptr %26, align 1
br label %90
27: ; preds = %16
store i32 1, ptr %3, align 4
br label %28
28: ; preds = %57, %27
%29 = call signext i8 (...) @getch()
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
%34 = call i64 @is_space(i8 noundef signext %29)
%35 = icmp ne i64 %34, 0
br i1 %35, label %54, label %36
36: ; preds = %28
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 10
br i1 %43, label %44, label %54
44: ; preds = %36
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %3, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = load i8, ptr @EOF, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %50, %52
br label %54
54: ; preds = %44, %36, %28
%55 = phi i1 [ false, %36 ], [ false, %28 ], [ %53, %44 ]
br i1 %55, label %56, label %60
56: ; preds = %54
br label %57
57: ; preds = %56
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
br label %28, !llvm.loop !8
60: ; preds = %54
%61 = load ptr, ptr %2, align 8
%62 = load i32, ptr %3, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 10
br i1 %67, label %78, label %68
68: ; preds = %60
%69 = load ptr, ptr %2, align 8
%70 = load i32, ptr %3, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = load i8, ptr @EOF, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %74, %76
br i1 %77, label %78, label %85
78: ; preds = %68, %60
%79 = load ptr, ptr %2, align 8
%80 = load i32, ptr %3, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = call i32 @ungetch(i8 noundef signext %83)
br label %85
85: ; preds = %78, %68
%86 = load ptr, ptr %2, align 8
%87 = load i32, ptr %3, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
store i8 0, ptr %89, align 1
br label %90
90: ; preds = %85, %24
ret void
}
declare i64 @is_space(i8 noundef signext) #1
declare signext i8 @getch(...) #1
declare i32 @ungetch(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.