llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp2kxi_j5u.c'
source_filename = "/tmp/tmp2kxi_j5u.c"
target datalayout = "e-m:e-p270: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 [64 x i8] c"Invoke: UpnpRemoteIOClient_ChannelManager_ClearAllChannels();\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpRemoteIOClient_ChannelManager_ClearAllChannels(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @UpnpResponse_RemoteIOClient_ChannelManager_ClearAllChannels(ptr noundef %4)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @UpnpResponse_RemoteIOClient_ChannelManager_ClearAllChannels(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/tmp2kxi_j5u.c"
target datalayout = "e-m:e-p270: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 [64 x i8] c"Invoke: UpnpRemoteIOClient_ChannelManager_ClearAllChannels();\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpRemoteIOClient_ChannelManager_ClearAllChannels(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @UpnpResponse_RemoteIOClient_ChannelManager_ClearAllChannels(ptr noundef %4)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @UpnpResponse_RemoteIOClient_ChannelManager_ClearAllChannels(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/tmpk5lxg6u3.c'
source_filename = "/tmp/tmpk5lxg6u3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = 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/tmpk5lxg6u3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = 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/tmpc0lrono0.c'
source_filename = "/tmp/tmpc0lrono0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"sound: soundb_none_volume(volume:%g)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @soundb_none_volume(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 @log_f(ptr noundef @.str, double noundef %3)
ret void
}
declare i32 @log_f(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/tmpc0lrono0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"sound: soundb_none_volume(volume:%g)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @soundb_none_volume(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 @log_f(ptr noundef @.str, double noundef %3)
ret void
}
declare i32 @log_f(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/tmpr518tf7n.c'
source_filename = "/tmp/tmpr518tf7n.c"
target datalayout = "e-m:e-p270: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/tmpr518tf7n.c"
target datalayout = "e-m:e-p270: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/tmp96aqgfq2.c'
source_filename = "/tmp/tmp96aqgfq2.c"
target datalayout = "e-m:e-p270: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 @mergesort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp96aqgfq2.c"
target datalayout = "e-m:e-p270: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 @mergesort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0wzz9aqu.c'
source_filename = "/tmp/tmp0wzz9aqu.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"\0APlease enter floating number \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\0APlease enter an integer \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Please enter the characTer:\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.6 = private unnamed_addr constant [54 x i8] c"\0A\0AAfter assembling the input data for a single string\00", align 1
@.str.7 = 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 [21 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca float, align 4
%5 = alloca [51 x i8], align 16
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%8 = call i32 @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3)
%10 = call i32 @printf(ptr noundef @.str.4)
%11 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %11)
%13 = load i32, ptr %3, align 4
%14 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0
%15 = load float, ptr %4, align 4
%16 = getelementptr inbounds [51 x i8], ptr %5, i64 0, i64 0
%17 = call i32 @assemble(i32 noundef %13, ptr noundef %14, float noundef %15, ptr noundef %16)
%18 = call i32 @printf(ptr noundef @.str.6)
%19 = getelementptr inbounds [51 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @puts(ptr noundef %19)
%21 = call i32 @printf(ptr noundef @.str.7)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @assemble(i32 noundef, ptr noundef, float 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0wzz9aqu.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"\0APlease enter floating number \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\0APlease enter an integer \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Please enter the characTer:\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.6 = private unnamed_addr constant [54 x i8] c"\0A\0AAfter assembling the input data for a single string\00", align 1
@.str.7 = 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 [21 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca float, align 4
%5 = alloca [51 x i8], align 16
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%8 = call i32 @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3)
%10 = call i32 @printf(ptr noundef @.str.4)
%11 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %11)
%13 = load i32, ptr %3, align 4
%14 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0
%15 = load float, ptr %4, align 4
%16 = getelementptr inbounds [51 x i8], ptr %5, i64 0, i64 0
%17 = call i32 @assemble(i32 noundef %13, ptr noundef %14, float noundef %15, ptr noundef %16)
%18 = call i32 @printf(ptr noundef @.str.6)
%19 = getelementptr inbounds [51 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @puts(ptr noundef %19)
%21 = call i32 @printf(ptr noundef @.str.7)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @assemble(i32 noundef, ptr noundef, float 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"}
|
; ModuleID = '/tmp/tmpbnbla2iw.c'
source_filename = "/tmp/tmpbnbla2iw.c"
target datalayout = "e-m:e-p270: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/tmpbnbla2iw.c"
target datalayout = "e-m:e-p270: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/tmp9j1y5d34.c'
source_filename = "/tmp/tmp9j1y5d34.c"
target datalayout = "e-m:e-p270: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_latest_prune_join_3_Bad() #0 {
%1 = alloca [2 x i32], align 4
%2 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @latest_prune_join(ptr noundef %2, i32 noundef 3)
ret void
}
declare i32 @latest_prune_join(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/tmp9j1y5d34.c"
target datalayout = "e-m:e-p270: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_latest_prune_join_3_Bad() #0 {
%1 = alloca [2 x i32], align 4
%2 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @latest_prune_join(ptr noundef %2, i32 noundef 3)
ret void
}
declare i32 @latest_prune_join(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/tmp7nbghwlh.c'
source_filename = "/tmp/tmp7nbghwlh.c"
target datalayout = "e-m:e-p270: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 @ds1820_cmd_convert_t() #0 {
%1 = call i32 @onewire_send_byte(i32 noundef 68)
%2 = call i32 (...) @onewire_wait_until_done()
ret void
}
declare i32 @onewire_send_byte(i32 noundef) #1
declare i32 @onewire_wait_until_done(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp7nbghwlh.c"
target datalayout = "e-m:e-p270: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 @ds1820_cmd_convert_t() #0 {
%1 = call i32 @onewire_send_byte(i32 noundef 68)
%2 = call i32 (...) @onewire_wait_until_done()
ret void
}
declare i32 @onewire_send_byte(i32 noundef) #1
declare i32 @onewire_wait_until_done(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmphp8xznaz.c'
source_filename = "/tmp/tmphp8xznaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.linger = type { i64 }
%struct.hostent = type { i32 }
@SOCK_DGRAM = dso_local global i32 0, align 4
@PF_UNSPEC = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"eiche.informatik.hu-berlin.de\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"gethostbyname error\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_LINGER = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"setsockopt linger error\00", align 1
@SO_RCVBUF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [24 x i8] c"setsockopt RCVBUF error\00", align 1
@SO_SNDBUF = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [24 x i8] c"setsockopt SNDBUF error\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"getsockname error\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [13 x i8] c"listen error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dsm_server_open(i32 noundef %0, ptr noundef %1, i32 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 i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca %struct.sockaddr_in, align 4
%14 = alloca %struct.sockaddr_in, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca %struct.linger, align 8
%21 = alloca %struct.sockaddr_in, align 4
%22 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 1, ptr %19, align 4
%23 = load ptr, ptr %10, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %27
25: ; preds = %5
%26 = load ptr, ptr %10, align 8
br label %28
27: ; preds = %5
br label %28
28: ; preds = %27, %25
%29 = phi ptr [ %26, %25 ], [ %21, %27 ]
store ptr %29, ptr %22, align 8
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr @SOCK_DGRAM, align 4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %28
br label %36
34: ; preds = %28
%35 = load i32, ptr @PF_UNSPEC, align 4
br label %36
36: ; preds = %34, %33
%37 = phi i32 [ 0, %33 ], [ %35, %34 ]
store i32 %37, ptr %17, align 4
%38 = load ptr, ptr %22, align 8
%39 = call i32 @memset(ptr noundef %38, i32 noundef 0, i32 noundef 12)
%40 = load i32, ptr @PF_INET, align 4
%41 = load ptr, ptr %22, align 8
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %41, i32 0, i32 2
store i32 %40, ptr %42, align 4
%43 = load i32, ptr @INADDR_ANY, align 4
%44 = call i32 @htonl(i32 noundef %43)
%45 = load ptr, ptr %22, align 8
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %45, i32 0, i32 1
%47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i32 0, i32 0
store i32 %44, ptr %47, align 4
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %48, align 4
%50 = call i32 @htons(i32 noundef %49)
%51 = load ptr, ptr %22, align 8
%52 = getelementptr inbounds %struct.sockaddr_in, ptr %51, i32 0, i32 0
store i32 %50, ptr %52, align 4
%53 = load i32, ptr %9, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %36
%56 = call ptr @gethostbyname(ptr noundef @.str)
store ptr %56, ptr %16, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %60, label %58
58: ; preds = %55
%59 = call i32 @perror(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %155
60: ; preds = %55, %36
%61 = load i32, ptr %9, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %74
63: ; preds = %60
%64 = load ptr, ptr %22, align 8
%65 = getelementptr inbounds %struct.sockaddr_in, ptr %64, i32 0, i32 1
%66 = load ptr, ptr %16, align 8
%67 = getelementptr inbounds %struct.hostent, ptr %66, i32 0, i32 0
%68 = load i32, ptr %67, align 4
%69 = call i32 @inet_netof(i32 noundef %68)
%70 = load i32, ptr @INADDR_ANY, align 4
%71 = call i64 @inet_makeaddr(i32 noundef %69, i32 noundef %70)
%72 = inttoptr i64 %71 to ptr
%73 = call i32 @memcpy(ptr noundef %65, ptr noundef %72, i32 noundef 4)
br label %74
74: ; preds = %63, %60
%75 = load i32, ptr @PF_INET, align 4
%76 = load i32, ptr %7, align 4
%77 = load i32, ptr %17, align 4
%78 = call i32 @socket(i32 noundef %75, i32 noundef %76, i32 noundef %77)
store i32 %78, ptr %12, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %74
%81 = call i32 @perror(ptr noundef @.str.2)
store i32 0, ptr %6, align 4
br label %155
82: ; preds = %74
%83 = getelementptr inbounds %struct.linger, ptr %20, i32 0, i32 0
store i64 0, ptr %83, align 8
%84 = load i32, ptr %12, align 4
%85 = load i32, ptr @SOL_SOCKET, align 4
%86 = load i32, ptr @SO_LINGER, align 4
%87 = call i64 @setsockopt(i32 noundef %84, i32 noundef %85, i32 noundef %86, ptr noundef %20, i32 noundef 8)
%88 = icmp slt i64 %87, 0
br i1 %88, label %89, label %93
89: ; preds = %82
%90 = call i32 @perror(ptr noundef @.str.3)
%91 = load i32, ptr %12, align 4
%92 = call i32 @close(i32 noundef %91)
store i32 0, ptr %6, align 4
br label %155
93: ; preds = %82
%94 = load i32, ptr %11, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %104
96: ; preds = %93
%97 = load i32, ptr %12, align 4
%98 = load i32, ptr @SOL_SOCKET, align 4
%99 = load i32, ptr @SO_RCVBUF, align 4
%100 = call i64 @setsockopt(i32 noundef %97, i32 noundef %98, i32 noundef %99, ptr noundef %11, i32 noundef 4)
%101 = icmp slt i64 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %96
%103 = call i32 @perror(ptr noundef @.str.4)
br label %104
104: ; preds = %102, %96, %93
%105 = load i32, ptr %11, align 4
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %115
107: ; preds = %104
%108 = load i32, ptr %12, align 4
%109 = load i32, ptr @SOL_SOCKET, align 4
%110 = load i32, ptr @SO_SNDBUF, align 4
%111 = call i64 @setsockopt(i32 noundef %108, i32 noundef %109, i32 noundef %110, ptr noundef %11, i32 noundef 4)
%112 = icmp slt i64 %111, 0
br i1 %112, label %113, label %115
113: ; preds = %107
%114 = call i32 @perror(ptr noundef @.str.5)
br label %115
115: ; preds = %113, %107, %104
%116 = load i32, ptr %12, align 4
%117 = load ptr, ptr %22, align 8
%118 = call i64 @bind(i32 noundef %116, ptr noundef %117, i32 noundef 4)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %123
120: ; preds = %115
%121 = load i32, ptr %12, align 4
%122 = call i32 @close(i32 noundef %121)
store i32 0, ptr %6, align 4
br label %155
123: ; preds = %115
%124 = load ptr, ptr %8, align 8
%125 = load i32, ptr %124, align 4
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %140
127: ; preds = %123
store i32 12, ptr %18, align 4
%128 = load i32, ptr %12, align 4
%129 = call i64 @getsockname(i32 noundef %128, ptr noundef %14, ptr noundef %18)
%130 = icmp slt i64 %129, 0
br i1 %130, label %131, label %135
131: ; preds = %127
%132 = call i32 @perror(ptr noundef @.str.6)
%133 = load i32, ptr %12, align 4
%134 = call i32 @close(i32 noundef %133)
store i32 0, ptr %6, align 4
br label %155
135: ; preds = %127
%136 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0
%137 = load i32, ptr %136, align 4
%138 = call i32 @ntohs(i32 noundef %137)
%139 = load ptr, ptr %8, align 8
store i32 %138, ptr %139, align 4
br label %140
140: ; preds = %135, %123
%141 = load i32, ptr %7, align 4
%142 = load i32, ptr @SOCK_STREAM, align 4
%143 = icmp eq i32 %141, %142
br i1 %143, label %144, label %153
144: ; preds = %140
%145 = load i32, ptr %12, align 4
%146 = call i64 @listen(i32 noundef %145, i32 noundef 5)
%147 = icmp ne i64 %146, 0
br i1 %147, label %148, label %152
148: ; preds = %144
%149 = call i32 @perror(ptr noundef @.str.7)
%150 = load i32, ptr %12, align 4
%151 = call i32 @close(i32 noundef %150)
store i32 0, ptr %6, align 4
br label %155
152: ; preds = %144
br label %153
153: ; preds = %152, %140
%154 = load i32, ptr %12, align 4
store i32 %154, ptr %6, align 4
br label %155
155: ; preds = %153, %148, %131, %120, %89, %80, %58
%156 = load i32, ptr %6, align 4
ret i32 %156
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @inet_makeaddr(i32 noundef, i32 noundef) #1
declare i32 @inet_netof(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @ntohs(i32 noundef) #1
declare i64 @listen(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/tmphp8xznaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.linger = type { i64 }
%struct.hostent = type { i32 }
@SOCK_DGRAM = dso_local global i32 0, align 4
@PF_UNSPEC = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"eiche.informatik.hu-berlin.de\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"gethostbyname error\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_LINGER = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"setsockopt linger error\00", align 1
@SO_RCVBUF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [24 x i8] c"setsockopt RCVBUF error\00", align 1
@SO_SNDBUF = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [24 x i8] c"setsockopt SNDBUF error\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"getsockname error\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [13 x i8] c"listen error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dsm_server_open(i32 noundef %0, ptr noundef %1, i32 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 i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca %struct.sockaddr_in, align 4
%14 = alloca %struct.sockaddr_in, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca %struct.linger, align 8
%21 = alloca %struct.sockaddr_in, align 4
%22 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 1, ptr %19, align 4
%23 = load ptr, ptr %10, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %27
25: ; preds = %5
%26 = load ptr, ptr %10, align 8
br label %28
27: ; preds = %5
br label %28
28: ; preds = %27, %25
%29 = phi ptr [ %26, %25 ], [ %21, %27 ]
store ptr %29, ptr %22, align 8
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr @SOCK_DGRAM, align 4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %28
br label %36
34: ; preds = %28
%35 = load i32, ptr @PF_UNSPEC, align 4
br label %36
36: ; preds = %34, %33
%37 = phi i32 [ 0, %33 ], [ %35, %34 ]
store i32 %37, ptr %17, align 4
%38 = load ptr, ptr %22, align 8
%39 = call i32 @memset(ptr noundef %38, i32 noundef 0, i32 noundef 12)
%40 = load i32, ptr @PF_INET, align 4
%41 = load ptr, ptr %22, align 8
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %41, i32 0, i32 2
store i32 %40, ptr %42, align 4
%43 = load i32, ptr @INADDR_ANY, align 4
%44 = call i32 @htonl(i32 noundef %43)
%45 = load ptr, ptr %22, align 8
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %45, i32 0, i32 1
%47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i32 0, i32 0
store i32 %44, ptr %47, align 4
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %48, align 4
%50 = call i32 @htons(i32 noundef %49)
%51 = load ptr, ptr %22, align 8
%52 = getelementptr inbounds %struct.sockaddr_in, ptr %51, i32 0, i32 0
store i32 %50, ptr %52, align 4
%53 = load i32, ptr %9, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %36
%56 = call ptr @gethostbyname(ptr noundef @.str)
store ptr %56, ptr %16, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %60, label %58
58: ; preds = %55
%59 = call i32 @perror(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %155
60: ; preds = %55, %36
%61 = load i32, ptr %9, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %74
63: ; preds = %60
%64 = load ptr, ptr %22, align 8
%65 = getelementptr inbounds %struct.sockaddr_in, ptr %64, i32 0, i32 1
%66 = load ptr, ptr %16, align 8
%67 = getelementptr inbounds %struct.hostent, ptr %66, i32 0, i32 0
%68 = load i32, ptr %67, align 4
%69 = call i32 @inet_netof(i32 noundef %68)
%70 = load i32, ptr @INADDR_ANY, align 4
%71 = call i64 @inet_makeaddr(i32 noundef %69, i32 noundef %70)
%72 = inttoptr i64 %71 to ptr
%73 = call i32 @memcpy(ptr noundef %65, ptr noundef %72, i32 noundef 4)
br label %74
74: ; preds = %63, %60
%75 = load i32, ptr @PF_INET, align 4
%76 = load i32, ptr %7, align 4
%77 = load i32, ptr %17, align 4
%78 = call i32 @socket(i32 noundef %75, i32 noundef %76, i32 noundef %77)
store i32 %78, ptr %12, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %74
%81 = call i32 @perror(ptr noundef @.str.2)
store i32 0, ptr %6, align 4
br label %155
82: ; preds = %74
%83 = getelementptr inbounds %struct.linger, ptr %20, i32 0, i32 0
store i64 0, ptr %83, align 8
%84 = load i32, ptr %12, align 4
%85 = load i32, ptr @SOL_SOCKET, align 4
%86 = load i32, ptr @SO_LINGER, align 4
%87 = call i64 @setsockopt(i32 noundef %84, i32 noundef %85, i32 noundef %86, ptr noundef %20, i32 noundef 8)
%88 = icmp slt i64 %87, 0
br i1 %88, label %89, label %93
89: ; preds = %82
%90 = call i32 @perror(ptr noundef @.str.3)
%91 = load i32, ptr %12, align 4
%92 = call i32 @close(i32 noundef %91)
store i32 0, ptr %6, align 4
br label %155
93: ; preds = %82
%94 = load i32, ptr %11, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %104
96: ; preds = %93
%97 = load i32, ptr %12, align 4
%98 = load i32, ptr @SOL_SOCKET, align 4
%99 = load i32, ptr @SO_RCVBUF, align 4
%100 = call i64 @setsockopt(i32 noundef %97, i32 noundef %98, i32 noundef %99, ptr noundef %11, i32 noundef 4)
%101 = icmp slt i64 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %96
%103 = call i32 @perror(ptr noundef @.str.4)
br label %104
104: ; preds = %102, %96, %93
%105 = load i32, ptr %11, align 4
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %115
107: ; preds = %104
%108 = load i32, ptr %12, align 4
%109 = load i32, ptr @SOL_SOCKET, align 4
%110 = load i32, ptr @SO_SNDBUF, align 4
%111 = call i64 @setsockopt(i32 noundef %108, i32 noundef %109, i32 noundef %110, ptr noundef %11, i32 noundef 4)
%112 = icmp slt i64 %111, 0
br i1 %112, label %113, label %115
113: ; preds = %107
%114 = call i32 @perror(ptr noundef @.str.5)
br label %115
115: ; preds = %113, %107, %104
%116 = load i32, ptr %12, align 4
%117 = load ptr, ptr %22, align 8
%118 = call i64 @bind(i32 noundef %116, ptr noundef %117, i32 noundef 4)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %123
120: ; preds = %115
%121 = load i32, ptr %12, align 4
%122 = call i32 @close(i32 noundef %121)
store i32 0, ptr %6, align 4
br label %155
123: ; preds = %115
%124 = load ptr, ptr %8, align 8
%125 = load i32, ptr %124, align 4
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %140
127: ; preds = %123
store i32 12, ptr %18, align 4
%128 = load i32, ptr %12, align 4
%129 = call i64 @getsockname(i32 noundef %128, ptr noundef %14, ptr noundef %18)
%130 = icmp slt i64 %129, 0
br i1 %130, label %131, label %135
131: ; preds = %127
%132 = call i32 @perror(ptr noundef @.str.6)
%133 = load i32, ptr %12, align 4
%134 = call i32 @close(i32 noundef %133)
store i32 0, ptr %6, align 4
br label %155
135: ; preds = %127
%136 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0
%137 = load i32, ptr %136, align 4
%138 = call i32 @ntohs(i32 noundef %137)
%139 = load ptr, ptr %8, align 8
store i32 %138, ptr %139, align 4
br label %140
140: ; preds = %135, %123
%141 = load i32, ptr %7, align 4
%142 = load i32, ptr @SOCK_STREAM, align 4
%143 = icmp eq i32 %141, %142
br i1 %143, label %144, label %153
144: ; preds = %140
%145 = load i32, ptr %12, align 4
%146 = call i64 @listen(i32 noundef %145, i32 noundef 5)
%147 = icmp ne i64 %146, 0
br i1 %147, label %148, label %152
148: ; preds = %144
%149 = call i32 @perror(ptr noundef @.str.7)
%150 = load i32, ptr %12, align 4
%151 = call i32 @close(i32 noundef %150)
store i32 0, ptr %6, align 4
br label %155
152: ; preds = %144
br label %153
153: ; preds = %152, %140
%154 = load i32, ptr %12, align 4
store i32 %154, ptr %6, align 4
br label %155
155: ; preds = %153, %148, %131, %120, %89, %80, %58
%156 = load i32, ptr %6, align 4
ret i32 %156
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @inet_makeaddr(i32 noundef, i32 noundef) #1
declare i32 @inet_netof(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @ntohs(i32 noundef) #1
declare i64 @listen(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/tmp44_e9ljy.c'
source_filename = "/tmp/tmp44_e9ljy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_NETLINK = dso_local global i32 0, align 4
@SOCK_RAW = 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/tmp44_e9ljy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_NETLINK = dso_local global i32 0, align 4
@SOCK_RAW = 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/tmp36ty_v2f.c'
source_filename = "/tmp/tmp36ty_v2f.c"
target datalayout = "e-m:e-p270: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/tmp36ty_v2f.c"
target datalayout = "e-m:e-p270: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/tmpsccimz48.c'
source_filename = "/tmp/tmpsccimz48.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\0AUsage : sys_cfg_tx_power [TX_POWER]\0A\00", align 1
@.str.1 = private unnamed_addr constant [75 x i8] c"\0AIf TX_POWER is provided, a 'set' is performed, else a 'get' is performed.\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"\0ATX_POWER is represented in dBm.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_sys_cfg_tx_power_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
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/tmpsccimz48.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\0AUsage : sys_cfg_tx_power [TX_POWER]\0A\00", align 1
@.str.1 = private unnamed_addr constant [75 x i8] c"\0AIf TX_POWER is provided, a 'set' is performed, else a 'get' is performed.\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"\0ATX_POWER is represented in dBm.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_sys_cfg_tx_power_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
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/tmpgkemsl2d.c'
source_filename = "/tmp/tmpgkemsl2d.c"
target datalayout = "e-m:e-p270: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/tmpgkemsl2d.c"
target datalayout = "e-m:e-p270: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/tmpos5i11_5.c'
source_filename = "/tmp/tmpos5i11_5.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"#include <stdio.h>\0A#define S(s) %s\0AS(%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [83 x i8] c"int main(void) { printf(\22#include <stdio.h>\\n#define S(s) %s\\nS(%s)\\n\22, #s, #s); }\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpos5i11_5.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"#include <stdio.h>\0A#define S(s) %s\0AS(%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [83 x i8] c"int main(void) { printf(\22#include <stdio.h>\\n#define S(s) %s\\nS(%s)\\n\22, #s, #s); }\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2o21i7ww.c'
source_filename = "/tmp/tmp2o21i7ww.c"
target datalayout = "e-m:e-p270: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 @fsl_info_vwrite(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 ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @vprintf(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @vprintf(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/tmp2o21i7ww.c"
target datalayout = "e-m:e-p270: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 @fsl_info_vwrite(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 ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @vprintf(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @vprintf(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/tmphdku5uin.c'
source_filename = "/tmp/tmphdku5uin.c"
target datalayout = "e-m:e-p270: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 @SysCtlLDODeepSleepSet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
store volatile i32 %3, ptr inttoptr (i64 1074782652 to ptr), align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphdku5uin.c"
target datalayout = "e-m:e-p270: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 @SysCtlLDODeepSleepSet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
store volatile i32 %3, ptr inttoptr (i64 1074782652 to ptr), align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpixggyg9v.c'
source_filename = "/tmp/tmpixggyg9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"(%s, %d): %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_chk(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [4096 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %2
%9 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call ptr @mdb_strerror(i32 noundef %12)
%14 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10, i32 noundef %11, ptr noundef %13)
%15 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @perror(ptr noundef %15)
br label %17
17: ; preds = %8, %2
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @mdb_strerror(i32 noundef) #1
declare i32 @perror(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/tmpixggyg9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"(%s, %d): %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_chk(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [4096 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %2
%9 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call ptr @mdb_strerror(i32 noundef %12)
%14 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10, i32 noundef %11, ptr noundef %13)
%15 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @perror(ptr noundef %15)
br label %17
17: ; preds = %8, %2
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @mdb_strerror(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_377d4ju.c'
source_filename = "/tmp/tmp_377d4ju.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Error initiating Mem GPIO %d\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"DHT11 out\0ATemp:\09%f\0AHumidity:\09%f\0ADP:\09%f\0AHI:\09%f\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 float, align 4
%8 = alloca float, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = call i32 (...) @pi_2_mmio_init()
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load i32, ptr %6, align 4
%17 = sitofp i32 %16 to float
%18 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %17)
%19 = call i32 @exit(i32 noundef -1) #3
unreachable
20: ; preds = %2
%21 = call i32 (...) @power_on_dht11()
%22 = call i32 @sleep(i32 noundef 1)
store float 0.000000e+00, ptr %7, align 4
store float 0.000000e+00, ptr %8, align 4
%23 = call i32 @pi_2_dht_read(i32 noundef 24, ptr noundef %7, ptr noundef %8)
store i32 %23, ptr %9, align 4
%24 = load float, ptr %8, align 4
%25 = load float, ptr %7, align 4
%26 = call double @dewPointFast(float noundef %24, float noundef %25)
store double %26, ptr %10, align 8
%27 = load float, ptr %8, align 4
%28 = load double, ptr %10, align 8
%29 = call double @humidex(float noundef %27, double noundef %28)
store double %29, ptr %11, align 8
%30 = load float, ptr %8, align 4
%31 = load float, ptr %7, align 4
%32 = fpext float %31 to double
%33 = load double, ptr %10, align 8
%34 = load double, ptr %11, align 8
%35 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %30, double noundef %32, double noundef %33, double noundef %34)
%36 = call i32 @pi_2_mmio_set_low(i32 noundef 23)
%37 = call i32 @pi_2_mmio_set_low(i32 noundef 24)
ret i32 0
}
declare i32 @pi_2_mmio_init(...) #1
declare i32 @printf(ptr noundef, float noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @power_on_dht11(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @pi_2_dht_read(i32 noundef, ptr noundef, ptr noundef) #1
declare double @dewPointFast(float noundef, float noundef) #1
declare double @humidex(float noundef, double noundef) #1
declare i32 @pi_2_mmio_set_low(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmp_377d4ju.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Error initiating Mem GPIO %d\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"DHT11 out\0ATemp:\09%f\0AHumidity:\09%f\0ADP:\09%f\0AHI:\09%f\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 float, align 4
%8 = alloca float, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = call i32 (...) @pi_2_mmio_init()
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load i32, ptr %6, align 4
%17 = sitofp i32 %16 to float
%18 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %17)
%19 = call i32 @exit(i32 noundef -1) #3
unreachable
20: ; preds = %2
%21 = call i32 (...) @power_on_dht11()
%22 = call i32 @sleep(i32 noundef 1)
store float 0.000000e+00, ptr %7, align 4
store float 0.000000e+00, ptr %8, align 4
%23 = call i32 @pi_2_dht_read(i32 noundef 24, ptr noundef %7, ptr noundef %8)
store i32 %23, ptr %9, align 4
%24 = load float, ptr %8, align 4
%25 = load float, ptr %7, align 4
%26 = call double @dewPointFast(float noundef %24, float noundef %25)
store double %26, ptr %10, align 8
%27 = load float, ptr %8, align 4
%28 = load double, ptr %10, align 8
%29 = call double @humidex(float noundef %27, double noundef %28)
store double %29, ptr %11, align 8
%30 = load float, ptr %8, align 4
%31 = load float, ptr %7, align 4
%32 = fpext float %31 to double
%33 = load double, ptr %10, align 8
%34 = load double, ptr %11, align 8
%35 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %30, double noundef %32, double noundef %33, double noundef %34)
%36 = call i32 @pi_2_mmio_set_low(i32 noundef 23)
%37 = call i32 @pi_2_mmio_set_low(i32 noundef 24)
ret i32 0
}
declare i32 @pi_2_mmio_init(...) #1
declare i32 @printf(ptr noundef, float noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @power_on_dht11(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @pi_2_dht_read(i32 noundef, ptr noundef, ptr noundef) #1
declare double @dewPointFast(float noundef, float noundef) #1
declare double @humidex(float noundef, double noundef) #1
declare i32 @pi_2_mmio_set_low(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmpb1ow24wu.c'
source_filename = "/tmp/tmpb1ow24wu.c"
target datalayout = "e-m:e-p270: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/tmpb1ow24wu.c"
target datalayout = "e-m:e-p270: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/tmpk0faeeo6.c'
source_filename = "/tmp/tmpk0faeeo6.c"
target datalayout = "e-m:e-p270: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"log.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Error opening log file!\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"log : %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_log(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.3, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = call i32 @fclose(ptr noundef %16)
store ptr null, ptr %3, align 8
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpk0faeeo6.c"
target datalayout = "e-m:e-p270: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"log.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Error opening log file!\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"log : %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_log(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.3, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = call i32 @fclose(ptr noundef %16)
store ptr null, ptr %3, align 8
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpbf1g9pum.c'
source_filename = "/tmp/tmpbf1g9pum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @color_reset() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbf1g9pum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @color_reset() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdyakwnyf.c'
source_filename = "/tmp/tmpdyakwnyf.c"
target datalayout = "e-m:e-p270: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.three.a = private unnamed_addr constant [8 x i32] [i32 18, i32 17, i32 16, i32 15, i32 14, i32 13, i32 12, i32 11], align 16
@.str = private unnamed_addr constant [30 x i8] c"address start = %p, end = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"*(start+2) = %d, *(--end) = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"(--end) - (start+2) = %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @three() #0 {
%1 = alloca [8 x i32], align 16
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.three.a, i64 32, i1 false)
%4 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 0
store ptr %4, ptr %2, align 8
%5 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 7
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 2
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i32 -1
store ptr %13, ptr %3, align 8
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i32, ptr %16, i32 -1
store ptr %17, ptr %3, align 8
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 2
%20 = ptrtoint ptr %17 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
%23 = sdiv exact i64 %22, 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %23)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #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/tmpdyakwnyf.c"
target datalayout = "e-m:e-p270: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.three.a = private unnamed_addr constant [8 x i32] [i32 18, i32 17, i32 16, i32 15, i32 14, i32 13, i32 12, i32 11], align 16
@.str = private unnamed_addr constant [30 x i8] c"address start = %p, end = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"*(start+2) = %d, *(--end) = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"(--end) - (start+2) = %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @three() #0 {
%1 = alloca [8 x i32], align 16
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.three.a, i64 32, i1 false)
%4 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 0
store ptr %4, ptr %2, align 8
%5 = getelementptr inbounds [8 x i32], ptr %1, i64 0, i64 7
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 2
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i32 -1
store ptr %13, ptr %3, align 8
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i32, ptr %16, i32 -1
store ptr %17, ptr %3, align 8
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 2
%20 = ptrtoint ptr %17 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
%23 = sdiv exact i64 %22, 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %23)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #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/tmpwi4qwte2.c'
source_filename = "/tmp/tmpwi4qwte2.c"
target datalayout = "e-m:e-p270: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/tmpwi4qwte2.c"
target datalayout = "e-m:e-p270: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/tmp4zb7vde_.c'
source_filename = "/tmp/tmp4zb7vde_.c"
target datalayout = "e-m:e-p270: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 @gettimer() #0 {
%1 = call double (...) @GetTimeR49()
ret double %1
}
declare double @GetTimeR49(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp4zb7vde_.c"
target datalayout = "e-m:e-p270: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 @gettimer() #0 {
%1 = call double (...) @GetTimeR49()
ret double %1
}
declare double @GetTimeR49(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp18yvu71t.c'
source_filename = "/tmp/tmp18yvu71t.c"
target datalayout = "e-m:e-p270: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 @left(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 1
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %5, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %6, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
%15 = call i32 @strlcpy(ptr noundef %11, ptr noundef %12, i32 noundef %14)
%16 = call ptr @strdup(ptr noundef %11)
%17 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %17)
ret ptr %16
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @strdup(ptr noundef) #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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp18yvu71t.c"
target datalayout = "e-m:e-p270: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 @left(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, 1
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %5, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %6, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
%15 = call i32 @strlcpy(ptr noundef %11, ptr noundef %12, i32 noundef %14)
%16 = call ptr @strdup(ptr noundef %11)
%17 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %17)
ret ptr %16
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @strdup(ptr noundef) #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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp80_huec3.c'
source_filename = "/tmp/tmp80_huec3.c"
target datalayout = "e-m:e-p270: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.TYPE_7__ = type { i64, i64, i64, ptr, ptr, ptr, ptr }
@Z_BUF_ERROR = dso_local global i32 0, align 4
@Z_DEFAULT_COMPRESSION = dso_local global i32 0, align 4
@Z_OK = dso_local global i32 0, align 4
@Z_FINISH = dso_local global i32 0, align 4
@Z_STREAM_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @encode_zip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca %struct.TYPE_7__, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%12 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 56)
%13 = load ptr, ptr %8, align 8
%14 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 6
store ptr %13, ptr %14, align 8
%15 = load i64, ptr %9, align 8
%16 = inttoptr i64 %15 to ptr
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 5
store ptr %16, ptr %17, align 8
%18 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 5
%19 = load ptr, ptr %18, align 8
%20 = ptrtoint ptr %19 to i64
%21 = load i64, ptr %9, align 8
%22 = icmp ne i64 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %4
%24 = load i32, ptr @Z_BUF_ERROR, align 4
store i32 %24, ptr %5, align 4
br label %73
25: ; preds = %4
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 4
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr %7, align 8
%29 = load i64, ptr %28, align 8
%30 = inttoptr i64 %29 to ptr
%31 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 3
store ptr %30, ptr %31, align 8
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 3
%33 = load ptr, ptr %32, align 8
%34 = ptrtoint ptr %33 to i64
%35 = load ptr, ptr %7, align 8
%36 = load i64, ptr %35, align 8
%37 = icmp ne i64 %34, %36
br i1 %37, label %38, label %40
38: ; preds = %25
%39 = load i32, ptr @Z_BUF_ERROR, align 4
store i32 %39, ptr %5, align 4
br label %73
40: ; preds = %25
%41 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 2
store i64 0, ptr %41, align 8
%42 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 1
store i64 0, ptr %42, align 8
%43 = load i32, ptr @Z_DEFAULT_COMPRESSION, align 4
%44 = call i32 @deflateInit(ptr noundef %10, i32 noundef %43)
store i32 %44, ptr %11, align 4
%45 = load i32, ptr %11, align 4
%46 = load i32, ptr @Z_OK, align 4
%47 = icmp ne i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %40
%49 = load i32, ptr %11, align 4
store i32 %49, ptr %5, align 4
br label %73
50: ; preds = %40
%51 = load i32, ptr @Z_FINISH, align 4
%52 = call i32 @deflate(ptr noundef %10, i32 noundef %51)
store i32 %52, ptr %11, align 4
%53 = load i32, ptr %11, align 4
%54 = load i32, ptr @Z_STREAM_END, align 4
%55 = icmp ne i32 %53, %54
br i1 %55, label %56, label %67
56: ; preds = %50
%57 = call i32 @inflateEnd(ptr noundef %10)
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr @Z_OK, align 4
%60 = icmp eq i32 %58, %59
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = load i32, ptr @Z_BUF_ERROR, align 4
br label %65
63: ; preds = %56
%64 = load i32, ptr %11, align 4
br label %65
65: ; preds = %63, %61
%66 = phi i32 [ %62, %61 ], [ %64, %63 ]
store i32 %66, ptr %5, align 4
br label %73
67: ; preds = %50
%68 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 0
%69 = load i64, ptr %68, align 8
%70 = load ptr, ptr %7, align 8
store i64 %69, ptr %70, align 8
%71 = call i32 @deflateEnd(ptr noundef %10)
store i32 %71, ptr %11, align 4
%72 = load i32, ptr %11, align 4
store i32 %72, ptr %5, align 4
br label %73
73: ; preds = %67, %65, %48, %38, %23
%74 = load i32, ptr %5, align 4
ret i32 %74
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @deflateInit(ptr noundef, i32 noundef) #1
declare i32 @deflate(ptr noundef, i32 noundef) #1
declare i32 @inflateEnd(ptr noundef) #1
declare i32 @deflateEnd(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/tmp80_huec3.c"
target datalayout = "e-m:e-p270: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.TYPE_7__ = type { i64, i64, i64, ptr, ptr, ptr, ptr }
@Z_BUF_ERROR = dso_local global i32 0, align 4
@Z_DEFAULT_COMPRESSION = dso_local global i32 0, align 4
@Z_OK = dso_local global i32 0, align 4
@Z_FINISH = dso_local global i32 0, align 4
@Z_STREAM_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @encode_zip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca %struct.TYPE_7__, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%12 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 56)
%13 = load ptr, ptr %8, align 8
%14 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 6
store ptr %13, ptr %14, align 8
%15 = load i64, ptr %9, align 8
%16 = inttoptr i64 %15 to ptr
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 5
store ptr %16, ptr %17, align 8
%18 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 5
%19 = load ptr, ptr %18, align 8
%20 = ptrtoint ptr %19 to i64
%21 = load i64, ptr %9, align 8
%22 = icmp ne i64 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %4
%24 = load i32, ptr @Z_BUF_ERROR, align 4
store i32 %24, ptr %5, align 4
br label %73
25: ; preds = %4
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 4
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr %7, align 8
%29 = load i64, ptr %28, align 8
%30 = inttoptr i64 %29 to ptr
%31 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 3
store ptr %30, ptr %31, align 8
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 3
%33 = load ptr, ptr %32, align 8
%34 = ptrtoint ptr %33 to i64
%35 = load ptr, ptr %7, align 8
%36 = load i64, ptr %35, align 8
%37 = icmp ne i64 %34, %36
br i1 %37, label %38, label %40
38: ; preds = %25
%39 = load i32, ptr @Z_BUF_ERROR, align 4
store i32 %39, ptr %5, align 4
br label %73
40: ; preds = %25
%41 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 2
store i64 0, ptr %41, align 8
%42 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 1
store i64 0, ptr %42, align 8
%43 = load i32, ptr @Z_DEFAULT_COMPRESSION, align 4
%44 = call i32 @deflateInit(ptr noundef %10, i32 noundef %43)
store i32 %44, ptr %11, align 4
%45 = load i32, ptr %11, align 4
%46 = load i32, ptr @Z_OK, align 4
%47 = icmp ne i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %40
%49 = load i32, ptr %11, align 4
store i32 %49, ptr %5, align 4
br label %73
50: ; preds = %40
%51 = load i32, ptr @Z_FINISH, align 4
%52 = call i32 @deflate(ptr noundef %10, i32 noundef %51)
store i32 %52, ptr %11, align 4
%53 = load i32, ptr %11, align 4
%54 = load i32, ptr @Z_STREAM_END, align 4
%55 = icmp ne i32 %53, %54
br i1 %55, label %56, label %67
56: ; preds = %50
%57 = call i32 @inflateEnd(ptr noundef %10)
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr @Z_OK, align 4
%60 = icmp eq i32 %58, %59
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = load i32, ptr @Z_BUF_ERROR, align 4
br label %65
63: ; preds = %56
%64 = load i32, ptr %11, align 4
br label %65
65: ; preds = %63, %61
%66 = phi i32 [ %62, %61 ], [ %64, %63 ]
store i32 %66, ptr %5, align 4
br label %73
67: ; preds = %50
%68 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i32 0, i32 0
%69 = load i64, ptr %68, align 8
%70 = load ptr, ptr %7, align 8
store i64 %69, ptr %70, align 8
%71 = call i32 @deflateEnd(ptr noundef %10)
store i32 %71, ptr %11, align 4
%72 = load i32, ptr %11, align 4
store i32 %72, ptr %5, align 4
br label %73
73: ; preds = %67, %65, %48, %38, %23
%74 = load i32, ptr %5, align 4
ret i32 %74
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @deflateInit(ptr noundef, i32 noundef) #1
declare i32 @deflate(ptr noundef, i32 noundef) #1
declare i32 @inflateEnd(ptr noundef) #1
declare i32 @deflateEnd(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/tmpvtv1q5vb.c'
source_filename = "/tmp/tmpvtv1q5vb.c"
target datalayout = "e-m:e-p270: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/tmpvtv1q5vb.c"
target datalayout = "e-m:e-p270: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/tmpud0cgat5.c'
source_filename = "/tmp/tmpud0cgat5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"this %is maomachong!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpud0cgat5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"this %is maomachong!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp23_8e6w5.c'
source_filename = "/tmp/tmp23_8e6w5.c"
target datalayout = "e-m:e-p270: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 [57 x i8] c"Usage: %s <PGM image file> <sigma> <variance threshold>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DisplayUsage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp23_8e6w5.c"
target datalayout = "e-m:e-p270: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 [57 x i8] c"Usage: %s <PGM image file> <sigma> <variance threshold>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DisplayUsage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlqre7y3.c'
source_filename = "/tmp/tmpxlqre7y3.c"
target datalayout = "e-m:e-p270: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/tmpxlqre7y3.c"
target datalayout = "e-m:e-p270: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/tmpfk9n14n3.c'
source_filename = "/tmp/tmpfk9n14n3.c"
target datalayout = "e-m:e-p270: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 @bmp180_altitude(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call float @bmp180_pressure(ptr noundef %5)
store float %6, ptr %3, align 4
%7 = load float, ptr %3, align 4
%8 = fdiv float %7, 1.000000e+02
%9 = fpext float %8 to double
%10 = fdiv double %9, 1.013250e+03
%11 = fptrunc double %10 to float
%12 = call i32 @pow(float noundef %11, i32 noundef 0)
%13 = sub nsw i32 1, %12
%14 = mul nsw i32 44330, %13
%15 = sitofp i32 %14 to float
store float %15, ptr %4, align 4
%16 = load float, ptr %4, align 4
ret float %16
}
declare float @bmp180_pressure(ptr noundef) #1
declare i32 @pow(float 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/tmpfk9n14n3.c"
target datalayout = "e-m:e-p270: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 @bmp180_altitude(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call float @bmp180_pressure(ptr noundef %5)
store float %6, ptr %3, align 4
%7 = load float, ptr %3, align 4
%8 = fdiv float %7, 1.000000e+02
%9 = fpext float %8 to double
%10 = fdiv double %9, 1.013250e+03
%11 = fptrunc double %10 to float
%12 = call i32 @pow(float noundef %11, i32 noundef 0)
%13 = sub nsw i32 1, %12
%14 = mul nsw i32 44330, %13
%15 = sitofp i32 %14 to float
store float %15, ptr %4, align 4
%16 = load float, ptr %4, align 4
ret float %16
}
declare float @bmp180_pressure(ptr noundef) #1
declare i32 @pow(float 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/tmpa51gbl95.c'
source_filename = "/tmp/tmpa51gbl95.c"
target datalayout = "e-m:e-p270: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/tmpa51gbl95.c"
target datalayout = "e-m:e-p270: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/tmplpn9m4wq.c'
source_filename = "/tmp/tmplpn9m4wq.c"
target datalayout = "e-m:e-p270: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/tmplpn9m4wq.c"
target datalayout = "e-m:e-p270: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/tmp367ddk6m.c'
source_filename = "/tmp/tmp367ddk6m.c"
target datalayout = "e-m:e-p270: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 @sqr_init() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp367ddk6m.c"
target datalayout = "e-m:e-p270: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 @sqr_init() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz90gm485.c'
source_filename = "/tmp/tmpz90gm485.c"
target datalayout = "e-m:e-p270: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 @strdup_trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %106
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = sub nsw i32 %13, 1
%15 = sext i32 %14 to i64
store i64 %15, ptr %5, align 8
store i64 0, ptr %4, align 8
br label %16
16: ; preds = %43, %11
%17 = load i64, ptr %4, align 8
%18 = load i64, ptr %5, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %46
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 32
br i1 %26, label %27, label %42
27: ; preds = %20
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 9
br i1 %33, label %34, label %42
34: ; preds = %27
%35 = load ptr, ptr %3, align 8
%36 = load i64, ptr %4, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 34
br i1 %40, label %41, label %42
41: ; preds = %34
br label %46
42: ; preds = %34, %27, %20
br label %43
43: ; preds = %42
%44 = load i64, ptr %4, align 8
%45 = add i64 %44, 1
store i64 %45, ptr %4, align 8
br label %16, !llvm.loop !6
46: ; preds = %41, %16
br label %47
47: ; preds = %81, %46
%48 = load i64, ptr %4, align 8
%49 = load i64, ptr %5, align 8
%50 = icmp ult i64 %48, %49
br i1 %50, label %51, label %84
51: ; preds = %47
%52 = load ptr, ptr %3, align 8
%53 = load i64, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 32
br i1 %57, label %58, label %80
58: ; preds = %51
%59 = load ptr, ptr %3, align 8
%60 = load i64, ptr %5, align 8
%61 = getelementptr inbounds i8, ptr %59, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp ne i32 %63, 9
br i1 %64, label %65, label %80
65: ; preds = %58
%66 = load ptr, ptr %3, align 8
%67 = load i64, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %66, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 34
br i1 %71, label %72, label %80
72: ; preds = %65
%73 = load ptr, ptr %3, align 8
%74 = load i64, ptr %5, align 8
%75 = getelementptr inbounds i8, ptr %73, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp ne i32 %77, 10
br i1 %78, label %79, label %80
79: ; preds = %72
br label %84
80: ; preds = %72, %65, %58, %51
br label %81
81: ; preds = %80
%82 = load i64, ptr %5, align 8
%83 = add i64 %82, -1
store i64 %83, ptr %5, align 8
br label %47, !llvm.loop !8
84: ; preds = %79, %47
%85 = load i64, ptr %5, align 8
%86 = load i64, ptr %4, align 8
%87 = sub i64 %85, %86
%88 = add i64 %87, 1
store i64 %88, ptr %6, align 8
%89 = load i64, ptr %6, align 8
%90 = add i64 %89, 1
%91 = call ptr @malloc(i64 noundef %90)
store ptr %91, ptr %7, align 8
%92 = load ptr, ptr %7, align 8
%93 = icmp ne ptr %92, null
br i1 %93, label %94, label %104
94: ; preds = %84
%95 = load ptr, ptr %7, align 8
%96 = load ptr, ptr %3, align 8
%97 = load i64, ptr %4, align 8
%98 = getelementptr inbounds i8, ptr %96, i64 %97
%99 = load i64, ptr %6, align 8
%100 = call i32 @strncpy(ptr noundef %95, ptr noundef %98, i64 noundef %99)
%101 = load ptr, ptr %7, align 8
%102 = load i64, ptr %6, align 8
%103 = getelementptr inbounds i8, ptr %101, i64 %102
store i8 0, ptr %103, align 1
br label %104
104: ; preds = %94, %84
%105 = load ptr, ptr %7, align 8
store ptr %105, ptr %2, align 8
br label %106
106: ; preds = %104, %10
%107 = load ptr, ptr %2, align 8
ret ptr %107
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz90gm485.c"
target datalayout = "e-m:e-p270: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 @strdup_trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %110
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = sub nsw i32 %13, 1
%15 = sext i32 %14 to i64
store i64 %15, ptr %5, align 8
store i64 0, ptr %4, align 8
%16 = load i64, ptr %4, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %11
br label %19
19: ; preds = %.lr.ph, %42
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 32
br i1 %25, label %26, label %41
26: ; preds = %19
%27 = load ptr, ptr %3, align 8
%28 = load i64, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 9
br i1 %32, label %33, label %41
33: ; preds = %26
%34 = load ptr, ptr %3, align 8
%35 = load i64, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 34
br i1 %39, label %40, label %41
40: ; preds = %33
br label %48
41: ; preds = %33, %26, %19
br label %42
42: ; preds = %41
%43 = load i64, ptr %4, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %4, align 8
%45 = load i64, ptr %4, align 8
%46 = load i64, ptr %5, align 8
%47 = icmp ult i64 %45, %46
br i1 %47, label %19, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %42
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %11
br label %48
48: ; preds = %.loopexit1, %40
%49 = load i64, ptr %4, align 8
%50 = load i64, ptr %5, align 8
%51 = icmp ult i64 %49, %50
br i1 %51, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %48
br label %52
52: ; preds = %.lr.ph2, %82
%53 = load ptr, ptr %3, align 8
%54 = load i64, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %53, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 32
br i1 %58, label %59, label %81
59: ; preds = %52
%60 = load ptr, ptr %3, align 8
%61 = load i64, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %60, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 9
br i1 %65, label %66, label %81
66: ; preds = %59
%67 = load ptr, ptr %3, align 8
%68 = load i64, ptr %5, align 8
%69 = getelementptr inbounds i8, ptr %67, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %71, 34
br i1 %72, label %73, label %81
73: ; preds = %66
%74 = load ptr, ptr %3, align 8
%75 = load i64, ptr %5, align 8
%76 = getelementptr inbounds i8, ptr %74, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp ne i32 %78, 10
br i1 %79, label %80, label %81
80: ; preds = %73
br label %88
81: ; preds = %73, %66, %59, %52
br label %82
82: ; preds = %81
%83 = load i64, ptr %5, align 8
%84 = add i64 %83, -1
store i64 %84, ptr %5, align 8
%85 = load i64, ptr %4, align 8
%86 = load i64, ptr %5, align 8
%87 = icmp ult i64 %85, %86
br i1 %87, label %52, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %82
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %48
br label %88
88: ; preds = %.loopexit, %80
%89 = load i64, ptr %5, align 8
%90 = load i64, ptr %4, align 8
%91 = sub i64 %89, %90
%92 = add i64 %91, 1
store i64 %92, ptr %6, align 8
%93 = load i64, ptr %6, align 8
%94 = add i64 %93, 1
%95 = call ptr @malloc(i64 noundef %94)
store ptr %95, ptr %7, align 8
%96 = load ptr, ptr %7, align 8
%97 = icmp ne ptr %96, null
br i1 %97, label %98, label %108
98: ; preds = %88
%99 = load ptr, ptr %7, align 8
%100 = load ptr, ptr %3, align 8
%101 = load i64, ptr %4, align 8
%102 = getelementptr inbounds i8, ptr %100, i64 %101
%103 = load i64, ptr %6, align 8
%104 = call i32 @strncpy(ptr noundef %99, ptr noundef %102, i64 noundef %103)
%105 = load ptr, ptr %7, align 8
%106 = load i64, ptr %6, align 8
%107 = getelementptr inbounds i8, ptr %105, i64 %106
store i8 0, ptr %107, align 1
br label %108
108: ; preds = %98, %88
%109 = load ptr, ptr %7, align 8
store ptr %109, ptr %2, align 8
br label %110
110: ; preds = %108, %10
%111 = load ptr, ptr %2, align 8
ret ptr %111
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpiba2pbca.c'
source_filename = "/tmp/tmpiba2pbca.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"##########CHESS##########\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"<1>PvP\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"\0ADO YOU WANT TO RESTART?(y/n): \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%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 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %1)
%7 = load i32, ptr %1, align 4
switch i32 %7, label %11 [
i32 1, label %8
]
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.4)
%10 = call i32 (...) @pvp()
br label %11
11: ; preds = %0, %8
%12 = call i32 @printf(ptr noundef @.str.5)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %2)
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
switch i32 %15, label %19 [
i32 121, label %16
i32 110, label %18
]
16: ; preds = %11
%17 = call i32 @printf(ptr noundef @.str.7)
call void @start()
br label %19
18: ; preds = %11
br label %19
19: ; preds = %18, %11, %16
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @pvp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpiba2pbca.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"##########CHESS##########\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"<1>PvP\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"\0ADO YOU WANT TO RESTART?(y/n): \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%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 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %1)
%7 = load i32, ptr %1, align 4
switch i32 %7, label %11 [
i32 1, label %8
]
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.4)
%10 = call i32 (...) @pvp()
br label %11
11: ; preds = %8, %0
%12 = call i32 @printf(ptr noundef @.str.5)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %2)
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
switch i32 %15, label %19 [
i32 121, label %16
i32 110, label %18
]
16: ; preds = %11
%17 = call i32 @printf(ptr noundef @.str.7)
call void @start()
br label %19
18: ; preds = %11
br label %19
19: ; preds = %18, %16, %11
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @pvp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp5q2ivlf6.c'
source_filename = "/tmp/tmp5q2ivlf6.c"
target datalayout = "e-m:e-p270: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/tmp5q2ivlf6.c"
target datalayout = "e-m:e-p270: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/tmp9wwdjhos.c'
source_filename = "/tmp/tmp9wwdjhos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Intelligent War Dialer [iWar]\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"http://www.softwink.com/iwar\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Version: %s\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"0.071\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"\22Now with 101% more VoIP!\22\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Written By Da Beave\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Released Jan. 16th 2006\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"Contact Information:\00", align 1
@.str.9 = private unnamed_addr constant [26 x i8] c"Email: [email protected]\00", align 1
@.str.10 = private unnamed_addr constant [36 x i8] c"IRC: irc.telephreak.org #telephreak\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nintro() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [50 x i8], align 16
%7 = load i32, ptr @stdscr, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @getmaxyx(i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %11, 7
%13 = sdiv i32 %12, 2
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 50
%16 = sdiv i32 %15, 2
%17 = call ptr @newwin(i32 noundef 15, i32 noundef 50, i32 noundef %13, i32 noundef %16)
store ptr %17, ptr %1, align 8
%18 = load ptr, ptr %1, align 8
%19 = call i32 @COLOR_PAIR(i32 noundef 6)
%20 = call i32 @wattrset(ptr noundef %18, i32 noundef %19)
%21 = load ptr, ptr %1, align 8
%22 = load i32, ptr @ACS_VLINE, align 4
%23 = load i32, ptr @ACS_HLINE, align 4
%24 = call i32 @box(ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load ptr, ptr %1, align 8
%26 = call i32 @COLOR_PAIR(i32 noundef 5)
%27 = call i32 @wattrset(ptr noundef %25, i32 noundef %26)
store i32 1, ptr %2, align 4
br label %28
28: ; preds = %44, %0
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 14
br i1 %30, label %31, label %47
31: ; preds = %28
store i32 1, ptr %3, align 4
br label %32
32: ; preds = %40, %31
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 49
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = load ptr, ptr %1, align 8
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %3, align 4
%39 = call i32 @mvwaddch(ptr noundef %36, i32 noundef %37, i32 noundef %38, i8 noundef signext 32)
br label %40
40: ; preds = %35
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
br label %32, !llvm.loop !6
43: ; preds = %32
br label %44
44: ; preds = %43
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %2, align 4
br label %28, !llvm.loop !8
47: ; preds = %28
%48 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%49 = call i32 @strncpy(ptr noundef %48, ptr noundef @.str, i32 noundef 50)
%50 = load ptr, ptr %1, align 8
%51 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%52 = call i32 @strlen(ptr noundef %51)
%53 = sub nsw i32 50, %52
%54 = sdiv i32 %53, 2
%55 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%56 = call i32 @mvwprintw(ptr noundef %50, i32 noundef 1, i32 noundef %54, ptr noundef @.str.1, ptr noundef %55)
%57 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%58 = call i32 @strncpy(ptr noundef %57, ptr noundef @.str.2, i32 noundef 50)
%59 = load ptr, ptr %1, align 8
%60 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%61 = call i32 @strlen(ptr noundef %60)
%62 = sub nsw i32 50, %61
%63 = sdiv i32 %62, 2
%64 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%65 = call i32 @mvwprintw(ptr noundef %59, i32 noundef 2, i32 noundef %63, ptr noundef @.str.1, ptr noundef %64)
%66 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%67 = call i32 @snprintf(ptr noundef %66, i32 noundef 50, ptr noundef @.str.3, ptr noundef @.str.4)
%68 = load ptr, ptr %1, align 8
%69 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%70 = call i32 @strlen(ptr noundef %69)
%71 = sub nsw i32 50, %70
%72 = sdiv i32 %71, 2
%73 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%74 = call i32 @mvwprintw(ptr noundef %68, i32 noundef 3, i32 noundef %72, ptr noundef @.str.1, ptr noundef %73)
%75 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%76 = call i32 @strncpy(ptr noundef %75, ptr noundef @.str.5, i32 noundef 50)
%77 = load ptr, ptr %1, align 8
%78 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%79 = call i32 @strlen(ptr noundef %78)
%80 = sub nsw i32 50, %79
%81 = sdiv i32 %80, 2
%82 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%83 = call i32 @mvwprintw(ptr noundef %77, i32 noundef 4, i32 noundef %81, ptr noundef @.str.1, ptr noundef %82)
%84 = load ptr, ptr %1, align 8
%85 = call i32 @COLOR_PAIR(i32 noundef 6)
%86 = call i32 @wattrset(ptr noundef %84, i32 noundef %85)
%87 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%88 = call i32 @strncpy(ptr noundef %87, ptr noundef @.str.6, i32 noundef 50)
%89 = load ptr, ptr %1, align 8
%90 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%91 = call i32 @strlen(ptr noundef %90)
%92 = sub nsw i32 50, %91
%93 = sdiv i32 %92, 2
%94 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%95 = call i32 @mvwprintw(ptr noundef %89, i32 noundef 6, i32 noundef %93, ptr noundef @.str.1, ptr noundef %94)
%96 = load ptr, ptr %1, align 8
%97 = call i32 @COLOR_PAIR(i32 noundef 5)
%98 = call i32 @wattrset(ptr noundef %96, i32 noundef %97)
%99 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%100 = call i32 @strncpy(ptr noundef %99, ptr noundef @.str.7, i32 noundef 50)
%101 = load ptr, ptr %1, align 8
%102 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%103 = call i32 @strlen(ptr noundef %102)
%104 = sub nsw i32 50, %103
%105 = sdiv i32 %104, 2
%106 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%107 = call i32 @mvwprintw(ptr noundef %101, i32 noundef 8, i32 noundef %105, ptr noundef @.str.1, ptr noundef %106)
%108 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%109 = call i32 @strncpy(ptr noundef %108, ptr noundef @.str.8, i32 noundef 50)
%110 = load ptr, ptr %1, align 8
%111 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%112 = call i32 @strlen(ptr noundef %111)
%113 = sub nsw i32 50, %112
%114 = sdiv i32 %113, 2
%115 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%116 = call i32 @mvwprintw(ptr noundef %110, i32 noundef 10, i32 noundef %114, ptr noundef @.str.1, ptr noundef %115)
%117 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%118 = call i32 @strncpy(ptr noundef %117, ptr noundef @.str.9, i32 noundef 50)
%119 = load ptr, ptr %1, align 8
%120 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%121 = call i32 @strlen(ptr noundef %120)
%122 = sub nsw i32 50, %121
%123 = sdiv i32 %122, 2
%124 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%125 = call i32 @mvwprintw(ptr noundef %119, i32 noundef 11, i32 noundef %123, ptr noundef @.str.1, ptr noundef %124)
%126 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%127 = call i32 @strncpy(ptr noundef %126, ptr noundef @.str.10, i32 noundef 50)
%128 = load ptr, ptr %1, align 8
%129 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%130 = call i32 @strlen(ptr noundef %129)
%131 = sub nsw i32 50, %130
%132 = sdiv i32 %131, 2
%133 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%134 = call i32 @mvwprintw(ptr noundef %128, i32 noundef 12, i32 noundef %132, ptr noundef @.str.1, ptr noundef %133)
%135 = load ptr, ptr %1, align 8
%136 = call i32 @wrefresh(ptr noundef %135)
%137 = call i32 @sleep(i32 noundef 3)
%138 = load ptr, ptr %1, align 8
%139 = call i32 @delwin(ptr noundef %138)
%140 = load i32, ptr @stdscr, align 4
%141 = call i32 @touchwin(i32 noundef %140)
%142 = call i32 (...) @refresh()
ret void
}
declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @newwin(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wattrset(ptr noundef, i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mvwprintw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @wrefresh(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @delwin(ptr noundef) #1
declare i32 @touchwin(i32 noundef) #1
declare i32 @refresh(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9wwdjhos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Intelligent War Dialer [iWar]\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"http://www.softwink.com/iwar\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Version: %s\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"0.071\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"\22Now with 101% more VoIP!\22\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Written By Da Beave\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"Released Jan. 16th 2006\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"Contact Information:\00", align 1
@.str.9 = private unnamed_addr constant [26 x i8] c"Email: [email protected]\00", align 1
@.str.10 = private unnamed_addr constant [36 x i8] c"IRC: irc.telephreak.org #telephreak\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nintro() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [50 x i8], align 16
%7 = load i32, ptr @stdscr, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @getmaxyx(i32 noundef %7, i32 noundef %8, i32 noundef %9)
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %11, 7
%13 = sdiv i32 %12, 2
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 50
%16 = sdiv i32 %15, 2
%17 = call ptr @newwin(i32 noundef 15, i32 noundef 50, i32 noundef %13, i32 noundef %16)
store ptr %17, ptr %1, align 8
%18 = load ptr, ptr %1, align 8
%19 = call i32 @COLOR_PAIR(i32 noundef 6)
%20 = call i32 @wattrset(ptr noundef %18, i32 noundef %19)
%21 = load ptr, ptr %1, align 8
%22 = load i32, ptr @ACS_VLINE, align 4
%23 = load i32, ptr @ACS_HLINE, align 4
%24 = call i32 @box(ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load ptr, ptr %1, align 8
%26 = call i32 @COLOR_PAIR(i32 noundef 5)
%27 = call i32 @wattrset(ptr noundef %25, i32 noundef %26)
store i32 1, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 14
br i1 %29, label %.lr.ph2, label %49
.lr.ph2: ; preds = %0
br label %30
30: ; preds = %.lr.ph2, %44
store i32 1, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %31, 49
br i1 %32, label %.lr.ph, label %43
.lr.ph: ; preds = %30
br label %33
33: ; preds = %.lr.ph, %38
%34 = load ptr, ptr %1, align 8
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = call i32 @mvwaddch(ptr noundef %34, i32 noundef %35, i32 noundef %36, i8 noundef signext 32)
br label %38
38: ; preds = %33
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %41, 49
br i1 %42, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %43
43: ; preds = %._crit_edge, %30
br label %44
44: ; preds = %43
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %2, align 4
%47 = load i32, ptr %2, align 4
%48 = icmp slt i32 %47, 14
br i1 %48, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %49
49: ; preds = %._crit_edge3, %0
%50 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%51 = call i32 @strncpy(ptr noundef %50, ptr noundef @.str, i32 noundef 50)
%52 = load ptr, ptr %1, align 8
%53 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%54 = call i32 @strlen(ptr noundef %53)
%55 = sub nsw i32 50, %54
%56 = sdiv i32 %55, 2
%57 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%58 = call i32 @mvwprintw(ptr noundef %52, i32 noundef 1, i32 noundef %56, ptr noundef @.str.1, ptr noundef %57)
%59 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%60 = call i32 @strncpy(ptr noundef %59, ptr noundef @.str.2, i32 noundef 50)
%61 = load ptr, ptr %1, align 8
%62 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%63 = call i32 @strlen(ptr noundef %62)
%64 = sub nsw i32 50, %63
%65 = sdiv i32 %64, 2
%66 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%67 = call i32 @mvwprintw(ptr noundef %61, i32 noundef 2, i32 noundef %65, ptr noundef @.str.1, ptr noundef %66)
%68 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%69 = call i32 @snprintf(ptr noundef %68, i32 noundef 50, ptr noundef @.str.3, ptr noundef @.str.4)
%70 = load ptr, ptr %1, align 8
%71 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%72 = call i32 @strlen(ptr noundef %71)
%73 = sub nsw i32 50, %72
%74 = sdiv i32 %73, 2
%75 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%76 = call i32 @mvwprintw(ptr noundef %70, i32 noundef 3, i32 noundef %74, ptr noundef @.str.1, ptr noundef %75)
%77 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%78 = call i32 @strncpy(ptr noundef %77, ptr noundef @.str.5, i32 noundef 50)
%79 = load ptr, ptr %1, align 8
%80 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%81 = call i32 @strlen(ptr noundef %80)
%82 = sub nsw i32 50, %81
%83 = sdiv i32 %82, 2
%84 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%85 = call i32 @mvwprintw(ptr noundef %79, i32 noundef 4, i32 noundef %83, ptr noundef @.str.1, ptr noundef %84)
%86 = load ptr, ptr %1, align 8
%87 = call i32 @COLOR_PAIR(i32 noundef 6)
%88 = call i32 @wattrset(ptr noundef %86, i32 noundef %87)
%89 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%90 = call i32 @strncpy(ptr noundef %89, ptr noundef @.str.6, i32 noundef 50)
%91 = load ptr, ptr %1, align 8
%92 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%93 = call i32 @strlen(ptr noundef %92)
%94 = sub nsw i32 50, %93
%95 = sdiv i32 %94, 2
%96 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%97 = call i32 @mvwprintw(ptr noundef %91, i32 noundef 6, i32 noundef %95, ptr noundef @.str.1, ptr noundef %96)
%98 = load ptr, ptr %1, align 8
%99 = call i32 @COLOR_PAIR(i32 noundef 5)
%100 = call i32 @wattrset(ptr noundef %98, i32 noundef %99)
%101 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%102 = call i32 @strncpy(ptr noundef %101, ptr noundef @.str.7, i32 noundef 50)
%103 = load ptr, ptr %1, align 8
%104 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%105 = call i32 @strlen(ptr noundef %104)
%106 = sub nsw i32 50, %105
%107 = sdiv i32 %106, 2
%108 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%109 = call i32 @mvwprintw(ptr noundef %103, i32 noundef 8, i32 noundef %107, ptr noundef @.str.1, ptr noundef %108)
%110 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%111 = call i32 @strncpy(ptr noundef %110, ptr noundef @.str.8, i32 noundef 50)
%112 = load ptr, ptr %1, align 8
%113 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%114 = call i32 @strlen(ptr noundef %113)
%115 = sub nsw i32 50, %114
%116 = sdiv i32 %115, 2
%117 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%118 = call i32 @mvwprintw(ptr noundef %112, i32 noundef 10, i32 noundef %116, ptr noundef @.str.1, ptr noundef %117)
%119 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%120 = call i32 @strncpy(ptr noundef %119, ptr noundef @.str.9, i32 noundef 50)
%121 = load ptr, ptr %1, align 8
%122 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%123 = call i32 @strlen(ptr noundef %122)
%124 = sub nsw i32 50, %123
%125 = sdiv i32 %124, 2
%126 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%127 = call i32 @mvwprintw(ptr noundef %121, i32 noundef 11, i32 noundef %125, ptr noundef @.str.1, ptr noundef %126)
%128 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%129 = call i32 @strncpy(ptr noundef %128, ptr noundef @.str.10, i32 noundef 50)
%130 = load ptr, ptr %1, align 8
%131 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%132 = call i32 @strlen(ptr noundef %131)
%133 = sub nsw i32 50, %132
%134 = sdiv i32 %133, 2
%135 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%136 = call i32 @mvwprintw(ptr noundef %130, i32 noundef 12, i32 noundef %134, ptr noundef @.str.1, ptr noundef %135)
%137 = load ptr, ptr %1, align 8
%138 = call i32 @wrefresh(ptr noundef %137)
%139 = call i32 @sleep(i32 noundef 3)
%140 = load ptr, ptr %1, align 8
%141 = call i32 @delwin(ptr noundef %140)
%142 = load i32, ptr @stdscr, align 4
%143 = call i32 @touchwin(i32 noundef %142)
%144 = call i32 (...) @refresh()
ret void
}
declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @newwin(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wattrset(ptr noundef, i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mvwprintw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @wrefresh(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @delwin(ptr noundef) #1
declare i32 @touchwin(i32 noundef) #1
declare i32 @refresh(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4g3vak4r.c'
source_filename = "/tmp/tmp4g3vak4r.c"
target datalayout = "e-m:e-p270: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" %s: Posicion: \0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Introducir la posicion de la fila: \0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %i\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Introducir la posicion de columna: \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ask_coordinates(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 %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13)
ret void
}
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/tmp4g3vak4r.c"
target datalayout = "e-m:e-p270: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" %s: Posicion: \0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Introducir la posicion de la fila: \0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %i\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Introducir la posicion de columna: \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ask_coordinates(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 %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13)
ret void
}
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/tmpevr1n3w6.c'
source_filename = "/tmp/tmpevr1n3w6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Maximum value of type signed char:%d\0A\00", align 1
@SCHAR_MAX = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"Minimum value of type signed char:%d\0A\00", align 1
@SCHAR_MIN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [41 x i8] c"Maximum value of type unsigned char:%u\0A\0A\00", align 1
@UCHAR_MAX = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"Maximum value of type signed short:%d\0A\00", align 1
@SHRT_MAX = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [39 x i8] c"Minimum value of type signed short:%d\0A\00", align 1
@SHRT_MIN = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [42 x i8] c"Maximum value of type unsigned short:%u\0A\0A\00", align 1
@USHRT_MAX = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [37 x i8] c"Maximum value of type signed int:%d\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [37 x i8] c"Minimum value of type signed int:%d\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [40 x i8] c"Maximum value of type unsigned int:%u\0A\0A\00", align 1
@UINT_MAX = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [39 x i8] c"Maximum value of type signed long:%ld\0A\00", align 1
@LONG_MAX = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [39 x i8] c"Minimum value of type signed long:%ld\0A\00", align 1
@LONG_MIN = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [42 x i8] c"Maximum value of type unsigned long:%lu\0A\0A\00", align 1
@ULONG_MAX = dso_local global i32 0, align 4
; 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 = load i32, ptr @SCHAR_MAX, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @SCHAR_MIN, align 4
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = load i32, ptr @UCHAR_MAX, align 4
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = load i32, ptr @SHRT_MAX, align 4
%9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = load i32, ptr @SHRT_MIN, align 4
%11 = call i32 @printf(ptr noundef @.str.4, i32 noundef %10)
%12 = load i32, ptr @USHRT_MAX, align 4
%13 = call i32 @printf(ptr noundef @.str.5, i32 noundef %12)
%14 = load i32, ptr @INT_MAX, align 4
%15 = call i32 @printf(ptr noundef @.str.6, i32 noundef %14)
%16 = load i32, ptr @INT_MIN, align 4
%17 = call i32 @printf(ptr noundef @.str.7, i32 noundef %16)
%18 = load i32, ptr @UINT_MAX, align 4
%19 = call i32 @printf(ptr noundef @.str.8, i32 noundef %18)
%20 = load i32, ptr @LONG_MAX, align 4
%21 = call i32 @printf(ptr noundef @.str.9, i32 noundef %20)
%22 = load i32, ptr @LONG_MIN, align 4
%23 = call i32 @printf(ptr noundef @.str.10, i32 noundef %22)
%24 = load i32, ptr @ULONG_MAX, align 4
%25 = call i32 @printf(ptr noundef @.str.11, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpevr1n3w6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Maximum value of type signed char:%d\0A\00", align 1
@SCHAR_MAX = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"Minimum value of type signed char:%d\0A\00", align 1
@SCHAR_MIN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [41 x i8] c"Maximum value of type unsigned char:%u\0A\0A\00", align 1
@UCHAR_MAX = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"Maximum value of type signed short:%d\0A\00", align 1
@SHRT_MAX = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [39 x i8] c"Minimum value of type signed short:%d\0A\00", align 1
@SHRT_MIN = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [42 x i8] c"Maximum value of type unsigned short:%u\0A\0A\00", align 1
@USHRT_MAX = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [37 x i8] c"Maximum value of type signed int:%d\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [37 x i8] c"Minimum value of type signed int:%d\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [40 x i8] c"Maximum value of type unsigned int:%u\0A\0A\00", align 1
@UINT_MAX = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [39 x i8] c"Maximum value of type signed long:%ld\0A\00", align 1
@LONG_MAX = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [39 x i8] c"Minimum value of type signed long:%ld\0A\00", align 1
@LONG_MIN = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [42 x i8] c"Maximum value of type unsigned long:%lu\0A\0A\00", align 1
@ULONG_MAX = dso_local global i32 0, align 4
; 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 = load i32, ptr @SCHAR_MAX, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @SCHAR_MIN, align 4
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = load i32, ptr @UCHAR_MAX, align 4
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = load i32, ptr @SHRT_MAX, align 4
%9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = load i32, ptr @SHRT_MIN, align 4
%11 = call i32 @printf(ptr noundef @.str.4, i32 noundef %10)
%12 = load i32, ptr @USHRT_MAX, align 4
%13 = call i32 @printf(ptr noundef @.str.5, i32 noundef %12)
%14 = load i32, ptr @INT_MAX, align 4
%15 = call i32 @printf(ptr noundef @.str.6, i32 noundef %14)
%16 = load i32, ptr @INT_MIN, align 4
%17 = call i32 @printf(ptr noundef @.str.7, i32 noundef %16)
%18 = load i32, ptr @UINT_MAX, align 4
%19 = call i32 @printf(ptr noundef @.str.8, i32 noundef %18)
%20 = load i32, ptr @LONG_MAX, align 4
%21 = call i32 @printf(ptr noundef @.str.9, i32 noundef %20)
%22 = load i32, ptr @LONG_MIN, align 4
%23 = call i32 @printf(ptr noundef @.str.10, i32 noundef %22)
%24 = load i32, ptr @ULONG_MAX, align 4
%25 = call i32 @printf(ptr noundef @.str.11, 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"}
|
; ModuleID = '/tmp/tmpsu6b_h9m.c'
source_filename = "/tmp/tmpsu6b_h9m.c"
target datalayout = "e-m:e-p270: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 @kurtosis(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = call double @mean(ptr noundef %9, i32 noundef %10)
store double %11, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %46, %2
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %49
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, ptr %17, i64 %19
%21 = load float, ptr %20, align 4
%22 = fpext float %21 to double
%23 = load double, ptr %7, align 8
%24 = fsub double %22, %23
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds float, ptr %25, i64 %27
%29 = load float, ptr %28, align 4
%30 = fpext float %29 to double
%31 = load double, ptr %7, align 8
%32 = fsub double %30, %31
%33 = load double, ptr %5, align 8
%34 = call double @llvm.fmuladd.f64(double %24, double %32, double %33)
store double %34, ptr %5, align 8
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %35, i64 %37
%39 = load float, ptr %38, align 4
%40 = fpext float %39 to double
%41 = load double, ptr %7, align 8
%42 = fsub double %40, %41
%43 = call double @pow(double noundef %42, i32 noundef 4)
%44 = load double, ptr %6, align 8
%45 = fadd double %44, %43
store double %45, ptr %6, align 8
br label %46
46: ; preds = %16
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
br label %12, !llvm.loop !6
49: ; preds = %12
%50 = load double, ptr %6, align 8
%51 = load i32, ptr %4, align 4
%52 = sitofp i32 %51 to double
%53 = fdiv double %50, %52
%54 = load double, ptr %5, align 8
%55 = load i32, ptr %4, align 4
%56 = sitofp i32 %55 to double
%57 = fdiv double %54, %56
%58 = call double @pow(double noundef %57, i32 noundef 4)
%59 = fdiv double %53, %58
ret double %59
}
declare double @mean(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsu6b_h9m.c"
target datalayout = "e-m:e-p270: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 @kurtosis(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = call double @mean(ptr noundef %9, i32 noundef %10)
store double %11, ptr %7, align 8
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %51
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %45
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
%20 = load float, ptr %19, align 4
%21 = fpext float %20 to double
%22 = load double, ptr %7, align 8
%23 = fsub double %21, %22
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds float, ptr %24, i64 %26
%28 = load float, ptr %27, align 4
%29 = fpext float %28 to double
%30 = load double, ptr %7, align 8
%31 = fsub double %29, %30
%32 = load double, ptr %5, align 8
%33 = call double @llvm.fmuladd.f64(double %23, double %31, double %32)
store double %33, ptr %5, align 8
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds float, ptr %34, i64 %36
%38 = load float, ptr %37, align 4
%39 = fpext float %38 to double
%40 = load double, ptr %7, align 8
%41 = fsub double %39, %40
%42 = call double @pow(double noundef %41, i32 noundef 4)
%43 = load double, ptr %6, align 8
%44 = fadd double %43, %42
store double %44, ptr %6, align 8
br label %45
45: ; preds = %15
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %2
%52 = load double, ptr %6, align 8
%53 = load i32, ptr %4, align 4
%54 = sitofp i32 %53 to double
%55 = fdiv double %52, %54
%56 = load double, ptr %5, align 8
%57 = load i32, ptr %4, align 4
%58 = sitofp i32 %57 to double
%59 = fdiv double %56, %58
%60 = call double @pow(double noundef %59, i32 noundef 4)
%61 = fdiv double %55, %60
ret double %61
}
declare double @mean(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcwbtp83o.c'
source_filename = "/tmp/tmpcwbtp83o.c"
target datalayout = "e-m:e-p270: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 @stb_prefix_count(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
%13 = load i8, ptr %11, align 1
%14 = sext i8 %13 to i32
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %4, align 8
%17 = load i8, ptr %15, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %14, %18
br i1 %19, label %20, label %21
20: ; preds = %10
br label %24
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %20, %6
%25 = load i32, ptr %5, align 4
ret i32 %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 = '<stdin>'
source_filename = "/tmp/tmpcwbtp83o.c"
target datalayout = "e-m:e-p270: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 @stb_prefix_count(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %3, align 8
%12 = load i8, ptr %10, align 1
%13 = sext i8 %12 to i32
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %4, align 8
%16 = load i8, ptr %14, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %13, %17
br i1 %18, label %19, label %20
19: ; preds = %9
br label %26
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = icmp ne i8 %24, 0
br i1 %25, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %26
26: ; preds = %.loopexit, %19
%27 = load i32, ptr %5, align 4
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwcgzgz5a.c'
source_filename = "/tmp/tmpwcgzgz5a.c"
target datalayout = "e-m:e-p270: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 @LCDRasterSubPanelDisable(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1141178368
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 56
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
%12 = and i32 %11, 2147483647
store volatile i32 %12, ptr %10, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwcgzgz5a.c"
target datalayout = "e-m:e-p270: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 @LCDRasterSubPanelDisable(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1141178368
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 56
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
%12 = and i32 %11, 2147483647
store volatile i32 %12, ptr %10, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9w1bscyr.c'
source_filename = "/tmp/tmp9w1bscyr.c"
target datalayout = "e-m:e-p270: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 @test_mm_cmpge_sd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_cmpge_sd(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_cmpge_sd(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/tmp9w1bscyr.c"
target datalayout = "e-m:e-p270: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 @test_mm_cmpge_sd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_cmpge_sd(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_cmpge_sd(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/tmp_836hzbe.c'
source_filename = "/tmp/tmp_836hzbe.c"
target datalayout = "e-m:e-p270: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 @aegis128L_ad_partial(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 [32 x i8], align 16
%8 = alloca [32 x i8], align 16
%9 = 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
store i64 0, ptr %9, align 8
br label %10
10: ; preds = %22, %3
%11 = load i64, ptr %9, align 8
%12 = add i64 %11, 32
%13 = load i64, ptr %6, align 8
%14 = icmp ule i64 %12, %13
br i1 %14, label %15, label %25
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %9, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%20 = load ptr, ptr %4, align 8
%21 = call i32 @aegis128L_enc_aut_step(ptr noundef %18, ptr noundef %19, ptr noundef %20)
br label %22
22: ; preds = %15
%23 = load i64, ptr %9, align 8
%24 = add i64 %23, 32
store i64 %24, ptr %9, align 8
br label %10, !llvm.loop !6
25: ; preds = %10
%26 = load i64, ptr %6, align 8
%27 = and i64 %26, 31
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %43
29: ; preds = %25
%30 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%31 = call i32 @memset(ptr noundef %30, i32 noundef 0, i32 noundef 32)
%32 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%33 = load ptr, ptr %5, align 8
%34 = load i64, ptr %9, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
%36 = load i64, ptr %6, align 8
%37 = and i64 %36, 31
%38 = call i32 @memcpy(ptr noundef %32, ptr noundef %35, i64 noundef %37)
%39 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%40 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%41 = load ptr, ptr %4, align 8
%42 = call i32 @aegis128L_enc_aut_step(ptr noundef %39, ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %29, %25
ret void
}
declare i32 @aegis128L_enc_aut_step(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_836hzbe.c"
target datalayout = "e-m:e-p270: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 @aegis128L_ad_partial(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 [32 x i8], align 16
%8 = alloca [32 x i8], align 16
%9 = 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
store i64 0, ptr %9, align 8
%10 = load i64, ptr %9, align 8
%11 = add i64 %10, 32
%12 = load i64, ptr %6, align 8
%13 = icmp ule i64 %11, %12
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %21
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %9, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
%18 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%19 = load ptr, ptr %4, align 8
%20 = call i32 @aegis128L_enc_aut_step(ptr noundef %17, ptr noundef %18, ptr noundef %19)
br label %21
21: ; preds = %14
%22 = load i64, ptr %9, align 8
%23 = add i64 %22, 32
store i64 %23, ptr %9, align 8
%24 = load i64, ptr %9, align 8
%25 = add i64 %24, 32
%26 = load i64, ptr %6, align 8
%27 = icmp ule i64 %25, %26
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %3
%29 = load i64, ptr %6, align 8
%30 = and i64 %29, 31
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %46
32: ; preds = %28
%33 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%34 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef 32)
%35 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %9, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = load i64, ptr %6, align 8
%40 = and i64 %39, 31
%41 = call i32 @memcpy(ptr noundef %35, ptr noundef %38, i64 noundef %40)
%42 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%43 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%44 = load ptr, ptr %4, align 8
%45 = call i32 @aegis128L_enc_aut_step(ptr noundef %42, ptr noundef %43, ptr noundef %44)
br label %46
46: ; preds = %32, %28
ret void
}
declare i32 @aegis128L_enc_aut_step(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu353qnho.c'
source_filename = "/tmp/tmpu353qnho.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i32 @smashable(ptr noundef %12)
store i32 1, ptr %3, align 4
br label %14
14: ; preds = %9, %8
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @smashable(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/tmpu353qnho.c"
target datalayout = "e-m:e-p270: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i32 @smashable(ptr noundef %12)
store i32 1, ptr %3, align 4
br label %14
14: ; preds = %9, %8
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @smashable(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/tmp0jt_ufr8.c'
source_filename = "/tmp/tmp0jt_ufr8.c"
target datalayout = "e-m:e-p270: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 @fillTestData(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 @addDynArr(ptr noundef %3, i32 noundef 14)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @addDynArr(ptr noundef %5, i32 noundef 3)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @addDynArr(ptr noundef %7, i32 noundef 1)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @addDynArr(ptr noundef %9, i32 noundef 2)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @addDynArr(ptr noundef %11, i32 noundef 15)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @addDynArr(ptr noundef %13, i32 noundef 8)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @addDynArr(ptr noundef %15, i32 noundef 16)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @addDynArr(ptr noundef %17, i32 noundef 4)
%19 = load ptr, ptr %2, align 8
%20 = call i32 @addDynArr(ptr noundef %19, i32 noundef 6)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @addDynArr(ptr noundef %21, i32 noundef 7)
%23 = load ptr, ptr %2, align 8
%24 = call i32 @addDynArr(ptr noundef %23, i32 noundef 9)
%25 = load ptr, ptr %2, align 8
%26 = call i32 @addDynArr(ptr noundef %25, i32 noundef 12)
%27 = load ptr, ptr %2, align 8
%28 = call i32 @addDynArr(ptr noundef %27, i32 noundef 5)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @addDynArr(ptr noundef %29, i32 noundef 13)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @addDynArr(ptr noundef %31, i32 noundef 10)
%33 = load ptr, ptr %2, align 8
%34 = call i32 @addDynArr(ptr noundef %33, i32 noundef 11)
ret void
}
declare i32 @addDynArr(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/tmp0jt_ufr8.c"
target datalayout = "e-m:e-p270: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 @fillTestData(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 @addDynArr(ptr noundef %3, i32 noundef 14)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @addDynArr(ptr noundef %5, i32 noundef 3)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @addDynArr(ptr noundef %7, i32 noundef 1)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @addDynArr(ptr noundef %9, i32 noundef 2)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @addDynArr(ptr noundef %11, i32 noundef 15)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @addDynArr(ptr noundef %13, i32 noundef 8)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @addDynArr(ptr noundef %15, i32 noundef 16)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @addDynArr(ptr noundef %17, i32 noundef 4)
%19 = load ptr, ptr %2, align 8
%20 = call i32 @addDynArr(ptr noundef %19, i32 noundef 6)
%21 = load ptr, ptr %2, align 8
%22 = call i32 @addDynArr(ptr noundef %21, i32 noundef 7)
%23 = load ptr, ptr %2, align 8
%24 = call i32 @addDynArr(ptr noundef %23, i32 noundef 9)
%25 = load ptr, ptr %2, align 8
%26 = call i32 @addDynArr(ptr noundef %25, i32 noundef 12)
%27 = load ptr, ptr %2, align 8
%28 = call i32 @addDynArr(ptr noundef %27, i32 noundef 5)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @addDynArr(ptr noundef %29, i32 noundef 13)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @addDynArr(ptr noundef %31, i32 noundef 10)
%33 = load ptr, ptr %2, align 8
%34 = call i32 @addDynArr(ptr noundef %33, i32 noundef 11)
ret void
}
declare i32 @addDynArr(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/tmpb5bjnvbm.c'
source_filename = "/tmp/tmpb5bjnvbm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"******************************\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s:%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @callback(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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 ptr %3, ptr %8, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %27, %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 %15, label %30
15: ; preds = %11
%16 = load ptr, ptr %8, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20, ptr noundef %25)
br label %27
27: ; preds = %15
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
br label %11, !llvm.loop !6
30: ; preds = %11
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb5bjnvbm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"******************************\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s:%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @callback(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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 ptr %3, ptr %8, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %32
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %26
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %24)
br label %26
26: ; preds = %14
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %4
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkmrmym6o.c'
source_filename = "/tmp/tmpkmrmym6o.c"
target datalayout = "e-m:e-p270: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 @vlistDefAttFlt(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %10, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %11, align 4
%18 = sext i32 %17 to i64
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = load ptr, ptr %12, align 8
%23 = call i32 @vlist_def_att(i32 noundef 252, i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %16, i64 noundef %18, i64 noundef %21, ptr noundef %22)
ret i32 %23
}
declare i32 @vlist_def_att(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i64 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/tmpkmrmym6o.c"
target datalayout = "e-m:e-p270: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 @vlistDefAttFlt(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %10, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %11, align 4
%18 = sext i32 %17 to i64
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = load ptr, ptr %12, align 8
%23 = call i32 @vlist_def_att(i32 noundef 252, i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %16, i64 noundef %18, i64 noundef %21, ptr noundef %22)
ret i32 %23
}
declare i32 @vlist_def_att(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i64 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/tmplb0fra2i.c'
source_filename = "/tmp/tmplb0fra2i.c"
target datalayout = "e-m:e-p270: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/tmplb0fra2i.c"
target datalayout = "e-m:e-p270: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/tmp4ytga2sx.c'
source_filename = "/tmp/tmp4ytga2sx.c"
target datalayout = "e-m:e-p270: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/tmp4ytga2sx.c"
target datalayout = "e-m:e-p270: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/tmpiiicuvai.c'
source_filename = "/tmp/tmpiiicuvai.c"
target datalayout = "e-m:e-p270: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 [74 x i8] c"Enter thresholds for A, B, C, D \0A in that order, decreasing percentages> \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%f %f %f %f\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"Thank you. Now enter student score (percent) > \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"Student has an A grade \0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Student has an B grade \0A\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"Student has an C grade \0A\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"Student has an D \0A\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"Student has an F grade \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
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6)
%11 = load float, ptr %6, align 4
%12 = load float, ptr %2, align 4
%13 = fcmp oge float %11, %12
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.4)
br label %56
16: ; preds = %0
%17 = load float, ptr %3, align 4
%18 = load float, ptr %6, align 4
%19 = fcmp ole float %17, %18
%20 = zext i1 %19 to i32
%21 = sitofp i32 %20 to float
%22 = load float, ptr %2, align 4
%23 = fcmp olt float %21, %22
br i1 %23, label %24, label %26
24: ; preds = %16
%25 = call i32 @printf(ptr noundef @.str.5)
br label %55
26: ; preds = %16
%27 = load float, ptr %4, align 4
%28 = load float, ptr %6, align 4
%29 = fcmp ole float %27, %28
%30 = zext i1 %29 to i32
%31 = sitofp i32 %30 to float
%32 = load float, ptr %3, align 4
%33 = fcmp olt float %31, %32
br i1 %33, label %34, label %36
34: ; preds = %26
%35 = call i32 @printf(ptr noundef @.str.6)
br label %54
36: ; preds = %26
%37 = load float, ptr %5, align 4
%38 = load float, ptr %6, align 4
%39 = fcmp ole float %37, %38
%40 = zext i1 %39 to i32
%41 = sitofp i32 %40 to float
%42 = load float, ptr %4, align 4
%43 = fcmp olt float %41, %42
br i1 %43, label %44, label %46
44: ; preds = %36
%45 = call i32 @printf(ptr noundef @.str.7)
br label %53
46: ; preds = %36
%47 = load float, ptr %6, align 4
%48 = load float, ptr %5, align 4
%49 = fcmp olt float %47, %48
br i1 %49, label %50, label %52
50: ; preds = %46
%51 = call i32 @printf(ptr noundef @.str.8)
br label %52
52: ; preds = %50, %46
br label %53
53: ; preds = %52, %44
br label %54
54: ; preds = %53, %34
store i32 0, ptr %1, align 4
br label %56
55: ; preds = %24
br label %56
56: ; preds = %54, %55, %14
%57 = load i32, ptr %1, align 4
ret i32 %57
}
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/tmpiiicuvai.c"
target datalayout = "e-m:e-p270: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 [74 x i8] c"Enter thresholds for A, B, C, D \0A in that order, decreasing percentages> \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%f %f %f %f\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"Thank you. Now enter student score (percent) > \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"Student has an A grade \0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Student has an B grade \0A\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"Student has an C grade \0A\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"Student has an D \0A\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"Student has an F grade \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
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6)
%11 = load float, ptr %6, align 4
%12 = load float, ptr %2, align 4
%13 = fcmp oge float %11, %12
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.4)
br label %56
16: ; preds = %0
%17 = load float, ptr %3, align 4
%18 = load float, ptr %6, align 4
%19 = fcmp ole float %17, %18
%20 = zext i1 %19 to i32
%21 = sitofp i32 %20 to float
%22 = load float, ptr %2, align 4
%23 = fcmp olt float %21, %22
br i1 %23, label %24, label %26
24: ; preds = %16
%25 = call i32 @printf(ptr noundef @.str.5)
br label %55
26: ; preds = %16
%27 = load float, ptr %4, align 4
%28 = load float, ptr %6, align 4
%29 = fcmp ole float %27, %28
%30 = zext i1 %29 to i32
%31 = sitofp i32 %30 to float
%32 = load float, ptr %3, align 4
%33 = fcmp olt float %31, %32
br i1 %33, label %34, label %36
34: ; preds = %26
%35 = call i32 @printf(ptr noundef @.str.6)
br label %54
36: ; preds = %26
%37 = load float, ptr %5, align 4
%38 = load float, ptr %6, align 4
%39 = fcmp ole float %37, %38
%40 = zext i1 %39 to i32
%41 = sitofp i32 %40 to float
%42 = load float, ptr %4, align 4
%43 = fcmp olt float %41, %42
br i1 %43, label %44, label %46
44: ; preds = %36
%45 = call i32 @printf(ptr noundef @.str.7)
br label %53
46: ; preds = %36
%47 = load float, ptr %6, align 4
%48 = load float, ptr %5, align 4
%49 = fcmp olt float %47, %48
br i1 %49, label %50, label %52
50: ; preds = %46
%51 = call i32 @printf(ptr noundef @.str.8)
br label %52
52: ; preds = %50, %46
br label %53
53: ; preds = %52, %44
br label %54
54: ; preds = %53, %34
store i32 0, ptr %1, align 4
br label %56
55: ; preds = %24
br label %56
56: ; preds = %55, %54, %14
%57 = load i32, ptr %1, align 4
ret i32 %57
}
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/tmp2yrd9pzv.c'
source_filename = "/tmp/tmp2yrd9pzv.c"
target datalayout = "e-m:e-p270: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/tmp2yrd9pzv.c"
target datalayout = "e-m:e-p270: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/tmp2_zj1v2b.c'
source_filename = "/tmp/tmp2_zj1v2b.c"
target datalayout = "e-m:e-p270: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 [5 x i8] c"%f%f\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"divisao impossivel\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%0.1f\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 float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %3, align 4
br label %8
8: ; preds = %30, %0
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %33
12: ; preds = %8
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
%14 = load float, ptr %5, align 4
%15 = fcmp oeq float %14, 0.000000e+00
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %29
18: ; preds = %12
%19 = load float, ptr %5, align 4
%20 = fcmp une float %19, 0.000000e+00
br i1 %20, label %21, label %28
21: ; preds = %18
%22 = load float, ptr %4, align 4
%23 = load float, ptr %5, align 4
%24 = fdiv float %22, %23
store float %24, ptr %6, align 4
%25 = load float, ptr %6, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %26)
br label %28
28: ; preds = %21, %18
br label %29
29: ; preds = %28, %16
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
br label %8, !llvm.loop !6
33: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_zj1v2b.c"
target datalayout = "e-m:e-p270: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 [5 x i8] c"%f%f\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"divisao impossivel\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%0.1f\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 float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %35
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %29
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
%13 = load float, ptr %5, align 4
%14 = fcmp oeq float %13, 0.000000e+00
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %28
17: ; preds = %11
%18 = load float, ptr %5, align 4
%19 = fcmp une float %18, 0.000000e+00
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = load float, ptr %4, align 4
%22 = load float, ptr %5, align 4
%23 = fdiv float %21, %22
store float %23, ptr %6, align 4
%24 = load float, ptr %6, align 4
%25 = fpext float %24 to double
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %25)
br label %27
27: ; preds = %20, %17
br label %28
28: ; preds = %27, %15
br label %29
29: ; preds = %28
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphakne1pa.c'
source_filename = "/tmp/tmphakne1pa.c"
target datalayout = "e-m:e-p270: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/tmphakne1pa.c"
target datalayout = "e-m:e-p270: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/tmpksnjugzq.c'
source_filename = "/tmp/tmpksnjugzq.c"
target datalayout = "e-m:e-p270: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/tmpksnjugzq.c"
target datalayout = "e-m:e-p270: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/tmpekc215n_.c'
source_filename = "/tmp/tmpekc215n_.c"
target datalayout = "e-m:e-p270: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 @Calc_Tiny(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp sgt i32 %15, 3000
br i1 %16, label %17, label %18
17: ; preds = %5
store i32 0, ptr %6, align 4
br label %42
18: ; preds = %5
%19 = load i32, ptr %7, align 4
%20 = sitofp i32 %19 to float
%21 = fdiv float %20, 6.000000e+05
%22 = call i32 @ceil(float noundef %21)
store i32 %22, ptr %12, align 4
%23 = load i32, ptr %12, align 4
%24 = icmp sgt i32 %23, 1
br i1 %24, label %25, label %30
25: ; preds = %18
%26 = load i32, ptr %12, align 4
%27 = sub nsw i32 %26, 1
%28 = load i32, ptr %12, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %12, align 4
br label %30
30: ; preds = %25, %18
%31 = load i32, ptr %8, align 4
%32 = mul nsw i32 %31, 15
store i32 %32, ptr %13, align 4
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr %13, align 4
%35 = mul nsw i32 %33, %34
store i32 %35, ptr %14, align 4
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %10, align 8
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %14, align 4
%40 = call i32 @Calc_Time(ptr noundef %36, ptr noundef %37, ptr noundef %38, i32 noundef %39)
%41 = load i32, ptr %14, align 4
store i32 %41, ptr %6, align 4
br label %42
42: ; preds = %30, %17
%43 = load i32, ptr %6, align 4
ret i32 %43
}
declare i32 @ceil(float noundef) #1
declare i32 @Calc_Time(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/tmpekc215n_.c"
target datalayout = "e-m:e-p270: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 @Calc_Tiny(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp sgt i32 %15, 3000
br i1 %16, label %17, label %18
17: ; preds = %5
store i32 0, ptr %6, align 4
br label %42
18: ; preds = %5
%19 = load i32, ptr %7, align 4
%20 = sitofp i32 %19 to float
%21 = fdiv float %20, 6.000000e+05
%22 = call i32 @ceil(float noundef %21)
store i32 %22, ptr %12, align 4
%23 = load i32, ptr %12, align 4
%24 = icmp sgt i32 %23, 1
br i1 %24, label %25, label %30
25: ; preds = %18
%26 = load i32, ptr %12, align 4
%27 = sub nsw i32 %26, 1
%28 = load i32, ptr %12, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %12, align 4
br label %30
30: ; preds = %25, %18
%31 = load i32, ptr %8, align 4
%32 = mul nsw i32 %31, 15
store i32 %32, ptr %13, align 4
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr %13, align 4
%35 = mul nsw i32 %33, %34
store i32 %35, ptr %14, align 4
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %10, align 8
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %14, align 4
%40 = call i32 @Calc_Time(ptr noundef %36, ptr noundef %37, ptr noundef %38, i32 noundef %39)
%41 = load i32, ptr %14, align 4
store i32 %41, ptr %6, align 4
br label %42
42: ; preds = %30, %17
%43 = load i32, ptr %6, align 4
ret i32 %43
}
declare i32 @ceil(float noundef) #1
declare i32 @Calc_Time(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/tmpbqm304kq.c'
source_filename = "/tmp/tmpbqm304kq.c"
target datalayout = "e-m:e-p270: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 @rbernoulli(double noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
%5 = call double (...) @runif()
store double %5, ptr %4, align 8
%6 = load double, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = fcmp olt double %6, %7
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare double @runif(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpbqm304kq.c"
target datalayout = "e-m:e-p270: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 @rbernoulli(double noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
%5 = call double (...) @runif()
store double %5, ptr %4, align 8
%6 = load double, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = fcmp olt double %6, %7
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare double @runif(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpv1pdp15l.c'
source_filename = "/tmp/tmpv1pdp15l.c"
target datalayout = "e-m:e-p270: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"Usage: textext [string]\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"'h' - help\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"'UP' - scale up\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"'DOWN' - scale down\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"left mouse - pan\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"middle mouse - rotate\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
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/tmpv1pdp15l.c"
target datalayout = "e-m:e-p270: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"Usage: textext [string]\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"'h' - help\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"'UP' - scale up\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"'DOWN' - scale down\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"left mouse - pan\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"middle mouse - rotate\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
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/tmp1nutrdqh.c'
source_filename = "/tmp/tmp1nutrdqh.c"
target datalayout = "e-m:e-p270: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 @pthread_attr_getstack(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias 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
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp1nutrdqh.c"
target datalayout = "e-m:e-p270: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 @pthread_attr_getstack(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias 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
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpe3et22bb.c'
source_filename = "/tmp/tmpe3et22bb.c"
target datalayout = "e-m:e-p270: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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"TAK\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"NIE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i64, ptr %2, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %0
%7 = load i64, ptr %2, align 8
%8 = load i64, ptr %2, align 8
%9 = sub nsw i64 %8, 1
%10 = and i64 %7, %9
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %6, %0
%13 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %16
14: ; preds = %6
%15 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %16
16: ; preds = %14, %12
%17 = load i32, ptr %1, align 4
ret i32 %17
}
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/tmpe3et22bb.c"
target datalayout = "e-m:e-p270: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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"TAK\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"NIE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i64, ptr %2, align 8
%5 = icmp slt i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %0
%7 = load i64, ptr %2, align 8
%8 = load i64, ptr %2, align 8
%9 = sub nsw i64 %8, 1
%10 = and i64 %7, %9
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %6, %0
%13 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %16
14: ; preds = %6
%15 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %16
16: ; preds = %14, %12
%17 = load i32, ptr %1, align 4
ret i32 %17
}
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/tmphjf8e4df.c'
source_filename = "/tmp/tmphjf8e4df.c"
target datalayout = "e-m:e-p270: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 @reverseMemory(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %3, align 8
br label %43
13: ; preds = %2
%14 = load i64, ptr %5, align 8
%15 = icmp ult i64 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %3, align 8
br label %43
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = getelementptr inbounds i8, ptr %22, i64 -1
store ptr %23, ptr %7, align 8
br label %24
24: ; preds = %36, %18
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %7, align 8
%27 = icmp ult ptr %25, %26
br i1 %27, label %28, label %41
28: ; preds = %24
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
store i8 %30, ptr %8, align 1
%31 = load ptr, ptr %7, align 8
%32 = load i8, ptr %31, align 1
%33 = load ptr, ptr %6, align 8
store i8 %32, ptr %33, align 1
%34 = load i8, ptr %8, align 1
%35 = load ptr, ptr %7, align 8
store i8 %34, ptr %35, align 1
br label %36
36: ; preds = %28
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %6, align 8
%39 = load ptr, ptr %7, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 -1
store ptr %40, ptr %7, align 8
br label %24, !llvm.loop !6
41: ; preds = %24
%42 = load ptr, ptr %4, align 8
store ptr %42, ptr %3, align 8
br label %43
43: ; preds = %41, %16, %11
%44 = load ptr, ptr %3, align 8
ret ptr %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphjf8e4df.c"
target datalayout = "e-m:e-p270: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 @reverseMemory(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %3, align 8
br label %45
13: ; preds = %2
%14 = load i64, ptr %5, align 8
%15 = icmp ult i64 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %3, align 8
br label %45
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = getelementptr inbounds i8, ptr %22, i64 -1
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp ult ptr %24, %25
br i1 %26, label %.lr.ph, label %43
.lr.ph: ; preds = %18
br label %27
27: ; preds = %.lr.ph, %35
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
store i8 %29, ptr %8, align 1
%30 = load ptr, ptr %7, align 8
%31 = load i8, ptr %30, align 1
%32 = load ptr, ptr %6, align 8
store i8 %31, ptr %32, align 1
%33 = load i8, ptr %8, align 1
%34 = load ptr, ptr %7, align 8
store i8 %33, ptr %34, align 1
br label %35
35: ; preds = %27
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 -1
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %6, align 8
%41 = load ptr, ptr %7, align 8
%42 = icmp ult ptr %40, %41
br i1 %42, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %43
43: ; preds = %._crit_edge, %18
%44 = load ptr, ptr %4, align 8
store ptr %44, ptr %3, align 8
br label %45
45: ; preds = %43, %16, %11
%46 = load ptr, ptr %3, align 8
ret ptr %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8yl7nj49.c'
source_filename = "/tmp/tmp8yl7nj49.c"
target datalayout = "e-m:e-p270: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 @chopPath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
br label %25
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 47
br i1 %19, label %20, label %25
20: ; preds = %9
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %8, %20, %9
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8yl7nj49.c"
target datalayout = "e-m:e-p270: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 @chopPath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
br label %25
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 47
br i1 %19, label %20, label %25
20: ; preds = %9
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %20, %9, %8
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvmmqj201.c'
source_filename = "/tmp/tmpvmmqj201.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"Content-type: text/plain\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"QUERY_STRING\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"query_string: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"CONTENT_TYPE\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Content-type: %s\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [9 x i8] c"len: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"-----\0A\00", align 1
@.str.8 = 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 [4096 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 4096, i1 false)
store ptr null, ptr %3, align 8
store ptr null, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call ptr @getenv(ptr noundef @.str.2)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9)
%11 = call ptr @getenv(ptr noundef @.str.4)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %12)
%14 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0
%15 = load i32, ptr @stdin, align 4
%16 = call i32 @fread(ptr noundef %14, i32 noundef 1, i32 noundef 4096, i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%20 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare ptr @getenv(ptr noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvmmqj201.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"Content-type: text/plain\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"QUERY_STRING\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"query_string: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"CONTENT_TYPE\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Content-type: %s\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [9 x i8] c"len: %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"-----\0A\00", align 1
@.str.8 = 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 [4096 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 4096, i1 false)
store ptr null, ptr %3, align 8
store ptr null, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call ptr @getenv(ptr noundef @.str.2)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9)
%11 = call ptr @getenv(ptr noundef @.str.4)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %12)
%14 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0
%15 = load i32, ptr @stdin, align 4
%16 = call i32 @fread(ptr noundef %14, i32 noundef 1, i32 noundef 4096, i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%20 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare ptr @getenv(ptr noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_usvbgtj.c'
source_filename = "/tmp/tmp_usvbgtj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%f %f %f\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [19 x i8] c"Error in file= %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"found %d columns, expecting at least 3, exiting...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_bbpfile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [1024 x i8], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopfile(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %11, align 8
%17 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%18 = load ptr, ptr %11, align 8
%19 = call i32 @fgets(ptr noundef %17, i32 noundef 1024, ptr noundef %18)
br label %20
20: ; preds = %24, %5
%21 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%22 = call i64 @strncmp(ptr noundef %21, ptr noundef @.str.1, i32 noundef 1)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%26 = load ptr, ptr %11, align 8
%27 = call i32 @fgets(ptr noundef %25, i32 noundef 1024, ptr noundef %26)
br label %20, !llvm.loop !6
28: ; preds = %20
store i32 0, ptr %12, align 4
br label %29
29: ; preds = %68, %28
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %10, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %71
33: ; preds = %29
%34 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %12, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %35, i64 %37
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %12, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %39, i64 %41
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
%47 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.2, ptr noundef %38, ptr noundef %42, ptr noundef %46)
store i32 %47, ptr %13, align 4
%48 = load i32, ptr %13, align 4
%49 = icmp slt i32 %48, 3
br i1 %49, label %50, label %58
50: ; preds = %33
%51 = load i32, ptr @stderr, align 4
%52 = load ptr, ptr %6, align 8
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.3, ptr noundef %52)
%54 = load i32, ptr @stderr, align 4
%55 = load i32, ptr %13, align 4
%56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.4, i32 noundef %55)
%57 = call i32 @exit(i32 noundef -1) #3
unreachable
58: ; preds = %33
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %10, align 4
%61 = sub nsw i32 %60, 1
%62 = icmp slt i32 %59, %61
br i1 %62, label %63, label %67
63: ; preds = %58
%64 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%65 = load ptr, ptr %11, align 8
%66 = call i32 @fgets(ptr noundef %64, i32 noundef 1024, ptr noundef %65)
br label %67
67: ; preds = %63, %58
br label %68
68: ; preds = %67
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %12, align 4
br label %29, !llvm.loop !8
71: ; preds = %29
%72 = load ptr, ptr %11, align 8
%73 = call i32 @fclose(ptr noundef %72)
ret void
}
declare ptr @fopfile(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_usvbgtj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%f %f %f\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [19 x i8] c"Error in file= %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"found %d columns, expecting at least 3, exiting...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_bbpfile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [1024 x i8], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopfile(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %11, align 8
%17 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%18 = load ptr, ptr %11, align 8
%19 = call i32 @fgets(ptr noundef %17, i32 noundef 1024, ptr noundef %18)
%20 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%21 = call i64 @strncmp(ptr noundef %20, ptr noundef @.str.1, i32 noundef 1)
%22 = icmp eq i64 %21, 0
br i1 %22, label %.lr.ph, label %29
.lr.ph: ; preds = %5
br label %23
23: ; preds = %.lr.ph, %23
%24 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%25 = load ptr, ptr %11, align 8
%26 = call i32 @fgets(ptr noundef %24, i32 noundef 1024, ptr noundef %25)
%27 = call i64 @strncmp(ptr noundef %20, ptr noundef @.str.1, i32 noundef 1)
%28 = icmp eq i64 %27, 0
br i1 %28, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %5
store i32 0, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %10, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph2, label %74
.lr.ph2: ; preds = %29
br label %33
33: ; preds = %.lr.ph2, %68
%34 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %12, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %35, i64 %37
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %12, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %39, i64 %41
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
%47 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.2, ptr noundef %38, ptr noundef %42, ptr noundef %46)
store i32 %47, ptr %13, align 4
%48 = load i32, ptr %13, align 4
%49 = icmp slt i32 %48, 3
br i1 %49, label %50, label %58
50: ; preds = %33
%51 = load i32, ptr @stderr, align 4
%52 = load ptr, ptr %6, align 8
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.3, ptr noundef %52)
%54 = load i32, ptr @stderr, align 4
%55 = load i32, ptr %13, align 4
%56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.4, i32 noundef %55)
%57 = call i32 @exit(i32 noundef -1) #3
unreachable
58: ; preds = %33
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %10, align 4
%61 = sub nsw i32 %60, 1
%62 = icmp slt i32 %59, %61
br i1 %62, label %63, label %67
63: ; preds = %58
%64 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
%65 = load ptr, ptr %11, align 8
%66 = call i32 @fgets(ptr noundef %64, i32 noundef 1024, ptr noundef %65)
br label %67
67: ; preds = %63, %58
br label %68
68: ; preds = %67
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %12, align 4
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %10, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %68
br label %74
74: ; preds = %._crit_edge3, %29
%75 = load ptr, ptr %11, align 8
%76 = call i32 @fclose(ptr noundef %75)
ret void
}
declare ptr @fopfile(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
|
; ModuleID = '/tmp/tmpibbzmslc.c'
source_filename = "/tmp/tmpibbzmslc.c"
target datalayout = "e-m:e-p270: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 @_pst_get(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = load i64, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @fread(ptr noundef %8, i32 noundef 1, i64 noundef %9, ptr noundef %10)
%12 = load i64, ptr %7, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 1, ptr %4, align 4
br label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i64 @fread(ptr noundef, i32 noundef, i64 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/tmpibbzmslc.c"
target datalayout = "e-m:e-p270: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 @_pst_get(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = load i64, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @fread(ptr noundef %8, i32 noundef 1, i64 noundef %9, ptr noundef %10)
%12 = load i64, ptr %7, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 1, ptr %4, align 4
br label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i64 @fread(ptr noundef, i32 noundef, i64 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/tmp6zq7p573.c'
source_filename = "/tmp/tmp6zq7p573.c"
target datalayout = "e-m:e-p270: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/tmp6zq7p573.c"
target datalayout = "e-m:e-p270: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/tmpq56w1vi0.c'
source_filename = "/tmp/tmpq56w1vi0.c"
target datalayout = "e-m:e-p270: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/tmpq56w1vi0.c"
target datalayout = "e-m:e-p270: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/tmp6kx6up4c.c'
source_filename = "/tmp/tmp6kx6up4c.c"
target datalayout = "e-m:e-p270: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/tmp6kx6up4c.c"
target datalayout = "e-m:e-p270: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/tmpjs4fr0zr.c'
source_filename = "/tmp/tmpjs4fr0zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c".fa\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c".map\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @szCreateMapFileName(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = call i64 @malloc(i32 noundef 1024)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strdup(ptr noundef %8)
store ptr %9, ptr %4, align 8
store ptr null, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %1
%15 = load ptr, ptr %5, align 8
store i8 0, ptr %15, align 1
br label %16
16: ; preds = %14, %1
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18, ptr noundef @.str.2)
%20 = load ptr, ptr %4, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare i64 @malloc(i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjs4fr0zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c".fa\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c".map\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @szCreateMapFileName(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = call i64 @malloc(i32 noundef 1024)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strdup(ptr noundef %8)
store ptr %9, ptr %4, align 8
store ptr null, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %1
%15 = load ptr, ptr %5, align 8
store i8 0, ptr %15, align 1
br label %16
16: ; preds = %14, %1
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18, ptr noundef @.str.2)
%20 = load ptr, ptr %4, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare i64 @malloc(i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg4qkhpq8.c'
source_filename = "/tmp/tmpg4qkhpq8.c"
target datalayout = "e-m:e-p270: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 @e_st(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
%7 = alloca double, align 8
store double %0, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fcmp ogt double %8, 5.000000e+02
br i1 %9, label %10, label %11
10: ; preds = %1
store double 3.200000e+01, ptr %2, align 8
br label %27
11: ; preds = %1
%12 = load double, ptr %3, align 8
%13 = fmul double -1.070000e-03, %12
store double %13, ptr %4, align 8
%14 = load double, ptr %3, align 8
%15 = call double @sqrt(double noundef %14) #2
%16 = fmul double 3.009000e-02, %15
store double %16, ptr %5, align 8
%17 = load double, ptr %4, align 8
%18 = load double, ptr %5, align 8
%19 = fadd double %17, %18
%20 = call double @exp(double noundef %19) #2
%21 = fmul double 8.026000e+01, %20
store double %21, ptr %6, align 8
%22 = load double, ptr %3, align 8
%23 = fmul double -1.185000e-01, %22
store double %23, ptr %7, align 8
%24 = load double, ptr %6, align 8
%25 = load double, ptr %7, align 8
%26 = fadd double %24, %25
store double %26, ptr %2, align 8
br label %27
27: ; preds = %11, %10
%28 = load double, ptr %2, align 8
ret double %28
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @exp(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 = { 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 = { 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/tmpg4qkhpq8.c"
target datalayout = "e-m:e-p270: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 @e_st(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
%7 = alloca double, align 8
store double %0, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fcmp ogt double %8, 5.000000e+02
br i1 %9, label %10, label %11
10: ; preds = %1
store double 3.200000e+01, ptr %2, align 8
br label %27
11: ; preds = %1
%12 = load double, ptr %3, align 8
%13 = fmul double -1.070000e-03, %12
store double %13, ptr %4, align 8
%14 = load double, ptr %3, align 8
%15 = call double @sqrt(double noundef %14) #2
%16 = fmul double 3.009000e-02, %15
store double %16, ptr %5, align 8
%17 = load double, ptr %4, align 8
%18 = load double, ptr %5, align 8
%19 = fadd double %17, %18
%20 = call double @exp(double noundef %19) #2
%21 = fmul double 8.026000e+01, %20
store double %21, ptr %6, align 8
%22 = load double, ptr %3, align 8
%23 = fmul double -1.185000e-01, %22
store double %23, ptr %7, align 8
%24 = load double, ptr %6, align 8
%25 = load double, ptr %7, align 8
%26 = fadd double %24, %25
store double %26, ptr %2, align 8
br label %27
27: ; preds = %11, %10
%28 = load double, ptr %2, align 8
ret double %28
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @exp(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 = { 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 = { 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/tmpp3lf9ru1.c'
source_filename = "/tmp/tmpp3lf9ru1.c"
target datalayout = "e-m:e-p270: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/tmpp3lf9ru1.c"
target datalayout = "e-m:e-p270: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/tmp98x69nr0.c'
source_filename = "/tmp/tmp98x69nr0.c"
target datalayout = "e-m:e-p270: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"bc is an arbitrary precision numeric processing language\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Following are the commands to use it:\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [76 x i8] c"->scale is the no. of digits after decimal in answer (by default set to 0)\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"To change scale :\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c"->scale=num ...(changes scale to num entered by user)\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [61 x i8] c"->ibase is the base of input numbers (by default set to 10)\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"To change ibase:\0A\00", align 1
@.str.7 = private unnamed_addr constant [68 x i8] c"->ibase=num (1<num<=10)...(changes ibase to num entered by user)\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [61 x i8] c"->obase is the base of output answer (by default set to 10)\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"To change obase:\0A\00", align 1
@.str.10 = private unnamed_addr constant [68 x i8] c"->obase=num (1<num<=16)...(changes obase to num entered by user)\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"Expressions:\0A\00", align 1
@.str.12 = private unnamed_addr constant [31 x i8] c"ibase = num ...changes ibase\0A\00", align 1
@.str.13 = private unnamed_addr constant [31 x i8] c"obase = num ...changes obase\0A\00", align 1
@.str.14 = private unnamed_addr constant [31 x i8] c"scale = num ...changes scale\0A\00", align 1
@.str.15 = private unnamed_addr constant [46 x i8] c"->n1+n2 ...Adds n1 and n2 and prints answer\0A\00", align 1
@.str.16 = private unnamed_addr constant [51 x i8] c"->n1-n2 ...Subtracts n2 and n1 and prints answer\0A\00", align 1
@.str.17 = private unnamed_addr constant [52 x i8] c"->n1*n2 ...Multiplies n1 and n2 and prints answer\0A\00", align 1
@.str.18 = private unnamed_addr constant [48 x i8] c"->n1/n2 ...Divides n1 by n2 and prints answer\0A\00", align 1
@.str.19 = private unnamed_addr constant [41 x i8] c"->n1%%n2 ...Prints remainder of n1/n2 \0A\00", align 1
@.str.20 = private unnamed_addr constant [34 x i8] c"->n1^n2 ...n1 raise to power n2\0A\00", align 1
@.str.21 = private unnamed_addr constant [40 x i8] c"->$num ...Prints Square root of num \0A\00", align 1
@.str.22 = private unnamed_addr constant [37 x i8] c"->(n1 op n2) ...Bracket operations\0A\00", align 1
@.str.23 = private unnamed_addr constant [44 x i8] c"->n1/n2+n3*($n4) ...Expression evaluation\0A\0A\00", align 1
@.str.24 = private unnamed_addr constant [22 x i8] c"->Type quit to exit\0A\0A\00", align 1
@.str.25 = private unnamed_addr constant [31 x i8] c"Precedence: (higher to lower)\0A\00", align 1
@.str.26 = private unnamed_addr constant [44 x i8] c"1. ( , )\0A2. $\0A3. ^\0A4. %%\0A5. * , /\0A6. + , -\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printhelp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
%19 = call i32 @printf(ptr noundef @.str.18)
%20 = call i32 @printf(ptr noundef @.str.19)
%21 = call i32 @printf(ptr noundef @.str.20)
%22 = call i32 @printf(ptr noundef @.str.21)
%23 = call i32 @printf(ptr noundef @.str.22)
%24 = call i32 @printf(ptr noundef @.str.23)
%25 = call i32 @printf(ptr noundef @.str.24)
%26 = call i32 @printf(ptr noundef @.str.25)
%27 = call i32 @printf(ptr noundef @.str.26)
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/tmp98x69nr0.c"
target datalayout = "e-m:e-p270: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"bc is an arbitrary precision numeric processing language\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Following are the commands to use it:\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [76 x i8] c"->scale is the no. of digits after decimal in answer (by default set to 0)\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"To change scale :\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c"->scale=num ...(changes scale to num entered by user)\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [61 x i8] c"->ibase is the base of input numbers (by default set to 10)\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"To change ibase:\0A\00", align 1
@.str.7 = private unnamed_addr constant [68 x i8] c"->ibase=num (1<num<=10)...(changes ibase to num entered by user)\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [61 x i8] c"->obase is the base of output answer (by default set to 10)\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"To change obase:\0A\00", align 1
@.str.10 = private unnamed_addr constant [68 x i8] c"->obase=num (1<num<=16)...(changes obase to num entered by user)\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"Expressions:\0A\00", align 1
@.str.12 = private unnamed_addr constant [31 x i8] c"ibase = num ...changes ibase\0A\00", align 1
@.str.13 = private unnamed_addr constant [31 x i8] c"obase = num ...changes obase\0A\00", align 1
@.str.14 = private unnamed_addr constant [31 x i8] c"scale = num ...changes scale\0A\00", align 1
@.str.15 = private unnamed_addr constant [46 x i8] c"->n1+n2 ...Adds n1 and n2 and prints answer\0A\00", align 1
@.str.16 = private unnamed_addr constant [51 x i8] c"->n1-n2 ...Subtracts n2 and n1 and prints answer\0A\00", align 1
@.str.17 = private unnamed_addr constant [52 x i8] c"->n1*n2 ...Multiplies n1 and n2 and prints answer\0A\00", align 1
@.str.18 = private unnamed_addr constant [48 x i8] c"->n1/n2 ...Divides n1 by n2 and prints answer\0A\00", align 1
@.str.19 = private unnamed_addr constant [41 x i8] c"->n1%%n2 ...Prints remainder of n1/n2 \0A\00", align 1
@.str.20 = private unnamed_addr constant [34 x i8] c"->n1^n2 ...n1 raise to power n2\0A\00", align 1
@.str.21 = private unnamed_addr constant [40 x i8] c"->$num ...Prints Square root of num \0A\00", align 1
@.str.22 = private unnamed_addr constant [37 x i8] c"->(n1 op n2) ...Bracket operations\0A\00", align 1
@.str.23 = private unnamed_addr constant [44 x i8] c"->n1/n2+n3*($n4) ...Expression evaluation\0A\0A\00", align 1
@.str.24 = private unnamed_addr constant [22 x i8] c"->Type quit to exit\0A\0A\00", align 1
@.str.25 = private unnamed_addr constant [31 x i8] c"Precedence: (higher to lower)\0A\00", align 1
@.str.26 = private unnamed_addr constant [44 x i8] c"1. ( , )\0A2. $\0A3. ^\0A4. %%\0A5. * , /\0A6. + , -\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printhelp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
%19 = call i32 @printf(ptr noundef @.str.18)
%20 = call i32 @printf(ptr noundef @.str.19)
%21 = call i32 @printf(ptr noundef @.str.20)
%22 = call i32 @printf(ptr noundef @.str.21)
%23 = call i32 @printf(ptr noundef @.str.22)
%24 = call i32 @printf(ptr noundef @.str.23)
%25 = call i32 @printf(ptr noundef @.str.24)
%26 = call i32 @printf(ptr noundef @.str.25)
%27 = call i32 @printf(ptr noundef @.str.26)
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/tmpe497qn3p.c'
source_filename = "/tmp/tmpe497qn3p.c"
target datalayout = "e-m:e-p270: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 @writetcp(i32 noundef %0, ptr 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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %14, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %30
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = sub nsw i32 %15, %16
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %7, align 4
%19 = load ptr, ptr %5, align 8
%20 = sext i32 %18 to i64
%21 = getelementptr inbounds i8, ptr %19, i64 %20
store ptr %21, ptr %5, align 8
%22 = load i32, ptr %4, align 4
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = call i64 @send(i32 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef 0)
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = add nsw i64 %27, %25
%29 = trunc i64 %28 to i32
store i32 %29, ptr %7, align 4
br label %10, !llvm.loop !6
30: ; preds = %10
%31 = load i32, ptr %7, align 4
ret i32 %31
}
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe497qn3p.c"
target datalayout = "e-m:e-p270: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 @writetcp(i32 noundef %0, ptr 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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %14, %15
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %7, align 4
%18 = load ptr, ptr %5, align 8
%19 = sext i32 %17 to i64
%20 = getelementptr inbounds i8, ptr %18, i64 %19
store ptr %20, ptr %5, align 8
%21 = load i32, ptr %4, align 4
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = call i64 @send(i32 noundef %21, ptr noundef %22, i32 noundef %23, i32 noundef 0)
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = add nsw i64 %26, %24
%28 = trunc i64 %27 to i32
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %32
32: ; preds = %._crit_edge, %3
%33 = load i32, ptr %7, align 4
ret i32 %33
}
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzm3xsk_t.c'
source_filename = "/tmp/tmpzm3xsk_t.c"
target datalayout = "e-m:e-p270: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/tmpzm3xsk_t.c"
target datalayout = "e-m:e-p270: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/tmpppzrqeum.c'
source_filename = "/tmp/tmpppzrqeum.c"
target datalayout = "e-m:e-p270: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"%02x\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bin2hex(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %28, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %31
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %5, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %10
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
%23 = srem i32 %22, 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %25, %20, %10
br label %28
28: ; preds = %27
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %6, !llvm.loop !6
31: ; preds = %6
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppzrqeum.c"
target datalayout = "e-m:e-p270: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"%02x\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bin2hex(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %27
%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 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %9
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
%22 = srem i32 %21, 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %19, %9
br label %27
27: ; preds = %26
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxik9dyyz.c'
source_filename = "/tmp/tmpxik9dyyz.c"
target datalayout = "e-m:e-p270: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/tmpxik9dyyz.c"
target datalayout = "e-m:e-p270: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/tmp08e7f1dc.c'
source_filename = "/tmp/tmp08e7f1dc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_CDC_HEC_SET_STATE_ADJACENT = dso_local global i32 0, align 4
@CEC_MSG_CDC_MESSAGE = 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/tmp08e7f1dc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_CDC_HEC_SET_STATE_ADJACENT = dso_local global i32 0, align 4
@CEC_MSG_CDC_MESSAGE = 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/tmpwz8ow_tl.c'
source_filename = "/tmp/tmpwz8ow_tl.c"
target datalayout = "e-m:e-p270: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/tmpwz8ow_tl.c"
target datalayout = "e-m:e-p270: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/tmpd3zpxgbk.c'
source_filename = "/tmp/tmpd3zpxgbk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Unix error %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ec_os_err_string(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %4
store ptr @.str, ptr %5, align 8
br label %26
14: ; preds = %4
%15 = load i32, ptr %6, align 4
%16 = call ptr @strerror(i32 noundef %15)
store ptr %16, ptr %10, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = load ptr, ptr %10, align 8
store ptr %20, ptr %5, align 8
br label %26
21: ; preds = %14
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %6, align 4
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, i32 noundef %23)
%25 = load ptr, ptr %8, align 8
store ptr %25, ptr %5, align 8
br label %26
26: ; preds = %21, %19, %13
%27 = load ptr, ptr %5, align 8
ret ptr %27
}
declare ptr @strerror(i32 noundef) #1
declare i32 @sprintf(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/tmpd3zpxgbk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Unix error %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ec_os_err_string(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %4
store ptr @.str, ptr %5, align 8
br label %26
14: ; preds = %4
%15 = load i32, ptr %6, align 4
%16 = call ptr @strerror(i32 noundef %15)
store ptr %16, ptr %10, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = load ptr, ptr %10, align 8
store ptr %20, ptr %5, align 8
br label %26
21: ; preds = %14
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %6, align 4
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, i32 noundef %23)
%25 = load ptr, ptr %8, align 8
store ptr %25, ptr %5, align 8
br label %26
26: ; preds = %21, %19, %13
%27 = load ptr, ptr %5, align 8
ret ptr %27
}
declare ptr @strerror(i32 noundef) #1
declare i32 @sprintf(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/tmplv5nvoq5.c'
source_filename = "/tmp/tmplv5nvoq5.c"
target datalayout = "e-m:e-p270: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"\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"response:\0A%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sendCommand(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
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
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %7, align 4
%15 = call i32 @open_client_socket(ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 0, ptr %5, align 4
br label %55
19: ; preds = %4
%20 = load i32, ptr %10, align 4
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %8, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @write(i32 noundef %20, ptr noundef %21, i32 noundef %23)
%25 = load i32, ptr %10, align 4
%26 = call i32 @write(i32 noundef %25, ptr noundef @.str, i32 noundef 2)
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = call i32 @write(i32 noundef 1, ptr noundef %27, i32 noundef %29)
%31 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %32
32: ; preds = %42, %19
%33 = load i32, ptr %10, align 4
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %12, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i32, ptr %12, align 4
%39 = sub nsw i32 10240, %38
%40 = call i32 @read(i32 noundef %33, ptr noundef %37, i32 noundef %39)
store i32 %40, ptr %11, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %32
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, %43
store i32 %45, ptr %12, align 4
br label %32, !llvm.loop !6
46: ; preds = %32
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %12, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 0, ptr %50, align 1
%51 = load ptr, ptr %9, align 8
%52 = call i32 @printf(ptr noundef @.str.1, ptr noundef %51)
%53 = load i32, ptr %10, align 4
%54 = call i32 @close(i32 noundef %53)
store i32 1, ptr %5, align 4
br label %55
55: ; preds = %46, %18
%56 = load i32, ptr %5, align 4
ret i32 %56
}
declare i32 @open_client_socket(ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplv5nvoq5.c"
target datalayout = "e-m:e-p270: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"\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"response:\0A%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sendCommand(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
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
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %7, align 4
%15 = call i32 @open_client_socket(ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 0, ptr %5, align 4
br label %63
19: ; preds = %4
%20 = load i32, ptr %10, align 4
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %8, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @write(i32 noundef %20, ptr noundef %21, i32 noundef %23)
%25 = load i32, ptr %10, align 4
%26 = call i32 @write(i32 noundef %25, ptr noundef @.str, i32 noundef 2)
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = call i32 @write(i32 noundef 1, ptr noundef %27, i32 noundef %29)
%31 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%32 = load i32, ptr %10, align 4
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %12, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i32, ptr %12, align 4
%38 = sub nsw i32 10240, %37
%39 = call i32 @read(i32 noundef %32, ptr noundef %36, i32 noundef %38)
store i32 %39, ptr %11, align 4
%40 = icmp sgt i32 %39, 0
br i1 %40, label %.lr.ph, label %54
.lr.ph: ; preds = %19
br label %41
41: ; preds = %.lr.ph, %41
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr %12, align 4
%44 = add nsw i32 %43, %42
store i32 %44, ptr %12, align 4
%45 = load i32, ptr %10, align 4
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %12, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i32, ptr %12, align 4
%51 = sub nsw i32 10240, %50
%52 = call i32 @read(i32 noundef %45, ptr noundef %49, i32 noundef %51)
store i32 %52, ptr %11, align 4
%53 = icmp sgt i32 %52, 0
br i1 %53, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %54
54: ; preds = %._crit_edge, %19
%55 = load ptr, ptr %9, align 8
%56 = load i32, ptr %12, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %9, align 8
%60 = call i32 @printf(ptr noundef @.str.1, ptr noundef %59)
%61 = load i32, ptr %10, align 4
%62 = call i32 @close(i32 noundef %61)
store i32 1, ptr %5, align 4
br label %63
63: ; preds = %54, %18
%64 = load i32, ptr %5, align 4
ret i32 %64
}
declare i32 @open_client_socket(ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7jek4yiq.c'
source_filename = "/tmp/tmp7jek4yiq.c"
target datalayout = "e-m:e-p270: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/tmp7jek4yiq.c"
target datalayout = "e-m:e-p270: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/tmpndtwzkl4.c'
source_filename = "/tmp/tmpndtwzkl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUS_USB = dso_local global i16 0, align 2
@ID_BUS = dso_local global i64 0, align 8
@ID_PRODUCT = dso_local global i64 0, align 8
@ID_VENDOR = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpndtwzkl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUS_USB = dso_local global i16 0, align 2
@ID_BUS = dso_local global i64 0, align 8
@ID_PRODUCT = dso_local global i64 0, align 8
@ID_VENDOR = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgim6i7y7.c'
source_filename = "/tmp/tmpgim6i7y7.c"
target datalayout = "e-m:e-p270: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 @solve(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %9, %1
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @solve_sub_paren(ptr noundef %7)
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @compare_strings(ptr noundef %10, ptr noundef %11)
%13 = icmp ne i32 %12, 0
%14 = xor i1 %13, true
br i1 %14, label %5, label %15, !llvm.loop !6
15: ; preds = %9
br label %16
16: ; preds = %20, %15
%17 = load ptr, ptr %3, align 8
store ptr %17, ptr %2, align 8
%18 = load ptr, ptr %2, align 8
%19 = call ptr @solve_sub_string(ptr noundef %18)
store ptr %19, ptr %3, align 8
br label %20
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %2, align 8
%23 = call i32 @compare_strings(ptr noundef %21, ptr noundef %22)
%24 = icmp ne i32 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %16, label %26, !llvm.loop !8
26: ; preds = %20
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
declare ptr @solve_sub_paren(ptr noundef) #1
declare i32 @compare_strings(ptr noundef, ptr noundef) #1
declare ptr @solve_sub_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgim6i7y7.c"
target datalayout = "e-m:e-p270: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 @solve(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %9, %1
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @solve_sub_paren(ptr noundef %7)
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @compare_strings(ptr noundef %10, ptr noundef %11)
%13 = icmp ne i32 %12, 0
%14 = xor i1 %13, true
br i1 %14, label %5, label %15, !llvm.loop !6
15: ; preds = %9
br label %16
16: ; preds = %20, %15
%17 = load ptr, ptr %3, align 8
store ptr %17, ptr %2, align 8
%18 = load ptr, ptr %2, align 8
%19 = call ptr @solve_sub_string(ptr noundef %18)
store ptr %19, ptr %3, align 8
br label %20
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %2, align 8
%23 = call i32 @compare_strings(ptr noundef %21, ptr noundef %22)
%24 = icmp ne i32 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %16, label %26, !llvm.loop !8
26: ; preds = %20
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
declare ptr @solve_sub_paren(ptr noundef) #1
declare i32 @compare_strings(ptr noundef, ptr noundef) #1
declare ptr @solve_sub_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpk8fis5q2.c'
source_filename = "/tmp/tmpk8fis5q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chunk_concat(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%17 = load ptr, ptr %10, align 8
%18 = call i64 @string_null_or_empty(ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %5
%21 = load ptr, ptr %11, align 8
%22 = call i64 @string_null_or_empty(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 0, ptr %6, align 4
br label %78
25: ; preds = %20, %5
%26 = load ptr, ptr %7, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str)
store ptr %27, ptr %13, align 8
%28 = load ptr, ptr %13, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %31, label %30
30: ; preds = %25
store i32 0, ptr %6, align 4
br label %78
31: ; preds = %25
%32 = load ptr, ptr %10, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %35, label %34
34: ; preds = %31
store ptr @.str.1, ptr %10, align 8
br label %35
35: ; preds = %34, %31
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %39, label %38
38: ; preds = %35
store ptr @.str.1, ptr %11, align 8
br label %39
39: ; preds = %38, %35
store i32 0, ptr %15, align 4
br label %40
40: ; preds = %72, %39
%41 = load i32, ptr %15, align 4
%42 = load i32, ptr %9, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %75
44: ; preds = %40
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %15, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
store ptr %49, ptr %16, align 8
%50 = load ptr, ptr %16, align 8
%51 = call ptr @fopen(ptr noundef %50, ptr noundef @.str.2)
store ptr %51, ptr %12, align 8
%52 = load ptr, ptr %12, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %55
54: ; preds = %44
store i32 0, ptr %6, align 4
br label %78
55: ; preds = %44
%56 = load ptr, ptr %13, align 8
%57 = load ptr, ptr %10, align 8
%58 = load ptr, ptr %16, align 8
%59 = call i32 @fprintf(ptr noundef %56, ptr noundef @.str.3, ptr noundef %57, ptr noundef %58)
br label %60
60: ; preds = %64, %55
%61 = load ptr, ptr %12, align 8
%62 = call ptr @get_line(ptr noundef %61)
store ptr %62, ptr %14, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %64, label %69
64: ; preds = %60
%65 = load ptr, ptr %13, align 8
%66 = load ptr, ptr %11, align 8
%67 = load ptr, ptr %14, align 8
%68 = call i32 @fprintf(ptr noundef %65, ptr noundef @.str.4, ptr noundef %66, ptr noundef %67)
br label %60, !llvm.loop !6
69: ; preds = %60
%70 = load ptr, ptr %12, align 8
%71 = call i32 @fclose(ptr noundef %70)
br label %72
72: ; preds = %69
%73 = load i32, ptr %15, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %15, align 4
br label %40, !llvm.loop !8
75: ; preds = %40
%76 = load ptr, ptr %13, align 8
%77 = call i32 @fclose(ptr noundef %76)
store i32 1, ptr %6, align 4
br label %78
78: ; preds = %75, %54, %30, %24
%79 = load i32, ptr %6, align 4
ret i32 %79
}
declare i64 @string_null_or_empty(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @get_line(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk8fis5q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chunk_concat(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%17 = load ptr, ptr %10, align 8
%18 = call i64 @string_null_or_empty(ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %5
%21 = load ptr, ptr %11, align 8
%22 = call i64 @string_null_or_empty(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 0, ptr %6, align 4
br label %82
25: ; preds = %20, %5
%26 = load ptr, ptr %7, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str)
store ptr %27, ptr %13, align 8
%28 = load ptr, ptr %13, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %31, label %30
30: ; preds = %25
store i32 0, ptr %6, align 4
br label %82
31: ; preds = %25
%32 = load ptr, ptr %10, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %35, label %34
34: ; preds = %31
store ptr @.str.1, ptr %10, align 8
br label %35
35: ; preds = %34, %31
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %39, label %38
38: ; preds = %35
store ptr @.str.1, ptr %11, align 8
br label %39
39: ; preds = %38, %35
store i32 0, ptr %15, align 4
%40 = load i32, ptr %15, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph2, label %79
.lr.ph2: ; preds = %39
br label %43
43: ; preds = %.lr.ph2, %73
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %15, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8
store ptr %48, ptr %16, align 8
%49 = load ptr, ptr %16, align 8
%50 = call ptr @fopen(ptr noundef %49, ptr noundef @.str.2)
store ptr %50, ptr %12, align 8
%51 = load ptr, ptr %12, align 8
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %54
53: ; preds = %43
store i32 0, ptr %6, align 4
br label %82
54: ; preds = %43
%55 = load ptr, ptr %13, align 8
%56 = load ptr, ptr %10, align 8
%57 = load ptr, ptr %16, align 8
%58 = call i32 @fprintf(ptr noundef %55, ptr noundef @.str.3, ptr noundef %56, ptr noundef %57)
%59 = load ptr, ptr %12, align 8
%60 = call ptr @get_line(ptr noundef %59)
store ptr %60, ptr %14, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %.lr.ph, label %70
.lr.ph: ; preds = %54
br label %62
62: ; preds = %.lr.ph, %62
%63 = load ptr, ptr %13, align 8
%64 = load ptr, ptr %11, align 8
%65 = load ptr, ptr %14, align 8
%66 = call i32 @fprintf(ptr noundef %63, ptr noundef @.str.4, ptr noundef %64, ptr noundef %65)
%67 = load ptr, ptr %12, align 8
%68 = call ptr @get_line(ptr noundef %67)
store ptr %68, ptr %14, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %62, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %70
70: ; preds = %._crit_edge, %54
%71 = load ptr, ptr %12, align 8
%72 = call i32 @fclose(ptr noundef %71)
br label %73
73: ; preds = %70
%74 = load i32, ptr %15, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %15, align 4
%76 = load i32, ptr %15, align 4
%77 = load i32, ptr %9, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %79
79: ; preds = %._crit_edge3, %39
%80 = load ptr, ptr %13, align 8
%81 = call i32 @fclose(ptr noundef %80)
store i32 1, ptr %6, align 4
br label %82
82: ; preds = %79, %53, %30, %24
%83 = load i32, ptr %6, align 4
ret i32 %83
}
declare i64 @string_null_or_empty(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @get_line(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6_xw0fb1.c'
source_filename = "/tmp/tmp6_xw0fb1.c"
target datalayout = "e-m:e-p270: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/tmp6_xw0fb1.c"
target datalayout = "e-m:e-p270: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/tmpds25qrw4.c'
source_filename = "/tmp/tmpds25qrw4.c"
target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [30 x i8] c"hello world\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 [8 x i8] c"getline\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = 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.s, i64 30, i1 false)
store ptr @.str, ptr %3, align 8
%4 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strncat(ptr noundef %4, ptr noundef %5, i32 noundef 3)
%7 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str.1, ptr 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 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpds25qrw4.c"
target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [30 x i8] c"hello world\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 [8 x i8] c"getline\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = 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.s, i64 30, i1 false)
store ptr @.str, ptr %3, align 8
%4 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strncat(ptr noundef %4, ptr noundef %5, i32 noundef 3)
%7 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str.1, ptr 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 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpesgslcr6.c'
source_filename = "/tmp/tmpesgslcr6.c"
target datalayout = "e-m:e-p270: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"%02x\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NUL\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"MOV %04x %04x\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"ADD\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"SUB\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"MUL\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"DIV\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"JMP\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"CMP\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"JE\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"JNE\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"JG\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c"JL\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"INT\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"MOVP\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @opcodeName(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @malloc(i32 noundef 64)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = call i32 @getRAM(i32 noundef %6)
switch i32 %7, label %8 [
i32 0, label %13
i32 1, label %16
i32 2, label %35
i32 3, label %38
i32 4, label %41
i32 5, label %44
i32 6, label %47
i32 7, label %50
i32 8, label %53
i32 9, label %56
i32 10, label %59
i32 11, label %62
i32 12, label %65
i32 13, label %68
]
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %2, align 4
%11 = call i32 @getRAM(i32 noundef %10)
%12 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %9, ptr noundef @.str, i32 noundef %11)
br label %71
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef @.str.1)
br label %71
16: ; preds = %1
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
%20 = call i32 @getRAM(i32 noundef %19)
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 2
%23 = call i32 @getRAM(i32 noundef %22)
%24 = add nsw i32 8, %23
%25 = shl i32 %20, %24
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 3
%28 = call i32 @getRAM(i32 noundef %27)
%29 = shl i32 %28, 8
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 4
%32 = call i32 @getRAM(i32 noundef %31)
%33 = add nsw i32 %29, %32
%34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.2, i32 noundef %25, i32 noundef %33)
br label %71
35: ; preds = %1
%36 = load ptr, ptr %3, align 8
%37 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %36, ptr noundef @.str.3)
br label %71
38: ; preds = %1
%39 = load ptr, ptr %3, align 8
%40 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %39, ptr noundef @.str.4)
br label %71
41: ; preds = %1
%42 = load ptr, ptr %3, align 8
%43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %42, ptr noundef @.str.5)
br label %71
44: ; preds = %1
%45 = load ptr, ptr %3, align 8
%46 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %45, ptr noundef @.str.6)
br label %71
47: ; preds = %1
%48 = load ptr, ptr %3, align 8
%49 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str.7)
br label %71
50: ; preds = %1
%51 = load ptr, ptr %3, align 8
%52 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %51, ptr noundef @.str.8)
br label %71
53: ; preds = %1
%54 = load ptr, ptr %3, align 8
%55 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %54, ptr noundef @.str.9)
br label %71
56: ; preds = %1
%57 = load ptr, ptr %3, align 8
%58 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %57, ptr noundef @.str.10)
br label %71
59: ; preds = %1
%60 = load ptr, ptr %3, align 8
%61 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %60, ptr noundef @.str.11)
br label %71
62: ; preds = %1
%63 = load ptr, ptr %3, align 8
%64 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %63, ptr noundef @.str.12)
br label %71
65: ; preds = %1
%66 = load ptr, ptr %3, align 8
%67 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %66, ptr noundef @.str.13)
br label %71
68: ; preds = %1
%69 = load ptr, ptr %3, align 8
%70 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %69, ptr noundef @.str.14)
br label %71
71: ; preds = %68, %65, %62, %59, %56, %53, %50, %47, %44, %41, %38, %35, %16, %13, %8
%72 = load ptr, ptr %3, align 8
ret ptr %72
}
declare i64 @malloc(i32 noundef) #1
declare i32 @getRAM(i32 noundef) #1
declare i32 @sprintf(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/tmpesgslcr6.c"
target datalayout = "e-m:e-p270: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"%02x\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NUL\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"MOV %04x %04x\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"ADD\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"SUB\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"MUL\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"DIV\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"JMP\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"CMP\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"JE\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"JNE\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"JG\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c"JL\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"INT\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"MOVP\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @opcodeName(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @malloc(i32 noundef 64)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = call i32 @getRAM(i32 noundef %6)
switch i32 %7, label %8 [
i32 0, label %13
i32 1, label %16
i32 2, label %35
i32 3, label %38
i32 4, label %41
i32 5, label %44
i32 6, label %47
i32 7, label %50
i32 8, label %53
i32 9, label %56
i32 10, label %59
i32 11, label %62
i32 12, label %65
i32 13, label %68
]
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %2, align 4
%11 = call i32 @getRAM(i32 noundef %10)
%12 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %9, ptr noundef @.str, i32 noundef %11)
br label %71
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef @.str.1)
br label %71
16: ; preds = %1
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
%20 = call i32 @getRAM(i32 noundef %19)
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 2
%23 = call i32 @getRAM(i32 noundef %22)
%24 = add nsw i32 8, %23
%25 = shl i32 %20, %24
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 3
%28 = call i32 @getRAM(i32 noundef %27)
%29 = shl i32 %28, 8
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 4
%32 = call i32 @getRAM(i32 noundef %31)
%33 = add nsw i32 %29, %32
%34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.2, i32 noundef %25, i32 noundef %33)
br label %71
35: ; preds = %1
%36 = load ptr, ptr %3, align 8
%37 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %36, ptr noundef @.str.3)
br label %71
38: ; preds = %1
%39 = load ptr, ptr %3, align 8
%40 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %39, ptr noundef @.str.4)
br label %71
41: ; preds = %1
%42 = load ptr, ptr %3, align 8
%43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %42, ptr noundef @.str.5)
br label %71
44: ; preds = %1
%45 = load ptr, ptr %3, align 8
%46 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %45, ptr noundef @.str.6)
br label %71
47: ; preds = %1
%48 = load ptr, ptr %3, align 8
%49 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %48, ptr noundef @.str.7)
br label %71
50: ; preds = %1
%51 = load ptr, ptr %3, align 8
%52 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %51, ptr noundef @.str.8)
br label %71
53: ; preds = %1
%54 = load ptr, ptr %3, align 8
%55 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %54, ptr noundef @.str.9)
br label %71
56: ; preds = %1
%57 = load ptr, ptr %3, align 8
%58 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %57, ptr noundef @.str.10)
br label %71
59: ; preds = %1
%60 = load ptr, ptr %3, align 8
%61 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %60, ptr noundef @.str.11)
br label %71
62: ; preds = %1
%63 = load ptr, ptr %3, align 8
%64 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %63, ptr noundef @.str.12)
br label %71
65: ; preds = %1
%66 = load ptr, ptr %3, align 8
%67 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %66, ptr noundef @.str.13)
br label %71
68: ; preds = %1
%69 = load ptr, ptr %3, align 8
%70 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %69, ptr noundef @.str.14)
br label %71
71: ; preds = %68, %65, %62, %59, %56, %53, %50, %47, %44, %41, %38, %35, %16, %13, %8
%72 = load ptr, ptr %3, align 8
ret ptr %72
}
declare i64 @malloc(i32 noundef) #1
declare i32 @getRAM(i32 noundef) #1
declare i32 @sprintf(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/tmp24tq3tz8.c'
source_filename = "/tmp/tmp24tq3tz8.c"
target datalayout = "e-m:e-p270: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.print_regs.flags = private unnamed_addr constant [9 x i8] c" \00", align 1
@.str = private unnamed_addr constant [54 x i8] c" X: 0x%04X [X]: 0x%04X Y: 0x%04X [Y]: 0x%04X \00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"PC: 0x%04X [PC]: 0x%04X\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c" U: 0x%04X [U]: 0x%04X S: 0x%04X [S]: 0x%04X \00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"DP: 0x%02X\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c" A: 0x%02X B: 0x%02X [D]: 0x%04X CC: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_regs() #0 {
%1 = alloca [9 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.print_regs.flags, i64 9, i1 false)
%2 = call i32 (...) @get_cc()
%3 = and i32 %2, 1
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0
store i8 67, ptr %6, align 1
br label %7
7: ; preds = %5, %0
%8 = call i32 (...) @get_cc()
%9 = and i32 %8, 2
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 1
store i8 86, ptr %12, align 1
br label %13
13: ; preds = %11, %7
%14 = call i32 (...) @get_cc()
%15 = and i32 %14, 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 2
store i8 90, ptr %18, align 1
br label %19
19: ; preds = %17, %13
%20 = call i32 (...) @get_cc()
%21 = and i32 %20, 8
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 3
store i8 78, ptr %24, align 1
br label %25
25: ; preds = %23, %19
%26 = call i32 (...) @get_cc()
%27 = and i32 %26, 16
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 4
store i8 73, ptr %30, align 1
br label %31
31: ; preds = %29, %25
%32 = call i32 (...) @get_cc()
%33 = and i32 %32, 32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 5
store i8 72, ptr %36, align 1
br label %37
37: ; preds = %35, %31
%38 = call i32 (...) @get_cc()
%39 = and i32 %38, 64
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 6
store i8 70, ptr %42, align 1
br label %43
43: ; preds = %41, %37
%44 = call i32 (...) @get_cc()
%45 = and i32 %44, 128
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 7
store i8 69, ptr %48, align 1
br label %49
49: ; preds = %47, %43
%50 = call i32 (...) @get_x()
%51 = call i32 (...) @get_x()
%52 = add nsw i32 %51, 1
%53 = call i32 @copro_mc6809nc_read(i32 noundef %52)
%54 = call i32 (...) @get_x()
%55 = call i32 @copro_mc6809nc_read(i32 noundef %54)
%56 = shl i32 %55, 8
%57 = add nsw i32 %53, %56
%58 = call i32 (...) @get_y()
%59 = call i32 (...) @get_y()
%60 = add nsw i32 %59, 1
%61 = call i32 @copro_mc6809nc_read(i32 noundef %60)
%62 = call i32 (...) @get_y()
%63 = call i32 @copro_mc6809nc_read(i32 noundef %62)
%64 = shl i32 %63, 8
%65 = add nsw i32 %61, %64
%66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %50, i32 noundef %57, i32 noundef %58, i32 noundef %65)
%67 = call i32 (...) @get_pc()
%68 = call i32 (...) @get_pc()
%69 = add nsw i32 %68, 1
%70 = call i32 @copro_mc6809nc_read(i32 noundef %69)
%71 = call i32 (...) @get_pc()
%72 = call i32 @copro_mc6809nc_read(i32 noundef %71)
%73 = shl i32 %72, 8
%74 = add nsw i32 %70, %73
%75 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %67, i32 noundef %74)
%76 = call i32 (...) @get_u()
%77 = call i32 (...) @get_u()
%78 = add nsw i32 %77, 1
%79 = call i32 @copro_mc6809nc_read(i32 noundef %78)
%80 = call i32 (...) @get_u()
%81 = call i32 @copro_mc6809nc_read(i32 noundef %80)
%82 = shl i32 %81, 8
%83 = add nsw i32 %79, %82
%84 = call i32 (...) @get_s()
%85 = call i32 (...) @get_s()
%86 = add nsw i32 %85, 1
%87 = call i32 @copro_mc6809nc_read(i32 noundef %86)
%88 = call i32 (...) @get_s()
%89 = call i32 @copro_mc6809nc_read(i32 noundef %88)
%90 = shl i32 %89, 8
%91 = add nsw i32 %87, %90
%92 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %76, i32 noundef %83, i32 noundef %84, i32 noundef %91)
%93 = call i32 (...) @get_dp()
%94 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %93)
%95 = call i32 (...) @get_a()
%96 = call i32 (...) @get_b()
%97 = call i32 (...) @get_d()
%98 = add nsw i32 %97, 1
%99 = call i32 @copro_mc6809nc_read(i32 noundef %98)
%100 = call i32 (...) @get_d()
%101 = call i32 @copro_mc6809nc_read(i32 noundef %100)
%102 = shl i32 %101, 8
%103 = add nsw i32 %99, %102
%104 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0
%105 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %95, i32 noundef %96, i32 noundef %103, ptr noundef %104)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @get_cc(...) #2
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i32 @get_x(...) #2
declare i32 @copro_mc6809nc_read(i32 noundef) #2
declare i32 @get_y(...) #2
declare i32 @get_pc(...) #2
declare i32 @get_u(...) #2
declare i32 @get_s(...) #2
declare i32 @get_dp(...) #2
declare i32 @get_a(...) #2
declare i32 @get_b(...) #2
declare i32 @get_d(...) #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/tmp24tq3tz8.c"
target datalayout = "e-m:e-p270: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.print_regs.flags = private unnamed_addr constant [9 x i8] c" \00", align 1
@.str = private unnamed_addr constant [54 x i8] c" X: 0x%04X [X]: 0x%04X Y: 0x%04X [Y]: 0x%04X \00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"PC: 0x%04X [PC]: 0x%04X\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c" U: 0x%04X [U]: 0x%04X S: 0x%04X [S]: 0x%04X \00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"DP: 0x%02X\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c" A: 0x%02X B: 0x%02X [D]: 0x%04X CC: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_regs() #0 {
%1 = alloca [9 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.print_regs.flags, i64 9, i1 false)
%2 = call i32 (...) @get_cc()
%3 = and i32 %2, 1
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0
store i8 67, ptr %6, align 1
br label %7
7: ; preds = %5, %0
%8 = call i32 (...) @get_cc()
%9 = and i32 %8, 2
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 1
store i8 86, ptr %12, align 1
br label %13
13: ; preds = %11, %7
%14 = call i32 (...) @get_cc()
%15 = and i32 %14, 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 2
store i8 90, ptr %18, align 1
br label %19
19: ; preds = %17, %13
%20 = call i32 (...) @get_cc()
%21 = and i32 %20, 8
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 3
store i8 78, ptr %24, align 1
br label %25
25: ; preds = %23, %19
%26 = call i32 (...) @get_cc()
%27 = and i32 %26, 16
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 4
store i8 73, ptr %30, align 1
br label %31
31: ; preds = %29, %25
%32 = call i32 (...) @get_cc()
%33 = and i32 %32, 32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 5
store i8 72, ptr %36, align 1
br label %37
37: ; preds = %35, %31
%38 = call i32 (...) @get_cc()
%39 = and i32 %38, 64
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 6
store i8 70, ptr %42, align 1
br label %43
43: ; preds = %41, %37
%44 = call i32 (...) @get_cc()
%45 = and i32 %44, 128
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 7
store i8 69, ptr %48, align 1
br label %49
49: ; preds = %47, %43
%50 = call i32 (...) @get_x()
%51 = call i32 (...) @get_x()
%52 = add nsw i32 %51, 1
%53 = call i32 @copro_mc6809nc_read(i32 noundef %52)
%54 = call i32 (...) @get_x()
%55 = call i32 @copro_mc6809nc_read(i32 noundef %54)
%56 = shl i32 %55, 8
%57 = add nsw i32 %53, %56
%58 = call i32 (...) @get_y()
%59 = call i32 (...) @get_y()
%60 = add nsw i32 %59, 1
%61 = call i32 @copro_mc6809nc_read(i32 noundef %60)
%62 = call i32 (...) @get_y()
%63 = call i32 @copro_mc6809nc_read(i32 noundef %62)
%64 = shl i32 %63, 8
%65 = add nsw i32 %61, %64
%66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %50, i32 noundef %57, i32 noundef %58, i32 noundef %65)
%67 = call i32 (...) @get_pc()
%68 = call i32 (...) @get_pc()
%69 = add nsw i32 %68, 1
%70 = call i32 @copro_mc6809nc_read(i32 noundef %69)
%71 = call i32 (...) @get_pc()
%72 = call i32 @copro_mc6809nc_read(i32 noundef %71)
%73 = shl i32 %72, 8
%74 = add nsw i32 %70, %73
%75 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %67, i32 noundef %74)
%76 = call i32 (...) @get_u()
%77 = call i32 (...) @get_u()
%78 = add nsw i32 %77, 1
%79 = call i32 @copro_mc6809nc_read(i32 noundef %78)
%80 = call i32 (...) @get_u()
%81 = call i32 @copro_mc6809nc_read(i32 noundef %80)
%82 = shl i32 %81, 8
%83 = add nsw i32 %79, %82
%84 = call i32 (...) @get_s()
%85 = call i32 (...) @get_s()
%86 = add nsw i32 %85, 1
%87 = call i32 @copro_mc6809nc_read(i32 noundef %86)
%88 = call i32 (...) @get_s()
%89 = call i32 @copro_mc6809nc_read(i32 noundef %88)
%90 = shl i32 %89, 8
%91 = add nsw i32 %87, %90
%92 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %76, i32 noundef %83, i32 noundef %84, i32 noundef %91)
%93 = call i32 (...) @get_dp()
%94 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %93)
%95 = call i32 (...) @get_a()
%96 = call i32 (...) @get_b()
%97 = call i32 (...) @get_d()
%98 = add nsw i32 %97, 1
%99 = call i32 @copro_mc6809nc_read(i32 noundef %98)
%100 = call i32 (...) @get_d()
%101 = call i32 @copro_mc6809nc_read(i32 noundef %100)
%102 = shl i32 %101, 8
%103 = add nsw i32 %99, %102
%104 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0
%105 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %95, i32 noundef %96, i32 noundef %103, ptr noundef %104)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @get_cc(...) #2
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i32 @get_x(...) #2
declare i32 @copro_mc6809nc_read(i32 noundef) #2
declare i32 @get_y(...) #2
declare i32 @get_pc(...) #2
declare i32 @get_u(...) #2
declare i32 @get_s(...) #2
declare i32 @get_dp(...) #2
declare i32 @get_a(...) #2
declare i32 @get_b(...) #2
declare i32 @get_d(...) #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/tmpnmwsnu9p.c'
source_filename = "/tmp/tmpnmwsnu9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @fflush(i32 noundef %7)
br label %9
9: ; preds = %14, %2
%10 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%11 = load i32, ptr @stdin, align 4
%12 = call ptr @fgets(ptr noundef %10, i32 noundef 1000, i32 noundef %11)
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %20
14: ; preds = %9
%15 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%16 = call i32 @DecodeSpeech(ptr noundef %15)
%17 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%18 = load i32, ptr @stdout, align 4
%19 = call i32 @fputs(ptr noundef %17, i32 noundef %18)
br label %9, !llvm.loop !6
20: ; preds = %9
ret i32 0
}
declare i32 @fflush(i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @DecodeSpeech(ptr noundef) #1
declare i32 @fputs(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/tmpnmwsnu9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @fflush(i32 noundef %7)
%9 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%10 = load i32, ptr @stdin, align 4
%11 = call ptr @fgets(ptr noundef %9, i32 noundef 1000, i32 noundef %10)
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %13
%14 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @DecodeSpeech(ptr noundef %14)
%16 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%17 = load i32, ptr @stdout, align 4
%18 = call i32 @fputs(ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr @stdin, align 4
%20 = call ptr @fgets(ptr noundef %9, i32 noundef 1000, i32 noundef %19)
%21 = icmp ne ptr %20, null
br i1 %21, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %22
22: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @fflush(i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @DecodeSpeech(ptr noundef) #1
declare i32 @fputs(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/tmpz7h6mu7_.c'
source_filename = "/tmp/tmpz7h6mu7_.c"
target datalayout = "e-m:e-p270: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 @decode_frame(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
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/tmpz7h6mu7_.c"
target datalayout = "e-m:e-p270: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 @decode_frame(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
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/tmpmoh5ieig.c'
source_filename = "/tmp/tmpmoh5ieig.c"
target datalayout = "e-m:e-p270: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 @__enormlz(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 i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i16, ptr %6, i64 2
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i16, ptr %8, align 2
%10 = zext i16 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
br label %69
13: ; preds = %1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i16, ptr %14, i32 1
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = load i16, ptr %16, align 2
%18 = zext i16 %17 to i32
%19 = and i32 %18, 32768
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %13
store i32 0, ptr %2, align 4
br label %98
22: ; preds = %13
br label %23
23: ; preds = %37, %22
%24 = load ptr, ptr %4, align 8
%25 = load i16, ptr %24, align 2
%26 = zext i16 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %38
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i32 @__eshup6(ptr noundef %29)
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 16
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %33, 80
br i1 %34, label %35, label %37
35: ; preds = %28
%36 = load i32, ptr %5, align 4
store i32 %36, ptr %2, align 4
br label %98
37: ; preds = %28
br label %23, !llvm.loop !6
38: ; preds = %23
br label %39
39: ; preds = %45, %38
%40 = load ptr, ptr %4, align 8
%41 = load i16, ptr %40, align 2
%42 = zext i16 %41 to i32
%43 = and i32 %42, 65280
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %39
%46 = load ptr, ptr %3, align 8
%47 = call i32 @__eshup8(ptr noundef %46)
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 8
store i32 %49, ptr %5, align 4
br label %39, !llvm.loop !8
50: ; preds = %39
br label %51
51: ; preds = %66, %50
%52 = load ptr, ptr %4, align 8
%53 = load i16, ptr %52, align 2
%54 = zext i16 %53 to i32
%55 = and i32 %54, 32768
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %67
57: ; preds = %51
%58 = load ptr, ptr %3, align 8
%59 = call i32 @__eshup1(ptr noundef %58)
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
%62 = load i32, ptr %5, align 4
%63 = icmp sgt i32 %62, 96
br i1 %63, label %64, label %66
64: ; preds = %57
%65 = load i32, ptr %5, align 4
store i32 %65, ptr %2, align 4
br label %98
66: ; preds = %57
br label %51, !llvm.loop !9
67: ; preds = %51
%68 = load i32, ptr %5, align 4
store i32 %68, ptr %2, align 4
br label %98
69: ; preds = %12
%70 = load ptr, ptr %4, align 8
%71 = load i16, ptr %70, align 2
%72 = zext i16 %71 to i32
%73 = and i32 %72, 65280
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %80
75: ; preds = %69
%76 = load ptr, ptr %3, align 8
%77 = call i32 @__eshdn8(ptr noundef %76)
%78 = load i32, ptr %5, align 4
%79 = sub nsw i32 %78, 8
store i32 %79, ptr %5, align 4
br label %80
80: ; preds = %75, %69
br label %81
81: ; preds = %95, %80
%82 = load ptr, ptr %4, align 8
%83 = load i16, ptr %82, align 2
%84 = zext i16 %83 to i32
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %96
86: ; preds = %81
%87 = load ptr, ptr %3, align 8
%88 = call i32 @__eshdn1(ptr noundef %87)
%89 = load i32, ptr %5, align 4
%90 = sub nsw i32 %89, 1
store i32 %90, ptr %5, align 4
%91 = load i32, ptr %5, align 4
%92 = icmp slt i32 %91, -80
br i1 %92, label %93, label %95
93: ; preds = %86
%94 = load i32, ptr %5, align 4
store i32 %94, ptr %2, align 4
br label %98
95: ; preds = %86
br label %81, !llvm.loop !10
96: ; preds = %81
%97 = load i32, ptr %5, align 4
store i32 %97, ptr %2, align 4
br label %98
98: ; preds = %96, %93, %67, %64, %35, %21
%99 = load i32, ptr %2, align 4
ret i32 %99
}
declare i32 @__eshup6(ptr noundef) #1
declare i32 @__eshup8(ptr noundef) #1
declare i32 @__eshup1(ptr noundef) #1
declare i32 @__eshdn8(ptr noundef) #1
declare i32 @__eshdn1(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/tmpmoh5ieig.c"
target datalayout = "e-m:e-p270: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 @__enormlz(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 i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i16, ptr %6, i64 2
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i16, ptr %8, align 2
%10 = zext i16 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
br label %80
13: ; preds = %1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i16, ptr %14, i32 1
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = load i16, ptr %16, align 2
%18 = zext i16 %17 to i32
%19 = and i32 %18, 32768
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %13
store i32 0, ptr %2, align 4
br label %112
22: ; preds = %13
%23 = load ptr, ptr %4, align 8
%24 = load i16, ptr %23, align 2
%25 = zext i16 %24 to i32
%26 = icmp eq i32 %25, 0
br i1 %26, label %.lr.ph, label %41
.lr.ph: ; preds = %22
br label %32
27: ; preds = %32
%28 = load ptr, ptr %4, align 8
%29 = load i16, ptr %28, align 2
%30 = zext i16 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %._crit_edge, !llvm.loop !6
32: ; preds = %.lr.ph, %27
%33 = load ptr, ptr %3, align 8
%34 = call i32 @__eshup6(ptr noundef %33)
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 16
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp sgt i32 %37, 80
br i1 %38, label %39, label %27
39: ; preds = %32
%40 = load i32, ptr %5, align 4
store i32 %40, ptr %2, align 4
br label %112
._crit_edge: ; preds = %27
br label %41
41: ; preds = %._crit_edge, %22
%42 = load ptr, ptr %4, align 8
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = and i32 %44, 65280
%46 = icmp eq i32 %45, 0
br i1 %46, label %.lr.ph2, label %57
.lr.ph2: ; preds = %41
br label %47
47: ; preds = %.lr.ph2, %47
%48 = load ptr, ptr %3, align 8
%49 = call i32 @__eshup8(ptr noundef %48)
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 8
store i32 %51, ptr %5, align 4
%52 = load ptr, ptr %4, align 8
%53 = load i16, ptr %52, align 2
%54 = zext i16 %53 to i32
%55 = and i32 %54, 65280
%56 = icmp eq i32 %55, 0
br i1 %56, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %57
57: ; preds = %._crit_edge3, %41
%58 = load ptr, ptr %4, align 8
%59 = load i16, ptr %58, align 2
%60 = zext i16 %59 to i32
%61 = and i32 %60, 32768
%62 = icmp eq i32 %61, 0
br i1 %62, label %.lr.ph5, label %78
.lr.ph5: ; preds = %57
br label %69
63: ; preds = %69
%64 = load ptr, ptr %4, align 8
%65 = load i16, ptr %64, align 2
%66 = zext i16 %65 to i32
%67 = and i32 %66, 32768
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %._crit_edge6, !llvm.loop !9
69: ; preds = %.lr.ph5, %63
%70 = load ptr, ptr %3, align 8
%71 = call i32 @__eshup1(ptr noundef %70)
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
%74 = load i32, ptr %5, align 4
%75 = icmp sgt i32 %74, 96
br i1 %75, label %76, label %63
76: ; preds = %69
%77 = load i32, ptr %5, align 4
store i32 %77, ptr %2, align 4
br label %112
._crit_edge6: ; preds = %63
br label %78
78: ; preds = %._crit_edge6, %57
%79 = load i32, ptr %5, align 4
store i32 %79, ptr %2, align 4
br label %112
80: ; preds = %12
%81 = load ptr, ptr %4, align 8
%82 = load i16, ptr %81, align 2
%83 = zext i16 %82 to i32
%84 = and i32 %83, 65280
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %91
86: ; preds = %80
%87 = load ptr, ptr %3, align 8
%88 = call i32 @__eshdn8(ptr noundef %87)
%89 = load i32, ptr %5, align 4
%90 = sub nsw i32 %89, 8
store i32 %90, ptr %5, align 4
br label %91
91: ; preds = %86, %80
%92 = load ptr, ptr %4, align 8
%93 = load i16, ptr %92, align 2
%94 = zext i16 %93 to i32
%95 = icmp ne i32 %94, 0
br i1 %95, label %.lr.ph8, label %110
.lr.ph8: ; preds = %91
br label %101
96: ; preds = %101
%97 = load ptr, ptr %4, align 8
%98 = load i16, ptr %97, align 2
%99 = zext i16 %98 to i32
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %._crit_edge9, !llvm.loop !10
101: ; preds = %.lr.ph8, %96
%102 = load ptr, ptr %3, align 8
%103 = call i32 @__eshdn1(ptr noundef %102)
%104 = load i32, ptr %5, align 4
%105 = sub nsw i32 %104, 1
store i32 %105, ptr %5, align 4
%106 = load i32, ptr %5, align 4
%107 = icmp slt i32 %106, -80
br i1 %107, label %108, label %96
108: ; preds = %101
%109 = load i32, ptr %5, align 4
store i32 %109, ptr %2, align 4
br label %112
._crit_edge9: ; preds = %96
br label %110
110: ; preds = %._crit_edge9, %91
%111 = load i32, ptr %5, align 4
store i32 %111, ptr %2, align 4
br label %112
112: ; preds = %110, %108, %78, %76, %39, %21
%113 = load i32, ptr %2, align 4
ret i32 %113
}
declare i32 @__eshup6(ptr noundef) #1
declare i32 @__eshup8(ptr noundef) #1
declare i32 @__eshup1(ptr noundef) #1
declare i32 @__eshdn8(ptr noundef) #1
declare i32 @__eshdn1(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/tmpnfesabaa.c'
source_filename = "/tmp/tmpnfesabaa.c"
target datalayout = "e-m:e-p270: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/tmpnfesabaa.c"
target datalayout = "e-m:e-p270: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/tmpdujjwyk4.c'
source_filename = "/tmp/tmpdujjwyk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"\0AUsage: %s [options] <CAN interface>\0A\00", align 1
@.str.1 = private unnamed_addr constant [69 x i8] c"Options: -s <can_id> (source can_id. Use 8 digits for extended IDs)\0A\00", align 1
@.str.2 = private unnamed_addr constant [74 x i8] c" -d <can_id> (destination can_id. Use 8 digits for extended IDs)\0A\00", align 1
@.str.3 = private unnamed_addr constant [78 x i8] c" -x <addr> (extended addressing mode. Use 'any' for all addresses)\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c" -c (color mode)\0A\00", align 1
@.str.5 = private unnamed_addr constant [55 x i8] c" -a (print data also in ASCII-chars)\0A\00", align 1
@.str.6 = private unnamed_addr constant [79 x i8] c" -t <type> (timestamp: (a)bsolute/(d)elta/(z)ero/(A)bsolute w date)\0A\00", align 1
@.str.7 = private unnamed_addr constant [70 x i8] c"\0ACAN IDs and addresses are given and expected in hexadecimal values.\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdujjwyk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"\0AUsage: %s [options] <CAN interface>\0A\00", align 1
@.str.1 = private unnamed_addr constant [69 x i8] c"Options: -s <can_id> (source can_id. Use 8 digits for extended IDs)\0A\00", align 1
@.str.2 = private unnamed_addr constant [74 x i8] c" -d <can_id> (destination can_id. Use 8 digits for extended IDs)\0A\00", align 1
@.str.3 = private unnamed_addr constant [78 x i8] c" -x <addr> (extended addressing mode. Use 'any' for all addresses)\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c" -c (color mode)\0A\00", align 1
@.str.5 = private unnamed_addr constant [55 x i8] c" -a (print data also in ASCII-chars)\0A\00", align 1
@.str.6 = private unnamed_addr constant [79 x i8] c" -t <type> (timestamp: (a)bsolute/(d)elta/(z)ero/(A)bsolute w date)\0A\00", align 1
@.str.7 = private unnamed_addr constant [70 x i8] c"\0ACAN IDs and addresses are given and expected in hexadecimal values.\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe4zcpjcf.c'
source_filename = "/tmp/tmpe4zcpjcf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"/0\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@__const.main.tests = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@stderr = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [78 x i8] c"Hi from the sandbox example program! I'm pid=%d, uid=%d, gid=%d, dumpable=%c\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"Now asking for chroot\0A\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"Asking for chroot failed\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [45 x i8] c"Got chrooted successfully. Helper (%d) RIP.\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"CWD = %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.13 = private unnamed_addr constant [35 x i8] c"file creation (\22test\22) failed: %m\0A\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"/test\00", align 1
@.str.15 = private unnamed_addr constant [36 x i8] c"file creation (\22/test\22) failed: %m\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.16 = private unnamed_addr constant [21 x i8] c"Opening %s: success\0A\00", align 1
@.str.17 = private unnamed_addr constant [16 x i8] c"Opening %s: %m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [6 x ptr], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.tests, i64 48, i1 false)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (...) @getpid()
%8 = call i32 (...) @getuid()
%9 = call i32 (...) @getgid()
%10 = call i64 (...) @getdumpable()
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 89, i32 78
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%16 = call i32 (...) @chrootme()
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %23
19: ; preds = %0
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8)
%22 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %22, ptr %1, align 4
br label %76
23: ; preds = %0
%24 = load i32, ptr %3, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %24)
br label %26
26: ; preds = %23
%27 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%28 = call i64 @getcwd(ptr noundef %27, i32 noundef 1024)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
br label %33
32: ; preds = %26
br label %33
33: ; preds = %32, %30
%34 = phi ptr [ %31, %30 ], [ @.str.11, %32 ]
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %34)
%36 = call i64 @creat(ptr noundef @.str.12, i32 noundef 0)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %40
40: ; preds = %38, %33
%41 = call i64 @creat(ptr noundef @.str.14, i32 noundef 0)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %45
45: ; preds = %43, %40
store i32 0, ptr %4, align 4
br label %46
46: ; preds = %71, %45
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = icmp ult i64 %48, 6
br i1 %49, label %50, label %74
50: ; preds = %46
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr @O_RDONLY, align 4
%56 = call i64 @open(ptr noundef %54, i32 noundef %55)
%57 = icmp sge i64 %56, 0
br i1 %57, label %58, label %64
58: ; preds = %50
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %62)
br label %70
64: ; preds = %50
%65 = load i32, ptr %4, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %68)
br label %70
70: ; preds = %64, %58
br label %71
71: ; preds = %70
%72 = load i32, ptr %4, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %4, align 4
br label %46, !llvm.loop !6
74: ; preds = %46
%75 = call i32 (...) @pause()
store i32 0, ptr %1, align 4
br label %76
76: ; preds = %74, %19
%77 = load i32, ptr %1, align 4
ret i32 %77
}
; 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 @fprintf(i32 noundef, ptr noundef, ...) #2
declare i32 @getpid(...) #2
declare i32 @getuid(...) #2
declare i32 @getgid(...) #2
declare i64 @getdumpable(...) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @chrootme(...) #2
declare i64 @getcwd(ptr noundef, i32 noundef) #2
declare i64 @creat(ptr noundef, i32 noundef) #2
declare i64 @open(ptr noundef, i32 noundef) #2
declare i32 @pause(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe4zcpjcf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"/0\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@__const.main.tests = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@stderr = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [78 x i8] c"Hi from the sandbox example program! I'm pid=%d, uid=%d, gid=%d, dumpable=%c\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"Now asking for chroot\0A\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"Asking for chroot failed\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [45 x i8] c"Got chrooted successfully. Helper (%d) RIP.\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"CWD = %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.13 = private unnamed_addr constant [35 x i8] c"file creation (\22test\22) failed: %m\0A\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"/test\00", align 1
@.str.15 = private unnamed_addr constant [36 x i8] c"file creation (\22/test\22) failed: %m\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.16 = private unnamed_addr constant [21 x i8] c"Opening %s: success\0A\00", align 1
@.str.17 = private unnamed_addr constant [16 x i8] c"Opening %s: %m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [6 x ptr], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.tests, i64 48, i1 false)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (...) @getpid()
%8 = call i32 (...) @getuid()
%9 = call i32 (...) @getgid()
%10 = call i64 (...) @getdumpable()
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 89, i32 78
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%16 = call i32 (...) @chrootme()
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %23
19: ; preds = %0
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8)
%22 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %22, ptr %1, align 4
br label %78
23: ; preds = %0
%24 = load i32, ptr %3, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %24)
br label %26
26: ; preds = %23
%27 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%28 = call i64 @getcwd(ptr noundef %27, i32 noundef 1024)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
br label %33
32: ; preds = %26
br label %33
33: ; preds = %32, %30
%34 = phi ptr [ %31, %30 ], [ @.str.11, %32 ]
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %34)
%36 = call i64 @creat(ptr noundef @.str.12, i32 noundef 0)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %40
40: ; preds = %38, %33
%41 = call i64 @creat(ptr noundef @.str.14, i32 noundef 0)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %45
45: ; preds = %43, %40
store i32 0, ptr %4, align 4
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = icmp ult i64 %47, 6
br i1 %48, label %.lr.ph, label %76
.lr.ph: ; preds = %45
br label %49
49: ; preds = %.lr.ph, %70
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr @O_RDONLY, align 4
%55 = call i64 @open(ptr noundef %53, i32 noundef %54)
%56 = icmp sge i64 %55, 0
br i1 %56, label %57, label %63
57: ; preds = %49
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %61)
br label %69
63: ; preds = %49
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [6 x ptr], ptr %5, i64 0, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %67)
br label %69
69: ; preds = %63, %57
br label %70
70: ; preds = %69
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %4, align 4
%73 = load i32, ptr %4, align 4
%74 = sext i32 %73 to i64
%75 = icmp ult i64 %74, 6
br i1 %75, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %76
76: ; preds = %._crit_edge, %45
%77 = call i32 (...) @pause()
store i32 0, ptr %1, align 4
br label %78
78: ; preds = %76, %19
%79 = load i32, ptr %1, align 4
ret i32 %79
}
; 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 @fprintf(i32 noundef, ptr noundef, ...) #2
declare i32 @getpid(...) #2
declare i32 @getuid(...) #2
declare i32 @getgid(...) #2
declare i64 @getdumpable(...) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @chrootme(...) #2
declare i64 @getcwd(ptr noundef, i32 noundef) #2
declare i64 @creat(ptr noundef, i32 noundef) #2
declare i64 @open(ptr noundef, i32 noundef) #2
declare i32 @pause(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk5rlhskf.c'
source_filename = "/tmp/tmpk5rlhskf.c"
target datalayout = "e-m:e-p270: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 @u32_to_bin(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
br label %6
6: ; preds = %24, %2
%7 = load i32, ptr %5, align 4
%8 = icmp sle i32 %7, 32
br i1 %8, label %9, label %27
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %11, 1
%13 = shl i32 1, %12
%14 = and i32 %10, %13
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i32 49, i32 48
%18 = trunc i32 %17 to i8
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 32, %20
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %19, i64 %22
store i8 %18, ptr %23, align 1
br label %24
24: ; preds = %9
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %6, !llvm.loop !6
27: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk5rlhskf.c"
target datalayout = "e-m:e-p270: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 @u32_to_bin(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp sle i32 %6, 32
br i1 %7, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %23
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %5, align 4
%11 = sub nsw i32 %10, 1
%12 = shl i32 1, %11
%13 = and i32 %9, %12
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, i32 49, i32 48
%17 = trunc i32 %16 to i8
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 32, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
store i8 %17, ptr %22, align 1
br label %23
23: ; preds = %8
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp sle i32 %26, 32
br i1 %27, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %2
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/tmpac6qyd5w.c'
source_filename = "/tmp/tmpac6qyd5w.c"
target datalayout = "e-m:e-p270: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/tmpac6qyd5w.c"
target datalayout = "e-m:e-p270: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/tmptsdk40jd.c'
source_filename = "/tmp/tmptsdk40jd.c"
target datalayout = "e-m:e-p270: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 @sphinx_get_field_factors(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %17
8: ; preds = %2
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %17, label %11
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 5
%15 = load i32, ptr %14, align 4
%16 = icmp sge i32 %12, %15
br i1 %16, label %17, label %18
17: ; preds = %11, %8, %2
store ptr null, ptr %3, align 8
br label %36
18: ; preds = %11
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = call ptr @skip_fields(ptr noundef %19, i32 noundef %20)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 0
%24 = load i32, ptr %23, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %18
store ptr null, ptr %3, align 8
br label %36
27: ; preds = %18
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 1
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %27
store ptr null, ptr %3, align 8
br label %36
34: ; preds = %27
%35 = load ptr, ptr %4, align 8
store ptr %35, ptr %3, align 8
br label %36
36: ; preds = %34, %33, %26, %17
%37 = load ptr, ptr %3, align 8
ret ptr %37
}
declare ptr @skip_fields(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/tmptsdk40jd.c"
target datalayout = "e-m:e-p270: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 @sphinx_get_field_factors(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %17
8: ; preds = %2
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %17, label %11
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 5
%15 = load i32, ptr %14, align 4
%16 = icmp sge i32 %12, %15
br i1 %16, label %17, label %18
17: ; preds = %11, %8, %2
store ptr null, ptr %3, align 8
br label %36
18: ; preds = %11
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = call ptr @skip_fields(ptr noundef %19, i32 noundef %20)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 0
%24 = load i32, ptr %23, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %18
store ptr null, ptr %3, align 8
br label %36
27: ; preds = %18
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 1
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %27
store ptr null, ptr %3, align 8
br label %36
34: ; preds = %27
%35 = load ptr, ptr %4, align 8
store ptr %35, ptr %3, align 8
br label %36
36: ; preds = %34, %33, %26, %17
%37 = load ptr, ptr %3, align 8
ret ptr %37
}
declare ptr @skip_fields(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/tmpdb3cyjt7.c'
source_filename = "/tmp/tmpdb3cyjt7.c"
target datalayout = "e-m:e-p270: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 @testThatRemoveDeadBindingsRunBeforeEachCall() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 12)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call ptr @reshape(ptr noundef %3)
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call ptr @reshape(ptr noundef %5)
store ptr %6, ptr %1, align 8
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @reshape(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/tmpdb3cyjt7.c"
target datalayout = "e-m:e-p270: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 @testThatRemoveDeadBindingsRunBeforeEachCall() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 12)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call ptr @reshape(ptr noundef %3)
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call ptr @reshape(ptr noundef %5)
store ptr %6, ptr %1, align 8
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @reshape(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.