#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 main() {
  printf("NOTE:\n");
  printf("<start> is the start of escape sequences\n");
  printf("<end> is the end of escape sequences\n\n");
  printf("Newline(NL/LF):<start>\n<end>\n");
  printf("Horizontal tab(HT):<start>\t<end>\n");
  printf("Vertical tab(VT):<start>\v<end>\n");
  printf("Backspace(BS):<start>\b<end>\n");
  printf("Carriage return(CR):<start>\r<end>\n");
  printf("Formfeed(FF):<start>\f<end>\n");
  printf("Audible alert(BEL):<start>\a<end>\n");
  printf("backslash:<start>\\<end>\n");
  printf("question mark:<start>\?<end>\n");
  printf("single quote:<start>\'<end>\n");
  printf("double quote:<start>\"<end>\n");
  printf("octal number:<start>\101<end>\n");
  printf("hex number:<start>\x41<end>\n");
  printf("NUL(special \\ooo):<start>\0<end>\n");
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
call   1030 <printf@plt>
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef3(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf20(%rip),%rdi
call   1030 <printf@plt>
lea    0xf36(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf72(%rip),%rdi
call   1030 <printf@plt>
lea    0xf82(%rip),%rdi
call   1030 <printf@plt>
lea    0xf98(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe6(%rip),%rdi
call   1030 <printf@plt>
lea    0xff4(%rip),%rdi
call   1030 <printf@plt>
lea    0xe64(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee9(%rip),%rdi
call   1040 <puts@plt>
lea    0xee3(%rip),%rdi
call   1040 <puts@plt>
lea    0xf00(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1a(%rip),%rdi
call   1040 <puts@plt>
lea    0xf2b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf40(%rip),%rdi
call   1040 <puts@plt>
lea    0xf53(%rip),%rdi
call   1040 <puts@plt>
lea    0xf63(%rip),%rdi
call   1040 <puts@plt>
lea    0xf79(%rip),%rdi
call   1040 <puts@plt>
lea    0xf88(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9d(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa9(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb9(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc8(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd7(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe6(%rip),%rdi
call   1040 <puts@plt>
lea    0xe08(%rip),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [7 x i8] c"NOTE:\0A\00"
@.str.1 = [42 x i8] c"<start> is the start of escape sequences\0A\00"
@.str.2 = [39 x i8] c"<end> is the end of escape sequences\0A\0A\00"
@.str.3 = [30 x i8] c"Newline(NL/LF):<start>\0A<end>\0A\00"
@.str.4 = [34 x i8] c"Horizontal tab(HT):<start>\09<end>\0A\00"
@.str.5 = [32 x i8] c"Vertical tab(VT):<start>\0B<end>\0A\00"
@.str.6 = [29 x i8] c"Backspace(BS):<start>\08<end>\0A\00"
@.str.7 = [35 x i8] c"Carriage return(CR):<start>\0D<end>\0A\00"
@.str.8 = [28 x i8] c"Formfeed(FF):<start>\0C<end>\0A\00"
@.str.9 = [34 x i8] c"Audible alert(BEL):<start>\07<end>\0A\00"
@.str.10 = [25 x i8] c"backslash:<start>\\<end>\0A\00"
@.str.11 = [29 x i8] c"question mark:<start>?<end>\0A\00"
@.str.12 = [28 x i8] c"single quote:<start>'<end>\0A\00"
@.str.13 = [28 x i8] c"double quote:<start>\22<end>\0A\00"
@.str.14 = [28 x i8] c"octal number:<start>A<end>\0A\00"
@.str.15 = [26 x i8] c"hex number:<start>A<end>\0A\00"
@.str.16 = [33 x i8] c"NUL(special \\ooo):<start>\00<end>\0A\00"
@.str.17 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.13, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.15, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.16, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.16 = [33 x i8] c"NUL(special \\ooo):<start>\00<end>\0A\00"
@str = [6 x i8] c"NOTE:\00"
@str.18 = [41 x i8] c"<start> is the start of escape sequences\00"
@str.19 = [38 x i8] c"<end> is the end of escape sequences\0A\00"
@str.20 = [29 x i8] c"Newline(NL/LF):<start>\0A<end>\00"
@str.21 = [33 x i8] c"Horizontal tab(HT):<start>\09<end>\00"
@str.22 = [31 x i8] c"Vertical tab(VT):<start>\0B<end>\00"
@str.23 = [28 x i8] c"Backspace(BS):<start>\08<end>\00"
@str.24 = [34 x i8] c"Carriage return(CR):<start>\0D<end>\00"
@str.25 = [27 x i8] c"Formfeed(FF):<start>\0C<end>\00"
@str.26 = [33 x i8] c"Audible alert(BEL):<start>\07<end>\00"
@str.27 = [24 x i8] c"backslash:<start>\\<end>\00"
@str.28 = [28 x i8] c"question mark:<start>?<end>\00"
@str.29 = [27 x i8] c"single quote:<start>'<end>\00"
@str.30 = [27 x i8] c"double quote:<start>\22<end>\00"
@str.31 = [27 x i8] c"octal number:<start>A<end>\00"
@str.32 = [25 x i8] c"hex number:<start>A<end>\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.18, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.19, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.20, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.21, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.22, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.23, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.24, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.25, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.26, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.27, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.28, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.29, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.30, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.32, i64 0, i64 0))
%17 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.16, i64 0, i64 0))
%18 = tail call i32 @putchar(i32 10)
ret i32 0
}