int main(int argc, const char *argv[]) {
  printf("%f\n", 2 * 3.14159);
  printf("%f\n", 2 * 3.14159);
  printf("%f ", 3.14159);
  printf("%f\n", 2 * 3.14159);
  printf("%s:%d\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/farwish/Clang-foundation/refs/heads/master/"
         "demo55/demo55/main.c",
         103);
  printf("%s:%s\n", "Mar 16 2022", "01:43:13");
  if (1 == 1) {
    printf("ANSIC\n");
  } else {
    printf("Not ANSIC\n");
  }
  int i = 2;
  printf("%d\n", ((5) * (5) * (5)));
  printf("%d\n", ((i) * (i) * (i)));
  printf("%d\n", ((i + 2) * (i + 2) * (i + 2)));
  printf("%f\n", (5 + 2 * 57.3));
  printf("%f\n", 180 / (1) * 57.3);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xef3(%rip),%rdi
movsd  0xedb(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xedd(%rip),%rdi
movsd  0xec5(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xecb(%rip),%rdi
movsd  0xeb7(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xeb1(%rip),%rdi
movsd  0xe99(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xea3(%rip),%rdi
lea    0xea3(%rip),%rsi
mov    $0x67,%edx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2a(%rip),%rdi
lea    0xf2a(%rip),%rsi
lea    0xf2f(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x2,-0x14(%rbp)
lea    0xe5b(%rip),%rdi
mov    $0x7d,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
imul   -0x14(%rbp),%esi
imul   -0x14(%rbp),%esi
lea    0xe3d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
add    $0x2,%esi
mov    -0x14(%rbp),%eax
add    $0x2,%eax
imul   %eax,%esi
mov    -0x14(%rbp),%eax
add    $0x2,%eax
imul   %eax,%esi
lea    0xe17(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdfe(%rip),%rdi
movsd  0xdde(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xde8(%rip),%rdi
movsd  0xdc0(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xef5(%rip),%r14
movsd  0xecd(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    %r14,%rdi
movsd  0xeb8(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xece(%rip),%rdi
movsd  0xeaa(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
mov    %r14,%rdi
movsd  0xe90(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xeaa(%rip),%rdi
lea    0xeaa(%rip),%rsi
mov    $0x67,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf31(%rip),%rdi
lea    0xf31(%rip),%rsi
lea    0xf36(%rip),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xe6b(%rip),%rbx
mov    %rbx,%rdi
mov    $0x7d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x40,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsd  0xe1b(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe11(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%f\0A\00"
@.str.1 = [4 x i8] c"%f \00"
@.str.2 = [7 x i8] c"%s:%d\0A\00"
@.str.3 = [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/farwish/Clang-foundation/refs/heads/master/demo55/demo55/main.c\00"
@.str.4 = [7 x i8] c"%s:%s\0A\00"
@.str.5 = [12 x i8] c"Mar 16 2022\00"
@.str.6 = [9 x i8] c"01:43:13\00"
@.str.7 = [7 x i8] c"ANSIC\0A\00"
@.str.8 = [4 x i8] c"%d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 6.283180e+00)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 6.283180e+00)
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double 3.141590e+00)
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 6.283180e+00)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([154 x i8], [154 x i8]* @.str.3, i64 0, i64 0), i32 103)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
store i32 2, i32* %6
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 125)
%15 = load i32, i32* %6
%16 = load i32, i32* %6
%17 = mul nsw i32 %15, %16
%18 = load i32, i32* %6
%19 = mul nsw i32 %17, %18
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 %19)
%21 = load i32, i32* %6
%22 = add nsw i32 %21, 2
%23 = load i32, i32* %6
%24 = add nsw i32 %23, 2
%25 = mul nsw i32 %22, %24
%26 = load i32, i32* %6
%27 = add nsw i32 %26, 2
%28 = mul nsw i32 %25, %27
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 %28)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 1.196000e+02)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 1.031400e+04)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%f\0A\00"
@.str.1 = [4 x i8] c"%f \00"
@.str.2 = [7 x i8] c"%s:%d\0A\00"
@.str.3 = [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/farwish/Clang-foundation/refs/heads/master/demo55/demo55/main.c\00"
@.str.4 = [7 x i8] c"%s:%s\0A\00"
@.str.5 = [12 x i8] c"Mar 16 2022\00"
@.str.6 = [9 x i8] c"01:43:13\00"
@.str.8 = [4 x i8] c"%d\0A\00"
@str = [6 x i8] c"ANSIC\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 6.283180e+00)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 6.283180e+00)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double 3.141590e+00)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 6.283180e+00)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([154 x i8], [154 x i8]* @.str.3, i64 0, i64 0), i32 103)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 125)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 8)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 64)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 1.196000e+02)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 1.031400e+04)
ret i32 0
}