#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 */
struct prog_info {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ free(struct prog_info *);
int /*<<< orphan*/ free_blacklist(struct prog_info *);
int /*<<< orphan*/ free_constants(struct prog_info *);
int /*<<< orphan*/ free_defs(struct prog_info *);
int /*<<< orphan*/ free_labels(struct prog_info *);
int /*<<< orphan*/ free_orglist(struct prog_info *);
int /*<<< orphan*/ free_variables(struct prog_info *);
void free_pi(struct prog_info *pi) {
  free_defs(pi);
  free_labels(pi);
  free_constants(pi);
  free_variables(pi);
  free_blacklist(pi);
  free_orglist(pi);
  free(pi);
}


x86 assembly (clang, -O0):
<free_pi>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
call   1040 <free_defs@plt>
mov    -0x8(%rbp),%rdi
call   1070 <free_labels@plt>
mov    -0x8(%rbp),%rdi
call   1090 <free_constants@plt>
mov    -0x8(%rbp),%rdi
call   1060 <free_variables@plt>
mov    -0x8(%rbp),%rdi
call   1050 <free_blacklist@plt>
mov    -0x8(%rbp),%rdi
call   1080 <free_orglist@plt>
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<free_pi>:
push   %rbx
mov    %rdi,%rbx
call   1040 <free_defs@plt>
mov    %rbx,%rdi
call   1070 <free_labels@plt>
mov    %rbx,%rdi
call   1090 <free_constants@plt>
mov    %rbx,%rdi
call   1060 <free_variables@plt>
mov    %rbx,%rdi
call   1050 <free_blacklist@plt>
mov    %rbx,%rdi
call   1080 <free_orglist@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <free@plt>

LLVM IR (-O0):
%struct.prog_info = type { i32 }
define void @free_pi(%struct.prog_info* %0) {
%2 = alloca %struct.prog_info*
store %struct.prog_info* %0, %struct.prog_info** %2
%3 = load %struct.prog_info*, %struct.prog_info** %2
%4 = call i32 @free_defs(%struct.prog_info* %3)
%5 = load %struct.prog_info*, %struct.prog_info** %2
%6 = call i32 @free_labels(%struct.prog_info* %5)
%7 = load %struct.prog_info*, %struct.prog_info** %2
%8 = call i32 @free_constants(%struct.prog_info* %7)
%9 = load %struct.prog_info*, %struct.prog_info** %2
%10 = call i32 @free_variables(%struct.prog_info* %9)
%11 = load %struct.prog_info*, %struct.prog_info** %2
%12 = call i32 @free_blacklist(%struct.prog_info* %11)
%13 = load %struct.prog_info*, %struct.prog_info** %2
%14 = call i32 @free_orglist(%struct.prog_info* %13)
%15 = load %struct.prog_info*, %struct.prog_info** %2
%16 = call i32 @free(%struct.prog_info* %15)
ret void
}

LLVM IR (-O2):
%struct.prog_info = type { i32 }
define void @free_pi(%struct.prog_info* %0) {
%2 = tail call i32 @free_defs(%struct.prog_info* %0)
%3 = tail call i32 @free_labels(%struct.prog_info* %0)
%4 = tail call i32 @free_constants(%struct.prog_info* %0)
%5 = tail call i32 @free_variables(%struct.prog_info* %0)
%6 = tail call i32 @free_blacklist(%struct.prog_info* %0)
%7 = tail call i32 @free_orglist(%struct.prog_info* %0)
%8 = tail call i32 @free(%struct.prog_info* %0)
ret void
}