#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*/ unlink(char *);
rmfiles() {
  unlink("t10b");
  unlink("t10c");
  unlink("t10d");
  unlink("t10e");
  unlink("t10f");
  unlink("t10g");
  unlink("t10h");
  unlink("t10i");
  unlink("t10j");
}


x86 assembly (clang, -O0):
<rmfiles>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xee1(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeda(%rip),%rdi
call   1030 <unlink@plt>
lea    0xed3(%rip),%rdi
call   1030 <unlink@plt>
lea    0xecc(%rip),%rdi
call   1030 <unlink@plt>
lea    0xec5(%rip),%rdi
call   1030 <unlink@plt>
lea    0xebe(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeb7(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeb0(%rip),%rdi
call   1030 <unlink@plt>
lea    0xea9(%rip),%rdi
call   1030 <unlink@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rmfiles>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <unlink@plt>
lea    0xee1(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeda(%rip),%rdi
call   1030 <unlink@plt>
lea    0xed3(%rip),%rdi
call   1030 <unlink@plt>
lea    0xecc(%rip),%rdi
call   1030 <unlink@plt>
lea    0xec5(%rip),%rdi
call   1030 <unlink@plt>
lea    0xebe(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeb7(%rip),%rdi
call   1030 <unlink@plt>
lea    0xeb0(%rip),%rdi
pop    %rax
jmp    1030 <unlink@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"t10b\00"
@.str.1 = [5 x i8] c"t10c\00"
@.str.2 = [5 x i8] c"t10d\00"
@.str.3 = [5 x i8] c"t10e\00"
@.str.4 = [5 x i8] c"t10f\00"
@.str.5 = [5 x i8] c"t10g\00"
@.str.6 = [5 x i8] c"t10h\00"
@.str.7 = [5 x i8] c"t10i\00"
@.str.8 = [5 x i8] c"t10j\00"
define i32 @rmfiles() {
%1 = alloca i32
%2 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%11 = load i32, i32* %1
ret i32 %11
}

LLVM IR (-O2):
@.str = [5 x i8] c"t10b\00"
@.str.1 = [5 x i8] c"t10c\00"
@.str.2 = [5 x i8] c"t10d\00"
@.str.3 = [5 x i8] c"t10e\00"
@.str.4 = [5 x i8] c"t10f\00"
@.str.5 = [5 x i8] c"t10g\00"
@.str.6 = [5 x i8] c"t10h\00"
@.str.7 = [5 x i8] c"t10i\00"
@.str.8 = [5 x i8] c"t10j\00"
define i32 @rmfiles() {
%1 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @unlink(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
ret i32 undef
}