#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 *, char *);
void usage() {
  printf("%s\n", "Usage:");
  ;
  printf("%s\n", "  hw [OPTIONS] PATTERN [PATHS]");
  ;
  printf("%s\n", "");
  ;
  printf("%s\n", "The highway searches a PATTERN from all of files under your "
                 "directory very fast.");
  ;
  printf("%s\n", "By default hw searches in under your current directory "
                 "except hidden files and");
  ;
  printf("%s\n", "paths from .gitignore, but you can search any directories or "
                 "any files you want");
  ;
  printf("%s\n", "to search by specifying the PATHS, and you can specified "
                 "multiple directories or");
  ;
  printf("%s\n", "files to the PATHS options.");
  ;
  printf("%s\n", "");
  ;
  printf("%s\n", "Example:");
  ;
  printf("%s\n", "  hw hoge src/ include/ tmp/test.txt");
  ;
  printf("%s\n", "");
  ;
  printf("%s\n", "Search options:");
  ;
  printf("%s\n", "  -a, --all-files            Search all files.");
  ;
  printf("%s\n",
         "  -e                         Parse PATTERN as a regular expression.");
  ;
  printf("%s\n", "  -f, --follow-link          Follow symlinks.");
  ;
  printf("%s\n", "  -i, --ignore-case          Match case insensitively.");
  ;
  printf("%s\n", "  -w, --word-regexp          Only match whole words.");
  ;
  printf("%s\n", "");
  ;
  printf("%s\n", "Output options:");
  ;
  printf("%s\n", "  -l, --file-with-matches    Only print filenames that "
                 "contain matches.");
  ;
  printf("%s\n",
         "  -n, --line-number          Print line number with output lines.");
  ;
  printf("%s\n", "  -N, --no-line-number       Don't print line number.");
  ;
  printf("%s\n", "      --no-omit              Show all characters even if too "
                 "long lines were matched.");
  ;
  printf("%s\n", "                             By default hw print only "
                 "characters near by PATTERN if");
  ;
  printf("%s\n", "                             the line was too long.");
  ;
  printf("%s\n",
         "      --group                Grouping matching lines every files.");
  ;
  printf("%s\n", "      --no-group             No grouping.");
  ;
  printf("%s\n", "      --no-buffering         No buffering. By default "
                 "results is buffering while printing.");
  ;
  printf("%s\n", "");
  ;
  printf("%s\n", "Coloring options:");
  ;
  printf("%s\n", "      --color                Highlight matching strings, "
                 "filenames, line numbers.");
  ;
  printf("%s\n", "      --no-color             No highlight.");
  ;
  printf("%s\n", "      --color-path           Color for path names.");
  ;
  printf("%s\n", "      --color-match          Color for matching strings.");
  ;
  printf("%s\n", "      --color-line-number    Color for line numbers.");
  ;
  printf("%s\n", "      --color-before-context Color for line numbers of the "
                 "before context.");
  ;
  printf("%s\n", "      --color-after-context  Color for line numbers of the "
                 "after context.");
  ;
  printf("%s\n", "");
  ;
  printf("%s\n", "Context control:");
  ;
  printf("%s\n", "  -A, --after-context        Print some lines after match.");
  ;
  printf("%s\n", "  -B, --before-context       Print some lines before match.");
  ;
  printf("%s\n", "  -C, --context              Print some lines before and "
                 "after matches.");
  ;
  printf("%s\n", "");
  ;
  printf("%s\n", "  -h, --help                 Show options help and some "
                 "concept guides.");
  ;
  printf("%s\n", "      --version              Show version.");
  ;
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xee2(%rip),%rsi
call   1030 <printf@plt>
lea    0xed2(%rip),%rdi
lea    0xed6(%rip),%rsi
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
lea    0xebb(%rip),%rsi
call   1030 <printf@plt>
lea    0xeac(%rip),%rdi
lea    0xecf(%rip),%rsi
call   1030 <printf@plt>
lea    0xe99(%rip),%rdi
lea    0xf0d(%rip),%rsi
call   1030 <printf@plt>
lea    0xe86(%rip),%rdi
lea    0xf49(%rip),%rsi
call   1030 <printf@plt>
lea    0xe73(%rip),%rdi
lea    0xf86(%rip),%rsi
call   1030 <printf@plt>
lea    0xe60(%rip),%rdi
lea    0xfc4(%rip),%rsi
call   1030 <printf@plt>
lea    0xe4d(%rip),%rdi
lea    0xe49(%rip),%rsi
call   1030 <printf@plt>
lea    0xe3a(%rip),%rdi
lea    0xfba(%rip),%rsi
call   1030 <printf@plt>
lea    0xe27(%rip),%rdi
lea    0xfb0(%rip),%rsi
call   1030 <printf@plt>
lea    0xe14(%rip),%rdi
lea    0xe10(%rip),%rsi
call   1030 <printf@plt>
lea    0xe01(%rip),%rdi
lea    0xfaf(%rip),%rsi
call   1030 <printf@plt>
lea    0xdee(%rip),%rdi
lea    0xfac(%rip),%rsi
call   1030 <printf@plt>
lea    0xddb(%rip),%rdi
lea    0xfc8(%rip),%rsi
call   1030 <printf@plt>
lea    0xdc8(%rip),%rdi
lea    0xff9(%rip),%rsi
call   1030 <printf@plt>
lea    0xdb5(%rip),%rdi
lea    0x1014(%rip),%rsi
call   1030 <printf@plt>
lea    0xda2(%rip),%rdi
lea    0x1038(%rip),%rsi
call   1030 <printf@plt>
lea    0xd8f(%rip),%rdi
lea    0xd8b(%rip),%rsi
call   1030 <printf@plt>
lea    0xd7c(%rip),%rdi
lea    0x1047(%rip),%rsi
call   1030 <printf@plt>
lea    0xd69(%rip),%rdi
lea    0x1044(%rip),%rsi
call   1030 <printf@plt>
lea    0xd56(%rip),%rdi
lea    0x1079(%rip),%rsi
call   1030 <printf@plt>
lea    0xd43(%rip),%rdi
lea    0x10a8(%rip),%rsi
call   1030 <printf@plt>
lea    0xd30(%rip),%rdi
lea    0x10cb(%rip),%rsi
call   1030 <printf@plt>
lea    0xd1d(%rip),%rdi
lea    0x110e(%rip),%rsi
call   1030 <printf@plt>
lea    0xd0a(%rip),%rdi
lea    0x114f(%rip),%rsi
call   1030 <printf@plt>
lea    0xcf7(%rip),%rdi
lea    0x1170(%rip),%rsi
call   1030 <printf@plt>
lea    0xce4(%rip),%rdi
lea    0x119f(%rip),%rsi
call   1030 <printf@plt>
lea    0xcd1(%rip),%rdi
lea    0x11b6(%rip),%rsi
call   1030 <printf@plt>
lea    0xcbe(%rip),%rdi
lea    0xcba(%rip),%rsi
call   1030 <printf@plt>
lea    0xcab(%rip),%rdi
lea    0x11eb(%rip),%rsi
call   1030 <printf@plt>
lea    0xc98(%rip),%rdi
lea    0x11ea(%rip),%rsi
call   1030 <printf@plt>
lea    0xc85(%rip),%rdi
lea    0x1229(%rip),%rsi
call   1030 <printf@plt>
lea    0xc72(%rip),%rdi
lea    0x1241(%rip),%rsi
call   1030 <printf@plt>
lea    0xc5f(%rip),%rdi
lea    0x1261(%rip),%rsi
call   1030 <printf@plt>
lea    0xc4c(%rip),%rdi
lea    0x1287(%rip),%rsi
call   1030 <printf@plt>
lea    0xc39(%rip),%rdi
lea    0x12a9(%rip),%rsi
call   1030 <printf@plt>
lea    0xc26(%rip),%rdi
lea    0x12e1(%rip),%rsi
call   1030 <printf@plt>
lea    0xc13(%rip),%rdi
lea    0xc0f(%rip),%rsi
call   1030 <printf@plt>
lea    0xc00(%rip),%rdi
lea    0x1305(%rip),%rsi
call   1030 <printf@plt>
lea    0xbed(%rip),%rdi
lea    0x1303(%rip),%rsi
call   1030 <printf@plt>
lea    0xbda(%rip),%rdi
lea    0x132b(%rip),%rsi
call   1030 <printf@plt>
lea    0xbc7(%rip),%rdi
lea    0x1354(%rip),%rsi
call   1030 <printf@plt>
lea    0xbb4(%rip),%rdi
lea    0xbb0(%rip),%rsi
call   1030 <printf@plt>
lea    0xba1(%rip),%rdi
lea    0x1376(%rip),%rsi
call   1030 <printf@plt>
lea    0xb8e(%rip),%rdi
lea    0x13ab(%rip),%rsi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %r14
push   %rbx
push   %rax
lea    0xee5(%rip),%rbx
lea    0xee2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xeda(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xec3(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0xed8(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf1a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf5a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xf9b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xfdd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0xfdf(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xfd9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0xfe4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xfe5(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1005(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x103a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1059(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1081(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0x109c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x109d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x10d6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1109(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1130(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1177(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x11bc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x11e1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1214(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x122f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0x1270(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1273(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x12b6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x12d2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x12f6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1320(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1346(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1382(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0x13b2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x13b4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x13e0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x140d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0x143b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0x1474(%rip),%rsi
mov    %rbx,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"%s\0A\00"
@.str.1 = [7 x i8] c"Usage:\00"
@.str.2 = [31 x i8] c" hw [OPTIONS] PATTERN [PATHS]\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [81 x i8] c"The highway searches a PATTERN from all of files under your directory very fast.\00"
@.str.5 = [79 x i8] c"By default hw searches in under your current directory except hidden files and\00"
@.str.6 = [80 x i8] c"paths from .gitignore, but you can search any directories or any files you want\00"
@.str.7 = [81 x i8] c"to search by specifying the PATHS, and you can specified multiple directories or\00"
@.str.8 = [28 x i8] c"files to the PATHS options.\00"
@.str.9 = [9 x i8] c"Example:\00"
@.str.10 = [37 x i8] c" hw hoge src/ include/ tmp/test.txt\00"
@.str.11 = [16 x i8] c"Search options:\00"
@.str.12 = [47 x i8] c" -a, --all-files Search all files.\00"
@.str.13 = [68 x i8] c" -e Parse PATTERN as a regular expression.\00"
@.str.14 = [46 x i8] c" -f, --follow-link Follow symlinks.\00"
@.str.15 = [55 x i8] c" -i, --ignore-case Match case insensitively.\00"
@.str.16 = [53 x i8] c" -w, --word-regexp Only match whole words.\00"
@.str.17 = [16 x i8] c"Output options:\00"
@.str.18 = [72 x i8] c" -l, --file-with-matches Only print filenames that contain matches.\00"
@.str.19 = [66 x i8] c" -n, --line-number Print line number with output lines.\00"
@.str.20 = [54 x i8] c" -N, --no-line-number Don't print line number.\00"
@.str.21 = [86 x i8] c" --no-omit Show all characters even if too long lines were matched.\00"
@.str.22 = [84 x i8] c" By default hw print only characters near by PATTERN if\00"
@.str.23 = [52 x i8] c" the line was too long.\00"
@.str.24 = [66 x i8] c" --group Grouping matching lines every files.\00"
@.str.25 = [42 x i8] c" --no-group No grouping.\00"
@.str.26 = [91 x i8] c" --no-buffering No buffering. By default results is buffering while printing.\00"
@.str.27 = [18 x i8] c"Coloring options:\00"
@.str.28 = [82 x i8] c" --color Highlight matching strings, filenames, line numbers.\00"
@.str.29 = [43 x i8] c" --no-color No highlight.\00"
@.str.30 = [51 x i8] c" --color-path Color for path names.\00"
@.str.31 = [57 x i8] c" --color-match Color for matching strings.\00"
@.str.32 = [53 x i8] c" --color-line-number Color for line numbers.\00"
@.str.33 = [75 x i8] c" --color-before-context Color for line numbers of the before context.\00"
@.str.34 = [74 x i8] c" --color-after-context Color for line numbers of the after context.\00"
@.str.35 = [17 x i8] c"Context control:\00"
@.str.36 = [59 x i8] c" -A, --after-context Print some lines after match.\00"
@.str.37 = [60 x i8] c" -B, --before-context Print some lines before match.\00"
@.str.38 = [72 x i8] c" -C, --context Print some lines before and after matches.\00"
@.str.39 = [72 x i8] c" -h, --help Show options help and some concept guides.\00"
@.str.40 = [43 x i8] c" --version Show version.\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.13, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.14, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.15, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.16, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.18, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.19, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.20, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.21, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.22, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.23, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.24, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.25, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.26, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.27, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.28, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.29, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.30, i64 0, i64 0))
%35 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.31, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.32, i64 0, i64 0))
%37 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.33, i64 0, i64 0))
%38 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.34, i64 0, i64 0))
%39 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0))
%41 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.36, i64 0, i64 0))
%42 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.37, i64 0, i64 0))
%43 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.38, i64 0, i64 0))
%44 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%45 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.39, i64 0, i64 0))
%46 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.40, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"%s\0A\00"
@.str.1 = [7 x i8] c"Usage:\00"
@.str.2 = [31 x i8] c" hw [OPTIONS] PATTERN [PATHS]\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [81 x i8] c"The highway searches a PATTERN from all of files under your directory very fast.\00"
@.str.5 = [79 x i8] c"By default hw searches in under your current directory except hidden files and\00"
@.str.6 = [80 x i8] c"paths from .gitignore, but you can search any directories or any files you want\00"
@.str.7 = [81 x i8] c"to search by specifying the PATHS, and you can specified multiple directories or\00"
@.str.8 = [28 x i8] c"files to the PATHS options.\00"
@.str.9 = [9 x i8] c"Example:\00"
@.str.10 = [37 x i8] c" hw hoge src/ include/ tmp/test.txt\00"
@.str.11 = [16 x i8] c"Search options:\00"
@.str.12 = [47 x i8] c" -a, --all-files Search all files.\00"
@.str.13 = [68 x i8] c" -e Parse PATTERN as a regular expression.\00"
@.str.14 = [46 x i8] c" -f, --follow-link Follow symlinks.\00"
@.str.15 = [55 x i8] c" -i, --ignore-case Match case insensitively.\00"
@.str.16 = [53 x i8] c" -w, --word-regexp Only match whole words.\00"
@.str.17 = [16 x i8] c"Output options:\00"
@.str.18 = [72 x i8] c" -l, --file-with-matches Only print filenames that contain matches.\00"
@.str.19 = [66 x i8] c" -n, --line-number Print line number with output lines.\00"
@.str.20 = [54 x i8] c" -N, --no-line-number Don't print line number.\00"
@.str.21 = [86 x i8] c" --no-omit Show all characters even if too long lines were matched.\00"
@.str.22 = [84 x i8] c" By default hw print only characters near by PATTERN if\00"
@.str.23 = [52 x i8] c" the line was too long.\00"
@.str.24 = [66 x i8] c" --group Grouping matching lines every files.\00"
@.str.25 = [42 x i8] c" --no-group No grouping.\00"
@.str.26 = [91 x i8] c" --no-buffering No buffering. By default results is buffering while printing.\00"
@.str.27 = [18 x i8] c"Coloring options:\00"
@.str.28 = [82 x i8] c" --color Highlight matching strings, filenames, line numbers.\00"
@.str.29 = [43 x i8] c" --no-color No highlight.\00"
@.str.30 = [51 x i8] c" --color-path Color for path names.\00"
@.str.31 = [57 x i8] c" --color-match Color for matching strings.\00"
@.str.32 = [53 x i8] c" --color-line-number Color for line numbers.\00"
@.str.33 = [75 x i8] c" --color-before-context Color for line numbers of the before context.\00"
@.str.34 = [74 x i8] c" --color-after-context Color for line numbers of the after context.\00"
@.str.35 = [17 x i8] c"Context control:\00"
@.str.36 = [59 x i8] c" -A, --after-context Print some lines after match.\00"
@.str.37 = [60 x i8] c" -B, --before-context Print some lines before match.\00"
@.str.38 = [72 x i8] c" -C, --context Print some lines before and after matches.\00"
@.str.39 = [72 x i8] c" -h, --help Show options help and some concept guides.\00"
@.str.40 = [43 x i8] c" --version Show version.\00"
define void @usage() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.4, i64 0, i64 0))
%5 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.6, i64 0, i64 0))
%7 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.7, i64 0, i64 0))
%8 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%9 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%10 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%13 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0))
%14 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.12, i64 0, i64 0))
%15 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.13, i64 0, i64 0))
%16 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.14, i64 0, i64 0))
%17 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.15, i64 0, i64 0))
%18 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.16, i64 0, i64 0))
%19 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%20 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0))
%21 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.18, i64 0, i64 0))
%22 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.19, i64 0, i64 0))
%23 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.20, i64 0, i64 0))
%24 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.21, i64 0, i64 0))
%25 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.22, i64 0, i64 0))
%26 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.23, i64 0, i64 0))
%27 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.24, i64 0, i64 0))
%28 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.25, i64 0, i64 0))
%29 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.26, i64 0, i64 0))
%30 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%31 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.27, i64 0, i64 0))
%32 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.28, i64 0, i64 0))
%33 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.29, i64 0, i64 0))
%34 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.30, i64 0, i64 0))
%35 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.31, i64 0, i64 0))
%36 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.32, i64 0, i64 0))
%37 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.33, i64 0, i64 0))
%38 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.34, i64 0, i64 0))
%39 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%40 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0))
%41 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.36, i64 0, i64 0))
%42 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.37, i64 0, i64 0))
%43 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.38, i64 0, i64 0))
%44 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%45 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.39, i64 0, i64 0))
%46 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.40, i64 0, i64 0))
ret void
}