#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 *);
int show_edge_usage() {
  printf("\nusage of medge"
         "\n  Quick edge detector"
         "\nmedge Q in-file out-file threshold (1/0) high"
         "\n  Sobel Kirsch Prewitt edge detectors"
         "\nmedge B in-file out-file threshold (1/0) high type (1,2,3)"
         "\n  Homogeneity edge detector"
         "\nmedge H in-file out-file threshold (1/0) high"
         "\n  Difference edge detector"
         "\nmedge D in-file out-file threshold (1/0) high"
         "\n  Contrast edge detector"
         "\nmedge C in-file out-file threshold (1/0) high"
         "\n  Range edge detector"
         "\nmedge R in-file out-file threshold (1/0) high size(3,5,7...)"
         "\n  Variance edge detector"
         "\nmedge V in-file out-file threshold (1/0) high"
         "\n  Guassian edge detector"
         "\nmedge G in-file out-file threshold (1/0) high size(7 or 9)"
         "\n  Enhance edges"
         "\nmedge E in-file out-file high "
         "\n");
  return (1);
}


x86 assembly (clang, -O0):
<show_edge_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_edge_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [685 x i8] c"\0Ausage of medge\0A Quick edge detector\0Amedge Q in-file out-file threshold (1/0) high\0A Sobel Kirsch Prewitt edge detectors\0Amedge B in-file out-file threshold (1/0) high type (1,2,3)\0A Homogeneity edge detector\0Amedge H in-file out-file threshold (1/0) high\0A Difference edge detector\0Amedge D in-file out-file threshold (1/0) high\0A Contrast edge detector\0Amedge C in-file out-file threshold (1/0) high\0A Range edge detector\0Amedge R in-file out-file threshold (1/0) high size(3,5,7...)\0A Variance edge detector\0Amedge V in-file out-file threshold (1/0) high\0A Guassian edge detector\0Amedge G in-file out-file threshold (1/0) high size(7 or 9)\0A Enhance edges\0Amedge E in-file out-file high \0A\00"
define i32 @show_edge_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([685 x i8], [685 x i8]* @.str, i64 0, i64 0))
ret i32 1
}

LLVM IR (-O2):
@str = [684 x i8] c"\0Ausage of medge\0A Quick edge detector\0Amedge Q in-file out-file threshold (1/0) high\0A Sobel Kirsch Prewitt edge detectors\0Amedge B in-file out-file threshold (1/0) high type (1,2,3)\0A Homogeneity edge detector\0Amedge H in-file out-file threshold (1/0) high\0A Difference edge detector\0Amedge D in-file out-file threshold (1/0) high\0A Contrast edge detector\0Amedge C in-file out-file threshold (1/0) high\0A Range edge detector\0Amedge R in-file out-file threshold (1/0) high size(3,5,7...)\0A Variance edge detector\0Amedge V in-file out-file threshold (1/0) high\0A Guassian edge detector\0Amedge G in-file out-file threshold (1/0) high size(7 or 9)\0A Enhance edges\0Amedge E in-file out-file high \00"
define i32 @show_edge_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([684 x i8], [684 x i8]* @str, i64 0, i64 0))
ret i32 1
}