#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*/ g;
typedef int /*<<< orphan*/ f;
typedef int /*<<< orphan*/ e;
typedef int /*<<< orphan*/ d;
typedef int /*<<< orphan*/ c;
typedef int /*<<< orphan*/ b;
typedef int /*<<< orphan*/ a;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int main() {
  printf("\n\n*****************************************************************"
         "***\n");
  printf("There are only 4 basic data types in C. These are:\n");
  printf("char - a single byte to hold on character.\n");
  printf(
      "int - an integer reflecting the natural size on this architecture.\n");
  printf("float - single-precision floating point.\n");
  printf("double - double-precision floating point.\n");
  printf("*********************************************************************"
         "\n\n");
  char a;
  int b;
  float c;
  double d;
  printf("On this computer, the size of these data types is:\n");
  printf("char:\t%zu bytes\n", sizeof(a));
  printf("int:\t%zu bytes\n", sizeof(b));
  printf("float:\t%zu bytes\n", sizeof(c));
  printf("double:\t%zu bytes\n\n", sizeof(d));
  printf("\n\n*****************************************************************"
         "***\n");
  printf("In addition, there are two qualifiers, short and long. These can\n");
  printf("be both be applied to int and long can be applied to double.\n");
  printf("short - Half the size of an int.\n");
  printf("long - Twice the size of an int or double.\n");
  printf("*********************************************************************"
         "\n\n");
  short int e;
  long int f;
  long double g;
  printf("On this computer, the size of these modified types is:\n");
  printf("int:\t\t%zu bytes\n", sizeof(b));
  printf("short int:\t%zu bytes\n", sizeof(e));
  printf("long int:\t%zu bytes\n\n", sizeof(f));
  printf("double:\t\t%zu bytes\n", sizeof(d));
  printf("long double:\t%zu bytes\n\n", sizeof(g));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfaa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfc7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1001(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1027(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1154(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1012(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x116d(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe1e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1024(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1054(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1068(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf19(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1078(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a2(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a0(%rip),%rdi
mov    $0x2,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a3(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a6(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a7(%rip),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0x1089(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xf53(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf99(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd0(%rip),%rdi
call   1030 <puts@plt>
lea    0xfed(%rip),%rdi
call   1030 <puts@plt>
lea    0x114f(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xffc(%rip),%rdi
call   1030 <puts@plt>
lea    0xe6f(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe96(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe5a(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeaf(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0x1016(%rip),%rdi
call   1030 <puts@plt>
lea    0x104b(%rip),%rdi
call   1030 <puts@plt>
lea    0x107c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1091(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x10ef(%rip),%rdi
call   1030 <puts@plt>
lea    0xdfa(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdf8(%rip),%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdfb(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdfe(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdff(%rip),%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [72 x i8] c"\0A\0A********************************************************************\0A\00"
@.str.1 = [52 x i8] c"There are only 4 basic data types in C. These are:\0A\00"
@.str.2 = [44 x i8] c"char - a single byte to hold on character.\0A\00"
@.str.3 = [68 x i8] c"int - an integer reflecting the natural size on this architecture.\0A\00"
@.str.4 = [42 x i8] c"float - single-precision floating point.\0A\00"
@.str.5 = [43 x i8] c"double - double-precision floating point.\0A\00"
@.str.6 = [72 x i8] c"*********************************************************************\0A\0A\00"
@.str.7 = [52 x i8] c"On this computer, the size of these data types is:\0A\00"
@.str.8 = [17 x i8] c"char:\09%zu bytes\0A\00"
@.str.9 = [16 x i8] c"int:\09%zu bytes\0A\00"
@.str.10 = [18 x i8] c"float:\09%zu bytes\0A\00"
@.str.11 = [20 x i8] c"double:\09%zu bytes\0A\0A\00"
@.str.12 = [66 x i8] c"In addition, there are two qualifiers, short and long. These can\0A\00"
@.str.13 = [62 x i8] c"be both be applied to int and long can be applied to double.\0A\00"
@.str.14 = [34 x i8] c"short - Half the size of an int.\0A\00"
@.str.15 = [44 x i8] c"long - Twice the size of an int or double.\0A\00"
@.str.16 = [56 x i8] c"On this computer, the size of these modified types is:\0A\00"
@.str.17 = [17 x i8] c"int:\09\09%zu bytes\0A\00"
@.str.18 = [22 x i8] c"short int:\09%zu bytes\0A\00"
@.str.19 = [22 x i8] c"long int:\09%zu bytes\0A\0A\00"
@.str.20 = [20 x i8] c"double:\09\09%zu bytes\0A\00"
@.str.21 = [25 x i8] c"long double:\09%zu bytes\0A\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca i32
%4 = alloca float
%5 = alloca double
%6 = alloca i16
%7 = alloca i64
%8 = alloca x86_fp80
store i32 0, i32* %1
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.1, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.3, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.6, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.7, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i64 1)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i64 4)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0), i64 4)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0), i64 8)
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.12, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.13, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.6, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.16, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0), i64 4)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.18, i64 0, i64 0), i64 2)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0), i64 8)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.20, i64 0, i64 0), i64 8)
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.21, i64 0, i64 0), i64 16)
ret i32 0
}

LLVM IR (-O2):
@.str.8 = [17 x i8] c"char:\09%zu bytes\0A\00"
@.str.9 = [16 x i8] c"int:\09%zu bytes\0A\00"
@.str.10 = [18 x i8] c"float:\09%zu bytes\0A\00"
@.str.11 = [20 x i8] c"double:\09%zu bytes\0A\0A\00"
@.str.17 = [17 x i8] c"int:\09\09%zu bytes\0A\00"
@.str.18 = [22 x i8] c"short int:\09%zu bytes\0A\00"
@.str.19 = [22 x i8] c"long int:\09%zu bytes\0A\0A\00"
@.str.20 = [20 x i8] c"double:\09\09%zu bytes\0A\00"
@.str.21 = [25 x i8] c"long double:\09%zu bytes\0A\0A\00"
@str.22 = [51 x i8] c"There are only 4 basic data types in C. These are:\00"
@str.23 = [43 x i8] c"char - a single byte to hold on character.\00"
@str.24 = [67 x i8] c"int - an integer reflecting the natural size on this architecture.\00"
@str.25 = [41 x i8] c"float - single-precision floating point.\00"
@str.26 = [42 x i8] c"double - double-precision floating point.\00"
@str.28 = [51 x i8] c"On this computer, the size of these data types is:\00"
@str.29 = [71 x i8] c"\0A\0A********************************************************************\00"
@str.30 = [65 x i8] c"In addition, there are two qualifiers, short and long. These can\00"
@str.31 = [61 x i8] c"be both be applied to int and long can be applied to double.\00"
@str.32 = [33 x i8] c"short - Half the size of an int.\00"
@str.33 = [43 x i8] c"long - Twice the size of an int or double.\00"
@str.34 = [71 x i8] c"*********************************************************************\0A\00"
@str.35 = [55 x i8] c"On this computer, the size of these modified types is:\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.29, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.22, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.23, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.24, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.25, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.26, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.34, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.28, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i64 1)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i64 4)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0), i64 4)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0), i64 8)
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.29, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.30, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.32, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.33, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.34, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.35, i64 0, i64 0))
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0), i64 4)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.18, i64 0, i64 0), i64 2)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0), i64 8)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.20, i64 0, i64 0), i64 8)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.21, i64 0, i64 0), i64 16)
ret i32 0
}