#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 displayHelp() {
  printf("Epiphany Python version %s\n", "2.0");
  printf("epython [arguments] filename\n\nWhere filename is the source code to "
         "execute by default on all cores\n\nArguments\n--------\n");
  printf("-c placement   Specify core placement; can be a single id, all, a "
         "range (a:b) or a list (a,b,c,d)\n");
  printf("-d processes   Specify number of process on the device\n");
  printf("-h processes   Specify number of process on the host\n");
  printf("-t             Display core run timing information\n");
  printf("-codecore      Placement code on each core (default up to %d bytes "
         "length)\n",
         2048);
  printf("-codeshared    Placement code in shared memory (automatic after %d "
         "bytes in length)\n",
         2048);
  printf("-datashared    Data (arrays and strings) stored in shared memory, "
         "storage on core is default\n");
  printf("-elf           Use ELF device executable\n");
  printf("-srec          Use SREC device executable\n");
  printf("-s             Display parse statistics\n");
  printf("-pp            Display preprocessed code\n");
  printf("-o filename    Write out the compiled byte representation of "
         "processed Python code and exits (does not run code)\n");
  printf("-l filename    Loads from compiled byte representation of code and "
         "runs this\n");
  printf("-help          Display this help and quit\n");
}


x86 assembly (clang, -O0):
<displayHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xefa(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1001(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1027(%rip),%rdi
mov    $0x800,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1060(%rip),%rdi
mov    $0x800,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10f2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x110e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x112b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1146(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1162(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11c6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1206(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<displayHelp>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0xeed(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf84(%rip),%rdi
call   1030 <puts@plt>
lea    0xfef(%rip),%rdi
call   1030 <puts@plt>
lea    0x1045(%rip),%rdi
call   1030 <puts@plt>
lea    0x1070(%rip),%rdi
call   1030 <puts@plt>
lea    0x1099(%rip),%rdi
call   1030 <puts@plt>
lea    0xea7(%rip),%rdi
mov    $0x800,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee0(%rip),%rdi
mov    $0x800,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x109a(%rip),%rdi
call   1030 <puts@plt>
lea    0x10eb(%rip),%rdi
call   1030 <puts@plt>
lea    0x1108(%rip),%rdi
call   1030 <puts@plt>
lea    0x1126(%rip),%rdi
call   1030 <puts@plt>
lea    0x1142(%rip),%rdi
call   1030 <puts@plt>
lea    0x115f(%rip),%rdi
call   1030 <puts@plt>
lea    0x11c4(%rip),%rdi
call   1030 <puts@plt>
lea    0x1205(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [28 x i8] c"Epiphany Python version %s\0A\00"
@.str.1 = [4 x i8] c"2.0\00"
@.str.2 = [120 x i8] c"epython [arguments] filename\0A\0AWhere filename is the source code to execute by default on all cores\0A\0AArguments\0A--------\0A\00"
@.str.3 = [99 x i8] c"-c placement Specify core placement; can be a single id, all, a range (a:b) or a list (a,b,c,d)\0A\00"
@.str.4 = [56 x i8] c"-d processes Specify number of process on the device\0A\00"
@.str.5 = [54 x i8] c"-h processes Specify number of process on the host\0A\00"
@.str.6 = [52 x i8] c"-t Display core run timing information\0A\00"
@.str.7 = [76 x i8] c"-codecore Placement code on each core (default up to %d bytes length)\0A\00"
@.str.8 = [85 x i8] c"-codeshared Placement code in shared memory (automatic after %d bytes in length)\0A\00"
@.str.9 = [94 x i8] c"-datashared Data (arrays and strings) stored in shared memory, storage on core is default\0A\00"
@.str.10 = [42 x i8] c"-elf Use ELF device executable\0A\00"
@.str.11 = [43 x i8] c"-srec Use SREC device executable\0A\00"
@.str.12 = [41 x i8] c"-s Display parse statistics\0A\00"
@.str.13 = [42 x i8] c"-pp Display preprocessed code\0A\00"
@.str.14 = [114 x i8] c"-o filename Write out the compiled byte representation of processed Python code and exits (does not run code)\0A\00"
@.str.15 = [78 x i8] c"-l filename Loads from compiled byte representation of code and runs this\0A\00"
@.str.16 = [43 x i8] c"-help Display this help and quit\0A\00"
define void @displayHelp() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.7, i64 0, i64 0), i32 2048)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.8, i64 0, i64 0), i32 2048)
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([114 x i8], [114 x i8]* @.str.14, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.16, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [28 x i8] c"Epiphany Python version %s\0A\00"
@.str.1 = [4 x i8] c"2.0\00"
@.str.7 = [76 x i8] c"-codecore Placement code on each core (default up to %d bytes length)\0A\00"
@.str.8 = [85 x i8] c"-codeshared Placement code in shared memory (automatic after %d bytes in length)\0A\00"
@str = [119 x i8] c"epython [arguments] filename\0A\0AWhere filename is the source code to execute by default on all cores\0A\0AArguments\0A--------\00"
@str.17 = [98 x i8] c"-c placement Specify core placement; can be a single id, all, a range (a:b) or a list (a,b,c,d)\00"
@str.18 = [55 x i8] c"-d processes Specify number of process on the device\00"
@str.19 = [53 x i8] c"-h processes Specify number of process on the host\00"
@str.20 = [51 x i8] c"-t Display core run timing information\00"
@str.21 = [93 x i8] c"-datashared Data (arrays and strings) stored in shared memory, storage on core is default\00"
@str.22 = [41 x i8] c"-elf Use ELF device executable\00"
@str.23 = [42 x i8] c"-srec Use SREC device executable\00"
@str.24 = [40 x i8] c"-s Display parse statistics\00"
@str.25 = [41 x i8] c"-pp Display preprocessed code\00"
@str.26 = [113 x i8] c"-o filename Write out the compiled byte representation of processed Python code and exits (does not run code)\00"
@str.27 = [77 x i8] c"-l filename Loads from compiled byte representation of code and runs this\00"
@str.28 = [42 x i8] c"-help Display this help and quit\00"
define void @displayHelp() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([119 x i8], [119 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([98 x i8], [98 x i8]* @str.17, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.18, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.19, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.20, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str.7, i64 0, i64 0), i32 2048)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @.str.8, i64 0, i64 0), i32 2048)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([93 x i8], [93 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([113 x i8], [113 x i8]* @str.26, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.27, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.28, i64 0, i64 0))
ret void
}