#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*/ f1_1(void *);
int /*<<< orphan*/ f2_1(void *, void *);
int /*<<< orphan*/ f2_1_2(void *, void *);
int /*<<< orphan*/ f3_1_3(void *, void *, void *);
int /*<<< orphan*/ g16_1_3_5_7_11_13(void *, void *, void *, void *, void *,
                                     void *, void *, void *, void *, void *,
                                     void *, void *, void *, void *, void *,
                                     void *);
int /*<<< orphan*/ g4_1_2_4(void *, void *, void *, void *);
int /*<<< orphan*/ g4_1_3_4(void *, void *, void *, void *);
int /*<<< orphan*/ g4_2_3_4(void *, void *, void *, void *);
int /*<<< orphan*/ g4_all(void *, void *, void *, void *);
void *null();
void *px;
void test(void) {
  void *p0 = null();
  void *px = &px;
  f1_1(p0);
  f1_1(px);
  f2_1(p0, px);
  f2_1(px, p0);
  f2_1(p0, p0);
  f2_1_2(p0, px);
  f2_1_2(px, p0);
  f2_1_2(p0, p0);
  f3_1_3(p0, px, px);
  f3_1_3(px, p0, px);
  f3_1_3(px, px, p0);
  f3_1_3(p0, p0, px);
  f3_1_3(px, p0, p0);
  f3_1_3(p0, p0, p0);
  g4_1_2_4(p0, px, px, px);
  g4_1_2_4(px, p0, px, px);
  g4_1_2_4(px, px, p0, px);
  g4_1_2_4(px, px, px, p0);
  g4_1_3_4(p0, px, px, px);
  g4_1_3_4(px, p0, px, px);
  g4_1_3_4(px, px, p0, px);
  g4_1_3_4(px, px, px, p0);
  g4_2_3_4(p0, px, px, px);
  g4_2_3_4(px, p0, px, px);
  g4_2_3_4(px, px, p0, px);
  g4_2_3_4(px, px, px, p0);
  g4_all(p0, px, px, px);
  g4_all(px, p0, px, px);
  g4_all(px, px, p0, px);
  g4_all(px, px, px, p0);
  g16_1_3_5_7_11_13(px, px, px, px, px, px, px, px, px, px, px, px, px, px, px,
                    px);
  g16_1_3_5_7_11_13(px, p0, px, p0, px, p0, px, p0, p0, p0, px, p0, p0, p0, p0,
                    p0);
}


