#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 CHAR_MAX;
int CHAR_MIN;
double DBL_MAX;
double DBL_MIN;
double FLT_MAX;
double FLT_MIN;
int INT_MAX;
int INT_MIN;
char *LONG_MAX;
int /*<<< orphan*/ LONG_MIN;
int SHRT_MAX;
int SHRT_MIN;
int /*<<< orphan*/ printf(char *, char *, ...);
int main(void) {
  char *data_types[] = {"INT", "FLT", "CHAR", "DBL", "SHRT", "LNG", NULL};
  char **data;
  data = data_types;
  printf("The value of %s_MAX is %i\n"
         "The value of %s_MIN is %i\n"
         "An %s takes %zu bytes\n",
         *data, INT_MAX, *data, INT_MIN, *data, sizeof(int));
  ++data;
  printf("The value of %s_MAX is %f\n"
         "The value of %s_MIN is %.50f\n"
         "A %s takes %zu bytes\n",
         *data, FLT_MAX, *data, FLT_MIN, *data, sizeof(float));
  ++data;
  printf("The value of %s_MAX is %d\n"
         "The value of %s_MIN is %d\n"
         "A %s takes %zu bytes\n",
         *data, CHAR_MAX, *data, CHAR_MIN, *data, sizeof(char));
  ++data;
  printf("The value of %s_MAX is %g\n"
         "The value of %s_MIN is %g\n"
         "A %s takes %zu bytes\n",
         *data, DBL_MAX, *data, DBL_MIN, *data, sizeof(double));
  ++data;
  printf("The value of %s_MAX is %i\n"
         "The value of %s_MIN is %i\n"
         "A %s takes %zu bytes\n",
         *data, SHRT_MAX, *data, SHRT_MIN, *data, sizeof(short));
  ++data;
  printf("The value of %s_MAX is %li\n"
         "The value of %s_MIN is %li\n"
         "A %s takes %zu bytes\n",
         *data, LONG_MAX, *data, LONG_MIN, *data, sizeof(long));
  ++data;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x40(%rbp),%rdi
xor    %esi,%esi
mov    $0x38,%edx
call   1040 <memset@plt>
lea    0xeba(%rip),%rax
mov    %rax,-0x40(%rbp)
lea    0xeb3(%rip),%rax
mov    %rax,-0x38(%rbp)
lea    0xeac(%rip),%rax
mov    %rax,-0x30(%rbp)
lea    0xea6(%rip),%rax
mov    %rax,-0x28(%rbp)
lea    0xe9f(%rip),%rax
mov    %rax,-0x20(%rbp)
lea    0xe99(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    -0x40(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%rsi
mov    0x2e39(%rip),%rax
mov    (%rax),%edx
mov    -0x48(%rbp),%rax
mov    (%rax),%rcx
mov    0x2e19(%rip),%rax
mov    (%rax),%r8d
mov    -0x48(%rbp),%rax
mov    (%rax),%r9
lea    0xe62(%rip),%rdi
movq   $0x4,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x48(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%rsi
mov    0x2dd7(%rip),%rax
movsd  (%rax),%xmm0
mov    -0x48(%rbp),%rax
mov    (%rax),%rdx
mov    0x2de5(%rip),%rax
movsd  (%rax),%xmm1
mov    -0x48(%rbp),%rax
mov    (%rax),%rcx
lea    0xe60(%rip),%rdi
mov    $0x4,%r8d
mov    $0x2,%al
call   1030 <printf@plt>
mov    -0x48(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%rsi
mov    0x2dbc(%rip),%rax
mov    (%rax),%edx
mov    -0x48(%rbp),%rax
mov    (%rax),%rcx
mov    0x2da4(%rip),%rax
mov    (%rax),%r8d
mov    -0x48(%rbp),%rax
mov    (%rax),%r9
lea    0xe65(%rip),%rdi
movq   $0x1,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x48(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%rsi
mov    0x2d1a(%rip),%rax
movsd  (%rax),%xmm0
mov    -0x48(%rbp),%rax
mov    (%rax),%rdx
mov    0x2d00(%rip),%rax
movsd  (%rax),%xmm1
mov    -0x48(%rbp),%rax
mov    (%rax),%rcx
lea    0xe62(%rip),%rdi
mov    $0x8,%r8d
mov    $0x2,%al
call   1030 <printf@plt>
mov    -0x48(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%rsi
mov    0x2cd7(%rip),%rax
mov    (%rax),%edx
mov    -0x48(%rbp),%rax
mov    (%rax),%rcx
mov    0x2ccf(%rip),%rax
mov    (%rax),%r8d
mov    -0x48(%rbp),%rax
mov    (%rax),%r9
lea    0xe64(%rip),%rdi
movq   $0x2,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x48(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%rsi
mov    0x2c9d(%rip),%rax
mov    (%rax),%rdx
mov    -0x48(%rbp),%rax
mov    (%rax),%rcx
mov    0x2cac(%rip),%rax
mov    (%rax),%r8d
mov    -0x48(%rbp),%rax
mov    (%rax),%r9
lea    0xe63(%rip),%rdi
movq   $0x8,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x48(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x48(%rbp)
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edx
mov    0x2e9f(%rip),%rax
mov    (%rax),%r8d
movq   $0x4,(%rsp)
lea    0xee7(%rip),%rdi
lea    0xec6(%rip),%rcx
mov    %rcx,%rsi
mov    %rcx,%r9
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e6a(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2e7f(%rip),%rax
movsd  (%rax),%xmm1
lea    0xf01(%rip),%rdi
lea    0xe99(%rip),%rcx
mov    $0x4,%r8d
mov    %rcx,%rsi
mov    %rcx,%rdx
mov    $0x2,%al
call   1030 <printf@plt>
mov    0x2e63(%rip),%rax
mov    (%rax),%edx
mov    0x2e52(%rip),%rax
mov    (%rax),%r8d
movq   $0x1,(%rsp)
lea    0xf12(%rip),%rdi
lea    0xe61(%rip),%rcx
mov    %rcx,%rsi
mov    %rcx,%r9
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2dd5(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2dc2(%rip),%rax
movsd  (%rax),%xmm1
lea    0xf2b(%rip),%rdi
lea    0xe35(%rip),%rcx
mov    $0x8,%r8d
mov    %rcx,%rsi
mov    %rcx,%rdx
mov    $0x2,%al
call   1030 <printf@plt>
mov    0x2da6(%rip),%rax
mov    (%rax),%edx
mov    0x2da5(%rip),%rax
mov    (%rax),%r8d
movq   $0x2,(%rsp)
lea    0xf39(%rip),%rdi
lea    0xdfd(%rip),%rcx
mov    %rcx,%rsi
mov    %rcx,%r9
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d80(%rip),%rax
mov    (%rax),%rdx
mov    0x2d96(%rip),%rax
mov    (%rax),%r8d
movq   $0x8,(%rsp)
lea    0xf4c(%rip),%rdi
lea    0xdcb(%rip),%rcx
mov    %rcx,%rsi
mov    %rcx,%r9
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"INT\00"
@.str.1 = [4 x i8] c"FLT\00"
@.str.2 = [5 x i8] c"CHAR\00"
@.str.3 = [4 x i8] c"DBL\00"
@.str.4 = [5 x i8] c"SHRT\00"
@.str.5 = [4 x i8] c"LNG\00"
@.str.6 = [75 x i8] c"The value of %s_MAX is %i\0AThe value of %s_MIN is %i\0AAn %s takes %zu bytes\0A\00"
@INT_MAX = global i32 0
@INT_MIN = global i32 0
@.str.7 = [77 x i8] c"The value of %s_MAX is %f\0AThe value of %s_MIN is %.50f\0AA %s takes %zu bytes\0A\00"
@FLT_MAX = global double 0.000000e+00
@FLT_MIN = global double 0.000000e+00
@.str.8 = [74 x i8] c"The value of %s_MAX is %d\0AThe value of %s_MIN is %d\0AA %s takes %zu bytes\0A\00"
@CHAR_MAX = global i32 0
@CHAR_MIN = global i32 0
@.str.9 = [74 x i8] c"The value of %s_MAX is %g\0AThe value of %s_MIN is %g\0AA %s takes %zu bytes\0A\00"
@DBL_MAX = global double 0.000000e+00
@DBL_MIN = global double 0.000000e+00
@.str.10 = [74 x i8] c"The value of %s_MAX is %i\0AThe value of %s_MIN is %i\0AA %s takes %zu bytes\0A\00"
@SHRT_MAX = global i32 0
@SHRT_MIN = global i32 0
@.str.11 = [76 x i8] c"The value of %s_MAX is %li\0AThe value of %s_MIN is %li\0AA %s takes %zu bytes\0A\00"
@LONG_MAX = global i8* null
@LONG_MIN = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca [7 x i8*]
%3 = alloca i8**
store i32 0, i32* %1
%4 = bitcast [7 x i8*]* %2 to i8*
%5 = bitcast i8* %4 to [7 x i8*]*
%6 = getelementptr inbounds [7 x i8*], [7 x i8*]* %5, i32 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8** %6
%7 = getelementptr inbounds [7 x i8*], [7 x i8*]* %5, i32 0, i32 1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i32 0, i32 0), i8** %7
%8 = getelementptr inbounds [7 x i8*], [7 x i8*]* %5, i32 0, i32 2
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i8** %8
%9 = getelementptr inbounds [7 x i8*], [7 x i8*]* %5, i32 0, i32 3
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i32 0, i32 0), i8** %9
%10 = getelementptr inbounds [7 x i8*], [7 x i8*]* %5, i32 0, i32 4
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i8** %10
%11 = getelementptr inbounds [7 x i8*], [7 x i8*]* %5, i32 0, i32 5
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i32 0, i32 0), i8** %11
%12 = getelementptr inbounds [7 x i8*], [7 x i8*]* %2, i64 0, i64 0
store i8** %12, i8*** %3
%13 = load i8**, i8*** %3
%14 = load i8*, i8** %13
%15 = load i32, i32* @INT_MAX
%16 = load i8**, i8*** %3
%17 = load i8*, i8** %16
%18 = load i32, i32* @INT_MIN
%19 = load i8**, i8*** %3
%20 = load i8*, i8** %19
%21 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.6, i64 0, i64 0), i8* %14, i32 %15, i8* %17, i32 %18, i8* %20, i64 4)
%22 = load i8**, i8*** %3
%23 = getelementptr inbounds i8*, i8** %22, i32 1
store i8** %23, i8*** %3
%24 = load i8**, i8*** %3
%25 = load i8*, i8** %24
%26 = load double, double* @FLT_MAX
%27 = load i8**, i8*** %3
%28 = load i8*, i8** %27
%29 = load double, double* @FLT_MIN
%30 = load i8**, i8*** %3
%31 = load i8*, i8** %30
%32 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.7, i64 0, i64 0), i8* %25, double %26, i8* %28, double %29, i8* %31, i64 4)
%33 = load i8**, i8*** %3
%34 = getelementptr inbounds i8*, i8** %33, i32 1
store i8** %34, i8*** %3
%35 = load i8**, i8*** %3
%36 = load i8*, i8** %35
%37 = load i32, i32* @CHAR_MAX
%38 = load i8**, i8*** %3
%39 = load i8*, i8** %38
%40 = load i32, i32* @CHAR_MIN
%41 = load i8**, i8*** %3
%42 = load i8*, i8** %41
%43 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.8, i64 0, i64 0), i8* %36, i32 %37, i8* %39, i32 %40, i8* %42, i64 1)
%44 = load i8**, i8*** %3
%45 = getelementptr inbounds i8*, i8** %44, i32 1
store i8** %45, i8*** %3
%46 = load i8**, i8*** %3
%47 = load i8*, i8** %46
%48 = load double, double* @DBL_MAX
%49 = load i8**, i8*** %3
%50 = load i8*, i8** %49
%51 = load double, double* @DBL_MIN
%52 = load i8**, i8*** %3
%53 = load i8*, i8** %52
%54 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.9, i64 0, i64 0), i8* %47, double %48, i8* %50, double %51, i8* %53, i64 8)
%55 = load i8**, i8*** %3
%56 = getelementptr inbounds i8*, i8** %55, i32 1
store i8** %56, i8*** %3
%57 = load i8**, i8*** %3
%58 = load i8*, i8** %57
%59 = load i32, i32* @SHRT_MAX
%60 = load i8**, i8*** %3
%61 = load i8*, i8** %60
%62 = load i32, i32* @SHRT_MIN
%63 = load i8**, i8*** %3
%64 = load i8*, i8** %63
%65 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.10, i64 0, i64 0), i8* %58, i32 %59, i8* %61, i32 %62, i8* %64, i64 2)
%66 = load i8**, i8*** %3
%67 = getelementptr inbounds i8*, i8** %66, i32 1
store i8** %67, i8*** %3
%68 = load i8**, i8*** %3
%69 = load i8*, i8** %68
%70 = load i8*, i8** @LONG_MAX
%71 = load i8**, i8*** %3
%72 = load i8*, i8** %71
%73 = load i32, i32* @LONG_MIN
%74 = load i8**, i8*** %3
%75 = load i8*, i8** %74
%76 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.11, i64 0, i64 0), i8* %69, i8* %70, i8* %72, i32 %73, i8* %75, i64 8)
%77 = load i8**, i8*** %3
%78 = getelementptr inbounds i8*, i8** %77, i32 1
store i8** %78, i8*** %3
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"INT\00"
@.str.1 = [4 x i8] c"FLT\00"
@.str.2 = [5 x i8] c"CHAR\00"
@.str.3 = [4 x i8] c"DBL\00"
@.str.4 = [5 x i8] c"SHRT\00"
@.str.5 = [4 x i8] c"LNG\00"
@.str.6 = [75 x i8] c"The value of %s_MAX is %i\0AThe value of %s_MIN is %i\0AAn %s takes %zu bytes\0A\00"
@INT_MAX = global i32 0
@INT_MIN = global i32 0
@.str.7 = [77 x i8] c"The value of %s_MAX is %f\0AThe value of %s_MIN is %.50f\0AA %s takes %zu bytes\0A\00"
@FLT_MAX = global double 0.000000e+00
@FLT_MIN = global double 0.000000e+00
@.str.8 = [74 x i8] c"The value of %s_MAX is %d\0AThe value of %s_MIN is %d\0AA %s takes %zu bytes\0A\00"
@CHAR_MAX = global i32 0
@CHAR_MIN = global i32 0
@.str.9 = [74 x i8] c"The value of %s_MAX is %g\0AThe value of %s_MIN is %g\0AA %s takes %zu bytes\0A\00"
@DBL_MAX = global double 0.000000e+00
@DBL_MIN = global double 0.000000e+00
@.str.10 = [74 x i8] c"The value of %s_MAX is %i\0AThe value of %s_MIN is %i\0AA %s takes %zu bytes\0A\00"
@SHRT_MAX = global i32 0
@SHRT_MIN = global i32 0
@.str.11 = [76 x i8] c"The value of %s_MAX is %li\0AThe value of %s_MIN is %li\0AA %s takes %zu bytes\0A\00"
@LONG_MAX = global i8* null
@LONG_MIN = global i32 0
define i32 @main() {
%1 = load i32, i32* @INT_MAX
%2 = load i32, i32* @INT_MIN
%3 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64 4)
%4 = load double, double* @FLT_MAX
%5 = load double, double* @FLT_MIN
%6 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i64 4)
%7 = load i32, i32* @CHAR_MAX
%8 = load i32, i32* @CHAR_MIN
%9 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i64 1)
%10 = load double, double* @DBL_MAX
%11 = load double, double* @DBL_MIN
%12 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), double %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), double %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i64 8)
%13 = load i32, i32* @SHRT_MAX
%14 = load i32, i32* @SHRT_MIN
%15 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %14, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i64 2)
%16 = load i8*, i8** @LONG_MAX
%17 = load i32, i32* @LONG_MIN
%18 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %17, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i64 8)
ret i32 0
}