#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 test_ft_bzero();
int test_ft_memccpy();
int test_ft_memchr();
int test_ft_memcmp();
int test_ft_memcpy();
int test_ft_memset();
int tests_mem() {
  do {
    int r = test_ft_memset();
    if (0 && r)
      return (r);
  } while (0);
  do {
    int r = test_ft_bzero();
    if (0 && r)
      return (r);
  } while (0);
  do {
    int r = test_ft_memcpy();
    if (0 && r)
      return (r);
  } while (0);
  do {
    int r = test_ft_memccpy();
    if (0 && r)
      return (r);
  } while (0);
  do {
    int r = test_ft_memchr();
    if (0 && r)
      return (r);
  } while (0);
  do {
    int r = test_ft_memcmp();
    if (0 && r)
      return (r);
  } while (0);
  return (0);
}


x86 assembly (clang, -O0):
<tests_mem>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    $0x0,%al
call   1080 <test_ft_memset@plt>
mov    %eax,-0x4(%rbp)
jmp    1177 <tests_mem+0x17>
mov    $0x0,%al
call   1040 <test_ft_bzero@plt>
mov    %eax,-0x8(%rbp)
jmp    1186 <tests_mem+0x26>
mov    $0x0,%al
call   1070 <test_ft_memcpy@plt>
mov    %eax,-0xc(%rbp)
jmp    1195 <tests_mem+0x35>
mov    $0x0,%al
call   1060 <test_ft_memccpy@plt>
mov    %eax,-0x10(%rbp)
jmp    11a4 <tests_mem+0x44>
mov    $0x0,%al
call   1050 <test_ft_memchr@plt>
mov    %eax,-0x14(%rbp)
jmp    11b3 <tests_mem+0x53>
mov    $0x0,%al
call   1030 <test_ft_memcmp@plt>
mov    %eax,-0x18(%rbp)
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tests_mem>:
push   %rax
xor    %eax,%eax
call   1080 <test_ft_memset@plt>
xor    %eax,%eax
call   1040 <test_ft_bzero@plt>
xor    %eax,%eax
call   1070 <test_ft_memcpy@plt>
xor    %eax,%eax
call   1060 <test_ft_memccpy@plt>
xor    %eax,%eax
call   1050 <test_ft_memchr@plt>
xor    %eax,%eax
call   1030 <test_ft_memcmp@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @tests_mem() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
br label %7
7: ; preds = %0
%8 = call i32 (...) @test_ft_memset()
store i32 %8, i32* %1
br label %9
9: ; preds = %7
br label %10
10: ; preds = %9
%11 = call i32 (...) @test_ft_bzero()
store i32 %11, i32* %2
br label %12
12: ; preds = %10
br label %13
13: ; preds = %12
%14 = call i32 (...) @test_ft_memcpy()
store i32 %14, i32* %3
br label %15
15: ; preds = %13
br label %16
16: ; preds = %15
%17 = call i32 (...) @test_ft_memccpy()
store i32 %17, i32* %4
br label %18
18: ; preds = %16
br label %19
19: ; preds = %18
%20 = call i32 (...) @test_ft_memchr()
store i32 %20, i32* %5
br label %21
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = call i32 (...) @test_ft_memcmp()
store i32 %23, i32* %6
br label %24
24: ; preds = %22
ret i32 0
}

LLVM IR (-O2):
define i32 @tests_mem() {
%1 = tail call i32 (...) @test_ft_memset()
%2 = tail call i32 (...) @test_ft_bzero()
%3 = tail call i32 (...) @test_ft_memcpy()
%4 = tail call i32 (...) @test_ft_memccpy()
%5 = tail call i32 (...) @test_ft_memchr()
%6 = tail call i32 (...) @test_ft_memcmp()
ret i32 0
}