#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 INT_MIN;
int /*<<< orphan*/ itob(int, char *, int);
int /*<<< orphan*/ printf(char *, int, int, char *);
int /*<<< orphan*/ putchar(char);
int main(void) {
  int n;
  int b;
  char s[256] = "";
  n = -255;
  b = 10;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 2;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 8;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 16;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  (void)putchar('\n');
  n = 255;
  b = 10;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 2;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 8;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 16;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  (void)putchar('\n');
  n = 1043;
  b = 10;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 2;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 8;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 16;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  (void)putchar('\n');
  n = INT_MIN;
  b = 10;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 2;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 8;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  b = 16;
  itob(n, s, b);
  printf("Number %d converted to a string in base %d is: \"%s\"\n", n, b, s);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x110,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x110(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1050 <memset@plt>
movl   $0xffffff01,-0x8(%rbp)
movl   $0xa,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xe67(%rip),%rdi
call   1040 <printf@plt>
movl   $0x2,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xe35(%rip),%rdi
call   1040 <printf@plt>
movl   $0x8,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xe03(%rip),%rdi
call   1040 <printf@plt>
movl   $0x10,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xdd1(%rip),%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movl   $0xff,-0x8(%rbp)
movl   $0xa,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xd8e(%rip),%rdi
call   1040 <printf@plt>
movl   $0x2,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xd5c(%rip),%rdi
call   1040 <printf@plt>
movl   $0x8,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xd2a(%rip),%rdi
call   1040 <printf@plt>
movl   $0x10,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xcf8(%rip),%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movl   $0x413,-0x8(%rbp)
movl   $0xa,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xcb5(%rip),%rdi
call   1040 <printf@plt>
movl   $0x2,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xc83(%rip),%rdi
call   1040 <printf@plt>
movl   $0x8,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xc51(%rip),%rdi
call   1040 <printf@plt>
movl   $0x10,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xc1f(%rip),%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2bf1(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x8(%rbp)
movl   $0xa,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xbd7(%rip),%rdi
call   1040 <printf@plt>
movl   $0x2,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xba5(%rip),%rdi
call   1040 <printf@plt>
movl   $0x8,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xb73(%rip),%rdi
call   1040 <printf@plt>
movl   $0x10,-0xc(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x110(%rbp),%rsi
mov    -0xc(%rbp),%edx
call   1060 <itob@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x110(%rbp),%rcx
lea    0xb41(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x110,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x100,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
mov    %rsp,%rbx
mov    $0xffffff01,%edi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1050 <itob@plt>
lea    0xe3f(%rip),%r14
mov    %r14,%rdi
mov    $0xffffff01,%esi
mov    $0xa,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xffffff01,%edi
mov    %rbx,%rsi
mov    $0x2,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0xffffff01,%esi
mov    $0x2,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xffffff01,%edi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0xffffff01,%esi
mov    $0x8,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xffffff01,%edi
mov    %rbx,%rsi
mov    $0x10,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0xffffff01,%esi
mov    $0x10,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xff,%edi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0xff,%esi
mov    $0xa,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xff,%edi
mov    %rbx,%rsi
mov    $0x2,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0xff,%esi
mov    $0x2,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xff,%edi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0xff,%esi
mov    $0x8,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xff,%edi
mov    %rbx,%rsi
mov    $0x10,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0xff,%esi
mov    $0x10,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x413,%edi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0x413,%esi
mov    $0xa,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0x413,%edi
mov    %rbx,%rsi
mov    $0x2,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0x413,%esi
mov    $0x2,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0x413,%edi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0x413,%esi
mov    $0x8,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0x413,%edi
mov    %rbx,%rsi
mov    $0x10,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    $0x413,%esi
mov    $0x10,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2c40(%rip),%rax
mov    (%rax),%ebp
mov    %ebp,%edi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0xa,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    $0x2,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x2,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x8,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    $0x10,%edx
call   1050 <itob@plt>
mov    %r14,%rdi
mov    %ebp,%esi
mov    $0x10,%edx
mov    %rbx,%rcx
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x100,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [53 x i8] c"Number %d converted to a string in base %d is: \22%s\22\0A\00"
@INT_MIN = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [256 x i8]
store i32 0, i32* %1
%5 = bitcast [256 x i8]* %4 to i8*
store i32 -255, i32* %2
store i32 10, i32* %3
%6 = load i32, i32* %2
%7 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%8 = load i32, i32* %3
%9 = call i32 @itob(i32 %6, i8* %7, i32 %8)
%10 = load i32, i32* %2
%11 = load i32, i32* %3
%12 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%13 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %10, i32 %11, i8* %12)
store i32 2, i32* %3
%14 = load i32, i32* %2
%15 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%16 = load i32, i32* %3
%17 = call i32 @itob(i32 %14, i8* %15, i32 %16)
%18 = load i32, i32* %2
%19 = load i32, i32* %3
%20 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%21 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %18, i32 %19, i8* %20)
store i32 8, i32* %3
%22 = load i32, i32* %2
%23 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%24 = load i32, i32* %3
%25 = call i32 @itob(i32 %22, i8* %23, i32 %24)
%26 = load i32, i32* %2
%27 = load i32, i32* %3
%28 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%29 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %26, i32 %27, i8* %28)
store i32 16, i32* %3
%30 = load i32, i32* %2
%31 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%32 = load i32, i32* %3
%33 = call i32 @itob(i32 %30, i8* %31, i32 %32)
%34 = load i32, i32* %2
%35 = load i32, i32* %3
%36 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%37 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %34, i32 %35, i8* %36)
%38 = call i32 @putchar(i8 signext 10)
store i32 255, i32* %2
store i32 10, i32* %3
%39 = load i32, i32* %2
%40 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%41 = load i32, i32* %3
%42 = call i32 @itob(i32 %39, i8* %40, i32 %41)
%43 = load i32, i32* %2
%44 = load i32, i32* %3
%45 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%46 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %43, i32 %44, i8* %45)
store i32 2, i32* %3
%47 = load i32, i32* %2
%48 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%49 = load i32, i32* %3
%50 = call i32 @itob(i32 %47, i8* %48, i32 %49)
%51 = load i32, i32* %2
%52 = load i32, i32* %3
%53 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%54 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %51, i32 %52, i8* %53)
store i32 8, i32* %3
%55 = load i32, i32* %2
%56 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%57 = load i32, i32* %3
%58 = call i32 @itob(i32 %55, i8* %56, i32 %57)
%59 = load i32, i32* %2
%60 = load i32, i32* %3
%61 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%62 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %59, i32 %60, i8* %61)
store i32 16, i32* %3
%63 = load i32, i32* %2
%64 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%65 = load i32, i32* %3
%66 = call i32 @itob(i32 %63, i8* %64, i32 %65)
%67 = load i32, i32* %2
%68 = load i32, i32* %3
%69 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%70 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %67, i32 %68, i8* %69)
%71 = call i32 @putchar(i8 signext 10)
store i32 1043, i32* %2
store i32 10, i32* %3
%72 = load i32, i32* %2
%73 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%74 = load i32, i32* %3
%75 = call i32 @itob(i32 %72, i8* %73, i32 %74)
%76 = load i32, i32* %2
%77 = load i32, i32* %3
%78 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%79 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %76, i32 %77, i8* %78)
store i32 2, i32* %3
%80 = load i32, i32* %2
%81 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%82 = load i32, i32* %3
%83 = call i32 @itob(i32 %80, i8* %81, i32 %82)
%84 = load i32, i32* %2
%85 = load i32, i32* %3
%86 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%87 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %84, i32 %85, i8* %86)
store i32 8, i32* %3
%88 = load i32, i32* %2
%89 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%90 = load i32, i32* %3
%91 = call i32 @itob(i32 %88, i8* %89, i32 %90)
%92 = load i32, i32* %2
%93 = load i32, i32* %3
%94 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%95 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %92, i32 %93, i8* %94)
store i32 16, i32* %3
%96 = load i32, i32* %2
%97 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%98 = load i32, i32* %3
%99 = call i32 @itob(i32 %96, i8* %97, i32 %98)
%100 = load i32, i32* %2
%101 = load i32, i32* %3
%102 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%103 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %100, i32 %101, i8* %102)
%104 = call i32 @putchar(i8 signext 10)
%105 = load i32, i32* @INT_MIN
store i32 %105, i32* %2
store i32 10, i32* %3
%106 = load i32, i32* %2
%107 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%108 = load i32, i32* %3
%109 = call i32 @itob(i32 %106, i8* %107, i32 %108)
%110 = load i32, i32* %2
%111 = load i32, i32* %3
%112 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%113 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %110, i32 %111, i8* %112)
store i32 2, i32* %3
%114 = load i32, i32* %2
%115 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%116 = load i32, i32* %3
%117 = call i32 @itob(i32 %114, i8* %115, i32 %116)
%118 = load i32, i32* %2
%119 = load i32, i32* %3
%120 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%121 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %118, i32 %119, i8* %120)
store i32 8, i32* %3
%122 = load i32, i32* %2
%123 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%124 = load i32, i32* %3
%125 = call i32 @itob(i32 %122, i8* %123, i32 %124)
%126 = load i32, i32* %2
%127 = load i32, i32* %3
%128 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%129 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %126, i32 %127, i8* %128)
store i32 16, i32* %3
%130 = load i32, i32* %2
%131 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%132 = load i32, i32* %3
%133 = call i32 @itob(i32 %130, i8* %131, i32 %132)
%134 = load i32, i32* %2
%135 = load i32, i32* %3
%136 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%137 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %134, i32 %135, i8* %136)
ret i32 0
}

