#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 DBL_MAX;
int FLT_MAX;
int GetMaxChar();
int GetMaxDouble();
int GetMaxFloat();
int GetMaxInt();
int GetMaxLong();
int GetMaxLongLong();
int GetMaxUnsignedChar();
int GetMaxUnsignedInt();
int GetMaxUnsignedLong();
int GetMaxUnsignedLongLong();
int INT_MAX;
int LLONG_MAX;
int LONG_MAX;
int UCHAR_MAX;
int UINT_MAX;
int ULLONG_MAX;
int ULONG_MAX;
int /*<<< orphan*/ getchar();
int /*<<< orphan*/ printf(char *, ...);
int main(void) {
  printf("\nMax float value:\n");
  printf("\t%-14s %lf\n", "Macro:", FLT_MAX);
  printf("\t%-14s %lf\n", "Function call:", GetMaxFloat());
  printf("\nMax double value:\n");
  printf("\t%-14s %lf\n", "Macro:", DBL_MAX);
  printf("\t%-14s %lf\n", "Function call:", GetMaxDouble());
  printf("\nMax char value:\n");
  printf("\t%-14s %d\n", "Macro:", CHAR_MAX);
  printf("\t%-14s %d\n", "Function call:", GetMaxChar());
  printf("\nMax unsigned char value:\n");
  printf("\t%-14s %u\n", "Macro:", UCHAR_MAX);
  printf("\t%-14s %u\n", "Function call:", GetMaxUnsignedChar());
  printf("\nMax int value:\n");
  printf("\t%-14s %d\n", "Macro:", INT_MAX);
  printf("\t%-14s %d\n", "Function call:", GetMaxInt());
  printf("\nMax unsigned int value:\n");
  printf("\t%-14s %u\n", "Macro:", UINT_MAX);
  printf("\t%-14s %u\n", "Function call:", GetMaxUnsignedInt());
  printf("\nMax long value:\n");
  printf("\t%-14s %ld\n", "Macro:", LONG_MAX);
  printf("\t%-14s %ld\n", "Function call:", GetMaxLong());
  printf("\nMax unsigned long value:\n");
  printf("\t%-14s %lu\n", "Macro:", ULONG_MAX);
  printf("\t%-14s %lu\n", "Function call:", GetMaxUnsignedLong());
  printf("\nMax long long value:\n");
  printf("\t%-14s %lld\n", "Macro:", LLONG_MAX);
  printf("\t%-14s %lld\n", "Function call:", GetMaxLongLong());
  printf("\nMax unsigned long long value:\n");
  printf("\t%-14s %llu\n", "Macro:", ULLONG_MAX);
  printf("\t%-14s %llu\n", "Function call:", GetMaxUnsignedLongLong());
  getchar();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe2a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2dd4(%rip),%rax
mov    (%rax),%edx
lea    0xe26(%rip),%rdi
lea    0xe2b(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <GetMaxFloat@plt>
mov    %eax,%edx
lea    0xe08(%rip),%rdi
lea    0xe14(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d72(%rip),%rax
mov    (%rax),%edx
lea    0xddc(%rip),%rdi
lea    0xde1(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1040 <GetMaxDouble@plt>
mov    %eax,%edx
lea    0xdbe(%rip),%rdi
lea    0xdca(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xddf(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d68(%rip),%rax
mov    (%rax),%edx
lea    0xdda(%rip),%rdi
lea    0xd97(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10e0 <GetMaxChar@plt>
mov    %eax,%edx
lea    0xdbc(%rip),%rdi
lea    0xd80(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xdb2(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d2e(%rip),%rax
mov    (%rax),%edx
lea    0xdb6(%rip),%rdi
lea    0xd4d(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10d0 <GetMaxUnsignedChar@plt>
mov    %eax,%edx
lea    0xd98(%rip),%rdi
lea    0xd36(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd8e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2cc4(%rip),%rax
mov    (%rax),%edx
lea    0xd46(%rip),%rdi
lea    0xd03(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10a0 <GetMaxInt@plt>
mov    %eax,%edx
lea    0xd28(%rip),%rdi
lea    0xcec(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd55(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2c72(%rip),%rax
mov    (%rax),%edx
lea    0xd22(%rip),%rdi
lea    0xcb9(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1090 <GetMaxUnsignedInt@plt>
mov    %eax,%edx
lea    0xd04(%rip),%rdi
lea    0xca2(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd25(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2c08(%rip),%rax
mov    (%rax),%edx
lea    0xd20(%rip),%rdi
lea    0xc6f(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1070 <GetMaxLong@plt>
mov    %eax,%edx
lea    0xd02(%rip),%rdi
lea    0xc58(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xcf9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2ba6(%rip),%rax
mov    (%rax),%edx
lea    0xcfd(%rip),%rdi
lea    0xc25(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10b0 <GetMaxUnsignedLong@plt>
mov    %eax,%edx
lea    0xcdf(%rip),%rdi
lea    0xc0e(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xcd6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2b8c(%rip),%rax
mov    (%rax),%edx
lea    0xcd6(%rip),%rdi
lea    0xbdb(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10c0 <GetMaxLongLong@plt>
mov    %eax,%edx
lea    0xcb8(%rip),%rdi
lea    0xbc4(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xcb0(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2b5a(%rip),%rax
mov    (%rax),%edx
lea    0xcb9(%rip),%rdi
lea    0xb91(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1030 <GetMaxUnsignedLongLong@plt>
mov    %eax,%edx
lea    0xc9b(%rip),%rdi
lea    0xb7a(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1080 <getchar@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xe8b(%rip),%rdi
call   1040 <puts@plt>
mov    0x2dcd(%rip),%rax
mov    (%rax),%edx
lea    0xe0c(%rip),%rbx
lea    0xe11(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1070 <GetMaxFloat@plt>
lea    0xdfd(%rip),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe50(%rip),%rdi
call   1040 <puts@plt>
mov    0x2d68(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1050 <GetMaxDouble@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe2b(%rip),%rdi
call   1040 <puts@plt>
mov    0x2d70(%rip),%rax
mov    (%rax),%edx
lea    0xda9(%rip),%r12
mov    %r12,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   10f0 <GetMaxChar@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xdfd(%rip),%rdi
call   1040 <puts@plt>
mov    0x2d41(%rip),%rax
mov    (%rax),%edx
lea    0xd75(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   10e0 <GetMaxUnsignedChar@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xdd8(%rip),%rdi
call   1040 <puts@plt>
mov    0x2ce2(%rip),%rax
mov    (%rax),%edx
mov    %r12,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   10b0 <GetMaxInt@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xdb0(%rip),%rdi
call   1040 <puts@plt>
mov    0x2ca2(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   10a0 <GetMaxUnsignedInt@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xd91(%rip),%rdi
call   1040 <puts@plt>
mov    0x2c4a(%rip),%rax
mov    (%rax),%edx
lea    0xcd1(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1080 <GetMaxLong@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xd63(%rip),%rdi
call   1040 <puts@plt>
mov    0x2bf3(%rip),%rax
mov    (%rax),%edx
lea    0xc9e(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   10c0 <GetMaxUnsignedLong@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xd3e(%rip),%rdi
call   1040 <puts@plt>
mov    0x2be4(%rip),%rax
mov    (%rax),%edx
lea    0xc6b(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   10d0 <GetMaxLongLong@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xd15(%rip),%rdi
call   1040 <puts@plt>
mov    0x2bbd(%rip),%rax
mov    (%rax),%edx
lea    0xc39(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1030 <GetMaxUnsignedLongLong@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1090 <getchar@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [19 x i8] c"\0AMax float value:\0A\00"
@.str.1 = [12 x i8] c"\09%-14s %lf\0A\00"
@.str.2 = [7 x i8] c"Macro:\00"
@FLT_MAX = global i32 0
@.str.3 = [15 x i8] c"Function call:\00"
@.str.4 = [20 x i8] c"\0AMax double value:\0A\00"
@DBL_MAX = global i32 0
@.str.5 = [18 x i8] c"\0AMax char value:\0A\00"
@.str.6 = [11 x i8] c"\09%-14s %d\0A\00"
@CHAR_MAX = global i32 0
@.str.7 = [27 x i8] c"\0AMax unsigned char value:\0A\00"
@.str.8 = [11 x i8] c"\09%-14s %u\0A\00"
@UCHAR_MAX = global i32 0
@.str.9 = [17 x i8] c"\0AMax int value:\0A\00"
@INT_MAX = global i32 0
@.str.10 = [26 x i8] c"\0AMax unsigned int value:\0A\00"
@UINT_MAX = global i32 0
@.str.11 = [18 x i8] c"\0AMax long value:\0A\00"
@.str.12 = [12 x i8] c"\09%-14s %ld\0A\00"
@LONG_MAX = global i32 0
@.str.13 = [27 x i8] c"\0AMax unsigned long value:\0A\00"
@.str.14 = [12 x i8] c"\09%-14s %lu\0A\00"
@ULONG_MAX = global i32 0
@.str.15 = [23 x i8] c"\0AMax long long value:\0A\00"
@.str.16 = [13 x i8] c"\09%-14s %lld\0A\00"
@LLONG_MAX = global i32 0
@.str.17 = [32 x i8] c"\0AMax unsigned long long value:\0A\00"
@.str.18 = [13 x i8] c"\09%-14s %llu\0A\00"
@ULLONG_MAX = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @FLT_MAX
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %3)
%5 = call i32 (...) @GetMaxFloat()
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %5)
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
%8 = load i32, i32* @DBL_MAX
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %8)
%10 = call i32 (...) @GetMaxDouble()
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %10)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @CHAR_MAX
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %13)
%15 = call i32 (...) @GetMaxChar()
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %15)
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%18 = load i32, i32* @UCHAR_MAX
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %18)
%20 = call i32 (...) @GetMaxUnsignedChar()
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %20)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%23 = load i32, i32* @INT_MAX
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %23)
%25 = call i32 (...) @GetMaxInt()
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %25)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0))
%28 = load i32, i32* @UINT_MAX
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %28)
%30 = call i32 (...) @GetMaxUnsignedInt()
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %30)
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0))
%33 = load i32, i32* @LONG_MAX
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %33)
%35 = call i32 (...) @GetMaxLong()
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %35)
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
%38 = load i32, i32* @ULONG_MAX
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %38)
%40 = call i32 (...) @GetMaxUnsignedLong()
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %40)
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0))
%43 = load i32, i32* @LLONG_MAX
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %43)
%45 = call i32 (...) @GetMaxLongLong()
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %45)
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.17, i64 0, i64 0))
%48 = load i32, i32* @ULLONG_MAX
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %48)
%50 = call i32 (...) @GetMaxUnsignedLongLong()
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %50)
%52 = call i32 (...) @getchar()
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [12 x i8] c"\09%-14s %lf\0A\00"
@.str.2 = [7 x i8] c"Macro:\00"
@FLT_MAX = global i32 0
@.str.3 = [15 x i8] c"Function call:\00"
@DBL_MAX = global i32 0
@.str.6 = [11 x i8] c"\09%-14s %d\0A\00"
@CHAR_MAX = global i32 0
@.str.8 = [11 x i8] c"\09%-14s %u\0A\00"
@UCHAR_MAX = global i32 0
@INT_MAX = global i32 0
@UINT_MAX = global i32 0
@.str.12 = [12 x i8] c"\09%-14s %ld\0A\00"
@LONG_MAX = global i32 0
@.str.14 = [12 x i8] c"\09%-14s %lu\0A\00"
@ULONG_MAX = global i32 0
@.str.16 = [13 x i8] c"\09%-14s %lld\0A\00"
@LLONG_MAX = global i32 0
@.str.18 = [13 x i8] c"\09%-14s %llu\0A\00"
@ULLONG_MAX = global i32 0
@str = [18 x i8] c"\0AMax float value:\00"
@str.19 = [19 x i8] c"\0AMax double value:\00"
@str.20 = [17 x i8] c"\0AMax char value:\00"
@str.21 = [26 x i8] c"\0AMax unsigned char value:\00"
@str.22 = [16 x i8] c"\0AMax int value:\00"
@str.23 = [25 x i8] c"\0AMax unsigned int value:\00"
@str.24 = [17 x i8] c"\0AMax long value:\00"
@str.25 = [26 x i8] c"\0AMax unsigned long value:\00"
@str.26 = [22 x i8] c"\0AMax long long value:\00"
@str.27 = [31 x i8] c"\0AMax unsigned long long value:\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str, i64 0, i64 0))
%2 = load i32, i32* @FLT_MAX
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %2)
%4 = tail call i32 (...) @GetMaxFloat()
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %4)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.19, i64 0, i64 0))
%7 = load i32, i32* @DBL_MAX
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%9 = tail call i32 (...) @GetMaxDouble()
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %9)
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.20, i64 0, i64 0))
%12 = load i32, i32* @CHAR_MAX
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %12)
%14 = tail call i32 (...) @GetMaxChar()
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %14)
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.21, i64 0, i64 0))
%17 = load i32, i32* @UCHAR_MAX
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %17)
%19 = tail call i32 (...) @GetMaxUnsignedChar()
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %19)
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.22, i64 0, i64 0))
%22 = load i32, i32* @INT_MAX
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %22)
%24 = tail call i32 (...) @GetMaxInt()
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %24)
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.23, i64 0, i64 0))
%27 = load i32, i32* @UINT_MAX
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %27)
%29 = tail call i32 (...) @GetMaxUnsignedInt()
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %29)
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.24, i64 0, i64 0))
%32 = load i32, i32* @LONG_MAX
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %32)
%34 = tail call i32 (...) @GetMaxLong()
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %34)
%36 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.25, i64 0, i64 0))
%37 = load i32, i32* @ULONG_MAX
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %37)
%39 = tail call i32 (...) @GetMaxUnsignedLong()
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %39)
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.26, i64 0, i64 0))
%42 = load i32, i32* @LLONG_MAX
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %42)
%44 = tail call i32 (...) @GetMaxLongLong()
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %44)
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.27, i64 0, i64 0))
%47 = load i32, i32* @ULLONG_MAX
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %47)
%49 = tail call i32 (...) @GetMaxUnsignedLongLong()
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 %49)
%51 = tail call i32 (...) @getchar()
ret i32 0
}