#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;
int DBL_MAX_EXP;
double DBL_MIN;
int DBL_MIN_EXP;
double FLT_MAX;
int FLT_MAX_EXP;
double FLT_MIN;
int FLT_MIN_EXP;
int INT_MAX;
int INT_MIN;
int LONG_MAX;
int const LONG_MIN;
int SCHAR_MAX;
int SCHAR_MIN;
int SHRT_MAX;
int SHRT_MIN;
int UCHAR_MAX;
int UINT_MAX;
int ULONG_MAX;
int USHRT_MAX;
int /*<<< orphan*/ printf(char *, ...);
int smax(int const);
int const smin(int const);
int umax(int const);
int main() {
  const int UMIN = 0;
  const int CBITS = 8;
  const int SBITS = 16;
  const int IBITS = 32;
  const int LBITS = 64;
  printf("-----------------------------------------------------------\n");
  printf("Type limits                      min - max\n");
  printf("-----------------------------------------------------------\n");
  printf("Values from standard headers\n");
  printf("-----------------------------------------------------------\n");
  printf("char:           %20d - %-20d\n", CHAR_MIN, CHAR_MAX);
  printf("signed char:    %20d - %-20d\n", SCHAR_MIN, SCHAR_MAX);
  printf("unsigned char:  %20d - %-20u\n", UMIN, UCHAR_MAX);
  printf("short:          %20d - %-20d\n", SHRT_MIN, SHRT_MAX);
  printf("unsigned short: %20d - %-20u\n", UMIN, USHRT_MAX);
  printf("int:            %20d - %-20d\n", INT_MIN, INT_MAX);
  printf("unsigned int:   %20d - %-20u\n", UMIN, UINT_MAX);
  printf("long:           %20ld - %-20ld\n", LONG_MIN, LONG_MAX);
  printf("unsigned long:  %20d - %-20lu\n", UMIN, ULONG_MAX);
  printf("\n");
  printf("float:          %20E - %-20E\n", FLT_MIN, FLT_MAX);
  printf("float exp:      %20d - %-20d\n", FLT_MIN_EXP, FLT_MAX_EXP);
  printf("double:         %20E - %-20E\n", DBL_MIN, DBL_MAX);
  printf("double exp:     %20d - %-20d\n", DBL_MIN_EXP, DBL_MAX_EXP);
  printf("-----------------------------------------------------------\n");
  printf("Values by direct computation\n");
  printf("-----------------------------------------------------------\n");
  printf("char:           %20ld - %-20ld\n", smin(CBITS), smax(CBITS));
  printf("signed char:    %20ld - %-20ld\n", smin(CBITS), smax(CBITS));
  printf("unsigned char:  %20d - %-20lu\n", UMIN, umax(CBITS));
  printf("short:          %20ld - %-20ld\n", smin(SBITS), smax(SBITS));
  printf("unsigned short: %20d - %-20lu\n", UMIN, umax(SBITS));
  printf("int:            %20ld - %-20ld\n", smin(IBITS), smax(IBITS));
  printf("unsigned int:   %20d - %-20lu\n", UMIN, umax(IBITS));
  printf("long:           %20ld - %-20ld\n", smin(LBITS), smax(LBITS));
  printf("unsigned long:  %20d - %-20lu\n", UMIN, umax(LBITS));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x8,-0xc(%rbp)
movl   $0x10,-0x10(%rbp)
movl   $0x20,-0x14(%rbp)
movl   $0x40,-0x18(%rbp)
lea    0xe87(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xeb6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe6b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xec6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe4f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2e09(%rip),%rax
mov    (%rax),%esi
mov    0x2e18(%rip),%rax
mov    (%rax),%edx
lea    0xeb6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d91(%rip),%rax
mov    (%rax),%esi
mov    0x2d80(%rip),%rax
mov    (%rax),%edx
lea    0xeb4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2df1(%rip),%rax
mov    (%rax),%edx
lea    0xebb(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d40(%rip),%rax
mov    (%rax),%esi
mov    0x2d2f(%rip),%rax
mov    (%rax),%edx
lea    0xeb7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d80(%rip),%rax
mov    (%rax),%edx
lea    0xebe(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d3f(%rip),%rax
mov    (%rax),%esi
mov    0x2d56(%rip),%rax
mov    (%rax),%edx
lea    0xeba(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d2f(%rip),%rax
mov    (%rax),%edx
lea    0xec1(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d0e(%rip),%rax
mov    (%rax),%esi
mov    0x2ccd(%rip),%rax
mov    (%rax),%edx
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2c86(%rip),%rax
mov    (%rax),%edx
lea    0xec6(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd78(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2cef(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2ca4(%rip),%rax
movsd  (%rax),%xmm1
lea    0xeb1(%rip),%rdi
mov    $0x2,%al
call   1050 <printf@plt>
mov    0x2c93(%rip),%rax
mov    (%rax),%esi
mov    0x2caa(%rip),%rax
mov    (%rax),%edx
lea    0xeaf(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2c33(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2c20(%rip),%rax
movsd  (%rax),%xmm1
lea    0xea9(%rip),%rdi
mov    $0x2,%al
call   1050 <printf@plt>
mov    0x2c9f(%rip),%rax
mov    (%rax),%esi
mov    0x2c8e(%rip),%rax
mov    (%rax),%edx
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xca7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xea9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xc8b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x8,%edi
call   1030 <smin@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x8,%edi
call   1040 <smax@plt>
mov    -0x2c(%rbp),%esi
mov    %eax,%edx
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x8,%edi
call   1030 <smin@plt>
mov    %eax,-0x28(%rbp)
mov    $0x8,%edi
call   1040 <smax@plt>
mov    -0x28(%rbp),%esi
mov    %eax,%edx
lea    0xe85(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x8,%edi
call   1060 <umax@plt>
mov    %eax,%edx
lea    0xe8b(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x10,%edi
call   1030 <smin@plt>
mov    %eax,-0x24(%rbp)
mov    $0x10,%edi
call   1040 <smax@plt>
mov    -0x24(%rbp),%esi
mov    %eax,%edx
lea    0xe7e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x10,%edi
call   1060 <umax@plt>
mov    %eax,%edx
lea    0xe84(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x20,%edi
call   1030 <smin@plt>
mov    %eax,-0x20(%rbp)
mov    $0x20,%edi
call   1040 <smax@plt>
mov    -0x20(%rbp),%esi
mov    %eax,%edx
lea    0xe77(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x20,%edi
call   1060 <umax@plt>
mov    %eax,%edx
lea    0xe7d(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x40,%edi
call   1030 <smin@plt>
mov    %eax,-0x1c(%rbp)
mov    $0x40,%edi
call   1040 <smax@plt>
mov    -0x1c(%rbp),%esi
mov    %eax,%edx
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x40,%edi
call   1060 <umax@plt>
mov    %eax,%edx
lea    0xcc4(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
lea    0x115f(%rip),%rbx
mov    %rbx,%rdi
call   1060 <puts@plt>
lea    0x10eb(%rip),%rdi
call   1060 <puts@plt>
mov    %rbx,%rdi
call   1060 <puts@plt>
lea    0x1102(%rip),%rdi
call   1060 <puts@plt>
mov    %rbx,%rdi
call   1060 <puts@plt>
mov    0x2e25(%rip),%rax
mov    (%rax),%esi
mov    0x2e34(%rip),%rax
mov    (%rax),%edx
lea    0xe4b(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2db5(%rip),%rax
mov    (%rax),%esi
mov    0x2da4(%rip),%rax
mov    (%rax),%edx
lea    0xe49(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edx
lea    0xe50(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2d64(%rip),%rax
mov    (%rax),%esi
mov    0x2d53(%rip),%rax
mov    (%rax),%edx
lea    0xe4c(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2d9c(%rip),%rax
mov    (%rax),%edx
lea    0xe53(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2d63(%rip),%rax
mov    (%rax),%esi
mov    0x2d72(%rip),%rax
mov    (%rax),%edx
lea    0xe4f(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2d4b(%rip),%rax
mov    (%rax),%edx
lea    0xe56(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2cfa(%rip),%rax
mov    (%rax),%edx
lea    0xe5b(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2cae(%rip),%rax
mov    (%rax),%edx
lea    0xe5f(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2d10(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2ccd(%rip),%rax
movsd  (%rax),%xmm1
lea    0xe4b(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x2cbc(%rip),%rax
mov    (%rax),%esi
mov    0x2ccb(%rip),%rax
mov    (%rax),%edx
lea    0xe49(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2c5c(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2c49(%rip),%rax
movsd  (%rax),%xmm1
lea    0xe43(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x2cc0(%rip),%rax
mov    (%rax),%esi
mov    0x2caf(%rip),%rax
mov    (%rax),%edx
lea    0xe41(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
call   1060 <puts@plt>
lea    0xf6e(%rip),%rdi
call   1060 <puts@plt>
mov    %rbx,%rdi
call   1060 <puts@plt>
mov    $0x8,%edi
call   1040 <smin@plt>
mov    %eax,%ebx
mov    $0x8,%edi
call   1050 <smax@plt>
lea    0xe1f(%rip),%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x8,%edi
call   1040 <smin@plt>
mov    %eax,%ebx
mov    $0x8,%edi
call   1050 <smax@plt>
lea    0xe17(%rip),%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x8,%edi
call   1080 <umax@plt>
lea    0xe1b(%rip),%rdi
xor    %esi,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x10,%edi
call   1040 <smin@plt>
mov    %eax,%ebx
mov    $0x10,%edi
call   1050 <smax@plt>
lea    0xe12(%rip),%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x10,%edi
call   1080 <umax@plt>
lea    0xe16(%rip),%rdi
xor    %esi,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x20,%edi
call   1040 <smin@plt>
mov    %eax,%ebx
mov    $0x20,%edi
call   1050 <smax@plt>
lea    0xe0d(%rip),%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x20,%edi
call   1080 <umax@plt>
lea    0xe11(%rip),%rdi
xor    %esi,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x40,%edi
call   1040 <smin@plt>
mov    %eax,%ebx
mov    $0x40,%edi
call   1050 <smax@plt>
mov    %r15,%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x40,%edi
call   1080 <umax@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [61 x i8] c"-----------------------------------------------------------\0A\00"
@.str.1 = [44 x i8] c"Type limits min - max\0A\00"
@.str.2 = [30 x i8] c"Values from standard headers\0A\00"
@.str.3 = [30 x i8] c"char: %20d - %-20d\0A\00"
@CHAR_MIN = global i32 0
@CHAR_MAX = global i32 0
@.str.4 = [30 x i8] c"signed char: %20d - %-20d\0A\00"
@SCHAR_MIN = global i32 0
@SCHAR_MAX = global i32 0
@.str.5 = [30 x i8] c"unsigned char: %20d - %-20u\0A\00"
@UCHAR_MAX = global i32 0
@.str.6 = [30 x i8] c"short: %20d - %-20d\0A\00"
@SHRT_MIN = global i32 0
@SHRT_MAX = global i32 0
@.str.7 = [30 x i8] c"unsigned short: %20d - %-20u\0A\00"
@USHRT_MAX = global i32 0
@.str.8 = [30 x i8] c"int: %20d - %-20d\0A\00"
@INT_MIN = global i32 0
@INT_MAX = global i32 0
@.str.9 = [30 x i8] c"unsigned int: %20d - %-20u\0A\00"
@UINT_MAX = global i32 0
@.str.10 = [32 x i8] c"long: %20ld - %-20ld\0A\00"
@LONG_MIN = constant i32 0
@LONG_MAX = global i32 0
@.str.11 = [31 x i8] c"unsigned long: %20d - %-20lu\0A\00"
@ULONG_MAX = global i32 0
@.str.12 = [2 x i8] c"\0A\00"
@.str.13 = [30 x i8] c"float: %20E - %-20E\0A\00"
@FLT_MIN = global double 0.000000e+00
@FLT_MAX = global double 0.000000e+00
@.str.14 = [30 x i8] c"float exp: %20d - %-20d\0A\00"
@FLT_MIN_EXP = global i32 0
@FLT_MAX_EXP = global i32 0
@.str.15 = [30 x i8] c"double: %20E - %-20E\0A\00"
@DBL_MIN = global double 0.000000e+00
@DBL_MAX = global double 0.000000e+00
@.str.16 = [30 x i8] c"double exp: %20d - %-20d\0A\00"
@DBL_MIN_EXP = global i32 0
@DBL_MAX_EXP = global i32 0
@.str.17 = [30 x i8] c"Values by direct computation\0A\00"
@.str.18 = [32 x i8] c"char: %20ld - %-20ld\0A\00"
@.str.19 = [32 x i8] c"signed char: %20ld - %-20ld\0A\00"
@.str.20 = [31 x i8] c"unsigned char: %20d - %-20lu\0A\00"
@.str.21 = [32 x i8] c"short: %20ld - %-20ld\0A\00"
@.str.22 = [31 x i8] c"unsigned short: %20d - %-20lu\0A\00"
@.str.23 = [32 x i8] c"int: %20ld - %-20ld\0A\00"
@.str.24 = [31 x i8] c"unsigned int: %20d - %-20lu\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
store i32 8, i32* %3
store i32 16, i32* %4
store i32 32, i32* %5
store i32 64, i32* %6
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%12 = load i32, i32* @CHAR_MIN
%13 = load i32, i32* @CHAR_MAX
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i32 %12, i32 %13)
%15 = load i32, i32* @SCHAR_MIN
%16 = load i32, i32* @SCHAR_MAX
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i32 %15, i32 %16)
%18 = load i32, i32* @UCHAR_MAX
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), i32 0, i32 %18)
%20 = load i32, i32* @SHRT_MIN
%21 = load i32, i32* @SHRT_MAX
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i32 %20, i32 %21)
%23 = load i32, i32* @USHRT_MAX
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 0, i32 %23)
%25 = load i32, i32* @INT_MIN
%26 = load i32, i32* @INT_MAX
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0), i32 %25, i32 %26)
%28 = load i32, i32* @UINT_MAX
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0), i32 0, i32 %28)
%30 = load i32, i32* @LONG_MIN
%31 = load i32, i32* @LONG_MAX
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i32 %30, i32 %31)
%33 = load i32, i32* @ULONG_MAX
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0), i32 0, i32 %33)
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%36 = load double, double* @FLT_MIN
%37 = load double, double* @FLT_MAX
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0), double %36, double %37)
%39 = load i32, i32* @FLT_MIN_EXP
%40 = load i32, i32* @FLT_MAX_EXP
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0), i32 %39, i32 %40)
%42 = load double, double* @DBL_MIN
%43 = load double, double* @DBL_MAX
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0), double %42, double %43)
%45 = load i32, i32* @DBL_MIN_EXP
%46 = load i32, i32* @DBL_MAX_EXP
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.16, i64 0, i64 0), i32 %45, i32 %46)
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.17, i64 0, i64 0))
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%51 = call i32 @smin(i32 8)
%52 = call i32 @smax(i32 8)
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.18, i64 0, i64 0), i32 %51, i32 %52)
%54 = call i32 @smin(i32 8)
%55 = call i32 @smax(i32 8)
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.19, i64 0, i64 0), i32 %54, i32 %55)
%57 = call i32 @umax(i32 8)
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.20, i64 0, i64 0), i32 0, i32 %57)
%59 = call i32 @smin(i32 16)
%60 = call i32 @smax(i32 16)
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.21, i64 0, i64 0), i32 %59, i32 %60)
%62 = call i32 @umax(i32 16)
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.22, i64 0, i64 0), i32 0, i32 %62)
%64 = call i32 @smin(i32 32)
%65 = call i32 @smax(i32 32)
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.23, i64 0, i64 0), i32 %64, i32 %65)
%67 = call i32 @umax(i32 32)
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.24, i64 0, i64 0), i32 0, i32 %67)
%69 = call i32 @smin(i32 64)
%70 = call i32 @smax(i32 64)
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i32 %69, i32 %70)
%72 = call i32 @umax(i32 64)
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0), i32 0, i32 %72)
ret i32 0
}

