int main() {
  unsigned char *ac = "ArchC - Architecture Description Language\n";
  unsigned char *lsc = "Computer System Laboratory\n";
  unsigned char *ic = "Institute of Computing - UNICAMP\n";
  unsigned char *p;
  unsigned int count;
  p = ac;
  count = 0;
  while (*p) {
    p++;
    count++;
  }
  count = 0;
  p = lsc;
  count = 0;
  while (*p) {
    p++;
    count++;
  }
  count = 0;
  p = ic;
  count = 0;
  while (*p) {
    p++;
    count++;
  }
  count = 0;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
lea    0xeee(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    0xf0e(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xf1f(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x28(%rbp),%rax
cmpb   $0x0,(%rax)
je     1162 <main+0x62>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    113b <main+0x3b>
movl   $0x0,-0x2c(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x28(%rbp),%rax
cmpb   $0x0,(%rax)
je     119f <main+0x9f>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1178 <main+0x78>
movl   $0x0,-0x2c(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x28(%rbp),%rax
cmpb   $0x0,(%rax)
je     11dc <main+0xdc>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11b5 <main+0xb5>
movl   $0x0,-0x2c(%rbp)
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
xor    %eax,%eax
ret

LLVM IR (-O0):
@.str = [43 x i8] c"ArchC - Architecture Description Language\0A\00"
@.str.1 = [28 x i8] c"Computer System Laboratory\0A\00"
@.str.2 = [34 x i8] c"Institute of Computing - UNICAMP\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i32
store i32 0, i32* %1
store i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i8** %2
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i8** %4
%7 = load i8*, i8** %2
store i8* %7, i8** %5
store i32 0, i32* %6
br label %8
8: ; preds = %12, %0
%9 = load i8*, i8** %5
%10 = load i8, i8* %9
%11 = icmp ne i8 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load i8*, i8** %5
%14 = getelementptr inbounds i8, i8* %13, i32 1
store i8* %14, i8** %5
%15 = load i32, i32* %6
%16 = add i32 %15, 1
store i32 %16, i32* %6
br label %8
17: ; preds = %8
store i32 0, i32* %6
%18 = load i8*, i8** %3
store i8* %18, i8** %5
store i32 0, i32* %6
br label %19
19: ; preds = %23, %17
%20 = load i8*, i8** %5
%21 = load i8, i8* %20
%22 = icmp ne i8 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = load i8*, i8** %5
%25 = getelementptr inbounds i8, i8* %24, i32 1
store i8* %25, i8** %5
%26 = load i32, i32* %6
%27 = add i32 %26, 1
store i32 %27, i32* %6
br label %19
28: ; preds = %19
store i32 0, i32* %6
%29 = load i8*, i8** %4
store i8* %29, i8** %5
store i32 0, i32* %6
br label %30
30: ; preds = %34, %28
%31 = load i8*, i8** %5
%32 = load i8, i8* %31
%33 = icmp ne i8 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %30
%35 = load i8*, i8** %5
%36 = getelementptr inbounds i8, i8* %35, i32 1
store i8* %36, i8** %5
%37 = load i32, i32* %6
%38 = add i32 %37, 1
store i32 %38, i32* %6
br label %30
39: ; preds = %30
store i32 0, i32* %6
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
ret i32 0
}