#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 /*<<< orphan*/ CHAR_BIT;
int EXIT_SUCCESS;
int /*<<< orphan*/ INT_MAX;
int /*<<< orphan*/ INT_MIN;
int /*<<< orphan*/ LONG_MAX;
int /*<<< orphan*/ LONG_MIN;
int /*<<< orphan*/ SCHAR_MAX;
int /*<<< orphan*/ SCHAR_MIN;
int /*<<< orphan*/ SHRT_MAX;
int /*<<< orphan*/ SHRT_MIN;
int /*<<< orphan*/ UINT_MAX;
int /*<<< orphan*/ ULONG_MAX;
int /*<<< orphan*/ USHRT_MAX;
int /*<<< orphan*/ printf(char *, int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  printf("CHAR_BIT"
         "	is %ld\n",
         CHAR_BIT);
  printf("SCHAR_MIN"
         "	is %ld\n",
         SCHAR_MIN);
  printf("SCHAR_MAX"
         "	is %ld\n",
         SCHAR_MAX);
  printf("SHRT_MIN"
         "	is %ld\n",
         SHRT_MIN);
  printf("SHRT_MAX"
         "	is %ld\n",
         SHRT_MAX);
  printf("USHRT_MAX"
         "	is %ld\n",
         USHRT_MAX);
  printf("INT_MIN"
         "	is %ld\n",
         INT_MIN);
  printf("INT_MAX"
         "	is %ld\n",
         INT_MAX);
  printf("UINT_MAX"
         "	is %ld\n",
         UINT_MAX);
  printf("LONG_MIN"
         "	is %ld\n",
         LONG_MIN);
  printf("LONG_MAX"
         "	is %ld\n",
         LONG_MAX);
  printf("ULONG_MAX"
         "	is %ld\n",
         ULONG_MAX);
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e7b(%rip),%rax
mov    (%rax),%esi
lea    0xeca(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e76(%rip),%rax
mov    (%rax),%esi
lea    0xec6(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e59(%rip),%rax
mov    (%rax),%esi
lea    0xec3(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e2c(%rip),%rax
mov    (%rax),%esi
lea    0xec0(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e0f(%rip),%rax
mov    (%rax),%esi
lea    0xebd(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e52(%rip),%rax
mov    (%rax),%esi
lea    0xea7(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e1d(%rip),%rax
mov    (%rax),%esi
lea    0xea4(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e20(%rip),%rax
mov    (%rax),%esi
lea    0xea0(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e03(%rip),%rax
mov    (%rax),%esi
lea    0xe8a(%rip),%rdi
call   1030 <printf@plt>
mov    0x2de6(%rip),%rax
mov    (%rax),%esi
lea    0xe86(%rip),%rdi
call   1030 <printf@plt>
mov    0x2da1(%rip),%rax
mov    (%rax),%esi
lea    0xe83(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d64(%rip),%rax
mov    (%rax),%esi
lea    0xe6d(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d5f(%rip),%rax
mov    (%rax),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2e90(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e8b(%rip),%rax
mov    (%rax),%esi
lea    0xedb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e6e(%rip),%rax
mov    (%rax),%esi
lea    0xed8(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e41(%rip),%rax
mov    (%rax),%esi
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e24(%rip),%rax
mov    (%rax),%esi
lea    0xed2(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e67(%rip),%rax
mov    (%rax),%esi
lea    0xebc(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%esi
lea    0xeb9(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e35(%rip),%rax
mov    (%rax),%esi
lea    0xeb5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e18(%rip),%rax
mov    (%rax),%esi
lea    0xe9f(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dfb(%rip),%rax
mov    (%rax),%esi
lea    0xe9b(%rip),%rdi
call   1030 <printf@plt>
mov    0x2db6(%rip),%rax
mov    (%rax),%esi
lea    0xe98(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d79(%rip),%rax
mov    (%rax),%esi
lea    0xe82(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d74(%rip),%rax
mov    (%rax),%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [17 x i8] c"CHAR_BIT\09is %ld\0A\00"
@CHAR_BIT = global i32 0
@.str.1 = [18 x i8] c"SCHAR_MIN\09is %ld\0A\00"
@SCHAR_MIN = global i32 0
@.str.2 = [18 x i8] c"SCHAR_MAX\09is %ld\0A\00"
@SCHAR_MAX = global i32 0
@.str.3 = [17 x i8] c"SHRT_MIN\09is %ld\0A\00"
@SHRT_MIN = global i32 0
@.str.4 = [17 x i8] c"SHRT_MAX\09is %ld\0A\00"
@SHRT_MAX = global i32 0
@.str.5 = [18 x i8] c"USHRT_MAX\09is %ld\0A\00"
@USHRT_MAX = global i32 0
@.str.6 = [16 x i8] c"INT_MIN\09is %ld\0A\00"
@INT_MIN = global i32 0
@.str.7 = [16 x i8] c"INT_MAX\09is %ld\0A\00"
@INT_MAX = global i32 0
@.str.8 = [17 x i8] c"UINT_MAX\09is %ld\0A\00"
@UINT_MAX = global i32 0
@.str.9 = [17 x i8] c"LONG_MIN\09is %ld\0A\00"
@LONG_MIN = global i32 0
@.str.10 = [17 x i8] c"LONG_MAX\09is %ld\0A\00"
@LONG_MAX = global i32 0
@.str.11 = [18 x i8] c"ULONG_MAX\09is %ld\0A\00"
@ULONG_MAX = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* @CHAR_BIT
%7 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @SCHAR_MIN
%9 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @SCHAR_MAX
%11 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i32 %10)
%12 = load i32, i32* @SHRT_MIN
%13 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i32 %12)
%14 = load i32, i32* @SHRT_MAX
%15 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %14)
%16 = load i32, i32* @USHRT_MAX
%17 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %16)
%18 = load i32, i32* @INT_MIN
%19 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 %18)
%20 = load i32, i32* @INT_MAX
%21 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %20)
%22 = load i32, i32* @UINT_MAX
%23 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i32 %22)
%24 = load i32, i32* @LONG_MIN
%25 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i32 %24)
%26 = load i32, i32* @LONG_MAX
%27 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i32 %26)
%28 = load i32, i32* @ULONG_MAX
%29 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i32 %28)
%30 = load i32, i32* @EXIT_SUCCESS
ret i32 %30
}

LLVM IR (-O2):
@.str = [17 x i8] c"CHAR_BIT\09is %ld\0A\00"
@CHAR_BIT = global i32 0
@.str.1 = [18 x i8] c"SCHAR_MIN\09is %ld\0A\00"
@SCHAR_MIN = global i32 0
@.str.2 = [18 x i8] c"SCHAR_MAX\09is %ld\0A\00"
@SCHAR_MAX = global i32 0
@.str.3 = [17 x i8] c"SHRT_MIN\09is %ld\0A\00"
@SHRT_MIN = global i32 0
@.str.4 = [17 x i8] c"SHRT_MAX\09is %ld\0A\00"
@SHRT_MAX = global i32 0
@.str.5 = [18 x i8] c"USHRT_MAX\09is %ld\0A\00"
@USHRT_MAX = global i32 0
@.str.6 = [16 x i8] c"INT_MIN\09is %ld\0A\00"
@INT_MIN = global i32 0
@.str.7 = [16 x i8] c"INT_MAX\09is %ld\0A\00"
@INT_MAX = global i32 0
@.str.8 = [17 x i8] c"UINT_MAX\09is %ld\0A\00"
@UINT_MAX = global i32 0
@.str.9 = [17 x i8] c"LONG_MIN\09is %ld\0A\00"
@LONG_MIN = global i32 0
@.str.10 = [17 x i8] c"LONG_MAX\09is %ld\0A\00"
@LONG_MAX = global i32 0
@.str.11 = [18 x i8] c"ULONG_MAX\09is %ld\0A\00"
@ULONG_MAX = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = load i32, i32* @CHAR_BIT
%4 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @SCHAR_MIN
%6 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @SCHAR_MAX
%8 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @SHRT_MIN
%10 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @SHRT_MAX
%12 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @USHRT_MAX
%14 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @INT_MIN
%16 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @INT_MAX
%18 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @UINT_MAX
%20 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @LONG_MIN
%22 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @LONG_MAX
%24 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @ULONG_MAX
%26 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @EXIT_SUCCESS
ret i32 %27
}