llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp13js9v8k.c'
source_filename = "/tmp/tmp13js9v8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FCEUI_ResetNES() #0 {
%1 = call i32 @FCEU_QSimpleCommand(i32 noundef 1)
ret void
}
declare i32 @FCEU_QSimpleCommand(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/tmp13js9v8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FCEUI_ResetNES() #0 {
%1 = call i32 @FCEU_QSimpleCommand(i32 noundef 1)
ret void
}
declare i32 @FCEU_QSimpleCommand(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/tmp47jojg5t.c'
source_filename = "/tmp/tmp47jojg5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Enter the first string: \00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Enter the second string: \00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"String are same\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"String are not same\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @compair() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca [15 x i8], align 1
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @gets(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @gets(ptr noundef %7)
%9 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%10 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%11 = call i64 @strcmp(ptr noundef %9, ptr noundef %10)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str.2)
br label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.3)
br label %17
17: ; preds = %15, %13
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp47jojg5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Enter the first string: \00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Enter the second string: \00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"String are same\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"String are not same\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @compair() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca [15 x i8], align 1
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @gets(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @gets(ptr noundef %7)
%9 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%10 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%11 = call i64 @strcmp(ptr noundef %9, ptr noundef %10)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str.2)
br label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.3)
br label %17
17: ; preds = %15, %13
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb6k0728j.c'
source_filename = "/tmp/tmpb6k0728j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"GET_STATE - Note:\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c" Initializing RNGLIB package.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_state(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i32 (...) @initialized_get()
%7 = icmp ne i32 %6, 0
br i1 %7, label %13, label %8
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 (...) @initialize()
br label %13
13: ; preds = %8, %2
%14 = call i32 (...) @cgn_get()
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @cg_get(i32 noundef %15, ptr noundef %16, ptr noundef %17)
ret void
}
declare i32 @initialized_get(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @initialize(...) #1
declare i32 @cgn_get(...) #1
declare i32 @cg_get(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/tmpb6k0728j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"GET_STATE - Note:\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c" Initializing RNGLIB package.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_state(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i32 (...) @initialized_get()
%7 = icmp ne i32 %6, 0
br i1 %7, label %13, label %8
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 (...) @initialize()
br label %13
13: ; preds = %8, %2
%14 = call i32 (...) @cgn_get()
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @cg_get(i32 noundef %15, ptr noundef %16, ptr noundef %17)
ret void
}
declare i32 @initialized_get(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @initialize(...) #1
declare i32 @cgn_get(...) #1
declare i32 @cg_get(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/tmpk1mt7j94.c'
source_filename = "/tmp/tmpk1mt7j94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comparStr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk1mt7j94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comparStr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpde3okwep.c'
source_filename = "/tmp/tmpde3okwep.c"
target datalayout = "e-m:e-p270: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/tmpde3okwep.c"
target datalayout = "e-m:e-p270: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/tmp1y8rb25a.c'
source_filename = "/tmp/tmp1y8rb25a.c"
target datalayout = "e-m:e-p270: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/tmp1y8rb25a.c"
target datalayout = "e-m:e-p270: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/tmpiheilr3e.c'
source_filename = "/tmp/tmpiheilr3e.c"
target datalayout = "e-m:e-p270: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/tmpiheilr3e.c"
target datalayout = "e-m:e-p270: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/tmpk2vs4kh_.c'
source_filename = "/tmp/tmpk2vs4kh_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.termios = type { i32 }
@B50 = dso_local global i32 0, align 4
@B75 = dso_local global i32 0, align 4
@B110 = dso_local global i32 0, align 4
@B134 = dso_local global i32 0, align 4
@B150 = dso_local global i32 0, align 4
@B200 = dso_local global i32 0, align 4
@B300 = dso_local global i32 0, align 4
@B600 = dso_local global i32 0, align 4
@B1200 = dso_local global i32 0, align 4
@B1800 = dso_local global i32 0, align 4
@B2400 = dso_local global i32 0, align 4
@B4800 = dso_local global i32 0, align 4
@B9600 = dso_local global i32 0, align 4
@B19200 = dso_local global i32 0, align 4
@B38400 = dso_local global i32 0, align 4
@B57600 = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@B230400 = dso_local global i32 0, align 4
@B460800 = dso_local global i32 0, align 4
@LOG_WARNING = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"Unknwon baud rate requested, setting to 9600.\00", align 1
@TCSADRAIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SetPortSpeed(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca %struct.termios, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%7 = load i64, ptr %4, align 8
switch i64 %7, label %46 [
i64 50, label %8
i64 75, label %10
i64 110, label %12
i64 134, label %14
i64 150, label %16
i64 200, label %18
i64 300, label %20
i64 600, label %22
i64 1200, label %24
i64 1800, label %26
i64 2400, label %28
i64 4800, label %30
i64 9600, label %32
i64 19200, label %34
i64 38400, label %36
i64 57600, label %38
i64 115200, label %40
i64 230400, label %42
i64 460800, label %44
]
8: ; preds = %2
%9 = load i32, ptr @B50, align 4
store i32 %9, ptr %6, align 4
br label %50
10: ; preds = %2
%11 = load i32, ptr @B75, align 4
store i32 %11, ptr %6, align 4
br label %50
12: ; preds = %2
%13 = load i32, ptr @B110, align 4
store i32 %13, ptr %6, align 4
br label %50
14: ; preds = %2
%15 = load i32, ptr @B134, align 4
store i32 %15, ptr %6, align 4
br label %50
16: ; preds = %2
%17 = load i32, ptr @B150, align 4
store i32 %17, ptr %6, align 4
br label %50
18: ; preds = %2
%19 = load i32, ptr @B200, align 4
store i32 %19, ptr %6, align 4
br label %50
20: ; preds = %2
%21 = load i32, ptr @B300, align 4
store i32 %21, ptr %6, align 4
br label %50
22: ; preds = %2
%23 = load i32, ptr @B600, align 4
store i32 %23, ptr %6, align 4
br label %50
24: ; preds = %2
%25 = load i32, ptr @B1200, align 4
store i32 %25, ptr %6, align 4
br label %50
26: ; preds = %2
%27 = load i32, ptr @B1800, align 4
store i32 %27, ptr %6, align 4
br label %50
28: ; preds = %2
%29 = load i32, ptr @B2400, align 4
store i32 %29, ptr %6, align 4
br label %50
30: ; preds = %2
%31 = load i32, ptr @B4800, align 4
store i32 %31, ptr %6, align 4
br label %50
32: ; preds = %2
%33 = load i32, ptr @B9600, align 4
store i32 %33, ptr %6, align 4
br label %50
34: ; preds = %2
%35 = load i32, ptr @B19200, align 4
store i32 %35, ptr %6, align 4
br label %50
36: ; preds = %2
%37 = load i32, ptr @B38400, align 4
store i32 %37, ptr %6, align 4
br label %50
38: ; preds = %2
%39 = load i32, ptr @B57600, align 4
store i32 %39, ptr %6, align 4
br label %50
40: ; preds = %2
%41 = load i32, ptr @B115200, align 4
store i32 %41, ptr %6, align 4
br label %50
42: ; preds = %2
%43 = load i32, ptr @B230400, align 4
store i32 %43, ptr %6, align 4
br label %50
44: ; preds = %2
%45 = load i32, ptr @B460800, align 4
store i32 %45, ptr %6, align 4
br label %50
46: ; preds = %2
%47 = load i32, ptr @LOG_WARNING, align 4
%48 = call i32 @LogMsg(i32 noundef %47, ptr noundef @.str)
%49 = load i32, ptr @B9600, align 4
store i32 %49, ptr %6, align 4
br label %50
50: ; preds = %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8
%51 = load i32, ptr %3, align 4
%52 = call i32 @tcgetattr(i32 noundef %51, ptr noundef %5)
%53 = load i32, ptr %6, align 4
%54 = call i32 @cfsetospeed(ptr noundef %5, i32 noundef %53)
%55 = load i32, ptr %6, align 4
%56 = call i32 @cfsetispeed(ptr noundef %5, i32 noundef %55)
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr @TCSADRAIN, align 4
%59 = call i32 @tcsetattr(i32 noundef %57, i32 noundef %58, ptr noundef %5)
%60 = call i32 @UnixLogPortSettings(ptr noundef %5)
ret void
}
declare i32 @LogMsg(i32 noundef, ptr noundef) #1
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1
declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @UnixLogPortSettings(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk2vs4kh_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.termios = type { i32 }
@B50 = dso_local global i32 0, align 4
@B75 = dso_local global i32 0, align 4
@B110 = dso_local global i32 0, align 4
@B134 = dso_local global i32 0, align 4
@B150 = dso_local global i32 0, align 4
@B200 = dso_local global i32 0, align 4
@B300 = dso_local global i32 0, align 4
@B600 = dso_local global i32 0, align 4
@B1200 = dso_local global i32 0, align 4
@B1800 = dso_local global i32 0, align 4
@B2400 = dso_local global i32 0, align 4
@B4800 = dso_local global i32 0, align 4
@B9600 = dso_local global i32 0, align 4
@B19200 = dso_local global i32 0, align 4
@B38400 = dso_local global i32 0, align 4
@B57600 = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@B230400 = dso_local global i32 0, align 4
@B460800 = dso_local global i32 0, align 4
@LOG_WARNING = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"Unknwon baud rate requested, setting to 9600.\00", align 1
@TCSADRAIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SetPortSpeed(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca %struct.termios, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%7 = load i64, ptr %4, align 8
switch i64 %7, label %46 [
i64 50, label %8
i64 75, label %10
i64 110, label %12
i64 134, label %14
i64 150, label %16
i64 200, label %18
i64 300, label %20
i64 600, label %22
i64 1200, label %24
i64 1800, label %26
i64 2400, label %28
i64 4800, label %30
i64 9600, label %32
i64 19200, label %34
i64 38400, label %36
i64 57600, label %38
i64 115200, label %40
i64 230400, label %42
i64 460800, label %44
]
8: ; preds = %2
%9 = load i32, ptr @B50, align 4
store i32 %9, ptr %6, align 4
br label %50
10: ; preds = %2
%11 = load i32, ptr @B75, align 4
store i32 %11, ptr %6, align 4
br label %50
12: ; preds = %2
%13 = load i32, ptr @B110, align 4
store i32 %13, ptr %6, align 4
br label %50
14: ; preds = %2
%15 = load i32, ptr @B134, align 4
store i32 %15, ptr %6, align 4
br label %50
16: ; preds = %2
%17 = load i32, ptr @B150, align 4
store i32 %17, ptr %6, align 4
br label %50
18: ; preds = %2
%19 = load i32, ptr @B200, align 4
store i32 %19, ptr %6, align 4
br label %50
20: ; preds = %2
%21 = load i32, ptr @B300, align 4
store i32 %21, ptr %6, align 4
br label %50
22: ; preds = %2
%23 = load i32, ptr @B600, align 4
store i32 %23, ptr %6, align 4
br label %50
24: ; preds = %2
%25 = load i32, ptr @B1200, align 4
store i32 %25, ptr %6, align 4
br label %50
26: ; preds = %2
%27 = load i32, ptr @B1800, align 4
store i32 %27, ptr %6, align 4
br label %50
28: ; preds = %2
%29 = load i32, ptr @B2400, align 4
store i32 %29, ptr %6, align 4
br label %50
30: ; preds = %2
%31 = load i32, ptr @B4800, align 4
store i32 %31, ptr %6, align 4
br label %50
32: ; preds = %2
%33 = load i32, ptr @B9600, align 4
store i32 %33, ptr %6, align 4
br label %50
34: ; preds = %2
%35 = load i32, ptr @B19200, align 4
store i32 %35, ptr %6, align 4
br label %50
36: ; preds = %2
%37 = load i32, ptr @B38400, align 4
store i32 %37, ptr %6, align 4
br label %50
38: ; preds = %2
%39 = load i32, ptr @B57600, align 4
store i32 %39, ptr %6, align 4
br label %50
40: ; preds = %2
%41 = load i32, ptr @B115200, align 4
store i32 %41, ptr %6, align 4
br label %50
42: ; preds = %2
%43 = load i32, ptr @B230400, align 4
store i32 %43, ptr %6, align 4
br label %50
44: ; preds = %2
%45 = load i32, ptr @B460800, align 4
store i32 %45, ptr %6, align 4
br label %50
46: ; preds = %2
%47 = load i32, ptr @LOG_WARNING, align 4
%48 = call i32 @LogMsg(i32 noundef %47, ptr noundef @.str)
%49 = load i32, ptr @B9600, align 4
store i32 %49, ptr %6, align 4
br label %50
50: ; preds = %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8
%51 = load i32, ptr %3, align 4
%52 = call i32 @tcgetattr(i32 noundef %51, ptr noundef %5)
%53 = load i32, ptr %6, align 4
%54 = call i32 @cfsetospeed(ptr noundef %5, i32 noundef %53)
%55 = load i32, ptr %6, align 4
%56 = call i32 @cfsetispeed(ptr noundef %5, i32 noundef %55)
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr @TCSADRAIN, align 4
%59 = call i32 @tcsetattr(i32 noundef %57, i32 noundef %58, ptr noundef %5)
%60 = call i32 @UnixLogPortSettings(ptr noundef %5)
ret void
}
declare i32 @LogMsg(i32 noundef, ptr noundef) #1
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1
declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @UnixLogPortSettings(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg345gddw.c'
source_filename = "/tmp/tmpg345gddw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"| \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = 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
br label %8
8: ; preds = %81, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %84
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %6, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %5, align 1
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %6, align 4
%20 = zext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = zext i8 %22 to i32
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23)
%25 = load i32, ptr %6, align 4
%26 = urem i32 %25, 16
%27 = icmp eq i32 %26, 15
br i1 %27, label %33, label %28
28: ; preds = %12
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %4, align 4
%31 = sub i32 %30, 1
%32 = icmp eq i32 %29, %31
br i1 %32, label %33, label %80
33: ; preds = %28, %12
store i32 0, ptr %7, align 4
br label %34
34: ; preds = %42, %33
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = urem i32 %36, 16
%38 = sub i32 15, %37
%39 = icmp ult i32 %35, %38
br i1 %39, label %40, label %45
40: ; preds = %34
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %42
42: ; preds = %40
%43 = load i32, ptr %7, align 4
%44 = add i32 %43, 1
store i32 %44, ptr %7, align 4
br label %34, !llvm.loop !6
45: ; preds = %34
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = urem i32 %48, 16
%50 = sub i32 %47, %49
store i32 %50, ptr %7, align 4
br label %51
51: ; preds = %75, %45
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp ule i32 %52, %53
br i1 %54, label %55, label %78
55: ; preds = %51
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %7, align 4
%58 = zext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
store i8 %60, ptr %5, align 1
%61 = load i8, ptr %5, align 1
%62 = sext i8 %61 to i32
%63 = icmp sgt i32 %62, 31
br i1 %63, label %64, label %72
64: ; preds = %55
%65 = load i8, ptr %5, align 1
%66 = sext i8 %65 to i32
%67 = icmp slt i32 %66, 127
br i1 %67, label %68, label %72
68: ; preds = %64
%69 = load i8, ptr %5, align 1
%70 = sext i8 %69 to i32
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %70)
br label %74
72: ; preds = %64, %55
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %74
74: ; preds = %72, %68
br label %75
75: ; preds = %74
%76 = load i32, ptr %7, align 4
%77 = add i32 %76, 1
store i32 %77, ptr %7, align 4
br label %51, !llvm.loop !8
78: ; preds = %51
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %80
80: ; preds = %78, %28
br label %81
81: ; preds = %80
%82 = load i32, ptr %6, align 4
%83 = add i32 %82, 1
store i32 %83, ptr %6, align 4
br label %8, !llvm.loop !9
84: ; preds = %8
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg345gddw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"| \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = 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
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %.lr.ph5, label %92
.lr.ph5: ; preds = %2
br label %11
11: ; preds = %.lr.ph5, %86
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
store i8 %16, ptr %5, align 1
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = urem i32 %24, 16
%26 = icmp eq i32 %25, 15
br i1 %26, label %32, label %27
27: ; preds = %11
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %4, align 4
%30 = sub i32 %29, 1
%31 = icmp eq i32 %28, %30
br i1 %31, label %32, label %85
32: ; preds = %27, %11
store i32 0, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %6, align 4
%35 = urem i32 %34, 16
%36 = sub i32 15, %35
%37 = icmp ult i32 %33, %36
br i1 %37, label %.lr.ph, label %48
.lr.ph: ; preds = %32
br label %38
38: ; preds = %.lr.ph, %40
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %40
40: ; preds = %38
%41 = load i32, ptr %7, align 4
%42 = add i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = urem i32 %44, 16
%46 = sub i32 15, %45
%47 = icmp ult i32 %43, %46
br i1 %47, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %48
48: ; preds = %._crit_edge, %32
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %6, align 4
%52 = urem i32 %51, 16
%53 = sub i32 %50, %52
store i32 %53, ptr %7, align 4
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp ule i32 %54, %55
br i1 %56, label %.lr.ph2, label %83
.lr.ph2: ; preds = %48
br label %57
57: ; preds = %.lr.ph2, %77
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %7, align 4
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
store i8 %62, ptr %5, align 1
%63 = load i8, ptr %5, align 1
%64 = sext i8 %63 to i32
%65 = icmp sgt i32 %64, 31
br i1 %65, label %66, label %74
66: ; preds = %57
%67 = load i8, ptr %5, align 1
%68 = sext i8 %67 to i32
%69 = icmp slt i32 %68, 127
br i1 %69, label %70, label %74
70: ; preds = %66
%71 = load i8, ptr %5, align 1
%72 = sext i8 %71 to i32
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %72)
br label %76
74: ; preds = %66, %57
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %76
76: ; preds = %74, %70
br label %77
77: ; preds = %76
%78 = load i32, ptr %7, align 4
%79 = add i32 %78, 1
store i32 %79, ptr %7, align 4
%80 = load i32, ptr %7, align 4
%81 = load i32, ptr %6, align 4
%82 = icmp ule i32 %80, %81
br i1 %82, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %77
br label %83
83: ; preds = %._crit_edge3, %48
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %85
85: ; preds = %83, %27
br label %86
86: ; preds = %85
%87 = load i32, ptr %6, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %6, align 4
%89 = load i32, ptr %6, align 4
%90 = load i32, ptr %4, align 4
%91 = icmp ult i32 %89, %90
br i1 %91, label %11, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %86
br label %92
92: ; preds = %._crit_edge6, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphlmukrb5.c'
source_filename = "/tmp/tmphlmukrb5.c"
target datalayout = "e-m:e-p270: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/tmphlmukrb5.c"
target datalayout = "e-m:e-p270: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/tmpmu7xzy9t.c'
source_filename = "/tmp/tmpmu7xzy9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mbasename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
store ptr %11, ptr %2, align 8
br label %14
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %12, %9
%15 = load ptr, ptr %2, align 8
ret ptr %15
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmu7xzy9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mbasename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
store ptr %11, ptr %2, align 8
br label %14
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %12, %9
%15 = load ptr, ptr %2, align 8
ret ptr %15
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp634tj1qo.c'
source_filename = "/tmp/tmp634tj1qo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#ifndef __ASM_S390_FACILITIES__\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"#define __ASM_S390_FACILITIES__\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"/*\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c" * DO NOT MODIFY.\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" *\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c" * This file was generated by %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/andrey-utkin/linux/refs/heads/master/arch/s390/tools/gen_facilities.c\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c" */\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"#include <linux/const.h>\0A\0A\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"\0A#endif\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.6)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%14 = call i32 (...) @print_facility_lists()
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @print_facility_lists(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp634tj1qo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#ifndef __ASM_S390_FACILITIES__\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"#define __ASM_S390_FACILITIES__\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"/*\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c" * DO NOT MODIFY.\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" *\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c" * This file was generated by %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/andrey-utkin/linux/refs/heads/master/arch/s390/tools/gen_facilities.c\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c" */\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"#include <linux/const.h>\0A\0A\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"\0A#endif\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.6)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%14 = call i32 (...) @print_facility_lists()
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @print_facility_lists(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkugrpbua.c'
source_filename = "/tmp/tmpkugrpbua.c"
target datalayout = "e-m:e-p270: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/tmpkugrpbua.c"
target datalayout = "e-m:e-p270: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/tmp45kvjnby.c'
source_filename = "/tmp/tmp45kvjnby.c"
target datalayout = "e-m:e-p270: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/tmp45kvjnby.c"
target datalayout = "e-m:e-p270: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/tmpv3p_5bdr.c'
source_filename = "/tmp/tmpv3p_5bdr.c"
target datalayout = "e-m:e-p270: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 { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XMotionEvent_serial(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %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/tmpv3p_5bdr.c"
target datalayout = "e-m:e-p270: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 { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XMotionEvent_serial(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %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/tmpulul88ux.c'
source_filename = "/tmp/tmpulul88ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mobi_pow(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i64 1, ptr %5, align 8
br label %6
6: ; preds = %18, %2
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %24
9: ; preds = %6
%10 = load i32, ptr %4, align 4
%11 = and i32 %10, 1
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = zext i32 %14 to i64
%16 = load i64, ptr %5, align 8
%17 = mul i64 %16, %15
store i64 %17, ptr %5, align 8
br label %18
18: ; preds = %13, %9
%19 = load i32, ptr %4, align 4
%20 = lshr i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = mul i32 %22, %21
store i32 %23, ptr %3, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
%25 = load i64, ptr %5, align 8
ret i64 %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpulul88ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mobi_pow(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i64 1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %17
%9 = load i32, ptr %4, align 4
%10 = and i32 %9, 1
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = zext i32 %13 to i64
%15 = load i64, ptr %5, align 8
%16 = mul i64 %15, %14
store i64 %16, ptr %5, align 8
br label %17
17: ; preds = %12, %8
%18 = load i32, ptr %4, align 4
%19 = lshr i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = mul i32 %21, %20
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %25
25: ; preds = %._crit_edge, %2
%26 = load i64, ptr %5, align 8
ret i64 %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpl_gg8uaw.c'
source_filename = "/tmp/tmpl_gg8uaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @upper_case(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %37, %1
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %11, label %40
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, 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 sge i32 %17, 97
br i1 %18, label %19, label %36
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, 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 = icmp sle i32 %25, 122
br i1 %26, label %27, label %36
27: ; preds = %19
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 32
%35 = trunc i32 %34 to i8
store i8 %35, ptr %31, align 1
br label %36
36: ; preds = %27, %19, %11
br label %37
37: ; preds = %36
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %7, !llvm.loop !6
40: ; preds = %7
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl_gg8uaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @upper_case(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %.lr.ph, label %42
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %36
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, 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 sge i32 %16, 97
br i1 %17, label %18, label %35
18: ; preds = %10
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp sle i32 %24, 122
br i1 %25, label %26, label %35
26: ; preds = %18
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = sub nsw i32 %32, 32
%34 = trunc i32 %33 to i8
store i8 %34, ptr %30, align 1
br label %35
35: ; preds = %26, %18, %10
br label %36
36: ; preds = %35
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp49eyceaa.c'
source_filename = "/tmp/tmp49eyceaa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @phase_fun_complexOf_short(i32 noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i32, align 4
%4 = alloca i16, align 2
%5 = alloca i16, align 2
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = lshr i32 %6, 16
%8 = trunc i32 %7 to i16
store i16 %8, ptr %4, align 2
%9 = load i32, ptr %3, align 4
%10 = and i32 %9, 65535
%11 = trunc i32 %10 to i16
store i16 %11, ptr %5, align 2
%12 = load i16, ptr %4, align 2
%13 = sext i16 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %1
%16 = load i16, ptr %5, align 2
%17 = sext i16 %16 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store i16 0, ptr %2, align 2
br label %25
20: ; preds = %15, %1
%21 = load i16, ptr %5, align 2
%22 = load i16, ptr %4, align 2
%23 = call i32 @atan2f(i16 noundef signext %21, i16 noundef signext %22)
%24 = call signext i16 @roundf(i32 noundef %23)
store i16 %24, ptr %2, align 2
br label %25
25: ; preds = %20, %19
%26 = load i16, ptr %2, align 2
ret i16 %26
}
declare signext i16 @roundf(i32 noundef) #1
declare i32 @atan2f(i16 noundef signext, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp49eyceaa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @phase_fun_complexOf_short(i32 noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i32, align 4
%4 = alloca i16, align 2
%5 = alloca i16, align 2
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = lshr i32 %6, 16
%8 = trunc i32 %7 to i16
store i16 %8, ptr %4, align 2
%9 = load i32, ptr %3, align 4
%10 = and i32 %9, 65535
%11 = trunc i32 %10 to i16
store i16 %11, ptr %5, align 2
%12 = load i16, ptr %4, align 2
%13 = sext i16 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %1
%16 = load i16, ptr %5, align 2
%17 = sext i16 %16 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store i16 0, ptr %2, align 2
br label %25
20: ; preds = %15, %1
%21 = load i16, ptr %5, align 2
%22 = load i16, ptr %4, align 2
%23 = call i32 @atan2f(i16 noundef signext %21, i16 noundef signext %22)
%24 = call signext i16 @roundf(i32 noundef %23)
store i16 %24, ptr %2, align 2
br label %25
25: ; preds = %20, %19
%26 = load i16, ptr %2, align 2
ret i16 %26
}
declare signext i16 @roundf(i32 noundef) #1
declare i32 @atan2f(i16 noundef signext, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4mp8s9i9.c'
source_filename = "/tmp/tmp4mp8s9i9.c"
target datalayout = "e-m:e-p270: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/tmp4mp8s9i9.c"
target datalayout = "e-m:e-p270: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/tmpt_3k194m.c'
source_filename = "/tmp/tmpt_3k194m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c" (c) this test should not be found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tst_not_found(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt_3k194m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c" (c) this test should not be found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tst_not_found(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsna_ljqv.c'
source_filename = "/tmp/tmpsna_ljqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsize(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 @strlen(ptr noundef %3)
%5 = call i32 @sizetoalloc(i32 noundef %4)
ret i32 %5
}
declare i32 @sizetoalloc(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/tmpsna_ljqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsize(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 @strlen(ptr noundef %3)
%5 = call i32 @sizetoalloc(i32 noundef %4)
ret i32 %5
}
declare i32 @sizetoalloc(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/tmporstwt2l.c'
source_filename = "/tmp/tmporstwt2l.c"
target datalayout = "e-m:e-p270: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.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @libmatrixstore_init, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @libmatrixstore_init() #0 {
%1 = call i32 (...) @rt_init()
ret void
}
declare i32 @rt_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmporstwt2l.c"
target datalayout = "e-m:e-p270: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.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @libmatrixstore_init, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @libmatrixstore_init() #0 {
%1 = call i32 (...) @rt_init()
ret void
}
declare i32 @rt_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo301kuzc.c'
source_filename = "/tmp/tmpo301kuzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @li_allocate(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = load ptr, ptr %4, align 8
%11 = load i64, ptr %5, align 8
%12 = load i64, ptr %6, align 8
%13 = mul i64 %11, %12
%14 = call ptr @realloc(ptr noundef %10, i64 noundef %13) #4
store ptr %14, ptr %4, align 8
br label %19
15: ; preds = %3
%16 = load i64, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = call ptr @calloc(i64 noundef %16, i64 noundef %17) #5
store ptr %18, ptr %4, align 8
br label %19
19: ; preds = %15, %9
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = call i32 @li_error_fmt(ptr noundef @.str)
br label %24
24: ; preds = %22, %19
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #2
declare i32 @li_error_fmt(ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(1) }
attributes #5 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo301kuzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @li_allocate(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = load ptr, ptr %4, align 8
%11 = load i64, ptr %5, align 8
%12 = load i64, ptr %6, align 8
%13 = mul i64 %11, %12
%14 = call ptr @realloc(ptr noundef %10, i64 noundef %13) #4
store ptr %14, ptr %4, align 8
br label %19
15: ; preds = %3
%16 = load i64, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = call ptr @calloc(i64 noundef %16, i64 noundef %17) #5
store ptr %18, ptr %4, align 8
br label %19
19: ; preds = %15, %9
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = call i32 @li_error_fmt(ptr noundef @.str)
br label %24
24: ; preds = %22, %19
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #2
declare i32 @li_error_fmt(ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(1) }
attributes #5 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmykv1aq2.c'
source_filename = "/tmp/tmpmykv1aq2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_nextafter(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @nextafter(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @nextafter(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmykv1aq2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_nextafter(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @nextafter(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @nextafter(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp39tnaidc.c'
source_filename = "/tmp/tmp39tnaidc.c"
target datalayout = "e-m:e-p270: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/tmp39tnaidc.c"
target datalayout = "e-m:e-p270: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/tmpnf6zf39s.c'
source_filename = "/tmp/tmpnf6zf39s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @fopen_main()
%7 = call i32 (...) @sscanf_main()
ret i32 0
}
declare i32 @fopen_main(...) #1
declare i32 @sscanf_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnf6zf39s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @fopen_main()
%7 = call i32 (...) @sscanf_main()
ret i32 0
}
declare i32 @fopen_main(...) #1
declare i32 @sscanf_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprea01e05.c'
source_filename = "/tmp/tmprea01e05.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"There are simply no more bottles of beer on the wall.\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"%d bottles of beer on the wall, %d bottles of beer.\0A\00", align 1
@.str.2 = private unnamed_addr constant [65 x i8] c"Take one down, pass it around, %d bottles of beer on the wall.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @singSongFor(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %15
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load i32, ptr %2, align 4
call void @singSongFor(i32 noundef %14)
br label %15
15: ; preds = %7, %5
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprea01e05.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"There are simply no more bottles of beer on the wall.\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"%d bottles of beer on the wall, %d bottles of beer.\0A\00", align 1
@.str.2 = private unnamed_addr constant [65 x i8] c"Take one down, pass it around, %d bottles of beer on the wall.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @singSongFor(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %15
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load i32, ptr %2, align 4
call void @singSongFor(i32 noundef %14)
br label %15
15: ; preds = %7, %5
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpob39yli6.c'
source_filename = "/tmp/tmpob39yli6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %16
15: ; preds = %2
br label %91
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %5, align 8
%20 = alloca i32, i64 %18, align 16
store i64 %18, ptr %6, align 8
%21 = load i32, ptr %4, align 4
%22 = zext i32 %21 to i64
%23 = alloca i32, i64 %22, align 16
store i64 %22, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%24 = load i32, ptr %4, align 4
%25 = sdiv i32 %24, 2
store i32 %25, ptr %10, align 4
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %31
31: ; preds = %69, %16
%32 = load i32, ptr %12, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %72
35: ; preds = %31
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %10, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %40
39: ; preds = %35
br label %69
40: ; preds = %35
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %11, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %48, label %58
48: ; preds = %40
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %12, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %8, align 4
%56 = sext i32 %54 to i64
%57 = getelementptr inbounds i32, ptr %20, i64 %56
store i32 %53, ptr %57, align 4
br label %68
58: ; preds = %40
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %12, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
%66 = sext i32 %64 to i64
%67 = getelementptr inbounds i32, ptr %23, i64 %66
store i32 %63, ptr %67, align 4
br label %68
68: ; preds = %58, %48
br label %69
69: ; preds = %68, %39
%70 = load i32, ptr %12, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %12, align 4
br label %31, !llvm.loop !6
72: ; preds = %31
%73 = load i32, ptr %8, align 4
call void @quick_sort(ptr noundef %20, i32 noundef %73)
%74 = load i32, ptr %9, align 4
call void @quick_sort(ptr noundef %23, i32 noundef %74)
%75 = load ptr, ptr %3, align 8
%76 = load i32, ptr %8, align 4
%77 = call i32 @copy_array(ptr noundef %20, ptr noundef %75, i32 noundef %76)
%78 = load i32, ptr %11, align 4
%79 = load ptr, ptr %3, align 8
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
store i32 %78, ptr %82, align 4
%83 = load ptr, ptr %3, align 8
%84 = load i32, ptr %8, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = getelementptr inbounds i32, ptr %86, i64 1
%88 = load i32, ptr %9, align 4
%89 = call i32 @copy_array(ptr noundef %23, ptr noundef %87, i32 noundef %88)
%90 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %90)
br label %91
91: ; preds = %72, %15
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @copy_array(ptr noundef, ptr noundef, i32 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/tmpob39yli6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %16
15: ; preds = %2
br label %93
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %5, align 8
%20 = alloca i32, i64 %18, align 16
store i64 %18, ptr %6, align 8
%21 = load i32, ptr %4, align 4
%22 = zext i32 %21 to i64
%23 = alloca i32, i64 %22, align 16
store i64 %22, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%24 = load i32, ptr %4, align 4
%25 = sdiv i32 %24, 2
store i32 %25, ptr %10, align 4
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %11, align 4
store i32 0, ptr %12, align 4
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph, label %74
.lr.ph: ; preds = %16
br label %34
34: ; preds = %.lr.ph, %68
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %10, align 4
%37 = icmp eq i32 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %34
br label %68
39: ; preds = %34
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %12, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load i32, ptr %11, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %57
47: ; preds = %39
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %12, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %8, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %8, align 4
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i32, ptr %20, i64 %55
store i32 %52, ptr %56, align 4
br label %67
57: ; preds = %39
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %12, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = sext i32 %63 to i64
%66 = getelementptr inbounds i32, ptr %23, i64 %65
store i32 %62, ptr %66, align 4
br label %67
67: ; preds = %57, %47
br label %68
68: ; preds = %67, %38
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %12, align 4
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %4, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %16
%75 = load i32, ptr %8, align 4
call void @quick_sort(ptr noundef %20, i32 noundef %75)
%76 = load i32, ptr %9, align 4
call void @quick_sort(ptr noundef %23, i32 noundef %76)
%77 = load ptr, ptr %3, align 8
%78 = load i32, ptr %8, align 4
%79 = call i32 @copy_array(ptr noundef %20, ptr noundef %77, i32 noundef %78)
%80 = load i32, ptr %11, align 4
%81 = load ptr, ptr %3, align 8
%82 = load i32, ptr %8, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
store i32 %80, ptr %84, align 4
%85 = load ptr, ptr %3, align 8
%86 = load i32, ptr %8, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
%89 = getelementptr inbounds i32, ptr %88, i64 1
%90 = load i32, ptr %9, align 4
%91 = call i32 @copy_array(ptr noundef %23, ptr noundef %89, i32 noundef %90)
%92 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %92)
br label %93
93: ; preds = %74, %15
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @copy_array(ptr noundef, ptr noundef, i32 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/tmpi9bqhblw.c'
source_filename = "/tmp/tmpi9bqhblw.c"
target datalayout = "e-m:e-p270: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_XKeyboardState_key_click_percent(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/tmpi9bqhblw.c"
target datalayout = "e-m:e-p270: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_XKeyboardState_key_click_percent(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/tmpwml73wgt.c'
source_filename = "/tmp/tmpwml73wgt.c"
target datalayout = "e-m:e-p270: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/tmpwml73wgt.c"
target datalayout = "e-m:e-p270: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/tmpwgwnrmhr.c'
source_filename = "/tmp/tmpwgwnrmhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIOCSIFMTU = 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/tmpwgwnrmhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIOCSIFMTU = 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/tmpkye6n_z8.c'
source_filename = "/tmp/tmpkye6n_z8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"cd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cdCommand(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds ptr, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @chdir(ptr noundef %8)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @perror(ptr noundef @.str)
br label %14
14: ; preds = %12, %1
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @chdir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkye6n_z8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"cd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cdCommand(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds ptr, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @chdir(ptr noundef %8)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @perror(ptr noundef @.str)
br label %14
14: ; preds = %12, %1
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @chdir(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfhqdvvxz.c'
source_filename = "/tmp/tmpfhqdvvxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test13() #0 {
%1 = alloca i8, align 1
%2 = alloca [10 x i8], align 1
%3 = alloca i8, align 1
store i8 0, ptr %1, align 1
store i8 0, ptr %3, align 1
%4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i8 noundef signext 97, i32 noundef 10)
%6 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @strlen(ptr noundef %6)
ret i32 %7
}
declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpfhqdvvxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test13() #0 {
%1 = alloca i8, align 1
%2 = alloca [10 x i8], align 1
%3 = alloca i8, align 1
store i8 0, ptr %1, align 1
store i8 0, ptr %3, align 1
%4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i8 noundef signext 97, i32 noundef 10)
%6 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @strlen(ptr noundef %6)
ret i32 %7
}
declare i32 @memset(ptr noundef, i8 noundef signext, 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/tmpkb5lotek.c'
source_filename = "/tmp/tmpkb5lotek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [286 x i8] c"USAGE: memhog [-wuv] -s <kbytes>\0A\0A -s <kbytes> allocate <kbytes> on the heap\0A -w allocate then wait - do not exit (use CTRL-C to exit)\0A -u use the memory (via memcpy)\0A -v be verbose\0A\0Aprogram will exit with 0 if the memory was successfully allocated\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #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/tmpkb5lotek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [286 x i8] c"USAGE: memhog [-wuv] -s <kbytes>\0A\0A -s <kbytes> allocate <kbytes> on the heap\0A -w allocate then wait - do not exit (use CTRL-C to exit)\0A -u use the memory (via memcpy)\0A -v be verbose\0A\0Aprogram will exit with 0 if the memory was successfully allocated\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #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/tmpe_v5b0zm.c'
source_filename = "/tmp/tmpe_v5b0zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@SEEK_CUR = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CPSetFilePosition(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %7, align 4
switch i32 %9, label %16 [
i32 -1, label %10
i32 0, label %12
i32 1, label %14
]
10: ; preds = %3
%11 = load i32, ptr @SEEK_SET, align 4
store i32 %11, ptr %8, align 4
br label %17
12: ; preds = %3
%13 = load i32, ptr @SEEK_CUR, align 4
store i32 %13, ptr %8, align 4
br label %17
14: ; preds = %3
%15 = load i32, ptr @SEEK_END, align 4
store i32 %15, ptr %8, align 4
br label %17
16: ; preds = %3
store i32 10005, ptr %4, align 4
br label %25
17: ; preds = %14, %12, %10
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %6, align 8
%20 = load i32, ptr %8, align 4
%21 = call i64 @fseek(ptr noundef %18, i64 noundef %19, i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 10005, ptr %4, align 4
br label %25
24: ; preds = %17
store i32 0, ptr %4, align 4
br label %25
25: ; preds = %24, %23, %16
%26 = load i32, ptr %4, align 4
ret i32 %26
}
declare i64 @fseek(ptr noundef, i64 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/tmpe_v5b0zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@SEEK_CUR = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CPSetFilePosition(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %7, align 4
switch i32 %9, label %16 [
i32 -1, label %10
i32 0, label %12
i32 1, label %14
]
10: ; preds = %3
%11 = load i32, ptr @SEEK_SET, align 4
store i32 %11, ptr %8, align 4
br label %17
12: ; preds = %3
%13 = load i32, ptr @SEEK_CUR, align 4
store i32 %13, ptr %8, align 4
br label %17
14: ; preds = %3
%15 = load i32, ptr @SEEK_END, align 4
store i32 %15, ptr %8, align 4
br label %17
16: ; preds = %3
store i32 10005, ptr %4, align 4
br label %25
17: ; preds = %14, %12, %10
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %6, align 8
%20 = load i32, ptr %8, align 4
%21 = call i64 @fseek(ptr noundef %18, i64 noundef %19, i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 10005, ptr %4, align 4
br label %25
24: ; preds = %17
store i32 0, ptr %4, align 4
br label %25
25: ; preds = %24, %23, %16
%26 = load i32, ptr %4, align 4
ret i32 %26
}
declare i64 @fseek(ptr noundef, i64 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/tmpz4b_4zae.c'
source_filename = "/tmp/tmpz4b_4zae.c"
target datalayout = "e-m:e-p270: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.ifreq = type { i32, i32 }
@SIOCGIFINDEX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_device_index(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.ifreq, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strncpy(i32 noundef %8, ptr noundef %9, i32 noundef 16)
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr @SIOCGIFINDEX, align 4
%13 = call i64 @ioctl(i32 noundef %11, i32 noundef %12, ptr noundef %6)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %19
16: ; preds = %2
%17 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %16, %15
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz4b_4zae.c"
target datalayout = "e-m:e-p270: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.ifreq = type { i32, i32 }
@SIOCGIFINDEX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_device_index(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.ifreq, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strncpy(i32 noundef %8, ptr noundef %9, i32 noundef 16)
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr @SIOCGIFINDEX, align 4
%13 = call i64 @ioctl(i32 noundef %11, i32 noundef %12, ptr noundef %6)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %19
16: ; preds = %2
%17 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %16, %15
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvblamj0c.c'
source_filename = "/tmp/tmpvblamj0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@randstring.charset = internal global [70 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,.-#'?!\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @randstring(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i64 %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %41
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = add i64 %9, 1
%11 = mul i64 1, %10
%12 = trunc i64 %11 to i32
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %40
16: ; preds = %8
store i32 0, ptr %4, align 4
br label %17
17: ; preds = %33, %16
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = load i64, ptr %2, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %36
22: ; preds = %17
%23 = call i32 (...) @rand()
%24 = srem i32 %23, 69
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [70 x i8], ptr @randstring.charset, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 %28, ptr %32, align 1
br label %33
33: ; preds = %22
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %17, !llvm.loop !6
36: ; preds = %17
%37 = load ptr, ptr %3, align 8
%38 = load i64, ptr %2, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 %38
store i8 0, ptr %39, align 1
br label %40
40: ; preds = %36, %8
br label %41
41: ; preds = %40, %1
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
declare ptr @malloc(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvblamj0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@randstring.charset = internal global [70 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,.-#'?!\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @randstring(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i64 %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %44
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = add i64 %9, 1
%11 = mul i64 1, %10
%12 = trunc i64 %11 to i32
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %43
16: ; preds = %8
store i32 0, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = load i64, ptr %2, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %.lr.ph, label %39
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %32
%22 = call i32 (...) @rand()
%23 = srem i32 %22, 69
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [70 x i8], ptr @randstring.charset, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 %27, ptr %31, align 1
br label %32
32: ; preds = %21
%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 = sext i32 %35 to i64
%37 = load i64, ptr %2, align 8
%38 = icmp ult i64 %36, %37
br i1 %38, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %39
39: ; preds = %._crit_edge, %16
%40 = load ptr, ptr %3, align 8
%41 = load i64, ptr %2, align 8
%42 = getelementptr inbounds i8, ptr %40, i64 %41
store i8 0, ptr %42, align 1
br label %43
43: ; preds = %39, %8
br label %44
44: ; preds = %43, %1
%45 = load ptr, ptr %3, align 8
ret ptr %45
}
declare ptr @malloc(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe1z99flc.c'
source_filename = "/tmp/tmpe1z99flc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @primes(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %3, align 4
%14 = call i32 @memset(ptr noundef %12, i32 noundef 1, i32 noundef %13)
store i32 2, ptr %6, align 4
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %46, %2
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %49
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = icmp ne i8 %24, 0
br i1 %25, label %26, label %45
26: ; preds = %19
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 2, %27
store i32 %28, ptr %7, align 4
br label %29
29: ; preds = %38, %26
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %42
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 0, ptr %37, align 1
br label %38
38: ; preds = %33
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, %39
store i32 %41, ptr %7, align 4
br label %29, !llvm.loop !6
42: ; preds = %29
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
br label %45
45: ; preds = %42, %19
br label %46
46: ; preds = %45
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %6, align 4
br label %15, !llvm.loop !8
49: ; preds = %15
%50 = load i32, ptr %3, align 4
%51 = call ptr @malloc(i32 noundef %50)
store ptr %51, ptr %9, align 8
store i32 2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %52
52: ; preds = %71, %49
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp ne i32 %53, %54
br i1 %55, label %56, label %74
56: ; preds = %52
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = icmp ne i8 %61, 0
br i1 %62, label %63, label %70
63: ; preds = %56
%64 = load i32, ptr %6, align 4
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i32, ptr %65, i64 %68
store i32 %64, ptr %69, align 4
br label %70
70: ; preds = %63, %56
br label %71
71: ; preds = %70
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %6, align 4
br label %52, !llvm.loop !9
74: ; preds = %52
%75 = load ptr, ptr %4, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %77, label %80
77: ; preds = %74
%78 = load i32, ptr %7, align 4
%79 = load ptr, ptr %4, align 8
store i32 %78, ptr %79, align 4
br label %80
80: ; preds = %77, %74
%81 = load ptr, ptr %5, align 8
%82 = call i32 @free(ptr noundef %81)
%83 = load ptr, ptr %9, align 8
ret ptr %83
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe1z99flc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @primes(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %3, align 4
%14 = call i32 @memset(ptr noundef %12, i32 noundef 1, i32 noundef %13)
store i32 2, ptr %6, align 4
store i32 0, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %.lr.ph2, label %53
.lr.ph2: ; preds = %2
br label %18
18: ; preds = %.lr.ph2, %47
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %25, label %46
25: ; preds = %18
%26 = load i32, ptr %6, align 4
%27 = mul nsw i32 2, %26
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %43
.lr.ph: ; preds = %25
br label %31
31: ; preds = %.lr.ph, %36
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 0, ptr %35, align 1
br label %36
36: ; preds = %31
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, %37
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %43
43: ; preds = %._crit_edge, %25
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
br label %46
46: ; preds = %43, %18
br label %47
47: ; preds = %46
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %53
53: ; preds = %._crit_edge3, %2
%54 = load i32, ptr %3, align 4
%55 = call ptr @malloc(i32 noundef %54)
store ptr %55, ptr %9, align 8
store i32 2, ptr %6, align 4
store i32 0, ptr %7, align 4
%56 = load i32, ptr %6, align 4
%57 = load i32, ptr %3, align 4
%58 = icmp ne i32 %56, %57
br i1 %58, label %.lr.ph5, label %80
.lr.ph5: ; preds = %53
br label %59
59: ; preds = %.lr.ph5, %74
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = icmp ne i8 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %59
%67 = load i32, ptr %6, align 4
%68 = load ptr, ptr %9, align 8
%69 = load i32, ptr %7, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %7, align 4
%71 = sext i32 %69 to i64
%72 = getelementptr inbounds i32, ptr %68, i64 %71
store i32 %67, ptr %72, align 4
br label %73
73: ; preds = %66, %59
br label %74
74: ; preds = %73
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
%77 = load i32, ptr %6, align 4
%78 = load i32, ptr %3, align 4
%79 = icmp ne i32 %77, %78
br i1 %79, label %59, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %74
br label %80
80: ; preds = %._crit_edge6, %53
%81 = load ptr, ptr %4, align 8
%82 = icmp ne ptr %81, null
br i1 %82, label %83, label %86
83: ; preds = %80
%84 = load i32, ptr %7, align 4
%85 = load ptr, ptr %4, align 8
store i32 %84, ptr %85, align 4
br label %86
86: ; preds = %83, %80
%87 = load ptr, ptr %5, align 8
%88 = call i32 @free(ptr noundef %87)
%89 = load ptr, ptr %9, align 8
ret ptr %89
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpuk_ekbw4.c'
source_filename = "/tmp/tmpuk_ekbw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"text/plain\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"ls-l\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_ls(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = call ptr @fdopen(i32 noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @header(ptr noundef %8, ptr noundef @.str.1)
%10 = load ptr, ptr %5, align 8
%11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.2)
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fflush(ptr noundef %12)
%14 = load i32, ptr %4, align 4
%15 = call i32 @dup2(i32 noundef %14, i32 noundef 1)
%16 = load i32, ptr %4, align 4
%17 = call i32 @dup2(i32 noundef %16, i32 noundef 2)
%18 = load i32, ptr %4, align 4
%19 = call i32 @close(i32 noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = call i32 @execlp(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %20, ptr noundef null)
%22 = load ptr, ptr %3, align 8
%23 = call i32 @perror(ptr noundef %22)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @header(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fflush(ptr noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(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/tmpuk_ekbw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"text/plain\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"ls-l\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_ls(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = call ptr @fdopen(i32 noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @header(ptr noundef %8, ptr noundef @.str.1)
%10 = load ptr, ptr %5, align 8
%11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.2)
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fflush(ptr noundef %12)
%14 = load i32, ptr %4, align 4
%15 = call i32 @dup2(i32 noundef %14, i32 noundef 1)
%16 = load i32, ptr %4, align 4
%17 = call i32 @dup2(i32 noundef %16, i32 noundef 2)
%18 = load i32, ptr %4, align 4
%19 = call i32 @close(i32 noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = call i32 @execlp(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %20, ptr noundef null)
%22 = load ptr, ptr %3, align 8
%23 = call i32 @perror(ptr noundef %22)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @header(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fflush(ptr noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(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/tmpg4n9ta88.c'
source_filename = "/tmp/tmpg4n9ta88.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CHANTYPES\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"#&\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"PREFIX\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"ov\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"@+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @isupport_unset(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 @strcmp(ptr noundef %3, ptr noundef @.str)
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 @chan_set_prefix(ptr noundef @.str.1)
br label %15
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.2)
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = call i32 @auth_set_prefix(ptr noundef @.str.3, ptr noundef @.str.4)
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14, %6
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @chan_set_prefix(ptr noundef) #1
declare i32 @auth_set_prefix(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/tmpg4n9ta88.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CHANTYPES\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"#&\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"PREFIX\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"ov\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"@+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @isupport_unset(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 @strcmp(ptr noundef %3, ptr noundef @.str)
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 @chan_set_prefix(ptr noundef @.str.1)
br label %15
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.2)
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = call i32 @auth_set_prefix(ptr noundef @.str.3, ptr noundef @.str.4)
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14, %6
ret void
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @chan_set_prefix(ptr noundef) #1
declare i32 @auth_set_prefix(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/tmpsr37hqkr.c'
source_filename = "/tmp/tmpsr37hqkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_color_decode(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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %2
store ptr null, ptr %3, align 8
br label %233
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = mul nsw i32 %16, 2
%18 = add nsw i32 %17, 1
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %14
store ptr null, ptr %3, align 8
br label %233
24: ; preds = %14
%25 = load ptr, ptr %4, align 8
store ptr %25, ptr %6, align 8
store i32 0, ptr %9, align 4
br label %26
26: ; preds = %226, %24
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %40
29: ; preds = %26
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 0
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %29
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %8, align 4
%38 = sub nsw i32 %37, 1
%39 = icmp slt i32 %36, %38
br label %40
40: ; preds = %35, %29, %26
%41 = phi i1 [ false, %29 ], [ false, %26 ], [ %39, %35 ]
br i1 %41, label %42, label %227
42: ; preds = %40
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 0
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
switch i32 %46, label %205 [
i32 25, label %47
i32 26, label %152
i32 27, label %152
i32 28, label %183
]
47: ; preds = %42
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %5, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %68
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 0
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %68
58: ; preds = %52
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 0
%61 = load i8, ptr %60, align 1
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %9, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 %61, ptr %65, align 1
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
br label %151
68: ; preds = %52, %47
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 0
%71 = load i8, ptr %70, align 1
%72 = zext i8 %71 to i32
switch i32 %72, label %134 [
i32 70, label %73
i32 66, label %73
i32 42, label %89
i32 98, label %123
]
73: ; preds = %68, %68
%74 = load ptr, ptr %6, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 1
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %88
79: ; preds = %73
%80 = load ptr, ptr %6, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 2
%82 = load i8, ptr %81, align 1
%83 = zext i8 %82 to i32
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %88
85: ; preds = %79
%86 = load ptr, ptr %6, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 3
store ptr %87, ptr %6, align 8
br label %88
88: ; preds = %85, %79, %73
br label %150
89: ; preds = %68
%90 = load ptr, ptr %6, align 8
%91 = getelementptr inbounds i8, ptr %90, i64 1
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %122
95: ; preds = %89
%96 = load ptr, ptr %6, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 2
%98 = load i8, ptr %97, align 1
%99 = zext i8 %98 to i32
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %122
101: ; preds = %95
%102 = load ptr, ptr %6, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 3
%104 = load i8, ptr %103, align 1
%105 = zext i8 %104 to i32
%106 = icmp eq i32 %105, 44
br i1 %106, label %107, label %122
107: ; preds = %101
%108 = load ptr, ptr %6, align 8
%109 = getelementptr inbounds i8, ptr %108, i64 4
%110 = load i8, ptr %109, align 1
%111 = zext i8 %110 to i32
%112 = icmp ne i32 %111, 0
br i1 %112, label %113, label %122
113: ; preds = %107
%114 = load ptr, ptr %6, align 8
%115 = getelementptr inbounds i8, ptr %114, i64 5
%116 = load i8, ptr %115, align 1
%117 = zext i8 %116 to i32
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %122
119: ; preds = %113
%120 = load ptr, ptr %6, align 8
%121 = getelementptr inbounds i8, ptr %120, i64 6
store ptr %121, ptr %6, align 8
br label %122
122: ; preds = %119, %113, %107, %101, %95, %89
br label %150
123: ; preds = %68
%124 = load ptr, ptr %6, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %6, align 8
%126 = load ptr, ptr %6, align 8
%127 = getelementptr inbounds i8, ptr %126, i64 0
%128 = load i8, ptr %127, align 1
%129 = zext i8 %128 to i32
switch i32 %129, label %133 [
i32 70, label %130
i32 66, label %130
i32 68, label %130
i32 95, label %130
i32 35, label %130
]
130: ; preds = %123, %123, %123, %123, %123
%131 = load ptr, ptr %6, align 8
%132 = getelementptr inbounds i8, ptr %131, i32 1
store ptr %132, ptr %6, align 8
br label %133
133: ; preds = %123, %130
br label %150
134: ; preds = %68
%135 = load ptr, ptr %6, align 8
%136 = getelementptr inbounds i8, ptr %135, i64 0
%137 = load i8, ptr %136, align 1
%138 = call i32 @isdigit(i8 noundef zeroext %137)
%139 = icmp ne i32 %138, 0
br i1 %139, label %140, label %149
140: ; preds = %134
%141 = load ptr, ptr %6, align 8
%142 = getelementptr inbounds i8, ptr %141, i64 1
%143 = load i8, ptr %142, align 1
%144 = call i32 @isdigit(i8 noundef zeroext %143)
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %149
146: ; preds = %140
%147 = load ptr, ptr %6, align 8
%148 = getelementptr inbounds i8, ptr %147, i64 2
store ptr %148, ptr %6, align 8
br label %149
149: ; preds = %146, %140, %134
br label %150
150: ; preds = %149, %133, %122, %88
br label %151
151: ; preds = %150, %58
br label %226
152: ; preds = %42, %42
%153 = load ptr, ptr %6, align 8
%154 = getelementptr inbounds i8, ptr %153, i32 1
store ptr %154, ptr %6, align 8
%155 = load ptr, ptr %5, align 8
%156 = icmp ne ptr %155, null
br i1 %156, label %157, label %173
157: ; preds = %152
%158 = load ptr, ptr %5, align 8
%159 = getelementptr inbounds i8, ptr %158, i64 0
%160 = load i8, ptr %159, align 1
%161 = sext i8 %160 to i32
%162 = icmp ne i32 %161, 0
br i1 %162, label %163, label %173
163: ; preds = %157
%164 = load ptr, ptr %5, align 8
%165 = getelementptr inbounds i8, ptr %164, i64 0
%166 = load i8, ptr %165, align 1
%167 = load ptr, ptr %7, align 8
%168 = load i32, ptr %9, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i8, ptr %167, i64 %169
store i8 %166, ptr %170, align 1
%171 = load i32, ptr %9, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %9, align 4
br label %182
173: ; preds = %157, %152
%174 = load ptr, ptr %6, align 8
%175 = getelementptr inbounds i8, ptr %174, i64 0
%176 = load i8, ptr %175, align 1
%177 = icmp ne i8 %176, 0
br i1 %177, label %178, label %181
178: ; preds = %173
%179 = load ptr, ptr %6, align 8
%180 = getelementptr inbounds i8, ptr %179, i32 1
store ptr %180, ptr %6, align 8
br label %181
181: ; preds = %178, %173
br label %182
182: ; preds = %181, %163
br label %226
183: ; preds = %42
%184 = load ptr, ptr %6, align 8
%185 = getelementptr inbounds i8, ptr %184, i32 1
store ptr %185, ptr %6, align 8
%186 = load ptr, ptr %5, align 8
%187 = icmp ne ptr %186, null
br i1 %187, label %188, label %204
188: ; preds = %183
%189 = load ptr, ptr %5, align 8
%190 = getelementptr inbounds i8, ptr %189, i64 0
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp ne i32 %192, 0
br i1 %193, label %194, label %204
194: ; preds = %188
%195 = load ptr, ptr %5, align 8
%196 = getelementptr inbounds i8, ptr %195, i64 0
%197 = load i8, ptr %196, align 1
%198 = load ptr, ptr %7, align 8
%199 = load i32, ptr %9, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i8, ptr %198, i64 %200
store i8 %197, ptr %201, align 1
%202 = load i32, ptr %9, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %9, align 4
br label %204
204: ; preds = %194, %188, %183
br label %226
205: ; preds = %42
%206 = load ptr, ptr %6, align 8
%207 = call i32 @utf8_char_size(ptr noundef %206)
store i32 %207, ptr %10, align 4
%208 = load i32, ptr %10, align 4
%209 = icmp eq i32 %208, 0
br i1 %209, label %210, label %211
210: ; preds = %205
store i32 1, ptr %10, align 4
br label %211
211: ; preds = %210, %205
%212 = load ptr, ptr %7, align 8
%213 = load i32, ptr %9, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds i8, ptr %212, i64 %214
%216 = load ptr, ptr %6, align 8
%217 = load i32, ptr %10, align 4
%218 = call i32 @memcpy(ptr noundef %215, ptr noundef %216, i32 noundef %217)
%219 = load i32, ptr %10, align 4
%220 = load i32, ptr %9, align 4
%221 = add nsw i32 %220, %219
store i32 %221, ptr %9, align 4
%222 = load i32, ptr %10, align 4
%223 = load ptr, ptr %6, align 8
%224 = sext i32 %222 to i64
%225 = getelementptr inbounds i8, ptr %223, i64 %224
store ptr %225, ptr %6, align 8
br label %226
226: ; preds = %211, %204, %182, %151
br label %26, !llvm.loop !6
227: ; preds = %40
%228 = load ptr, ptr %7, align 8
%229 = load i32, ptr %9, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i8, ptr %228, i64 %230
store i8 0, ptr %231, align 1
%232 = load ptr, ptr %7, align 8
store ptr %232, ptr %3, align 8
br label %233
233: ; preds = %227, %23, %13
%234 = load ptr, ptr %3, align 8
ret ptr %234
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @isdigit(i8 noundef zeroext) #1
declare i32 @utf8_char_size(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsr37hqkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_color_decode(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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %2
store ptr null, ptr %3, align 8
br label %233
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = mul nsw i32 %16, 2
%18 = add nsw i32 %17, 1
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %14
store ptr null, ptr %3, align 8
br label %233
24: ; preds = %14
%25 = load ptr, ptr %4, align 8
store ptr %25, ptr %6, align 8
store i32 0, ptr %9, align 4
br label %26
26: ; preds = %226, %24
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %40
29: ; preds = %26
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 0
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %29
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %8, align 4
%38 = sub nsw i32 %37, 1
%39 = icmp slt i32 %36, %38
br label %40
40: ; preds = %35, %29, %26
%41 = phi i1 [ false, %29 ], [ false, %26 ], [ %39, %35 ]
br i1 %41, label %42, label %227
42: ; preds = %40
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 0
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
switch i32 %46, label %205 [
i32 25, label %47
i32 26, label %152
i32 27, label %152
i32 28, label %183
]
47: ; preds = %42
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %5, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %68
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 0
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %68
58: ; preds = %52
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 0
%61 = load i8, ptr %60, align 1
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %9, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 %61, ptr %65, align 1
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
br label %151
68: ; preds = %52, %47
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 0
%71 = load i8, ptr %70, align 1
%72 = zext i8 %71 to i32
switch i32 %72, label %134 [
i32 70, label %73
i32 66, label %73
i32 42, label %89
i32 98, label %123
]
73: ; preds = %68, %68
%74 = load ptr, ptr %6, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 1
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %88
79: ; preds = %73
%80 = load ptr, ptr %6, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 2
%82 = load i8, ptr %81, align 1
%83 = zext i8 %82 to i32
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %88
85: ; preds = %79
%86 = load ptr, ptr %6, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 3
store ptr %87, ptr %6, align 8
br label %88
88: ; preds = %85, %79, %73
br label %150
89: ; preds = %68
%90 = load ptr, ptr %6, align 8
%91 = getelementptr inbounds i8, ptr %90, i64 1
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %122
95: ; preds = %89
%96 = load ptr, ptr %6, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 2
%98 = load i8, ptr %97, align 1
%99 = zext i8 %98 to i32
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %122
101: ; preds = %95
%102 = load ptr, ptr %6, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 3
%104 = load i8, ptr %103, align 1
%105 = zext i8 %104 to i32
%106 = icmp eq i32 %105, 44
br i1 %106, label %107, label %122
107: ; preds = %101
%108 = load ptr, ptr %6, align 8
%109 = getelementptr inbounds i8, ptr %108, i64 4
%110 = load i8, ptr %109, align 1
%111 = zext i8 %110 to i32
%112 = icmp ne i32 %111, 0
br i1 %112, label %113, label %122
113: ; preds = %107
%114 = load ptr, ptr %6, align 8
%115 = getelementptr inbounds i8, ptr %114, i64 5
%116 = load i8, ptr %115, align 1
%117 = zext i8 %116 to i32
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %122
119: ; preds = %113
%120 = load ptr, ptr %6, align 8
%121 = getelementptr inbounds i8, ptr %120, i64 6
store ptr %121, ptr %6, align 8
br label %122
122: ; preds = %119, %113, %107, %101, %95, %89
br label %150
123: ; preds = %68
%124 = load ptr, ptr %6, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %6, align 8
%126 = load ptr, ptr %6, align 8
%127 = getelementptr inbounds i8, ptr %126, i64 0
%128 = load i8, ptr %127, align 1
%129 = zext i8 %128 to i32
switch i32 %129, label %133 [
i32 70, label %130
i32 66, label %130
i32 68, label %130
i32 95, label %130
i32 35, label %130
]
130: ; preds = %123, %123, %123, %123, %123
%131 = load ptr, ptr %6, align 8
%132 = getelementptr inbounds i8, ptr %131, i32 1
store ptr %132, ptr %6, align 8
br label %133
133: ; preds = %130, %123
br label %150
134: ; preds = %68
%135 = load ptr, ptr %6, align 8
%136 = getelementptr inbounds i8, ptr %135, i64 0
%137 = load i8, ptr %136, align 1
%138 = call i32 @isdigit(i8 noundef zeroext %137)
%139 = icmp ne i32 %138, 0
br i1 %139, label %140, label %149
140: ; preds = %134
%141 = load ptr, ptr %6, align 8
%142 = getelementptr inbounds i8, ptr %141, i64 1
%143 = load i8, ptr %142, align 1
%144 = call i32 @isdigit(i8 noundef zeroext %143)
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %149
146: ; preds = %140
%147 = load ptr, ptr %6, align 8
%148 = getelementptr inbounds i8, ptr %147, i64 2
store ptr %148, ptr %6, align 8
br label %149
149: ; preds = %146, %140, %134
br label %150
150: ; preds = %149, %133, %122, %88
br label %151
151: ; preds = %150, %58
br label %226
152: ; preds = %42, %42
%153 = load ptr, ptr %6, align 8
%154 = getelementptr inbounds i8, ptr %153, i32 1
store ptr %154, ptr %6, align 8
%155 = load ptr, ptr %5, align 8
%156 = icmp ne ptr %155, null
br i1 %156, label %157, label %173
157: ; preds = %152
%158 = load ptr, ptr %5, align 8
%159 = getelementptr inbounds i8, ptr %158, i64 0
%160 = load i8, ptr %159, align 1
%161 = sext i8 %160 to i32
%162 = icmp ne i32 %161, 0
br i1 %162, label %163, label %173
163: ; preds = %157
%164 = load ptr, ptr %5, align 8
%165 = getelementptr inbounds i8, ptr %164, i64 0
%166 = load i8, ptr %165, align 1
%167 = load ptr, ptr %7, align 8
%168 = load i32, ptr %9, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i8, ptr %167, i64 %169
store i8 %166, ptr %170, align 1
%171 = load i32, ptr %9, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %9, align 4
br label %182
173: ; preds = %157, %152
%174 = load ptr, ptr %6, align 8
%175 = getelementptr inbounds i8, ptr %174, i64 0
%176 = load i8, ptr %175, align 1
%177 = icmp ne i8 %176, 0
br i1 %177, label %178, label %181
178: ; preds = %173
%179 = load ptr, ptr %6, align 8
%180 = getelementptr inbounds i8, ptr %179, i32 1
store ptr %180, ptr %6, align 8
br label %181
181: ; preds = %178, %173
br label %182
182: ; preds = %181, %163
br label %226
183: ; preds = %42
%184 = load ptr, ptr %6, align 8
%185 = getelementptr inbounds i8, ptr %184, i32 1
store ptr %185, ptr %6, align 8
%186 = load ptr, ptr %5, align 8
%187 = icmp ne ptr %186, null
br i1 %187, label %188, label %204
188: ; preds = %183
%189 = load ptr, ptr %5, align 8
%190 = getelementptr inbounds i8, ptr %189, i64 0
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp ne i32 %192, 0
br i1 %193, label %194, label %204
194: ; preds = %188
%195 = load ptr, ptr %5, align 8
%196 = getelementptr inbounds i8, ptr %195, i64 0
%197 = load i8, ptr %196, align 1
%198 = load ptr, ptr %7, align 8
%199 = load i32, ptr %9, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i8, ptr %198, i64 %200
store i8 %197, ptr %201, align 1
%202 = load i32, ptr %9, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %9, align 4
br label %204
204: ; preds = %194, %188, %183
br label %226
205: ; preds = %42
%206 = load ptr, ptr %6, align 8
%207 = call i32 @utf8_char_size(ptr noundef %206)
store i32 %207, ptr %10, align 4
%208 = load i32, ptr %10, align 4
%209 = icmp eq i32 %208, 0
br i1 %209, label %210, label %211
210: ; preds = %205
store i32 1, ptr %10, align 4
br label %211
211: ; preds = %210, %205
%212 = load ptr, ptr %7, align 8
%213 = load i32, ptr %9, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds i8, ptr %212, i64 %214
%216 = load ptr, ptr %6, align 8
%217 = load i32, ptr %10, align 4
%218 = call i32 @memcpy(ptr noundef %215, ptr noundef %216, i32 noundef %217)
%219 = load i32, ptr %10, align 4
%220 = load i32, ptr %9, align 4
%221 = add nsw i32 %220, %219
store i32 %221, ptr %9, align 4
%222 = load i32, ptr %10, align 4
%223 = load ptr, ptr %6, align 8
%224 = sext i32 %222 to i64
%225 = getelementptr inbounds i8, ptr %223, i64 %224
store ptr %225, ptr %6, align 8
br label %226
226: ; preds = %211, %204, %182, %151
br label %26, !llvm.loop !6
227: ; preds = %40
%228 = load ptr, ptr %7, align 8
%229 = load i32, ptr %9, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i8, ptr %228, i64 %230
store i8 0, ptr %231, align 1
%232 = load ptr, ptr %7, align 8
store ptr %232, ptr %3, align 8
br label %233
233: ; preds = %227, %23, %13
%234 = load ptr, ptr %3, align 8
ret ptr %234
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @isdigit(i8 noundef zeroext) #1
declare i32 @utf8_char_size(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeyyvsvlm.c'
source_filename = "/tmp/tmpeyyvsvlm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Enter the length of the array: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Enter the elements of the array: \0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Sorted array: \0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = load i32, ptr %2, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %7, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %24, %0
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %13, i64 %21
%23 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %22)
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %72, %27
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %75
32: ; preds = %28
store i32 0, ptr %4, align 4
br label %33
33: ; preds = %68, %32
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %2, align 4
%36 = sub nsw i32 %35, 1
%37 = icmp slt i32 %34, %36
br i1 %37, label %38, label %71
38: ; preds = %33
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %13, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %13, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp sgt i32 %42, %47
br i1 %48, label %49, label %67
49: ; preds = %38
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %13, i64 %51
%53 = load i32, ptr %52, align 4
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %13, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %13, i64 %60
store i32 %58, ptr %61, align 4
%62 = load i32, ptr %5, align 4
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %13, i64 %65
store i32 %62, ptr %66, align 4
br label %67
67: ; preds = %49, %38
br label %68
68: ; preds = %67
%69 = load i32, ptr %4, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %4, align 4
br label %33, !llvm.loop !8
71: ; preds = %33
br label %72
72: ; preds = %71
%73 = load i32, ptr %3, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %3, align 4
br label %28, !llvm.loop !9
75: ; preds = %28
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %77
77: ; preds = %87, %75
%78 = load i32, ptr %3, align 4
%79 = load i32, ptr %2, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %90
81: ; preds = %77
%82 = load i32, ptr %3, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %13, i64 %83
%85 = load i32, ptr %84, align 4
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %85)
br label %87
87: ; preds = %81
%88 = load i32, ptr %3, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %3, align 4
br label %77, !llvm.loop !10
90: ; preds = %77
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%92 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %92)
%93 = load i32, ptr %1, align 4
ret i32 %93
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeyyvsvlm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Enter the length of the array: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Enter the elements of the array: \0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"Sorted array: \0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = load i32, ptr %2, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %7, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %23
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %13, i64 %20
%22 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph5, label %82
.lr.ph5: ; preds = %29
br label %33
33: ; preds = %.lr.ph5, %76
store i32 0, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %2, align 4
%36 = sub nsw i32 %35, 1
%37 = icmp slt i32 %34, %36
br i1 %37, label %.lr.ph2, label %75
.lr.ph2: ; preds = %33
br label %38
38: ; preds = %.lr.ph2, %68
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %13, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %13, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp sgt i32 %42, %47
br i1 %48, label %49, label %67
49: ; preds = %38
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %13, i64 %51
%53 = load i32, ptr %52, align 4
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %13, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %13, i64 %60
store i32 %58, ptr %61, align 4
%62 = load i32, ptr %5, align 4
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %13, i64 %65
store i32 %62, ptr %66, align 4
br label %67
67: ; preds = %49, %38
br label %68
68: ; preds = %67
%69 = load i32, ptr %4, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %4, align 4
%71 = load i32, ptr %4, align 4
%72 = load i32, ptr %2, align 4
%73 = sub nsw i32 %72, 1
%74 = icmp slt i32 %71, %73
br i1 %74, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %68
br label %75
75: ; preds = %._crit_edge3, %33
br label %76
76: ; preds = %75
%77 = load i32, ptr %3, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %3, align 4
%79 = load i32, ptr %3, align 4
%80 = load i32, ptr %2, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %29
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
%84 = load i32, ptr %3, align 4
%85 = load i32, ptr %2, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %.lr.ph8, label %99
.lr.ph8: ; preds = %82
br label %87
87: ; preds = %.lr.ph8, %93
%88 = load i32, ptr %3, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %13, i64 %89
%91 = load i32, ptr %90, align 4
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %91)
br label %93
93: ; preds = %87
%94 = load i32, ptr %3, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %3, align 4
%96 = load i32, ptr %3, align 4
%97 = load i32, ptr %2, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %87, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %93
br label %99
99: ; preds = %._crit_edge9, %82
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%101 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %101)
%102 = load i32, ptr %1, align 4
ret i32 %102
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp29bi4owv.c'
source_filename = "/tmp/tmp29bi4owv.c"
target datalayout = "e-m:e-p270: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/tmp29bi4owv.c"
target datalayout = "e-m:e-p270: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/tmpv42h8nw5.c'
source_filename = "/tmp/tmpv42h8nw5.c"
target datalayout = "e-m:e-p270: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/tmpv42h8nw5.c"
target datalayout = "e-m:e-p270: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/tmpbabhxkaw.c'
source_filename = "/tmp/tmpbabhxkaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_xdg_mime_cache_get_mime_type_for_data(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr @cache_get_mime_type_for_data(ptr noundef %7, i64 noundef %8, ptr noundef %9, ptr noundef null, i32 noundef 0)
ret ptr %10
}
declare ptr @cache_get_mime_type_for_data(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbabhxkaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_xdg_mime_cache_get_mime_type_for_data(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr @cache_get_mime_type_for_data(ptr noundef %7, i64 noundef %8, ptr noundef %9, ptr noundef null, i32 noundef 0)
ret ptr %10
}
declare ptr @cache_get_mime_type_for_data(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp39pzfvlm.c'
source_filename = "/tmp/tmp39pzfvlm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curs_back(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @sum(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sle i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %5, align 4
br label %11
11: ; preds = %10, %2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 0, %13
%15 = call i32 @move_cursor(ptr noundef %12, i32 noundef 0, i32 noundef %14)
ret void
}
declare i32 @sum(ptr noundef) #1
declare i32 @move_cursor(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/tmp39pzfvlm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curs_back(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @sum(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sle i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %5, align 4
br label %11
11: ; preds = %10, %2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 0, %13
%15 = call i32 @move_cursor(ptr noundef %12, i32 noundef 0, i32 noundef %14)
ret void
}
declare i32 @sum(ptr noundef) #1
declare i32 @move_cursor(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/tmp4hixd6j0.c'
source_filename = "/tmp/tmp4hixd6j0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [62 x i8] c"open file %s failed, file may not exist or permission denied.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ensure_open_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %17
9: ; preds = %1
%10 = call i64 @malloc(i32 noundef 128)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @snprintf(ptr noundef %12, i32 noundef 128, ptr noundef @.str.1, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = call i32 @warn(ptr noundef %15)
store ptr null, ptr %2, align 8
br label %19
17: ; preds = %1
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %2, align 8
br label %19
19: ; preds = %17, %9
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @warn(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4hixd6j0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [62 x i8] c"open file %s failed, file may not exist or permission denied.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ensure_open_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %17
9: ; preds = %1
%10 = call i64 @malloc(i32 noundef 128)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @snprintf(ptr noundef %12, i32 noundef 128, ptr noundef @.str.1, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = call i32 @warn(ptr noundef %15)
store ptr null, ptr %2, align 8
br label %19
17: ; preds = %1
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %2, align 8
br label %19
19: ; preds = %17, %9
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @warn(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl_wl657w.c'
source_filename = "/tmp/tmpl_wl657w.c"
target datalayout = "e-m:e-p270: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/tmpl_wl657w.c"
target datalayout = "e-m:e-p270: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/tmp50a37zfb.c'
source_filename = "/tmp/tmp50a37zfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@B9600 = dso_local global i32 0, align 4
@B19200 = dso_local global i32 0, align 4
@B38400 = dso_local global i32 0, align 4
@B57600 = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@B230400 = dso_local global i32 0, align 4
@B460800 = dso_local global i32 0, align 4
@B921600 = dso_local global i32 0, align 4
@B0 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vncp_determineBaudrateFlag(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %21 [
i32 9600, label %5
i32 19200, label %7
i32 38400, label %9
i32 57600, label %11
i32 115200, label %13
i32 230400, label %15
i32 460800, label %17
i32 921600, label %19
]
5: ; preds = %1
%6 = load i32, ptr @B9600, align 4
store i32 %6, ptr %2, align 4
br label %23
7: ; preds = %1
%8 = load i32, ptr @B19200, align 4
store i32 %8, ptr %2, align 4
br label %23
9: ; preds = %1
%10 = load i32, ptr @B38400, align 4
store i32 %10, ptr %2, align 4
br label %23
11: ; preds = %1
%12 = load i32, ptr @B57600, align 4
store i32 %12, ptr %2, align 4
br label %23
13: ; preds = %1
%14 = load i32, ptr @B115200, align 4
store i32 %14, ptr %2, align 4
br label %23
15: ; preds = %1
%16 = load i32, ptr @B230400, align 4
store i32 %16, ptr %2, align 4
br label %23
17: ; preds = %1
%18 = load i32, ptr @B460800, align 4
store i32 %18, ptr %2, align 4
br label %23
19: ; preds = %1
%20 = load i32, ptr @B921600, align 4
store i32 %20, ptr %2, align 4
br label %23
21: ; preds = %1
%22 = load i32, ptr @B0, align 4
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %21, %19, %17, %15, %13, %11, %9, %7, %5
%24 = load i32, ptr %2, align 4
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp50a37zfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@B9600 = dso_local global i32 0, align 4
@B19200 = dso_local global i32 0, align 4
@B38400 = dso_local global i32 0, align 4
@B57600 = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@B230400 = dso_local global i32 0, align 4
@B460800 = dso_local global i32 0, align 4
@B921600 = dso_local global i32 0, align 4
@B0 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vncp_determineBaudrateFlag(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %21 [
i32 9600, label %5
i32 19200, label %7
i32 38400, label %9
i32 57600, label %11
i32 115200, label %13
i32 230400, label %15
i32 460800, label %17
i32 921600, label %19
]
5: ; preds = %1
%6 = load i32, ptr @B9600, align 4
store i32 %6, ptr %2, align 4
br label %23
7: ; preds = %1
%8 = load i32, ptr @B19200, align 4
store i32 %8, ptr %2, align 4
br label %23
9: ; preds = %1
%10 = load i32, ptr @B38400, align 4
store i32 %10, ptr %2, align 4
br label %23
11: ; preds = %1
%12 = load i32, ptr @B57600, align 4
store i32 %12, ptr %2, align 4
br label %23
13: ; preds = %1
%14 = load i32, ptr @B115200, align 4
store i32 %14, ptr %2, align 4
br label %23
15: ; preds = %1
%16 = load i32, ptr @B230400, align 4
store i32 %16, ptr %2, align 4
br label %23
17: ; preds = %1
%18 = load i32, ptr @B460800, align 4
store i32 %18, ptr %2, align 4
br label %23
19: ; preds = %1
%20 = load i32, ptr @B921600, align 4
store i32 %20, ptr %2, align 4
br label %23
21: ; preds = %1
%22 = load i32, ptr @B0, align 4
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %21, %19, %17, %15, %13, %11, %9, %7, %5
%24 = load i32, ptr %2, align 4
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyds8nctz.c'
source_filename = "/tmp/tmpyds8nctz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookcomplex8array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %6, 8
%8 = call i32 @lookNarray(ptr noundef %5, i32 noundef %7)
ret void
}
declare i32 @lookNarray(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/tmpyds8nctz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookcomplex8array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %6, 8
%8 = call i32 @lookNarray(ptr noundef %5, i32 noundef %7)
ret void
}
declare i32 @lookNarray(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/tmp_vlljdz1.c'
source_filename = "/tmp/tmp_vlljdz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%7 = call i64 @malloc(i32 noundef 4194304)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
%9 = call i64 @malloc(i32 noundef 4096)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
%11 = call i64 @malloc(i32 noundef 4096)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [1024 x [1024 x float]], ptr %13, i64 0, i64 0
%15 = call i32 @init_data(i32 noundef 1024, i32 noundef 1024, ptr noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds [1024 x [1 x float]], ptr %16, i64 0, i64 0
%18 = call i32 @init_data(i32 noundef 1024, i32 noundef 1, ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds [1024 x [1 x float]], ptr %19, i64 0, i64 0
%21 = call i32 @init_data(i32 noundef 1024, i32 noundef 1, ptr noundef %20)
%22 = call double (...) @get_time()
store double %22, ptr %2, align 8
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds [1024 x [1024 x float]], ptr %23, i64 0, i64 0
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds [1024 x [1 x float]], ptr %25, i64 0, i64 0
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds [1024 x [1 x float]], ptr %27, i64 0, i64 0
%29 = call i32 @pencil_sgemv_t_nn(i32 noundef 1024, i32 noundef 1024, double noundef 1.000000e+01, i32 noundef 0, ptr noundef %24, i32 noundef 1, ptr noundef %26, double noundef 1.000000e+01, i32 noundef 1, ptr noundef %28)
%30 = call double (...) @get_time()
store double %30, ptr %3, align 8
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @init_data(i32 noundef, i32 noundef, ptr noundef) #1
declare double @get_time(...) #1
declare i32 @pencil_sgemv_t_nn(i32 noundef, i32 noundef, double noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, double noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_vlljdz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%7 = call i64 @malloc(i32 noundef 4194304)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
%9 = call i64 @malloc(i32 noundef 4096)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %5, align 8
%11 = call i64 @malloc(i32 noundef 4096)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [1024 x [1024 x float]], ptr %13, i64 0, i64 0
%15 = call i32 @init_data(i32 noundef 1024, i32 noundef 1024, ptr noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds [1024 x [1 x float]], ptr %16, i64 0, i64 0
%18 = call i32 @init_data(i32 noundef 1024, i32 noundef 1, ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds [1024 x [1 x float]], ptr %19, i64 0, i64 0
%21 = call i32 @init_data(i32 noundef 1024, i32 noundef 1, ptr noundef %20)
%22 = call double (...) @get_time()
store double %22, ptr %2, align 8
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds [1024 x [1024 x float]], ptr %23, i64 0, i64 0
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds [1024 x [1 x float]], ptr %25, i64 0, i64 0
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds [1024 x [1 x float]], ptr %27, i64 0, i64 0
%29 = call i32 @pencil_sgemv_t_nn(i32 noundef 1024, i32 noundef 1024, double noundef 1.000000e+01, i32 noundef 0, ptr noundef %24, i32 noundef 1, ptr noundef %26, double noundef 1.000000e+01, i32 noundef 1, ptr noundef %28)
%30 = call double (...) @get_time()
store double %30, ptr %3, align 8
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @init_data(i32 noundef, i32 noundef, ptr noundef) #1
declare double @get_time(...) #1
declare i32 @pencil_sgemv_t_nn(i32 noundef, i32 noundef, double noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, double noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5lnxpguf.c'
source_filename = "/tmp/tmp5lnxpguf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2c() #0 {
%1 = call i32 (...) @foo3c()
ret i32 %1
}
declare i32 @foo3c(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5lnxpguf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2c() #0 {
%1 = call i32 (...) @foo3c()
ret i32 %1
}
declare i32 @foo3c(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr8wepbaz.c'
source_filename = "/tmp/tmpr8wepbaz.c"
target datalayout = "e-m:e-p270: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/tmpr8wepbaz.c"
target datalayout = "e-m:e-p270: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/tmpu45r1o37.c'
source_filename = "/tmp/tmpu45r1o37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"Abc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strncasecmp_constant0() #0 {
%1 = call i64 @strncasecmp(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 3)
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = load i8, ptr null, align 1
br label %5
5: ; preds = %3, %0
ret void
}
declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu45r1o37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"Abc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strncasecmp_constant0() #0 {
%1 = call i64 @strncasecmp(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 3)
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = load i8, ptr null, align 1
br label %5
5: ; preds = %3, %0
ret void
}
declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvabjj6hl.c'
source_filename = "/tmp/tmpvabjj6hl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [107 x i8] c"Program to convert ASCII file into lower format\0A\09-h|--help for help\0A\09-v|--version for version information\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #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/tmpvabjj6hl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [107 x i8] c"Program to convert ASCII file into lower format\0A\09-h|--help for help\0A\09-v|--version for version information\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #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/tmphbqij5ra.c'
source_filename = "/tmp/tmphbqij5ra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"(%.3f,%.3f)\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"INF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%10 = load float, ptr %2, align 4
%11 = load float, ptr %5, align 4
%12 = load float, ptr %3, align 4
%13 = load float, ptr %4, align 4
%14 = fmul float %12, %13
%15 = fneg float %14
%16 = call float @llvm.fmuladd.f32(float %10, float %11, float %15)
store float %16, ptr %6, align 4
%17 = load float, ptr %6, align 4
%18 = fcmp une float %17, 0.000000e+00
br i1 %18, label %19, label %35
19: ; preds = %0
%20 = load float, ptr %5, align 4
%21 = load float, ptr %3, align 4
%22 = fsub float %20, %21
%23 = load float, ptr %6, align 4
%24 = fdiv float %22, %23
store float %24, ptr %7, align 4
%25 = load float, ptr %2, align 4
%26 = load float, ptr %4, align 4
%27 = fsub float %25, %26
%28 = load float, ptr %6, align 4
%29 = fdiv float %27, %28
store float %29, ptr %8, align 4
%30 = load float, ptr %7, align 4
%31 = fpext float %30 to double
%32 = load float, ptr %8, align 4
%33 = fpext float %32 to double
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %31, double noundef %33)
br label %37
35: ; preds = %0
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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" }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphbqij5ra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%f%f%f%f\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"(%.3f,%.3f)\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"INF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%10 = load float, ptr %2, align 4
%11 = load float, ptr %5, align 4
%12 = load float, ptr %3, align 4
%13 = load float, ptr %4, align 4
%14 = fmul float %12, %13
%15 = fneg float %14
%16 = call float @llvm.fmuladd.f32(float %10, float %11, float %15)
store float %16, ptr %6, align 4
%17 = load float, ptr %6, align 4
%18 = fcmp une float %17, 0.000000e+00
br i1 %18, label %19, label %35
19: ; preds = %0
%20 = load float, ptr %5, align 4
%21 = load float, ptr %3, align 4
%22 = fsub float %20, %21
%23 = load float, ptr %6, align 4
%24 = fdiv float %22, %23
store float %24, ptr %7, align 4
%25 = load float, ptr %2, align 4
%26 = load float, ptr %4, align 4
%27 = fsub float %25, %26
%28 = load float, ptr %6, align 4
%29 = fdiv float %27, %28
store float %29, ptr %8, align 4
%30 = load float, ptr %7, align 4
%31 = fpext float %30 to double
%32 = load float, ptr %8, align 4
%33 = fpext float %32 to double
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %31, double noundef %33)
br label %37
35: ; preds = %0
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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" }
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"}
|
; ModuleID = '/tmp/tmp9pdj7kmr.c'
source_filename = "/tmp/tmp9pdj7kmr.c"
target datalayout = "e-m:e-p270: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/tmp9pdj7kmr.c"
target datalayout = "e-m:e-p270: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/tmphg7kgq9h.c'
source_filename = "/tmp/tmphg7kgq9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@__const.main.isLetter = private unnamed_addr constant [6 x i32] [i32 1, i32 0, i32 0, i32 0, i32 1, i32 1], align 16
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"<%s>%s\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c"No\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [301 x i8], align 16
%6 = alloca [6 x i32], align 16
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %12, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.isLetter, i64 24, i1 false)
%13 = load ptr, ptr %2, align 8
%14 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %13, ptr noundef @.str.2, ptr noundef %4)
%15 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %2, align 8
%17 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %16, ptr noundef @.str.5, ptr noundef %7)
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %59, %0
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %74
22: ; preds = %18
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 0
%25 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %23, ptr noundef @.str.6, ptr noundef %24)
store i32 0, ptr %9, align 4
%26 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 0
%27 = call i32 @strlen(ptr noundef %26)
%28 = icmp eq i32 %27, 6
br i1 %28, label %29, label %59
29: ; preds = %22
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %10, align 4
br label %30
30: ; preds = %55, %29
%31 = load i32, ptr %10, align 4
%32 = icmp slt i32 %31, 6
br i1 %32, label %33, label %58
33: ; preds = %30
store i32 0, ptr %11, align 4
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %33
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = call i32 @checkLetter(i8 noundef signext %43)
store i32 %44, ptr %11, align 4
br label %51
45: ; preds = %33
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = call i32 @checkNubmer(i8 noundef signext %49)
store i32 %50, ptr %11, align 4
br label %51
51: ; preds = %45, %39
%52 = load i32, ptr %11, align 4
%53 = load i32, ptr %9, align 4
%54 = and i32 %53, %52
store i32 %54, ptr %9, align 4
br label %55
55: ; preds = %51
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %30, !llvm.loop !6
58: ; preds = %30
br label %59
59: ; preds = %58, %22
%60 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 0
%61 = load i32, ptr %9, align 4
%62 = icmp ne i32 %61, 0
%63 = zext i1 %62 to i64
%64 = select i1 %62, ptr @.str.8, ptr @.str.9
%65 = call i32 @printf(ptr noundef @.str.7, ptr noundef %60, ptr noundef %64)
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %9, align 4
%68 = icmp ne i32 %67, 0
%69 = zext i1 %68 to i64
%70 = select i1 %68, ptr @.str.11, ptr @.str.12
%71 = call i32 @fprintf(ptr noundef %66, ptr noundef @.str.10, ptr noundef %70)
%72 = load i32, ptr %8, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %8, align 4
br label %18, !llvm.loop !8
74: ; preds = %18
%75 = load ptr, ptr %2, align 8
%76 = call i32 @fclose(ptr noundef %75)
%77 = load ptr, ptr %3, align 8
%78 = call i32 @fclose(ptr noundef %77)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr 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
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @checkLetter(i8 noundef signext) #1
declare i32 @checkNubmer(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmphg7kgq9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@__const.main.isLetter = private unnamed_addr constant [6 x i32] [i32 1, i32 0, i32 0, i32 0, i32 1, i32 1], align 16
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"<%s>%s\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c"No\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [301 x i8], align 16
%6 = alloca [6 x i32], align 16
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %12, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.isLetter, i64 24, i1 false)
%13 = load ptr, ptr %2, align 8
%14 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %13, ptr noundef @.str.2, ptr noundef %4)
%15 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %2, align 8
%17 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %16, ptr noundef @.str.5, ptr noundef %7)
store i32 0, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %77
.lr.ph2: ; preds = %0
br label %21
21: ; preds = %.lr.ph2, %59
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 0
%24 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %22, ptr noundef @.str.6, ptr noundef %23)
store i32 0, ptr %9, align 4
%25 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 0
%26 = call i32 @strlen(ptr noundef %25)
%27 = icmp eq i32 %26, 6
br i1 %27, label %28, label %59
28: ; preds = %21
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp slt i32 %29, 6
br i1 %30, label %.lr.ph, label %58
.lr.ph: ; preds = %28
br label %31
31: ; preds = %.lr.ph, %53
store i32 0, ptr %11, align 4
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %43
37: ; preds = %31
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = call i32 @checkLetter(i8 noundef signext %41)
store i32 %42, ptr %11, align 4
br label %49
43: ; preds = %31
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = call i32 @checkNubmer(i8 noundef signext %47)
store i32 %48, ptr %11, align 4
br label %49
49: ; preds = %43, %37
%50 = load i32, ptr %11, align 4
%51 = load i32, ptr %9, align 4
%52 = and i32 %51, %50
store i32 %52, ptr %9, align 4
br label %53
53: ; preds = %49
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
%56 = load i32, ptr %10, align 4
%57 = icmp slt i32 %56, 6
br i1 %57, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %58
58: ; preds = %._crit_edge, %28
br label %59
59: ; preds = %58, %21
%60 = getelementptr inbounds [301 x i8], ptr %5, i64 0, i64 0
%61 = load i32, ptr %9, align 4
%62 = icmp ne i32 %61, 0
%63 = zext i1 %62 to i64
%64 = select i1 %62, ptr @.str.8, ptr @.str.9
%65 = call i32 @printf(ptr noundef @.str.7, ptr noundef %60, ptr noundef %64)
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %9, align 4
%68 = icmp ne i32 %67, 0
%69 = zext i1 %68 to i64
%70 = select i1 %68, ptr @.str.11, ptr @.str.12
%71 = call i32 @fprintf(ptr noundef %66, ptr noundef @.str.10, ptr noundef %70)
%72 = load i32, ptr %8, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %8, align 4
%74 = load i32, ptr %8, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %77
77: ; preds = %._crit_edge3, %0
%78 = load ptr, ptr %2, align 8
%79 = call i32 @fclose(ptr noundef %78)
%80 = load ptr, ptr %3, align 8
%81 = call i32 @fclose(ptr noundef %80)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr 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
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @checkLetter(i8 noundef signext) #1
declare i32 @checkNubmer(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp4jk9mh6r.c'
source_filename = "/tmp/tmp4jk9mh6r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, double noundef %3)
ret void
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4jk9mh6r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, double noundef %3)
ret void
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa9owkz5v.c'
source_filename = "/tmp/tmpa9owkz5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @fatorial(i32 noundef 0)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
%3 = call i32 @fatorial(i32 noundef 1)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 @fatorial(i32 noundef 5)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = call i32 @fatorial(i32 noundef -5)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fatorial(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/tmpa9owkz5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @fatorial(i32 noundef 0)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
%3 = call i32 @fatorial(i32 noundef 1)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 @fatorial(i32 noundef 5)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = call i32 @fatorial(i32 noundef -5)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fatorial(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/tmpd7t7v9n7.c'
source_filename = "/tmp/tmpd7t7v9n7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = call i32 @syscall(i32 noundef 64, i32 noundef 1, i64 noundef %4, i32 noundef %6)
ret void
}
declare i32 @syscall(i32 noundef, i32 noundef, i64 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/tmpd7t7v9n7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = call i32 @syscall(i32 noundef 64, i32 noundef 1, i64 noundef %4, i32 noundef %6)
ret void
}
declare i32 @syscall(i32 noundef, i32 noundef, i64 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/tmpx6_93szk.c'
source_filename = "/tmp/tmpx6_93szk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"informe seu peso \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"informe sua altura \0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Seu imc %2.f \0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"VC esta magro \0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"VC tem peso ideal \0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Vc esta acima do peso \0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"VC esta obeso \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load float, ptr %4, align 4
%10 = load float, ptr %3, align 4
%11 = load float, ptr %3, align 4
%12 = fmul float %10, %11
%13 = fdiv float %9, %12
store float %13, ptr %2, align 4
%14 = load float, ptr %2, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %15)
%17 = load float, ptr %2, align 4
%18 = fcmp olt float %17, 1.900000e+01
br i1 %18, label %19, label %21
19: ; preds = %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %45
21: ; preds = %0
%22 = load float, ptr %2, align 4
%23 = fcmp ogt float %22, 2.000000e+01
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load float, ptr %2, align 4
%26 = fcmp olt float %25, 2.600000e+01
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %44
29: ; preds = %24, %21
%30 = load float, ptr %2, align 4
%31 = fcmp ogt float %30, 2.600000e+01
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = load float, ptr %2, align 4
%34 = fcmp olt float %33, 3.100000e+01
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %43
37: ; preds = %32, %29
%38 = load float, ptr %2, align 4
%39 = fcmp ogt float %38, 3.100000e+01
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %42
42: ; preds = %40, %37
br label %43
43: ; preds = %42, %35
br label %44
44: ; preds = %43, %27
br label %45
45: ; preds = %44, %19
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/tmpx6_93szk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"informe seu peso \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"informe sua altura \0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Seu imc %2.f \0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"VC esta magro \0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"VC tem peso ideal \0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Vc esta acima do peso \0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"VC esta obeso \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load float, ptr %4, align 4
%10 = load float, ptr %3, align 4
%11 = load float, ptr %3, align 4
%12 = fmul float %10, %11
%13 = fdiv float %9, %12
store float %13, ptr %2, align 4
%14 = load float, ptr %2, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %15)
%17 = load float, ptr %2, align 4
%18 = fcmp olt float %17, 1.900000e+01
br i1 %18, label %19, label %21
19: ; preds = %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %45
21: ; preds = %0
%22 = load float, ptr %2, align 4
%23 = fcmp ogt float %22, 2.000000e+01
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load float, ptr %2, align 4
%26 = fcmp olt float %25, 2.600000e+01
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %44
29: ; preds = %24, %21
%30 = load float, ptr %2, align 4
%31 = fcmp ogt float %30, 2.600000e+01
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = load float, ptr %2, align 4
%34 = fcmp olt float %33, 3.100000e+01
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %43
37: ; preds = %32, %29
%38 = load float, ptr %2, align 4
%39 = fcmp ogt float %38, 3.100000e+01
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %42
42: ; preds = %40, %37
br label %43
43: ; preds = %42, %35
br label %44
44: ; preds = %43, %27
br label %45
45: ; preds = %44, %19
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/tmpy15t5255.c'
source_filename = "/tmp/tmpy15t5255.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"|\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isPipe(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %23, %1
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds ptr, ptr %6, i64 %8
%10 = load ptr, ptr %9, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %26
12: ; preds = %5
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %12
%21 = load i32, ptr %4, align 4
store i32 %21, ptr %2, align 4
br label %27
22: ; preds = %12
br label %23
23: ; preds = %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %5, !llvm.loop !6
26: ; preds = %5
store i32 0, ptr %2, align 4
br label %27
27: ; preds = %26, %20
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy15t5255.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"|\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isPipe(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds ptr, ptr %5, i64 %7
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %22
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = load i32, ptr %4, align 4
store i32 %20, ptr %2, align 4
br label %32
21: ; preds = %11
br label %22
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %31
31: ; preds = %._crit_edge, %1
store i32 0, ptr %2, align 4
br label %32
32: ; preds = %31, %19
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw2g6wv80.c'
source_filename = "/tmp/tmpw2g6wv80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error_log_pre_init() #0 {
%1 = call i32 @error_log_init(ptr noundef null)
ret void
}
declare i32 @error_log_init(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2g6wv80.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error_log_pre_init() #0 {
%1 = call i32 @error_log_init(ptr noundef null)
ret void
}
declare i32 @error_log_init(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyl53h5p0.c'
source_filename = "/tmp/tmpyl53h5p0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@deco_gen_err.ebuf = internal global [6 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [8 x i8] c"NoValue\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"NoIndexedValue\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"NoReply\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"NoSignal\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Remote\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"Dongle Comm.(0)\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"Dongle Comm.(1)\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"EndOfFile\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"NaN\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"Err %u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @deco_gen_err(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 %14 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 252, label %7
i32 3, label %8
i32 255, label %9
i32 512, label %10
i32 513, label %11
i32 65534, label %12
i32 65535, label %13
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %18
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %18
7: ; preds = %1, %1
store ptr @.str.2, ptr %2, align 8
br label %18
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %18
9: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %18
10: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %18
11: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %18
12: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %18
13: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %18
14: ; preds = %1
%15 = load i32, ptr %3, align 4
%16 = and i32 %15, 65535
%17 = call i32 @sprintf(ptr noundef @deco_gen_err.ebuf, ptr noundef @.str.9, i32 noundef %16)
store ptr @deco_gen_err.ebuf, ptr %2, align 8
br label %18
18: ; preds = %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyl53h5p0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@deco_gen_err.ebuf = internal global [6 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [8 x i8] c"NoValue\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"NoIndexedValue\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"NoReply\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"NoSignal\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Remote\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"Dongle Comm.(0)\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"Dongle Comm.(1)\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"EndOfFile\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"NaN\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"Err %u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @deco_gen_err(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 %14 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 252, label %7
i32 3, label %8
i32 255, label %9
i32 512, label %10
i32 513, label %11
i32 65534, label %12
i32 65535, label %13
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %18
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %18
7: ; preds = %1, %1
store ptr @.str.2, ptr %2, align 8
br label %18
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %18
9: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %18
10: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %18
11: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %18
12: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %18
13: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %18
14: ; preds = %1
%15 = load i32, ptr %3, align 4
%16 = and i32 %15, 65535
%17 = call i32 @sprintf(ptr noundef @deco_gen_err.ebuf, ptr noundef @.str.9, i32 noundef %16)
store ptr @deco_gen_err.ebuf, ptr %2, align 8
br label %18
18: ; preds = %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxg3f7env.c'
source_filename = "/tmp/tmpxg3f7env.c"
target datalayout = "e-m:e-p270: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/tmpxg3f7env.c"
target datalayout = "e-m:e-p270: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/tmpwhc76bha.c'
source_filename = "/tmp/tmpwhc76bha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter your responses\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"That's all.\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Bad response: %i\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\0A\0ARating Number of Responses\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"------ -------------------\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"%4i%14i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
br label %6
6: ; preds = %13, %0
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 10
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %11
store i32 0, ptr %12, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %18
18: ; preds = %43, %16
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 99
br i1 %20, label %21, label %44
21: ; preds = %18
%22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 999
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %44
27: ; preds = %21
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 1
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = load i32, ptr %4, align 4
%32 = icmp sgt i32 %31, 10
br i1 %32, label %33, label %36
33: ; preds = %30, %27
%34 = load i32, ptr %4, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34)
br label %42
36: ; preds = %30
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %39, align 4
br label %42
42: ; preds = %36, %33
br label %43
43: ; preds = %42
br label %18, !llvm.loop !8
44: ; preds = %25, %18
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
br label %47
47: ; preds = %57, %44
%48 = load i32, ptr %3, align 4
%49 = icmp sle i32 %48, 10
br i1 %49, label %50, label %60
50: ; preds = %47
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %3, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %51, i32 noundef %55)
br label %57
57: ; preds = %50
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
br label %47, !llvm.loop !9
60: ; preds = %47
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwhc76bha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter your responses\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"That's all.\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Bad response: %i\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\0A\0ARating Number of Responses\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"------ -------------------\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"%4i%14i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 %6, 10
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %12
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %10
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %15, 10
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 99
br i1 %20, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %17
br label %21
21: ; preds = %.lr.ph2, %43
%22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 999
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %46
27: ; preds = %21
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 1
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = load i32, ptr %4, align 4
%32 = icmp sgt i32 %31, 10
br i1 %32, label %33, label %36
33: ; preds = %30, %27
%34 = load i32, ptr %4, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34)
br label %42
36: ; preds = %30
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %39, align 4
br label %42
42: ; preds = %36, %33
br label %43
43: ; preds = %42
%44 = load i32, ptr %4, align 4
%45 = icmp ne i32 %44, 99
br i1 %45, label %21, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %43
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %17
br label %46
46: ; preds = %.loopexit, %25
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
%49 = load i32, ptr %3, align 4
%50 = icmp sle i32 %49, 10
br i1 %50, label %.lr.ph4, label %63
.lr.ph4: ; preds = %46
br label %51
51: ; preds = %.lr.ph4, %58
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %52, i32 noundef %56)
br label %58
58: ; preds = %51
%59 = load i32, ptr %3, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %3, align 4
%61 = load i32, ptr %3, align 4
%62 = icmp sle i32 %61, 10
br i1 %62, label %51, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %58
br label %63
63: ; preds = %._crit_edge5, %46
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpn84nshm6.c'
source_filename = "/tmp/tmpn84nshm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basCursOn() #0 {
%1 = call i32 (...) @curson()
%2 = call i32 @pushNumber(i32 noundef %1)
ret void
}
declare i32 @pushNumber(i32 noundef) #1
declare i32 @curson(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn84nshm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basCursOn() #0 {
%1 = call i32 (...) @curson()
%2 = call i32 @pushNumber(i32 noundef %1)
ret void
}
declare i32 @pushNumber(i32 noundef) #1
declare i32 @curson(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf8y_6yaj.c'
source_filename = "/tmp/tmpf8y_6yaj.c"
target datalayout = "e-m:e-p270: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.test_primitive_arith.a = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16
@.str = private unnamed_addr constant [11 x i8] c"count == 5\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_primitive_arith() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_primitive_arith.a, i64 40, i1 false)
%7 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
store ptr %7, ptr %2, align 8
%8 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 5
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = ptrtoint ptr %9 to i32
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = ptrtoint ptr %11 to i32
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %13, %14
%16 = sext i32 %15 to i64
%17 = udiv i64 %16, 4
%18 = trunc i64 %17 to i32
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 5
%21 = zext i1 %20 to i32
%22 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %21)
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 @assertTrue(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf8y_6yaj.c"
target datalayout = "e-m:e-p270: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.test_primitive_arith.a = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16
@.str = private unnamed_addr constant [11 x i8] c"count == 5\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_primitive_arith() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_primitive_arith.a, i64 40, i1 false)
%7 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
store ptr %7, ptr %2, align 8
%8 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 5
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = ptrtoint ptr %9 to i32
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = ptrtoint ptr %11 to i32
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %13, %14
%16 = sext i32 %15 to i64
%17 = udiv i64 %16, 4
%18 = trunc i64 %17 to i32
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 5
%21 = zext i1 %20 to i32
%22 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %21)
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 @assertTrue(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4kb7jsb0.c'
source_filename = "/tmp/tmp4kb7jsb0.c"
target datalayout = "e-m:e-p270: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/tmp4kb7jsb0.c"
target datalayout = "e-m:e-p270: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/tmp5t70qluc.c'
source_filename = "/tmp/tmp5t70qluc.c"
target datalayout = "e-m:e-p270: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/tmp5t70qluc.c"
target datalayout = "e-m:e-p270: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/tmpueginui4.c'
source_filename = "/tmp/tmpueginui4.c"
target datalayout = "e-m:e-p270: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_GETFL = dso_local global i32 0, align 4
@F_SETFL = 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 void @set_nonblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @F_SETFL, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr @O_NONBLOCK, align 4
%15 = or i32 %13, %14
%16 = call i32 @fcntl(i32 noundef %11, i32 noundef %12, i32 noundef %15)
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpueginui4.c"
target datalayout = "e-m:e-p270: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_GETFL = dso_local global i32 0, align 4
@F_SETFL = 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 void @set_nonblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @F_SETFL, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr @O_NONBLOCK, align 4
%15 = or i32 %13, %14
%16 = call i32 @fcntl(i32 noundef %11, i32 noundef %12, i32 noundef %15)
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsuhn_u0u.c'
source_filename = "/tmp/tmpsuhn_u0u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_midi_setup() #0 {
%1 = call i32 (...) @midiin_setup()
%2 = call i32 (...) @midirealtimein_setup()
%3 = call i32 (...) @notein_setup()
%4 = call i32 (...) @ctlin_setup()
%5 = call i32 (...) @pgmin_setup()
%6 = call i32 (...) @bendin_setup()
%7 = call i32 (...) @touchin_setup()
%8 = call i32 (...) @polytouchin_setup()
%9 = call i32 (...) @midiout_setup()
%10 = call i32 (...) @noteout_setup()
%11 = call i32 (...) @ctlout_setup()
%12 = call i32 (...) @pgmout_setup()
%13 = call i32 (...) @bendout_setup()
%14 = call i32 (...) @touchout_setup()
%15 = call i32 (...) @polytouchout_setup()
%16 = call i32 (...) @makenote_setup()
%17 = call i32 (...) @stripnote_setup()
%18 = call i32 (...) @poly_setup()
%19 = call i32 (...) @bag_setup()
ret void
}
declare i32 @midiin_setup(...) #1
declare i32 @midirealtimein_setup(...) #1
declare i32 @notein_setup(...) #1
declare i32 @ctlin_setup(...) #1
declare i32 @pgmin_setup(...) #1
declare i32 @bendin_setup(...) #1
declare i32 @touchin_setup(...) #1
declare i32 @polytouchin_setup(...) #1
declare i32 @midiout_setup(...) #1
declare i32 @noteout_setup(...) #1
declare i32 @ctlout_setup(...) #1
declare i32 @pgmout_setup(...) #1
declare i32 @bendout_setup(...) #1
declare i32 @touchout_setup(...) #1
declare i32 @polytouchout_setup(...) #1
declare i32 @makenote_setup(...) #1
declare i32 @stripnote_setup(...) #1
declare i32 @poly_setup(...) #1
declare i32 @bag_setup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsuhn_u0u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_midi_setup() #0 {
%1 = call i32 (...) @midiin_setup()
%2 = call i32 (...) @midirealtimein_setup()
%3 = call i32 (...) @notein_setup()
%4 = call i32 (...) @ctlin_setup()
%5 = call i32 (...) @pgmin_setup()
%6 = call i32 (...) @bendin_setup()
%7 = call i32 (...) @touchin_setup()
%8 = call i32 (...) @polytouchin_setup()
%9 = call i32 (...) @midiout_setup()
%10 = call i32 (...) @noteout_setup()
%11 = call i32 (...) @ctlout_setup()
%12 = call i32 (...) @pgmout_setup()
%13 = call i32 (...) @bendout_setup()
%14 = call i32 (...) @touchout_setup()
%15 = call i32 (...) @polytouchout_setup()
%16 = call i32 (...) @makenote_setup()
%17 = call i32 (...) @stripnote_setup()
%18 = call i32 (...) @poly_setup()
%19 = call i32 (...) @bag_setup()
ret void
}
declare i32 @midiin_setup(...) #1
declare i32 @midirealtimein_setup(...) #1
declare i32 @notein_setup(...) #1
declare i32 @ctlin_setup(...) #1
declare i32 @pgmin_setup(...) #1
declare i32 @bendin_setup(...) #1
declare i32 @touchin_setup(...) #1
declare i32 @polytouchin_setup(...) #1
declare i32 @midiout_setup(...) #1
declare i32 @noteout_setup(...) #1
declare i32 @ctlout_setup(...) #1
declare i32 @pgmout_setup(...) #1
declare i32 @bendout_setup(...) #1
declare i32 @touchout_setup(...) #1
declare i32 @polytouchout_setup(...) #1
declare i32 @makenote_setup(...) #1
declare i32 @stripnote_setup(...) #1
declare i32 @poly_setup(...) #1
declare i32 @bag_setup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpili7xctw.c'
source_filename = "/tmp/tmpili7xctw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @draw_border() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 3, ptr %4, align 4
%7 = call i32 @get_screen_size_(ptr noundef %5, ptr noundef %6)
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %10, %11
%13 = sub nsw i32 %12, 1
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %14, %15
%17 = sub nsw i32 %16, 1
%18 = call i32 @draw_rect(i32 noundef %8, i32 noundef %9, i32 noundef %13, i32 noundef %17, i8 noundef signext 38)
%19 = call i32 (...) @show_screen()
ret void
}
declare i32 @get_screen_size_(ptr noundef, ptr noundef) #1
declare i32 @draw_rect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @show_screen(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpili7xctw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @draw_border() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 3, ptr %4, align 4
%7 = call i32 @get_screen_size_(ptr noundef %5, ptr noundef %6)
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %10, %11
%13 = sub nsw i32 %12, 1
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %14, %15
%17 = sub nsw i32 %16, 1
%18 = call i32 @draw_rect(i32 noundef %8, i32 noundef %9, i32 noundef %13, i32 noundef %17, i8 noundef signext 38)
%19 = call i32 (...) @show_screen()
ret void
}
declare i32 @get_screen_size_(ptr noundef, ptr noundef) #1
declare i32 @draw_rect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @show_screen(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgich9kp7.c'
source_filename = "/tmp/tmpgich9kp7.c"
target datalayout = "e-m:e-p270: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/tmpgich9kp7.c"
target datalayout = "e-m:e-p270: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/tmpy4ty8gm7.c'
source_filename = "/tmp/tmpy4ty8gm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@S_IRWXU = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @executeFileOutCommand(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%11 = call i32 @dup(i32 noundef 1)
store i32 %11, ptr %8, align 4
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr @O_WRONLY, align 4
%14 = load i32, ptr @O_CREAT, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @O_TRUNC, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @S_IRWXU, align 4
%19 = load i32, ptr @S_IRGRP, align 4
%20 = or i32 %18, %19
%21 = load i32, ptr @S_IROTH, align 4
%22 = or i32 %20, %21
%23 = call i32 @open(ptr noundef %12, i32 noundef %17, i32 noundef %22)
store i32 %23, ptr %9, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %3
store i32 1, ptr %4, align 4
br label %54
27: ; preds = %3
%28 = load i32, ptr %9, align 4
%29 = call i64 @dup2(i32 noundef %28, i32 noundef 1)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 1, ptr %4, align 4
br label %54
32: ; preds = %27
%33 = call i64 (...) @fork()
%34 = icmp eq i64 %33, 0
%35 = zext i1 %34 to i32
store i32 %35, ptr %10, align 4
br i1 %34, label %36, label %44
36: ; preds = %32
%37 = load i32, ptr %9, align 4
%38 = call i32 @close(i32 noundef %37)
%39 = load i32, ptr %8, align 4
%40 = call i32 @close(i32 noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = load ptr, ptr %6, align 8
%43 = call i32 @execve(ptr noundef %41, ptr noundef %42, i32 noundef 0)
store i32 0, ptr %4, align 4
br label %54
44: ; preds = %32
%45 = load i32, ptr %8, align 4
%46 = call i64 @dup2(i32 noundef %45, i32 noundef 1)
%47 = load i32, ptr %9, align 4
%48 = call i32 @close(i32 noundef %47)
%49 = load i32, ptr %8, align 4
%50 = call i32 @close(i32 noundef %49)
%51 = call i32 @wait(i32 noundef 0)
%52 = load i32, ptr %9, align 4
%53 = call i32 @close(i32 noundef %52)
store i32 0, ptr %4, align 4
br label %54
54: ; preds = %44, %36, %31, %26
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i32 @dup(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @dup2(i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @execve(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @wait(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/tmpy4ty8gm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@S_IRWXU = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @executeFileOutCommand(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%11 = call i32 @dup(i32 noundef 1)
store i32 %11, ptr %8, align 4
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr @O_WRONLY, align 4
%14 = load i32, ptr @O_CREAT, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @O_TRUNC, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @S_IRWXU, align 4
%19 = load i32, ptr @S_IRGRP, align 4
%20 = or i32 %18, %19
%21 = load i32, ptr @S_IROTH, align 4
%22 = or i32 %20, %21
%23 = call i32 @open(ptr noundef %12, i32 noundef %17, i32 noundef %22)
store i32 %23, ptr %9, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %3
store i32 1, ptr %4, align 4
br label %54
27: ; preds = %3
%28 = load i32, ptr %9, align 4
%29 = call i64 @dup2(i32 noundef %28, i32 noundef 1)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 1, ptr %4, align 4
br label %54
32: ; preds = %27
%33 = call i64 (...) @fork()
%34 = icmp eq i64 %33, 0
%35 = zext i1 %34 to i32
store i32 %35, ptr %10, align 4
br i1 %34, label %36, label %44
36: ; preds = %32
%37 = load i32, ptr %9, align 4
%38 = call i32 @close(i32 noundef %37)
%39 = load i32, ptr %8, align 4
%40 = call i32 @close(i32 noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = load ptr, ptr %6, align 8
%43 = call i32 @execve(ptr noundef %41, ptr noundef %42, i32 noundef 0)
store i32 0, ptr %4, align 4
br label %54
44: ; preds = %32
%45 = load i32, ptr %8, align 4
%46 = call i64 @dup2(i32 noundef %45, i32 noundef 1)
%47 = load i32, ptr %9, align 4
%48 = call i32 @close(i32 noundef %47)
%49 = load i32, ptr %8, align 4
%50 = call i32 @close(i32 noundef %49)
%51 = call i32 @wait(i32 noundef 0)
%52 = load i32, ptr %9, align 4
%53 = call i32 @close(i32 noundef %52)
store i32 0, ptr %4, align 4
br label %54
54: ; preds = %44, %36, %31, %26
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i32 @dup(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @dup2(i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @execve(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @wait(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/tmp22ight2q.c'
source_filename = "/tmp/tmp22ight2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"A floating point exception occured.\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"An illegal instruction occured.\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"A segmentation violation occured.\0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"An unknown signal was caught.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signal_handler(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 %11 [
i32 131, label %4
i32 130, label %6
i32 129, label %8
i32 128, label %9
]
4: ; preds = %1
%5 = call i32 @perror(ptr noundef @.str)
br label %13
6: ; preds = %1
%7 = call i32 @perror(ptr noundef @.str.1)
br label %13
8: ; preds = %1
br label %13
9: ; preds = %1
%10 = call i32 @perror(ptr noundef @.str.2)
br label %13
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str.3)
br label %13
13: ; preds = %11, %9, %8, %6, %4
%14 = load i32, ptr @EXIT_SUCCESS, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
}
declare i32 @perror(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/tmp22ight2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"A floating point exception occured.\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"An illegal instruction occured.\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"A segmentation violation occured.\0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"An unknown signal was caught.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signal_handler(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 %11 [
i32 131, label %4
i32 130, label %6
i32 129, label %8
i32 128, label %9
]
4: ; preds = %1
%5 = call i32 @perror(ptr noundef @.str)
br label %13
6: ; preds = %1
%7 = call i32 @perror(ptr noundef @.str.1)
br label %13
8: ; preds = %1
br label %13
9: ; preds = %1
%10 = call i32 @perror(ptr noundef @.str.2)
br label %13
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str.3)
br label %13
13: ; preds = %11, %9, %8, %6, %4
%14 = load i32, ptr @EXIT_SUCCESS, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
}
declare i32 @perror(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/tmp1hrww3a9.c'
source_filename = "/tmp/tmp1hrww3a9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Kindly enter any number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"The factorial of the number is %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
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @factorial(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @factorial(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/tmp1hrww3a9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Kindly enter any number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"The factorial of the number is %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
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @factorial(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @factorial(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/tmpw21fhvc2.c'
source_filename = "/tmp/tmpw21fhvc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thrd_yield() #0 {
%1 = call i32 (...) @sched_yield()
ret void
}
declare i32 @sched_yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw21fhvc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thrd_yield() #0 {
%1 = call i32 (...) @sched_yield()
ret void
}
declare i32 @sched_yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjd8lzgzg.c'
source_filename = "/tmp/tmpjd8lzgzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randBound(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 (...) @randM()
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = srem i32 %5, %8
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
ret i32 %11
}
declare i32 @randM(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjd8lzgzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randBound(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 (...) @randM()
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = srem i32 %5, %8
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
ret i32 %11
}
declare i32 @randM(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4o3bnd2z.c'
source_filename = "/tmp/tmp4o3bnd2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Encipher(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %46, %2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %49
18: ; preds = %11
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 32
br i1 %25, label %34, label %26
26: ; preds = %18
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %35
34: ; preds = %26, %18
br label %46
35: ; preds = %26
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
store i8 %40, ptr %45, align 1
br label %46
46: ; preds = %35, %34
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
br label %11, !llvm.loop !6
49: ; preds = %11
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
store i8 0, ptr %53, align 1
%54 = load ptr, ptr %5, align 8
ret ptr %54
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4o3bnd2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Encipher(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %54
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %45
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %7, 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 %33, label %25
25: ; preds = %17
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 10
br i1 %32, label %33, label %34
33: ; preds = %25, %17
br label %45
34: ; preds = %25
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 %39, ptr %44, align 1
br label %45
45: ; preds = %34, %33
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = icmp ne i8 %52, 0
br i1 %53, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %54
54: ; preds = %._crit_edge, %2
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %5, align 8
ret ptr %59
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3_tupjpp.c'
source_filename = "/tmp/tmp3_tupjpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Array is : \0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %19, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %8, !llvm.loop !6
22: ; preds = %8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3_tupjpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Array is : \0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %18
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp95kvl4n2.c'
source_filename = "/tmp/tmp95kvl4n2.c"
target datalayout = "e-m:e-p270: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/tmp95kvl4n2.c"
target datalayout = "e-m:e-p270: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/tmpgc_3tad0.c'
source_filename = "/tmp/tmpgc_3tad0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @path_real(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call ptr @path_absolute(ptr noundef %11)
store ptr %12, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %10
store ptr null, ptr %2, align 8
br label %21
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = call ptr @path_real_rec(ptr noundef %16, ptr noundef %4)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %6, align 8
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %15, %14, %9
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare ptr @path_absolute(ptr noundef) #1
declare ptr @path_real_rec(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/tmpgc_3tad0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @path_real(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call ptr @path_absolute(ptr noundef %11)
store ptr %12, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %10
store ptr null, ptr %2, align 8
br label %21
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = call ptr @path_real_rec(ptr noundef %16, ptr noundef %4)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %6, align 8
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %15, %14, %9
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare ptr @path_absolute(ptr noundef) #1
declare ptr @path_real_rec(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/tmp667i5t2j.c'
source_filename = "/tmp/tmp667i5t2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wma_file_read_bytes(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
%12 = load ptr, ptr %7, align 8
store ptr %11, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %3
store i32 0, ptr %4, align 4
br label %31
17: ; preds = %3
%18 = load i32, ptr %5, align 4
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %6, align 4
%22 = call i32 @read(i32 noundef %18, ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %29, label %25
25: ; preds = %17
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %25, %17
store i32 0, ptr %4, align 4
br label %31
30: ; preds = %25
store i32 1, ptr %4, align 4
br label %31
31: ; preds = %30, %29, %16
%32 = load i32, ptr %4, align 4
ret i32 %32
}
declare i64 @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp667i5t2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wma_file_read_bytes(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
%12 = load ptr, ptr %7, align 8
store ptr %11, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %3
store i32 0, ptr %4, align 4
br label %31
17: ; preds = %3
%18 = load i32, ptr %5, align 4
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %6, align 4
%22 = call i32 @read(i32 noundef %18, ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %29, label %25
25: ; preds = %17
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %25, %17
store i32 0, ptr %4, align 4
br label %31
30: ; preds = %25
store i32 1, ptr %4, align 4
br label %31
31: ; preds = %30, %29, %16
%32 = load i32, ptr %4, align 4
ret i32 %32
}
declare i64 @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyzu9xyh3.c'
source_filename = "/tmp/tmpyzu9xyh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"cudaLaunch\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @detect_cuda(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 @look_for_symbol(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @look_for_symbol(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/tmpyzu9xyh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"cudaLaunch\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @detect_cuda(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 @look_for_symbol(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @look_for_symbol(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/tmpoqshz5_8.c'
source_filename = "/tmp/tmpoqshz5_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @time(ptr noundef %1)
%3 = call ptr @ctime(ptr noundef %1)
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqshz5_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @time(ptr noundef %1)
%3 = call ptr @ctime(ptr noundef %1)
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgi836cqe.c'
source_filename = "/tmp/tmpgi836cqe.c"
target datalayout = "e-m:e-p270: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/tmpgi836cqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_6fc_gox.c'
source_filename = "/tmp/tmp_6fc_gox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IF_showDev() #0 {
%1 = alloca i64, align 8
%2 = call i32 @getParLong(ptr noundef %1)
%3 = icmp ne i32 %2, 0
br i1 %3, label %5, label %4
4: ; preds = %0
br label %7
5: ; preds = %0
%6 = call i32 @messErr(i32 noundef 17)
br label %7
7: ; preds = %5, %4
ret void
}
declare i32 @getParLong(ptr noundef) #1
declare i32 @messErr(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_6fc_gox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IF_showDev() #0 {
%1 = alloca i64, align 8
%2 = call i32 @getParLong(ptr noundef %1)
%3 = icmp ne i32 %2, 0
br i1 %3, label %5, label %4
4: ; preds = %0
br label %7
5: ; preds = %0
%6 = call i32 @messErr(i32 noundef 17)
br label %7
7: ; preds = %5, %4
ret void
}
declare i32 @getParLong(ptr noundef) #1
declare i32 @messErr(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/tmp9j9vq5n3.c'
source_filename = "/tmp/tmp9j9vq5n3.c"
target datalayout = "e-m:e-p270: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/tmp9j9vq5n3.c"
target datalayout = "e-m:e-p270: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/tmpuowcqdi1.c'
source_filename = "/tmp/tmpuowcqdi1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_type_and_prefix(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
store ptr null, ptr %9, align 8
%10 = load ptr, ptr %5, align 8
store ptr null, ptr %10, align 8
%11 = load ptr, ptr %4, align 8
%12 = call ptr @strtok(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %7, align 8
%13 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %3
%17 = load ptr, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %16, %3
br label %27
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = call ptr @strdup(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %8, align 8
%25 = call ptr @strdup(ptr noundef %24)
%26 = load ptr, ptr %6, align 8
store ptr %25, ptr %26, align 8
br label %27
27: ; preds = %20, %19
ret void
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuowcqdi1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c":\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_type_and_prefix(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
store ptr null, ptr %9, align 8
%10 = load ptr, ptr %5, align 8
store ptr null, ptr %10, align 8
%11 = load ptr, ptr %4, align 8
%12 = call ptr @strtok(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %7, align 8
%13 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %3
%17 = load ptr, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %16, %3
br label %27
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = call ptr @strdup(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %8, align 8
%25 = call ptr @strdup(ptr noundef %24)
%26 = load ptr, ptr %6, align 8
store ptr %25, ptr %26, align 8
br label %27
27: ; preds = %20, %19
ret void
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1wo7heou.c'
source_filename = "/tmp/tmp1wo7heou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
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
br label %7
7: ; preds = %10, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 25
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load i32, ptr %6, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %6, align 4
br label %7, !llvm.loop !6
15: ; preds = %7
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1wo7heou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
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
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 25
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %6, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 25
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpssukdhf4.c'
source_filename = "/tmp/tmpssukdhf4.c"
target datalayout = "e-m:e-p270: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/tmpssukdhf4.c"
target datalayout = "e-m:e-p270: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/tmpqju1n5uu.c'
source_filename = "/tmp/tmpqju1n5uu.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"Failed to initialize!\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Unable to write bytes to stdout\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%s: %s!\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca [4096 x i8], align 16
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %10, align 4
%14 = call i32 (...) @pe_init()
store i32 %14, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %75
19: ; preds = %2
%20 = load i32, ptr %6, align 4
%21 = call i32 @pe_active(i32 noundef %20)
br label %22
22: ; preds = %67, %19
%23 = load i32, ptr %10, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %70
25: ; preds = %22
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i32, ptr @O_RDONLY, align 4
%32 = call i32 @open(ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %57
35: ; preds = %25
br label %36
36: ; preds = %53, %35
%37 = load i32, ptr %7, align 4
%38 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%39 = call i64 @read(i32 noundef %37, ptr noundef %38, i32 noundef 4096)
store i64 %39, ptr %8, align 8
%40 = icmp ugt i64 %39, 0
br i1 %40, label %41, label %54
41: ; preds = %36
%42 = load i32, ptr @STDOUT_FILENO, align 4
%43 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%44 = load i64, ptr %8, align 8
%45 = call i32 @write(i32 noundef %42, ptr noundef %43, i64 noundef %44)
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %11, align 4
%47 = sext i32 %46 to i64
%48 = load i64, ptr %8, align 8
%49 = icmp ne i64 %47, %48
br i1 %49, label %50, label %53
50: ; preds = %41
%51 = load i32, ptr @stderr, align 4
%52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.1)
br label %53
53: ; preds = %50, %41
br label %36, !llvm.loop !6
54: ; preds = %36
%55 = load i32, ptr %7, align 4
%56 = call i32 @close(i32 noundef %55)
br label %67
57: ; preds = %25
%58 = load i32, ptr @stderr, align 4
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %10, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = load i32, ptr @errno, align 4
%65 = call ptr @strerror(i32 noundef %64)
%66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.2, ptr noundef %63, ptr noundef %65)
br label %67
67: ; preds = %57, %54
%68 = load i32, ptr %10, align 4
%69 = add nsw i32 %68, -1
store i32 %69, ptr %10, align 4
br label %22, !llvm.loop !8
70: ; preds = %22
%71 = load i32, ptr %6, align 4
%72 = call i32 @pe_idle(i32 noundef %71)
%73 = load i32, ptr %6, align 4
%74 = call i32 @pe_exit(i32 noundef %73)
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %70, %16
%76 = load i32, ptr %3, align 4
ret i32 %76
}
declare i32 @pe_init(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @pe_active(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @pe_idle(i32 noundef) #1
declare i32 @pe_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqju1n5uu.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"Failed to initialize!\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Unable to write bytes to stdout\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%s: %s!\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca [4096 x i8], align 16
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %10, align 4
%14 = call i32 (...) @pe_init()
store i32 %14, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %78
19: ; preds = %2
%20 = load i32, ptr %6, align 4
%21 = call i32 @pe_active(i32 noundef %20)
%22 = load i32, ptr %10, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %.lr.ph2, label %73
.lr.ph2: ; preds = %19
br label %24
24: ; preds = %.lr.ph2, %68
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr @O_RDONLY, align 4
%31 = call i32 @open(ptr noundef %29, i32 noundef %30)
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %58
34: ; preds = %24
%35 = load i32, ptr %7, align 4
%36 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%37 = call i64 @read(i32 noundef %35, ptr noundef %36, i32 noundef 4096)
store i64 %37, ptr %8, align 8
%38 = icmp ugt i64 %37, 0
br i1 %38, label %.lr.ph, label %55
.lr.ph: ; preds = %34
br label %39
39: ; preds = %.lr.ph, %51
%40 = load i32, ptr @STDOUT_FILENO, align 4
%41 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%42 = load i64, ptr %8, align 8
%43 = call i32 @write(i32 noundef %40, ptr noundef %41, i64 noundef %42)
store i32 %43, ptr %11, align 4
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = load i64, ptr %8, align 8
%47 = icmp ne i64 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %39
%49 = load i32, ptr @stderr, align 4
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.1)
br label %51
51: ; preds = %48, %39
%52 = load i32, ptr %7, align 4
%53 = call i64 @read(i32 noundef %52, ptr noundef %36, i32 noundef 4096)
store i64 %53, ptr %8, align 8
%54 = icmp ugt i64 %53, 0
br i1 %54, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %55
55: ; preds = %._crit_edge, %34
%56 = load i32, ptr %7, align 4
%57 = call i32 @close(i32 noundef %56)
br label %68
58: ; preds = %24
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = load i32, ptr @errno, align 4
%66 = call ptr @strerror(i32 noundef %65)
%67 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.2, ptr noundef %64, ptr noundef %66)
br label %68
68: ; preds = %58, %55
%69 = load i32, ptr %10, align 4
%70 = add nsw i32 %69, -1
store i32 %70, ptr %10, align 4
%71 = load i32, ptr %10, align 4
%72 = icmp sgt i32 %71, 0
br i1 %72, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %68
br label %73
73: ; preds = %._crit_edge3, %19
%74 = load i32, ptr %6, align 4
%75 = call i32 @pe_idle(i32 noundef %74)
%76 = load i32, ptr %6, align 4
%77 = call i32 @pe_exit(i32 noundef %76)
store i32 0, ptr %3, align 4
br label %78
78: ; preds = %73, %16
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare i32 @pe_init(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @pe_active(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @pe_idle(i32 noundef) #1
declare i32 @pe_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4qcluzvu.c'
source_filename = "/tmp/tmp4qcluzvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Tic Tac Toe for KinOS v0.1 (December 2009)\0D\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"Type 'q' in both Row and Column fields anytime to quit\0D\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @banner() #0 {
%1 = call i32 @print(ptr noundef @.str)
%2 = call i32 @print(ptr noundef @.str.1)
ret void
}
declare i32 @print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4qcluzvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Tic Tac Toe for KinOS v0.1 (December 2009)\0D\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"Type 'q' in both Row and Column fields anytime to quit\0D\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @banner() #0 {
%1 = call i32 @print(ptr noundef @.str)
%2 = call i32 @print(ptr noundef @.str.1)
ret void
}
declare i32 @print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc64fi4ly.c'
source_filename = "/tmp/tmpc64fi4ly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_routine1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @LoadScript(ptr noundef %4)
%6 = call i32 (...) @OnLoadComplete()
%7 = load ptr, ptr %2, align 8
ret ptr %7
}
declare i32 @LoadScript(ptr noundef) #1
declare i32 @OnLoadComplete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc64fi4ly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_routine1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @LoadScript(ptr noundef %4)
%6 = call i32 (...) @OnLoadComplete()
%7 = load ptr, ptr %2, align 8
ret ptr %7
}
declare i32 @LoadScript(ptr noundef) #1
declare i32 @OnLoadComplete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfutg2ww3.c'
source_filename = "/tmp/tmpfutg2ww3.c"
target datalayout = "e-m:e-p270: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/tmpfutg2ww3.c"
target datalayout = "e-m:e-p270: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/tmp09buh25s.c'
source_filename = "/tmp/tmp09buh25s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x43() #0 {
%1 = call i64 @isodigit(i32 noundef 67)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 340, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmp09buh25s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x43() #0 {
%1 = call i64 @isodigit(i32 noundef 67)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 340, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmprgdwugc9.c'
source_filename = "/tmp/tmprgdwugc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_PRIO_NONE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_PTHREAD_PRIO_NONE() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @PTHREAD_PRIO_NONE, align 4
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, 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/tmprgdwugc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_PRIO_NONE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_PTHREAD_PRIO_NONE() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @PTHREAD_PRIO_NONE, align 4
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, 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/tmp558byvgj.c'
source_filename = "/tmp/tmp558byvgj.c"
target datalayout = "e-m:e-p270: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/tmp558byvgj.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.