x86 assembly (clang, -O0):
<test>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    $0x0,%al
call   1060 <null@plt>
mov    %rax,-0x30(%rbp)
lea    -0x38(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x30(%rbp),%rdi
call   1080 <f1_1@plt>
mov    -0x38(%rbp),%rdi
call   1080 <f1_1@plt>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
call   1030 <f2_1@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   1030 <f2_1@plt>
mov    -0x30(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   1030 <f2_1@plt>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
call   1050 <f2_1_2@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   1050 <f2_1_2@plt>
mov    -0x30(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   1050 <f2_1_2@plt>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
call   10b0 <f3_1_3@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
call   10b0 <f3_1_3@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x30(%rbp),%rdx
call   10b0 <f3_1_3@plt>
mov    -0x30(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
call   10b0 <f3_1_3@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x30(%rbp),%rdx
call   10b0 <f3_1_3@plt>
mov    -0x30(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x30(%rbp),%rdx
call   10b0 <f3_1_3@plt>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   1070 <g4_1_2_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   1070 <g4_1_2_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   1070 <g4_1_2_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x30(%rbp),%rcx
call   1070 <g4_1_2_4@plt>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   10a0 <g4_1_3_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   10a0 <g4_1_3_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   10a0 <g4_1_3_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x30(%rbp),%rcx
call   10a0 <g4_1_3_4@plt>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   10c0 <g4_2_3_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   10c0 <g4_2_3_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   10c0 <g4_2_3_4@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x30(%rbp),%rcx
call   10c0 <g4_2_3_4@plt>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   1090 <g4_all@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   1090 <g4_all@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x38(%rbp),%rcx
call   1090 <g4_all@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x30(%rbp),%rcx
call   1090 <g4_all@plt>
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x38(%rbp),%rcx
mov    -0x38(%rbp),%r8
mov    -0x38(%rbp),%r9
mov    -0x38(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x38(%rbp),%r13
mov    -0x38(%rbp),%r12
mov    -0x38(%rbp),%r15
mov    -0x38(%rbp),%r14
mov    -0x38(%rbp),%rbx
mov    -0x38(%rbp),%r11
mov    -0x38(%rbp),%r10
mov    -0x38(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x68(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x60(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x58(%rbp),%rax
mov    %r13,0x10(%rsp)
mov    %r12,0x18(%rsp)
mov    %r15,0x20(%rsp)
mov    %r14,0x28(%rsp)
mov    %rbx,0x30(%rsp)
mov    %r11,0x38(%rsp)
mov    %r10,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1040 <g16_1_3_5_7_11_13@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x38(%rbp),%r8
mov    -0x30(%rbp),%r9
mov    -0x38(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x30(%rbp),%r13
mov    -0x30(%rbp),%r12
mov    -0x38(%rbp),%r15
mov    -0x30(%rbp),%r14
mov    -0x30(%rbp),%rbx
mov    -0x30(%rbp),%r11
mov    -0x30(%rbp),%r10
mov    -0x30(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x48(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x40(%rbp),%rax
mov    %r13,0x10(%rsp)
mov    %r12,0x18(%rsp)
mov    %r15,0x20(%rsp)
mov    %r14,0x28(%rsp)
mov    %rbx,0x30(%rsp)
mov    %r11,0x38(%rsp)
mov    %r10,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1040 <g16_1_3_5_7_11_13@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<test>:
push   %rbx
sub    $0x10,%rsp
xor    %eax,%eax
call   1060 <null@plt>
mov    %rax,%rbx
lea    0x8(%rsp),%rax
mov    %rax,0x8(%rsp)
mov    %rbx,%rdi
call   1080 <f1_1@plt>
mov    0x8(%rsp),%rdi
call   1080 <f1_1@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1030 <f2_1@plt>
mov    0x8(%rsp),%rdi
mov    %rbx,%rsi
call   1030 <f2_1@plt>
mov    %rbx,%rdi
mov    %rbx,%rsi
call   1030 <f2_1@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <f2_1_2@plt>
mov    0x8(%rsp),%rdi
mov    %rbx,%rsi
call   1050 <f2_1_2@plt>
mov    %rbx,%rdi
mov    %rbx,%rsi
call   1050 <f2_1_2@plt>
mov    0x8(%rsp),%rdx
mov    %rbx,%rdi
mov    %rdx,%rsi
call   10b0 <f3_1_3@plt>
mov    0x8(%rsp),%rdi
mov    %rbx,%rsi
mov    %rdi,%rdx
call   10b0 <f3_1_3@plt>
mov    0x8(%rsp),%rdi
mov    %rdi,%rsi
mov    %rbx,%rdx
call   10b0 <f3_1_3@plt>
mov    0x8(%rsp),%rdx
mov    %rbx,%rdi
mov    %rbx,%rsi
call   10b0 <f3_1_3@plt>
mov    0x8(%rsp),%rdi
mov    %rbx,%rsi
mov    %rbx,%rdx
call   10b0 <f3_1_3@plt>
mov    %rbx,%rdi
mov    %rbx,%rsi
mov    %rbx,%rdx
call   10b0 <f3_1_3@plt>
mov    0x8(%rsp),%rcx
mov    %rbx,%rdi
mov    %rcx,%rsi
mov    %rcx,%rdx
call   1070 <g4_1_2_4@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rbx,%rsi
mov    %rcx,%rdx
call   1070 <g4_1_2_4@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rcx,%rsi
mov    %rbx,%rdx
call   1070 <g4_1_2_4@plt>
mov    0x8(%rsp),%rdi
mov    %rdi,%rsi
mov    %rdi,%rdx
mov    %rbx,%rcx
call   1070 <g4_1_2_4@plt>
mov    0x8(%rsp),%rcx
mov    %rbx,%rdi
mov    %rcx,%rsi
mov    %rcx,%rdx
call   10a0 <g4_1_3_4@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rbx,%rsi
mov    %rcx,%rdx
call   10a0 <g4_1_3_4@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rcx,%rsi
mov    %rbx,%rdx
call   10a0 <g4_1_3_4@plt>
mov    0x8(%rsp),%rdi
mov    %rdi,%rsi
mov    %rdi,%rdx
mov    %rbx,%rcx
call   10a0 <g4_1_3_4@plt>
mov    0x8(%rsp),%rcx
mov    %rbx,%rdi
mov    %rcx,%rsi
mov    %rcx,%rdx
call   10c0 <g4_2_3_4@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rbx,%rsi
mov    %rcx,%rdx
call   10c0 <g4_2_3_4@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rcx,%rsi
mov    %rbx,%rdx
call   10c0 <g4_2_3_4@plt>
mov    0x8(%rsp),%rdi
mov    %rdi,%rsi
mov    %rdi,%rdx
mov    %rbx,%rcx
call   10c0 <g4_2_3_4@plt>
mov    0x8(%rsp),%rcx
mov    %rbx,%rdi
mov    %rcx,%rsi
mov    %rcx,%rdx
call   1090 <g4_all@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rbx,%rsi
mov    %rcx,%rdx
call   1090 <g4_all@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rcx,%rsi
mov    %rbx,%rdx
call   1090 <g4_all@plt>
mov    0x8(%rsp),%rdi
mov    %rdi,%rsi
mov    %rdi,%rdx
mov    %rbx,%rcx
call   1090 <g4_all@plt>
mov    0x8(%rsp),%rcx
mov    %rcx,%rdi
mov    %rcx,%rsi
mov    %rcx,%rdx
mov    %rcx,%r8
mov    %rcx,%r9
push   %rcx
push   %rcx
push   %rcx
push   %rcx
push   %rcx
push   %rcx
push   %rcx
push   %rcx
push   %rcx
push   %rcx
call   1040 <g16_1_3_5_7_11_13@plt>
add    $0x50,%rsp
mov    0x8(%rsp),%rdi
mov    %rbx,%rsi
mov    %rdi,%rdx
mov    %rbx,%rcx
mov    %rdi,%r8
mov    %rbx,%r9
push   %rbx
push   %rbx
push   %rbx
push   %rbx
push   %rbx
push   %rdi
push   %rbx
push   %rbx
push   %rbx
push   %rdi
call   1040 <g16_1_3_5_7_11_13@plt>
add    $0x60,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@px = global i8* null
define void @test() {
%1 = alloca i8*
%2 = alloca i8*
%3 = call i8* (...) @null()
store i8* %3, i8** %1
%4 = bitcast i8** %2 to i8*
store i8* %4, i8** %2
%5 = load i8*, i8** %1
%6 = call i32 @f1_1(i8* %5)
%7 = load i8*, i8** %2
%8 = call i32 @f1_1(i8* %7)
%9 = load i8*, i8** %1
%10 = load i8*, i8** %2
%11 = call i32 @f2_1(i8* %9, i8* %10)
%12 = load i8*, i8** %2
%13 = load i8*, i8** %1
%14 = call i32 @f2_1(i8* %12, i8* %13)
%15 = load i8*, i8** %1
%16 = load i8*, i8** %1
%17 = call i32 @f2_1(i8* %15, i8* %16)
%18 = load i8*, i8** %1
%19 = load i8*, i8** %2
%20 = call i32 @f2_1_2(i8* %18, i8* %19)
%21 = load i8*, i8** %2
%22 = load i8*, i8** %1
%23 = call i32 @f2_1_2(i8* %21, i8* %22)
%24 = load i8*, i8** %1
%25 = load i8*, i8** %1
%26 = call i32 @f2_1_2(i8* %24, i8* %25)
%27 = load i8*, i8** %1
%28 = load i8*, i8** %2
%29 = load i8*, i8** %2
%30 = call i32 @f3_1_3(i8* %27, i8* %28, i8* %29)
%31 = load i8*, i8** %2
%32 = load i8*, i8** %1
%33 = load i8*, i8** %2
%34 = call i32 @f3_1_3(i8* %31, i8* %32, i8* %33)
%35 = load i8*, i8** %2
%36 = load i8*, i8** %2
%37 = load i8*, i8** %1
%38 = call i32 @f3_1_3(i8* %35, i8* %36, i8* %37)
%39 = load i8*, i8** %1
%40 = load i8*, i8** %1
%41 = load i8*, i8** %2
%42 = call i32 @f3_1_3(i8* %39, i8* %40, i8* %41)
%43 = load i8*, i8** %2
%44 = load i8*, i8** %1
%45 = load i8*, i8** %1
%46 = call i32 @f3_1_3(i8* %43, i8* %44, i8* %45)
%47 = load i8*, i8** %1
%48 = load i8*, i8** %1
%49 = load i8*, i8** %1
%50 = call i32 @f3_1_3(i8* %47, i8* %48, i8* %49)
%51 = load i8*, i8** %1
%52 = load i8*, i8** %2
%53 = load i8*, i8** %2
%54 = load i8*, i8** %2
%55 = call i32 @g4_1_2_4(i8* %51, i8* %52, i8* %53, i8* %54)
%56 = load i8*, i8** %2
%57 = load i8*, i8** %1
%58 = load i8*, i8** %2
%59 = load i8*, i8** %2
%60 = call i32 @g4_1_2_4(i8* %56, i8* %57, i8* %58, i8* %59)
%61 = load i8*, i8** %2
%62 = load i8*, i8** %2
%63 = load i8*, i8** %1
%64 = load i8*, i8** %2
%65 = call i32 @g4_1_2_4(i8* %61, i8* %62, i8* %63, i8* %64)
%66 = load i8*, i8** %2
%67 = load i8*, i8** %2
%68 = load i8*, i8** %2
%69 = load i8*, i8** %1
%70 = call i32 @g4_1_2_4(i8* %66, i8* %67, i8* %68, i8* %69)
%71 = load i8*, i8** %1
%72 = load i8*, i8** %2
%73 = load i8*, i8** %2
%74 = load i8*, i8** %2
%75 = call i32 @g4_1_3_4(i8* %71, i8* %72, i8* %73, i8* %74)
%76 = load i8*, i8** %2
%77 = load i8*, i8** %1
%78 = load i8*, i8** %2
%79 = load i8*, i8** %2
%80 = call i32 @g4_1_3_4(i8* %76, i8* %77, i8* %78, i8* %79)
%81 = load i8*, i8** %2
%82 = load i8*, i8** %2
%83 = load i8*, i8** %1
%84 = load i8*, i8** %2
%85 = call i32 @g4_1_3_4(i8* %81, i8* %82, i8* %83, i8* %84)
%86 = load i8*, i8** %2
%87 = load i8*, i8** %2
%88 = load i8*, i8** %2
%89 = load i8*, i8** %1
%90 = call i32 @g4_1_3_4(i8* %86, i8* %87, i8* %88, i8* %89)
%91 = load i8*, i8** %1
%92 = load i8*, i8** %2
%93 = load i8*, i8** %2
%94 = load i8*, i8** %2
%95 = call i32 @g4_2_3_4(i8* %91, i8* %92, i8* %93, i8* %94)
%96 = load i8*, i8** %2
%97 = load i8*, i8** %1
%98 = load i8*, i8** %2
%99 = load i8*, i8** %2
%100 = call i32 @g4_2_3_4(i8* %96, i8* %97, i8* %98, i8* %99)
%101 = load i8*, i8** %2
%102 = load i8*, i8** %2
%103 = load i8*, i8** %1
%104 = load i8*, i8** %2
%105 = call i32 @g4_2_3_4(i8* %101, i8* %102, i8* %103, i8* %104)
%106 = load i8*, i8** %2
%107 = load i8*, i8** %2
%108 = load i8*, i8** %2
%109 = load i8*, i8** %1
%110 = call i32 @g4_2_3_4(i8* %106, i8* %107, i8* %108, i8* %109)
%111 = load i8*, i8** %1
%112 = load i8*, i8** %2
%113 = load i8*, i8** %2
%114 = load i8*, i8** %2
%115 = call i32 @g4_all(i8* %111, i8* %112, i8* %113, i8* %114)
%116 = load i8*, i8** %2
%117 = load i8*, i8** %1
%118 = load i8*, i8** %2
%119 = load i8*, i8** %2
%120 = call i32 @g4_all(i8* %116, i8* %117, i8* %118, i8* %119)
%121 = load i8*, i8** %2
%122 = load i8*, i8** %2
%123 = load i8*, i8** %1
%124 = load i8*, i8** %2
%125 = call i32 @g4_all(i8* %121, i8* %122, i8* %123, i8* %124)
%126 = load i8*, i8** %2
%127 = load i8*, i8** %2
%128 = load i8*, i8** %2
%129 = load i8*, i8** %1
%130 = call i32 @g4_all(i8* %126, i8* %127, i8* %128, i8* %129)
%131 = load i8*, i8** %2
%132 = load i8*, i8** %2
%133 = load i8*, i8** %2
%134 = load i8*, i8** %2
%135 = load i8*, i8** %2
%136 = load i8*, i8** %2
%137 = load i8*, i8** %2
%138 = load i8*, i8** %2
%139 = load i8*, i8** %2
%140 = load i8*, i8** %2
%141 = load i8*, i8** %2
%142 = load i8*, i8** %2
%143 = load i8*, i8** %2
%144 = load i8*, i8** %2
%145 = load i8*, i8** %2
%146 = load i8*, i8** %2
%147 = call i32 @g16_1_3_5_7_11_13(i8* %131, i8* %132, i8* %133, i8* %134, i8* %135, i8* %136, i8* %137, i8* %138, i8* %139, i8* %140, i8* %141, i8* %142, i8* %143, i8* %144, i8* %145, i8* %146)
%148 = load i8*, i8** %2
%149 = load i8*, i8** %1
%150 = load i8*, i8** %2
%151 = load i8*, i8** %1
%152 = load i8*, i8** %2
%153 = load i8*, i8** %1
%154 = load i8*, i8** %2
%155 = load i8*, i8** %1
%156 = load i8*, i8** %1
%157 = load i8*, i8** %1
%158 = load i8*, i8** %2
%159 = load i8*, i8** %1
%160 = load i8*, i8** %1
%161 = load i8*, i8** %1
%162 = load i8*, i8** %1
%163 = load i8*, i8** %1
%164 = call i32 @g16_1_3_5_7_11_13(i8* %148, i8* %149, i8* %150, i8* %151, i8* %152, i8* %153, i8* %154, i8* %155, i8* %156, i8* %157, i8* %158, i8* %159, i8* %160, i8* %161, i8* %162, i8* %163)
ret void
}

LLVM IR (-O2):
@px = global i8* null
define void @test() {
%1 = alloca i8*
%2 = tail call i8* (...) @null()
%3 = bitcast i8** %1 to i8*
%4 = bitcast i8** %1 to i8***
store i8** %1, i8*** %4
%5 = call i32 @f1_1(i8* %2)
%6 = load i8*, i8** %1
%7 = call i32 @f1_1(i8* %6)
%8 = load i8*, i8** %1
%9 = call i32 @f2_1(i8* %2, i8* %8)
%10 = load i8*, i8** %1
%11 = call i32 @f2_1(i8* %10, i8* %2)
%12 = call i32 @f2_1(i8* %2, i8* %2)
%13 = load i8*, i8** %1
%14 = call i32 @f2_1_2(i8* %2, i8* %13)
%15 = load i8*, i8** %1
%16 = call i32 @f2_1_2(i8* %15, i8* %2)
%17 = call i32 @f2_1_2(i8* %2, i8* %2)
%18 = load i8*, i8** %1
%19 = call i32 @f3_1_3(i8* %2, i8* %18, i8* %18)
%20 = load i8*, i8** %1
%21 = call i32 @f3_1_3(i8* %20, i8* %2, i8* %20)
%22 = load i8*, i8** %1
%23 = call i32 @f3_1_3(i8* %22, i8* %22, i8* %2)
%24 = load i8*, i8** %1
%25 = call i32 @f3_1_3(i8* %2, i8* %2, i8* %24)
%26 = load i8*, i8** %1
%27 = call i32 @f3_1_3(i8* %26, i8* %2, i8* %2)
%28 = call i32 @f3_1_3(i8* %2, i8* %2, i8* %2)
%29 = load i8*, i8** %1
%30 = call i32 @g4_1_2_4(i8* %2, i8* %29, i8* %29, i8* %29)
%31 = load i8*, i8** %1
%32 = call i32 @g4_1_2_4(i8* %31, i8* %2, i8* %31, i8* %31)
%33 = load i8*, i8** %1
%34 = call i32 @g4_1_2_4(i8* %33, i8* %33, i8* %2, i8* %33)
%35 = load i8*, i8** %1
%36 = call i32 @g4_1_2_4(i8* %35, i8* %35, i8* %35, i8* %2)
%37 = load i8*, i8** %1
%38 = call i32 @g4_1_3_4(i8* %2, i8* %37, i8* %37, i8* %37)
%39 = load i8*, i8** %1
%40 = call i32 @g4_1_3_4(i8* %39, i8* %2, i8* %39, i8* %39)
%41 = load i8*, i8** %1
%42 = call i32 @g4_1_3_4(i8* %41, i8* %41, i8* %2, i8* %41)
%43 = load i8*, i8** %1
%44 = call i32 @g4_1_3_4(i8* %43, i8* %43, i8* %43, i8* %2)
%45 = load i8*, i8** %1
%46 = call i32 @g4_2_3_4(i8* %2, i8* %45, i8* %45, i8* %45)
%47 = load i8*, i8** %1
%48 = call i32 @g4_2_3_4(i8* %47, i8* %2, i8* %47, i8* %47)
%49 = load i8*, i8** %1
%50 = call i32 @g4_2_3_4(i8* %49, i8* %49, i8* %2, i8* %49)
%51 = load i8*, i8** %1
%52 = call i32 @g4_2_3_4(i8* %51, i8* %51, i8* %51, i8* %2)
%53 = load i8*, i8** %1
%54 = call i32 @g4_all(i8* %2, i8* %53, i8* %53, i8* %53)
%55 = load i8*, i8** %1
%56 = call i32 @g4_all(i8* %55, i8* %2, i8* %55, i8* %55)
%57 = load i8*, i8** %1
%58 = call i32 @g4_all(i8* %57, i8* %57, i8* %2, i8* %57)
%59 = load i8*, i8** %1
%60 = call i32 @g4_all(i8* %59, i8* %59, i8* %59, i8* %2)
%61 = load i8*, i8** %1
%62 = call i32 @g16_1_3_5_7_11_13(i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61, i8* %61)
%63 = load i8*, i8** %1
%64 = call i32 @g16_1_3_5_7_11_13(i8* %63, i8* %2, i8* %63, i8* %2, i8* %63, i8* %2, i8* %63, i8* %2, i8* %2, i8* %2, i8* %63, i8* %2, i8* %2, i8* %2, i8* %2, i8* %2)
ret void
}