llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmps86oqln4.c'
source_filename = "/tmp/tmps86oqln4.c"
target datalayout = "e-m:e-p270: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.threeSumClosestMain.array = private unnamed_addr constant [4 x i32] [i32 1, i32 1, i32 1, i32 0], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @threeSumClosestMain() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.threeSumClosestMain.array, i64 16, i1 false)
store i32 4, ptr %1, align 4
%3 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
%4 = load i32, ptr %1, align 4
%5 = call i32 @threeSumClosest(ptr noundef %3, i32 noundef %4, i32 noundef 100)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
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, i32 noundef) #2
declare i32 @threeSumClosest(ptr 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: 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/tmps86oqln4.c"
target datalayout = "e-m:e-p270: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.threeSumClosestMain.array = private unnamed_addr constant [4 x i32] [i32 1, i32 1, i32 1, i32 0], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @threeSumClosestMain() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.threeSumClosestMain.array, i64 16, i1 false)
store i32 4, ptr %1, align 4
%3 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
%4 = load i32, ptr %1, align 4
%5 = call i32 @threeSumClosest(ptr noundef %3, i32 noundef %4, i32 noundef 100)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
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, i32 noundef) #2
declare i32 @threeSumClosest(ptr 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: 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/tmpisyo5_ik.c'
source_filename = "/tmp/tmpisyo5_ik.c"
target datalayout = "e-m:e-p270: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/tmpisyo5_ik.c"
target datalayout = "e-m:e-p270: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/tmpow5a_6ua.c'
source_filename = "/tmp/tmpow5a_6ua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @csla_dvn(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call double @sla_dvn(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret double %10
}
declare double @sla_dvn(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/tmpow5a_6ua.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @csla_dvn(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call double @sla_dvn(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret double %10
}
declare double @sla_dvn(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/tmpbwbro0ma.c'
source_filename = "/tmp/tmpbwbro0ma.c"
target datalayout = "e-m:e-p270: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_2__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XLeaveWindowEvent_display(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store ptr %5, ptr %7, 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/tmpbwbro0ma.c"
target datalayout = "e-m:e-p270: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_2__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XLeaveWindowEvent_display(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store ptr %5, ptr %7, 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/tmp88lild9r.c'
source_filename = "/tmp/tmp88lild9r.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"# got: \00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"0x%X (%u)\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"# expected: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uint_is(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [24 x i8], align 16
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp eq i32 %14, %15
%17 = zext i1 %16 to i32
%18 = load ptr, ptr %10, align 8
%19 = call i32 @ok(ptr noundef %12, i32 noundef %13, i32 noundef %17, ptr noundef %18)
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %38
23: ; preds = %5
%24 = call i32 @putstr(ptr noundef @.str)
%25 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.1, i32 noundef %26, i32 noundef %27)
%29 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
%30 = call i32 @putstr(ptr noundef %29)
%31 = call i32 @putstr(ptr noundef @.str.2)
%32 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.1, i32 noundef %33, i32 noundef %34)
%36 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
%37 = call i32 @putstr(ptr noundef %36)
br label %38
38: ; preds = %23, %5
ret void
}
declare i32 @ok(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @putstr(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp88lild9r.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"# got: \00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"0x%X (%u)\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"# expected: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uint_is(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [24 x i8], align 16
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp eq i32 %14, %15
%17 = zext i1 %16 to i32
%18 = load ptr, ptr %10, align 8
%19 = call i32 @ok(ptr noundef %12, i32 noundef %13, i32 noundef %17, ptr noundef %18)
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %38
23: ; preds = %5
%24 = call i32 @putstr(ptr noundef @.str)
%25 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.1, i32 noundef %26, i32 noundef %27)
%29 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
%30 = call i32 @putstr(ptr noundef %29)
%31 = call i32 @putstr(ptr noundef @.str.2)
%32 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.1, i32 noundef %33, i32 noundef %34)
%36 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
%37 = call i32 @putstr(ptr noundef %36)
br label %38
38: ; preds = %23, %5
ret void
}
declare i32 @ok(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @putstr(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpapxbmbzp.c'
source_filename = "/tmp/tmpapxbmbzp.c"
target datalayout = "e-m:e-p270: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/tmpapxbmbzp.c"
target datalayout = "e-m:e-p270: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/tmppa33ux3b.c'
source_filename = "/tmp/tmppa33ux3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_long_cst() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
store i64 -9223372036854775808, ptr %1, align 8
store i64 9223372036854775807, ptr %2, align 8
%3 = call i32 @f_long_1(i64 noundef -9223372036854775808)
%4 = call i32 @sink(i32 noundef %3)
%5 = call i32 @f_long_1(i64 noundef -1)
%6 = call i32 @sink(i32 noundef %5)
%7 = call i32 @f_long_1(i64 noundef 0)
%8 = call i32 @sink(i32 noundef %7)
%9 = call i32 @f_long_1(i64 noundef 1)
%10 = call i32 @sink(i32 noundef %9)
%11 = call i32 @f_long_1(i64 noundef 9223372036854775807)
%12 = call i32 @sink(i32 noundef %11)
ret void
}
declare i32 @sink(i32 noundef) #1
declare i32 @f_long_1(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppa33ux3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_long_cst() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
store i64 -9223372036854775808, ptr %1, align 8
store i64 9223372036854775807, ptr %2, align 8
%3 = call i32 @f_long_1(i64 noundef -9223372036854775808)
%4 = call i32 @sink(i32 noundef %3)
%5 = call i32 @f_long_1(i64 noundef -1)
%6 = call i32 @sink(i32 noundef %5)
%7 = call i32 @f_long_1(i64 noundef 0)
%8 = call i32 @sink(i32 noundef %7)
%9 = call i32 @f_long_1(i64 noundef 1)
%10 = call i32 @sink(i32 noundef %9)
%11 = call i32 @f_long_1(i64 noundef 9223372036854775807)
%12 = call i32 @sink(i32 noundef %11)
ret void
}
declare i32 @sink(i32 noundef) #1
declare i32 @f_long_1(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbp4vh4wb.c'
source_filename = "/tmp/tmpbp4vh4wb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"</sphinx:document>\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close_xml_document_(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr @.str, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @str_to_lower_case(ptr noundef %5)
%7 = load i32, ptr %2, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %10)
store i32 %11, ptr %4, align 4
ret i32 0
}
declare i32 @str_to_lower_case(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbp4vh4wb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"</sphinx:document>\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close_xml_document_(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr @.str, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @str_to_lower_case(ptr noundef %5)
%7 = load i32, ptr %2, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %10)
store i32 %11, ptr %4, align 4
ret i32 0
}
declare i32 @str_to_lower_case(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9av3cw34.c'
source_filename = "/tmp/tmp9av3cw34.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @makelist(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 60)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
store i32 %6, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 1
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9av3cw34.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @makelist(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 60)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
store i32 %6, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 1
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdck480ag.c'
source_filename = "/tmp/tmpdck480ag.c"
target datalayout = "e-m:e-p270: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/tmpdck480ag.c"
target datalayout = "e-m:e-p270: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/tmpv_4zc4dq.c'
source_filename = "/tmp/tmpv_4zc4dq.c"
target datalayout = "e-m:e-p270: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/tmpv_4zc4dq.c"
target datalayout = "e-m:e-p270: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/tmpvil942x_.c'
source_filename = "/tmp/tmpvil942x_.c"
target datalayout = "e-m:e-p270: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.seq = private unnamed_addr constant [6 x i8] c"zabcz\00", align 1
@.str = private unnamed_addr constant [28 x i8] c"The length of the LPS is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.seq, i64 6, i1 false)
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 1
%9 = call i32 @lps(ptr noundef %6, i32 noundef 0, i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 (...) @getchar()
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 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @lps(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @getchar(...) #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/tmpvil942x_.c"
target datalayout = "e-m:e-p270: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.seq = private unnamed_addr constant [6 x i8] c"zabcz\00", align 1
@.str = private unnamed_addr constant [28 x i8] c"The length of the LPS is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.seq, i64 6, i1 false)
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 1
%9 = call i32 @lps(ptr noundef %6, i32 noundef 0, i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 (...) @getchar()
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 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @lps(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @getchar(...) #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/tmpl40c9v1r.c'
source_filename = "/tmp/tmpl40c9v1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENXIO = 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/tmpl40c9v1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENXIO = 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/tmppyzqzww4.c'
source_filename = "/tmp/tmppyzqzww4.c"
target datalayout = "e-m:e-p270: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/tmppyzqzww4.c"
target datalayout = "e-m:e-p270: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/tmp0pd2zdy8.c'
source_filename = "/tmp/tmp0pd2zdy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hcharminus(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = sub nsw i32 %5, 24
%7 = trunc i32 %6 to i8
store i8 %7, ptr %3, align 1
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call i32 @foo(ptr noundef %12)
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %2, align 8
ret ptr %15
}
declare i32 @foo(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/tmp0pd2zdy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hcharminus(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = sub nsw i32 %5, 24
%7 = trunc i32 %6 to i8
store i8 %7, ptr %3, align 1
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call i32 @foo(ptr noundef %12)
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %2, align 8
ret ptr %15
}
declare i32 @foo(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/tmpkjndp990.c'
source_filename = "/tmp/tmpkjndp990.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_PollIn(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %22
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = call i32 @pollPipe(i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp sle i32 0, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load i32, ptr %6, align 4
store i32 %17, ptr %3, align 4
br label %22
18: ; preds = %10
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = call i32 @PollIn1(i32 noundef %19, i32 noundef %20)
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %18, %16, %9
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @pollPipe(i32 noundef, i32 noundef) #1
declare i32 @PollIn1(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/tmpkjndp990.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_PollIn(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %22
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = call i32 @pollPipe(i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp sle i32 0, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load i32, ptr %6, align 4
store i32 %17, ptr %3, align 4
br label %22
18: ; preds = %10
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = call i32 @PollIn1(i32 noundef %19, i32 noundef %20)
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %18, %16, %9
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @pollPipe(i32 noundef, i32 noundef) #1
declare i32 @PollIn1(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/tmp825y59zs.c'
source_filename = "/tmp/tmp825y59zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @q2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %28, %1
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %31
17: ; preds = %9
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 32
br i1 %24, label %25, label %28
25: ; preds = %17
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 2
store i32 %27, ptr %5, align 4
br label %28
28: ; preds = %25, %17
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
br label %9, !llvm.loop !6
31: ; preds = %9
%32 = load i32, ptr %5, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load ptr, ptr %2, align 8
%36 = call i32 @printf(ptr noundef @.str, ptr noundef %35)
br label %100
37: ; preds = %31
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %38, %39
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %3, align 4
%42 = sub nsw i32 %41, 1
store i32 %42, ptr %6, align 4
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 0, ptr %46, align 1
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %92, %37
%50 = load i32, ptr %4, align 4
%51 = icmp sge i32 %50, 0
br i1 %51, label %52, label %97
52: ; preds = %49
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %57
56: ; preds = %52
br label %97
57: ; preds = %52
%58 = load ptr, ptr %2, align 8
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 32
br i1 %64, label %65, label %82
65: ; preds = %57
%66 = load ptr, ptr %2, align 8
%67 = load i32, ptr %4, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
store i8 48, ptr %69, align 1
%70 = load i32, ptr %4, align 4
%71 = add nsw i32 %70, -1
store i32 %71, ptr %4, align 4
%72 = load ptr, ptr %2, align 8
%73 = load i32, ptr %4, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
store i8 50, ptr %75, align 1
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, -1
store i32 %77, ptr %4, align 4
%78 = load ptr, ptr %2, align 8
%79 = load i32, ptr %4, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
store i8 37, ptr %81, align 1
br label %92
82: ; preds = %57
%83 = load ptr, ptr %2, align 8
%84 = load i32, ptr %6, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i8, ptr %86, align 1
%88 = load ptr, ptr %2, align 8
%89 = load i32, ptr %4, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
store i8 %87, ptr %91, align 1
br label %92
92: ; preds = %82, %65
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, -1
store i32 %94, ptr %6, align 4
%95 = load i32, ptr %4, align 4
%96 = add nsw i32 %95, -1
store i32 %96, ptr %4, align 4
br label %49, !llvm.loop !8
97: ; preds = %56, %49
%98 = load ptr, ptr %2, align 8
%99 = call i32 @printf(ptr noundef @.str, ptr noundef %98)
br label %100
100: ; preds = %97, %34
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp825y59zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @q2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %27
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %24, label %27
24: ; preds = %16
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 2
store i32 %26, ptr %5, align 4
br label %27
27: ; preds = %24, %16
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %37
37: ; preds = %._crit_edge, %1
%38 = load i32, ptr %5, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load ptr, ptr %2, align 8
%42 = call i32 @printf(ptr noundef @.str, ptr noundef %41)
br label %107
43: ; preds = %37
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %44, %45
store i32 %46, ptr %4, align 4
%47 = load i32, ptr %3, align 4
%48 = sub nsw i32 %47, 1
store i32 %48, ptr %6, align 4
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
store i8 0, ptr %52, align 1
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp sge i32 %55, 0
br i1 %56, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %43
br label %57
57: ; preds = %.lr.ph2, %97
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp eq i32 %58, %59
br i1 %60, label %61, label %62
61: ; preds = %57
br label %104
62: ; preds = %57
%63 = load ptr, ptr %2, align 8
%64 = load i32, ptr %6, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp eq i32 %68, 32
br i1 %69, label %70, label %87
70: ; preds = %62
%71 = load ptr, ptr %2, align 8
%72 = load i32, ptr %4, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
store i8 48, ptr %74, align 1
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, -1
store i32 %76, ptr %4, align 4
%77 = load ptr, ptr %2, align 8
%78 = load i32, ptr %4, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
store i8 50, ptr %80, align 1
%81 = load i32, ptr %4, align 4
%82 = add nsw i32 %81, -1
store i32 %82, ptr %4, align 4
%83 = load ptr, ptr %2, align 8
%84 = load i32, ptr %4, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
store i8 37, ptr %86, align 1
br label %97
87: ; preds = %62
%88 = load ptr, ptr %2, align 8
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
%92 = load i8, ptr %91, align 1
%93 = load ptr, ptr %2, align 8
%94 = load i32, ptr %4, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %93, i64 %95
store i8 %92, ptr %96, align 1
br label %97
97: ; preds = %87, %70
%98 = load i32, ptr %6, align 4
%99 = add nsw i32 %98, -1
store i32 %99, ptr %6, align 4
%100 = load i32, ptr %4, align 4
%101 = add nsw i32 %100, -1
store i32 %101, ptr %4, align 4
%102 = load i32, ptr %4, align 4
%103 = icmp sge i32 %102, 0
br i1 %103, label %57, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %97
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %43
br label %104
104: ; preds = %.loopexit, %61
%105 = load ptr, ptr %2, align 8
%106 = call i32 @printf(ptr noundef @.str, ptr noundef %105)
br label %107
107: ; preds = %104, %40
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbs4s3a05.c'
source_filename = "/tmp/tmpbs4s3a05.c"
target datalayout = "e-m:e-p270: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/tmpbs4s3a05.c"
target datalayout = "e-m:e-p270: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/tmp1xokyd0g.c'
source_filename = "/tmp/tmp1xokyd0g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Process abort signal.\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Alarm clock.\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"Access to an undefined portion of a memory object.\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"Child process terminated, stopped, or continued.\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"Continue executing, if stopped.\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"Erroneous arithmetic operation.\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"Hangup.\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"Illegal instruction.\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Terminal interrupt signal.\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"Kill (cannot be caught or ignored).\00", align 1
@.str.10 = private unnamed_addr constant [40 x i8] c"Write on a pipe with no one to read it.\00", align 1
@.str.11 = private unnamed_addr constant [22 x i8] c"Terminal quit signal.\00", align 1
@.str.12 = private unnamed_addr constant [26 x i8] c"Invalid memory reference.\00", align 1
@.str.13 = private unnamed_addr constant [46 x i8] c"Stop executing (cannot be caught or ignored).\00", align 1
@.str.14 = private unnamed_addr constant [20 x i8] c"Termination signal.\00", align 1
@.str.15 = private unnamed_addr constant [22 x i8] c"Terminal stop signal.\00", align 1
@.str.16 = private unnamed_addr constant [36 x i8] c"Background process attempting read.\00", align 1
@.str.17 = private unnamed_addr constant [37 x i8] c"Background process attempting write.\00", align 1
@.str.18 = private unnamed_addr constant [23 x i8] c"User-defined signal 1.\00", align 1
@.str.19 = private unnamed_addr constant [23 x i8] c"User-defined signal 2.\00", align 1
@.str.20 = private unnamed_addr constant [16 x i8] c"Pollable event.\00", align 1
@.str.21 = private unnamed_addr constant [25 x i8] c"Profiling timer expired.\00", align 1
@.str.22 = private unnamed_addr constant [17 x i8] c"Bad system call.\00", align 1
@.str.23 = private unnamed_addr constant [23 x i8] c"Trace/breakpoint trap.\00", align 1
@.str.24 = private unnamed_addr constant [46 x i8] c"High bandwidth data is available at a socket.\00", align 1
@.str.25 = private unnamed_addr constant [23 x i8] c"Virtual timer expired.\00", align 1
@.str.26 = private unnamed_addr constant [25 x i8] c"CPU time limit exceeded.\00", align 1
@.str.27 = private unnamed_addr constant [26 x i8] c"File size limit exceeded.\00", align 1
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.28 = private unnamed_addr constant [16 x i8] c"Unknown signal.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strsignal(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %33 [
i32 155, label %5
i32 154, label %6
i32 153, label %7
i32 152, label %8
i32 151, label %9
i32 150, label %10
i32 149, label %11
i32 148, label %12
i32 147, label %13
i32 146, label %14
i32 145, label %15
i32 142, label %16
i32 141, label %17
i32 140, label %18
i32 138, label %19
i32 136, label %20
i32 135, label %21
i32 134, label %22
i32 132, label %23
i32 131, label %24
i32 144, label %25
i32 143, label %26
i32 139, label %27
i32 137, label %28
i32 133, label %29
i32 130, label %30
i32 129, label %31
i32 128, label %32
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %35
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %35
7: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %35
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %35
9: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %35
10: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %35
11: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %35
12: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %35
13: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %35
14: ; preds = %1
store ptr @.str.9, ptr %2, align 8
br label %35
15: ; preds = %1
store ptr @.str.10, ptr %2, align 8
br label %35
16: ; preds = %1
store ptr @.str.11, ptr %2, align 8
br label %35
17: ; preds = %1
store ptr @.str.12, ptr %2, align 8
br label %35
18: ; preds = %1
store ptr @.str.13, ptr %2, align 8
br label %35
19: ; preds = %1
store ptr @.str.14, ptr %2, align 8
br label %35
20: ; preds = %1
store ptr @.str.15, ptr %2, align 8
br label %35
21: ; preds = %1
store ptr @.str.16, ptr %2, align 8
br label %35
22: ; preds = %1
store ptr @.str.17, ptr %2, align 8
br label %35
23: ; preds = %1
store ptr @.str.18, ptr %2, align 8
br label %35
24: ; preds = %1
store ptr @.str.19, ptr %2, align 8
br label %35
25: ; preds = %1
store ptr @.str.20, ptr %2, align 8
br label %35
26: ; preds = %1
store ptr @.str.21, ptr %2, align 8
br label %35
27: ; preds = %1
store ptr @.str.22, ptr %2, align 8
br label %35
28: ; preds = %1
store ptr @.str.23, ptr %2, align 8
br label %35
29: ; preds = %1
store ptr @.str.24, ptr %2, align 8
br label %35
30: ; preds = %1
store ptr @.str.25, ptr %2, align 8
br label %35
31: ; preds = %1
store ptr @.str.26, ptr %2, align 8
br label %35
32: ; preds = %1
store ptr @.str.27, ptr %2, align 8
br label %35
33: ; preds = %1
%34 = load i32, ptr @EINVAL, align 4
store i32 %34, ptr @errno, align 4
store ptr @.str.28, ptr %2, align 8
br label %35
35: ; preds = %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%36 = load ptr, ptr %2, align 8
ret ptr %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1xokyd0g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Process abort signal.\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Alarm clock.\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"Access to an undefined portion of a memory object.\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"Child process terminated, stopped, or continued.\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"Continue executing, if stopped.\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"Erroneous arithmetic operation.\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"Hangup.\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"Illegal instruction.\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Terminal interrupt signal.\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"Kill (cannot be caught or ignored).\00", align 1
@.str.10 = private unnamed_addr constant [40 x i8] c"Write on a pipe with no one to read it.\00", align 1
@.str.11 = private unnamed_addr constant [22 x i8] c"Terminal quit signal.\00", align 1
@.str.12 = private unnamed_addr constant [26 x i8] c"Invalid memory reference.\00", align 1
@.str.13 = private unnamed_addr constant [46 x i8] c"Stop executing (cannot be caught or ignored).\00", align 1
@.str.14 = private unnamed_addr constant [20 x i8] c"Termination signal.\00", align 1
@.str.15 = private unnamed_addr constant [22 x i8] c"Terminal stop signal.\00", align 1
@.str.16 = private unnamed_addr constant [36 x i8] c"Background process attempting read.\00", align 1
@.str.17 = private unnamed_addr constant [37 x i8] c"Background process attempting write.\00", align 1
@.str.18 = private unnamed_addr constant [23 x i8] c"User-defined signal 1.\00", align 1
@.str.19 = private unnamed_addr constant [23 x i8] c"User-defined signal 2.\00", align 1
@.str.20 = private unnamed_addr constant [16 x i8] c"Pollable event.\00", align 1
@.str.21 = private unnamed_addr constant [25 x i8] c"Profiling timer expired.\00", align 1
@.str.22 = private unnamed_addr constant [17 x i8] c"Bad system call.\00", align 1
@.str.23 = private unnamed_addr constant [23 x i8] c"Trace/breakpoint trap.\00", align 1
@.str.24 = private unnamed_addr constant [46 x i8] c"High bandwidth data is available at a socket.\00", align 1
@.str.25 = private unnamed_addr constant [23 x i8] c"Virtual timer expired.\00", align 1
@.str.26 = private unnamed_addr constant [25 x i8] c"CPU time limit exceeded.\00", align 1
@.str.27 = private unnamed_addr constant [26 x i8] c"File size limit exceeded.\00", align 1
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.28 = private unnamed_addr constant [16 x i8] c"Unknown signal.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strsignal(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %33 [
i32 155, label %5
i32 154, label %6
i32 153, label %7
i32 152, label %8
i32 151, label %9
i32 150, label %10
i32 149, label %11
i32 148, label %12
i32 147, label %13
i32 146, label %14
i32 145, label %15
i32 142, label %16
i32 141, label %17
i32 140, label %18
i32 138, label %19
i32 136, label %20
i32 135, label %21
i32 134, label %22
i32 132, label %23
i32 131, label %24
i32 144, label %25
i32 143, label %26
i32 139, label %27
i32 137, label %28
i32 133, label %29
i32 130, label %30
i32 129, label %31
i32 128, label %32
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %35
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %35
7: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %35
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %35
9: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %35
10: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %35
11: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %35
12: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %35
13: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %35
14: ; preds = %1
store ptr @.str.9, ptr %2, align 8
br label %35
15: ; preds = %1
store ptr @.str.10, ptr %2, align 8
br label %35
16: ; preds = %1
store ptr @.str.11, ptr %2, align 8
br label %35
17: ; preds = %1
store ptr @.str.12, ptr %2, align 8
br label %35
18: ; preds = %1
store ptr @.str.13, ptr %2, align 8
br label %35
19: ; preds = %1
store ptr @.str.14, ptr %2, align 8
br label %35
20: ; preds = %1
store ptr @.str.15, ptr %2, align 8
br label %35
21: ; preds = %1
store ptr @.str.16, ptr %2, align 8
br label %35
22: ; preds = %1
store ptr @.str.17, ptr %2, align 8
br label %35
23: ; preds = %1
store ptr @.str.18, ptr %2, align 8
br label %35
24: ; preds = %1
store ptr @.str.19, ptr %2, align 8
br label %35
25: ; preds = %1
store ptr @.str.20, ptr %2, align 8
br label %35
26: ; preds = %1
store ptr @.str.21, ptr %2, align 8
br label %35
27: ; preds = %1
store ptr @.str.22, ptr %2, align 8
br label %35
28: ; preds = %1
store ptr @.str.23, ptr %2, align 8
br label %35
29: ; preds = %1
store ptr @.str.24, ptr %2, align 8
br label %35
30: ; preds = %1
store ptr @.str.25, ptr %2, align 8
br label %35
31: ; preds = %1
store ptr @.str.26, ptr %2, align 8
br label %35
32: ; preds = %1
store ptr @.str.27, ptr %2, align 8
br label %35
33: ; preds = %1
%34 = load i32, ptr @EINVAL, align 4
store i32 %34, ptr @errno, align 4
store ptr @.str.28, ptr %2, align 8
br label %35
35: ; preds = %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%36 = load ptr, ptr %2, align 8
ret ptr %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6otyjnwa.c'
source_filename = "/tmp/tmp6otyjnwa.c"
target datalayout = "e-m:e-p270: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/tmp6otyjnwa.c"
target datalayout = "e-m:e-p270: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/tmp9i52cntt.c'
source_filename = "/tmp/tmp9i52cntt.c"
target datalayout = "e-m:e-p270: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/tmp9i52cntt.c"
target datalayout = "e-m:e-p270: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/tmpahjuh0wg.c'
source_filename = "/tmp/tmpahjuh0wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CuTestAssertForDb(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @CuFail_Line(ptr noundef null, ptr noundef %7, i32 noundef %8, ptr noundef null, ptr noundef %9)
ret void
}
declare i32 @CuFail_Line(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpahjuh0wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CuTestAssertForDb(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @CuFail_Line(ptr noundef null, ptr noundef %7, i32 noundef %8, ptr noundef null, ptr noundef %9)
ret void
}
declare i32 @CuFail_Line(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphwaxf5t4.c'
source_filename = "/tmp/tmphwaxf5t4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_dobldobl_witness_set_from_file(i32 noundef %0, ptr noundef %1, ptr 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 ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%16 = load i32, ptr %6, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %11, align 8
%19 = alloca i32, i64 %17, align 16
store i64 %17, ptr %12, align 8
store i32 0, ptr %13, align 4
br label %20
20: ; preds = %34, %5
%21 = load i32, ptr %13, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %37
24: ; preds = %20
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %13, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load i32, ptr %13, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %19, i64 %32
store i32 %30, ptr %33, align 4
br label %34
34: ; preds = %24
%35 = load i32, ptr %13, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %13, align 4
br label %20, !llvm.loop !6
37: ; preds = %20
%38 = load i32, ptr %6, align 4
%39 = load ptr, ptr %8, align 8
store i32 %38, ptr %39, align 4
%40 = load ptr, ptr %8, align 8
%41 = load ptr, ptr %15, align 8
%42 = call i32 @_ada_use_c2phc(i32 noundef 654, ptr noundef %40, ptr noundef %19, ptr noundef %41)
store i32 %42, ptr %14, align 4
%43 = getelementptr inbounds i32, ptr %19, i64 0
%44 = load i32, ptr %43, align 16
%45 = load ptr, ptr %9, align 8
store i32 %44, ptr %45, align 4
%46 = getelementptr inbounds i32, ptr %19, i64 1
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %10, align 8
store i32 %47, ptr %48, align 4
%49 = load i32, ptr %14, align 4
%50 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %50)
ret i32 %49
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphwaxf5t4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_dobldobl_witness_set_from_file(i32 noundef %0, ptr noundef %1, ptr 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 ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%16 = load i32, ptr %6, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %11, align 8
%19 = alloca i32, i64 %17, align 16
store i64 %17, ptr %12, align 8
store i32 0, ptr %13, align 4
%20 = load i32, ptr %13, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %39
.lr.ph: ; preds = %5
br label %23
23: ; preds = %.lr.ph, %33
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %13, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %19, i64 %31
store i32 %29, ptr %32, align 4
br label %33
33: ; preds = %23
%34 = load i32, ptr %13, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %13, align 4
%36 = load i32, ptr %13, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %5
%40 = load i32, ptr %6, align 4
%41 = load ptr, ptr %8, align 8
store i32 %40, ptr %41, align 4
%42 = load ptr, ptr %8, align 8
%43 = load ptr, ptr %15, align 8
%44 = call i32 @_ada_use_c2phc(i32 noundef 654, ptr noundef %42, ptr noundef %19, ptr noundef %43)
store i32 %44, ptr %14, align 4
%45 = getelementptr inbounds i32, ptr %19, i64 0
%46 = load i32, ptr %45, align 16
%47 = load ptr, ptr %9, align 8
store i32 %46, ptr %47, align 4
%48 = getelementptr inbounds i32, ptr %19, i64 1
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %10, align 8
store i32 %49, ptr %50, align 4
%51 = load i32, ptr %14, align 4
%52 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %52)
ret i32 %51
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk9g4evle.c'
source_filename = "/tmp/tmpk9g4evle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @col2im_cpu(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca double, align 8
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %15, align 4
%32 = mul nsw i32 2, %31
%33 = add nsw i32 %30, %32
%34 = load i32, ptr %13, align 4
%35 = sub nsw i32 %33, %34
%36 = load i32, ptr %14, align 4
%37 = sdiv i32 %35, %36
%38 = add nsw i32 %37, 1
store i32 %38, ptr %20, align 4
%39 = load i32, ptr %12, align 4
%40 = load i32, ptr %15, align 4
%41 = mul nsw i32 2, %40
%42 = add nsw i32 %39, %41
%43 = load i32, ptr %13, align 4
%44 = sub nsw i32 %42, %43
%45 = load i32, ptr %14, align 4
%46 = sdiv i32 %44, %45
%47 = add nsw i32 %46, 1
store i32 %47, ptr %21, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %13, align 4
%50 = mul nsw i32 %48, %49
%51 = load i32, ptr %13, align 4
%52 = mul nsw i32 %50, %51
store i32 %52, ptr %22, align 4
store i32 0, ptr %17, align 4
br label %53
53: ; preds = %124, %8
%54 = load i32, ptr %17, align 4
%55 = load i32, ptr %22, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %127
57: ; preds = %53
%58 = load i32, ptr %17, align 4
%59 = load i32, ptr %13, align 4
%60 = srem i32 %58, %59
store i32 %60, ptr %23, align 4
%61 = load i32, ptr %17, align 4
%62 = load i32, ptr %13, align 4
%63 = sdiv i32 %61, %62
%64 = load i32, ptr %13, align 4
%65 = srem i32 %63, %64
store i32 %65, ptr %24, align 4
%66 = load i32, ptr %17, align 4
%67 = load i32, ptr %13, align 4
%68 = sdiv i32 %66, %67
%69 = load i32, ptr %13, align 4
%70 = sdiv i32 %68, %69
store i32 %70, ptr %25, align 4
store i32 0, ptr %18, align 4
br label %71
71: ; preds = %120, %57
%72 = load i32, ptr %18, align 4
%73 = load i32, ptr %20, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %123
75: ; preds = %71
store i32 0, ptr %19, align 4
br label %76
76: ; preds = %116, %75
%77 = load i32, ptr %19, align 4
%78 = load i32, ptr %21, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %119
80: ; preds = %76
%81 = load i32, ptr %24, align 4
%82 = load i32, ptr %18, align 4
%83 = load i32, ptr %14, align 4
%84 = mul nsw i32 %82, %83
%85 = add nsw i32 %81, %84
store i32 %85, ptr %26, align 4
%86 = load i32, ptr %23, align 4
%87 = load i32, ptr %19, align 4
%88 = load i32, ptr %14, align 4
%89 = mul nsw i32 %87, %88
%90 = add nsw i32 %86, %89
store i32 %90, ptr %27, align 4
%91 = load i32, ptr %17, align 4
%92 = load i32, ptr %20, align 4
%93 = mul nsw i32 %91, %92
%94 = load i32, ptr %18, align 4
%95 = add nsw i32 %93, %94
%96 = load i32, ptr %21, align 4
%97 = mul nsw i32 %95, %96
%98 = load i32, ptr %19, align 4
%99 = add nsw i32 %97, %98
store i32 %99, ptr %28, align 4
%100 = load ptr, ptr %9, align 8
%101 = load i32, ptr %28, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds float, ptr %100, i64 %102
%104 = load float, ptr %103, align 4
%105 = fpext float %104 to double
store double %105, ptr %29, align 8
%106 = load ptr, ptr %16, align 8
%107 = load i32, ptr %11, align 4
%108 = load i32, ptr %12, align 4
%109 = load i32, ptr %10, align 4
%110 = load i32, ptr %26, align 4
%111 = load i32, ptr %27, align 4
%112 = load i32, ptr %25, align 4
%113 = load i32, ptr %15, align 4
%114 = load double, ptr %29, align 8
%115 = call i32 @col2im_add_pixel(ptr noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113, double noundef %114)
br label %116
116: ; preds = %80
%117 = load i32, ptr %19, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %19, align 4
br label %76, !llvm.loop !6
119: ; preds = %76
br label %120
120: ; preds = %119
%121 = load i32, ptr %18, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %18, align 4
br label %71, !llvm.loop !8
123: ; preds = %71
br label %124
124: ; preds = %123
%125 = load i32, ptr %17, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %17, align 4
br label %53, !llvm.loop !9
127: ; preds = %53
ret void
}
declare i32 @col2im_add_pixel(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk9g4evle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @col2im_cpu(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca double, align 8
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %15, align 4
%32 = mul nsw i32 2, %31
%33 = add nsw i32 %30, %32
%34 = load i32, ptr %13, align 4
%35 = sub nsw i32 %33, %34
%36 = load i32, ptr %14, align 4
%37 = sdiv i32 %35, %36
%38 = add nsw i32 %37, 1
store i32 %38, ptr %20, align 4
%39 = load i32, ptr %12, align 4
%40 = load i32, ptr %15, align 4
%41 = mul nsw i32 2, %40
%42 = add nsw i32 %39, %41
%43 = load i32, ptr %13, align 4
%44 = sub nsw i32 %42, %43
%45 = load i32, ptr %14, align 4
%46 = sdiv i32 %44, %45
%47 = add nsw i32 %46, 1
store i32 %47, ptr %21, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %13, align 4
%50 = mul nsw i32 %48, %49
%51 = load i32, ptr %13, align 4
%52 = mul nsw i32 %50, %51
store i32 %52, ptr %22, align 4
store i32 0, ptr %17, align 4
%53 = load i32, ptr %17, align 4
%54 = load i32, ptr %22, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph5, label %133
.lr.ph5: ; preds = %8
br label %56
56: ; preds = %.lr.ph5, %127
%57 = load i32, ptr %17, align 4
%58 = load i32, ptr %13, align 4
%59 = srem i32 %57, %58
store i32 %59, ptr %23, align 4
%60 = load i32, ptr %17, align 4
%61 = load i32, ptr %13, align 4
%62 = sdiv i32 %60, %61
%63 = load i32, ptr %13, align 4
%64 = srem i32 %62, %63
store i32 %64, ptr %24, align 4
%65 = load i32, ptr %17, align 4
%66 = load i32, ptr %13, align 4
%67 = sdiv i32 %65, %66
%68 = load i32, ptr %13, align 4
%69 = sdiv i32 %67, %68
store i32 %69, ptr %25, align 4
store i32 0, ptr %18, align 4
%70 = load i32, ptr %18, align 4
%71 = load i32, ptr %20, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph2, label %126
.lr.ph2: ; preds = %56
br label %73
73: ; preds = %.lr.ph2, %120
store i32 0, ptr %19, align 4
%74 = load i32, ptr %19, align 4
%75 = load i32, ptr %21, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %.lr.ph, label %119
.lr.ph: ; preds = %73
br label %77
77: ; preds = %.lr.ph, %113
%78 = load i32, ptr %24, align 4
%79 = load i32, ptr %18, align 4
%80 = load i32, ptr %14, align 4
%81 = mul nsw i32 %79, %80
%82 = add nsw i32 %78, %81
store i32 %82, ptr %26, align 4
%83 = load i32, ptr %23, align 4
%84 = load i32, ptr %19, align 4
%85 = load i32, ptr %14, align 4
%86 = mul nsw i32 %84, %85
%87 = add nsw i32 %83, %86
store i32 %87, ptr %27, align 4
%88 = load i32, ptr %17, align 4
%89 = load i32, ptr %20, align 4
%90 = mul nsw i32 %88, %89
%91 = load i32, ptr %18, align 4
%92 = add nsw i32 %90, %91
%93 = load i32, ptr %21, align 4
%94 = mul nsw i32 %92, %93
%95 = load i32, ptr %19, align 4
%96 = add nsw i32 %94, %95
store i32 %96, ptr %28, align 4
%97 = load ptr, ptr %9, align 8
%98 = load i32, ptr %28, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds float, ptr %97, i64 %99
%101 = load float, ptr %100, align 4
%102 = fpext float %101 to double
store double %102, ptr %29, align 8
%103 = load ptr, ptr %16, align 8
%104 = load i32, ptr %11, align 4
%105 = load i32, ptr %12, align 4
%106 = load i32, ptr %10, align 4
%107 = load i32, ptr %26, align 4
%108 = load i32, ptr %27, align 4
%109 = load i32, ptr %25, align 4
%110 = load i32, ptr %15, align 4
%111 = load double, ptr %29, align 8
%112 = call i32 @col2im_add_pixel(ptr noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110, double noundef %111)
br label %113
113: ; preds = %77
%114 = load i32, ptr %19, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %19, align 4
%116 = load i32, ptr %19, align 4
%117 = load i32, ptr %21, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %77, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %113
br label %119
119: ; preds = %._crit_edge, %73
br label %120
120: ; preds = %119
%121 = load i32, ptr %18, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %18, align 4
%123 = load i32, ptr %18, align 4
%124 = load i32, ptr %20, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %73, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %120
br label %126
126: ; preds = %._crit_edge3, %56
br label %127
127: ; preds = %126
%128 = load i32, ptr %17, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %17, align 4
%130 = load i32, ptr %17, align 4
%131 = load i32, ptr %22, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %56, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %127
br label %133
133: ; preds = %._crit_edge6, %8
ret void
}
declare i32 @col2im_add_pixel(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpufw0diiu.c'
source_filename = "/tmp/tmpufw0diiu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @udev_device_get_parent_with_subsystem_devtype(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load i32, ptr @EINVAL, align 4
store i32 %14, ptr @errno, align 4
store ptr null, ptr %4, align 8
br label %57
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call ptr @udev_device_get_parent(ptr noundef %16)
store ptr %17, ptr %8, align 8
br label %18
18: ; preds = %47, %15
%19 = load ptr, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %50
21: ; preds = %18
%22 = load ptr, ptr %8, align 8
%23 = call ptr @udev_device_get_subsystem(ptr noundef %22)
store ptr %23, ptr %9, align 8
%24 = load ptr, ptr %9, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %47
26: ; preds = %21
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %6, align 8
%29 = call i64 @strcmp(ptr noundef %27, ptr noundef %28)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %47
31: ; preds = %26
%32 = load ptr, ptr %7, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %35
34: ; preds = %31
br label %50
35: ; preds = %31
%36 = load ptr, ptr %8, align 8
%37 = call ptr @udev_device_get_devtype(ptr noundef %36)
store ptr %37, ptr %10, align 8
%38 = load ptr, ptr %10, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %46
40: ; preds = %35
%41 = load ptr, ptr %10, align 8
%42 = load ptr, ptr %7, align 8
%43 = call i64 @strcmp(ptr noundef %41, ptr noundef %42)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %40
br label %50
46: ; preds = %40, %35
br label %47
47: ; preds = %46, %26, %21
%48 = load ptr, ptr %8, align 8
%49 = call ptr @udev_device_get_parent(ptr noundef %48)
store ptr %49, ptr %8, align 8
br label %18, !llvm.loop !6
50: ; preds = %45, %34, %18
%51 = load ptr, ptr %8, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %55, label %53
53: ; preds = %50
%54 = load i32, ptr @ENOENT, align 4
store i32 %54, ptr @errno, align 4
br label %55
55: ; preds = %53, %50
%56 = load ptr, ptr %8, align 8
store ptr %56, ptr %4, align 8
br label %57
57: ; preds = %55, %13
%58 = load ptr, ptr %4, align 8
ret ptr %58
}
declare ptr @udev_device_get_parent(ptr noundef) #1
declare ptr @udev_device_get_subsystem(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @udev_device_get_devtype(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/tmpufw0diiu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @udev_device_get_parent_with_subsystem_devtype(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load i32, ptr @EINVAL, align 4
store i32 %14, ptr @errno, align 4
store ptr null, ptr %4, align 8
br label %58
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call ptr @udev_device_get_parent(ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %46
%21 = load ptr, ptr %8, align 8
%22 = call ptr @udev_device_get_subsystem(ptr noundef %21)
store ptr %22, ptr %9, align 8
%23 = load ptr, ptr %9, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %46
25: ; preds = %20
%26 = load ptr, ptr %9, align 8
%27 = load ptr, ptr %6, align 8
%28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %46
30: ; preds = %25
%31 = load ptr, ptr %7, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %30
br label %51
34: ; preds = %30
%35 = load ptr, ptr %8, align 8
%36 = call ptr @udev_device_get_devtype(ptr noundef %35)
store ptr %36, ptr %10, align 8
%37 = load ptr, ptr %10, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %45
39: ; preds = %34
%40 = load ptr, ptr %10, align 8
%41 = load ptr, ptr %7, align 8
%42 = call i64 @strcmp(ptr noundef %40, ptr noundef %41)
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %39
br label %51
45: ; preds = %39, %34
br label %46
46: ; preds = %45, %25, %20
%47 = load ptr, ptr %8, align 8
%48 = call ptr @udev_device_get_parent(ptr noundef %47)
store ptr %48, ptr %8, align 8
%49 = load ptr, ptr %8, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %20, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %46
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %15
br label %51
51: ; preds = %.loopexit, %44, %33
%52 = load ptr, ptr %8, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %56, label %54
54: ; preds = %51
%55 = load i32, ptr @ENOENT, align 4
store i32 %55, ptr @errno, align 4
br label %56
56: ; preds = %54, %51
%57 = load ptr, ptr %8, align 8
store ptr %57, ptr %4, align 8
br label %58
58: ; preds = %56, %13
%59 = load ptr, ptr %4, align 8
ret ptr %59
}
declare ptr @udev_device_get_parent(ptr noundef) #1
declare ptr @udev_device_get_subsystem(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @udev_device_get_devtype(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/tmp3o0nzi6s.c'
source_filename = "/tmp/tmp3o0nzi6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hello_verilog() #0 {
%1 = call i32 @io_printf(ptr noundef @.str)
ret i32 0
}
declare i32 @io_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/tmp3o0nzi6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hello_verilog() #0 {
%1 = call i32 @io_printf(ptr noundef @.str)
ret i32 0
}
declare i32 @io_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/tmpmvoxv4j5.c'
source_filename = "/tmp/tmpmvoxv4j5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @world_strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @strdup(ptr noundef %9)
store ptr %10, ptr %5, align 8
store ptr %10, ptr %7, align 8
br label %11
11: ; preds = %22, %2
%12 = load ptr, ptr %7, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %11
%16 = load ptr, ptr %7, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 44
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = load ptr, ptr %7, align 8
store i8 46, ptr %21, align 1
br label %22
22: ; preds = %20, %15
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %7, align 8
br label %11, !llvm.loop !6
25: ; preds = %11
%26 = load ptr, ptr %5, align 8
%27 = call double @strtod(ptr noundef %26, ptr noundef %6)
store double %27, ptr %8, align 8
%28 = load ptr, ptr %4, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %4, align 8
store ptr %31, ptr %32, align 8
br label %33
33: ; preds = %30, %25
%34 = load double, ptr %8, align 8
ret double %34
}
declare ptr @strdup(ptr noundef) #1
declare double @strtod(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmvoxv4j5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @world_strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @strdup(ptr noundef %9)
store ptr %10, ptr %5, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %21
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 44
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = load ptr, ptr %7, align 8
store i8 46, ptr %20, align 1
br label %21
21: ; preds = %19, %14
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
%28 = load ptr, ptr %5, align 8
%29 = call double @strtod(ptr noundef %28, ptr noundef %6)
store double %29, ptr %8, align 8
%30 = load ptr, ptr %4, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %4, align 8
store ptr %33, ptr %34, align 8
br label %35
35: ; preds = %32, %27
%36 = load double, ptr %8, align 8
ret double %36
}
declare ptr @strdup(ptr noundef) #1
declare double @strtod(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpl3x2ikzt.c'
source_filename = "/tmp/tmpl3x2ikzt.c"
target datalayout = "e-m:e-p270: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 [85 x i8] c"** <%s> cannot be used with '%c' (only use '%c' in %%define or %%generate commands)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @dlookup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @counterName(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i8 noundef signext 35, i8 noundef signext 35)
br label %10
10: ; preds = %6, %1
%11 = load ptr, ptr %2, align 8
%12 = call ptr @rawlookup(ptr noundef %11)
ret ptr %12
}
declare i64 @counterName(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1
declare ptr @rawlookup(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/tmpl3x2ikzt.c"
target datalayout = "e-m:e-p270: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 [85 x i8] c"** <%s> cannot be used with '%c' (only use '%c' in %%define or %%generate commands)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @dlookup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @counterName(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i8 noundef signext 35, i8 noundef signext 35)
br label %10
10: ; preds = %6, %1
%11 = load ptr, ptr %2, align 8
%12 = call ptr @rawlookup(ptr noundef %11)
ret ptr %12
}
declare i64 @counterName(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1
declare ptr @rawlookup(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/tmpozfhp56n.c'
source_filename = "/tmp/tmpozfhp56n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_COLLECT_DATA = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpozfhp56n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_COLLECT_DATA = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmjxbhumc.c'
source_filename = "/tmp/tmpmjxbhumc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %2, %0
%3 = call i32 @printf(ptr noundef @.str)
br label %2
}
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/tmpmjxbhumc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %2, %0
%3 = call i32 @printf(ptr noundef @.str)
br label %2
}
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/tmpy71qgwev.c'
source_filename = "/tmp/tmpy71qgwev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_gyro_degrees() #0 {
%1 = call i32 (...) @get_gyro()
%2 = call float @gyro_ticks_to_degrees(i32 noundef %1)
ret float %2
}
declare float @gyro_ticks_to_degrees(i32 noundef) #1
declare i32 @get_gyro(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy71qgwev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_gyro_degrees() #0 {
%1 = call i32 (...) @get_gyro()
%2 = call float @gyro_ticks_to_degrees(i32 noundef %1)
ret float %2
}
declare float @gyro_ticks_to_degrees(i32 noundef) #1
declare i32 @get_gyro(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqph9jxt1.c'
source_filename = "/tmp/tmpqph9jxt1.c"
target datalayout = "e-m:e-p270: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/tmpqph9jxt1.c"
target datalayout = "e-m:e-p270: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/tmplxnj9n1q.c'
source_filename = "/tmp/tmplxnj9n1q.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Erro ao abrir o arquivo\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"%8s%12s%19s\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Elemento\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Valor\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"Ocorr\C3\AAncias\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"%8d%4c%5x%13d\0A\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"\0A%8s%13d\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"Total\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [256 x i32], align 16
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %100
19: ; preds = %2
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %27, %19
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 256
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %25
store i32 0, ptr %26, align 4
br label %27
27: ; preds = %23
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
br label %20, !llvm.loop !6
30: ; preds = %20
%31 = load ptr, ptr %6, align 8
%32 = call i32 @getc(ptr noundef %31)
store i32 %32, ptr %8, align 4
br label %33
33: ; preds = %54, %30
%34 = load i32, ptr %8, align 4
%35 = icmp ne i32 %34, -1
br i1 %35, label %36, label %57
36: ; preds = %33
store i32 0, ptr %7, align 4
br label %37
37: ; preds = %51, %36
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %38, 256
br i1 %39, label %40, label %54
40: ; preds = %37
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp eq i32 %41, %42
br i1 %43, label %44, label %50
44: ; preds = %40
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %47, align 4
br label %50
50: ; preds = %44, %40
br label %51
51: ; preds = %50
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %37, !llvm.loop !8
54: ; preds = %37
%55 = load ptr, ptr %6, align 8
%56 = call i32 @getc(ptr noundef %55)
store i32 %56, ptr %8, align 4
br label %33, !llvm.loop !9
57: ; preds = %33
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5)
store i32 11, ptr %7, align 4
br label %59
59: ; preds = %78, %57
%60 = load i32, ptr %7, align 4
%61 = icmp slt i32 %60, 256
br i1 %61, label %62, label %81
62: ; preds = %59
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %77
68: ; preds = %62
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %75)
br label %77
77: ; preds = %68, %62
br label %78
78: ; preds = %77
%79 = load i32, ptr %7, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %7, align 4
br label %59, !llvm.loop !10
81: ; preds = %59
store i32 0, ptr %7, align 4
br label %82
82: ; preds = %92, %81
%83 = load i32, ptr %7, align 4
%84 = icmp slt i32 %83, 256
br i1 %84, label %85, label %95
85: ; preds = %82
%86 = load i32, ptr %7, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, %89
store i32 %91, ptr %10, align 4
br label %92
92: ; preds = %85
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
br label %82, !llvm.loop !11
95: ; preds = %82
%96 = load i32, ptr %10, align 4
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef %96)
%98 = load ptr, ptr %6, align 8
%99 = call i32 @fclose(ptr noundef %98)
br label %100
100: ; preds = %95, %17
%101 = load i32, ptr %3, align 4
ret i32 %101
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getc(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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplxnj9n1q.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Erro ao abrir o arquivo\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"%8s%12s%19s\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Elemento\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Valor\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"Ocorr\C3\AAncias\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"%8d%4c%5x%13d\0A\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"\0A%8s%13d\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"Total\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [256 x i32], align 16
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %105
19: ; preds = %2
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 256
br i1 %21, label %.lr.ph, label %31
.lr.ph: ; preds = %19
br label %22
22: ; preds = %.lr.ph, %26
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %24
store i32 0, ptr %25, align 4
br label %26
26: ; preds = %22
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %29, 256
br i1 %30, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %19
%32 = load ptr, ptr %6, align 8
%33 = call i32 @getc(ptr noundef %32)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp ne i32 %34, -1
br i1 %35, label %.lr.ph5, label %60
.lr.ph5: ; preds = %31
br label %36
36: ; preds = %.lr.ph5, %55
store i32 0, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %37, 256
br i1 %38, label %.lr.ph2, label %55
.lr.ph2: ; preds = %36
br label %39
39: ; preds = %.lr.ph2, %50
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %46, align 4
br label %49
49: ; preds = %43, %39
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %53, 256
br i1 %54, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %55
55: ; preds = %._crit_edge3, %36
%56 = load ptr, ptr %6, align 8
%57 = call i32 @getc(ptr noundef %56)
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp ne i32 %58, -1
br i1 %59, label %36, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %55
br label %60
60: ; preds = %._crit_edge6, %31
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5)
store i32 11, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp slt i32 %62, 256
br i1 %63, label %.lr.ph8, label %85
.lr.ph8: ; preds = %60
br label %64
64: ; preds = %.lr.ph8, %80
%65 = load i32, ptr %7, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %79
70: ; preds = %64
%71 = load i32, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %77)
br label %79
79: ; preds = %70, %64
br label %80
80: ; preds = %79
%81 = load i32, ptr %7, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %7, align 4
%83 = load i32, ptr %7, align 4
%84 = icmp slt i32 %83, 256
br i1 %84, label %64, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %80
br label %85
85: ; preds = %._crit_edge9, %60
store i32 0, ptr %7, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp slt i32 %86, 256
br i1 %87, label %.lr.ph11, label %100
.lr.ph11: ; preds = %85
br label %88
88: ; preds = %.lr.ph11, %95
%89 = load i32, ptr %7, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [256 x i32], ptr %9, i64 0, i64 %90
%92 = load i32, ptr %91, align 4
%93 = load i32, ptr %10, align 4
%94 = add nsw i32 %93, %92
store i32 %94, ptr %10, align 4
br label %95
95: ; preds = %88
%96 = load i32, ptr %7, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %7, align 4
%98 = load i32, ptr %7, align 4
%99 = icmp slt i32 %98, 256
br i1 %99, label %88, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %95
br label %100
100: ; preds = %._crit_edge12, %85
%101 = load i32, ptr %10, align 4
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef %101)
%103 = load ptr, ptr %6, align 8
%104 = call i32 @fclose(ptr noundef %103)
br label %105
105: ; preds = %100, %17
%106 = load i32, ptr %3, align 4
ret i32 %106
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getc(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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpy8lwtok3.c'
source_filename = "/tmp/tmpy8lwtok3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @julian_day(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, double noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store double %6, ptr %14, align 8
%18 = load i32, ptr %10, align 4
%19 = sitofp i32 %18 to double
%20 = load i32, ptr %11, align 4
%21 = sitofp i32 %20 to double
%22 = load double, ptr %14, align 8
%23 = fsub double %21, %22
%24 = load i32, ptr %12, align 4
%25 = sitofp i32 %24 to double
%26 = load i32, ptr %13, align 4
%27 = sitofp i32 %26 to double
%28 = fdiv double %27, 6.000000e+01
%29 = fadd double %25, %28
%30 = fdiv double %29, 6.000000e+01
%31 = fadd double %23, %30
%32 = fdiv double %31, 2.400000e+01
%33 = fadd double %19, %32
store double %33, ptr %15, align 8
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %34, 3
br i1 %35, label %36, label %41
36: ; preds = %7
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 12
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %8, align 4
br label %41
41: ; preds = %36, %7
%42 = load i32, ptr %8, align 4
%43 = sitofp i32 %42 to double
%44 = fadd double %43, 4.716000e+03
%45 = fmul double 3.652500e+02, %44
%46 = call double @llvm.floor.f64(double %45)
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
%49 = sitofp i32 %48 to double
%50 = fmul double 3.060010e+01, %49
%51 = call double @llvm.floor.f64(double %50)
%52 = fadd double %46, %51
%53 = load double, ptr %15, align 8
%54 = fadd double %52, %53
%55 = fsub double %54, 1.524500e+03
store double %55, ptr %16, align 8
%56 = load double, ptr %16, align 8
%57 = fcmp ogt double %56, 2.299160e+06
br i1 %57, label %58, label %71
58: ; preds = %41
%59 = load i32, ptr %8, align 4
%60 = sdiv i32 %59, 100
%61 = sitofp i32 %60 to double
%62 = call double @llvm.floor.f64(double %61)
store double %62, ptr %17, align 8
%63 = load double, ptr %17, align 8
%64 = fsub double 2.000000e+00, %63
%65 = load double, ptr %17, align 8
%66 = fdiv double %65, 4.000000e+00
%67 = call double @llvm.floor.f64(double %66)
%68 = fadd double %64, %67
%69 = load double, ptr %16, align 8
%70 = fadd double %69, %68
store double %70, ptr %16, align 8
br label %71
71: ; preds = %58, %41
%72 = load double, ptr %16, align 8
ret double %72
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy8lwtok3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @julian_day(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, double noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store double %6, ptr %14, align 8
%18 = load i32, ptr %10, align 4
%19 = sitofp i32 %18 to double
%20 = load i32, ptr %11, align 4
%21 = sitofp i32 %20 to double
%22 = load double, ptr %14, align 8
%23 = fsub double %21, %22
%24 = load i32, ptr %12, align 4
%25 = sitofp i32 %24 to double
%26 = load i32, ptr %13, align 4
%27 = sitofp i32 %26 to double
%28 = fdiv double %27, 6.000000e+01
%29 = fadd double %25, %28
%30 = fdiv double %29, 6.000000e+01
%31 = fadd double %23, %30
%32 = fdiv double %31, 2.400000e+01
%33 = fadd double %19, %32
store double %33, ptr %15, align 8
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %34, 3
br i1 %35, label %36, label %41
36: ; preds = %7
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 12
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %8, align 4
br label %41
41: ; preds = %36, %7
%42 = load i32, ptr %8, align 4
%43 = sitofp i32 %42 to double
%44 = fadd double %43, 4.716000e+03
%45 = fmul double 3.652500e+02, %44
%46 = call double @llvm.floor.f64(double %45)
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
%49 = sitofp i32 %48 to double
%50 = fmul double 3.060010e+01, %49
%51 = call double @llvm.floor.f64(double %50)
%52 = fadd double %46, %51
%53 = load double, ptr %15, align 8
%54 = fadd double %52, %53
%55 = fsub double %54, 1.524500e+03
store double %55, ptr %16, align 8
%56 = load double, ptr %16, align 8
%57 = fcmp ogt double %56, 2.299160e+06
br i1 %57, label %58, label %71
58: ; preds = %41
%59 = load i32, ptr %8, align 4
%60 = sdiv i32 %59, 100
%61 = sitofp i32 %60 to double
%62 = call double @llvm.floor.f64(double %61)
store double %62, ptr %17, align 8
%63 = load double, ptr %17, align 8
%64 = fsub double 2.000000e+00, %63
%65 = load double, ptr %17, align 8
%66 = fdiv double %65, 4.000000e+00
%67 = call double @llvm.floor.f64(double %66)
%68 = fadd double %64, %67
%69 = load double, ptr %16, align 8
%70 = fadd double %69, %68
store double %70, ptr %16, align 8
br label %71
71: ; preds = %58, %41
%72 = load double, ptr %16, align 8
ret double %72
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3_586o_z.c'
source_filename = "/tmp/tmp3_586o_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"haml\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" %element\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"element\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%element\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c" .class\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"element_class\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c".class\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c" #id\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"element_id\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"#id\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_haml_comment_entities() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3)
%3 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.4)
%4 = call i32 @test_parser_verify_entity(i32 noundef %3, ptr noundef @.str.5, ptr noundef @.str.6)
%5 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.7)
%6 = call i32 @test_parser_verify_entity(i32 noundef %5, ptr noundef @.str.8, ptr noundef @.str.9)
ret void
}
declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @test_parser_sourcefile(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/tmp3_586o_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"haml\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" %element\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"element\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%element\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c" .class\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"element_class\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c".class\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c" #id\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"element_id\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"#id\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_haml_comment_entities() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3)
%3 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.4)
%4 = call i32 @test_parser_verify_entity(i32 noundef %3, ptr noundef @.str.5, ptr noundef @.str.6)
%5 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.7)
%6 = call i32 @test_parser_verify_entity(i32 noundef %5, ptr noundef @.str.8, ptr noundef @.str.9)
ret void
}
declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @test_parser_sourcefile(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/tmpdcw_ph7f.c'
source_filename = "/tmp/tmpdcw_ph7f.c"
target datalayout = "e-m:e-p270: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/tmpdcw_ph7f.c"
target datalayout = "e-m:e-p270: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/tmp2v8bj04k.c'
source_filename = "/tmp/tmp2v8bj04k.c"
target datalayout = "e-m:e-p270: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"%-40s: \00", align 1
@stdout = dso_local global i32 0, align 4
@M_PI = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [17 x i8] c"%0.3f s (%0.2f)\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%0.3f s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @mesure(ptr noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fflush(i32 noundef %13)
%15 = call double (...) @get_time()
store double %15, ptr %7, align 8
%16 = load double, ptr @M_PI, align 8
%17 = fneg double %16
%18 = fdiv double %17, 2.000000e+00
store double %18, ptr %9, align 8
br label %19
19: ; preds = %28, %3
%20 = load double, ptr %9, align 8
%21 = load double, ptr @M_PI, align 8
%22 = fdiv double %21, 2.000000e+00
%23 = fcmp olt double %20, %22
br i1 %23, label %24, label %33
24: ; preds = %19
%25 = load ptr, ptr %6, align 8
%26 = load double, ptr %9, align 8
%27 = call double %25(double noundef %26)
br label %28
28: ; preds = %24
%29 = load double, ptr @M_PI, align 8
%30 = fdiv double %29, 1.000000e+07
%31 = load double, ptr %9, align 8
%32 = fadd double %31, %30
store double %32, ptr %9, align 8
br label %19, !llvm.loop !6
33: ; preds = %19
%34 = call double (...) @get_time()
store double %34, ptr %8, align 8
%35 = load double, ptr %8, align 8
%36 = load double, ptr %7, align 8
%37 = fsub double %35, %36
%38 = fdiv double %37, 1.000000e+06
store double %38, ptr %10, align 8
%39 = load double, ptr %5, align 8
%40 = fcmp ogt double %39, 0.000000e+00
br i1 %40, label %41, label %47
41: ; preds = %33
%42 = load double, ptr %10, align 8
%43 = load double, ptr %5, align 8
%44 = load double, ptr %10, align 8
%45 = fdiv double %43, %44
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %42, double noundef %45)
br label %50
47: ; preds = %33
%48 = load double, ptr %10, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %48)
br label %50
50: ; preds = %47, %41
%51 = load double, ptr %10, align 8
ret double %51
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare double @get_time(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2v8bj04k.c"
target datalayout = "e-m:e-p270: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"%-40s: \00", align 1
@stdout = dso_local global i32 0, align 4
@M_PI = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [17 x i8] c"%0.3f s (%0.2f)\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%0.3f s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @mesure(ptr noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fflush(i32 noundef %13)
%15 = call double (...) @get_time()
store double %15, ptr %7, align 8
%16 = load double, ptr @M_PI, align 8
%17 = fneg double %16
%18 = fdiv double %17, 2.000000e+00
store double %18, ptr %9, align 8
%19 = load double, ptr %9, align 8
%20 = load double, ptr @M_PI, align 8
%21 = fdiv double %20, 2.000000e+00
%22 = fcmp olt double %19, %21
br i1 %22, label %.lr.ph, label %36
.lr.ph: ; preds = %3
br label %23
23: ; preds = %.lr.ph, %27
%24 = load ptr, ptr %6, align 8
%25 = load double, ptr %9, align 8
%26 = call double %24(double noundef %25)
br label %27
27: ; preds = %23
%28 = load double, ptr @M_PI, align 8
%29 = fdiv double %28, 1.000000e+07
%30 = load double, ptr %9, align 8
%31 = fadd double %30, %29
store double %31, ptr %9, align 8
%32 = load double, ptr %9, align 8
%33 = load double, ptr @M_PI, align 8
%34 = fdiv double %33, 2.000000e+00
%35 = fcmp olt double %32, %34
br i1 %35, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %36
36: ; preds = %._crit_edge, %3
%37 = call double (...) @get_time()
store double %37, ptr %8, align 8
%38 = load double, ptr %8, align 8
%39 = load double, ptr %7, align 8
%40 = fsub double %38, %39
%41 = fdiv double %40, 1.000000e+06
store double %41, ptr %10, align 8
%42 = load double, ptr %5, align 8
%43 = fcmp ogt double %42, 0.000000e+00
br i1 %43, label %44, label %50
44: ; preds = %36
%45 = load double, ptr %10, align 8
%46 = load double, ptr %5, align 8
%47 = load double, ptr %10, align 8
%48 = fdiv double %46, %47
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %45, double noundef %48)
br label %53
50: ; preds = %36
%51 = load double, ptr %10, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %51)
br label %53
53: ; preds = %50, %44
%54 = load double, ptr %10, align 8
ret double %54
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare double @get_time(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptlr3nes8.c'
source_filename = "/tmp/tmptlr3nes8.c"
target datalayout = "e-m:e-p270: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/tmptlr3nes8.c"
target datalayout = "e-m:e-p270: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/tmp8tdkhtm0.c'
source_filename = "/tmp/tmp8tdkhtm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\1B[32m ____ __\1B[0m\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"\1B[32m { --.\\ | \1B[31m.)%%%%%%)%%%%\1B[0m\0A\00", align 1
@.str.2 = private unnamed_addr constant [57 x i8] c"\1B[32m '-._\\\\ | (\\___ \1B[31m%%)%%%%(%%%%(%%%%%%\1B[0m\0A\00", align 1
@.str.3 = private unnamed_addr constant [60 x i8] c"\1B[32m `\\\\|{/ ^ _)\1B[31m-%%(%%%%%%%%)%%%%;%%%%%%\1B[0m\0A\00", align 1
@.str.4 = private unnamed_addr constant [60 x i8] c"\1B[32m .'^^^^^^^ /` \1B[31m%%%%)%%%%%%%%)%%%%%%'\1B[0m\0A\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"\1B[32m //\\ ) , / \1B[31m'%%%%%%%%(%%%%'\1B[0m\0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c"\1B[32m, _.'/ `\\<-- \\<\1B[0m\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"\1B[32m `^^^` ^^ ^^);\1B[0m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @erPrintDragon() #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)
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/tmp8tdkhtm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\1B[32m ____ __\1B[0m\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"\1B[32m { --.\\ | \1B[31m.)%%%%%%)%%%%\1B[0m\0A\00", align 1
@.str.2 = private unnamed_addr constant [57 x i8] c"\1B[32m '-._\\\\ | (\\___ \1B[31m%%)%%%%(%%%%(%%%%%%\1B[0m\0A\00", align 1
@.str.3 = private unnamed_addr constant [60 x i8] c"\1B[32m `\\\\|{/ ^ _)\1B[31m-%%(%%%%%%%%)%%%%;%%%%%%\1B[0m\0A\00", align 1
@.str.4 = private unnamed_addr constant [60 x i8] c"\1B[32m .'^^^^^^^ /` \1B[31m%%%%)%%%%%%%%)%%%%%%'\1B[0m\0A\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"\1B[32m //\\ ) , / \1B[31m'%%%%%%%%(%%%%'\1B[0m\0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c"\1B[32m, _.'/ `\\<-- \\<\1B[0m\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"\1B[32m `^^^` ^^ ^^);\1B[0m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @erPrintDragon() #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)
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/tmpuqjf63bx.c'
source_filename = "/tmp/tmpuqjf63bx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"Create4!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ctor4() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuqjf63bx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"Create4!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ctor4() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmper_k71xv.c'
source_filename = "/tmp/tmper_k71xv.c"
target datalayout = "e-m:e-p270: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/tmper_k71xv.c"
target datalayout = "e-m:e-p270: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/tmp9wj1b0zl.c'
source_filename = "/tmp/tmp9wj1b0zl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"in handle_out\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_out(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9wj1b0zl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"in handle_out\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_out(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0md87v9n.c'
source_filename = "/tmp/tmp0md87v9n.c"
target datalayout = "e-m:e-p270: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 [45 x i8] c"error getting current working directory: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"cannot read argv: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"cannot fork: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"_CONTAINERS_USERNS_CONFIGURED\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"init\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"_CONTAINERS_ROOTLESS_UID\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"cannot setns: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"cannot setresgid: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [22 x i8] c"cannot setresuid: %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"cannot chdir: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reexec_userns_join(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [16 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%10 = call i32 (...) @getpid()
store i32 %10, ptr %5, align 4
%11 = call ptr @getcwd(ptr noundef null, i32 noundef 0)
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr @errno, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @_exit(i32 noundef %19) #3
unreachable
21: ; preds = %2
%22 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%23 = call i32 (...) @geteuid()
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, i32 noundef %23)
%25 = load i32, ptr %5, align 4
%26 = call ptr @get_cmd_line_args(i32 noundef %25)
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %36
29: ; preds = %21
%30 = load i32, ptr @stderr, align 4
%31 = load i32, ptr @errno, align 4
%32 = call ptr @strerror(i32 noundef %31)
%33 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2, ptr noundef %32)
%34 = load i32, ptr @EXIT_FAILURE, align 4
%35 = call i32 @_exit(i32 noundef %34) #3
unreachable
36: ; preds = %21
%37 = call i32 (...) @fork()
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %36
%41 = load i32, ptr @stderr, align 4
%42 = load i32, ptr @errno, align 4
%43 = call ptr @strerror(i32 noundef %42)
%44 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.3, ptr noundef %43)
br label %45
45: ; preds = %40, %36
%46 = load i32, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = load i32, ptr %8, align 4
ret i32 %49
50: ; preds = %45
%51 = call i32 @setenv(ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 1)
%52 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%53 = call i32 @setenv(ptr noundef @.str.6, ptr noundef %52, i32 noundef 1)
%54 = load i32, ptr %3, align 4
%55 = call i64 @setns(i32 noundef %54, i32 noundef 0)
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %50
%58 = load i32, ptr @stderr, align 4
%59 = load i32, ptr @errno, align 4
%60 = call ptr @strerror(i32 noundef %59)
%61 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.7, ptr noundef %60)
%62 = load i32, ptr @EXIT_FAILURE, align 4
%63 = call i32 @_exit(i32 noundef %62) #3
unreachable
64: ; preds = %50
%65 = load i32, ptr %3, align 4
%66 = call i32 @close(i32 noundef %65)
%67 = load i32, ptr %4, align 4
%68 = icmp sge i32 %67, 0
br i1 %68, label %69, label %80
69: ; preds = %64
%70 = load i32, ptr %4, align 4
%71 = call i64 @setns(i32 noundef %70, i32 noundef 0)
%72 = icmp slt i64 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %69
%74 = load i32, ptr @stderr, align 4
%75 = load i32, ptr @errno, align 4
%76 = call ptr @strerror(i32 noundef %75)
%77 = call i32 @fprintf(i32 noundef %74, ptr noundef @.str.7, ptr noundef %76)
%78 = load i32, ptr @EXIT_FAILURE, align 4
%79 = call i32 @_exit(i32 noundef %78) #3
unreachable
80: ; preds = %69, %64
%81 = load i32, ptr %3, align 4
%82 = call i32 @close(i32 noundef %81)
%83 = call i64 @syscall_setresgid(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%84 = icmp slt i64 %83, 0
br i1 %84, label %85, label %92
85: ; preds = %80
%86 = load i32, ptr @stderr, align 4
%87 = load i32, ptr @errno, align 4
%88 = call ptr @strerror(i32 noundef %87)
%89 = call i32 @fprintf(i32 noundef %86, ptr noundef @.str.8, ptr noundef %88)
%90 = load i32, ptr @EXIT_FAILURE, align 4
%91 = call i32 @_exit(i32 noundef %90) #3
unreachable
92: ; preds = %80
%93 = call i64 @syscall_setresuid(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%94 = icmp slt i64 %93, 0
br i1 %94, label %95, label %102
95: ; preds = %92
%96 = load i32, ptr @stderr, align 4
%97 = load i32, ptr @errno, align 4
%98 = call ptr @strerror(i32 noundef %97)
%99 = call i32 @fprintf(i32 noundef %96, ptr noundef @.str.9, ptr noundef %98)
%100 = load i32, ptr @EXIT_FAILURE, align 4
%101 = call i32 @_exit(i32 noundef %100) #3
unreachable
102: ; preds = %92
%103 = load ptr, ptr %9, align 8
%104 = call i64 @chdir(ptr noundef %103)
%105 = icmp slt i64 %104, 0
br i1 %105, label %106, label %113
106: ; preds = %102
%107 = load i32, ptr @stderr, align 4
%108 = load i32, ptr @errno, align 4
%109 = call ptr @strerror(i32 noundef %108)
%110 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str.10, ptr noundef %109)
%111 = load i32, ptr @EXIT_FAILURE, align 4
%112 = call i32 @_exit(i32 noundef %111) #3
unreachable
113: ; preds = %102
%114 = load ptr, ptr %9, align 8
%115 = call i32 @free(ptr noundef %114)
%116 = load ptr, ptr %7, align 8
%117 = getelementptr inbounds ptr, ptr %116, i64 0
%118 = load ptr, ptr %117, align 8
%119 = load ptr, ptr %7, align 8
%120 = call i32 @execvp(ptr noundef %118, ptr noundef %119)
%121 = load i32, ptr @EXIT_FAILURE, align 4
%122 = call i32 @_exit(i32 noundef %121) #3
unreachable
}
declare i32 @getpid(...) #1
declare ptr @getcwd(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @geteuid(...) #1
declare ptr @get_cmd_line_args(i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @setns(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @syscall_setresgid(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @syscall_setresuid(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @chdir(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @execvp(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" }
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/tmp0md87v9n.c"
target datalayout = "e-m:e-p270: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 [45 x i8] c"error getting current working directory: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"cannot read argv: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"cannot fork: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"_CONTAINERS_USERNS_CONFIGURED\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"init\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"_CONTAINERS_ROOTLESS_UID\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"cannot setns: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"cannot setresgid: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [22 x i8] c"cannot setresuid: %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"cannot chdir: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reexec_userns_join(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [16 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%10 = call i32 (...) @getpid()
store i32 %10, ptr %5, align 4
%11 = call ptr @getcwd(ptr noundef null, i32 noundef 0)
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr @errno, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @_exit(i32 noundef %19) #3
unreachable
21: ; preds = %2
%22 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%23 = call i32 (...) @geteuid()
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, i32 noundef %23)
%25 = load i32, ptr %5, align 4
%26 = call ptr @get_cmd_line_args(i32 noundef %25)
store ptr %26, ptr %7, align 8
%27 = load ptr, ptr %7, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %36
29: ; preds = %21
%30 = load i32, ptr @stderr, align 4
%31 = load i32, ptr @errno, align 4
%32 = call ptr @strerror(i32 noundef %31)
%33 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2, ptr noundef %32)
%34 = load i32, ptr @EXIT_FAILURE, align 4
%35 = call i32 @_exit(i32 noundef %34) #3
unreachable
36: ; preds = %21
%37 = call i32 (...) @fork()
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %36
%41 = load i32, ptr @stderr, align 4
%42 = load i32, ptr @errno, align 4
%43 = call ptr @strerror(i32 noundef %42)
%44 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.3, ptr noundef %43)
br label %45
45: ; preds = %40, %36
%46 = load i32, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = load i32, ptr %8, align 4
ret i32 %49
50: ; preds = %45
%51 = call i32 @setenv(ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 1)
%52 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%53 = call i32 @setenv(ptr noundef @.str.6, ptr noundef %52, i32 noundef 1)
%54 = load i32, ptr %3, align 4
%55 = call i64 @setns(i32 noundef %54, i32 noundef 0)
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %50
%58 = load i32, ptr @stderr, align 4
%59 = load i32, ptr @errno, align 4
%60 = call ptr @strerror(i32 noundef %59)
%61 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.7, ptr noundef %60)
%62 = load i32, ptr @EXIT_FAILURE, align 4
%63 = call i32 @_exit(i32 noundef %62) #3
unreachable
64: ; preds = %50
%65 = load i32, ptr %3, align 4
%66 = call i32 @close(i32 noundef %65)
%67 = load i32, ptr %4, align 4
%68 = icmp sge i32 %67, 0
br i1 %68, label %69, label %80
69: ; preds = %64
%70 = load i32, ptr %4, align 4
%71 = call i64 @setns(i32 noundef %70, i32 noundef 0)
%72 = icmp slt i64 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %69
%74 = load i32, ptr @stderr, align 4
%75 = load i32, ptr @errno, align 4
%76 = call ptr @strerror(i32 noundef %75)
%77 = call i32 @fprintf(i32 noundef %74, ptr noundef @.str.7, ptr noundef %76)
%78 = load i32, ptr @EXIT_FAILURE, align 4
%79 = call i32 @_exit(i32 noundef %78) #3
unreachable
80: ; preds = %69, %64
%81 = load i32, ptr %3, align 4
%82 = call i32 @close(i32 noundef %81)
%83 = call i64 @syscall_setresgid(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%84 = icmp slt i64 %83, 0
br i1 %84, label %85, label %92
85: ; preds = %80
%86 = load i32, ptr @stderr, align 4
%87 = load i32, ptr @errno, align 4
%88 = call ptr @strerror(i32 noundef %87)
%89 = call i32 @fprintf(i32 noundef %86, ptr noundef @.str.8, ptr noundef %88)
%90 = load i32, ptr @EXIT_FAILURE, align 4
%91 = call i32 @_exit(i32 noundef %90) #3
unreachable
92: ; preds = %80
%93 = call i64 @syscall_setresuid(i32 noundef 0, i32 noundef 0, i32 noundef 0)
%94 = icmp slt i64 %93, 0
br i1 %94, label %95, label %102
95: ; preds = %92
%96 = load i32, ptr @stderr, align 4
%97 = load i32, ptr @errno, align 4
%98 = call ptr @strerror(i32 noundef %97)
%99 = call i32 @fprintf(i32 noundef %96, ptr noundef @.str.9, ptr noundef %98)
%100 = load i32, ptr @EXIT_FAILURE, align 4
%101 = call i32 @_exit(i32 noundef %100) #3
unreachable
102: ; preds = %92
%103 = load ptr, ptr %9, align 8
%104 = call i64 @chdir(ptr noundef %103)
%105 = icmp slt i64 %104, 0
br i1 %105, label %106, label %113
106: ; preds = %102
%107 = load i32, ptr @stderr, align 4
%108 = load i32, ptr @errno, align 4
%109 = call ptr @strerror(i32 noundef %108)
%110 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str.10, ptr noundef %109)
%111 = load i32, ptr @EXIT_FAILURE, align 4
%112 = call i32 @_exit(i32 noundef %111) #3
unreachable
113: ; preds = %102
%114 = load ptr, ptr %9, align 8
%115 = call i32 @free(ptr noundef %114)
%116 = load ptr, ptr %7, align 8
%117 = getelementptr inbounds ptr, ptr %116, i64 0
%118 = load ptr, ptr %117, align 8
%119 = load ptr, ptr %7, align 8
%120 = call i32 @execvp(ptr noundef %118, ptr noundef %119)
%121 = load i32, ptr @EXIT_FAILURE, align 4
%122 = call i32 @_exit(i32 noundef %121) #3
unreachable
}
declare i32 @getpid(...) #1
declare ptr @getcwd(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @geteuid(...) #1
declare ptr @get_cmd_line_args(i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @setns(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @syscall_setresgid(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @syscall_setresuid(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @chdir(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @execvp(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" }
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/tmpozv34wgx.c'
source_filename = "/tmp/tmpozv34wgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fp_cmp.eps = internal constant float 0x3F50624DE0000000, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fp_cmp(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = fsub float %5, %6
%8 = call float @fabs(float noundef %7)
%9 = fcmp ole float %8, 0x3F50624DE0000000
%10 = zext i1 %9 to i32
ret i32 %10
}
declare float @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpozv34wgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fp_cmp.eps = internal constant float 0x3F50624DE0000000, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fp_cmp(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = fsub float %5, %6
%8 = call float @fabs(float noundef %7)
%9 = fcmp ole float %8, 0x3F50624DE0000000
%10 = zext i1 %9 to i32
ret i32 %10
}
declare float @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyhoqpyqf.c'
source_filename = "/tmp/tmpyhoqpyqf.c"
target datalayout = "e-m:e-p270: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"fseek_test_1.asc\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @file_center(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @print_file(ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fclose(ptr noundef %8)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @file_center(ptr noundef) #1
declare i32 @print_file(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyhoqpyqf.c"
target datalayout = "e-m:e-p270: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"fseek_test_1.asc\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @file_center(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @print_file(ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @fclose(ptr noundef %8)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @file_center(ptr noundef) #1
declare i32 @print_file(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4qzh_y81.c'
source_filename = "/tmp/tmp4qzh_y81.c"
target datalayout = "e-m:e-p270: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/tmp4qzh_y81.c"
target datalayout = "e-m:e-p270: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/tmp1u7rk9le.c'
source_filename = "/tmp/tmp1u7rk9le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Error opening rom.\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Error getting size of rom.\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Error creating buffer.\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Error reading rom to buffer.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load_rom(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str.1)
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @exit(i32 noundef %13) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr @SEEK_END, align 4
%18 = call i64 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %5, align 8
%22 = call i32 @ftell(ptr noundef %21)
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %5, align 8
%24 = call i32 @rewind(ptr noundef %23)
br label %29
25: ; preds = %15
%26 = call i32 @perror(ptr noundef @.str.2)
%27 = load i32, ptr @EXIT_FAILURE, align 4
%28 = call i32 @exit(i32 noundef %27) #3
unreachable
29: ; preds = %20
%30 = load i32, ptr %6, align 4
%31 = call ptr @calloc(i32 noundef %30, i32 noundef 1)
%32 = load ptr, ptr %4, align 8
store ptr %31, ptr %32, align 8
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %33, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %29
%37 = call i32 @perror(ptr noundef @.str.3)
%38 = load i32, ptr @EXIT_FAILURE, align 4
%39 = call i32 @exit(i32 noundef %38) #3
unreachable
40: ; preds = %29
%41 = load ptr, ptr %4, align 8
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr %6, align 4
%44 = load ptr, ptr %5, align 8
%45 = call i32 @fread(ptr noundef %42, i32 noundef 1, i32 noundef %43, ptr noundef %44)
%46 = load i32, ptr %6, align 4
%47 = icmp ne i32 %45, %46
br i1 %47, label %48, label %52
48: ; preds = %40
%49 = call i32 @perror(ptr noundef @.str.4)
%50 = load i32, ptr @EXIT_FAILURE, align 4
%51 = call i32 @exit(i32 noundef %50) #3
unreachable
52: ; preds = %40
%53 = load ptr, ptr %5, align 8
%54 = call i32 @fclose(ptr noundef %53)
%55 = load i32, ptr %6, align 4
ret i32 %55
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmp1u7rk9le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Error opening rom.\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Error getting size of rom.\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Error creating buffer.\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Error reading rom to buffer.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load_rom(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = call i32 @perror(ptr noundef @.str.1)
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @exit(i32 noundef %13) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr @SEEK_END, align 4
%18 = call i64 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %5, align 8
%22 = call i32 @ftell(ptr noundef %21)
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %5, align 8
%24 = call i32 @rewind(ptr noundef %23)
br label %29
25: ; preds = %15
%26 = call i32 @perror(ptr noundef @.str.2)
%27 = load i32, ptr @EXIT_FAILURE, align 4
%28 = call i32 @exit(i32 noundef %27) #3
unreachable
29: ; preds = %20
%30 = load i32, ptr %6, align 4
%31 = call ptr @calloc(i32 noundef %30, i32 noundef 1)
%32 = load ptr, ptr %4, align 8
store ptr %31, ptr %32, align 8
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %33, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %29
%37 = call i32 @perror(ptr noundef @.str.3)
%38 = load i32, ptr @EXIT_FAILURE, align 4
%39 = call i32 @exit(i32 noundef %38) #3
unreachable
40: ; preds = %29
%41 = load ptr, ptr %4, align 8
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr %6, align 4
%44 = load ptr, ptr %5, align 8
%45 = call i32 @fread(ptr noundef %42, i32 noundef 1, i32 noundef %43, ptr noundef %44)
%46 = load i32, ptr %6, align 4
%47 = icmp ne i32 %45, %46
br i1 %47, label %48, label %52
48: ; preds = %40
%49 = call i32 @perror(ptr noundef @.str.4)
%50 = load i32, ptr @EXIT_FAILURE, align 4
%51 = call i32 @exit(i32 noundef %50) #3
unreachable
52: ; preds = %40
%53 = load ptr, ptr %5, align 8
%54 = call i32 @fclose(ptr noundef %53)
%55 = load i32, ptr %6, align 4
ret i32 %55
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmpilezwnks.c'
source_filename = "/tmp/tmpilezwnks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [166 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-scan/.libs/lt-fc-scan.c\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"(check_executable): %s\0A\00", align 1
@S_IXUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_executable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @nonempty(ptr noundef %5)
%7 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %10, %1
store i32 0, ptr %2, align 4
br label %29
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
%17 = call i64 @stat(ptr noundef %16, ptr noundef %4)
%18 = icmp sge i64 %17, 0
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr @S_IXUSR, align 4
%23 = or i32 %22, 0
%24 = or i32 %23, 0
%25 = and i32 %21, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %19
store i32 1, ptr %2, align 4
br label %29
28: ; preds = %19, %15
store i32 0, ptr %2, align 4
br label %29
29: ; preds = %28, %27, %14
%30 = load i32, ptr %2, align 4
ret i32 %30
}
declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @nonempty(ptr noundef) #1
declare i64 @stat(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/tmpilezwnks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [166 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sim9108/SDKS/refs/heads/master/LibFontConfig/src/fc-scan/.libs/lt-fc-scan.c\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"(check_executable): %s\0A\00", align 1
@S_IXUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_executable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @nonempty(ptr noundef %5)
%7 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %10, %1
store i32 0, ptr %2, align 4
br label %29
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
%17 = call i64 @stat(ptr noundef %16, ptr noundef %4)
%18 = icmp sge i64 %17, 0
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr @S_IXUSR, align 4
%23 = or i32 %22, 0
%24 = or i32 %23, 0
%25 = and i32 %21, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %19
store i32 1, ptr %2, align 4
br label %29
28: ; preds = %19, %15
store i32 0, ptr %2, align 4
br label %29
29: ; preds = %28, %27, %14
%30 = load i32, ptr %2, align 4
ret i32 %30
}
declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @nonempty(ptr noundef) #1
declare i64 @stat(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/tmp28scje08.c'
source_filename = "/tmp/tmp28scje08.c"
target datalayout = "e-m:e-p270: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 [52 x i8] c"strconcat(): malloc() failed: insufficient memory.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strconcat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
%14 = load i32, ptr %5, align 4
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %8, align 8
%17 = alloca i64, i64 %15, align 16
store i64 %15, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %34, %2
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %37
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strlen(ptr noundef %27)
%29 = load i32, ptr %10, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i64, ptr %17, i64 %30
store i64 %28, ptr %31, align 8
%32 = load i64, ptr %6, align 8
%33 = add i64 %32, %28
store i64 %33, ptr %6, align 8
br label %34
34: ; preds = %22
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %10, align 4
br label %18, !llvm.loop !6
37: ; preds = %18
%38 = load i64, ptr %6, align 8
%39 = add i64 %38, 1
%40 = call ptr @malloc(i64 noundef %39)
store ptr %40, ptr %11, align 8
%41 = load ptr, ptr %11, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %47, label %43
43: ; preds = %37
%44 = load i32, ptr @stderr, align 4
%45 = call ptr @gettext(ptr noundef @.str)
%46 = call i32 @fprintf(i32 noundef %44, ptr noundef %45)
store ptr null, ptr %3, align 8
store i32 1, ptr %12, align 4
br label %85
47: ; preds = %37
store i32 0, ptr %13, align 4
br label %48
48: ; preds = %80, %47
%49 = load i32, ptr %13, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %83
52: ; preds = %48
%53 = load ptr, ptr %11, align 8
%54 = load i64, ptr %7, align 8
%55 = getelementptr inbounds i8, ptr %53, i64 %54
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %13, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i64, ptr %17, i64 %62
%64 = load i64, ptr %63, align 8
%65 = load i32, ptr %13, align 4
%66 = load i32, ptr %5, align 4
%67 = sub nsw i32 %66, 1
%68 = icmp eq i32 %65, %67
%69 = zext i1 %68 to i64
%70 = select i1 %68, i32 1, i32 0
%71 = sext i32 %70 to i64
%72 = add i64 %64, %71
%73 = call i32 @memcpy(ptr noundef %55, ptr noundef %60, i64 noundef %72)
%74 = load i32, ptr %13, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i64, ptr %17, i64 %75
%77 = load i64, ptr %76, align 8
%78 = load i64, ptr %7, align 8
%79 = add i64 %78, %77
store i64 %79, ptr %7, align 8
br label %80
80: ; preds = %52
%81 = load i32, ptr %13, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %13, align 4
br label %48, !llvm.loop !8
83: ; preds = %48
%84 = load ptr, ptr %11, align 8
store ptr %84, ptr %3, align 8
store i32 1, ptr %12, align 4
br label %85
85: ; preds = %83, %43
%86 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %86)
%87 = load ptr, ptr %3, align 8
ret ptr %87
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @strlen(ptr noundef) #2
declare ptr @malloc(i64 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #2
declare ptr @gettext(ptr noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp28scje08.c"
target datalayout = "e-m:e-p270: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 [52 x i8] c"strconcat(): malloc() failed: insufficient memory.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strconcat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
%14 = load i32, ptr %5, align 4
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %8, align 8
%17 = alloca i64, i64 %15, align 16
store i64 %15, ptr %9, align 8
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %33
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = load i32, ptr %10, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i64, ptr %17, i64 %29
store i64 %27, ptr %30, align 8
%31 = load i64, ptr %6, align 8
%32 = add i64 %31, %27
store i64 %32, ptr %6, align 8
br label %33
33: ; preds = %21
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %2
%40 = load i64, ptr %6, align 8
%41 = add i64 %40, 1
%42 = call ptr @malloc(i64 noundef %41)
store ptr %42, ptr %11, align 8
%43 = load ptr, ptr %11, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %49, label %45
45: ; preds = %39
%46 = load i32, ptr @stderr, align 4
%47 = call ptr @gettext(ptr noundef @.str)
%48 = call i32 @fprintf(i32 noundef %46, ptr noundef %47)
store ptr null, ptr %3, align 8
store i32 1, ptr %12, align 4
br label %89
49: ; preds = %39
store i32 0, ptr %13, align 4
%50 = load i32, ptr %13, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph2, label %87
.lr.ph2: ; preds = %49
br label %53
53: ; preds = %.lr.ph2, %81
%54 = load ptr, ptr %11, align 8
%55 = load i64, ptr %7, align 8
%56 = getelementptr inbounds i8, ptr %54, i64 %55
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i64, ptr %17, i64 %63
%65 = load i64, ptr %64, align 8
%66 = load i32, ptr %13, align 4
%67 = load i32, ptr %5, align 4
%68 = sub nsw i32 %67, 1
%69 = icmp eq i32 %66, %68
%70 = zext i1 %69 to i64
%71 = select i1 %69, i32 1, i32 0
%72 = sext i32 %71 to i64
%73 = add i64 %65, %72
%74 = call i32 @memcpy(ptr noundef %56, ptr noundef %61, i64 noundef %73)
%75 = load i32, ptr %13, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i64, ptr %17, i64 %76
%78 = load i64, ptr %77, align 8
%79 = load i64, ptr %7, align 8
%80 = add i64 %79, %78
store i64 %80, ptr %7, align 8
br label %81
81: ; preds = %53
%82 = load i32, ptr %13, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %13, align 4
%84 = load i32, ptr %13, align 4
%85 = load i32, ptr %5, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %81
br label %87
87: ; preds = %._crit_edge3, %49
%88 = load ptr, ptr %11, align 8
store ptr %88, ptr %3, align 8
store i32 1, ptr %12, align 4
br label %89
89: ; preds = %87, %45
%90 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %90)
%91 = load ptr, ptr %3, align 8
ret ptr %91
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @strlen(ptr noundef) #2
declare ptr @malloc(i64 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #2
declare ptr @gettext(ptr noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzys4abuv.c'
source_filename = "/tmp/tmpzys4abuv.c"
target datalayout = "e-m:e-p270: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/tmpzys4abuv.c"
target datalayout = "e-m:e-p270: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/tmpqgtntus7.c'
source_filename = "/tmp/tmpqgtntus7.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"newlib malloc test\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"x: %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"y: %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"asd\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"devam etmek icin bir tusa basin\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"newlib malloc test OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call ptr @malloc(i32 noundef 20480)
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call i32 @memset(ptr noundef %5, i32 noundef 1, i32 noundef 20480)
%7 = load ptr, ptr %1, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7)
%9 = call ptr @malloc(i32 noundef 1048576)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @memset(ptr noundef %10, i32 noundef 1, i32 noundef 65536)
%12 = load ptr, ptr %2, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12)
%14 = load ptr, ptr %1, align 8
%15 = call ptr @realloc(ptr noundef %14, i32 noundef 1048576)
store ptr %15, ptr %1, align 8
%16 = load ptr, ptr %1, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
%18 = load ptr, ptr %1, align 8
%19 = call i32 @strcpy(ptr noundef %18, ptr noundef @.str.3)
%20 = load ptr, ptr %1, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load ptr, ptr %2, align 8
%23 = call i32 @free(ptr noundef %22)
%24 = call ptr @malloc(i32 noundef 16777216)
store ptr %24, ptr %2, align 8
%25 = load ptr, ptr %2, align 8
%26 = call i32 @memset(ptr noundef %25, i32 noundef 1, i32 noundef 16777216)
%27 = load ptr, ptr %2, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = call i32 (...) @getchar()
%31 = load ptr, ptr %2, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%34 = call i32 (...) @getchar()
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqgtntus7.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"newlib malloc test\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"x: %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"y: %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"asd\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"devam etmek icin bir tusa basin\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"newlib malloc test OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call ptr @malloc(i32 noundef 20480)
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call i32 @memset(ptr noundef %5, i32 noundef 1, i32 noundef 20480)
%7 = load ptr, ptr %1, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7)
%9 = call ptr @malloc(i32 noundef 1048576)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @memset(ptr noundef %10, i32 noundef 1, i32 noundef 65536)
%12 = load ptr, ptr %2, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12)
%14 = load ptr, ptr %1, align 8
%15 = call ptr @realloc(ptr noundef %14, i32 noundef 1048576)
store ptr %15, ptr %1, align 8
%16 = load ptr, ptr %1, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
%18 = load ptr, ptr %1, align 8
%19 = call i32 @strcpy(ptr noundef %18, ptr noundef @.str.3)
%20 = load ptr, ptr %1, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load ptr, ptr %2, align 8
%23 = call i32 @free(ptr noundef %22)
%24 = call ptr @malloc(i32 noundef 16777216)
store ptr %24, ptr %2, align 8
%25 = load ptr, ptr %2, align 8
%26 = call i32 @memset(ptr noundef %25, i32 noundef 1, i32 noundef 16777216)
%27 = load ptr, ptr %2, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = call i32 (...) @getchar()
%31 = load ptr, ptr %2, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%34 = call i32 (...) @getchar()
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfcdzwozf.c'
source_filename = "/tmp/tmpfcdzwozf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @iexp2(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %7, %1
%5 = load i64, ptr %2, align 8
%6 = icmp ugt i64 %5, 1
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i64, ptr %2, align 8
%9 = lshr i64 %8, 1
store i64 %9, ptr %2, align 8
%10 = load i64, ptr %3, align 8
%11 = add i64 %10, 1
store i64 %11, ptr %3, align 8
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i64, ptr %3, align 8
ret i64 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfcdzwozf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @iexp2(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load i64, ptr %2, align 8
%5 = icmp ugt i64 %4, 1
br i1 %5, label %.lr.ph, label %13
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i64, ptr %2, align 8
%8 = lshr i64 %7, 1
store i64 %8, ptr %2, align 8
%9 = load i64, ptr %3, align 8
%10 = add i64 %9, 1
store i64 %10, ptr %3, align 8
%11 = load i64, ptr %2, align 8
%12 = icmp ugt i64 %11, 1
br i1 %12, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %13
13: ; preds = %._crit_edge, %1
%14 = load i64, ptr %3, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6wfkeln_.c'
source_filename = "/tmp/tmp6wfkeln_.c"
target datalayout = "e-m:e-p270: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 [63 x i8] c"%s [-n max-args] [-s max-chars] [command [initial-arguments]]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @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 = getelementptr inbounds ptr, ptr %4, i64 0
%6 = load ptr, ptr %5, align 8
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6wfkeln_.c"
target datalayout = "e-m:e-p270: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 [63 x i8] c"%s [-n max-args] [-s max-chars] [command [initial-arguments]]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @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 = getelementptr inbounds ptr, ptr %4, i64 0
%6 = load ptr, ptr %5, align 8
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7p75ktqe.c'
source_filename = "/tmp/tmp7p75ktqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [9 x ptr], align 16
store i32 0, ptr %1, align 4
%3 = call i64 @Mem_Init(i32 noundef 4096)
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = call ptr @Mem_Alloc(i32 noundef 1)
%8 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 0
store ptr %7, ptr %8, align 16
%9 = call ptr @Mem_Alloc(i32 noundef 5)
%10 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 1
store ptr %9, ptr %10, align 8
%11 = call ptr @Mem_Alloc(i32 noundef 14)
%12 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 2
store ptr %11, ptr %12, align 16
%13 = call ptr @Mem_Alloc(i32 noundef 8)
%14 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 3
store ptr %13, ptr %14, align 8
%15 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 0
%16 = load ptr, ptr %15, align 16
%17 = icmp ne ptr %16, null
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 1
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 2
%26 = load ptr, ptr %25, align 16
%27 = icmp ne ptr %26, null
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
%30 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 3
%31 = load ptr, ptr %30, align 8
%32 = icmp ne ptr %31, null
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
%35 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call i64 @Mem_Free(ptr noundef %36)
%38 = icmp eq i64 %37, 0
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 0
%42 = load ptr, ptr %41, align 16
%43 = call i64 @Mem_Free(ptr noundef %42)
%44 = icmp eq i64 %43, 0
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 noundef %45)
%47 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 3
%48 = load ptr, ptr %47, align 8
%49 = call i64 @Mem_Free(ptr noundef %48)
%50 = icmp eq i64 %49, 0
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 noundef %51)
%53 = call i32 (...) @Mem_Dump()
%54 = call ptr @Mem_Alloc(i32 noundef 1)
%55 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 4
store ptr %54, ptr %55, align 16
%56 = call ptr @Mem_Alloc(i32 noundef 4)
%57 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 5
store ptr %56, ptr %57, align 8
%58 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 4
%59 = load ptr, ptr %58, align 16
%60 = icmp ne ptr %59, null
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 noundef %61)
%63 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 5
%64 = load ptr, ptr %63, align 8
%65 = icmp ne ptr %64, null
%66 = zext i1 %65 to i32
%67 = call i32 @assert(i32 noundef %66)
%68 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 5
%69 = load ptr, ptr %68, align 8
%70 = call i64 @Mem_Free(ptr noundef %69)
%71 = icmp eq i64 %70, 0
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 noundef %72)
%74 = call ptr @Mem_Alloc(i32 noundef 9)
%75 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 6
store ptr %74, ptr %75, align 16
%76 = call ptr @Mem_Alloc(i32 noundef 33)
%77 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 7
store ptr %76, ptr %77, align 8
%78 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 6
%79 = load ptr, ptr %78, align 16
%80 = icmp ne ptr %79, null
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 noundef %81)
%83 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 7
%84 = load ptr, ptr %83, align 8
%85 = icmp ne ptr %84, null
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 noundef %86)
%88 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 4
%89 = load ptr, ptr %88, align 16
%90 = call i64 @Mem_Free(ptr noundef %89)
%91 = icmp eq i64 %90, 0
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 noundef %92)
%94 = call ptr @Mem_Alloc(i32 noundef 55)
%95 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 8
store ptr %94, ptr %95, align 16
%96 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 8
%97 = load ptr, ptr %96, align 16
%98 = icmp ne ptr %97, null
%99 = zext i1 %98 to i32
%100 = call i32 @assert(i32 noundef %99)
%101 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 2
%102 = load ptr, ptr %101, align 16
%103 = call i64 @Mem_Free(ptr noundef %102)
%104 = icmp eq i64 %103, 0
%105 = zext i1 %104 to i32
%106 = call i32 @assert(i32 noundef %105)
%107 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 7
%108 = load ptr, ptr %107, align 8
%109 = call i64 @Mem_Free(ptr noundef %108)
%110 = icmp eq i64 %109, 0
%111 = zext i1 %110 to i32
%112 = call i32 @assert(i32 noundef %111)
%113 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 8
%114 = load ptr, ptr %113, align 16
%115 = call i64 @Mem_Free(ptr noundef %114)
%116 = icmp eq i64 %115, 0
%117 = zext i1 %116 to i32
%118 = call i32 @assert(i32 noundef %117)
%119 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 6
%120 = load ptr, ptr %119, align 16
%121 = call i64 @Mem_Free(ptr noundef %120)
%122 = icmp eq i64 %121, 0
%123 = zext i1 %122 to i32
%124 = call i32 @assert(i32 noundef %123)
%125 = call i32 (...) @Mem_Dump()
%126 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @assert(i32 noundef) #1
declare i64 @Mem_Init(i32 noundef) #1
declare ptr @Mem_Alloc(i32 noundef) #1
declare i64 @Mem_Free(ptr noundef) #1
declare i32 @Mem_Dump(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7p75ktqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [9 x ptr], align 16
store i32 0, ptr %1, align 4
%3 = call i64 @Mem_Init(i32 noundef 4096)
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = call ptr @Mem_Alloc(i32 noundef 1)
%8 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 0
store ptr %7, ptr %8, align 16
%9 = call ptr @Mem_Alloc(i32 noundef 5)
%10 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 1
store ptr %9, ptr %10, align 8
%11 = call ptr @Mem_Alloc(i32 noundef 14)
%12 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 2
store ptr %11, ptr %12, align 16
%13 = call ptr @Mem_Alloc(i32 noundef 8)
%14 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 3
store ptr %13, ptr %14, align 8
%15 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 0
%16 = load ptr, ptr %15, align 16
%17 = icmp ne ptr %16, null
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 1
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 2
%26 = load ptr, ptr %25, align 16
%27 = icmp ne ptr %26, null
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
%30 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 3
%31 = load ptr, ptr %30, align 8
%32 = icmp ne ptr %31, null
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
%35 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call i64 @Mem_Free(ptr noundef %36)
%38 = icmp eq i64 %37, 0
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 0
%42 = load ptr, ptr %41, align 16
%43 = call i64 @Mem_Free(ptr noundef %42)
%44 = icmp eq i64 %43, 0
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 noundef %45)
%47 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 3
%48 = load ptr, ptr %47, align 8
%49 = call i64 @Mem_Free(ptr noundef %48)
%50 = icmp eq i64 %49, 0
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 noundef %51)
%53 = call i32 (...) @Mem_Dump()
%54 = call ptr @Mem_Alloc(i32 noundef 1)
%55 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 4
store ptr %54, ptr %55, align 16
%56 = call ptr @Mem_Alloc(i32 noundef 4)
%57 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 5
store ptr %56, ptr %57, align 8
%58 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 4
%59 = load ptr, ptr %58, align 16
%60 = icmp ne ptr %59, null
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 noundef %61)
%63 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 5
%64 = load ptr, ptr %63, align 8
%65 = icmp ne ptr %64, null
%66 = zext i1 %65 to i32
%67 = call i32 @assert(i32 noundef %66)
%68 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 5
%69 = load ptr, ptr %68, align 8
%70 = call i64 @Mem_Free(ptr noundef %69)
%71 = icmp eq i64 %70, 0
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 noundef %72)
%74 = call ptr @Mem_Alloc(i32 noundef 9)
%75 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 6
store ptr %74, ptr %75, align 16
%76 = call ptr @Mem_Alloc(i32 noundef 33)
%77 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 7
store ptr %76, ptr %77, align 8
%78 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 6
%79 = load ptr, ptr %78, align 16
%80 = icmp ne ptr %79, null
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 noundef %81)
%83 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 7
%84 = load ptr, ptr %83, align 8
%85 = icmp ne ptr %84, null
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 noundef %86)
%88 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 4
%89 = load ptr, ptr %88, align 16
%90 = call i64 @Mem_Free(ptr noundef %89)
%91 = icmp eq i64 %90, 0
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 noundef %92)
%94 = call ptr @Mem_Alloc(i32 noundef 55)
%95 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 8
store ptr %94, ptr %95, align 16
%96 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 8
%97 = load ptr, ptr %96, align 16
%98 = icmp ne ptr %97, null
%99 = zext i1 %98 to i32
%100 = call i32 @assert(i32 noundef %99)
%101 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 2
%102 = load ptr, ptr %101, align 16
%103 = call i64 @Mem_Free(ptr noundef %102)
%104 = icmp eq i64 %103, 0
%105 = zext i1 %104 to i32
%106 = call i32 @assert(i32 noundef %105)
%107 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 7
%108 = load ptr, ptr %107, align 8
%109 = call i64 @Mem_Free(ptr noundef %108)
%110 = icmp eq i64 %109, 0
%111 = zext i1 %110 to i32
%112 = call i32 @assert(i32 noundef %111)
%113 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 8
%114 = load ptr, ptr %113, align 16
%115 = call i64 @Mem_Free(ptr noundef %114)
%116 = icmp eq i64 %115, 0
%117 = zext i1 %116 to i32
%118 = call i32 @assert(i32 noundef %117)
%119 = getelementptr inbounds [9 x ptr], ptr %2, i64 0, i64 6
%120 = load ptr, ptr %119, align 16
%121 = call i64 @Mem_Free(ptr noundef %120)
%122 = icmp eq i64 %121, 0
%123 = zext i1 %122 to i32
%124 = call i32 @assert(i32 noundef %123)
%125 = call i32 (...) @Mem_Dump()
%126 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @assert(i32 noundef) #1
declare i64 @Mem_Init(i32 noundef) #1
declare ptr @Mem_Alloc(i32 noundef) #1
declare i64 @Mem_Free(ptr noundef) #1
declare i32 @Mem_Dump(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn_ymsxxo.c'
source_filename = "/tmp/tmpn_ymsxxo.c"
target datalayout = "e-m:e-p270: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_3__ = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @calcula_digito_cpf(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca %struct.TYPE_3__, align 8
%9 = alloca %struct.TYPE_3__, align 8
%10 = alloca %struct.TYPE_3__, align 8
store i64 %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%11 = load i64, ptr %2, align 8
store i64 %11, ptr %6, align 8
%12 = load i64, ptr %2, align 8
%13 = mul nsw i64 %12, 100
store i64 %13, ptr %7, align 8
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %33, %1
%15 = load i32, ptr %4, align 4
%16 = icmp sle i32 %15, 8
br i1 %16, label %17, label %36
17: ; preds = %14
%18 = load i64, ptr %6, align 8
%19 = call { i32, i64 } @lldiv(i64 noundef %18, i32 noundef 10)
%20 = getelementptr inbounds { i32, i64 }, ptr %9, i32 0, i32 0
%21 = extractvalue { i32, i64 } %19, 0
store i32 %21, ptr %20, align 8
%22 = getelementptr inbounds { i32, i64 }, ptr %9, i32 0, i32 1
%23 = extractvalue { i32, i64 } %19, 1
store i64 %23, ptr %22, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %9, i64 16, i1 false)
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0
%25 = load i32, ptr %24, align 8
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 2
%28 = mul nsw i32 %25, %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, %28
store i32 %30, ptr %3, align 4
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 1
%32 = load i64, ptr %31, align 8
store i64 %32, ptr %6, align 8
br label %33
33: ; preds = %17
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %14, !llvm.loop !6
36: ; preds = %14
%37 = load i32, ptr %3, align 4
%38 = srem i32 %37, 11
%39 = icmp slt i32 %38, 2
br i1 %39, label %40, label %41
40: ; preds = %36
br label %45
41: ; preds = %36
%42 = load i32, ptr %3, align 4
%43 = srem i32 %42, 11
%44 = sub nsw i32 11, %43
br label %45
45: ; preds = %41, %40
%46 = phi i32 [ 0, %40 ], [ %44, %41 ]
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = mul nsw i32 %47, 10
%49 = sext i32 %48 to i64
%50 = load i64, ptr %7, align 8
%51 = add nsw i64 %50, %49
store i64 %51, ptr %7, align 8
store i32 0, ptr %3, align 4
%52 = load i64, ptr %7, align 8
%53 = sdiv i64 %52, 10
store i64 %53, ptr %6, align 8
store i32 0, ptr %4, align 4
br label %54
54: ; preds = %73, %45
%55 = load i32, ptr %4, align 4
%56 = icmp sle i32 %55, 9
br i1 %56, label %57, label %76
57: ; preds = %54
%58 = load i64, ptr %6, align 8
%59 = call { i32, i64 } @lldiv(i64 noundef %58, i32 noundef 10)
%60 = getelementptr inbounds { i32, i64 }, ptr %10, i32 0, i32 0
%61 = extractvalue { i32, i64 } %59, 0
store i32 %61, ptr %60, align 8
%62 = getelementptr inbounds { i32, i64 }, ptr %10, i32 0, i32 1
%63 = extractvalue { i32, i64 } %59, 1
store i64 %63, ptr %62, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %10, i64 16, i1 false)
%64 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0
%65 = load i32, ptr %64, align 8
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 2
%68 = mul nsw i32 %65, %67
%69 = load i32, ptr %3, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %3, align 4
%71 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 1
%72 = load i64, ptr %71, align 8
store i64 %72, ptr %6, align 8
br label %73
73: ; preds = %57
%74 = load i32, ptr %4, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %4, align 4
br label %54, !llvm.loop !8
76: ; preds = %54
%77 = load i32, ptr %3, align 4
%78 = srem i32 %77, 11
%79 = icmp slt i32 %78, 2
br i1 %79, label %80, label %81
80: ; preds = %76
br label %85
81: ; preds = %76
%82 = load i32, ptr %3, align 4
%83 = srem i32 %82, 11
%84 = sub nsw i32 11, %83
br label %85
85: ; preds = %81, %80
%86 = phi i32 [ 0, %80 ], [ %84, %81 ]
store i32 %86, ptr %5, align 4
%87 = load i32, ptr %5, align 4
%88 = sext i32 %87 to i64
%89 = load i64, ptr %7, align 8
%90 = add nsw i64 %89, %88
store i64 %90, ptr %7, align 8
%91 = load i64, ptr %7, align 8
ret i64 %91
}
declare { i32, i64 } @lldiv(i64 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpn_ymsxxo.c"
target datalayout = "e-m:e-p270: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_3__ = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @calcula_digito_cpf(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca %struct.TYPE_3__, align 8
%9 = alloca %struct.TYPE_3__, align 8
%10 = alloca %struct.TYPE_3__, align 8
store i64 %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%11 = load i64, ptr %2, align 8
store i64 %11, ptr %6, align 8
%12 = load i64, ptr %2, align 8
%13 = mul nsw i64 %12, 100
store i64 %13, ptr %7, align 8
store i32 0, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp sle i32 %14, 8
br i1 %15, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %32
%17 = load i64, ptr %6, align 8
%18 = call { i32, i64 } @lldiv(i64 noundef %17, i32 noundef 10)
%19 = getelementptr inbounds { i32, i64 }, ptr %9, i32 0, i32 0
%20 = extractvalue { i32, i64 } %18, 0
store i32 %20, ptr %19, align 8
%21 = getelementptr inbounds { i32, i64 }, ptr %9, i32 0, i32 1
%22 = extractvalue { i32, i64 } %18, 1
store i64 %22, ptr %21, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %9, i64 16, i1 false)
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0
%24 = load i32, ptr %23, align 8
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 2
%27 = mul nsw i32 %24, %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %3, align 4
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 1
%31 = load i64, ptr %30, align 8
store i64 %31, ptr %6, align 8
br label %32
32: ; preds = %16
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp sle i32 %35, 8
br i1 %36, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %1
%38 = load i32, ptr %3, align 4
%39 = srem i32 %38, 11
%40 = icmp slt i32 %39, 2
br i1 %40, label %41, label %42
41: ; preds = %37
br label %46
42: ; preds = %37
%43 = load i32, ptr %3, align 4
%44 = srem i32 %43, 11
%45 = sub nsw i32 11, %44
br label %46
46: ; preds = %42, %41
%47 = phi i32 [ 0, %41 ], [ %45, %42 ]
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %5, align 4
%49 = mul nsw i32 %48, 10
%50 = sext i32 %49 to i64
%51 = load i64, ptr %7, align 8
%52 = add nsw i64 %51, %50
store i64 %52, ptr %7, align 8
store i32 0, ptr %3, align 4
%53 = load i64, ptr %7, align 8
%54 = sdiv i64 %53, 10
store i64 %54, ptr %6, align 8
store i32 0, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp sle i32 %55, 9
br i1 %56, label %.lr.ph2, label %78
.lr.ph2: ; preds = %46
br label %57
57: ; preds = %.lr.ph2, %73
%58 = load i64, ptr %6, align 8
%59 = call { i32, i64 } @lldiv(i64 noundef %58, i32 noundef 10)
%60 = getelementptr inbounds { i32, i64 }, ptr %10, i32 0, i32 0
%61 = extractvalue { i32, i64 } %59, 0
store i32 %61, ptr %60, align 8
%62 = getelementptr inbounds { i32, i64 }, ptr %10, i32 0, i32 1
%63 = extractvalue { i32, i64 } %59, 1
store i64 %63, ptr %62, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %10, i64 16, i1 false)
%64 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0
%65 = load i32, ptr %64, align 8
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 2
%68 = mul nsw i32 %65, %67
%69 = load i32, ptr %3, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %3, align 4
%71 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 1
%72 = load i64, ptr %71, align 8
store i64 %72, ptr %6, align 8
br label %73
73: ; preds = %57
%74 = load i32, ptr %4, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %4, align 4
%76 = load i32, ptr %4, align 4
%77 = icmp sle i32 %76, 9
br i1 %77, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %78
78: ; preds = %._crit_edge3, %46
%79 = load i32, ptr %3, align 4
%80 = srem i32 %79, 11
%81 = icmp slt i32 %80, 2
br i1 %81, label %82, label %83
82: ; preds = %78
br label %87
83: ; preds = %78
%84 = load i32, ptr %3, align 4
%85 = srem i32 %84, 11
%86 = sub nsw i32 11, %85
br label %87
87: ; preds = %83, %82
%88 = phi i32 [ 0, %82 ], [ %86, %83 ]
store i32 %88, ptr %5, align 4
%89 = load i32, ptr %5, align 4
%90 = sext i32 %89 to i64
%91 = load i64, ptr %7, align 8
%92 = add nsw i64 %91, %90
store i64 %92, ptr %7, align 8
%93 = load i64, ptr %7, align 8
ret i64 %93
}
declare { i32, i64 } @lldiv(i64 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfydbq4f6.c'
source_filename = "/tmp/tmpfydbq4f6.c"
target datalayout = "e-m:e-p270: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/tmpfydbq4f6.c"
target datalayout = "e-m:e-p270: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/tmpicfflln7.c'
source_filename = "/tmp/tmpicfflln7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tng_compress_vel_int(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i64 %3, ptr %12, align 8
store i64 %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %11, align 4
%26 = mul nsw i32 %24, %25
%27 = mul nsw i32 %26, 14
%28 = add nsw i32 %27, 44
%29 = call ptr @malloc(i32 noundef %28)
store ptr %29, ptr %17, align 8
%30 = load ptr, ptr %9, align 8
store ptr %30, ptr %18, align 8
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %11, align 4
%33 = mul nsw i32 %31, %32
%34 = mul nsw i32 %33, 3
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 4
%37 = trunc i64 %36 to i32
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %19, align 8
%39 = load i32, ptr %14, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %8
store i32 2, ptr %14, align 4
br label %42
42: ; preds = %41, %8
%43 = load i32, ptr %14, align 4
%44 = icmp slt i32 %43, 1
br i1 %44, label %45, label %46
45: ; preds = %42
store i32 1, ptr %14, align 4
br label %46
46: ; preds = %45, %42
%47 = load i32, ptr %14, align 4
%48 = icmp sgt i32 %47, 6
br i1 %48, label %49, label %50
49: ; preds = %46
store i32 6, ptr %14, align 4
br label %50
50: ; preds = %49, %46
%51 = load ptr, ptr %15, align 8
%52 = getelementptr inbounds i32, ptr %51, i64 0
%53 = load i32, ptr %52, align 4
store i32 %53, ptr %20, align 4
%54 = load ptr, ptr %15, align 8
%55 = getelementptr inbounds i32, ptr %54, i64 1
%56 = load i32, ptr %55, align 4
store i32 %56, ptr %21, align 4
%57 = load ptr, ptr %15, align 8
%58 = getelementptr inbounds i32, ptr %57, i64 2
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %22, align 4
%60 = load ptr, ptr %15, align 8
%61 = getelementptr inbounds i32, ptr %60, i64 3
%62 = load i32, ptr %61, align 4
store i32 %62, ptr %23, align 4
%63 = load ptr, ptr %18, align 8
%64 = load i32, ptr %10, align 4
%65 = load i32, ptr %11, align 4
%66 = load ptr, ptr %19, align 8
%67 = call i32 @quant_inter_differences(ptr noundef %63, i32 noundef %64, i32 noundef %65, ptr noundef %66)
%68 = load i32, ptr %20, align 4
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %77
70: ; preds = %50
store i32 -1, ptr %21, align 4
%71 = load ptr, ptr %18, align 8
%72 = load i32, ptr %10, align 4
%73 = load i32, ptr %14, align 4
%74 = load i64, ptr %12, align 8
%75 = load i64, ptr %13, align 8
%76 = call i32 @determine_best_vel_initial_coding(ptr noundef %71, i32 noundef %72, i32 noundef %73, i64 noundef %74, i64 noundef %75, ptr noundef %20, ptr noundef %21)
br label %88
77: ; preds = %50
%78 = load i32, ptr %21, align 4
%79 = icmp eq i32 %78, -1
br i1 %79, label %80, label %87
80: ; preds = %77
%81 = load ptr, ptr %18, align 8
%82 = load i32, ptr %10, align 4
%83 = load i32, ptr %14, align 4
%84 = load i64, ptr %12, align 8
%85 = load i64, ptr %13, align 8
%86 = call i32 @determine_best_vel_initial_coding(ptr noundef %81, i32 noundef %82, i32 noundef %83, i64 noundef %84, i64 noundef %85, ptr noundef %20, ptr noundef %21)
br label %87
87: ; preds = %80, %77
br label %88
88: ; preds = %87, %70
%89 = load i32, ptr %11, align 4
%90 = icmp eq i32 %89, 1
br i1 %90, label %91, label %92
91: ; preds = %88
store i32 0, ptr %22, align 4
store i32 0, ptr %23, align 4
br label %92
92: ; preds = %91, %88
%93 = load i32, ptr %11, align 4
%94 = icmp sgt i32 %93, 1
br i1 %94, label %95, label %121
95: ; preds = %92
%96 = load i32, ptr %22, align 4
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %107
98: ; preds = %95
store i32 -1, ptr %23, align 4
%99 = load ptr, ptr %18, align 8
%100 = load ptr, ptr %19, align 8
%101 = load i32, ptr %10, align 4
%102 = load i32, ptr %11, align 4
%103 = load i32, ptr %14, align 4
%104 = load i64, ptr %12, align 8
%105 = load i64, ptr %13, align 8
%106 = call i32 @determine_best_vel_coding(ptr noundef %99, ptr noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, i64 noundef %104, i64 noundef %105, ptr noundef %22, ptr noundef %23)
br label %120
107: ; preds = %95
%108 = load i32, ptr %23, align 4
%109 = icmp eq i32 %108, -1
br i1 %109, label %110, label %119
110: ; preds = %107
%111 = load ptr, ptr %18, align 8
%112 = load ptr, ptr %19, align 8
%113 = load i32, ptr %10, align 4
%114 = load i32, ptr %11, align 4
%115 = load i32, ptr %14, align 4
%116 = load i64, ptr %12, align 8
%117 = load i64, ptr %13, align 8
%118 = call i32 @determine_best_vel_coding(ptr noundef %111, ptr noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef %115, i64 noundef %116, i64 noundef %117, ptr noundef %22, ptr noundef %23)
br label %119
119: ; preds = %110, %107
br label %120
120: ; preds = %119, %98
br label %121
121: ; preds = %120, %92
%122 = load ptr, ptr %18, align 8
%123 = load ptr, ptr %19, align 8
%124 = load i32, ptr %10, align 4
%125 = load i32, ptr %11, align 4
%126 = load i32, ptr %14, align 4
%127 = load i32, ptr %20, align 4
%128 = load i32, ptr %21, align 4
%129 = load i32, ptr %22, align 4
%130 = load i32, ptr %23, align 4
%131 = load i64, ptr %12, align 8
%132 = load i64, ptr %13, align 8
%133 = load ptr, ptr %16, align 8
%134 = load ptr, ptr %17, align 8
%135 = call i32 @compress_quantized_vel(ptr noundef %122, ptr noundef %123, i32 noundef %124, i32 noundef %125, i32 noundef %126, i32 noundef %127, i32 noundef %128, i32 noundef %129, i32 noundef %130, i64 noundef %131, i64 noundef %132, ptr noundef %133, ptr noundef %134)
%136 = load ptr, ptr %19, align 8
%137 = call i32 @free(ptr noundef %136)
%138 = load ptr, ptr %15, align 8
%139 = getelementptr inbounds i32, ptr %138, i64 0
%140 = load i32, ptr %139, align 4
%141 = icmp eq i32 %140, -1
br i1 %141, label %142, label %146
142: ; preds = %121
%143 = load i32, ptr %20, align 4
%144 = load ptr, ptr %15, align 8
%145 = getelementptr inbounds i32, ptr %144, i64 0
store i32 %143, ptr %145, align 4
br label %146
146: ; preds = %142, %121
%147 = load ptr, ptr %15, align 8
%148 = getelementptr inbounds i32, ptr %147, i64 1
%149 = load i32, ptr %148, align 4
%150 = icmp eq i32 %149, -1
br i1 %150, label %151, label %155
151: ; preds = %146
%152 = load i32, ptr %21, align 4
%153 = load ptr, ptr %15, align 8
%154 = getelementptr inbounds i32, ptr %153, i64 1
store i32 %152, ptr %154, align 4
br label %155
155: ; preds = %151, %146
%156 = load ptr, ptr %15, align 8
%157 = getelementptr inbounds i32, ptr %156, i64 2
%158 = load i32, ptr %157, align 4
%159 = icmp eq i32 %158, -1
br i1 %159, label %160, label %164
160: ; preds = %155
%161 = load i32, ptr %22, align 4
%162 = load ptr, ptr %15, align 8
%163 = getelementptr inbounds i32, ptr %162, i64 2
store i32 %161, ptr %163, align 4
br label %164
164: ; preds = %160, %155
%165 = load ptr, ptr %15, align 8
%166 = getelementptr inbounds i32, ptr %165, i64 3
%167 = load i32, ptr %166, align 4
%168 = icmp eq i32 %167, -1
br i1 %168, label %169, label %173
169: ; preds = %164
%170 = load i32, ptr %23, align 4
%171 = load ptr, ptr %15, align 8
%172 = getelementptr inbounds i32, ptr %171, i64 3
store i32 %170, ptr %172, align 4
br label %173
173: ; preds = %169, %164
%174 = load ptr, ptr %17, align 8
ret ptr %174
}
declare ptr @malloc(i32 noundef) #1
declare i32 @quant_inter_differences(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @determine_best_vel_initial_coding(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @determine_best_vel_coding(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @compress_quantized_vel(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 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/tmpicfflln7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tng_compress_vel_int(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i64 %3, ptr %12, align 8
store i64 %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %11, align 4
%26 = mul nsw i32 %24, %25
%27 = mul nsw i32 %26, 14
%28 = add nsw i32 %27, 44
%29 = call ptr @malloc(i32 noundef %28)
store ptr %29, ptr %17, align 8
%30 = load ptr, ptr %9, align 8
store ptr %30, ptr %18, align 8
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %11, align 4
%33 = mul nsw i32 %31, %32
%34 = mul nsw i32 %33, 3
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 4
%37 = trunc i64 %36 to i32
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %19, align 8
%39 = load i32, ptr %14, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %8
store i32 2, ptr %14, align 4
br label %42
42: ; preds = %41, %8
%43 = load i32, ptr %14, align 4
%44 = icmp slt i32 %43, 1
br i1 %44, label %45, label %46
45: ; preds = %42
store i32 1, ptr %14, align 4
br label %46
46: ; preds = %45, %42
%47 = load i32, ptr %14, align 4
%48 = icmp sgt i32 %47, 6
br i1 %48, label %49, label %50
49: ; preds = %46
store i32 6, ptr %14, align 4
br label %50
50: ; preds = %49, %46
%51 = load ptr, ptr %15, align 8
%52 = getelementptr inbounds i32, ptr %51, i64 0
%53 = load i32, ptr %52, align 4
store i32 %53, ptr %20, align 4
%54 = load ptr, ptr %15, align 8
%55 = getelementptr inbounds i32, ptr %54, i64 1
%56 = load i32, ptr %55, align 4
store i32 %56, ptr %21, align 4
%57 = load ptr, ptr %15, align 8
%58 = getelementptr inbounds i32, ptr %57, i64 2
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %22, align 4
%60 = load ptr, ptr %15, align 8
%61 = getelementptr inbounds i32, ptr %60, i64 3
%62 = load i32, ptr %61, align 4
store i32 %62, ptr %23, align 4
%63 = load ptr, ptr %18, align 8
%64 = load i32, ptr %10, align 4
%65 = load i32, ptr %11, align 4
%66 = load ptr, ptr %19, align 8
%67 = call i32 @quant_inter_differences(ptr noundef %63, i32 noundef %64, i32 noundef %65, ptr noundef %66)
%68 = load i32, ptr %20, align 4
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %77
70: ; preds = %50
store i32 -1, ptr %21, align 4
%71 = load ptr, ptr %18, align 8
%72 = load i32, ptr %10, align 4
%73 = load i32, ptr %14, align 4
%74 = load i64, ptr %12, align 8
%75 = load i64, ptr %13, align 8
%76 = call i32 @determine_best_vel_initial_coding(ptr noundef %71, i32 noundef %72, i32 noundef %73, i64 noundef %74, i64 noundef %75, ptr noundef %20, ptr noundef %21)
br label %88
77: ; preds = %50
%78 = load i32, ptr %21, align 4
%79 = icmp eq i32 %78, -1
br i1 %79, label %80, label %87
80: ; preds = %77
%81 = load ptr, ptr %18, align 8
%82 = load i32, ptr %10, align 4
%83 = load i32, ptr %14, align 4
%84 = load i64, ptr %12, align 8
%85 = load i64, ptr %13, align 8
%86 = call i32 @determine_best_vel_initial_coding(ptr noundef %81, i32 noundef %82, i32 noundef %83, i64 noundef %84, i64 noundef %85, ptr noundef %20, ptr noundef %21)
br label %87
87: ; preds = %80, %77
br label %88
88: ; preds = %87, %70
%89 = load i32, ptr %11, align 4
%90 = icmp eq i32 %89, 1
br i1 %90, label %91, label %92
91: ; preds = %88
store i32 0, ptr %22, align 4
store i32 0, ptr %23, align 4
br label %92
92: ; preds = %91, %88
%93 = load i32, ptr %11, align 4
%94 = icmp sgt i32 %93, 1
br i1 %94, label %95, label %121
95: ; preds = %92
%96 = load i32, ptr %22, align 4
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %107
98: ; preds = %95
store i32 -1, ptr %23, align 4
%99 = load ptr, ptr %18, align 8
%100 = load ptr, ptr %19, align 8
%101 = load i32, ptr %10, align 4
%102 = load i32, ptr %11, align 4
%103 = load i32, ptr %14, align 4
%104 = load i64, ptr %12, align 8
%105 = load i64, ptr %13, align 8
%106 = call i32 @determine_best_vel_coding(ptr noundef %99, ptr noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, i64 noundef %104, i64 noundef %105, ptr noundef %22, ptr noundef %23)
br label %120
107: ; preds = %95
%108 = load i32, ptr %23, align 4
%109 = icmp eq i32 %108, -1
br i1 %109, label %110, label %119
110: ; preds = %107
%111 = load ptr, ptr %18, align 8
%112 = load ptr, ptr %19, align 8
%113 = load i32, ptr %10, align 4
%114 = load i32, ptr %11, align 4
%115 = load i32, ptr %14, align 4
%116 = load i64, ptr %12, align 8
%117 = load i64, ptr %13, align 8
%118 = call i32 @determine_best_vel_coding(ptr noundef %111, ptr noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef %115, i64 noundef %116, i64 noundef %117, ptr noundef %22, ptr noundef %23)
br label %119
119: ; preds = %110, %107
br label %120
120: ; preds = %119, %98
br label %121
121: ; preds = %120, %92
%122 = load ptr, ptr %18, align 8
%123 = load ptr, ptr %19, align 8
%124 = load i32, ptr %10, align 4
%125 = load i32, ptr %11, align 4
%126 = load i32, ptr %14, align 4
%127 = load i32, ptr %20, align 4
%128 = load i32, ptr %21, align 4
%129 = load i32, ptr %22, align 4
%130 = load i32, ptr %23, align 4
%131 = load i64, ptr %12, align 8
%132 = load i64, ptr %13, align 8
%133 = load ptr, ptr %16, align 8
%134 = load ptr, ptr %17, align 8
%135 = call i32 @compress_quantized_vel(ptr noundef %122, ptr noundef %123, i32 noundef %124, i32 noundef %125, i32 noundef %126, i32 noundef %127, i32 noundef %128, i32 noundef %129, i32 noundef %130, i64 noundef %131, i64 noundef %132, ptr noundef %133, ptr noundef %134)
%136 = load ptr, ptr %19, align 8
%137 = call i32 @free(ptr noundef %136)
%138 = load ptr, ptr %15, align 8
%139 = getelementptr inbounds i32, ptr %138, i64 0
%140 = load i32, ptr %139, align 4
%141 = icmp eq i32 %140, -1
br i1 %141, label %142, label %146
142: ; preds = %121
%143 = load i32, ptr %20, align 4
%144 = load ptr, ptr %15, align 8
%145 = getelementptr inbounds i32, ptr %144, i64 0
store i32 %143, ptr %145, align 4
br label %146
146: ; preds = %142, %121
%147 = load ptr, ptr %15, align 8
%148 = getelementptr inbounds i32, ptr %147, i64 1
%149 = load i32, ptr %148, align 4
%150 = icmp eq i32 %149, -1
br i1 %150, label %151, label %155
151: ; preds = %146
%152 = load i32, ptr %21, align 4
%153 = load ptr, ptr %15, align 8
%154 = getelementptr inbounds i32, ptr %153, i64 1
store i32 %152, ptr %154, align 4
br label %155
155: ; preds = %151, %146
%156 = load ptr, ptr %15, align 8
%157 = getelementptr inbounds i32, ptr %156, i64 2
%158 = load i32, ptr %157, align 4
%159 = icmp eq i32 %158, -1
br i1 %159, label %160, label %164
160: ; preds = %155
%161 = load i32, ptr %22, align 4
%162 = load ptr, ptr %15, align 8
%163 = getelementptr inbounds i32, ptr %162, i64 2
store i32 %161, ptr %163, align 4
br label %164
164: ; preds = %160, %155
%165 = load ptr, ptr %15, align 8
%166 = getelementptr inbounds i32, ptr %165, i64 3
%167 = load i32, ptr %166, align 4
%168 = icmp eq i32 %167, -1
br i1 %168, label %169, label %173
169: ; preds = %164
%170 = load i32, ptr %23, align 4
%171 = load ptr, ptr %15, align 8
%172 = getelementptr inbounds i32, ptr %171, i64 3
store i32 %170, ptr %172, align 4
br label %173
173: ; preds = %169, %164
%174 = load ptr, ptr %17, align 8
ret ptr %174
}
declare ptr @malloc(i32 noundef) #1
declare i32 @quant_inter_differences(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @determine_best_vel_initial_coding(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @determine_best_vel_coding(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @compress_quantized_vel(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 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/tmpqa3k4wm9.c'
source_filename = "/tmp/tmpqa3k4wm9.c"
target datalayout = "e-m:e-p270: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/tmpqa3k4wm9.c"
target datalayout = "e-m:e-p270: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/tmppwnz_4h1.c'
source_filename = "/tmp/tmppwnz_4h1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"tLog Aux Panel\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"<u>Table Tips</u><br>\00", align 1
@.str.2 = private unnamed_addr constant [501 x i8] c"This table holds the non-archived logged and MD5 signed operations that have taken place in the system. Usually data is available here only for the current month. When possible context related info is provided below. Current unxsRAD version does not save delete (Del) operation data.<p><a href=unxsRAD.cgi?gcFunction=tLogMonth>tLogMonth</a> allows access to all archived (read-only and compressed) monthly tLog data sets. These archives are created from the command line usually by crontab operation.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ExttLogButtons() #0 {
%1 = call i32 @OpenFieldSet(ptr noundef @.str, i32 noundef 100)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 (...) @LogSummary()
%5 = call i32 (...) @CloseFieldSet()
ret void
}
declare i32 @OpenFieldSet(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @LogSummary(...) #1
declare i32 @CloseFieldSet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppwnz_4h1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"tLog Aux Panel\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"<u>Table Tips</u><br>\00", align 1
@.str.2 = private unnamed_addr constant [501 x i8] c"This table holds the non-archived logged and MD5 signed operations that have taken place in the system. Usually data is available here only for the current month. When possible context related info is provided below. Current unxsRAD version does not save delete (Del) operation data.<p><a href=unxsRAD.cgi?gcFunction=tLogMonth>tLogMonth</a> allows access to all archived (read-only and compressed) monthly tLog data sets. These archives are created from the command line usually by crontab operation.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ExttLogButtons() #0 {
%1 = call i32 @OpenFieldSet(ptr noundef @.str, i32 noundef 100)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 (...) @LogSummary()
%5 = call i32 (...) @CloseFieldSet()
ret void
}
declare i32 @OpenFieldSet(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @LogSummary(...) #1
declare i32 @CloseFieldSet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcahrg8iv.c'
source_filename = "/tmp/tmpcahrg8iv.c"
target datalayout = "e-m:e-p270: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/tmpcahrg8iv.c"
target datalayout = "e-m:e-p270: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/tmpa11crxg9.c'
source_filename = "/tmp/tmpa11crxg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSAPublicKey = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_RSAPublicKey_bio(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @RSAPublicKey, align 4
%6 = call i32 @ASN1_ITEM_rptr(i32 noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @ASN1_item_i2d_bio(i32 noundef %6, ptr noundef %7, ptr noundef %8)
ret i32 %9
}
declare i32 @ASN1_item_i2d_bio(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @ASN1_ITEM_rptr(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/tmpa11crxg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSAPublicKey = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_RSAPublicKey_bio(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @RSAPublicKey, align 4
%6 = call i32 @ASN1_ITEM_rptr(i32 noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @ASN1_item_i2d_bio(i32 noundef %6, ptr noundef %7, ptr noundef %8)
ret i32 %9
}
declare i32 @ASN1_item_i2d_bio(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @ASN1_ITEM_rptr(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/tmpxtg_lbrl.c'
source_filename = "/tmp/tmpxtg_lbrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @l_mvwscanw(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @mvwscanw(ptr noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef %15)
ret i32 %16
}
declare i32 @mvwscanw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxtg_lbrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @l_mvwscanw(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @mvwscanw(ptr noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef %15)
ret i32 %16
}
declare i32 @mvwscanw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvqv7g35t.c'
source_filename = "/tmp/tmpvqv7g35t.c"
target datalayout = "e-m:e-p270: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/tmpvqv7g35t.c"
target datalayout = "e-m:e-p270: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/tmpov7kv4cy.c'
source_filename = "/tmp/tmpov7kv4cy.c"
target datalayout = "e-m:e-p270: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/tmpov7kv4cy.c"
target datalayout = "e-m:e-p270: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/tmp4djh4u2x.c'
source_filename = "/tmp/tmp4djh4u2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fffr4r4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, float noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca float, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca ptr, align 8
%23 = alloca i16, align 2
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store double %2, ptr %13, align 8
store double %3, ptr %14, align 8
store i32 %4, ptr %15, align 4
store float %5, ptr %16, align 4
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%24 = load i32, ptr %15, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %61
26: ; preds = %10
%27 = load double, ptr %13, align 8
%28 = fcmp oeq double %27, 1.000000e+00
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load double, ptr %14, align 8
%31 = fcmp oeq double %30, 0.000000e+00
br i1 %31, label %32, label %38
32: ; preds = %29
%33 = load ptr, ptr %19, align 8
%34 = load ptr, ptr %11, align 8
%35 = load i64, ptr %12, align 8
%36 = mul i64 %35, 4
%37 = call i32 @memmove(ptr noundef %33, ptr noundef %34, i64 noundef %36)
br label %60
38: ; preds = %29, %26
store i64 0, ptr %21, align 8
br label %39
39: ; preds = %56, %38
%40 = load i64, ptr %21, align 8
%41 = load i64, ptr %12, align 8
%42 = icmp slt i64 %40, %41
br i1 %42, label %43, label %59
43: ; preds = %39
%44 = load ptr, ptr %11, align 8
%45 = load i64, ptr %21, align 8
%46 = getelementptr inbounds float, ptr %44, i64 %45
%47 = load float, ptr %46, align 4
%48 = fpext float %47 to double
%49 = load double, ptr %13, align 8
%50 = load double, ptr %14, align 8
%51 = call double @llvm.fmuladd.f64(double %48, double %49, double %50)
%52 = fptrunc double %51 to float
%53 = load ptr, ptr %19, align 8
%54 = load i64, ptr %21, align 8
%55 = getelementptr inbounds float, ptr %53, i64 %54
store float %52, ptr %55, align 4
br label %56
56: ; preds = %43
%57 = load i64, ptr %21, align 8
%58 = add nsw i64 %57, 1
store i64 %58, ptr %21, align 8
br label %39, !llvm.loop !6
59: ; preds = %39
br label %60
60: ; preds = %59, %32
br label %210
61: ; preds = %10
%62 = load ptr, ptr %11, align 8
store ptr %62, ptr %22, align 8
%63 = load ptr, ptr %22, align 8
%64 = getelementptr inbounds i16, ptr %63, i32 1
store ptr %64, ptr %22, align 8
%65 = load double, ptr %13, align 8
%66 = fcmp oeq double %65, 1.000000e+00
br i1 %66, label %67, label %136
67: ; preds = %61
%68 = load double, ptr %14, align 8
%69 = fcmp oeq double %68, 0.000000e+00
br i1 %69, label %70, label %136
70: ; preds = %67
store i64 0, ptr %21, align 8
br label %71
71: ; preds = %130, %70
%72 = load i64, ptr %21, align 8
%73 = load i64, ptr %12, align 8
%74 = icmp slt i64 %72, %73
br i1 %74, label %75, label %135
75: ; preds = %71
%76 = load ptr, ptr %22, align 8
%77 = load i16, ptr %76, align 2
%78 = sext i16 %77 to i32
%79 = and i32 %78, 32640
%80 = icmp eq i32 %79, 32640
br i1 %80, label %81, label %82
81: ; preds = %75
br label %90
82: ; preds = %75
%83 = load ptr, ptr %22, align 8
%84 = load i16, ptr %83, align 2
%85 = sext i16 %84 to i32
%86 = and i32 %85, 32640
%87 = icmp eq i32 %86, 0
%88 = zext i1 %87 to i64
%89 = select i1 %87, i32 2, i32 0
br label %90
90: ; preds = %82, %81
%91 = phi i32 [ 1, %81 ], [ %89, %82 ]
%92 = trunc i32 %91 to i16
store i16 %92, ptr %23, align 2
%93 = sext i16 %92 to i32
%94 = icmp ne i32 0, %93
br i1 %94, label %95, label %121
95: ; preds = %90
%96 = load i16, ptr %23, align 2
%97 = sext i16 %96 to i32
%98 = icmp eq i32 %97, 1
br i1 %98, label %99, label %116
99: ; preds = %95
%100 = load ptr, ptr %18, align 8
store i32 1, ptr %100, align 4
%101 = load i32, ptr %15, align 4
%102 = icmp eq i32 %101, 1
br i1 %102, label %103, label %108
103: ; preds = %99
%104 = load float, ptr %16, align 4
%105 = load ptr, ptr %19, align 8
%106 = load i64, ptr %21, align 8
%107 = getelementptr inbounds float, ptr %105, i64 %106
store float %104, ptr %107, align 4
br label %115
108: ; preds = %99
%109 = load ptr, ptr %17, align 8
%110 = load i64, ptr %21, align 8
%111 = getelementptr inbounds i8, ptr %109, i64 %110
store i8 1, ptr %111, align 1
%112 = load ptr, ptr %19, align 8
%113 = load i64, ptr %21, align 8
%114 = getelementptr inbounds float, ptr %112, i64 %113
store float 0xB8A83E26C0000000, ptr %114, align 4
br label %115
115: ; preds = %108, %103
br label %120
116: ; preds = %95
%117 = load ptr, ptr %19, align 8
%118 = load i64, ptr %21, align 8
%119 = getelementptr inbounds float, ptr %117, i64 %118
store float 0.000000e+00, ptr %119, align 4
br label %120
120: ; preds = %116, %115
br label %129
121: ; preds = %90
%122 = load ptr, ptr %11, align 8
%123 = load i64, ptr %21, align 8
%124 = getelementptr inbounds float, ptr %122, i64 %123
%125 = load float, ptr %124, align 4
%126 = load ptr, ptr %19, align 8
%127 = load i64, ptr %21, align 8
%128 = getelementptr inbounds float, ptr %126, i64 %127
store float %125, ptr %128, align 4
br label %129
129: ; preds = %121, %120
br label %130
130: ; preds = %129
%131 = load i64, ptr %21, align 8
%132 = add nsw i64 %131, 1
store i64 %132, ptr %21, align 8
%133 = load ptr, ptr %22, align 8
%134 = getelementptr inbounds i16, ptr %133, i64 2
store ptr %134, ptr %22, align 8
br label %71, !llvm.loop !8
135: ; preds = %71
br label %209
136: ; preds = %67, %61
store i64 0, ptr %21, align 8
br label %137
137: ; preds = %203, %136
%138 = load i64, ptr %21, align 8
%139 = load i64, ptr %12, align 8
%140 = icmp slt i64 %138, %139
br i1 %140, label %141, label %208
141: ; preds = %137
%142 = load ptr, ptr %22, align 8
%143 = load i16, ptr %142, align 2
%144 = sext i16 %143 to i32
%145 = and i32 %144, 32640
%146 = icmp eq i32 %145, 32640
br i1 %146, label %147, label %148
147: ; preds = %141
br label %156
148: ; preds = %141
%149 = load ptr, ptr %22, align 8
%150 = load i16, ptr %149, align 2
%151 = sext i16 %150 to i32
%152 = and i32 %151, 32640
%153 = icmp eq i32 %152, 0
%154 = zext i1 %153 to i64
%155 = select i1 %153, i32 2, i32 0
br label %156
156: ; preds = %148, %147
%157 = phi i32 [ 1, %147 ], [ %155, %148 ]
%158 = trunc i32 %157 to i16
store i16 %158, ptr %23, align 2
%159 = sext i16 %158 to i32
%160 = icmp ne i32 0, %159
br i1 %160, label %161, label %189
161: ; preds = %156
%162 = load i16, ptr %23, align 2
%163 = sext i16 %162 to i32
%164 = icmp eq i32 %163, 1
br i1 %164, label %165, label %182
165: ; preds = %161
%166 = load ptr, ptr %18, align 8
store i32 1, ptr %166, align 4
%167 = load i32, ptr %15, align 4
%168 = icmp eq i32 %167, 1
br i1 %168, label %169, label %174
169: ; preds = %165
%170 = load float, ptr %16, align 4
%171 = load ptr, ptr %19, align 8
%172 = load i64, ptr %21, align 8
%173 = getelementptr inbounds float, ptr %171, i64 %172
store float %170, ptr %173, align 4
br label %181
174: ; preds = %165
%175 = load ptr, ptr %17, align 8
%176 = load i64, ptr %21, align 8
%177 = getelementptr inbounds i8, ptr %175, i64 %176
store i8 1, ptr %177, align 1
%178 = load ptr, ptr %19, align 8
%179 = load i64, ptr %21, align 8
%180 = getelementptr inbounds float, ptr %178, i64 %179
store float 0xB8A83E26C0000000, ptr %180, align 4
br label %181
181: ; preds = %174, %169
br label %188
182: ; preds = %161
%183 = load double, ptr %14, align 8
%184 = fptrunc double %183 to float
%185 = load ptr, ptr %19, align 8
%186 = load i64, ptr %21, align 8
%187 = getelementptr inbounds float, ptr %185, i64 %186
store float %184, ptr %187, align 4
br label %188
188: ; preds = %182, %181
br label %202
189: ; preds = %156
%190 = load ptr, ptr %11, align 8
%191 = load i64, ptr %21, align 8
%192 = getelementptr inbounds float, ptr %190, i64 %191
%193 = load float, ptr %192, align 4
%194 = fpext float %193 to double
%195 = load double, ptr %13, align 8
%196 = load double, ptr %14, align 8
%197 = call double @llvm.fmuladd.f64(double %194, double %195, double %196)
%198 = fptrunc double %197 to float
%199 = load ptr, ptr %19, align 8
%200 = load i64, ptr %21, align 8
%201 = getelementptr inbounds float, ptr %199, i64 %200
store float %198, ptr %201, align 4
br label %202
202: ; preds = %189, %188
br label %203
203: ; preds = %202
%204 = load i64, ptr %21, align 8
%205 = add nsw i64 %204, 1
store i64 %205, ptr %21, align 8
%206 = load ptr, ptr %22, align 8
%207 = getelementptr inbounds i16, ptr %206, i64 2
store ptr %207, ptr %22, align 8
br label %137, !llvm.loop !9
208: ; preds = %137
br label %209
209: ; preds = %208, %135
br label %210
210: ; preds = %209, %60
%211 = load ptr, ptr %20, align 8
%212 = load i32, ptr %211, align 4
ret i32 %212
}
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4djh4u2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fffr4r4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, float noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca float, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca ptr, align 8
%23 = alloca i16, align 2
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store double %2, ptr %13, align 8
store double %3, ptr %14, align 8
store i32 %4, ptr %15, align 4
store float %5, ptr %16, align 4
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%24 = load i32, ptr %15, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %63
26: ; preds = %10
%27 = load double, ptr %13, align 8
%28 = fcmp oeq double %27, 1.000000e+00
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load double, ptr %14, align 8
%31 = fcmp oeq double %30, 0.000000e+00
br i1 %31, label %32, label %38
32: ; preds = %29
%33 = load ptr, ptr %19, align 8
%34 = load ptr, ptr %11, align 8
%35 = load i64, ptr %12, align 8
%36 = mul i64 %35, 4
%37 = call i32 @memmove(ptr noundef %33, ptr noundef %34, i64 noundef %36)
br label %62
38: ; preds = %29, %26
store i64 0, ptr %21, align 8
%39 = load i64, ptr %21, align 8
%40 = load i64, ptr %12, align 8
%41 = icmp slt i64 %39, %40
br i1 %41, label %.lr.ph5, label %61
.lr.ph5: ; preds = %38
br label %42
42: ; preds = %.lr.ph5, %55
%43 = load ptr, ptr %11, align 8
%44 = load i64, ptr %21, align 8
%45 = getelementptr inbounds float, ptr %43, i64 %44
%46 = load float, ptr %45, align 4
%47 = fpext float %46 to double
%48 = load double, ptr %13, align 8
%49 = load double, ptr %14, align 8
%50 = call double @llvm.fmuladd.f64(double %47, double %48, double %49)
%51 = fptrunc double %50 to float
%52 = load ptr, ptr %19, align 8
%53 = load i64, ptr %21, align 8
%54 = getelementptr inbounds float, ptr %52, i64 %53
store float %51, ptr %54, align 4
br label %55
55: ; preds = %42
%56 = load i64, ptr %21, align 8
%57 = add nsw i64 %56, 1
store i64 %57, ptr %21, align 8
%58 = load i64, ptr %21, align 8
%59 = load i64, ptr %12, align 8
%60 = icmp slt i64 %58, %59
br i1 %60, label %42, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %55
br label %61
61: ; preds = %._crit_edge6, %38
br label %62
62: ; preds = %61, %32
br label %216
63: ; preds = %10
%64 = load ptr, ptr %11, align 8
store ptr %64, ptr %22, align 8
%65 = load ptr, ptr %22, align 8
%66 = getelementptr inbounds i16, ptr %65, i32 1
store ptr %66, ptr %22, align 8
%67 = load double, ptr %13, align 8
%68 = fcmp oeq double %67, 1.000000e+00
br i1 %68, label %69, label %140
69: ; preds = %63
%70 = load double, ptr %14, align 8
%71 = fcmp oeq double %70, 0.000000e+00
br i1 %71, label %72, label %140
72: ; preds = %69
store i64 0, ptr %21, align 8
%73 = load i64, ptr %21, align 8
%74 = load i64, ptr %12, align 8
%75 = icmp slt i64 %73, %74
br i1 %75, label %.lr.ph2, label %139
.lr.ph2: ; preds = %72
br label %76
76: ; preds = %.lr.ph2, %131
%77 = load ptr, ptr %22, align 8
%78 = load i16, ptr %77, align 2
%79 = sext i16 %78 to i32
%80 = and i32 %79, 32640
%81 = icmp eq i32 %80, 32640
br i1 %81, label %82, label %83
82: ; preds = %76
br label %91
83: ; preds = %76
%84 = load ptr, ptr %22, align 8
%85 = load i16, ptr %84, align 2
%86 = sext i16 %85 to i32
%87 = and i32 %86, 32640
%88 = icmp eq i32 %87, 0
%89 = zext i1 %88 to i64
%90 = select i1 %88, i32 2, i32 0
br label %91
91: ; preds = %83, %82
%92 = phi i32 [ 1, %82 ], [ %90, %83 ]
%93 = trunc i32 %92 to i16
store i16 %93, ptr %23, align 2
%94 = sext i16 %93 to i32
%95 = icmp ne i32 0, %94
br i1 %95, label %96, label %122
96: ; preds = %91
%97 = load i16, ptr %23, align 2
%98 = sext i16 %97 to i32
%99 = icmp eq i32 %98, 1
br i1 %99, label %100, label %117
100: ; preds = %96
%101 = load ptr, ptr %18, align 8
store i32 1, ptr %101, align 4
%102 = load i32, ptr %15, align 4
%103 = icmp eq i32 %102, 1
br i1 %103, label %104, label %109
104: ; preds = %100
%105 = load float, ptr %16, align 4
%106 = load ptr, ptr %19, align 8
%107 = load i64, ptr %21, align 8
%108 = getelementptr inbounds float, ptr %106, i64 %107
store float %105, ptr %108, align 4
br label %116
109: ; preds = %100
%110 = load ptr, ptr %17, align 8
%111 = load i64, ptr %21, align 8
%112 = getelementptr inbounds i8, ptr %110, i64 %111
store i8 1, ptr %112, align 1
%113 = load ptr, ptr %19, align 8
%114 = load i64, ptr %21, align 8
%115 = getelementptr inbounds float, ptr %113, i64 %114
store float 0xB8A83E26C0000000, ptr %115, align 4
br label %116
116: ; preds = %109, %104
br label %121
117: ; preds = %96
%118 = load ptr, ptr %19, align 8
%119 = load i64, ptr %21, align 8
%120 = getelementptr inbounds float, ptr %118, i64 %119
store float 0.000000e+00, ptr %120, align 4
br label %121
121: ; preds = %117, %116
br label %130
122: ; preds = %91
%123 = load ptr, ptr %11, align 8
%124 = load i64, ptr %21, align 8
%125 = getelementptr inbounds float, ptr %123, i64 %124
%126 = load float, ptr %125, align 4
%127 = load ptr, ptr %19, align 8
%128 = load i64, ptr %21, align 8
%129 = getelementptr inbounds float, ptr %127, i64 %128
store float %126, ptr %129, align 4
br label %130
130: ; preds = %122, %121
br label %131
131: ; preds = %130
%132 = load i64, ptr %21, align 8
%133 = add nsw i64 %132, 1
store i64 %133, ptr %21, align 8
%134 = load ptr, ptr %22, align 8
%135 = getelementptr inbounds i16, ptr %134, i64 2
store ptr %135, ptr %22, align 8
%136 = load i64, ptr %21, align 8
%137 = load i64, ptr %12, align 8
%138 = icmp slt i64 %136, %137
br i1 %138, label %76, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %131
br label %139
139: ; preds = %._crit_edge3, %72
br label %215
140: ; preds = %69, %63
store i64 0, ptr %21, align 8
%141 = load i64, ptr %21, align 8
%142 = load i64, ptr %12, align 8
%143 = icmp slt i64 %141, %142
br i1 %143, label %.lr.ph, label %214
.lr.ph: ; preds = %140
br label %144
144: ; preds = %.lr.ph, %206
%145 = load ptr, ptr %22, align 8
%146 = load i16, ptr %145, align 2
%147 = sext i16 %146 to i32
%148 = and i32 %147, 32640
%149 = icmp eq i32 %148, 32640
br i1 %149, label %150, label %151
150: ; preds = %144
br label %159
151: ; preds = %144
%152 = load ptr, ptr %22, align 8
%153 = load i16, ptr %152, align 2
%154 = sext i16 %153 to i32
%155 = and i32 %154, 32640
%156 = icmp eq i32 %155, 0
%157 = zext i1 %156 to i64
%158 = select i1 %156, i32 2, i32 0
br label %159
159: ; preds = %151, %150
%160 = phi i32 [ 1, %150 ], [ %158, %151 ]
%161 = trunc i32 %160 to i16
store i16 %161, ptr %23, align 2
%162 = sext i16 %161 to i32
%163 = icmp ne i32 0, %162
br i1 %163, label %164, label %192
164: ; preds = %159
%165 = load i16, ptr %23, align 2
%166 = sext i16 %165 to i32
%167 = icmp eq i32 %166, 1
br i1 %167, label %168, label %185
168: ; preds = %164
%169 = load ptr, ptr %18, align 8
store i32 1, ptr %169, align 4
%170 = load i32, ptr %15, align 4
%171 = icmp eq i32 %170, 1
br i1 %171, label %172, label %177
172: ; preds = %168
%173 = load float, ptr %16, align 4
%174 = load ptr, ptr %19, align 8
%175 = load i64, ptr %21, align 8
%176 = getelementptr inbounds float, ptr %174, i64 %175
store float %173, ptr %176, align 4
br label %184
177: ; preds = %168
%178 = load ptr, ptr %17, align 8
%179 = load i64, ptr %21, align 8
%180 = getelementptr inbounds i8, ptr %178, i64 %179
store i8 1, ptr %180, align 1
%181 = load ptr, ptr %19, align 8
%182 = load i64, ptr %21, align 8
%183 = getelementptr inbounds float, ptr %181, i64 %182
store float 0xB8A83E26C0000000, ptr %183, align 4
br label %184
184: ; preds = %177, %172
br label %191
185: ; preds = %164
%186 = load double, ptr %14, align 8
%187 = fptrunc double %186 to float
%188 = load ptr, ptr %19, align 8
%189 = load i64, ptr %21, align 8
%190 = getelementptr inbounds float, ptr %188, i64 %189
store float %187, ptr %190, align 4
br label %191
191: ; preds = %185, %184
br label %205
192: ; preds = %159
%193 = load ptr, ptr %11, align 8
%194 = load i64, ptr %21, align 8
%195 = getelementptr inbounds float, ptr %193, i64 %194
%196 = load float, ptr %195, align 4
%197 = fpext float %196 to double
%198 = load double, ptr %13, align 8
%199 = load double, ptr %14, align 8
%200 = call double @llvm.fmuladd.f64(double %197, double %198, double %199)
%201 = fptrunc double %200 to float
%202 = load ptr, ptr %19, align 8
%203 = load i64, ptr %21, align 8
%204 = getelementptr inbounds float, ptr %202, i64 %203
store float %201, ptr %204, align 4
br label %205
205: ; preds = %192, %191
br label %206
206: ; preds = %205
%207 = load i64, ptr %21, align 8
%208 = add nsw i64 %207, 1
store i64 %208, ptr %21, align 8
%209 = load ptr, ptr %22, align 8
%210 = getelementptr inbounds i16, ptr %209, i64 2
store ptr %210, ptr %22, align 8
%211 = load i64, ptr %21, align 8
%212 = load i64, ptr %12, align 8
%213 = icmp slt i64 %211, %212
br i1 %213, label %144, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %206
br label %214
214: ; preds = %._crit_edge, %140
br label %215
215: ; preds = %214, %139
br label %216
216: ; preds = %215, %62
%217 = load ptr, ptr %20, align 8
%218 = load i32, ptr %217, align 4
ret i32 %218
}
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpl8f5c_gj.c'
source_filename = "/tmp/tmpl8f5c_gj.c"
target datalayout = "e-m:e-p270: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.c = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 2, i32 1, i32 3, i32 1, i32 4, i32 1, i32 5, i32 1], align 16
; 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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [10 x i32], align 16
%7 = alloca [10 x i32], align 16
%8 = alloca [10 x i32], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 10, ptr %5, align 4
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 40, i1 false)
%9 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 0
store i32 1, ptr %9, align 16
%10 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 2
store i32 2, ptr %10, align 8
%11 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 4
store i32 3, ptr %11, align 16
%12 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 6
store i32 4, ptr %12, align 8
%13 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 8
store i32 5, ptr %13, align 16
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.c, i64 40, i1 false)
%14 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
%15 = load i32, ptr %5, align 4
%16 = call i32 @RemoveZeroes(ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%18 = load i32, ptr %5, align 4
%19 = call i32 @RemoveZeroes(ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %5, align 4
%20 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%21 = load i32, ptr %5, align 4
%22 = call i32 @RemoveZeroes(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %5, align 4
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
; 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) #2
declare i32 @RemoveZeroes(ptr noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl8f5c_gj.c"
target datalayout = "e-m:e-p270: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.c = private unnamed_addr constant [10 x i32] [i32 1, i32 1, i32 2, i32 1, i32 3, i32 1, i32 4, i32 1, i32 5, i32 1], align 16
; 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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [10 x i32], align 16
%7 = alloca [10 x i32], align 16
%8 = alloca [10 x i32], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 10, ptr %5, align 4
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 40, i1 false)
%9 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 0
store i32 1, ptr %9, align 16
%10 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 2
store i32 2, ptr %10, align 8
%11 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 4
store i32 3, ptr %11, align 16
%12 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 6
store i32 4, ptr %12, align 8
%13 = getelementptr inbounds [10 x i32], ptr %6, i32 0, i32 8
store i32 5, ptr %13, align 16
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.c, i64 40, i1 false)
%14 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0
%15 = load i32, ptr %5, align 4
%16 = call i32 @RemoveZeroes(ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%18 = load i32, ptr %5, align 4
%19 = call i32 @RemoveZeroes(ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %5, align 4
%20 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0
%21 = load i32, ptr %5, align 4
%22 = call i32 @RemoveZeroes(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %5, align 4
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
; 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) #2
declare i32 @RemoveZeroes(ptr noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplsuwg4u8.c'
source_filename = "/tmp/tmplsuwg4u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"ARGON\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" 1st : 2\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" 2nd : 8\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c" 3rd : 8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Draw_atom_Ar(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = call i32 @glColor3f(double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 5.000000e-01)
%13 = call i32 @Sprint(i32 noundef 22, i32 noundef -20, i32 noundef 2, ptr noundef @.str)
%14 = call i32 @Sprint(i32 noundef 20, i32 noundef 25, i32 noundef 2, ptr noundef @.str.1)
%15 = call i32 @Sprint(i32 noundef 20, i32 noundef 22, i32 noundef 2, ptr noundef @.str.2)
%16 = call i32 @Sprint(i32 noundef 20, i32 noundef 19, i32 noundef 2, ptr noundef @.str.3)
%17 = call i32 @glRotatef(i32 noundef 60, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%18 = call i32 (...) @glPushMatrix()
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = call i32 @glTranslatef(i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%24 = call i32 @glutSolidSphere(i32 noundef 5, i32 noundef 16, i32 noundef 8)
%25 = call i32 (...) @glPushMatrix()
%26 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%27 = load i32, ptr %10, align 4
%28 = call i32 @glRotatef(i32 noundef %27, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%29 = call i32 @glutSolidTorus(double noundef 1.200000e-01, i32 noundef 10, i32 noundef 16, i32 noundef 32)
%30 = call i32 (...) @glPushMatrix()
%31 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 10, i32 noundef 0)
%32 = call i32 @glColor3f(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%33 = call i32 @glutSolidSphere(i32 noundef 1, i32 noundef 16, i32 noundef 8)
%34 = call i32 (...) @glPopMatrix()
%35 = call i32 (...) @glPushMatrix()
%36 = call i32 @glTranslatef(i32 noundef 0, i32 noundef -10, i32 noundef 0)
%37 = call i32 @glColor3f(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%38 = call i32 @glutSolidSphere(i32 noundef 1, i32 noundef 16, i32 noundef 8)
%39 = call i32 (...) @glPopMatrix()
%40 = call i32 (...) @glPopMatrix()
%41 = call i32 (...) @glPushMatrix()
%42 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%43 = call i32 @glRotatef(i32 noundef 25, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%44 = load i32, ptr %10, align 4
%45 = sub nsw i32 360, %44
%46 = call i32 @glRotatef(i32 noundef %45, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%47 = call i32 @glutSolidTorus(double noundef 1.200000e-01, i32 noundef 15, i32 noundef 16, i32 noundef 32)
store i32 0, ptr %11, align 4
br label %48
48: ; preds = %60, %5
%49 = load i32, ptr %11, align 4
%50 = icmp slt i32 %49, 8
br i1 %50, label %51, label %63
51: ; preds = %48
%52 = call i32 (...) @glPushMatrix()
%53 = load i32, ptr %11, align 4
%54 = mul nsw i32 45, %53
%55 = call i32 @glRotatef(i32 noundef %54, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%56 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 15, i32 noundef 0)
%57 = call i32 @glColor3f(double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
%58 = call i32 @glutSolidSphere(i32 noundef 1, i32 noundef 16, i32 noundef 8)
%59 = call i32 (...) @glPopMatrix()
br label %60
60: ; preds = %51
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %11, align 4
br label %48, !llvm.loop !6
63: ; preds = %48
%64 = call i32 (...) @glPopMatrix()
%65 = call i32 (...) @glPushMatrix()
%66 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%67 = call i32 @glRotatef(i32 noundef 25, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%68 = load i32, ptr %10, align 4
%69 = sub nsw i32 270, %68
%70 = call i32 @glRotatef(i32 noundef %69, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%71 = call i32 @glutSolidTorus(double noundef 1.200000e-01, i32 noundef 20, i32 noundef 16, i32 noundef 32)
store i32 0, ptr %11, align 4
br label %72
72: ; preds = %84, %63
%73 = load i32, ptr %11, align 4
%74 = icmp slt i32 %73, 8
br i1 %74, label %75, label %87
75: ; preds = %72
%76 = call i32 (...) @glPushMatrix()
%77 = load i32, ptr %11, align 4
%78 = mul nsw i32 45, %77
%79 = call i32 @glRotatef(i32 noundef %78, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%80 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 20, i32 noundef 0)
%81 = call i32 @glColor3f(double noundef 9.000000e-01, double noundef 5.000000e-01, double noundef 1.000000e-01)
%82 = call i32 @glutSolidSphere(i32 noundef 1, i32 noundef 16, i32 noundef 8)
%83 = call i32 (...) @glPopMatrix()
br label %84
84: ; preds = %75
%85 = load i32, ptr %11, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %11, align 4
br label %72, !llvm.loop !8
87: ; preds = %72
%88 = call i32 (...) @glPopMatrix()
%89 = call i32 (...) @glPopMatrix()
%90 = call i32 (...) @glPopMatrix()
ret void
}
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @Sprint(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @glRotatef(i32 noundef, double noundef, double noundef, double noundef) #1
declare i32 @glPushMatrix(...) #1
declare i32 @glTranslatef(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glutSolidSphere(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glutSolidTorus(double noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glPopMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplsuwg4u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"ARGON\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" 1st : 2\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" 2nd : 8\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c" 3rd : 8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Draw_atom_Ar(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = call i32 @glColor3f(double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 5.000000e-01)
%13 = call i32 @Sprint(i32 noundef 22, i32 noundef -20, i32 noundef 2, ptr noundef @.str)
%14 = call i32 @Sprint(i32 noundef 20, i32 noundef 25, i32 noundef 2, ptr noundef @.str.1)
%15 = call i32 @Sprint(i32 noundef 20, i32 noundef 22, i32 noundef 2, ptr noundef @.str.2)
%16 = call i32 @Sprint(i32 noundef 20, i32 noundef 19, i32 noundef 2, ptr noundef @.str.3)
%17 = call i32 @glRotatef(i32 noundef 60, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%18 = call i32 (...) @glPushMatrix()
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = call i32 @glTranslatef(i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%24 = call i32 @glutSolidSphere(i32 noundef 5, i32 noundef 16, i32 noundef 8)
%25 = call i32 (...) @glPushMatrix()
%26 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%27 = load i32, ptr %10, align 4
%28 = call i32 @glRotatef(i32 noundef %27, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%29 = call i32 @glutSolidTorus(double noundef 1.200000e-01, i32 noundef 10, i32 noundef 16, i32 noundef 32)
%30 = call i32 (...) @glPushMatrix()
%31 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 10, i32 noundef 0)
%32 = call i32 @glColor3f(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%33 = call i32 @glutSolidSphere(i32 noundef 1, i32 noundef 16, i32 noundef 8)
%34 = call i32 (...) @glPopMatrix()
%35 = call i32 (...) @glPushMatrix()
%36 = call i32 @glTranslatef(i32 noundef 0, i32 noundef -10, i32 noundef 0)
%37 = call i32 @glColor3f(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%38 = call i32 @glutSolidSphere(i32 noundef 1, i32 noundef 16, i32 noundef 8)
%39 = call i32 (...) @glPopMatrix()
%40 = call i32 (...) @glPopMatrix()
%41 = call i32 (...) @glPushMatrix()
%42 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%43 = call i32 @glRotatef(i32 noundef 25, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%44 = load i32, ptr %10, align 4
%45 = sub nsw i32 360, %44
%46 = call i32 @glRotatef(i32 noundef %45, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%47 = call i32 @glutSolidTorus(double noundef 1.200000e-01, i32 noundef 15, i32 noundef 16, i32 noundef 32)
store i32 0, ptr %11, align 4
%48 = load i32, ptr %11, align 4
%49 = icmp slt i32 %48, 8
br i1 %49, label %.lr.ph, label %64
.lr.ph: ; preds = %5
br label %50
50: ; preds = %.lr.ph, %59
%51 = call i32 (...) @glPushMatrix()
%52 = load i32, ptr %11, align 4
%53 = mul nsw i32 45, %52
%54 = call i32 @glRotatef(i32 noundef %53, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%55 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 15, i32 noundef 0)
%56 = call i32 @glColor3f(double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
%57 = call i32 @glutSolidSphere(i32 noundef 1, i32 noundef 16, i32 noundef 8)
%58 = call i32 (...) @glPopMatrix()
br label %59
59: ; preds = %50
%60 = load i32, ptr %11, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %11, align 4
%62 = load i32, ptr %11, align 4
%63 = icmp slt i32 %62, 8
br i1 %63, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %64
64: ; preds = %._crit_edge, %5
%65 = call i32 (...) @glPopMatrix()
%66 = call i32 (...) @glPushMatrix()
%67 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%68 = call i32 @glRotatef(i32 noundef 25, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%69 = load i32, ptr %10, align 4
%70 = sub nsw i32 270, %69
%71 = call i32 @glRotatef(i32 noundef %70, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%72 = call i32 @glutSolidTorus(double noundef 1.200000e-01, i32 noundef 20, i32 noundef 16, i32 noundef 32)
store i32 0, ptr %11, align 4
%73 = load i32, ptr %11, align 4
%74 = icmp slt i32 %73, 8
br i1 %74, label %.lr.ph2, label %89
.lr.ph2: ; preds = %64
br label %75
75: ; preds = %.lr.ph2, %84
%76 = call i32 (...) @glPushMatrix()
%77 = load i32, ptr %11, align 4
%78 = mul nsw i32 45, %77
%79 = call i32 @glRotatef(i32 noundef %78, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%80 = call i32 @glTranslatef(i32 noundef 0, i32 noundef 20, i32 noundef 0)
%81 = call i32 @glColor3f(double noundef 9.000000e-01, double noundef 5.000000e-01, double noundef 1.000000e-01)
%82 = call i32 @glutSolidSphere(i32 noundef 1, i32 noundef 16, i32 noundef 8)
%83 = call i32 (...) @glPopMatrix()
br label %84
84: ; preds = %75
%85 = load i32, ptr %11, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %11, align 4
%87 = load i32, ptr %11, align 4
%88 = icmp slt i32 %87, 8
br i1 %88, label %75, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %84
br label %89
89: ; preds = %._crit_edge3, %64
%90 = call i32 (...) @glPopMatrix()
%91 = call i32 (...) @glPopMatrix()
%92 = call i32 (...) @glPopMatrix()
ret void
}
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @Sprint(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @glRotatef(i32 noundef, double noundef, double noundef, double noundef) #1
declare i32 @glPushMatrix(...) #1
declare i32 @glTranslatef(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glutSolidSphere(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glutSolidTorus(double noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glPopMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6fge7pmg.c'
source_filename = "/tmp/tmp6fge7pmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Thread is start.......\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @thread() #0 {
%1 = call i32 @printf(ptr noundef @.str)
br label %2
2: ; preds = %0, %2
br label %2
}
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/tmp6fge7pmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Thread is start.......\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @thread() #0 {
%1 = call i32 @printf(ptr noundef @.str)
br label %2
2: ; preds = %2, %0
br label %2
}
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/tmpd3nqo5j2.c'
source_filename = "/tmp/tmpd3nqo5j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrow01(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 {
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store double %0, ptr %8, align 8
store double %1, ptr %9, align 8
store double %2, ptr %10, align 8
store double %3, ptr %11, align 8
store double %4, ptr %12, align 8
store double %5, ptr %13, align 8
store double %6, ptr %14, align 8
%15 = load double, ptr %14, align 8
%16 = call i32 @linewidth(double noundef %15)
%17 = load double, ptr %13, align 8
%18 = call i32 @setgray(double noundef %17)
%19 = load double, ptr %8, align 8
%20 = load double, ptr %9, align 8
%21 = load double, ptr %10, align 8
%22 = load double, ptr %11, align 8
%23 = load double, ptr %12, align 8
%24 = call i32 @arrow11(double noundef %19, double noundef %20, double noundef %21, double noundef %22, double noundef %23)
%25 = call i32 (...) @default_line_gwt()
ret void
}
declare i32 @linewidth(double noundef) #1
declare i32 @setgray(double noundef) #1
declare i32 @arrow11(double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @default_line_gwt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd3nqo5j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrow01(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 {
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store double %0, ptr %8, align 8
store double %1, ptr %9, align 8
store double %2, ptr %10, align 8
store double %3, ptr %11, align 8
store double %4, ptr %12, align 8
store double %5, ptr %13, align 8
store double %6, ptr %14, align 8
%15 = load double, ptr %14, align 8
%16 = call i32 @linewidth(double noundef %15)
%17 = load double, ptr %13, align 8
%18 = call i32 @setgray(double noundef %17)
%19 = load double, ptr %8, align 8
%20 = load double, ptr %9, align 8
%21 = load double, ptr %10, align 8
%22 = load double, ptr %11, align 8
%23 = load double, ptr %12, align 8
%24 = call i32 @arrow11(double noundef %19, double noundef %20, double noundef %21, double noundef %22, double noundef %23)
%25 = call i32 (...) @default_line_gwt()
ret void
}
declare i32 @linewidth(double noundef) #1
declare i32 @setgray(double noundef) #1
declare i32 @arrow11(double noundef, double noundef, double noundef, double noundef, double noundef) #1
declare i32 @default_line_gwt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjpntm0z4.c'
source_filename = "/tmp/tmpjpntm0z4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @led_on() #0 {
%1 = call i32 @gpio_output(i32 noundef 9, i32 noundef 10, i32 noundef 1)
ret void
}
declare i32 @gpio_output(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjpntm0z4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @led_on() #0 {
%1 = call i32 @gpio_output(i32 noundef 9, i32 noundef 10, i32 noundef 1)
ret void
}
declare i32 @gpio_output(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgza26g3t.c'
source_filename = "/tmp/tmpgza26g3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sqrt_newton1(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 0, ptr %4, align 8
%8 = load i64, ptr %3, align 8
store i64 %8, ptr %5, align 8
br label %9
9: ; preds = %36, %1
%10 = load i64, ptr %4, align 8
%11 = add i64 %10, 1
%12 = load i64, ptr %5, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %37
14: ; preds = %9
%15 = load i64, ptr %4, align 8
%16 = load i64, ptr %5, align 8
%17 = add i64 %15, %16
%18 = lshr i64 %17, 1
store i64 %18, ptr %6, align 8
%19 = load i64, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = mul i64 %19, %20
store i64 %21, ptr %7, align 8
%22 = load i64, ptr %7, align 8
%23 = load i64, ptr %3, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %27
25: ; preds = %14
%26 = load i64, ptr %6, align 8
store i64 %26, ptr %2, align 8
br label %39
27: ; preds = %14
%28 = load i64, ptr %7, align 8
%29 = load i64, ptr %3, align 8
%30 = icmp ugt i64 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load i64, ptr %6, align 8
store i64 %32, ptr %5, align 8
br label %35
33: ; preds = %27
%34 = load i64, ptr %6, align 8
store i64 %34, ptr %4, align 8
br label %35
35: ; preds = %33, %31
br label %36
36: ; preds = %35
br label %9, !llvm.loop !6
37: ; preds = %9
%38 = load i64, ptr %4, align 8
store i64 %38, ptr %2, align 8
br label %39
39: ; preds = %37, %25
%40 = load i64, ptr %2, align 8
ret i64 %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgza26g3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sqrt_newton1(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 0, ptr %4, align 8
%8 = load i64, ptr %3, align 8
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %4, align 8
%10 = add i64 %9, 1
%11 = load i64, ptr %5, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %40
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %35
%14 = load i64, ptr %4, align 8
%15 = load i64, ptr %5, align 8
%16 = add i64 %14, %15
%17 = lshr i64 %16, 1
store i64 %17, ptr %6, align 8
%18 = load i64, ptr %6, align 8
%19 = load i64, ptr %6, align 8
%20 = mul i64 %18, %19
store i64 %20, ptr %7, align 8
%21 = load i64, ptr %7, align 8
%22 = load i64, ptr %3, align 8
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %13
%25 = load i64, ptr %6, align 8
store i64 %25, ptr %2, align 8
br label %42
26: ; preds = %13
%27 = load i64, ptr %7, align 8
%28 = load i64, ptr %3, align 8
%29 = icmp ugt i64 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = load i64, ptr %6, align 8
store i64 %31, ptr %5, align 8
br label %34
32: ; preds = %26
%33 = load i64, ptr %6, align 8
store i64 %33, ptr %4, align 8
br label %34
34: ; preds = %32, %30
br label %35
35: ; preds = %34
%36 = load i64, ptr %4, align 8
%37 = add i64 %36, 1
%38 = load i64, ptr %5, align 8
%39 = icmp ult i64 %37, %38
br i1 %39, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %1
%41 = load i64, ptr %4, align 8
store i64 %41, ptr %2, align 8
br label %42
42: ; preds = %40, %24
%43 = load i64, ptr %2, align 8
ret i64 %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsvkt6f1a.c'
source_filename = "/tmp/tmpsvkt6f1a.c"
target datalayout = "e-m:e-p270: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/tmpsvkt6f1a.c"
target datalayout = "e-m:e-p270: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/tmp1pxdj5gt.c'
source_filename = "/tmp/tmp1pxdj5gt.c"
target datalayout = "e-m:e-p270: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/tmp1pxdj5gt.c"
target datalayout = "e-m:e-p270: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/tmpcym47n4o.c'
source_filename = "/tmp/tmpcym47n4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @leseGrafikKartenGammaCG(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %7, align 8
ret ptr %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcym47n4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @leseGrafikKartenGammaCG(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %7, align 8
%8 = load ptr, ptr %7, align 8
ret ptr %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp32vgsqgs.c'
source_filename = "/tmp/tmp32vgsqgs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %14 [
i32 4, label %4
]
4: ; preds = %1
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 3
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 5
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 (...) @bar()
br label %12
12: ; preds = %10, %7
br label %13
13: ; preds = %12, %4
br label %14
14: ; preds = %13, %1
ret void
}
declare i32 @bar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp32vgsqgs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %14 [
i32 4, label %4
]
4: ; preds = %1
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 3
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 5
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 (...) @bar()
br label %12
12: ; preds = %10, %7
br label %13
13: ; preds = %12, %4
br label %14
14: ; preds = %13, %1
ret void
}
declare i32 @bar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmurbqukf.c'
source_filename = "/tmp/tmpmurbqukf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @symstr_create(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [128 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %8, align 4
%10 = call ptr (...) @symstr_new()
store ptr %10, ptr %5, align 8
br label %11
11: ; preds = %97, %2
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %8, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %101
19: ; preds = %11
br label %20
20: ; preds = %39, %19
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = call i64 @isspace(i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %20
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br label %37
37: ; preds = %29, %20
%38 = phi i1 [ false, %20 ], [ %36, %29 ]
br i1 %38, label %39, label %42
39: ; preds = %37
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
br label %20, !llvm.loop !6
42: ; preds = %37
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %42
br label %101
51: ; preds = %42
store i32 0, ptr %9, align 4
br label %52
52: ; preds = %74, %51
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = call i64 @isspace(i32 noundef %58)
%60 = icmp ne i64 %59, 0
br i1 %60, label %72, label %61
61: ; preds = %52
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %8, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = load i32, ptr %9, align 4
%71 = icmp slt i32 %70, 128
br label %72
72: ; preds = %69, %61, %52
%73 = phi i1 [ false, %61 ], [ false, %52 ], [ %71, %69 ]
br i1 %73, label %74, label %85
74: ; preds = %72
%75 = load ptr, ptr %4, align 8
%76 = load i32, ptr %8, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %8, align 4
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
%80 = load i8, ptr %79, align 1
%81 = load i32, ptr %9, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %9, align 4
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %83
store i8 %80, ptr %84, align 1
br label %52, !llvm.loop !8
85: ; preds = %72
%86 = load i32, ptr %9, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %87
store i8 0, ptr %88, align 1
%89 = load ptr, ptr %3, align 8
%90 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%91 = call ptr @symbol_lookup(ptr noundef %89, ptr noundef %90)
store ptr %91, ptr %6, align 8
%92 = icmp eq ptr %91, null
br i1 %92, label %93, label %97
93: ; preds = %85
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%96 = call ptr @symbol_define(ptr noundef %94, ptr noundef %95, i32 noundef 0)
store ptr %96, ptr %6, align 8
br label %97
97: ; preds = %93, %85
%98 = load ptr, ptr %5, align 8
%99 = load ptr, ptr %6, align 8
%100 = call i32 @symstr_append(ptr noundef %98, ptr noundef %99, ptr noundef null, i32 noundef 0, i32 noundef 0)
br label %11, !llvm.loop !9
101: ; preds = %50, %11
%102 = load ptr, ptr %5, align 8
ret ptr %102
}
declare ptr @symstr_new(...) #1
declare i64 @isspace(i32 noundef) #1
declare ptr @symbol_lookup(ptr noundef, ptr noundef) #1
declare ptr @symbol_define(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @symstr_append(ptr noundef, ptr 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmurbqukf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @symstr_create(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [128 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %8, align 4
%10 = call ptr (...) @symstr_new()
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %8, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %96
br label %19
19: ; preds = %38, %18
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = call i64 @isspace(i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %19
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br label %36
36: ; preds = %28, %19
%37 = phi i1 [ false, %19 ], [ %35, %28 ]
br i1 %37, label %38, label %41
38: ; preds = %36
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
br label %19, !llvm.loop !6
41: ; preds = %36
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %41
br label %107
50: ; preds = %41
store i32 0, ptr %9, align 4
br label %51
51: ; preds = %73, %50
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = call i64 @isspace(i32 noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %71, label %60
60: ; preds = %51
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %8, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %60
%69 = load i32, ptr %9, align 4
%70 = icmp slt i32 %69, 128
br label %71
71: ; preds = %68, %60, %51
%72 = phi i1 [ false, %60 ], [ false, %51 ], [ %70, %68 ]
br i1 %72, label %73, label %84
73: ; preds = %71
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %8, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %8, align 4
%77 = sext i32 %75 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
%79 = load i8, ptr %78, align 1
%80 = load i32, ptr %9, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %9, align 4
%82 = sext i32 %80 to i64
%83 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %82
store i8 %79, ptr %83, align 1
br label %51, !llvm.loop !8
84: ; preds = %71
%85 = load i32, ptr %9, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %86
store i8 0, ptr %87, align 1
%88 = load ptr, ptr %3, align 8
%89 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%90 = call ptr @symbol_lookup(ptr noundef %88, ptr noundef %89)
store ptr %90, ptr %6, align 8
%91 = icmp eq ptr %90, null
br i1 %91, label %92, label %96
92: ; preds = %84
%93 = load ptr, ptr %3, align 8
%94 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%95 = call ptr @symbol_define(ptr noundef %93, ptr noundef %94, i32 noundef 0)
store ptr %95, ptr %6, align 8
br label %96
96: ; preds = %92, %84
%97 = load ptr, ptr %5, align 8
%98 = load ptr, ptr %6, align 8
%99 = call i32 @symstr_append(ptr noundef %97, ptr noundef %98, ptr noundef null, i32 noundef 0, i32 noundef 0)
%100 = load ptr, ptr %4, align 8
%101 = load i32, ptr %8, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp ne i32 %105, 0
br i1 %106, label %18, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %96
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %107
107: ; preds = %.loopexit, %49
%108 = load ptr, ptr %5, align 8
ret ptr %108
}
declare ptr @symstr_new(...) #1
declare i64 @isspace(i32 noundef) #1
declare ptr @symbol_lookup(ptr noundef, ptr noundef) #1
declare ptr @symbol_define(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @symstr_append(ptr noundef, ptr 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp_wjjm0_r.c'
source_filename = "/tmp/tmp_wjjm0_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFD = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @io_nonblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @F_GETFD, align 4
%7 = call i32 (i32, i32, ...) @fcntl(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 -1, ptr %2, align 4
br label %18
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @F_SETFD, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr @O_NONBLOCK, align 4
%16 = or i32 %14, %15
%17 = call i32 (i32, i32, ...) @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %16)
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %11, %10
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @fcntl(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/tmp_wjjm0_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFD = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @io_nonblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @F_GETFD, align 4
%7 = call i32 (i32, i32, ...) @fcntl(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 -1, ptr %2, align 4
br label %18
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @F_SETFD, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr @O_NONBLOCK, align 4
%16 = or i32 %14, %15
%17 = call i32 (i32, i32, ...) @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %16)
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %11, %10
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @fcntl(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/tmpzbijw1zd.c'
source_filename = "/tmp/tmpzbijw1zd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \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
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sub nsw i32 %4, 1
store i32 %5, ptr %3, align 4
br label %6
6: ; preds = %15, %0
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
%9 = zext i1 %8 to i32
%10 = load i32, ptr %3, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzbijw1zd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \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
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sub nsw i32 %4, 1
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
%8 = zext i1 %7 to i32
%9 = load i32, ptr %3, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %14
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = sub nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp sgt i32 %19, 0
%21 = zext i1 %20 to i32
%22 = load i32, ptr %3, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %24
24: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvl7wwewy.c'
source_filename = "/tmp/tmpvl7wwewy.c"
target datalayout = "e-m:e-p270: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 [44 x i8] c"%s/Library/Preferences/org.monome.serialosc\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sosc_get_config_directory() #0 {
%1 = call i32 @getenv(ptr noundef @.str.1)
%2 = call ptr @s_asprintf(ptr noundef @.str, i32 noundef %1)
ret ptr %2
}
declare ptr @s_asprintf(ptr noundef, i32 noundef) #1
declare i32 @getenv(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/tmpvl7wwewy.c"
target datalayout = "e-m:e-p270: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 [44 x i8] c"%s/Library/Preferences/org.monome.serialosc\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sosc_get_config_directory() #0 {
%1 = call i32 @getenv(ptr noundef @.str.1)
%2 = call ptr @s_asprintf(ptr noundef @.str, i32 noundef %1)
ret ptr %2
}
declare ptr @s_asprintf(ptr noundef, i32 noundef) #1
declare i32 @getenv(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/tmpe3_piu4u.c'
source_filename = "/tmp/tmpe3_piu4u.c"
target datalayout = "e-m:e-p270: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/tmpe3_piu4u.c"
target datalayout = "e-m:e-p270: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/tmpddhpb5hm.c'
source_filename = "/tmp/tmpddhpb5hm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @soru_1() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc_helper_fake_malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store i32 1234, ptr %4, align 4
%5 = load ptr, ptr %1, align 8
%6 = call i32 @malloc_helper_fake_free(ptr noundef %5)
ret void
}
declare i64 @malloc_helper_fake_malloc(i32 noundef) #1
declare i32 @malloc_helper_fake_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/tmpddhpb5hm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @soru_1() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc_helper_fake_malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store i32 1234, ptr %4, align 4
%5 = load ptr, ptr %1, align 8
%6 = call i32 @malloc_helper_fake_free(ptr noundef %5)
ret void
}
declare i64 @malloc_helper_fake_malloc(i32 noundef) #1
declare i32 @malloc_helper_fake_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/tmpos6z1p1d.c'
source_filename = "/tmp/tmpos6z1p1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_LOCK = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = 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/tmpos6z1p1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_LOCK = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = 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/tmp_lt4hgpi.c'
source_filename = "/tmp/tmp_lt4hgpi.c"
target datalayout = "e-m:e-p270: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 [74 x i8] c"\0ATISEAN 3.0.1 (C) R. Hegger, H. Kantz, T. Schreiber (1998-2007)\0A\0A%s: %s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @what_i_do(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_lt4hgpi.c"
target datalayout = "e-m:e-p270: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 [74 x i8] c"\0ATISEAN 3.0.1 (C) R. Hegger, H. Kantz, T. Schreiber (1998-2007)\0A\0A%s: %s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @what_i_do(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0jb6s7xy.c'
source_filename = "/tmp/tmp0jb6s7xy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s\09%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"incl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgincgw(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 @sgen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
ret void
}
declare i32 @sgen(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/tmp0jb6s7xy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s\09%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"incl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgincgw(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 @sgen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
ret void
}
declare i32 @sgen(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/tmp0hfg1um7.c'
source_filename = "/tmp/tmp0hfg1um7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normVect(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds double, ptr %3, i64 0
%5 = load double, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds double, ptr %6, i64 0
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds double, ptr %9, i64 1
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds double, ptr %12, i64 1
%14 = load double, ptr %13, align 8
%15 = fmul double %11, %14
%16 = call double @llvm.fmuladd.f64(double %5, double %8, double %15)
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds double, ptr %17, i64 2
%19 = load double, ptr %18, align 8
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds double, ptr %20, i64 2
%22 = load double, ptr %21, align 8
%23 = call double @llvm.fmuladd.f64(double %19, double %22, double %16)
%24 = call double @sqrt(double noundef %23) #3
ret double %24
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0hfg1um7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normVect(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds double, ptr %3, i64 0
%5 = load double, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds double, ptr %6, i64 0
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds double, ptr %9, i64 1
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds double, ptr %12, i64 1
%14 = load double, ptr %13, align 8
%15 = fmul double %11, %14
%16 = call double @llvm.fmuladd.f64(double %5, double %8, double %15)
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds double, ptr %17, i64 2
%19 = load double, ptr %18, align 8
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds double, ptr %20, i64 2
%22 = load double, ptr %21, align 8
%23 = call double @llvm.fmuladd.f64(double %19, double %22, double %16)
%24 = call double @sqrt(double noundef %23) #3
ret double %24
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi49f7wah.c'
source_filename = "/tmp/tmpi49f7wah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmComputeVectorLength2d(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds double, ptr %3, i64 0
%5 = load double, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds double, ptr %6, i64 0
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds double, ptr %9, i64 1
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds double, ptr %12, i64 1
%14 = load double, ptr %13, align 8
%15 = fmul double %11, %14
%16 = call double @llvm.fmuladd.f64(double %5, double %8, double %15)
%17 = call double @sqrt(double noundef %16) #3
ret double %17
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi49f7wah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmComputeVectorLength2d(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds double, ptr %3, i64 0
%5 = load double, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds double, ptr %6, i64 0
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds double, ptr %9, i64 1
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds double, ptr %12, i64 1
%14 = load double, ptr %13, align 8
%15 = fmul double %11, %14
%16 = call double @llvm.fmuladd.f64(double %5, double %8, double %15)
%17 = call double @sqrt(double noundef %16) #3
ret double %17
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgy5ubnnh.c'
source_filename = "/tmp/tmpgy5ubnnh.c"
target datalayout = "e-m:e-p270: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/tmpgy5ubnnh.c"
target datalayout = "e-m:e-p270: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/tmpua2m7w2l.c'
source_filename = "/tmp/tmpua2m7w2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intPtrFromInt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
store i32 %5, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpua2m7w2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intPtrFromInt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
store i32 %5, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw2q0kcvl.c'
source_filename = "/tmp/tmpw2q0kcvl.c"
target datalayout = "e-m:e-p270: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.in_path = private unnamed_addr constant [512 x i8] c"inf.txt\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.out_path = private unnamed_addr constant [512 x i8] c"remove_inf.bat\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"-o\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-i\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-v\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 i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [512 x i8], align 16
%10 = alloca [512 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
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store ptr null, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.in_path, i64 512, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.out_path, i64 512, i1 false)
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @help()
store i32 0, ptr %3, align 4
br label %76
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
store ptr %17, ptr %8, align 8
br label %18
18: ; preds = %68, %15
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %19, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %71
22: ; preds = %18
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %23, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %40
27: ; preds = %22
%28 = load ptr, ptr %8, align 8
%29 = getelementptr inbounds ptr, ptr %28, i32 1
store ptr %29, ptr %8, align 8
%30 = load ptr, ptr %8, align 8
%31 = load ptr, ptr %30, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %38
33: ; preds = %27
%34 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %35, align 8
%37 = call i32 @strcpy(ptr noundef %34, ptr noundef %36)
br label %39
38: ; preds = %27
br label %71
39: ; preds = %33
br label %67
40: ; preds = %22
%41 = load ptr, ptr %8, align 8
%42 = load ptr, ptr %41, align 8
%43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str.1)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %58
45: ; preds = %40
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds ptr, ptr %46, i32 1
store ptr %47, ptr %8, align 8
%48 = load ptr, ptr %8, align 8
%49 = load ptr, ptr %48, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %56
51: ; preds = %45
%52 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%53 = load ptr, ptr %8, align 8
%54 = load ptr, ptr %53, align 8
%55 = call i32 @strcpy(ptr noundef %52, ptr noundef %54)
br label %57
56: ; preds = %45
br label %71
57: ; preds = %51
br label %66
58: ; preds = %40
%59 = load ptr, ptr %8, align 8
%60 = load ptr, ptr %59, align 8
%61 = call i64 @strcmp(ptr noundef %60, ptr noundef @.str.2)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %58
%64 = call i32 (...) @help()
store i32 0, ptr %3, align 4
br label %76
65: ; preds = %58
br label %66
66: ; preds = %65, %57
br label %67
67: ; preds = %66, %39
br label %68
68: ; preds = %67
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds ptr, ptr %69, i32 1
store ptr %70, ptr %8, align 8
br label %18, !llvm.loop !6
71: ; preds = %56, %38, %18
%72 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%73 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0
%74 = call i32 @pnpremove(ptr noundef %72, ptr noundef %73)
%75 = load i32, ptr %6, align 4
store i32 %75, ptr %3, align 4
br label %76
76: ; preds = %71, %63, %13
%77 = load i32, ptr %3, 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 @help(...) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @pnpremove(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2q0kcvl.c"
target datalayout = "e-m:e-p270: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.in_path = private unnamed_addr constant [512 x i8] c"inf.txt\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.out_path = private unnamed_addr constant [512 x i8] c"remove_inf.bat\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"-o\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-i\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-v\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 i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [512 x i8], align 16
%10 = alloca [512 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
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store ptr null, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.in_path, i64 512, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.out_path, i64 512, i1 false)
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @help()
store i32 0, ptr %3, align 4
br label %78
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %18, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %15
br label %21
21: ; preds = %.lr.ph, %67
%22 = load ptr, ptr %8, align 8
%23 = load ptr, ptr %22, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %39
26: ; preds = %21
%27 = load ptr, ptr %8, align 8
%28 = getelementptr inbounds ptr, ptr %27, i32 1
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %29, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %37
32: ; preds = %26
%33 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %34, align 8
%36 = call i32 @strcpy(ptr noundef %33, ptr noundef %35)
br label %38
37: ; preds = %26
br label %73
38: ; preds = %32
br label %66
39: ; preds = %21
%40 = load ptr, ptr %8, align 8
%41 = load ptr, ptr %40, align 8
%42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str.1)
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %57
44: ; preds = %39
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds ptr, ptr %45, i32 1
store ptr %46, ptr %8, align 8
%47 = load ptr, ptr %8, align 8
%48 = load ptr, ptr %47, align 8
%49 = icmp ne ptr %48, null
br i1 %49, label %50, label %55
50: ; preds = %44
%51 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%52 = load ptr, ptr %8, align 8
%53 = load ptr, ptr %52, align 8
%54 = call i32 @strcpy(ptr noundef %51, ptr noundef %53)
br label %56
55: ; preds = %44
br label %73
56: ; preds = %50
br label %65
57: ; preds = %39
%58 = load ptr, ptr %8, align 8
%59 = load ptr, ptr %58, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.2)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %57
%63 = call i32 (...) @help()
store i32 0, ptr %3, align 4
br label %78
64: ; preds = %57
br label %65
65: ; preds = %64, %56
br label %66
66: ; preds = %65, %38
br label %67
67: ; preds = %66
%68 = load ptr, ptr %8, align 8
%69 = getelementptr inbounds ptr, ptr %68, i32 1
store ptr %69, ptr %8, align 8
%70 = load ptr, ptr %8, align 8
%71 = load ptr, ptr %70, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %21, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %67
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %15
br label %73
73: ; preds = %.loopexit, %55, %37
%74 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%75 = getelementptr inbounds [512 x i8], ptr %10, i64 0, i64 0
%76 = call i32 @pnpremove(ptr noundef %74, ptr noundef %75)
%77 = load i32, ptr %6, align 4
store i32 %77, ptr %3, align 4
br label %78
78: ; preds = %73, %62, %13
%79 = load i32, ptr %3, 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 @help(...) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @pnpremove(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz5_12aap.c'
source_filename = "/tmp/tmpz5_12aap.c"
target datalayout = "e-m:e-p270: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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %8, %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %2, align 4
br label %8
8: ; preds = %3
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %3, label %11, !llvm.loop !6
11: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz5_12aap.c"
target datalayout = "e-m:e-p270: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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %8, %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %2, align 4
br label %8
8: ; preds = %3
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %3, label %11, !llvm.loop !6
11: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0116wjja.c'
source_filename = "/tmp/tmp0116wjja.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"Hello World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %6
6: ; preds = %2, %6
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fflush(i32 noundef %9)
br label %6
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0116wjja.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"Hello World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %6
6: ; preds = %6, %2
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fflush(i32 noundef %9)
br label %6
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv82fwled.c'
source_filename = "/tmp/tmpv82fwled.c"
target datalayout = "e-m:e-p270: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/tmpv82fwled.c"
target datalayout = "e-m:e-p270: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/tmpso08kow6.c'
source_filename = "/tmp/tmpso08kow6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MFD_ALLOW_SEALING = dso_local global i32 0, align 4
@MFD_CLOEXEC = 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/tmpso08kow6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MFD_ALLOW_SEALING = dso_local global i32 0, align 4
@MFD_CLOEXEC = 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/tmpnr8nj479.c'
source_filename = "/tmp/tmpnr8nj479.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@f_type.st = internal global %struct.stat zeroinitializer, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f_type(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @stat(ptr noundef %4, ptr noundef @f_type.st)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %20
8: ; preds = %1
%9 = load i32, ptr @f_type.st, align 4
%10 = call i64 @S_ISREG(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %20
13: ; preds = %8
%14 = load i32, ptr @f_type.st, align 4
%15 = call i64 @S_ISDIR(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 1, ptr %2, align 4
br label %20
18: ; preds = %13
br label %19
19: ; preds = %18
store i32 -1, ptr %2, align 4
br label %20
20: ; preds = %19, %17, %12, %7
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i64 @S_ISDIR(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/tmpnr8nj479.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@f_type.st = internal global %struct.stat zeroinitializer, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f_type(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @stat(ptr noundef %4, ptr noundef @f_type.st)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %20
8: ; preds = %1
%9 = load i32, ptr @f_type.st, align 4
%10 = call i64 @S_ISREG(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %20
13: ; preds = %8
%14 = load i32, ptr @f_type.st, align 4
%15 = call i64 @S_ISDIR(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 1, ptr %2, align 4
br label %20
18: ; preds = %13
br label %19
19: ; preds = %18
store i32 -1, ptr %2, align 4
br label %20
20: ; preds = %19, %17, %12, %7
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i64 @S_ISDIR(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/tmpgg5ftdcu.c'
source_filename = "/tmp/tmpgg5ftdcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Enter a dollar amount: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"$20 bills: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"$10 bills: %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"$5 bills: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"$1 bills: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = sdiv i32 %9, 20
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = mul nsw i32 20, %12
%14 = sub nsw i32 %11, %13
%15 = sdiv i32 %14, 10
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = mul nsw i32 20, %17
%19 = sub nsw i32 %16, %18
%20 = load i32, ptr %4, align 4
%21 = mul nsw i32 10, %20
%22 = sub nsw i32 %19, %21
%23 = sdiv i32 %22, 5
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = mul nsw i32 20, %25
%27 = sub nsw i32 %24, %26
%28 = load i32, ptr %4, align 4
%29 = mul nsw i32 10, %28
%30 = sub nsw i32 %27, %29
%31 = load i32, ptr %5, align 4
%32 = mul nsw i32 5, %31
%33 = sub nsw i32 %30, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %3, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
%36 = load i32, ptr %4, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36)
%38 = load i32, ptr %5, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %38)
%40 = load i32, ptr %6, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgg5ftdcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Enter a dollar amount: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"$20 bills: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"$10 bills: %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"$5 bills: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"$1 bills: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = sdiv i32 %9, 20
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = mul nsw i32 20, %12
%14 = sub nsw i32 %11, %13
%15 = sdiv i32 %14, 10
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = mul nsw i32 20, %17
%19 = sub nsw i32 %16, %18
%20 = load i32, ptr %4, align 4
%21 = mul nsw i32 10, %20
%22 = sub nsw i32 %19, %21
%23 = sdiv i32 %22, 5
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = mul nsw i32 20, %25
%27 = sub nsw i32 %24, %26
%28 = load i32, ptr %4, align 4
%29 = mul nsw i32 10, %28
%30 = sub nsw i32 %27, %29
%31 = load i32, ptr %5, align 4
%32 = mul nsw i32 5, %31
%33 = sub nsw i32 %30, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %3, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
%36 = load i32, ptr %4, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36)
%38 = load i32, ptr %5, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %38)
%40 = load i32, ptr %6, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg7taw8e_.c'
source_filename = "/tmp/tmpg7taw8e_.c"
target datalayout = "e-m:e-p270: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_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XButtonEvent_button(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmpg7taw8e_.c"
target datalayout = "e-m:e-p270: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_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XButtonEvent_button(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmpgsililds.c'
source_filename = "/tmp/tmpgsililds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @group_update_list(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 @prot_group_download_labels(ptr noundef %3, i32 noundef 0)
ret void
}
declare i32 @prot_group_download_labels(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/tmpgsililds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @group_update_list(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 @prot_group_download_labels(ptr noundef %3, i32 noundef 0)
ret void
}
declare i32 @prot_group_download_labels(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/tmp3mko6f7j.c'
source_filename = "/tmp/tmp3mko6f7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @Test()
ret i32 0
}
declare i32 @Test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3mko6f7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @Test()
ret i32 0
}
declare i32 @Test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuasz2rbr.c'
source_filename = "/tmp/tmpuasz2rbr.c"
target datalayout = "e-m:e-p270: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/tmpuasz2rbr.c"
target datalayout = "e-m:e-p270: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/tmppg0p6jrs.c'
source_filename = "/tmp/tmppg0p6jrs.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"fresh_symbol, prefix is too big.\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fresh_symbol(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [71 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp sgt i32 %8, 51
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @fatal_error(ptr noundef @.str)
br label %12
12: ; preds = %10, %2
br label %13
13: ; preds = %20, %12
%14 = getelementptr inbounds [71 x i8], ptr %5, i64 0, i64 0
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.1, ptr noundef %15, i32 noundef %16)
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %20
20: ; preds = %13
%21 = getelementptr inbounds [71 x i8], ptr %5, i64 0, i64 0
%22 = call i64 @str_exists(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %13, label %24, !llvm.loop !6
24: ; preds = %20
%25 = getelementptr inbounds [71 x i8], ptr %5, i64 0, i64 0
%26 = load i32, ptr %4, align 4
%27 = call i32 @str_to_sn(ptr noundef %25, i32 noundef %26)
ret i32 %27
}
declare i32 @strlen(ptr noundef) #1
declare i32 @fatal_error(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @str_exists(ptr noundef) #1
declare i32 @str_to_sn(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/tmppg0p6jrs.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"fresh_symbol, prefix is too big.\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fresh_symbol(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [71 x i8], align 16
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp sgt i32 %8, 51
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @fatal_error(ptr noundef @.str)
br label %12
12: ; preds = %10, %2
%13 = getelementptr inbounds [71 x i8], ptr %5, i64 0, i64 0
br label %14
14: ; preds = %21, %12
%15 = getelementptr inbounds [71 x i8], ptr %5, i64 0, i64 0
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
br label %21
21: ; preds = %14
%22 = call i64 @str_exists(ptr noundef %13)
%23 = icmp ne i64 %22, 0
br i1 %23, label %14, label %24, !llvm.loop !6
24: ; preds = %21
%25 = getelementptr inbounds [71 x i8], ptr %5, i64 0, i64 0
%26 = load i32, ptr %4, align 4
%27 = call i32 @str_to_sn(ptr noundef %25, i32 noundef %26)
ret i32 %27
}
declare i32 @strlen(ptr noundef) #1
declare i32 @fatal_error(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @str_exists(ptr noundef) #1
declare i32 @str_to_sn(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.