#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*/ data_types;

/* Variables and functions */
int CHAR_MAX;
int CHAR_MIN;
int EXIT_SUCCESS;
int INT_MAX;
int INT_MIN;
int LLONG_MAX;
int LLONG_MIN;
int LONG_MAX;
int LONG_MIN;
int SCHAR_MAX;
int SCHAR_MIN;
int SHRT_MAX;
int SHRT_MIN;
int UCHAR_MAX;
int UINT_MAX;
int ULLONG_MAX;
int ULONG_MAX;
int USHRT_MAX;
int /*<<< orphan*/ fputc(char, int /*<<< orphan*/);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, int, char *, ...);
int /*<<< orphan*/ stdout;
int main(void) {
  char *data_types[] = {
      "char",           "unsigned char", "signed char",       "short",
      "unsigned short", "int",           "unsigned int",      "long",
      "unsigned long",  "long long",     "unsigned long long"};
  fputs("It prints the typical range for C integer data types.\n"
        "min/max macro are defined inside <limits.h> header.\n\n",
        stdout);
  for (int i = 0; i < sizeof(data_types) / sizeof(data_types[0]); i++)
    printf("[%2d] %18s\n", i + 1, data_types[i]);
  fputc('\n', stdout);
  printf("[ 1] %21d %-9s | %10s %-22d\n", CHAR_MIN, "CHAR_MIN", "CHAR_MAX",
         CHAR_MAX);
  printf("[ 2] %21d %-9s | %10s %-22d\n", 0, "min", "UCHAR_MAX", UCHAR_MAX);
  printf("[ 3] %21d %-9s | %10s %-22d\n", SCHAR_MIN, "SCHAR_MIN", "SCHAR_MAX",
         SCHAR_MAX);
  printf("[ 4] %21d %-9s | %10s %-22d\n", SHRT_MIN, "SHRT_MIN", "SHRT_MAX",
         SHRT_MAX);
  printf("[ 5] %21d %-9s | %10s %-22d\n", 0, "min", "USHRT_MAX", USHRT_MAX);
  printf("[ 6] %21d %-9s | %10s %-22d\n", INT_MIN, "INT_MIN", "INT_MAX",
         INT_MAX);
  printf("[ 7] %21d %-9s | %10s %-22u\n", 0, "min", "UINT_MAX", UINT_MAX);
  printf("[ 8] %21ld %-9s | %10s %-22ld\n", LONG_MIN, "LONG_MIN", "LONG_MAX",
         LONG_MAX);
  printf("[ 9] %21d %-9s | %10s %-22lu\n", 0, "min", "ULONG_MAX", ULONG_MAX);
  printf("[10] %21lld %-9s | %10s %-22lld\n", LLONG_MIN, "LLONG_MIN",
         "LLONG_MAX", LLONG_MAX);
  printf("[11] %21d %-9s | %10s %-22llu\n", 0, "miN", "ULLONG_MAX", ULLONG_MAX);
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x60(%rbp),%rdi
lea    0x2bd6(%rip),%rsi
mov    $0x58,%edx
call   1060 <memcpy@plt>
mov    0x2df5(%rip),%rax
mov    (%rax),%esi
lea    0xed7(%rip),%rdi
call   1040 <fputs@plt>
movl   $0x0,-0x64(%rbp)
movslq -0x64(%rbp),%rax
cmp    $0xb,%rax
jae    11b9 <main+0x79>
mov    -0x64(%rbp),%esi
add    $0x1,%esi
movslq -0x64(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rdx
lea    0xf13(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1180 <main+0x40>
mov    0x2da0(%rip),%rax
mov    (%rax),%esi
mov    $0xa,%edi
call   1050 <fputc@plt>
mov    0x2e05(%rip),%rax
mov    (%rax),%esi
mov    0x2e04(%rip),%rax
mov    (%rax),%r8d
lea    0xedd(%rip),%rdi
lea    0xf3c(%rip),%rdx
lea    0xf3f(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2dee(%rip),%rax
mov    (%rax),%r8d
lea    0xed4(%rip),%rdi
xor    %esi,%esi
lea    0xee8(%rip),%rdx
lea    0xee5(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d66(%rip),%rax
mov    (%rax),%esi
mov    0x2d55(%rip),%rax
mov    (%rax),%r8d
lea    0xece(%rip),%rdi
lea    0xee4(%rip),%rdx
lea    0xee7(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d17(%rip),%rax
mov    (%rax),%esi
mov    0x2d06(%rip),%rax
mov    (%rax),%r8d
lea    0xed0(%rip),%rdi
lea    0xee6(%rip),%rdx
lea    0xf06(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d40(%rip),%rax
mov    (%rax),%r8d
lea    0xed0(%rip),%rdi
xor    %esi,%esi
lea    0xe62(%rip),%rdx
lea    0xedd(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2cf8(%rip),%rax
mov    (%rax),%esi
mov    0x2d07(%rip),%rax
mov    (%rax),%r8d
lea    0xec6(%rip),%rdi
lea    0xedc(%rip),%rdx
lea    0xefb(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2cd9(%rip),%rax
mov    (%rax),%r8d
lea    0xec5(%rip),%rdi
xor    %esi,%esi
lea    0xe0b(%rip),%rdx
lea    0xed2(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2ca9(%rip),%rax
mov    (%rax),%esi
mov    0x2c68(%rip),%rax
mov    (%rax),%r8d
lea    0xeba(%rip),%rdi
lea    0xf1c(%rip),%rdx
lea    0xf43(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2c12(%rip),%rax
mov    (%rax),%r8d
lea    0xeb3(%rip),%rdi
xor    %esi,%esi
lea    0xdb4(%rip),%rdx
lea    0xec1(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2c22(%rip),%rax
mov    (%rax),%esi
mov    0x2c39(%rip),%rax
mov    (%rax),%r8d
lea    0xeaa(%rip),%rdi
lea    0xec4(%rip),%rdx
lea    0xeeb(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2c43(%rip),%rax
mov    (%rax),%r8d
lea    0xeaf(%rip),%rdi
xor    %esi,%esi
lea    0xec5(%rip),%rdx
lea    0xec2(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2ba3(%rip),%rax
mov    (%rax),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
mov    0x2e25(%rip),%r14
mov    (%r14),%esi
lea    0xf06(%rip),%rdi
call   1040 <fputs@plt>
lea    0xf66(%rip),%rbx
lea    0xeb1(%rip),%rdx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe92(%rip),%rdx
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe7e(%rip),%rdx
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe7d(%rip),%rdx
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe5e(%rip),%rdx
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe60(%rip),%rdx
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe41(%rip),%rdx
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe41(%rip),%rdx
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe22(%rip),%rdx
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe23(%rip),%rdx
mov    %rbx,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe04(%rip),%rdx
mov    %rbx,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%r14),%esi
mov    $0xa,%edi
call   1050 <fputc@plt>
mov    0x2d81(%rip),%rax
mov    (%rax),%esi
mov    0x2d80(%rip),%rax
mov    (%rax),%r8d
lea    0xe59(%rip),%rdi
lea    0xeb8(%rip),%rdx
lea    0xebb(%rip),%rcx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d6a(%rip),%rax
mov    (%rax),%r8d
lea    0xe50(%rip),%rdi
lea    0xe66(%rip),%rbx
lea    0xe63(%rip),%rcx
xor    %esi,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2cdf(%rip),%rax
mov    (%rax),%esi
mov    0x2cce(%rip),%rax
mov    (%rax),%r8d
lea    0xe47(%rip),%rdi
lea    0xe5d(%rip),%rdx
lea    0xe60(%rip),%rcx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2c90(%rip),%rax
mov    (%rax),%esi
mov    0x2c7f(%rip),%rax
mov    (%rax),%r8d
lea    0xe49(%rip),%rdi
lea    0xe5f(%rip),%rdx
lea    0xe7f(%rip),%rcx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2cb9(%rip),%rax
mov    (%rax),%r8d
lea    0xe49(%rip),%rdi
lea    0xe5f(%rip),%rcx
xor    %esi,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2c75(%rip),%rax
mov    (%rax),%esi
mov    0x2c84(%rip),%rax
mov    (%rax),%r8d
lea    0xe43(%rip),%rdi
lea    0xe59(%rip),%rdx
lea    0xe78(%rip),%rcx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2c56(%rip),%rax
mov    (%rax),%r8d
lea    0xe42(%rip),%rdi
lea    0xe58(%rip),%rcx
xor    %esi,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2c2a(%rip),%rax
mov    (%rax),%esi
mov    0x2be9(%rip),%rax
mov    (%rax),%r8d
lea    0xe3b(%rip),%rdi
lea    0xe9d(%rip),%rdx
lea    0xec4(%rip),%rcx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2b93(%rip),%rax
mov    (%rax),%r8d
lea    0xe34(%rip),%rdi
lea    0xe4b(%rip),%rcx
xor    %esi,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2ba7(%rip),%rax
mov    (%rax),%esi
mov    0x2bbe(%rip),%rax
mov    (%rax),%r8d
lea    0xe2f(%rip),%rdi
lea    0xe49(%rip),%rdx
lea    0xe70(%rip),%rcx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2bc8(%rip),%rax
mov    (%rax),%r8d
lea    0xe34(%rip),%rdi
lea    0xe4c(%rip),%rdx
lea    0xe49(%rip),%rcx
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2b28(%rip),%rax
mov    (%rax),%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [5 x i8] c"char\00"
@.str.1 = [14 x i8] c"unsigned char\00"
@.str.2 = [12 x i8] c"signed char\00"
@.str.3 = [6 x i8] c"short\00"
@.str.4 = [15 x i8] c"unsigned short\00"
@.str.5 = [4 x i8] c"int\00"
@.str.6 = [13 x i8] c"unsigned int\00"
@.str.7 = [5 x i8] c"long\00"
@.str.8 = [14 x i8] c"unsigned long\00"
@.str.9 = [10 x i8] c"long long\00"
@.str.10 = [19 x i8] c"unsigned long long\00"
@__const.main.data_types = [11 x i8*] [i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i32 0, i32 0)]
@.str.11 = [108 x i8] c"It prints the typical range for C integer data types.\0Amin/max macro are defined inside <limits.h> header.\0A\0A\00"
@stdout = global i32 0
@.str.12 = [12 x i8] c"[%2d] %18s\0A\00"
@.str.13 = [29 x i8] c"[ 1] %21d %-9s | %10s %-22d\0A\00"
@CHAR_MIN = global i32 0
@.str.14 = [9 x i8] c"CHAR_MIN\00"
@.str.15 = [9 x i8] c"CHAR_MAX\00"
@CHAR_MAX = global i32 0
@.str.16 = [29 x i8] c"[ 2] %21d %-9s | %10s %-22d\0A\00"
@.str.17 = [4 x i8] c"min\00"
@.str.18 = [10 x i8] c"UCHAR_MAX\00"
@UCHAR_MAX = global i32 0
@.str.19 = [29 x i8] c"[ 3] %21d %-9s | %10s %-22d\0A\00"
@SCHAR_MIN = global i32 0
@.str.20 = [10 x i8] c"SCHAR_MIN\00"
@.str.21 = [10 x i8] c"SCHAR_MAX\00"
@SCHAR_MAX = global i32 0
@.str.22 = [29 x i8] c"[ 4] %21d %-9s | %10s %-22d\0A\00"
@SHRT_MIN = global i32 0
@.str.23 = [9 x i8] c"SHRT_MIN\00"
@.str.24 = [9 x i8] c"SHRT_MAX\00"
@SHRT_MAX = global i32 0
@.str.25 = [29 x i8] c"[ 5] %21d %-9s | %10s %-22d\0A\00"
@.str.26 = [10 x i8] c"USHRT_MAX\00"
@USHRT_MAX = global i32 0
@.str.27 = [29 x i8] c"[ 6] %21d %-9s | %10s %-22d\0A\00"
@INT_MIN = global i32 0
@.str.28 = [8 x i8] c"INT_MIN\00"
@.str.29 = [8 x i8] c"INT_MAX\00"
@INT_MAX = global i32 0
@.str.30 = [29 x i8] c"[ 7] %21d %-9s | %10s %-22u\0A\00"
@.str.31 = [9 x i8] c"UINT_MAX\00"
@UINT_MAX = global i32 0
@.str.32 = [31 x i8] c"[ 8] %21ld %-9s | %10s %-22ld\0A\00"
@LONG_MIN = global i32 0
@.str.33 = [9 x i8] c"LONG_MIN\00"
@.str.34 = [9 x i8] c"LONG_MAX\00"
@LONG_MAX = global i32 0
@.str.35 = [30 x i8] c"[ 9] %21d %-9s | %10s %-22lu\0A\00"
@.str.36 = [10 x i8] c"ULONG_MAX\00"
@ULONG_MAX = global i32 0
@.str.37 = [33 x i8] c"[10] %21lld %-9s | %10s %-22lld\0A\00"
@LLONG_MIN = global i32 0
@.str.38 = [10 x i8] c"LLONG_MIN\00"
@.str.39 = [10 x i8] c"LLONG_MAX\00"
@LLONG_MAX = global i32 0
@.str.40 = [31 x i8] c"[11] %21d %-9s | %10s %-22llu\0A\00"
@.str.41 = [4 x i8] c"miN\00"
@.str.42 = [11 x i8] c"ULLONG_MAX\00"
@ULLONG_MAX = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca [11 x i8*]
%3 = alloca i32
store i32 0, i32* %1
%4 = bitcast [11 x i8*]* %2 to i8*
%5 = load i32, i32* @stdout
%6 = call i32 @fputs(i8* getelementptr inbounds ([108 x i8], [108 x i8]* @.str.11, i64 0, i64 0), i32 %5)
store i32 0, i32* %3
br label %7
7: ; preds = %19, %0
%8 = load i32, i32* %3
%9 = sext i32 %8 to i64
%10 = icmp ult i64 %9, 11
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load i32, i32* %3
%13 = add nsw i32 %12, 1
%14 = load i32, i32* %3
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [11 x i8*], [11 x i8*]* %2, i64 0, i64 %15
%17 = load i8*, i8** %16
%18 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 %13, i8* %17)
br label %19
19: ; preds = %11
%20 = load i32, i32* %3
%21 = add nsw i32 %20, 1
store i32 %21, i32* %3
br label %7
22: ; preds = %7
%23 = load i32, i32* @stdout
%24 = call i32 @fputc(i8 signext 10, i32 %23)
%25 = load i32, i32* @CHAR_MIN
%26 = load i32, i32* @CHAR_MAX
%27 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0), i32 %25, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i32 %26)
%28 = load i32, i32* @UCHAR_MAX
%29 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i32 %28)
%30 = load i32, i32* @SCHAR_MIN
%31 = load i32, i32* @SCHAR_MAX
%32 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.19, i64 0, i64 0), i32 %30, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 %31)
%33 = load i32, i32* @SHRT_MIN
%34 = load i32, i32* @SHRT_MAX
%35 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.22, i64 0, i64 0), i32 %33, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32 %34)
%36 = load i32, i32* @USHRT_MAX
%37 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.25, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.26, i64 0, i64 0), i32 %36)
%38 = load i32, i32* @INT_MIN
%39 = load i32, i32* @INT_MAX
%40 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.27, i64 0, i64 0), i32 %38, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0), i32 %39)
%41 = load i32, i32* @UINT_MAX
%42 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.30, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.31, i64 0, i64 0), i32 %41)
%43 = load i32, i32* @LONG_MIN
%44 = load i32, i32* @LONG_MAX
%45 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.32, i64 0, i64 0), i32 %43, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.34, i64 0, i64 0), i32 %44)
%46 = load i32, i32* @ULONG_MAX
%47 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.35, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.36, i64 0, i64 0), i32 %46)
%48 = load i32, i32* @LLONG_MIN
%49 = load i32, i32* @LLONG_MAX
%50 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.37, i64 0, i64 0), i32 %48, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.39, i64 0, i64 0), i32 %49)
%51 = load i32, i32* @ULLONG_MAX
%52 = call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.40, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.41, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.42, i64 0, i64 0), i32 %51)
%53 = load i32, i32* @EXIT_SUCCESS
ret i32 %53
}

