void usage(s) char *s;
{
  printf("Usage:  %s [-c] [-l] [-f] [-sN] [-mN.N] [-n] <data-filename>  "
         "<postscript-outfile>\n",
         s);
  printf("\t-c    : cut  - prompts for corners of box to limit flow field.\n");
  printf("\t-l    : output for latex 2.7in.\n");
  printf("\t-f    : output for latex 6.0in.\n");
  printf(
      "\t-sN   : subsample - N is integer - uses every Nth point in x & y.\n");
  printf("\t-mN.N : multiply (scale) - multiplies all vectors by N.N\n");
  printf("\t-n    : no caption printed.\n");
  printf("\t-oN   : choose which pixel to use when subsampling\n");
  exit(-1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xec9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfcd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfdd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
mov    %rdi,%rsi
lea    0xec5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf0b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf54(%rip),%rdi
call   1030 <puts@plt>
lea    0xf69(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa0(%rip),%rdi
call   1030 <puts@plt>
lea    0xfce(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdf(%rip),%rdi
call   1030 <puts@plt>
mov    $0xffffffff,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [84 x i8] c"Usage: %s [-c] [-l] [-f] [-sN] [-mN.N] [-n] <data-filename> <postscript-outfile>\0A\00"
@.str.1 = [65 x i8] c"\09-c : cut - prompts for corners of box to limit flow field.\0A\00"
@.str.2 = [34 x i8] c"\09-l : output for latex 2.7in.\0A\00"
@.str.3 = [34 x i8] c"\09-f : output for latex 6.0in.\0A\00"
@.str.4 = [68 x i8] c"\09-sN : subsample - N is integer - uses every Nth point in x & y.\0A\00"
@.str.5 = [59 x i8] c"\09-mN.N : multiply (scale) - multiplies all vectors by N.N\0A\00"
@.str.6 = [30 x i8] c"\09-n : no caption printed.\0A\00"
@.str.7 = [53 x i8] c"\09-oN : choose which pixel to use when subsampling\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
unreachable
}

LLVM IR (-O2):
@.str = [84 x i8] c"Usage: %s [-c] [-l] [-f] [-sN] [-mN.N] [-n] <data-filename> <postscript-outfile>\0A\00"
@str = [64 x i8] c"\09-c : cut - prompts for corners of box to limit flow field.\00"
@str.8 = [33 x i8] c"\09-l : output for latex 2.7in.\00"
@str.9 = [33 x i8] c"\09-f : output for latex 6.0in.\00"
@str.10 = [67 x i8] c"\09-sN : subsample - N is integer - uses every Nth point in x & y.\00"
@str.11 = [58 x i8] c"\09-mN.N : multiply (scale) - multiplies all vectors by N.N\00"
@str.12 = [29 x i8] c"\09-n : no caption printed.\00"
@str.13 = [52 x i8] c"\09-oN : choose which pixel to use when subsampling\00"
define void @usage(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.8, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.9, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.10, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.11, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.12, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.13, i64 0, i64 0))
tail call void @exit(i32 -1)
unreachable
}