#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*/ EXIT_SUCCESS;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void printHelp(void) {
  printf("Usage: %s [options] [files]\n", "build");
  printf("Options:\n");
  printf("  --config                 Specify a value for a global variable. "
         "Two more argu-\n");
  printf("                           ments expected after this option: the "
         "variable and\n");
  printf("                           its value. Variables that can be set, "
         "are:\n");
  printf("                            compiler, objectFileExtension, "
         "sourceFileExtension\n");
  printf("                           Their default values are:\n");
  printf("                            cc, o, c\n");
  printf("  --help                   Display this information.\n");
  printf(
      "  --version                Display this programme's version number.\n");
  printf("  -a <libname>             Creates library <libname>.\n");
  printf("  -b <file>                Specifies the buildfile to read.\n");
  printf("  -c                       Clean.\n");
  printf("  -D <macro>[=<val>]       Define a <macro> with <val> as its value. "
         "If just\n");
  printf(
      "                           <macro> is given, <val> is taken to be 1.\n");
  printf("  -I <directory>           Add <directory> to the path to search for "
         "headers to\n");
  printf("                           include.\n");
  printf("  -L <directory>           In combination with option -x, "
         "<directory> is added\n");
  printf("                           to the library search path. In "
         "combination with -a\n");
  printf("                           it is the location where to put the "
         "created library.\n");
  printf("  -l <libname>             Link with library <libname>.\n");
  printf("  -O <level>               Set optimization level. Possible values "
         "are: 0, 1, 2,\n");
  printf("                           3, fast, s.\n");
  printf("  -o <directory>           Place the object files in <directory>.\n");
  printf("  -V <version>             Specifies the version of the library "
         "being created:\n");
  printf("                           used in combination with option -a.\n");
  printf("  -x <file>                Creates an executable <file>.\n");
  printf("\n");
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xeeb(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf23(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfdf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1007(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x101f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1047(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x107e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10d6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10eb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x112b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1163(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11a6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11bd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11ff(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1240(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1283(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x12ae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x12f2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x130c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1341(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1383(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x13b5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x12aa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d26(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
lea    0xeb8(%rip),%rdi
lea    0xece(%rip),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec6(%rip),%rdi
call   1040 <puts@plt>
lea    0xec3(%rip),%rdi
call   1040 <puts@plt>
lea    0xf08(%rip),%rdi
call   1040 <puts@plt>
lea    0xf4a(%rip),%rdi
call   1040 <puts@plt>
lea    0xf84(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc7(%rip),%rdi
call   1040 <puts@plt>
lea    0xff0(%rip),%rdi
call   1040 <puts@plt>
lea    0x1009(%rip),%rdi
call   1040 <puts@plt>
lea    0x1032(%rip),%rdi
call   1040 <puts@plt>
lea    0x106a(%rip),%rdi
call   1040 <puts@plt>
lea    0x1094(%rip),%rdi
call   1040 <puts@plt>
lea    0x10c4(%rip),%rdi
call   1040 <puts@plt>
lea    0x10da(%rip),%rdi
call   1040 <puts@plt>
lea    0x111b(%rip),%rdi
call   1040 <puts@plt>
lea    0x1154(%rip),%rdi
call   1040 <puts@plt>
lea    0x1198(%rip),%rdi
call   1040 <puts@plt>
lea    0x11b0(%rip),%rdi
call   1040 <puts@plt>
lea    0x11f3(%rip),%rdi
call   1040 <puts@plt>
lea    0x1235(%rip),%rdi
call   1040 <puts@plt>
lea    0x1279(%rip),%rdi
call   1040 <puts@plt>
lea    0x12a5(%rip),%rdi
call   1040 <puts@plt>
lea    0x12ea(%rip),%rdi
call   1040 <puts@plt>
lea    0x1305(%rip),%rdi
call   1040 <puts@plt>
lea    0x133b(%rip),%rdi
call   1040 <puts@plt>
lea    0x137e(%rip),%rdi
call   1040 <puts@plt>
lea    0x13b1(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2d41(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>

LLVM IR (-O0):
@.str = [29 x i8] c"Usage: %s [options] [files]\0A\00"
@.str.1 = [6 x i8] c"build\00"
@.str.2 = [10 x i8] c"Options:\0A\00"
@.str.3 = [82 x i8] c" --config Specify a value for a global variable. Two more argu-\0A\00"
@.str.4 = [79 x i8] c" ments expected after this option: the variable and\0A\00"
@.str.5 = [71 x i8] c" its value. Variables that can be set, are:\0A\00"
@.str.6 = [80 x i8] c" compiler, objectFileExtension, sourceFileExtension\0A\00"
@.str.7 = [54 x i8] c" Their default values are:\0A\00"
@.str.8 = [38 x i8] c" cc, o, c\0A\00"
@.str.9 = [54 x i8] c" --help Display this information.\0A\00"
@.str.10 = [69 x i8] c" --version Display this programme's version number.\0A\00"
@.str.11 = [55 x i8] c" -a <libname> Creates library <libname>.\0A\00"
@.str.12 = [61 x i8] c" -b <file> Specifies the buildfile to read.\0A\00"
@.str.13 = [35 x i8] c" -c Clean.\0A\00"
@.str.14 = [78 x i8] c" -D <macro>[=<val>] Define a <macro> with <val> as its value. If just\0A\00"
@.str.15 = [70 x i8] c" <macro> is given, <val> is taken to be 1.\0A\00"
@.str.16 = [81 x i8] c" -I <directory> Add <directory> to the path to search for headers to\0A\00"
@.str.17 = [37 x i8] c" include.\0A\00"
@.str.18 = [80 x i8] c" -L <directory> In combination with option -x, <directory> is added\0A\00"
@.str.19 = [79 x i8] c" to the library search path. In combination with -a\0A\00"
@.str.20 = [81 x i8] c" it is the location where to put the created library.\0A\00"
@.str.21 = [57 x i8] c" -l <libname> Link with library <libname>.\0A\00"
@.str.22 = [82 x i8] c" -O <level> Set optimization level. Possible values are: 0, 1, 2,\0A\00"
@.str.23 = [40 x i8] c" 3, fast, s.\0A\00"
@.str.24 = [67 x i8] c" -o <directory> Place the object files in <directory>.\0A\00"
@.str.25 = [80 x i8] c" -V <version> Specifies the version of the library being created:\0A\00"
@.str.26 = [64 x i8] c" used in combination with option -a.\0A\00"
@.str.27 = [58 x i8] c" -x <file> Creates an executable <file>.\0A\00"
@.str.28 = [2 x i8] c"\0A\00"
@EXIT_SUCCESS = global i32 0
define void @printHelp() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.14, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.16, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.17, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.18, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.19, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.20, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.21, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.22, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.23, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.24, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.25, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.26, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.27, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.28, i64 0, i64 0))
%29 = load i32, i32* @EXIT_SUCCESS
%30 = call i32 @exit(i32 %29)
unreachable
}

LLVM IR (-O2):
@.str = [29 x i8] c"Usage: %s [options] [files]\0A\00"
@.str.1 = [6 x i8] c"build\00"
@EXIT_SUCCESS = global i32 0
@str = [9 x i8] c"Options:\00"
@str.29 = [81 x i8] c" --config Specify a value for a global variable. Two more argu-\00"
@str.30 = [78 x i8] c" ments expected after this option: the variable and\00"
@str.31 = [70 x i8] c" its value. Variables that can be set, are:\00"
@str.32 = [79 x i8] c" compiler, objectFileExtension, sourceFileExtension\00"
@str.33 = [53 x i8] c" Their default values are:\00"
@str.34 = [37 x i8] c" cc, o, c\00"
@str.35 = [53 x i8] c" --help Display this information.\00"
@str.36 = [68 x i8] c" --version Display this programme's version number.\00"
@str.37 = [54 x i8] c" -a <libname> Creates library <libname>.\00"
@str.38 = [60 x i8] c" -b <file> Specifies the buildfile to read.\00"
@str.39 = [34 x i8] c" -c Clean.\00"
@str.40 = [77 x i8] c" -D <macro>[=<val>] Define a <macro> with <val> as its value. If just\00"
@str.41 = [69 x i8] c" <macro> is given, <val> is taken to be 1.\00"
@str.42 = [80 x i8] c" -I <directory> Add <directory> to the path to search for headers to\00"
@str.43 = [36 x i8] c" include.\00"
@str.44 = [79 x i8] c" -L <directory> In combination with option -x, <directory> is added\00"
@str.45 = [78 x i8] c" to the library search path. In combination with -a\00"
@str.46 = [80 x i8] c" it is the location where to put the created library.\00"
@str.47 = [56 x i8] c" -l <libname> Link with library <libname>.\00"
@str.48 = [81 x i8] c" -O <level> Set optimization level. Possible values are: 0, 1, 2,\00"
@str.49 = [39 x i8] c" 3, fast, s.\00"
@str.50 = [66 x i8] c" -o <directory> Place the object files in <directory>.\00"
@str.51 = [79 x i8] c" -V <version> Specifies the version of the library being created:\00"
@str.52 = [63 x i8] c" used in combination with option -a.\00"
@str.53 = [57 x i8] c" -x <file> Creates an executable <file>.\00"
define void @printHelp() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.29, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.30, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.31, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.32, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.33, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.34, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.35, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.36, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.37, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.38, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.39, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.40, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.41, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.42, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.43, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.44, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.45, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.46, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.47, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.48, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.49, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.50, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.51, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.52, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.53, i64 0, i64 0))
%28 = tail call i32 @putchar(i32 10)
%29 = load i32, i32* @EXIT_SUCCESS
%30 = tail call i32 @exit(i32 %29)
unreachable
}