#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*/ add_type(int, char *);
void c_initialize(void) {
  add_type(1, "int");
  add_type(1, "long");
  add_type(1, "short");
  add_type(1, "bool");
  add_type(1, "u_int");
  add_type(1, "u_long");
  add_type(1, "u_short");
}


x86 assembly (clang, -O0):
<c_initialize>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
lea    0xee7(%rip),%rsi
call   1030 <add_type@plt>
mov    $0x1,%edi
lea    0xedc(%rip),%rsi
call   1030 <add_type@plt>
mov    $0x1,%edi
lea    0xed2(%rip),%rsi
call   1030 <add_type@plt>
mov    $0x1,%edi
lea    0xead(%rip),%rsi
call   1030 <add_type@plt>
mov    $0x1,%edi
lea    0xea1(%rip),%rsi
call   1030 <add_type@plt>
mov    $0x1,%edi
lea    0xe96(%rip),%rsi
call   1030 <add_type@plt>
mov    $0x1,%edi
lea    0xe8c(%rip),%rsi
call   1030 <add_type@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<c_initialize>:
push   %rax
lea    0xeef(%rip),%rsi
mov    $0x1,%edi
call   1030 <add_type@plt>
lea    0xee4(%rip),%rsi
mov    $0x1,%edi
call   1030 <add_type@plt>
lea    0xeda(%rip),%rsi
mov    $0x1,%edi
call   1030 <add_type@plt>
lea    0xeb5(%rip),%rsi
mov    $0x1,%edi
call   1030 <add_type@plt>
lea    0xea9(%rip),%rsi
mov    $0x1,%edi
call   1030 <add_type@plt>
lea    0xe9e(%rip),%rsi
mov    $0x1,%edi
call   1030 <add_type@plt>
lea    0xe94(%rip),%rsi
mov    $0x1,%edi
pop    %rax
jmp    1030 <add_type@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"int\00"
@.str.1 = [5 x i8] c"long\00"
@.str.2 = [6 x i8] c"short\00"
@.str.3 = [5 x i8] c"bool\00"
@.str.4 = [6 x i8] c"u_int\00"
@.str.5 = [7 x i8] c"u_long\00"
@.str.6 = [8 x i8] c"u_short\00"
define void @c_initialize() {
%1 = call i32 @add_type(i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @add_type(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @add_type(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @add_type(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @add_type(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @add_type(i32 1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @add_type(i32 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"int\00"
@.str.1 = [5 x i8] c"long\00"
@.str.2 = [6 x i8] c"short\00"
@.str.3 = [5 x i8] c"bool\00"
@.str.4 = [6 x i8] c"u_int\00"
@.str.5 = [7 x i8] c"u_long\00"
@.str.6 = [8 x i8] c"u_short\00"
define void @c_initialize() {
%1 = tail call i32 @add_type(i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @add_type(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @add_type(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @add_type(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @add_type(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @add_type(i32 1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @add_type(i32 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
ret void
}