#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 *, int);
int main(void) {
  printf("unsigned integer bytes:%d\n", sizeof(212L));
  printf("long inteager bytes:%d\n", sizeof(212L));
  printf("decimal:%d\n", 1);
  printf("octal:%o\n", 9);
  printf("hexadecimal:%0xd\n", 15);
  printf("single float precision bytes:%f\n", sizeof(212.0f));
  printf("double float precision bytes:%lf\n", sizeof(212L));
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0xef6(%rip),%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
lea    0xef1(%rip),%rdi
mov    $0x9,%esi
call   1030 <printf@plt>
lea    0xeea(%rip),%rdi
mov    $0xf,%esi
call   1030 <printf@plt>
lea    0xeeb(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
lea    0xefb(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
lea    0xef4(%rip),%rdi
mov    $0x9,%esi
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
mov    $0xf,%esi
call   1030 <printf@plt>
lea    0xeee(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
lea    0xefe(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [27 x i8] c"unsigned integer bytes:%d\0A\00"
@.str.1 = [24 x i8] c"long inteager bytes:%d\0A\00"
@.str.2 = [12 x i8] c"decimal:%d\0A\00"
@.str.3 = [10 x i8] c"octal:%o\0A\00"
@.str.4 = [18 x i8] c"hexadecimal:%0xd\0A\00"
@.str.5 = [33 x i8] c"single float precision bytes:%f\0A\00"
@.str.6 = [34 x i8] c"double float precision bytes:%lf\0A\00"
define i32 @main() {
%1 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 8)
%2 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0), i32 8)
%3 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 1)
%4 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 9)
%5 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 15)
%6 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i32 4)
%7 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.6, i64 0, i64 0), i32 8)
ret i32 0
}

LLVM IR (-O2):
@.str = [27 x i8] c"unsigned integer bytes:%d\0A\00"
@.str.1 = [24 x i8] c"long inteager bytes:%d\0A\00"
@.str.2 = [12 x i8] c"decimal:%d\0A\00"
@.str.3 = [10 x i8] c"octal:%o\0A\00"
@.str.4 = [18 x i8] c"hexadecimal:%0xd\0A\00"
@.str.5 = [33 x i8] c"single float precision bytes:%f\0A\00"
@.str.6 = [34 x i8] c"double float precision bytes:%lf\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 8)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0), i32 8)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 1)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 9)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 15)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i32 4)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.6, i64 0, i64 0), i32 8)
ret i32 0
}