#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 */
typedef int /*<<< orphan*/ unsigned_int1;
typedef int /*<<< orphan*/ unsigned_char1;
typedef int /*<<< orphan*/ short_int1;
typedef int /*<<< orphan*/ long_int1;
typedef int /*<<< orphan*/ long_double1;
typedef int /*<<< orphan*/ int1;
typedef int /*<<< orphan*/ float1;
typedef int /*<<< orphan*/ double1;
typedef int /*<<< orphan*/ char1;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, unsigned char);
main() {
  char char1;
  int int1;
  float float1;
  double double1;
  short int short_int1;
  long int long_int1;
  long double long_double1;
  unsigned char unsigned_char1;
  unsigned int unsigned_int1;
  printf("size of char = %d\n", sizeof(char1));
  printf("size of int  = %d\n", sizeof(int1));
  printf("size of float = %d\n", sizeof(float1));
  printf("size of double = %d\n", sizeof(double1));
  printf("size of short int = %d\n", sizeof(short_int1));
  printf("size of long int = %d\n", sizeof(long_int1));
  printf("size of long double = %d\n", sizeof(long_double1));
  printf("size of unsigned char = %d\n", sizeof(unsigned_char1));
  printf("size of unsigned int = %d\n", sizeof(unsigned_int1));
  char1 = 255;
  printf("data of char1 = %d\n", char1);
  unsigned_char1 = 255;
  printf("data of unsigned_char1 = %d\n", unsigned_char1);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
lea    0xee1(%rip),%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
lea    0xee5(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
lea    0xee8(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0xeec(%rip),%rdi
mov    $0x2,%esi
call   1030 <printf@plt>
lea    0xef3(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
mov    $0x10,%esi
call   1030 <printf@plt>
lea    0xf02(%rip),%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
movb   $0xff,-0x1(%rbp)
lea    0xf13(%rip),%rdi
movzbl -0x1(%rbp),%esi
call   1030 <printf@plt>
movb   $0xff,-0x41(%rbp)
lea    0xf13(%rip),%rdi
movzbl -0x41(%rbp),%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
lea    0xeea(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
lea    0xeec(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0xef3(%rip),%rdi
mov    $0x2,%esi
call   1030 <printf@plt>
lea    0xefa(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
mov    $0x10,%esi
call   1030 <printf@plt>
lea    0xf09(%rip),%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
lea    0xf14(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
mov    $0xff,%esi
call   1030 <printf@plt>
lea    0xf21(%rip),%rdi
mov    $0xff,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [19 x i8] c"size of char = %d\0A\00"
@.str.1 = [19 x i8] c"size of int = %d\0A\00"
@.str.2 = [20 x i8] c"size of float = %d\0A\00"
@.str.3 = [21 x i8] c"size of double = %d\0A\00"
@.str.4 = [24 x i8] c"size of short int = %d\0A\00"
@.str.5 = [23 x i8] c"size of long int = %d\0A\00"
@.str.6 = [26 x i8] c"size of long double = %d\0A\00"
@.str.7 = [28 x i8] c"size of unsigned char = %d\0A\00"
@.str.8 = [27 x i8] c"size of unsigned int = %d\0A\00"
@.str.9 = [20 x i8] c"data of char1 = %d\0A\00"
@.str.10 = [29 x i8] c"data of unsigned_char1 = %d\0A\00"
define i32 @main() {
%1 = alloca i8
%2 = alloca i32
%3 = alloca float
%4 = alloca double
%5 = alloca i16
%6 = alloca i64
%7 = alloca x86_fp80
%8 = alloca i8
%9 = alloca i32
%10 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8 zeroext 1)
%11 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), i8 zeroext 4)
%12 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8 zeroext 4)
%13 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8 zeroext 8)
%14 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0), i8 zeroext 2)
%15 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), i8 zeroext 8)
%16 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8 zeroext 16)
%17 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), i8 zeroext 1)
%18 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i8 zeroext 4)
store i8 -1, i8* %1
%19 = load i8, i8* %1
%20 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8 zeroext %19)
store i8 -1, i8* %8
%21 = load i8, i8* %8
%22 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i8 zeroext %21)
ret i32 0
}

LLVM IR (-O2):
@.str = [19 x i8] c"size of char = %d\0A\00"
@.str.1 = [19 x i8] c"size of int = %d\0A\00"
@.str.2 = [20 x i8] c"size of float = %d\0A\00"
@.str.3 = [21 x i8] c"size of double = %d\0A\00"
@.str.4 = [24 x i8] c"size of short int = %d\0A\00"
@.str.5 = [23 x i8] c"size of long int = %d\0A\00"
@.str.6 = [26 x i8] c"size of long double = %d\0A\00"
@.str.7 = [28 x i8] c"size of unsigned char = %d\0A\00"
@.str.8 = [27 x i8] c"size of unsigned int = %d\0A\00"
@.str.9 = [20 x i8] c"data of char1 = %d\0A\00"
@.str.10 = [29 x i8] c"data of unsigned_char1 = %d\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8 zeroext 1)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), i8 zeroext 4)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8 zeroext 4)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8 zeroext 8)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0), i8 zeroext 2)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), i8 zeroext 8)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8 zeroext 16)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), i8 zeroext 1)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i8 zeroext 4)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8 zeroext -1)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i8 zeroext -1)
ret i32 0
}