#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*/ test_suite_end();
int /*<<< orphan*/ test_suite_start(char *);
void test_suite_usage(void) {
  test_suite_start("test_suite_a");
  test_suite_end();
  test_suite_start("test_suite_b");
  test_suite_start("test_suite_c");
  test_suite_end();
  test_suite_start("test_suite_d");
  test_suite_end();
  test_suite_end();
}


x86 assembly (clang, -O0):
<test_suite_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <test_suite_start@plt>
mov    $0x0,%al
call   1040 <test_suite_end@plt>
lea    0xecf(%rip),%rdi
call   1030 <test_suite_start@plt>
lea    0xed0(%rip),%rdi
call   1030 <test_suite_start@plt>
mov    $0x0,%al
call   1040 <test_suite_end@plt>
lea    0xeca(%rip),%rdi
call   1030 <test_suite_start@plt>
mov    $0x0,%al
call   1040 <test_suite_end@plt>
mov    $0x0,%al
call   1040 <test_suite_end@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_suite_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <test_suite_start@plt>
xor    %eax,%eax
call   1040 <test_suite_end@plt>
lea    0xed2(%rip),%rdi
call   1030 <test_suite_start@plt>
lea    0xed3(%rip),%rdi
call   1030 <test_suite_start@plt>
xor    %eax,%eax
call   1040 <test_suite_end@plt>
lea    0xecd(%rip),%rdi
call   1030 <test_suite_start@plt>
xor    %eax,%eax
call   1040 <test_suite_end@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <test_suite_end@plt>

LLVM IR (-O0):
@.str = [13 x i8] c"test_suite_a\00"
@.str.1 = [13 x i8] c"test_suite_b\00"
@.str.2 = [13 x i8] c"test_suite_c\00"
@.str.3 = [13 x i8] c"test_suite_d\00"
define void @test_suite_usage() {
%1 = call i32 @test_suite_start(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (...) @test_suite_end()
%3 = call i32 @test_suite_start(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @test_suite_start(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 (...) @test_suite_end()
%6 = call i32 @test_suite_start(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 (...) @test_suite_end()
%8 = call i32 (...) @test_suite_end()
ret void
}

LLVM IR (-O2):
@.str = [13 x i8] c"test_suite_a\00"
@.str.1 = [13 x i8] c"test_suite_b\00"
@.str.2 = [13 x i8] c"test_suite_c\00"
@.str.3 = [13 x i8] c"test_suite_d\00"
define void @test_suite_usage() {
%1 = tail call i32 @test_suite_start(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (...) @test_suite_end()
%3 = tail call i32 @test_suite_start(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @test_suite_start(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 (...) @test_suite_end()
%6 = tail call i32 @test_suite_start(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 (...) @test_suite_end()
%8 = tail call i32 (...) @test_suite_end()
ret void
}