#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*/ build_action_table();
int /*<<< orphan*/ build_canonical_sets();
int /*<<< orphan*/ build_goto_table();
int /*<<< orphan*/ find_unique_symbols();
int /*<<< orphan*/ initialize_G();
int /*<<< orphan*/ parse_command_line(int, char **);
int /*<<< orphan*/ precalc_first();
int /*<<< orphan*/ precalc_follow();
int /*<<< orphan*/ print_reduce_table();
int main(int argc, char **argv) {
  parse_command_line(argc, argv);
  find_unique_symbols();
  initialize_G();
  build_canonical_sets();
  precalc_first();
  precalc_follow();
  build_action_table();
  build_goto_table();
  print_reduce_table();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   10a0 <parse_command_line@plt>
mov    $0x0,%al
call   1030 <find_unique_symbols@plt>
mov    $0x0,%al
call   1080 <initialize_G@plt>
mov    $0x0,%al
call   1070 <build_canonical_sets@plt>
mov    $0x0,%al
call   10b0 <precalc_first@plt>
mov    $0x0,%al
call   1050 <precalc_follow@plt>
mov    $0x0,%al
call   1060 <build_action_table@plt>
mov    $0x0,%al
call   1040 <build_goto_table@plt>
mov    $0x0,%al
call   1090 <print_reduce_table@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
call   10a0 <parse_command_line@plt>
xor    %eax,%eax
call   1030 <find_unique_symbols@plt>
xor    %eax,%eax
call   1080 <initialize_G@plt>
xor    %eax,%eax
call   1070 <build_canonical_sets@plt>
xor    %eax,%eax
call   10b0 <precalc_first@plt>
xor    %eax,%eax
call   1050 <precalc_follow@plt>
xor    %eax,%eax
call   1060 <build_action_table@plt>
xor    %eax,%eax
call   1040 <build_goto_table@plt>
xor    %eax,%eax
call   1090 <print_reduce_table@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* %4
%7 = load i8**, i8*** %5
%8 = call i32 @parse_command_line(i32 %6, i8** %7)
%9 = call i32 (...) @find_unique_symbols()
%10 = call i32 (...) @initialize_G()
%11 = call i32 (...) @build_canonical_sets()
%12 = call i32 (...) @precalc_first()
%13 = call i32 (...) @precalc_follow()
%14 = call i32 (...) @build_action_table()
%15 = call i32 (...) @build_goto_table()
%16 = call i32 (...) @print_reduce_table()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** %1) {
%3 = tail call i32 @parse_command_line(i32 %0, i8** %1)
%4 = tail call i32 (...) @find_unique_symbols()
%5 = tail call i32 (...) @initialize_G()
%6 = tail call i32 (...) @build_canonical_sets()
%7 = tail call i32 (...) @precalc_first()
%8 = tail call i32 (...) @precalc_follow()
%9 = tail call i32 (...) @build_action_table()
%10 = tail call i32 (...) @build_goto_table()
%11 = tail call i32 (...) @print_reduce_table()
ret i32 0
}