LLVM IR (-O2):
@.str = [53 x i8] c"Number %d converted to a string in base %d is: \22%s\22\0A\00"
@INT_MIN = global i32 0
define i32 @main() {
%1 = alloca [256 x i8]
%2 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%3 = call i32 @itob(i32 -255, i8* %2, i32 10)
%4 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 -255, i32 10, i8* %2)
%5 = call i32 @itob(i32 -255, i8* %2, i32 2)
%6 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 -255, i32 2, i8* %2)
%7 = call i32 @itob(i32 -255, i8* %2, i32 8)
%8 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 -255, i32 8, i8* %2)
%9 = call i32 @itob(i32 -255, i8* %2, i32 16)
%10 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 -255, i32 16, i8* %2)
%11 = call i32 @putchar(i8 signext 10)
%12 = call i32 @itob(i32 255, i8* %2, i32 10)
%13 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 255, i32 10, i8* %2)
%14 = call i32 @itob(i32 255, i8* %2, i32 2)
%15 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 255, i32 2, i8* %2)
%16 = call i32 @itob(i32 255, i8* %2, i32 8)
%17 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 255, i32 8, i8* %2)
%18 = call i32 @itob(i32 255, i8* %2, i32 16)
%19 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 255, i32 16, i8* %2)
%20 = call i32 @putchar(i8 signext 10)
%21 = call i32 @itob(i32 1043, i8* %2, i32 10)
%22 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 1043, i32 10, i8* %2)
%23 = call i32 @itob(i32 1043, i8* %2, i32 2)
%24 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 1043, i32 2, i8* %2)
%25 = call i32 @itob(i32 1043, i8* %2, i32 8)
%26 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 1043, i32 8, i8* %2)
%27 = call i32 @itob(i32 1043, i8* %2, i32 16)
%28 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 1043, i32 16, i8* %2)
%29 = call i32 @putchar(i8 signext 10)
%30 = load i32, i32* @INT_MIN
%31 = call i32 @itob(i32 %30, i8* %2, i32 10)
%32 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %30, i32 10, i8* %2)
%33 = call i32 @itob(i32 %30, i8* %2, i32 2)
%34 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %30, i32 2, i8* %2)
%35 = call i32 @itob(i32 %30, i8* %2, i32 8)
%36 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %30, i32 8, i8* %2)
%37 = call i32 @itob(i32 %30, i8* %2, i32 16)
%38 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i32 %30, i32 16, i8* %2)
ret i32 0
}