#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*/ printf(char *, ...);
int main() {
  printf("* * * * * Printf Test * * * * *\n\n");
  printf("Testing %%c functionality\n");
  printf("0                  : %c\n", '0');
  printf("A                  : %c\n", 'A');
  printf("!                  : %c\n", '!');
  printf("z                  : %c\n", 'z');
  printf("\\                  : %c\n", '\\');
  printf("Testing %%d functionality\n");
  printf("123456789          : %d\n", 123456789);
  printf("1                  : %d\n", 1);
  printf("0                  : %d\n", 0);
  printf("-1                 : %d\n", -1);
  printf("-123456789         : %d\n", -123456789);
  printf("Testing %%p functionality\n");
  printf("0xffffffffeeeeeeee : %p\n", (void *)0xffffffffeeeeeeee);
  printf("0xffffffff         : %p\n", (void *)0xffffffff);
  printf("0xdeadbcf          : %p\n", (void *)0xdeadbcf);
  printf("0x1                : %p\n", (void *)0x1);
  printf("0x0                : %p\n", (void *)0x0);
  printf("Testing %%o functionality\n");
  printf("1234567            : %o\n", 01234567);
  printf("333                : %o\n", 0333);
  printf("1                  : %o\n", 01);
  printf("0                  : %o\n", 00);
  printf("Testing %%x functionality\n");
  printf("ffffeeee           : %x\n", 0xffffeeee);
  printf("ffffffff           : %x\n", 0xffffffff);
  printf("deadbcf            : %x\n", 0xdeadbcf);
  printf("1                  : %x\n", 0x1);
  printf("0                  : %x\n", 0x0);
  printf("Testing %%ld functionality\n");
  printf("9999999999999999   : %ld\n", 9999999999999999L);
  printf("1                  : %ld\n", 1L);
  printf("0                  : %ld\n", 0L);
  printf("-1                 : %ld\n", -1L);
  printf("-9999999999999999  : %ld\n", -9999999999999999L);
  printf("Testing %%lo functionality\n");
  printf("123456777777777777 : %lo\n", 0123456777777777777UL);
  printf("333                : %lo\n", 0333UL);
  printf("1                  : %lo\n", 0UL);
  printf("0                  : %lo\n", 00UL);
  printf("Testing %%lx functionality\n");
  printf("ffffffffdeadbecf   : %lx\n", 0xffffffffdeadbecfUL);
  printf("ffffeeee           : %lx\n", 0xffffeeeeUL);
  printf("deadbcf            : %lx\n", 0xdeadbcfUL);
  printf("1                  : %lx\n", 0x1UL);
  printf("0                  : %lx\n", 0x0UL);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xefb(%rip),%rdi
mov    $0x30,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf01(%rip),%rdi
mov    $0x41,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
mov    $0x21,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
mov    $0x7a,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf13(%rip),%rdi
mov    $0x5c,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf19(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf26(%rip),%rdi
mov    $0x75bcd15,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2c(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf32(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3b(%rip),%rdi
mov    $0xffffffff,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf41(%rip),%rdi
mov    $0xf8a432eb,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf47(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf54(%rip),%rdi
mov    $0xffffffffeeeeeeee,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf58(%rip),%rdi
mov    $0xffffffff,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5e(%rip),%rdi
mov    $0xdeadbcf,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf64(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf71(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7e(%rip),%rdi
mov    $0x53977,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf84(%rip),%rdi
mov    $0xdb,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf8a(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf90(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa6(%rip),%rdi
mov    $0xffffeeee,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfac(%rip),%rdi
mov    $0xffffffff,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
mov    $0xdeadbcf,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb8(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbe(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfc7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
movabs $0x2386f26fc0ffff,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd7(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfde(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe6(%rip),%rdi
mov    $0xffffffffffffffff,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfeb(%rip),%rdi
movabs $0xffdc790d903f0001,%rsi
79 dc ff
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffb(%rip),%rdi
movabs $0xa72efffffffff,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffd(%rip),%rdi
mov    $0xdb,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1004(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x100c(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1014(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1022(%rip),%rdi
mov    $0xffffffffdeadbecf,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1027(%rip),%rdi
mov    $0xffffeeee,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x102e(%rip),%rdi
mov    $0xdeadbcf,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1035(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x103c(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0x1377(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed9(%rip),%rdi
mov    $0x30,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xedf(%rip),%rdi
mov    $0x41,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee5(%rip),%rdi
mov    $0x21,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeeb(%rip),%rdi
mov    $0x7a,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef1(%rip),%rdi
mov    $0x5c,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef7(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf04(%rip),%rdi
mov    $0x75bcd15,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf0a(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf10(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf19(%rip),%rdi
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf1f(%rip),%rdi
mov    $0xf8a432eb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf25(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf32(%rip),%rdi
mov    $0xffffffffeeeeeeee,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xffffeeee,%eax
lea    0x1111(%rax),%rsi
lea    0xf2a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf35(%rip),%rdi
mov    $0xdeadbcf,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf3b(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf41(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf4a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf57(%rip),%rdi
mov    $0x53977,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf5d(%rip),%rdi
mov    $0xdb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf63(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf69(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf72(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf7f(%rip),%rdi
mov    $0xffffeeee,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf85(%rip),%rdi
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf8b(%rip),%rdi
mov    $0xdeadbcf,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf91(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf97(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfa0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfae(%rip),%rdi
movabs $0x2386f26fc0ffff,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfb0(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfb7(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfc1(%rip),%rdi
mov    $0xffffffffffffffff,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfc6(%rip),%rdi
movabs $0xffdc790d903f0001,%rsi
79 dc ff
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfc8(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfd6(%rip),%rdi
movabs $0xa72efffffffff,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfd8(%rip),%rdi
mov    $0xdb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfdf(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfe9(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xff3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1001(%rip),%rdi
mov    $0xffffffffdeadbecf,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1006(%rip),%rdi
mov    $0xffffeeee,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x100d(%rip),%rdi
mov    $0xdeadbcf,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1014(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x101b(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [34 x i8] c"* * * * * Printf Test * * * * *\0A\0A\00"
@.str.1 = [27 x i8] c"Testing %%c functionality\0A\00"
@.str.2 = [25 x i8] c"0 : %c\0A\00"
@.str.3 = [25 x i8] c"A : %c\0A\00"
@.str.4 = [25 x i8] c"! : %c\0A\00"
@.str.5 = [25 x i8] c"z : %c\0A\00"
@.str.6 = [25 x i8] c"\\ : %c\0A\00"
@.str.7 = [27 x i8] c"Testing %%d functionality\0A\00"
@.str.8 = [25 x i8] c"123456789 : %d\0A\00"
@.str.9 = [25 x i8] c"1 : %d\0A\00"
@.str.10 = [25 x i8] c"0 : %d\0A\00"
@.str.11 = [25 x i8] c"-1 : %d\0A\00"
@.str.12 = [25 x i8] c"-123456789 : %d\0A\00"
@.str.13 = [27 x i8] c"Testing %%p functionality\0A\00"
@.str.14 = [25 x i8] c"0xffffffffeeeeeeee : %p\0A\00"
@.str.15 = [25 x i8] c"0xffffffff : %p\0A\00"
@.str.16 = [25 x i8] c"0xdeadbcf : %p\0A\00"
@.str.17 = [25 x i8] c"0x1 : %p\0A\00"
@.str.18 = [25 x i8] c"0x0 : %p\0A\00"
@.str.19 = [27 x i8] c"Testing %%o functionality\0A\00"
@.str.20 = [25 x i8] c"1234567 : %o\0A\00"
@.str.21 = [25 x i8] c"333 : %o\0A\00"
@.str.22 = [25 x i8] c"1 : %o\0A\00"
@.str.23 = [25 x i8] c"0 : %o\0A\00"
@.str.24 = [27 x i8] c"Testing %%x functionality\0A\00"
@.str.25 = [25 x i8] c"ffffeeee : %x\0A\00"
@.str.26 = [25 x i8] c"ffffffff : %x\0A\00"
@.str.27 = [25 x i8] c"deadbcf : %x\0A\00"
@.str.28 = [25 x i8] c"1 : %x\0A\00"
@.str.29 = [25 x i8] c"0 : %x\0A\00"
@.str.30 = [28 x i8] c"Testing %%ld functionality\0A\00"
@.str.31 = [26 x i8] c"9999999999999999 : %ld\0A\00"
@.str.32 = [26 x i8] c"1 : %ld\0A\00"
@.str.33 = [26 x i8] c"0 : %ld\0A\00"
@.str.34 = [26 x i8] c"-1 : %ld\0A\00"
@.str.35 = [26 x i8] c"-9999999999999999 : %ld\0A\00"
@.str.36 = [28 x i8] c"Testing %%lo functionality\0A\00"
@.str.37 = [26 x i8] c"123456777777777777 : %lo\0A\00"
@.str.38 = [26 x i8] c"333 : %lo\0A\00"
@.str.39 = [26 x i8] c"1 : %lo\0A\00"
@.str.40 = [26 x i8] c"0 : %lo\0A\00"
@.str.41 = [28 x i8] c"Testing %%lx functionality\0A\00"
@.str.42 = [26 x i8] c"ffffffffdeadbecf : %lx\0A\00"
@.str.43 = [26 x i8] c"ffffeeee : %lx\0A\00"
@.str.44 = [26 x i8] c"deadbcf : %lx\0A\00"
@.str.45 = [26 x i8] c"1 : %lx\0A\00"
@.str.46 = [26 x i8] c"0 : %lx\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i32 48)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i32 65)
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0), i32 33)
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i32 122)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i32 92)
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i32 123456789)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 1)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.10, i64 0, i64 0), i32 0)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i32 -1)
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0), i32 -123456789)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.14, i64 0, i64 0), i8* inttoptr (i64 -286331154 to i8*))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0), i8* inttoptr (i64 4294967295 to i8*))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), i8* inttoptr (i64 233495503 to i8*))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.17, i64 0, i64 0), i8* inttoptr (i64 1 to i8*))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0), i8* null)
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.19, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), i32 342391)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.21, i64 0, i64 0), i32 219)
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0), i32 1)
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0), i32 0)
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.24, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.25, i64 0, i64 0), i32 -4370)
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.26, i64 0, i64 0), i32 -1)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.27, i64 0, i64 0), i32 233495503)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.28, i64 0, i64 0), i32 1)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.29, i64 0, i64 0), i32 0)
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.30, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.31, i64 0, i64 0), i64 9999999999999999)
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.32, i64 0, i64 0), i64 1)
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.33, i64 0, i64 0), i64 0)
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.34, i64 0, i64 0), i64 -1)
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.35, i64 0, i64 0), i64 -9999999999999999)
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.36, i64 0, i64 0))
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.37, i64 0, i64 0), i64 2941124884824063)
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.38, i64 0, i64 0), i64 219)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.39, i64 0, i64 0), i64 0)
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.40, i64 0, i64 0), i64 0)
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.41, i64 0, i64 0))
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.42, i64 0, i64 0), i64 -559038769)
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.43, i64 0, i64 0), i64 4294962926)
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.44, i64 0, i64 0), i64 233495503)
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.45, i64 0, i64 0), i64 1)
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.46, i64 0, i64 0), i64 0)
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [27 x i8] c"Testing %%c functionality\0A\00"
@.str.2 = [25 x i8] c"0 : %c\0A\00"
@.str.3 = [25 x i8] c"A : %c\0A\00"
@.str.4 = [25 x i8] c"! : %c\0A\00"
@.str.5 = [25 x i8] c"z : %c\0A\00"
@.str.6 = [25 x i8] c"\\ : %c\0A\00"
@.str.7 = [27 x i8] c"Testing %%d functionality\0A\00"
@.str.8 = [25 x i8] c"123456789 : %d\0A\00"
@.str.9 = [25 x i8] c"1 : %d\0A\00"
@.str.10 = [25 x i8] c"0 : %d\0A\00"
@.str.11 = [25 x i8] c"-1 : %d\0A\00"
@.str.12 = [25 x i8] c"-123456789 : %d\0A\00"
@.str.13 = [27 x i8] c"Testing %%p functionality\0A\00"
@.str.14 = [25 x i8] c"0xffffffffeeeeeeee : %p\0A\00"
@.str.15 = [25 x i8] c"0xffffffff : %p\0A\00"
@.str.16 = [25 x i8] c"0xdeadbcf : %p\0A\00"
@.str.17 = [25 x i8] c"0x1 : %p\0A\00"
@.str.18 = [25 x i8] c"0x0 : %p\0A\00"
@.str.19 = [27 x i8] c"Testing %%o functionality\0A\00"
@.str.20 = [25 x i8] c"1234567 : %o\0A\00"
@.str.21 = [25 x i8] c"333 : %o\0A\00"
@.str.22 = [25 x i8] c"1 : %o\0A\00"
@.str.23 = [25 x i8] c"0 : %o\0A\00"
@.str.24 = [27 x i8] c"Testing %%x functionality\0A\00"
@.str.25 = [25 x i8] c"ffffeeee : %x\0A\00"
@.str.26 = [25 x i8] c"ffffffff : %x\0A\00"
@.str.27 = [25 x i8] c"deadbcf : %x\0A\00"
@.str.28 = [25 x i8] c"1 : %x\0A\00"
@.str.29 = [25 x i8] c"0 : %x\0A\00"
@.str.30 = [28 x i8] c"Testing %%ld functionality\0A\00"
@.str.31 = [26 x i8] c"9999999999999999 : %ld\0A\00"
@.str.32 = [26 x i8] c"1 : %ld\0A\00"
@.str.33 = [26 x i8] c"0 : %ld\0A\00"
@.str.34 = [26 x i8] c"-1 : %ld\0A\00"
@.str.35 = [26 x i8] c"-9999999999999999 : %ld\0A\00"
@.str.36 = [28 x i8] c"Testing %%lo functionality\0A\00"
@.str.37 = [26 x i8] c"123456777777777777 : %lo\0A\00"
@.str.38 = [26 x i8] c"333 : %lo\0A\00"
@.str.39 = [26 x i8] c"1 : %lo\0A\00"
@.str.40 = [26 x i8] c"0 : %lo\0A\00"
@.str.41 = [28 x i8] c"Testing %%lx functionality\0A\00"
@.str.42 = [26 x i8] c"ffffffffdeadbecf : %lx\0A\00"
@.str.43 = [26 x i8] c"ffffeeee : %lx\0A\00"
@.str.44 = [26 x i8] c"deadbcf : %lx\0A\00"
@.str.45 = [26 x i8] c"1 : %lx\0A\00"
@.str.46 = [26 x i8] c"0 : %lx\0A\00"
@str = [33 x i8] c"* * * * * Printf Test * * * * *\0A\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i32 48)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i32 65)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0), i32 33)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i32 122)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i32 92)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i32 123456789)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 1)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.10, i64 0, i64 0), i32 0)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i32 -1)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0), i32 -123456789)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.14, i64 0, i64 0), i8* inttoptr (i64 -286331154 to i8*))
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0), i8* inttoptr (i64 4294967295 to i8*))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), i8* inttoptr (i64 233495503 to i8*))
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.17, i64 0, i64 0), i8* inttoptr (i64 1 to i8*))
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0), i8* null)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.19, i64 0, i64 0))
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), i32 342391)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.21, i64 0, i64 0), i32 219)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0), i32 1)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0), i32 0)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.24, i64 0, i64 0))
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.25, i64 0, i64 0), i32 -4370)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.26, i64 0, i64 0), i32 -1)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.27, i64 0, i64 0), i32 233495503)
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.28, i64 0, i64 0), i32 1)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.29, i64 0, i64 0), i32 0)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.30, i64 0, i64 0))
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.31, i64 0, i64 0), i64 9999999999999999)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.32, i64 0, i64 0), i64 1)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.33, i64 0, i64 0), i64 0)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.34, i64 0, i64 0), i64 -1)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.35, i64 0, i64 0), i64 -9999999999999999)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.36, i64 0, i64 0))
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.37, i64 0, i64 0), i64 2941124884824063)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.38, i64 0, i64 0), i64 219)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.39, i64 0, i64 0), i64 0)
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.40, i64 0, i64 0), i64 0)
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.41, i64 0, i64 0))
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.42, i64 0, i64 0), i64 -559038769)
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.43, i64 0, i64 0), i64 4294962926)
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.44, i64 0, i64 0), i64 233495503)
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.45, i64 0, i64 0), i64 1)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.46, i64 0, i64 0), i64 0)
ret i32 0
}