#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, long double);
int main() {
  long int num1 = 1234567891045454545;
  int num2 = 123456911;
  int num3 = 5656;
  long double num4 = 5.3251515111515151545451;
  printf("long  : %lli\n", num1);
  printf("int OF: %d\n", num2);
  printf("int   : %d\n", num3);
  printf("long D: %Lf\n", num4);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movabs $0x112210f4b4de12d1,%rax
10 22 11
mov    %rax,-0x10(%rbp)
movl   $0x75bcd8f,-0x14(%rbp)
movl   $0x1618,-0x18(%rbp)
fldl   0xebf(%rip)
fstpt  -0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
fildll -0x40(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xead(%rip),%rdi
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x38(%rbp)
fildl  -0x38(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xea1(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
mov    %eax,-0x34(%rbp)
fildl  -0x34(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xe93(%rip),%rdi
call   1030 <printf@plt>
fldt   -0x30(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xe8b(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
fldt   0xee6(%rip)
fstpt  (%rsp)
lea    0xf00(%rip),%rdi
call   1030 <printf@plt>
fldl   0xee1(%rip)
fstpt  (%rsp)
lea    0xef9(%rip),%rdi
call   1030 <printf@plt>
flds   0xedc(%rip)
fstpt  (%rsp)
lea    0xef0(%rip),%rdi
call   1030 <printf@plt>
fldl   0xebf(%rip)
fstpt  (%rsp)
lea    0xee7(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
@.str = [14 x i8] c"long : %lli\0A\00"
@.str.1 = [12 x i8] c"int OF: %d\0A\00"
@.str.2 = [12 x i8] c"int : %d\0A\00"
@.str.3 = [13 x i8] c"long D: %Lf\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i32
%4 = alloca i32
%5 = alloca x86_fp80
store i32 0, i32* %1
store i64 1234567891045454545, i64* %2
store i32 123456911, i32* %3
store i32 5656, i32* %4
store x86_fp80 0xK4001AA67A4245480E800, x86_fp80* %5
%6 = load i64, i64* %2
%7 = sitofp i64 %6 to x86_fp80
%8 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), x86_fp80 %7)
%9 = load i32, i32* %3
%10 = sitofp i32 %9 to x86_fp80
%11 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), x86_fp80 %10)
%12 = load i32, i32* %4
%13 = sitofp i32 %12 to x86_fp80
%14 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), x86_fp80 %13)
%15 = load x86_fp80, x86_fp80* %5
%16 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), x86_fp80 %15)
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"long : %lli\0A\00"
@.str.1 = [12 x i8] c"int OF: %d\0A\00"
@.str.2 = [12 x i8] c"int : %d\0A\00"
@.str.3 = [13 x i8] c"long D: %Lf\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), x86_fp80 0xK403B891087A5A6F09688)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), x86_fp80 0xK4019EB79B1E000000000)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), x86_fp80 0xK400BB0C0000000000000)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), x86_fp80 0xK4001AA67A4245480E800)
ret i32 0
}