char *typeToString(int typeIn) {
  switch (typeIn) {
  case 0:
    return "lexerr";
  case 1:
    return "addop";
  case 2:
    return "mulop";
  case 3:
    return "relop";
  case 4:
    return "assignop";
  case 5:
    return "whitespace";
  case 6:
    return "id";
  case 7:
    return ":";
  case 8:
    return ";";
  case 9:
    return ".";
  case 10:
    return "..";
  case 11:
    return "(";
  case 12:
    return ")";
  case 13:
    return "[";
  case 14:
    return "]";
  case 15:
    return ",";
  case 16:
    return "int";
  case 17:
    return "real";
  case 18:
    return "longreal";
  case 19:
    return "$";
  case 20:
    return "num";
  case 50:
    return "array";
  case 51:
    return "begin";
  case 52:
    return "do";
  case 53:
    return "else";
  case 54:
    return "end";
  case 55:
    return "function";
  case 56:
    return "if";
  case 57:
    return "integer";
  case 58:
    return "not";
  case 59:
    return "of";
  case 60:
    return "procedure";
  case 61:
    return "program";
  case 62:
    return "real";
  case 63:
    return "then";
  case 64:
    return "var";
  case 65:
    return "while";
  default:
    return "unknown";
  }
}


x86 assembly (clang, -O0):
<typeToString>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %rax,-0x18(%rbp)
sub    $0x41,%rax
ja     137c <typeToString+0x27c>
mov    -0x18(%rbp),%rax
lea    0xedd(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xfd5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xfcc(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xfc2(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xfb8(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xfae(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xfa7(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xfa2(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf95(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf87(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf7a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf69(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf5c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf4e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf40(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf32(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf24(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf16(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xf0e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xefa(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xef3(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xee5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xed9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xecf(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xec5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xeb8(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xead(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xea1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe9a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe8d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe85(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe79(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe6c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe66(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe0e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe4e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe43(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe37(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1387 <typeToString+0x287>
lea    0xe2d(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<typeToString>:
cmp    $0x41,%edi
ja     1117 <typeToString+0x17>
movslq %edi,%rax
lea    0xfa1(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
ret
lea    0xf8a(%rip),%rax
ret

LLVM IR (-O0):
@.str = [7 x i8] c"lexerr\00"
@.str.1 = [6 x i8] c"addop\00"
@.str.2 = [6 x i8] c"mulop\00"
@.str.3 = [6 x i8] c"relop\00"
@.str.4 = [9 x i8] c"assignop\00"
@.str.5 = [11 x i8] c"whitespace\00"
@.str.6 = [3 x i8] c"id\00"
@.str.7 = [2 x i8] c":\00"
@.str.8 = [2 x i8] c";\00"
@.str.9 = [2 x i8] c".\00"
@.str.10 = [3 x i8] c"..\00"
@.str.11 = [2 x i8] c"(\00"
@.str.12 = [2 x i8] c")\00"
@.str.13 = [2 x i8] c"[\00"
@.str.14 = [2 x i8] c"]\00"
@.str.15 = [2 x i8] c",\00"
@.str.16 = [4 x i8] c"int\00"
@.str.17 = [5 x i8] c"real\00"
@.str.18 = [9 x i8] c"longreal\00"
@.str.19 = [2 x i8] c"$\00"
@.str.20 = [4 x i8] c"num\00"
@.str.21 = [6 x i8] c"array\00"
@.str.22 = [6 x i8] c"begin\00"
@.str.23 = [3 x i8] c"do\00"
@.str.24 = [5 x i8] c"else\00"
@.str.25 = [4 x i8] c"end\00"
@.str.26 = [9 x i8] c"function\00"
@.str.27 = [3 x i8] c"if\00"
@.str.28 = [8 x i8] c"integer\00"
@.str.29 = [4 x i8] c"not\00"
@.str.30 = [3 x i8] c"of\00"
@.str.31 = [10 x i8] c"procedure\00"
@.str.32 = [8 x i8] c"program\00"
@.str.33 = [5 x i8] c"then\00"
@.str.34 = [4 x i8] c"var\00"
@.str.35 = [6 x i8] c"while\00"
@.str.36 = [8 x i8] c"unknown\00"
define i8* @typeToString(i32 %0) {
%2 = alloca i8*
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %42 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
i32 7, label %12
i32 8, label %13
i32 9, label %14
i32 10, label %15
i32 11, label %16
i32 12, label %17
i32 13, label %18
i32 14, label %19
i32 15, label %20
i32 16, label %21
i32 17, label %22
i32 18, label %23
i32 19, label %24
i32 20, label %25
i32 50, label %26
i32 51, label %27
i32 52, label %28
i32 53, label %29
i32 54, label %30
i32 55, label %31
i32 56, label %32
i32 57, label %33
i32 58, label %34
i32 59, label %35
i32 60, label %36
i32 61, label %37
i32 62, label %38
i32 63, label %39
i32 64, label %40
i32 65, label %41
]
5: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8** %2
br label %43
6: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %43
7: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %43
8: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %43
9: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8** %2
br label %43
10: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %43
11: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8** %2
br label %43
12: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %43
13: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0), i8** %2
br label %43
14: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %43
15: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8** %2
br label %43
16: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %43
17: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8** %2
br label %43
18: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %43
19: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i8** %2
br label %43
20: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %43
21: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i8** %2
br label %43
22: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %43
23: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0), i8** %2
br label %43
24: ; preds = %1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %43
25: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i8** %2
br label %43
26: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %43
27: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.22, i64 0, i64 0), i8** %2
br label %43
28: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %43
29: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0), i8** %2
br label %43
30: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %43
31: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.26, i64 0, i64 0), i8** %2
br label %43
32: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.27, i64 0, i64 0), i8** %2
br label %43
33: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8** %2
br label %43
34: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0), i8** %2
br label %43
35: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, i64 0, i64 0), i8** %2
br label %43
36: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.31, i64 0, i64 0), i8** %2
br label %43
37: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.32, i64 0, i64 0), i8** %2
br label %43
38: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %43
39: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.33, i64 0, i64 0), i8** %2
br label %43
40: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i64 0, i64 0), i8** %2
br label %43
41: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.35, i64 0, i64 0), i8** %2
br label %43
42: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0), i8** %2
br label %43
43: ; preds = %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%44 = load i8*, i8** %2
ret i8* %44
}

LLVM IR (-O2):
@.str = [7 x i8] c"lexerr\00"
@.str.1 = [6 x i8] c"addop\00"
@.str.2 = [6 x i8] c"mulop\00"
@.str.3 = [6 x i8] c"relop\00"
@.str.4 = [9 x i8] c"assignop\00"
@.str.5 = [11 x i8] c"whitespace\00"
@.str.6 = [3 x i8] c"id\00"
@.str.7 = [2 x i8] c":\00"
@.str.8 = [2 x i8] c";\00"
@.str.9 = [2 x i8] c".\00"
@.str.10 = [3 x i8] c"..\00"
@.str.11 = [2 x i8] c"(\00"
@.str.12 = [2 x i8] c")\00"
@.str.13 = [2 x i8] c"[\00"
@.str.14 = [2 x i8] c"]\00"
@.str.15 = [2 x i8] c",\00"
@.str.16 = [4 x i8] c"int\00"
@.str.17 = [5 x i8] c"real\00"
@.str.18 = [9 x i8] c"longreal\00"
@.str.19 = [2 x i8] c"$\00"
@.str.20 = [4 x i8] c"num\00"
@.str.21 = [6 x i8] c"array\00"
@.str.22 = [6 x i8] c"begin\00"
@.str.23 = [3 x i8] c"do\00"
@.str.24 = [5 x i8] c"else\00"
@.str.25 = [4 x i8] c"end\00"
@.str.26 = [9 x i8] c"function\00"
@.str.27 = [3 x i8] c"if\00"
@.str.28 = [8 x i8] c"integer\00"
@.str.29 = [4 x i8] c"not\00"
@.str.30 = [3 x i8] c"of\00"
@.str.31 = [10 x i8] c"procedure\00"
@.str.32 = [8 x i8] c"program\00"
@.str.33 = [5 x i8] c"then\00"
@.str.34 = [4 x i8] c"var\00"
@.str.35 = [6 x i8] c"while\00"
@.str.36 = [8 x i8] c"unknown\00"
@reltable.typeToString = [66 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.1 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.2 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.3 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.4 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.5 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.6 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.7 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.8 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.9 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.10 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.11 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.12 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.13 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.14 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.15 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.16 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.17 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.18 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.19 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.20 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.36 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.21 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.22 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.23 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.24 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.25 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.26 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.27 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.28 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.29 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.30 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.31 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.32 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.17 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.33 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.34 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.35 to i64), i64 ptrtoint ([66 x i32]* @reltable.typeToString to i64)) to i32)]
define i8* @typeToString(i32 %0) {
%2 = icmp ult i32 %0, 66
br i1 %2, label %3, label %7
3: ; preds = %1
%4 = sext i32 %0 to i64
%5 = shl i64 %4, 2
%6 = call i8* @llvm.load.relative.i64(i8* bitcast ([66 x i32]* @reltable.typeToString to i8*), i64 %5)
br label %7
7: ; preds = %1, %3
%8 = phi i8* [ %6, %3 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0), %1 ]
ret i8* %8
}