#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("Hello World!\n");
  printf("\nC语言的字符串两边用双引号\"...\"\n");
  printf("如果需要输出双引号\"，需要在\"前面加\\\n");
  printf("其中反斜杠\\为转意符，其后配合字母、符号可以输出特殊字符。\n");
  printf("如果需要输出反斜杠\\，在字符串内要写作\\\\\n");
  printf("\\n为换行符。\n这里另起一行了\n");
  printf("另一个\t重要\tsymbol\t是\t制表符\\t\n");
  printf("它\t可以\t使\t输出\t变得\t整齐\n\n");
  printf("其他常用特殊字符：\n");
  printf("\\\'\t单引号\'\n");
  printf("\\0\t(null)，字符串结尾标示符\n");
  printf("\\\?\t问号\?\n");
  printf("\\b\t退格符(backspace)\n");
  printf("\\r\t回车符(return)\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    0xedc(%rip),%rdi
call   1030 <printf@plt>
lea    0xefd(%rip),%rdi
call   1030 <printf@plt>
lea    0xf26(%rip),%rdi
call   1030 <printf@plt>
lea    0xf71(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa0(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbd(%rip),%rdi
call   1030 <printf@plt>
lea    0xfda(%rip),%rdi
call   1030 <printf@plt>
lea    0xff4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1005(%rip),%rdi
call   1030 <printf@plt>
lea    0x1008(%rip),%rdi
call   1030 <printf@plt>
lea    0x1022(%rip),%rdi
call   1030 <printf@plt>
lea    0x1022(%rip),%rdi
call   1030 <printf@plt>
lea    0x102f(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee9(%rip),%rdi
call   1030 <puts@plt>
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7b(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe1(%rip),%rdi
call   1030 <puts@plt>
lea    0xffa(%rip),%rdi
call   1030 <puts@plt>
lea    0x100a(%rip),%rdi
call   1030 <puts@plt>
lea    0x100c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1025(%rip),%rdi
call   1030 <puts@plt>
lea    0x1024(%rip),%rdi
call   1030 <puts@plt>
lea    0x1030(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [14 x i8] c"Hello World!\0A\00"
@.str.1 = [45 x i8] c"\0AC\E8\AF\AD\E8\A8\80\E7\9A\84\E5\AD\97\E7\AC\A6\E4\B8\B2\E4\B8\A4\E8\BE\B9\E7\94\A8\E5\8F\8C\E5\BC\95\E5\8F\B7\22...\22\0A\00"
@.str.2 = [53 x i8] c"\E5\A6\82\E6\9E\9C\E9\9C\80\E8\A6\81\E8\BE\93\E5\87\BA\E5\8F\8C\E5\BC\95\E5\8F\B7\22\EF\BC\8C\E9\9C\80\E8\A6\81\E5\9C\A8\22\E5\89\8D\E9\9D\A2\E5\8A\A0\\\0A\00"
@.str.3 = [87 x i8] c"\E5\85\B6\E4\B8\AD\E5\8F\8D\E6\96\9C\E6\9D\A0\\\E4\B8\BA\E8\BD\AC\E6\84\8F\E7\AC\A6\EF\BC\8C\E5\85\B6\E5\90\8E\E9\85\8D\E5\90\88\E5\AD\97\E6\AF\8D\E3\80\81\E7\AC\A6\E5\8F\B7\E5\8F\AF\E4\BB\A5\E8\BE\93\E5\87\BA\E7\89\B9\E6\AE\8A\E5\AD\97\E7\AC\A6\E3\80\82\0A\00"
@.str.4 = [59 x i8] c"\E5\A6\82\E6\9E\9C\E9\9C\80\E8\A6\81\E8\BE\93\E5\87\BA\E5\8F\8D\E6\96\9C\E6\9D\A0\\\EF\BC\8C\E5\9C\A8\E5\AD\97\E7\AC\A6\E4\B8\B2\E5\86\85\E8\A6\81\E5\86\99\E4\BD\9C\\\\\0A\00"
@.str.5 = [41 x i8] c"\\n\E4\B8\BA\E6\8D\A2\E8\A1\8C\E7\AC\A6\E3\80\82\0A\E8\BF\99\E9\87\8C\E5\8F\A6\E8\B5\B7\E4\B8\80\E8\A1\8C\E4\BA\86\0A\00"
@.str.6 = [41 x i8] c"\E5\8F\A6\E4\B8\80\E4\B8\AA\09\E9\87\8D\E8\A6\81\09symbol\09\E6\98\AF\09\E5\88\B6\E8\A1\A8\E7\AC\A6\\t\0A\00"
@.str.7 = [38 x i8] c"\E5\AE\83\09\E5\8F\AF\E4\BB\A5\09\E4\BD\BF\09\E8\BE\93\E5\87\BA\09\E5\8F\98\E5\BE\97\09\E6\95\B4\E9\BD\90\0A\0A\00"
@.str.8 = [29 x i8] c"\E5\85\B6\E4\BB\96\E5\B8\B8\E7\94\A8\E7\89\B9\E6\AE\8A\E5\AD\97\E7\AC\A6\EF\BC\9A\0A\00"
@.str.9 = [15 x i8] c"\\'\09\E5\8D\95\E5\BC\95\E5\8F\B7'\0A\00"
@.str.10 = [38 x i8] c"\\0\09(null)\EF\BC\8C\E5\AD\97\E7\AC\A6\E4\B8\B2\E7\BB\93\E5\B0\BE\E6\A0\87\E7\A4\BA\E7\AC\A6\0A\00"
@.str.11 = [12 x i8] c"\\?\09\E9\97\AE\E5\8F\B7?\0A\00"
@.str.12 = [25 x i8] c"\\b\09\E9\80\80\E6\A0\BC\E7\AC\A6(backspace)\0A\00"
@.str.13 = [22 x i8] c"\\r\09\E5\9B\9E\E8\BD\A6\E7\AC\A6(return)\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@str = [13 x i8] c"Hello World!\00"
@str.14 = [44 x i8] c"\0AC\E8\AF\AD\E8\A8\80\E7\9A\84\E5\AD\97\E7\AC\A6\E4\B8\B2\E4\B8\A4\E8\BE\B9\E7\94\A8\E5\8F\8C\E5\BC\95\E5\8F\B7\22...\22\00"
@str.15 = [52 x i8] c"\E5\A6\82\E6\9E\9C\E9\9C\80\E8\A6\81\E8\BE\93\E5\87\BA\E5\8F\8C\E5\BC\95\E5\8F\B7\22\EF\BC\8C\E9\9C\80\E8\A6\81\E5\9C\A8\22\E5\89\8D\E9\9D\A2\E5\8A\A0\\\00"
@str.16 = [86 x i8] c"\E5\85\B6\E4\B8\AD\E5\8F\8D\E6\96\9C\E6\9D\A0\\\E4\B8\BA\E8\BD\AC\E6\84\8F\E7\AC\A6\EF\BC\8C\E5\85\B6\E5\90\8E\E9\85\8D\E5\90\88\E5\AD\97\E6\AF\8D\E3\80\81\E7\AC\A6\E5\8F\B7\E5\8F\AF\E4\BB\A5\E8\BE\93\E5\87\BA\E7\89\B9\E6\AE\8A\E5\AD\97\E7\AC\A6\E3\80\82\00"
@str.17 = [58 x i8] c"\E5\A6\82\E6\9E\9C\E9\9C\80\E8\A6\81\E8\BE\93\E5\87\BA\E5\8F\8D\E6\96\9C\E6\9D\A0\\\EF\BC\8C\E5\9C\A8\E5\AD\97\E7\AC\A6\E4\B8\B2\E5\86\85\E8\A6\81\E5\86\99\E4\BD\9C\\\\\00"
@str.18 = [40 x i8] c"\\n\E4\B8\BA\E6\8D\A2\E8\A1\8C\E7\AC\A6\E3\80\82\0A\E8\BF\99\E9\87\8C\E5\8F\A6\E8\B5\B7\E4\B8\80\E8\A1\8C\E4\BA\86\00"
@str.19 = [40 x i8] c"\E5\8F\A6\E4\B8\80\E4\B8\AA\09\E9\87\8D\E8\A6\81\09symbol\09\E6\98\AF\09\E5\88\B6\E8\A1\A8\E7\AC\A6\\t\00"
@str.20 = [37 x i8] c"\E5\AE\83\09\E5\8F\AF\E4\BB\A5\09\E4\BD\BF\09\E8\BE\93\E5\87\BA\09\E5\8F\98\E5\BE\97\09\E6\95\B4\E9\BD\90\0A\00"
@str.21 = [28 x i8] c"\E5\85\B6\E4\BB\96\E5\B8\B8\E7\94\A8\E7\89\B9\E6\AE\8A\E5\AD\97\E7\AC\A6\EF\BC\9A\00"
@str.22 = [14 x i8] c"\\'\09\E5\8D\95\E5\BC\95\E5\8F\B7'\00"
@str.23 = [37 x i8] c"\\0\09(null)\EF\BC\8C\E5\AD\97\E7\AC\A6\E4\B8\B2\E7\BB\93\E5\B0\BE\E6\A0\87\E7\A4\BA\E7\AC\A6\00"
@str.24 = [11 x i8] c"\\?\09\E9\97\AE\E5\8F\B7?\00"
@str.25 = [24 x i8] c"\\b\09\E9\80\80\E6\A0\BC\E7\AC\A6(backspace)\00"
@str.26 = [21 x i8] c"\\r\09\E5\9B\9E\E8\BD\A6\E7\AC\A6(return)\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.14, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.15, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.16, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.17, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.18, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.19, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.20, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.26, i64 0, i64 0))
ret i32 0
}