#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_BIT;
int CHAR_MAX;
int CHAR_MIN;
int INT_MAX;
int INT_MIN;
double LLONG_MAX;
double LLONG_MIN;
double LONG_MAX;
double LONG_MIN;
int SCHAR_MAX;
int SCHAR_MIN;
int SHRT_MAX;
int SHRT_MIN;
int UCHAR_MAX;
int UINT_MAX;
double ULLONG_MAX;
double ULONG_MAX;
int USHRT_MAX;
int calculate_schar_max();
int calculate_schar_min();
int calculate_uchar_max();
double double_max_size();
double double_min_size();
float float_max_size();
float float_min_size();
int int_max();
int int_min();
long max_size_long();
long min_size_long();
int /*<<< orphan*/ printf(char *, ...);
unsigned long ulong_max();
unsigned int unsigned_int_max();
int main() {
  int char_d, schar_min_d, schar_max_d, uchar_max_d, int_min_d, int_max_d,
      short_min_d, shirt_max_d, uint_max_d, i;
  unsigned int unsigned_int;
  long long_min, long_max;
  unsigned long u_long_max;
  long long llong_min_d, llong_max_d, ullong_max_d;
  float float_min, float_max;
  double double_min, double_max;
  printf("\n\nThis defined in file limits.h variables are just taken from "
         "file.\n");
  printf("CHAR_BIT=%d\n", CHAR_BIT);
  printf("SCHAR_MIN=%d\n", SCHAR_MIN);
  printf("SCHAR_MAX=%d\n", SCHAR_MAX);
  printf("UCHAR_MAX=%d\n", UCHAR_MAX);
  printf("CHAR_MIN=%d\n", CHAR_MIN);
  printf("CHAR_MAX=%d\n", CHAR_MAX);
  printf("SHRT_MIN=%d\n", SHRT_MIN);
  printf("SHRT_MAX=%d\n", SHRT_MAX);
  printf("USHRT_MAX=%d\n", USHRT_MAX);
  printf("INT_MIN=%d\n", INT_MIN);
  printf("INT_MAX=%d\n", INT_MAX);
  printf("UINT_MAX=%u\n", UINT_MAX);
  printf("LONG_MAX= %ld\n", LONG_MAX);
  printf("LONG_MIN= %ld\n", LONG_MIN);
  printf("ULONG_MAX=%lu\n", ULONG_MAX);
  printf("LLONG_MAX=%lld\n", LLONG_MAX);
  printf("LLONG_MIN=%lld\n", LLONG_MIN);
  printf("ULLONG_MAX=%lld\n", ULLONG_MAX);
  printf("FLT_MAX=%f;\n", 3.40282347E+38F);
  printf("FLT_MIN=%Lf;\n", 1.17549435E-38F);
  printf("FLT_MAX=%g;\n", 3.40282347E+38F);
  printf("FLT_MIN=%g;\n", 1.17549435E-38F);
  printf("DBL_MAX=%g;\n", 1.7976931348623157E+308);
  printf("DBL_MIN=%g;\n", 2.2250738585072014E-308);
  printf("\nAnd now it will be calculated.\n");
  i = calculate_uchar_max();
  printf("Maximal value of unsigned char equal %d\n", i);
  i = calculate_schar_min();
  printf("Minimal value of signed char equal %d\n", i);
  i = calculate_schar_max();
  printf("Maximal value of signed char equal %d\n", i);
  unsigned_int = unsigned_int_max();
  printf("Maximal value of unsigned int equal %u\n", unsigned_int);
  i = int_max();
  printf("Maximal value of signed int equal %d\n", i);
  i = int_min();
  printf("Minimal value of signed int equal %d;\n", i);
  long_max = max_size_long();
  printf("Maximal value of signed long int equal %ld\n", long_max);
  long_min = min_size_long();
  printf("Minimal value of signed long int equal %ld\n", long_min);
  u_long_max = ulong_max();
  printf("Maximal value of signed long int equal %lu\n", u_long_max);
  float_max = float_max_size();
  printf("Maximal value of float equal %g;\n", float_max);
  float_min = float_min_size();
  printf("Minimal value of float equal %g;\n", float_min);
  double_max = double_max_size();
  printf("Maximal value of double equal %g;\n", double_max);
  double_min = double_min_size();
  printf("Minimal value of double equal %g;\n", double_min);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
lea    0xe2e(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2d78(%rip),%rax
mov    (%rax),%esi
lea    0xe5c(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2d79(%rip),%rax
mov    (%rax),%esi
lea    0xe52(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2d5a(%rip),%rax
mov    (%rax),%esi
lea    0xe49(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2dab(%rip),%rax
mov    (%rax),%esi
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2d7c(%rip),%rax
mov    (%rax),%esi
lea    0xe0e(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2d6d(%rip),%rax
mov    (%rax),%esi
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2cde(%rip),%rax
mov    (%rax),%esi
lea    0xe09(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2cbf(%rip),%rax
mov    (%rax),%esi
lea    0xe00(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2d10(%rip),%rax
mov    (%rax),%esi
lea    0xde8(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2cd9(%rip),%rax
mov    (%rax),%esi
lea    0xddf(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2cda(%rip),%rax
mov    (%rax),%esi
lea    0xdd4(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2cbb(%rip),%rax
mov    (%rax),%esi
lea    0xdc9(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    0x2c5c(%rip),%rax
movsd  (%rax),%xmm0
lea    0xdbd(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    0x2c83(%rip),%rax
movsd  (%rax),%xmm0
lea    0xdb3(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    0x2c0a(%rip),%rax
movsd  (%rax),%xmm0
lea    0xda9(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    0x2c41(%rip),%rax
movsd  (%rax),%xmm0
lea    0xdb0(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    0x2c08(%rip),%rax
movsd  (%rax),%xmm0
lea    0xd86(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    0x2c3f(%rip),%rax
movsd  (%rax),%xmm0
lea    0xd7d(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
lea    0xd80(%rip),%rdi
movsd  0xc66(%rip),%xmm0
mov    $0x1,%al
call   1090 <printf@plt>
lea    0xd77(%rip),%rdi
movsd  0xc48(%rip),%xmm0
mov    $0x1,%al
call   1090 <printf@plt>
lea    0xd6f(%rip),%rdi
movsd  0xc3a(%rip),%xmm0
mov    $0x1,%al
call   1090 <printf@plt>
lea    0xd66(%rip),%rdi
movsd  0xc1c(%rip),%xmm0
mov    $0x1,%al
call   1090 <printf@plt>
lea    0xd5d(%rip),%rdi
movsd  0xbfe(%rip),%xmm0
mov    $0x1,%al
call   1090 <printf@plt>
lea    0xd54(%rip),%rdi
movsd  0xbe0(%rip),%xmm0
mov    $0x1,%al
call   1090 <printf@plt>
lea    0xd4b(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10c0 <calculate_uchar_max@plt>
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%esi
lea    0xd51(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1070 <calculate_schar_min@plt>
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%esi
lea    0xd5f(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10b0 <calculate_schar_max@plt>
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%esi
lea    0xd6b(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1080 <unsigned_int_max@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%esi
lea    0xd77(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1050 <int_max@plt>
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%esi
lea    0xd84(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1100 <int_min@plt>
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%esi
lea    0xd8f(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1040 <max_size_long@plt>
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rsi
lea    0xd99(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10e0 <min_size_long@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rsi
lea    0xda8(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10d0 <ulong_max@plt>
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rsi
lea    0xdb7(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10a0 <float_max_size@plt>
movss  %xmm0,-0x68(%rbp)
movss  -0x68(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdc0(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1060 <float_min_size@plt>
movss  %xmm0,-0x64(%rbp)
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdbf(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1030 <double_max_size@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
lea    0xdc2(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10f0 <double_min_size@plt>
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
lea    0xdc6(%rip),%rdi
mov    $0x1,%al
call   1090 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0x1136(%rip),%rdi
call   1050 <puts@plt>
mov    0x2d74(%rip),%rax
mov    (%rax),%esi
lea    0xe13(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2d75(%rip),%rax
mov    (%rax),%esi
lea    0xe09(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2d56(%rip),%rax
mov    (%rax),%esi
lea    0xe00(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2da7(%rip),%rax
mov    (%rax),%esi
lea    0xdf7(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2d78(%rip),%rax
mov    (%rax),%esi
lea    0xdc5(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2d69(%rip),%rax
mov    (%rax),%esi
lea    0xdbc(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2cda(%rip),%rax
mov    (%rax),%esi
lea    0xdc0(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2cbb(%rip),%rax
mov    (%rax),%esi
lea    0xdb7(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2d0c(%rip),%rax
mov    (%rax),%esi
lea    0xd9f(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2cd5(%rip),%rax
mov    (%rax),%esi
lea    0xd96(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2cd6(%rip),%rax
mov    (%rax),%esi
lea    0xd8b(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2cb7(%rip),%rax
mov    (%rax),%esi
lea    0xd80(%rip),%rdi
xor    %eax,%eax
call   10a0 <printf@plt>
mov    0x2c58(%rip),%rax
movsd  (%rax),%xmm0
lea    0xd74(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
mov    0x2c7f(%rip),%rax
movsd  (%rax),%xmm0
lea    0xd6a(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
mov    0x2c06(%rip),%rax
movsd  (%rax),%xmm0
lea    0xd60(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
mov    0x2c3d(%rip),%rax
movsd  (%rax),%xmm0
lea    0xd67(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
mov    0x2c04(%rip),%rax
movsd  (%rax),%xmm0
lea    0xd3d(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
mov    0x2c3b(%rip),%rax
movsd  (%rax),%xmm0
lea    0xd34(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
lea    0xd37(%rip),%rdi
movsd  0xc4a(%rip),%xmm0
mov    $0x1,%al
call   10a0 <printf@plt>
lea    0xd2e(%rip),%rdi
movsd  0xc3c(%rip),%xmm0
mov    $0x1,%al
call   10a0 <printf@plt>
lea    0xd26(%rip),%rdi
movsd  0xc1e(%rip),%xmm0
mov    $0x1,%al
call   10a0 <printf@plt>
lea    0xd1d(%rip),%rdi
movsd  0xc10(%rip),%xmm0
mov    $0x1,%al
call   10a0 <printf@plt>
lea    0xd14(%rip),%rdi
movsd  0xc02(%rip),%xmm0
mov    $0x1,%al
call   10a0 <printf@plt>
lea    0xd0b(%rip),%rdi
movsd  0xbf4(%rip),%xmm0
mov    $0x1,%al
call   10a0 <printf@plt>
lea    0xf40(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
call   10d0 <calculate_uchar_max@plt>
lea    0xcef(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   1080 <calculate_schar_min@plt>
lea    0xd01(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   10c0 <calculate_schar_max@plt>
lea    0xd11(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   1090 <unsigned_int_max@plt>
lea    0xd21(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   1060 <int_max@plt>
lea    0xd32(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   1110 <int_min@plt>
lea    0xd41(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   1040 <max_size_long@plt>
lea    0xd51(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   10f0 <min_size_long@plt>
lea    0xd65(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   10e0 <ulong_max@plt>
lea    0xd79(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   10a0 <printf@plt>
xor    %eax,%eax
call   10b0 <float_max_size@plt>
cvtss2sd %xmm0,%xmm0
lea    0xd89(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
xor    %eax,%eax
call   1070 <float_min_size@plt>
cvtss2sd %xmm0,%xmm0
lea    0xd92(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
xor    %eax,%eax
call   1030 <double_max_size@plt>
lea    0xd9f(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
xor    %eax,%eax
call   1100 <double_min_size@plt>
lea    0xdad(%rip),%rdi
mov    $0x1,%al
call   10a0 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [69 x i8] c"\0A\0AThis defined in file limits.h variables are just taken from file.\0A\00"
@.str.1 = [13 x i8] c"CHAR_BIT=%d\0A\00"
@CHAR_BIT = global i32 0
@.str.2 = [14 x i8] c"SCHAR_MIN=%d\0A\00"
@SCHAR_MIN = global i32 0
@.str.3 = [14 x i8] c"SCHAR_MAX=%d\0A\00"
@SCHAR_MAX = global i32 0
@.str.4 = [14 x i8] c"UCHAR_MAX=%d\0A\00"
@UCHAR_MAX = global i32 0
@.str.5 = [13 x i8] c"CHAR_MIN=%d\0A\00"
@CHAR_MIN = global i32 0
@.str.6 = [13 x i8] c"CHAR_MAX=%d\0A\00"
@CHAR_MAX = global i32 0
@.str.7 = [13 x i8] c"SHRT_MIN=%d\0A\00"
@SHRT_MIN = global i32 0
@.str.8 = [13 x i8] c"SHRT_MAX=%d\0A\00"
@SHRT_MAX = global i32 0
@.str.9 = [14 x i8] c"USHRT_MAX=%d\0A\00"
@USHRT_MAX = global i32 0
@.str.10 = [12 x i8] c"INT_MIN=%d\0A\00"
@INT_MIN = global i32 0
@.str.11 = [12 x i8] c"INT_MAX=%d\0A\00"
@INT_MAX = global i32 0
@.str.12 = [13 x i8] c"UINT_MAX=%u\0A\00"
@UINT_MAX = global i32 0
@.str.13 = [15 x i8] c"LONG_MAX= %ld\0A\00"
@LONG_MAX = global double 0.000000e+00
@.str.14 = [15 x i8] c"LONG_MIN= %ld\0A\00"
@LONG_MIN = global double 0.000000e+00
@.str.15 = [15 x i8] c"ULONG_MAX=%lu\0A\00"
@ULONG_MAX = global double 0.000000e+00
@.str.16 = [16 x i8] c"LLONG_MAX=%lld\0A\00"
@LLONG_MAX = global double 0.000000e+00
@.str.17 = [16 x i8] c"LLONG_MIN=%lld\0A\00"
@LLONG_MIN = global double 0.000000e+00
@.str.18 = [17 x i8] c"ULLONG_MAX=%lld\0A\00"
@ULLONG_MAX = global double 0.000000e+00
@.str.19 = [13 x i8] c"FLT_MAX=%f;\0A\00"
@.str.20 = [14 x i8] c"FLT_MIN=%Lf;\0A\00"
@.str.21 = [13 x i8] c"FLT_MAX=%g;\0A\00"
@.str.22 = [13 x i8] c"FLT_MIN=%g;\0A\00"
@.str.23 = [13 x i8] c"DBL_MAX=%g;\0A\00"
@.str.24 = [13 x i8] c"DBL_MIN=%g;\0A\00"
@.str.25 = [33 x i8] c"\0AAnd now it will be calculated.\0A\00"
@.str.26 = [41 x i8] c"Maximal value of unsigned char equal %d\0A\00"
@.str.27 = [39 x i8] c"Minimal value of signed char equal %d\0A\00"
@.str.28 = [39 x i8] c"Maximal value of signed char equal %d\0A\00"
@.str.29 = [40 x i8] c"Maximal value of unsigned int equal %u\0A\00"
@.str.30 = [38 x i8] c"Maximal value of signed int equal %d\0A\00"
@.str.31 = [39 x i8] c"Minimal value of signed int equal %d;\0A\00"
@.str.32 = [44 x i8] c"Maximal value of signed long int equal %ld\0A\00"
@.str.33 = [44 x i8] c"Minimal value of signed long int equal %ld\0A\00"
@.str.34 = [44 x i8] c"Maximal value of signed long int equal %lu\0A\00"
@.str.35 = [34 x i8] c"Maximal value of float equal %g;\0A\00"
@.str.36 = [34 x i8] c"Minimal value of float equal %g;\0A\00"
@.str.37 = [35 x i8] c"Maximal value of double equal %g;\0A\00"
@.str.38 = [35 x i8] c"Minimal value of double equal %g;\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
%15 = alloca i64
%16 = alloca i64
%17 = alloca i64
%18 = alloca float
%19 = alloca float
%20 = alloca double
%21 = alloca double
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str, i64 0, i64 0))
%23 = load i32, i32* @CHAR_BIT
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @SCHAR_MIN
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @SCHAR_MAX
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @UCHAR_MAX
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @CHAR_MIN
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i32 %31)
%33 = load i32, i32* @CHAR_MAX
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %33)
%35 = load i32, i32* @SHRT_MIN
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i32 %35)
%37 = load i32, i32* @SHRT_MAX
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i32 %37)
%39 = load i32, i32* @USHRT_MAX
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), i32 %39)
%41 = load i32, i32* @INT_MIN
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i32 %41)
%43 = load i32, i32* @INT_MAX
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i32 %43)
%45 = load i32, i32* @UINT_MAX
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0), i32 %45)
%47 = load double, double* @LONG_MAX
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.13, i64 0, i64 0), double %47)
%49 = load double, double* @LONG_MIN
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), double %49)
%51 = load double, double* @ULONG_MAX
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), double %51)
%53 = load double, double* @LLONG_MAX
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), double %53)
%55 = load double, double* @LLONG_MIN
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), double %55)
%57 = load double, double* @ULLONG_MAX
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.18, i64 0, i64 0), double %57)
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.19, i64 0, i64 0), double 0x47EFFFFFE0000000)
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), double 0x3810000000000000)
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0), double 0x47EFFFFFE0000000)
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.22, i64 0, i64 0), double 0x3810000000000000)
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.23, i64 0, i64 0), double 0x7FEFFFFFFFFFFFFF)
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.24, i64 0, i64 0), double 0x10000000000000)
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.25, i64 0, i64 0))
%66 = call i32 (...) @calculate_uchar_max()
store i32 %66, i32* %10
%67 = load i32, i32* %10
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.26, i64 0, i64 0), i32 %67)
%69 = call i32 (...) @calculate_schar_min()
store i32 %69, i32* %10
%70 = load i32, i32* %10
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.27, i64 0, i64 0), i32 %70)
%72 = call i32 (...) @calculate_schar_max()
store i32 %72, i32* %10
%73 = load i32, i32* %10
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.28, i64 0, i64 0), i32 %73)
%75 = call i32 (...) @unsigned_int_max()
store i32 %75, i32* %11
%76 = load i32, i32* %11
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.29, i64 0, i64 0), i32 %76)
%78 = call i32 (...) @int_max()
store i32 %78, i32* %10
%79 = load i32, i32* %10
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.30, i64 0, i64 0), i32 %79)
%81 = call i32 (...) @int_min()
store i32 %81, i32* %10
%82 = load i32, i32* %10
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.31, i64 0, i64 0), i32 %82)
%84 = call i64 (...) @max_size_long()
store i64 %84, i64* %13
%85 = load i64, i64* %13
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.32, i64 0, i64 0), i64 %85)
%87 = call i64 (...) @min_size_long()
store i64 %87, i64* %12
%88 = load i64, i64* %12
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.33, i64 0, i64 0), i64 %88)
%90 = call i64 (...) @ulong_max()
store i64 %90, i64* %14
%91 = load i64, i64* %14
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.34, i64 0, i64 0), i64 %91)
%93 = call float (...) @float_max_size()
store float %93, float* %19
%94 = load float, float* %19
%95 = fpext float %94 to double
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.35, i64 0, i64 0), double %95)
%97 = call float (...) @float_min_size()
store float %97, float* %18
%98 = load float, float* %18
%99 = fpext float %98 to double
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.36, i64 0, i64 0), double %99)
%101 = call double (...) @double_max_size()
store double %101, double* %21
%102 = load double, double* %21
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.37, i64 0, i64 0), double %102)
%104 = call double (...) @double_min_size()
store double %104, double* %20
%105 = load double, double* %20
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.38, i64 0, i64 0), double %105)
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [13 x i8] c"CHAR_BIT=%d\0A\00"
@CHAR_BIT = global i32 0
@.str.2 = [14 x i8] c"SCHAR_MIN=%d\0A\00"
@SCHAR_MIN = global i32 0
@.str.3 = [14 x i8] c"SCHAR_MAX=%d\0A\00"
@SCHAR_MAX = global i32 0
@.str.4 = [14 x i8] c"UCHAR_MAX=%d\0A\00"
@UCHAR_MAX = global i32 0
@.str.5 = [13 x i8] c"CHAR_MIN=%d\0A\00"
@CHAR_MIN = global i32 0
@.str.6 = [13 x i8] c"CHAR_MAX=%d\0A\00"
@CHAR_MAX = global i32 0
@.str.7 = [13 x i8] c"SHRT_MIN=%d\0A\00"
@SHRT_MIN = global i32 0
@.str.8 = [13 x i8] c"SHRT_MAX=%d\0A\00"
@SHRT_MAX = global i32 0
@.str.9 = [14 x i8] c"USHRT_MAX=%d\0A\00"
@USHRT_MAX = global i32 0
@.str.10 = [12 x i8] c"INT_MIN=%d\0A\00"
@INT_MIN = global i32 0
@.str.11 = [12 x i8] c"INT_MAX=%d\0A\00"
@INT_MAX = global i32 0
@.str.12 = [13 x i8] c"UINT_MAX=%u\0A\00"
@UINT_MAX = global i32 0
@.str.13 = [15 x i8] c"LONG_MAX= %ld\0A\00"
@LONG_MAX = global double 0.000000e+00
@.str.14 = [15 x i8] c"LONG_MIN= %ld\0A\00"
@LONG_MIN = global double 0.000000e+00
@.str.15 = [15 x i8] c"ULONG_MAX=%lu\0A\00"
@ULONG_MAX = global double 0.000000e+00
@.str.16 = [16 x i8] c"LLONG_MAX=%lld\0A\00"
@LLONG_MAX = global double 0.000000e+00
@.str.17 = [16 x i8] c"LLONG_MIN=%lld\0A\00"
@LLONG_MIN = global double 0.000000e+00
@.str.18 = [17 x i8] c"ULLONG_MAX=%lld\0A\00"
@ULLONG_MAX = global double 0.000000e+00
@.str.19 = [13 x i8] c"FLT_MAX=%f;\0A\00"
@.str.20 = [14 x i8] c"FLT_MIN=%Lf;\0A\00"
@.str.21 = [13 x i8] c"FLT_MAX=%g;\0A\00"
@.str.22 = [13 x i8] c"FLT_MIN=%g;\0A\00"
@.str.23 = [13 x i8] c"DBL_MAX=%g;\0A\00"
@.str.24 = [13 x i8] c"DBL_MIN=%g;\0A\00"
@.str.26 = [41 x i8] c"Maximal value of unsigned char equal %d\0A\00"
@.str.27 = [39 x i8] c"Minimal value of signed char equal %d\0A\00"
@.str.28 = [39 x i8] c"Maximal value of signed char equal %d\0A\00"
@.str.29 = [40 x i8] c"Maximal value of unsigned int equal %u\0A\00"
@.str.30 = [38 x i8] c"Maximal value of signed int equal %d\0A\00"
@.str.31 = [39 x i8] c"Minimal value of signed int equal %d;\0A\00"
@.str.32 = [44 x i8] c"Maximal value of signed long int equal %ld\0A\00"
@.str.33 = [44 x i8] c"Minimal value of signed long int equal %ld\0A\00"
@.str.34 = [44 x i8] c"Maximal value of signed long int equal %lu\0A\00"
@.str.35 = [34 x i8] c"Maximal value of float equal %g;\0A\00"
@.str.36 = [34 x i8] c"Minimal value of float equal %g;\0A\00"
@.str.37 = [35 x i8] c"Maximal value of double equal %g;\0A\00"
@.str.38 = [35 x i8] c"Minimal value of double equal %g;\0A\00"
@str = [68 x i8] c"\0A\0AThis defined in file limits.h variables are just taken from file.\00"
@str.39 = [32 x i8] c"\0AAnd now it will be calculated.\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str, i64 0, i64 0))
%2 = load i32, i32* @CHAR_BIT
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 %2)
%4 = load i32, i32* @SCHAR_MIN
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 %4)
%6 = load i32, i32* @SCHAR_MAX
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @UCHAR_MAX
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @CHAR_MIN
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i32 %10)
%12 = load i32, i32* @CHAR_MAX
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %12)
%14 = load i32, i32* @SHRT_MIN
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i32 %14)
%16 = load i32, i32* @SHRT_MAX
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i32 %16)
%18 = load i32, i32* @USHRT_MAX
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), i32 %18)
%20 = load i32, i32* @INT_MIN
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i32 %20)
%22 = load i32, i32* @INT_MAX
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i32 %22)
%24 = load i32, i32* @UINT_MAX
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0), i32 %24)
%26 = load double, double* @LONG_MAX
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.13, i64 0, i64 0), double %26)
%28 = load double, double* @LONG_MIN
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), double %28)
%30 = load double, double* @ULONG_MAX
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), double %30)
%32 = load double, double* @LLONG_MAX
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), double %32)
%34 = load double, double* @LLONG_MIN
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), double %34)
%36 = load double, double* @ULLONG_MAX
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.18, i64 0, i64 0), double %36)
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.19, i64 0, i64 0), double 0x47EFFFFFE0000000)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), double 0x3810000000000000)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0), double 0x47EFFFFFE0000000)
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.22, i64 0, i64 0), double 0x3810000000000000)
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.23, i64 0, i64 0), double 0x7FEFFFFFFFFFFFFF)
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.24, i64 0, i64 0), double 0x10000000000000)
%44 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.39, i64 0, i64 0))
%45 = tail call i32 (...) @calculate_uchar_max()
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.26, i64 0, i64 0), i32 %45)
%47 = tail call i32 (...) @calculate_schar_min()
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.27, i64 0, i64 0), i32 %47)
%49 = tail call i32 (...) @calculate_schar_max()
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.28, i64 0, i64 0), i32 %49)
%51 = tail call i32 (...) @unsigned_int_max()
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.29, i64 0, i64 0), i32 %51)
%53 = tail call i32 (...) @int_max()
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.30, i64 0, i64 0), i32 %53)
%55 = tail call i32 (...) @int_min()
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.31, i64 0, i64 0), i32 %55)
%57 = tail call i64 (...) @max_size_long()
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.32, i64 0, i64 0), i64 %57)
%59 = tail call i64 (...) @min_size_long()
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.33, i64 0, i64 0), i64 %59)
%61 = tail call i64 (...) @ulong_max()
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.34, i64 0, i64 0), i64 %61)
%63 = tail call float (...) @float_max_size()
%64 = fpext float %63 to double
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.35, i64 0, i64 0), double %64)
%66 = tail call float (...) @float_min_size()
%67 = fpext float %66 to double
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.36, i64 0, i64 0), double %67)
%69 = tail call double (...) @double_max_size()
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.37, i64 0, i64 0), double %69)
%71 = tail call double (...) @double_min_size()
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.38, i64 0, i64 0), double %71)
ret i32 0
}