#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 *);
void print_usage(void) {
  printf("plpcc - plp c compiler\n\n");
  printf("usage: plpcc <options> <input file(s)>\n");
  printf("options:\n");
  printf("-o 		<output filename> <input filename>\n");
  printf("-d [0,1,2]	debug level (0=off (default), 1=on, 2=verbose)\n");
  printf("-s		print symbol table to <output name>.symbol\n");
  printf("-g		print p formatted for Graphviz to <output name>.dot\n");
  printf("-p		print parse tree to <output name>.parse\n");
  printf("-e		do not stop compiling on errors\n");
  printf("-f		run the front end only, do not call handle() on the "
         "parse tree\n");
  printf("-a		do not annotate output with original source\n");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf29(%rip),%rdi
call   1030 <printf@plt>
lea    0xf58(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa9(%rip),%rdi
call   1030 <printf@plt>
lea    0xfca(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe3(%rip),%rdi
call   1030 <printf@plt>
lea    0x101b(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef4(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf28(%rip),%rdi
call   1030 <puts@plt>
lea    0xf56(%rip),%rdi
call   1030 <puts@plt>
lea    0xf79(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdd(%rip),%rdi
call   1030 <puts@plt>
lea    0x1014(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"plpcc - plp c compiler\0A\0A\00"
@.str.1 = [40 x i8] c"usage: plpcc <options> <input file(s)>\0A\00"
@.str.2 = [10 x i8] c"options:\0A\00"
@.str.3 = [41 x i8] c"-o \09\09<output filename> <input filename>\0A\00"
@.str.4 = [59 x i8] c"-d [0,1,2]\09debug level (0=off (default), 1=on, 2=verbose)\0A\00"
@.str.5 = [48 x i8] c"-s\09\09print symbol table to <output name>.symbol\0A\00"
@.str.6 = [57 x i8] c"-g\09\09print p formatted for Graphviz to <output name>.dot\0A\00"
@.str.7 = [45 x i8] c"-p\09\09print parse tree to <output name>.parse\0A\00"
@.str.8 = [37 x i8] c"-e\09\09do not stop compiling on errors\0A\00"
@.str.9 = [68 x i8] c"-f\09\09run the front end only, do not call handle() on the parse tree\0A\00"
@.str.10 = [49 x i8] c"-a\09\09do not annotate output with original source\0A\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [24 x i8] c"plpcc - plp c compiler\0A\00"
@str.11 = [39 x i8] c"usage: plpcc <options> <input file(s)>\00"
@str.12 = [9 x i8] c"options:\00"
@str.13 = [40 x i8] c"-o \09\09<output filename> <input filename>\00"
@str.14 = [58 x i8] c"-d [0,1,2]\09debug level (0=off (default), 1=on, 2=verbose)\00"
@str.15 = [47 x i8] c"-s\09\09print symbol table to <output name>.symbol\00"
@str.16 = [56 x i8] c"-g\09\09print p formatted for Graphviz to <output name>.dot\00"
@str.17 = [44 x i8] c"-p\09\09print parse tree to <output name>.parse\00"
@str.18 = [36 x i8] c"-e\09\09do not stop compiling on errors\00"
@str.19 = [67 x i8] c"-f\09\09run the front end only, do not call handle() on the parse tree\00"
@str.20 = [48 x i8] c"-a\09\09do not annotate output with original source\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.11, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.20, i64 0, i64 0))
ret void
}