by@kurgm
WA
703ms
; ModuleID = 'c.c'
source_filename = "c.c"
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.12.0"
@.str = private unnamed_addr constant [25 x i8] c"%d%d%d%d%d%d%d%d%d%d%d%d\00", align 1
@j = common global i32 0, align 4
@k = common global i32 0, align 4
@l = common global i32 0, align 4
@a = common global i32 0, align 4
@b = common global i32 0, align 4
@c = common global i32 0, align 4
@d = common global i32 0, align 4
@e = common global i32 0, align 4
@f = common global i32 0, align 4
@g = common global i32 0, align 4
@h = common global i32 0, align 4
@i = common global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind ssp uwtable
define i32 @main() #0 {
%1 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i32 0, i32 0), i32* @j, i32* @k, i32* @l, i32* @a, i32* @b, i32* @c, i32* @d, i32* @e, i32* @f, i32* @g, i32* @h, i32* @i)
%2 = load i32, i32* @j, align 4
%3 = load i32, i32* @a, align 4
%4 = sub nsw i32 %3, %2
store i32 %4, i32* @a, align 4
%5 = load i32, i32* @k, align 4
%6 = load i32, i32* @b, align 4
%7 = sub nsw i32 %6, %5
store i32 %7, i32* @b, align 4
%8 = load i32, i32* @l, align 4
%9 = load i32, i32* @c, align 4
%10 = sub nsw i32 %9, %8
store i32 %10, i32* @c, align 4
%11 = load i32, i32* @j, align 4
%12 = load i32, i32* @d, align 4
%13 = sub nsw i32 %12, %11
store i32 %13, i32* @d, align 4
%14 = load i32, i32* @k, align 4
%15 = load i32, i32* @e, align 4
%16 = sub nsw i32 %15, %14
store i32 %16, i32* @e, align 4
%17 = load i32, i32* @l, align 4
%18 = load i32, i32* @f, align 4
%19 = sub nsw i32 %18, %17
store i32 %19, i32* @f, align 4
%20 = load i32, i32* @j, align 4
%21 = load i32, i32* @g, align 4
%22 = sub nsw i32 %21, %20
store i32 %22, i32* @g, align 4
%23 = load i32, i32* @k, align 4
%24 = load i32, i32* @h, align 4
%25 = sub nsw i32 %24, %23
store i32 %25, i32* @h, align 4
%26 = load i32, i32* @l, align 4
%27 = load i32, i32* @i, align 4
%28 = sub nsw i32 %27, %26
store i32 %28, i32* @i, align 4
%29 = load i32, i32* @a, align 4
%30 = load i32, i32* @e, align 4
%31 = mul nsw i32 %29, %30
%32 = load i32, i32* @i, align 4
%33 = mul nsw i32 %31, %32
%34 = load i32, i32* @b, align 4
%35 = load i32, i32* @f, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, i32* @g, align 4
%38 = mul nsw i32 %36, %37
%39 = add nsw i32 %33, %38
%40 = load i32, i32* @c, align 4
%41 = load i32, i32* @d, align 4
%42 = mul nsw i32 %40, %41
%43 = load i32, i32* @h, align 4
%44 = mul nsw i32 %42, %43
%45 = add nsw i32 %39, %44
%46 = load i32, i32* @a, align 4
%47 = load i32, i32* @h, align 4
%48 = mul nsw i32 %46, %47
%49 = load i32, i32* @f, align 4
%50 = mul nsw i32 %48, %49
%51 = sub nsw i32 %45, %50
%52 = load i32, i32* @b, align 4
%53 = load i32, i32* @i, align 4
%54 = mul nsw i32 %52, %53
%55 = load i32, i32* @d, align 4
%56 = mul nsw i32 %54, %55
%57 = sub nsw i32 %51, %56
%58 = load i32, i32* @c, align 4
%59 = load i32, i32* @g, align 4
%60 = mul nsw i32 %58, %59
%61 = load i32, i32* @e, align 4
%62 = mul nsw i32 %60, %61
%63 = sub nsw i32 %57, %62
%64 = sdiv i32 %63, 6
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i32 0, i32 0), i32 %64)
ret i32 0
}
declare i32 @scanf(i8*, ...) #1
declare i32 @printf(i8*, ...) #1
attributes #0 = { noinline nounwind ssp uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="penryn" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="penryn" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!0 = !{i32 1, !"PIC Level", i32 2}
!1 = !{!"Apple LLVM version 9.0.0 (clang-900.0.39.2)"}
13 02 27 30 20 96 96 26 90 46 47 67
/tmp/code.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status /bin/script: line 17: /tmp/code: not found