LLVM IR (-O2):
@.str.3 = [30 x i8] c"char: %20d - %-20d\0A\00"
@CHAR_MIN = global i32 0
@CHAR_MAX = global i32 0
@.str.4 = [30 x i8] c"signed char: %20d - %-20d\0A\00"
@SCHAR_MIN = global i32 0
@SCHAR_MAX = global i32 0
@.str.5 = [30 x i8] c"unsigned char: %20d - %-20u\0A\00"
@UCHAR_MAX = global i32 0
@.str.6 = [30 x i8] c"short: %20d - %-20d\0A\00"
@SHRT_MIN = global i32 0
@SHRT_MAX = global i32 0
@.str.7 = [30 x i8] c"unsigned short: %20d - %-20u\0A\00"
@USHRT_MAX = global i32 0
@.str.8 = [30 x i8] c"int: %20d - %-20d\0A\00"
@INT_MIN = global i32 0
@INT_MAX = global i32 0
@.str.9 = [30 x i8] c"unsigned int: %20d - %-20u\0A\00"
@UINT_MAX = global i32 0
@.str.10 = [32 x i8] c"long: %20ld - %-20ld\0A\00"
@LONG_MIN = constant i32 0
@LONG_MAX = global i32 0
@.str.11 = [31 x i8] c"unsigned long: %20d - %-20lu\0A\00"
@ULONG_MAX = global i32 0
@.str.13 = [30 x i8] c"float: %20E - %-20E\0A\00"
@FLT_MIN = global double 0.000000e+00
@FLT_MAX = global double 0.000000e+00
@.str.14 = [30 x i8] c"float exp: %20d - %-20d\0A\00"
@FLT_MIN_EXP = global i32 0
@FLT_MAX_EXP = global i32 0
@.str.15 = [30 x i8] c"double: %20E - %-20E\0A\00"
@DBL_MIN = global double 0.000000e+00
@DBL_MAX = global double 0.000000e+00
@.str.16 = [30 x i8] c"double exp: %20d - %-20d\0A\00"
@DBL_MIN_EXP = global i32 0
@DBL_MAX_EXP = global i32 0
@.str.18 = [32 x i8] c"char: %20ld - %-20ld\0A\00"
@.str.19 = [32 x i8] c"signed char: %20ld - %-20ld\0A\00"
@.str.20 = [31 x i8] c"unsigned char: %20d - %-20lu\0A\00"
@.str.21 = [32 x i8] c"short: %20ld - %-20ld\0A\00"
@.str.22 = [31 x i8] c"unsigned short: %20d - %-20lu\0A\00"
@.str.23 = [32 x i8] c"int: %20ld - %-20ld\0A\00"
@.str.24 = [31 x i8] c"unsigned int: %20d - %-20lu\0A\00"
@str.25 = [43 x i8] c"Type limits min - max\00"
@str.27 = [29 x i8] c"Values from standard headers\00"
@str.30 = [29 x i8] c"Values by direct computation\00"
@str.31 = [60 x i8] c"-----------------------------------------------------------\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.31, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.25, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.31, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.27, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.31, i64 0, i64 0))
%6 = load i32, i32* @CHAR_MIN
%7 = load i32, i32* @CHAR_MAX
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i32 %6, i32 %7)
%9 = load i32, i32* @SCHAR_MIN
%10 = load i32, i32* @SCHAR_MAX
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i32 %9, i32 %10)
%12 = load i32, i32* @UCHAR_MAX
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), i32 0, i32 %12)
%14 = load i32, i32* @SHRT_MIN
%15 = load i32, i32* @SHRT_MAX
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i32 %14, i32 %15)
%17 = load i32, i32* @USHRT_MAX
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 0, i32 %17)
%19 = load i32, i32* @INT_MIN
%20 = load i32, i32* @INT_MAX
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0), i32 %19, i32 %20)
%22 = load i32, i32* @UINT_MAX
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0), i32 0, i32 %22)
%24 = load i32, i32* @LONG_MAX
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i32 0, i32 %24)
%26 = load i32, i32* @ULONG_MAX
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0), i32 0, i32 %26)
%28 = tail call i32 @putchar(i32 10)
%29 = load double, double* @FLT_MIN
%30 = load double, double* @FLT_MAX
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0), double %29, double %30)
%32 = load i32, i32* @FLT_MIN_EXP
%33 = load i32, i32* @FLT_MAX_EXP
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0), i32 %32, i32 %33)
%35 = load double, double* @DBL_MIN
%36 = load double, double* @DBL_MAX
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0), double %35, double %36)
%38 = load i32, i32* @DBL_MIN_EXP
%39 = load i32, i32* @DBL_MAX_EXP
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.16, i64 0, i64 0), i32 %38, i32 %39)
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.31, i64 0, i64 0))
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.30, i64 0, i64 0))
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.31, i64 0, i64 0))
%44 = tail call i32 @smin(i32 8)
%45 = tail call i32 @smax(i32 8)
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.18, i64 0, i64 0), i32 %44, i32 %45)
%47 = tail call i32 @smin(i32 8)
%48 = tail call i32 @smax(i32 8)
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.19, i64 0, i64 0), i32 %47, i32 %48)
%50 = tail call i32 @umax(i32 8)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.20, i64 0, i64 0), i32 0, i32 %50)
%52 = tail call i32 @smin(i32 16)
%53 = tail call i32 @smax(i32 16)
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.21, i64 0, i64 0), i32 %52, i32 %53)
%55 = tail call i32 @umax(i32 16)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.22, i64 0, i64 0), i32 0, i32 %55)
%57 = tail call i32 @smin(i32 32)
%58 = tail call i32 @smax(i32 32)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.23, i64 0, i64 0), i32 %57, i32 %58)
%60 = tail call i32 @umax(i32 32)
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.24, i64 0, i64 0), i32 0, i32 %60)
%62 = tail call i32 @smin(i32 64)
%63 = tail call i32 @smax(i32 64)
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i32 %62, i32 %63)
%65 = tail call i32 @umax(i32 64)
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0), i32 0, i32 %65)
ret i32 0
}