int main(void) {
  short int shortint = 1;
  long int longint = 2L;
  int integer = 3;
  signed int intsigned = -1;
  unsigned int intunsigned = 1U;
  unsigned long int intlongunsigned = 1LU;
  signed char charsigned = -1;
  unsigned char charunsigned = 1U;
  printf("%d\n", shortint);
  printf("%ld\n", longint);
  printf("%d\n", integer);
  printf("%d\n", intsigned);
  printf("%d\n", intunsigned);
  printf("%lu\n", intlongunsigned);
  printf("%d\n", charsigned);
  printf("%d\n", charunsigned);
  printf("%f\n", 1.1F);
  printf("%Lf\n", 1.1L);
  printf("%f\n", 1.1);
  printf("%d\n", 1);
  printf("%ld\n", 1L);
  printf("%0.15f\n", 4e-15);
  printf("OCTAL: %o - DECIMAL: %d\n", 037, 037);
  printf("HEXADECIMAL_1: %x - DECIMAL: %d\n", 0x1F, 0x1F);
  printf("HEXADECIMAL_2: %x - DECIMAL: %d\n", 0x1f, 0x1f);
  printf("OCTAL_UL: %lo - DECIMAL: %ld\n", 037UL, 037UL);
  printf("HEXADECIMAL_1_UL: %lx - DECIMAL: %ld\n", 0x1FUL, 0x1FUL);
  printf("HEXADECIMAL_2_UL: %lx - DECIMAL: %ld\n", 0x1fUL, 0x1fUL);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
movw   $0x1,-0x6(%rbp)
movq   $0x2,-0x10(%rbp)
movl   $0x3,-0x14(%rbp)
movl   $0xffffffff,-0x18(%rbp)
movl   $0x1,-0x1c(%rbp)
movq   $0x1,-0x28(%rbp)
movb   $0xff,-0x29(%rbp)
movb   $0x1,-0x2a(%rbp)
movswl -0x6(%rbp),%esi
lea    0xefe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xf4b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xedb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rsi
lea    0xe7c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x29(%rbp),%esi
lea    0xe95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movzbl -0x2a(%rbp),%esi
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe4f(%rip),%rdi
movsd  0xe22(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
mov    %rsp,%rax
fldt   0xe22(%rip)
fstpt  (%rax)
lea    0xe32(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe20(%rip),%rdi
movsd  0xdeb(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xe30(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe7c(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xded(%rip),%rdi
movsd  0xda7(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xddf(%rip),%rdi
mov    $0x1f,%edx
mov    %edx,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xde3(%rip),%rdi
mov    $0x1f,%edx
mov    %edx,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdef(%rip),%rdi
mov    $0x1f,%edx
mov    %edx,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdfb(%rip),%rdi
mov    $0x1f,%edx
mov    %rdx,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe03(%rip),%rdi
mov    $0x1f,%edx
mov    %rdx,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe13(%rip),%rdi
mov    $0x1f,%edx
mov    %rdx,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
lea    0xf3b(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf84(%rip),%r14
mov    $0x2,%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeb7(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe8b(%rip),%r15
movsd  0xe4e(%rip),%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
fldt   0xe5e(%rip)
fstpt  (%rsp)
lea    0xe6d(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xe2d(%rip),%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x1,%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe34(%rip),%rdi
movsd  0xdfe(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xe26(%rip),%rdi
mov    $0x1f,%esi
mov    $0x1f,%edx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe27(%rip),%rdi
mov    $0x1f,%esi
mov    $0x1f,%edx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe30(%rip),%rdi
mov    $0x1f,%esi
mov    $0x1f,%edx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe39(%rip),%rdi
mov    $0x1f,%esi
mov    $0x1f,%edx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe3f(%rip),%rdi
mov    $0x1f,%esi
mov    $0x1f,%edx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe4d(%rip),%rdi
mov    $0x1f,%esi
mov    $0x1f,%edx
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%d\0A\00"
@.str.1 = [5 x i8] c"%ld\0A\00"
@.str.2 = [5 x i8] c"%lu\0A\00"
@.str.3 = [4 x i8] c"%f\0A\00"
@.str.4 = [5 x i8] c"%Lf\0A\00"
@.str.5 = [8 x i8] c"%0.15f\0A\00"
@.str.6 = [25 x i8] c"OCTAL: %o - DECIMAL: %d\0A\00"
@.str.7 = [33 x i8] c"HEXADECIMAL_1: %x - DECIMAL: %d\0A\00"
@.str.8 = [33 x i8] c"HEXADECIMAL_2: %x - DECIMAL: %d\0A\00"
@.str.9 = [30 x i8] c"OCTAL_UL: %lo - DECIMAL: %ld\0A\00"
@.str.10 = [38 x i8] c"HEXADECIMAL_1_UL: %lx - DECIMAL: %ld\0A\00"
@.str.11 = [38 x i8] c"HEXADECIMAL_2_UL: %lx - DECIMAL: %ld\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i16
%3 = alloca i64
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i64
%8 = alloca i8
%9 = alloca i8
store i32 0, i32* %1
store i16 1, i16* %2
store i64 2, i64* %3
store i32 3, i32* %4
store i32 -1, i32* %5
store i32 1, i32* %6
store i64 1, i64* %7
store i8 -1, i8* %8
store i8 1, i8* %9
%10 = load i16, i16* %2
%11 = sext i16 %10 to i32
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %11)
%13 = load i64, i64* %3
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 %13)
%15 = load i32, i32* %4
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %15)
%17 = load i32, i32* %5
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %17)
%19 = load i32, i32* %6
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %19)
%21 = load i64, i64* %7
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i64 %21)
%23 = load i8, i8* %8
%24 = sext i8 %23 to i32
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %24)
%26 = load i8, i8* %9
%27 = zext i8 %26 to i32
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %27)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), double 0x3FF19999A0000000)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), x86_fp80 0xK3FFF8CCCCCCCCCCCCCCD)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), double 1.100000e+00)
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 1)
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), double 4.000000e-15)
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i32 31, i32 31)
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0), i32 31, i32 31)
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0), i32 31, i32 31)
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0), i64 31, i64 31)
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0), i64 31, i64 31)
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.11, i64 0, i64 0), i64 31, i64 31)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%d\0A\00"
@.str.1 = [5 x i8] c"%ld\0A\00"
@.str.2 = [5 x i8] c"%lu\0A\00"
@.str.3 = [4 x i8] c"%f\0A\00"
@.str.4 = [5 x i8] c"%Lf\0A\00"
@.str.5 = [8 x i8] c"%0.15f\0A\00"
@.str.6 = [25 x i8] c"OCTAL: %o - DECIMAL: %d\0A\00"
@.str.7 = [33 x i8] c"HEXADECIMAL_1: %x - DECIMAL: %d\0A\00"
@.str.8 = [33 x i8] c"HEXADECIMAL_2: %x - DECIMAL: %d\0A\00"
@.str.9 = [30 x i8] c"OCTAL_UL: %lo - DECIMAL: %ld\0A\00"
@.str.10 = [38 x i8] c"HEXADECIMAL_1_UL: %lx - DECIMAL: %ld\0A\00"
@.str.11 = [38 x i8] c"HEXADECIMAL_2_UL: %lx - DECIMAL: %ld\0A\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 2)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 3)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 -1)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i64 1)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 -1)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), double 0x3FF19999A0000000)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), x86_fp80 0xK3FFF8CCCCCCCCCCCCCCD)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), double 1.100000e+00)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 1)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), double 4.000000e-15)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i32 31, i32 31)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0), i32 31, i32 31)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0), i32 31, i32 31)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0), i64 31, i64 31)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0), i64 31, i64 31)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.11, i64 0, i64 0), i64 31, i64 31)
ret i32 0
}