Aboudek/ASM_TO_LLVM_V2
0
1; ModuleID = 'winfile/src/extr_numfmt.c_TriMultiply.c'2source_filename = "winfile/src/extr_numfmt.c_TriMultiply.c"3target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"4target triple = "x86_64-unknown-linux-gnu"5 6%struct.TYPE_3__ = type { i32 }7 8; Function Attrs: noinline nounwind optnone uwtable9define dso_local i32 @TriMultiply(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {10 %4 = alloca %struct.TYPE_3__, align 411 %5 = alloca i32, align 412 %6 = alloca i32, align 413 %7 = alloca i32, align 414 store i32 %0, ptr %5, align 415 store i32 %1, ptr %6, align 416 store i32 %2, ptr %7, align 417 %8 = load i32, ptr %5, align 418 %9 = load i32, ptr %6, align 419 %10 = call i32 @UInt32x32To64(i32 noundef %8, i32 noundef %9)20 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 021 store i32 %10, ptr %11, align 422 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 023 %13 = load i32, ptr %12, align 424 %14 = load i32, ptr %7, align 425 %15 = mul nsw i32 %13, %1426 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 027 store i32 %15, ptr %16, align 428 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 029 %18 = load i32, ptr %17, align 430 ret i32 %1831}32 33declare i32 @UInt32x32To64(i32 noundef, i32 noundef) #134 35attributes #0 = { noinline nounwind optnone uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }36attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }37 38!llvm.module.flags = !{!0, !1, !2, !3, !4}39!llvm.ident = !{!5}40 41!0 = !{i32 1, !"wchar_size", i32 4}42!1 = !{i32 7, !"PIC Level", i32 2}43!2 = !{i32 7, !"PIE Level", i32 2}44!3 = !{i32 7, !"uwtable", i32 2}45!4 = !{i32 7, !"frame-pointer", i32 2}46!5 = !{!"clang version 15.0.3"}47 