LLVM IR (-O2):
@.str = [5 x i8] c"char\00"
@.str.1 = [14 x i8] c"unsigned char\00"
@.str.2 = [12 x i8] c"signed char\00"
@.str.3 = [6 x i8] c"short\00"
@.str.4 = [15 x i8] c"unsigned short\00"
@.str.5 = [4 x i8] c"int\00"
@.str.6 = [13 x i8] c"unsigned int\00"
@.str.7 = [5 x i8] c"long\00"
@.str.8 = [14 x i8] c"unsigned long\00"
@.str.9 = [10 x i8] c"long long\00"
@.str.10 = [19 x i8] c"unsigned long long\00"
@.str.11 = [108 x i8] c"It prints the typical range for C integer data types.\0Amin/max macro are defined inside <limits.h> header.\0A\0A\00"
@stdout = global i32 0
@.str.12 = [12 x i8] c"[%2d] %18s\0A\00"
@.str.13 = [29 x i8] c"[ 1] %21d %-9s | %10s %-22d\0A\00"
@CHAR_MIN = global i32 0
@.str.14 = [9 x i8] c"CHAR_MIN\00"
@.str.15 = [9 x i8] c"CHAR_MAX\00"
@CHAR_MAX = global i32 0
@.str.16 = [29 x i8] c"[ 2] %21d %-9s | %10s %-22d\0A\00"
@.str.17 = [4 x i8] c"min\00"
@.str.18 = [10 x i8] c"UCHAR_MAX\00"
@UCHAR_MAX = global i32 0
@.str.19 = [29 x i8] c"[ 3] %21d %-9s | %10s %-22d\0A\00"
@SCHAR_MIN = global i32 0
@.str.20 = [10 x i8] c"SCHAR_MIN\00"
@.str.21 = [10 x i8] c"SCHAR_MAX\00"
@SCHAR_MAX = global i32 0
@.str.22 = [29 x i8] c"[ 4] %21d %-9s | %10s %-22d\0A\00"
@SHRT_MIN = global i32 0
@.str.23 = [9 x i8] c"SHRT_MIN\00"
@.str.24 = [9 x i8] c"SHRT_MAX\00"
@SHRT_MAX = global i32 0
@.str.25 = [29 x i8] c"[ 5] %21d %-9s | %10s %-22d\0A\00"
@.str.26 = [10 x i8] c"USHRT_MAX\00"
@USHRT_MAX = global i32 0
@.str.27 = [29 x i8] c"[ 6] %21d %-9s | %10s %-22d\0A\00"
@INT_MIN = global i32 0
@.str.28 = [8 x i8] c"INT_MIN\00"
@.str.29 = [8 x i8] c"INT_MAX\00"
@INT_MAX = global i32 0
@.str.30 = [29 x i8] c"[ 7] %21d %-9s | %10s %-22u\0A\00"
@.str.31 = [9 x i8] c"UINT_MAX\00"
@UINT_MAX = global i32 0
@.str.32 = [31 x i8] c"[ 8] %21ld %-9s | %10s %-22ld\0A\00"
@LONG_MIN = global i32 0
@.str.33 = [9 x i8] c"LONG_MIN\00"
@.str.34 = [9 x i8] c"LONG_MAX\00"
@LONG_MAX = global i32 0
@.str.35 = [30 x i8] c"[ 9] %21d %-9s | %10s %-22lu\0A\00"
@.str.36 = [10 x i8] c"ULONG_MAX\00"
@ULONG_MAX = global i32 0
@.str.37 = [33 x i8] c"[10] %21lld %-9s | %10s %-22lld\0A\00"
@LLONG_MIN = global i32 0
@.str.38 = [10 x i8] c"LLONG_MIN\00"
@.str.39 = [10 x i8] c"LLONG_MAX\00"
@LLONG_MAX = global i32 0
@.str.40 = [31 x i8] c"[11] %21d %-9s | %10s %-22llu\0A\00"
@.str.41 = [4 x i8] c"miN\00"
@.str.42 = [11 x i8] c"ULLONG_MAX\00"
@ULLONG_MAX = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = load i32, i32* @stdout
%2 = tail call i32 @fputs(i8* getelementptr inbounds ([108 x i8], [108 x i8]* @.str.11, i64 0, i64 0), i32 %1)
%3 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%4 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%8 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%9 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 7, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%10 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%11 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 9, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0))
%12 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
%13 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 11, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%14 = load i32, i32* @stdout
%15 = tail call i32 @fputc(i8 signext 10, i32 %14)
%16 = load i32, i32* @CHAR_MIN
%17 = load i32, i32* @CHAR_MAX
%18 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0), i32 %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @UCHAR_MAX
%20 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @SCHAR_MIN
%22 = load i32, i32* @SCHAR_MAX
%23 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.19, i64 0, i64 0), i32 %21, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 %22)
%24 = load i32, i32* @SHRT_MIN
%25 = load i32, i32* @SHRT_MAX
%26 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.22, i64 0, i64 0), i32 %24, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @USHRT_MAX
%28 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.25, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.26, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @INT_MIN
%30 = load i32, i32* @INT_MAX
%31 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.27, i64 0, i64 0), i32 %29, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0), i32 %30)
%32 = load i32, i32* @UINT_MAX
%33 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.30, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.31, i64 0, i64 0), i32 %32)
%34 = load i32, i32* @LONG_MIN
%35 = load i32, i32* @LONG_MAX
%36 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.32, i64 0, i64 0), i32 %34, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.34, i64 0, i64 0), i32 %35)
%37 = load i32, i32* @ULONG_MAX
%38 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.35, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.36, i64 0, i64 0), i32 %37)
%39 = load i32, i32* @LLONG_MIN
%40 = load i32, i32* @LLONG_MAX
%41 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.37, i64 0, i64 0), i32 %39, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.39, i64 0, i64 0), i32 %40)
%42 = load i32, i32* @ULLONG_MAX
%43 = tail call i32 (i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.40, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.41, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.42, i64 0, i64 0), i32 %42)
%44 = load i32, i32* @EXIT_SUCCESS
ret i32 %44
}