#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*/ GL_COLOR_BUFFER_BIT;
int /*<<< orphan*/ GL_DEPTH_BUFFER_BIT;
int /*<<< orphan*/ GL_LINES;
int /*<<< orphan*/ GL_LINE_LOOP;
int /*<<< orphan*/ GL_POLYGON;
int /*<<< orphan*/ glBegin(int /*<<< orphan*/);
int /*<<< orphan*/ glClear(int /*<<< orphan*/);
int /*<<< orphan*/ glColor3d(double, double, double);
int /*<<< orphan*/ glColor3f(double, double, double);
int /*<<< orphan*/ glEnd();
int /*<<< orphan*/ glFlush();
int /*<<< orphan*/ glPointSize(int);
int /*<<< orphan*/ glVertex3d(int, int, int);
int /*<<< orphan*/ kula(int, int, int);
void wyswietl(void) {
  glClear(GL_COLOR_BUFFER_BIT);
  glClear(GL_DEPTH_BUFFER_BIT);
  glPointSize(50);
  glColor3d(0.0, 0.0, 0.0);
  kula(-1, -1, -1);
  glColor3d(1.0, 0.0, 0.0);
  kula(1, -1, -1);
  glColor3d(0.0, 1.0, 0.0);
  kula(-1, 1, -1);
  glColor3d(1.0, 0.7, 0.0);
  kula(1, 1, -1);
  glColor3d(0.0, 0.0, 1.0);
  kula(-1, -1, 1);
  glColor3d(1.0, 0.0, 1.0);
  kula(1, -1, 1);
  glColor3d(0.0, 1.0, 1.0);
  kula(-1, 1, 1);
  glColor3d(1.0, 1.0, 1.0);
  kula(1, 1, 1);
  glColor3f(0.0, 0.0, 0.0);
  glBegin(GL_POLYGON);
  glVertex3d(-1, -1, -1);
  glVertex3d(1, -1, -1);
  glVertex3d(1, 1, -1);
  glVertex3d(-1, 1, -1);
  glVertex3d(-1, 1, 1);
  glVertex3d(1, 1, 1);
  glVertex3d(1, -1, 1);
  glVertex3d(-1, -1, 1);
  glVertex3d(-1, -1, -1);
  glVertex3d(-1, 1, -1);
  glVertex3d(-1, -1, 1);
  glVertex3d(-1, 1, 1);
  glVertex3d(1, 1, 1);
  glVertex3d(1, 1, -1);
  glVertex3d(1, -1, 1);
  glVertex3d(1, -1, -1);
  glEnd();
  glColor3d(1.0, 0.0, 0.0);
  glBegin(GL_LINE_LOOP);
  glVertex3d(-1, -1, -1);
  glVertex3d(1, -1, -1);
  glVertex3d(1, 1, -1);
  glVertex3d(-1, 1, -1);
  glVertex3d(-1, 1, 1);
  glVertex3d(1, 1, 1);
  glVertex3d(1, -1, 1);
  glVertex3d(-1, -1, 1);
  glVertex3d(-1, -1, -1);
  glVertex3d(-1, 1, -1);
  glEnd();
  glBegin(GL_LINES);
  glVertex3d(-1, -1, 1);
  glVertex3d(-1, 1, 1);
  glVertex3d(1, 1, 1);
  glVertex3d(1, 1, -1);
  glVertex3d(1, -1, 1);
  glVertex3d(1, -1, -1);
  glEnd();
  glFlush();
}


x86 assembly (clang, -O0):
<wyswietl>:
push   %rbp
mov    %rsp,%rbp
mov    0x2e25(%rip),%rax
mov    (%rax),%edi
call   1030 <glClear@plt>
mov    0x2e27(%rip),%rax
mov    (%rax),%edi
call   1030 <glClear@plt>
mov    $0x32,%edi
call   1090 <glPointSize@plt>
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   1070 <glColor3d@plt>
mov    $0xffffffff,%edx
mov    %edx,%edi
mov    %edx,%esi
call   10a0 <kula@plt>
movsd  0xe22(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1070 <glColor3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%edx
mov    %edx,%esi
call   10a0 <kula@plt>
xorps  %xmm2,%xmm2
movsd  0xdfb(%rip),%xmm1
movaps %xmm2,%xmm0
call   1070 <glColor3d@plt>
mov    $0xffffffff,%edx
mov    $0x1,%esi
mov    %edx,%edi
call   10a0 <kula@plt>
movsd  0xdda(%rip),%xmm0
movsd  0xdda(%rip),%xmm1
xorps  %xmm2,%xmm2
call   1070 <glColor3d@plt>
mov    $0x1,%esi
mov    $0xffffffff,%edx
mov    %esi,%edi
call   10a0 <kula@plt>
xorps  %xmm1,%xmm1
movsd  0xdae(%rip),%xmm2
movaps %xmm1,%xmm0
call   1070 <glColor3d@plt>
mov    $0xffffffff,%esi
mov    $0x1,%edx
mov    %esi,%edi
call   10a0 <kula@plt>
movsd  0xd8d(%rip),%xmm2
xorps  %xmm1,%xmm1
movaps %xmm2,%xmm0
call   1070 <glColor3d@plt>
mov    $0x1,%edx
mov    $0xffffffff,%esi
mov    %edx,%edi
call   10a0 <kula@plt>
xorps  %xmm0,%xmm0
movsd  0xd66(%rip),%xmm2
movaps %xmm2,%xmm1
call   1070 <glColor3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%edx
mov    %edx,%esi
call   10a0 <kula@plt>
movsd  0xd45(%rip),%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   1070 <glColor3d@plt>
mov    $0x1,%edx
mov    %edx,%edi
mov    %edx,%esi
call   10a0 <kula@plt>
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   1060 <glColor3f@plt>
mov    0x2d0f(%rip),%rax
mov    (%rax),%edi
call   10b0 <glBegin@plt>
mov    $0xffffffff,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%edx
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%esi
mov    $0xffffffff,%edx
mov    %esi,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edx
mov    $0x1,%esi
mov    %edx,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%edx
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%edx
mov    $0xffffffff,%esi
mov    %edx,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%esi
mov    $0x1,%edx
mov    %esi,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edx
mov    $0x1,%esi
mov    %edx,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%esi
mov    $0x1,%edx
mov    %esi,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%edx
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%esi
mov    $0xffffffff,%edx
mov    %esi,%edi
call   1040 <glVertex3d@plt>
mov    $0x1,%edx
mov    $0xffffffff,%esi
mov    %edx,%edi
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%edx
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x0,%al
call   1050 <glEnd@plt>
movsd  0xbfd(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1070 <glColor3d@plt>
mov    0x2bc3(%rip),%rax
mov    (%rax),%edi
call   10b0 <glBegin@plt>
mov    $0xffffffff,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%edx
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%esi
mov    $0xffffffff,%edx
mov    %esi,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edx
mov    $0x1,%esi
mov    %edx,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%edx
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%edx
mov    $0xffffffff,%esi
mov    %edx,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%esi
mov    $0x1,%edx
mov    %esi,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edx
mov    $0x1,%esi
mov    %edx,%edi
call   1040 <glVertex3d@plt>
mov    $0x0,%al
call   1050 <glEnd@plt>
mov    0x2b1d(%rip),%rax
mov    (%rax),%edi
call   10b0 <glBegin@plt>
mov    $0xffffffff,%esi
mov    $0x1,%edx
mov    %esi,%edi
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%edx
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x1,%esi
mov    $0xffffffff,%edx
mov    %esi,%edi
call   1040 <glVertex3d@plt>
mov    $0x1,%edx
mov    $0xffffffff,%esi
mov    %edx,%edi
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%edx
mov    %edx,%esi
call   1040 <glVertex3d@plt>
mov    $0x0,%al
call   1050 <glEnd@plt>
mov    $0x0,%al
call   1080 <glFlush@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<wyswietl>:
push   %rax
mov    0x2e28(%rip),%rax
mov    (%rax),%edi
call   1030 <glClear@plt>
mov    0x2e2a(%rip),%rax
mov    (%rax),%edi
call   1030 <glClear@plt>
mov    $0x32,%edi
call   1090 <glPointSize@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
call   1070 <glColor3d@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   10a0 <kula@plt>
movsd  0xe1f(%rip),%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
call   1070 <glColor3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   10a0 <kula@plt>
xorps  %xmm0,%xmm0
xorps  %xmm2,%xmm2
movsd  0xdf2(%rip),%xmm1
call   1070 <glColor3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   10a0 <kula@plt>
movsd  0xdd9(%rip),%xmm1
xorps  %xmm2,%xmm2
movsd  0xdc6(%rip),%xmm0
call   1070 <glColor3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   10a0 <kula@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
movsd  0xd9f(%rip),%xmm2
call   1070 <glColor3d@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   10a0 <kula@plt>
xorps  %xmm1,%xmm1
movsd  0xd7b(%rip),%xmm0
movaps %xmm0,%xmm2
call   1070 <glColor3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   10a0 <kula@plt>
xorps  %xmm0,%xmm0
movsd  0xd54(%rip),%xmm1
movaps %xmm1,%xmm2
call   1070 <glColor3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   10a0 <kula@plt>
movsd  0xd30(%rip),%xmm0
movaps %xmm0,%xmm1
movaps %xmm0,%xmm2
call   1070 <glColor3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   10a0 <kula@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
call   1060 <glColor3f@plt>
mov    0x2cf4(%rip),%rax
mov    (%rax),%edi
call   10b0 <glBegin@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
xor    %eax,%eax
call   1050 <glEnd@plt>
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
movsd  0xba0(%rip),%xmm0
call   1070 <glColor3d@plt>
mov    0x2b6c(%rip),%rax
mov    (%rax),%edi
call   10b0 <glBegin@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
xor    %eax,%eax
call   1050 <glEnd@plt>
mov    0x2a9f(%rip),%rax
mov    (%rax),%edi
call   10b0 <glBegin@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0xffffffff,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1040 <glVertex3d@plt>
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1040 <glVertex3d@plt>
xor    %eax,%eax
call   1050 <glEnd@plt>
xor    %eax,%eax
pop    %rcx
jmp    1080 <glFlush@plt>

LLVM IR (-O0):
@GL_COLOR_BUFFER_BIT = global i32 0
@GL_DEPTH_BUFFER_BIT = global i32 0
@GL_POLYGON = global i32 0
@GL_LINE_LOOP = global i32 0
@GL_LINES = global i32 0
define void @wyswietl() {
%1 = load i32, i32* @GL_COLOR_BUFFER_BIT
%2 = call i32 @glClear(i32 %1)
%3 = load i32, i32* @GL_DEPTH_BUFFER_BIT
%4 = call i32 @glClear(i32 %3)
%5 = call i32 @glPointSize(i32 50)
%6 = call i32 @glColor3d(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00)
%7 = call i32 @kula(i32 -1, i32 -1, i32 -1)
%8 = call i32 @glColor3d(double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%9 = call i32 @kula(i32 1, i32 -1, i32 -1)
%10 = call i32 @glColor3d(double 0.000000e+00, double 1.000000e+00, double 0.000000e+00)
%11 = call i32 @kula(i32 -1, i32 1, i32 -1)
%12 = call i32 @glColor3d(double 1.000000e+00, double 0x3FE6666666666666, double 0.000000e+00)
%13 = call i32 @kula(i32 1, i32 1, i32 -1)
%14 = call i32 @glColor3d(double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%15 = call i32 @kula(i32 -1, i32 -1, i32 1)
%16 = call i32 @glColor3d(double 1.000000e+00, double 0.000000e+00, double 1.000000e+00)
%17 = call i32 @kula(i32 1, i32 -1, i32 1)
%18 = call i32 @glColor3d(double 0.000000e+00, double 1.000000e+00, double 1.000000e+00)
%19 = call i32 @kula(i32 -1, i32 1, i32 1)
%20 = call i32 @glColor3d(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%21 = call i32 @kula(i32 1, i32 1, i32 1)
%22 = call i32 @glColor3f(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00)
%23 = load i32, i32* @GL_POLYGON
%24 = call i32 @glBegin(i32 %23)
%25 = call i32 @glVertex3d(i32 -1, i32 -1, i32 -1)
%26 = call i32 @glVertex3d(i32 1, i32 -1, i32 -1)
%27 = call i32 @glVertex3d(i32 1, i32 1, i32 -1)
%28 = call i32 @glVertex3d(i32 -1, i32 1, i32 -1)
%29 = call i32 @glVertex3d(i32 -1, i32 1, i32 1)
%30 = call i32 @glVertex3d(i32 1, i32 1, i32 1)
%31 = call i32 @glVertex3d(i32 1, i32 -1, i32 1)
%32 = call i32 @glVertex3d(i32 -1, i32 -1, i32 1)
%33 = call i32 @glVertex3d(i32 -1, i32 -1, i32 -1)
%34 = call i32 @glVertex3d(i32 -1, i32 1, i32 -1)
%35 = call i32 @glVertex3d(i32 -1, i32 -1, i32 1)
%36 = call i32 @glVertex3d(i32 -1, i32 1, i32 1)
%37 = call i32 @glVertex3d(i32 1, i32 1, i32 1)
%38 = call i32 @glVertex3d(i32 1, i32 1, i32 -1)
%39 = call i32 @glVertex3d(i32 1, i32 -1, i32 1)
%40 = call i32 @glVertex3d(i32 1, i32 -1, i32 -1)
%41 = call i32 (...) @glEnd()
%42 = call i32 @glColor3d(double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%43 = load i32, i32* @GL_LINE_LOOP
%44 = call i32 @glBegin(i32 %43)
%45 = call i32 @glVertex3d(i32 -1, i32 -1, i32 -1)
%46 = call i32 @glVertex3d(i32 1, i32 -1, i32 -1)
%47 = call i32 @glVertex3d(i32 1, i32 1, i32 -1)
%48 = call i32 @glVertex3d(i32 -1, i32 1, i32 -1)
%49 = call i32 @glVertex3d(i32 -1, i32 1, i32 1)
%50 = call i32 @glVertex3d(i32 1, i32 1, i32 1)
%51 = call i32 @glVertex3d(i32 1, i32 -1, i32 1)
%52 = call i32 @glVertex3d(i32 -1, i32 -1, i32 1)
%53 = call i32 @glVertex3d(i32 -1, i32 -1, i32 -1)
%54 = call i32 @glVertex3d(i32 -1, i32 1, i32 -1)
%55 = call i32 (...) @glEnd()
%56 = load i32, i32* @GL_LINES
%57 = call i32 @glBegin(i32 %56)
%58 = call i32 @glVertex3d(i32 -1, i32 -1, i32 1)
%59 = call i32 @glVertex3d(i32 -1, i32 1, i32 1)
%60 = call i32 @glVertex3d(i32 1, i32 1, i32 1)
%61 = call i32 @glVertex3d(i32 1, i32 1, i32 -1)
%62 = call i32 @glVertex3d(i32 1, i32 -1, i32 1)
%63 = call i32 @glVertex3d(i32 1, i32 -1, i32 -1)
%64 = call i32 (...) @glEnd()
%65 = call i32 (...) @glFlush()
ret void
}

LLVM IR (-O2):
@GL_COLOR_BUFFER_BIT = global i32 0
@GL_DEPTH_BUFFER_BIT = global i32 0
@GL_POLYGON = global i32 0
@GL_LINE_LOOP = global i32 0
@GL_LINES = global i32 0
define void @wyswietl() {
%1 = load i32, i32* @GL_COLOR_BUFFER_BIT
%2 = tail call i32 @glClear(i32 %1)
%3 = load i32, i32* @GL_DEPTH_BUFFER_BIT
%4 = tail call i32 @glClear(i32 %3)
%5 = tail call i32 @glPointSize(i32 50)
%6 = tail call i32 @glColor3d(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00)
%7 = tail call i32 @kula(i32 -1, i32 -1, i32 -1)
%8 = tail call i32 @glColor3d(double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%9 = tail call i32 @kula(i32 1, i32 -1, i32 -1)
%10 = tail call i32 @glColor3d(double 0.000000e+00, double 1.000000e+00, double 0.000000e+00)
%11 = tail call i32 @kula(i32 -1, i32 1, i32 -1)
%12 = tail call i32 @glColor3d(double 1.000000e+00, double 0x3FE6666666666666, double 0.000000e+00)
%13 = tail call i32 @kula(i32 1, i32 1, i32 -1)
%14 = tail call i32 @glColor3d(double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%15 = tail call i32 @kula(i32 -1, i32 -1, i32 1)
%16 = tail call i32 @glColor3d(double 1.000000e+00, double 0.000000e+00, double 1.000000e+00)
%17 = tail call i32 @kula(i32 1, i32 -1, i32 1)
%18 = tail call i32 @glColor3d(double 0.000000e+00, double 1.000000e+00, double 1.000000e+00)
%19 = tail call i32 @kula(i32 -1, i32 1, i32 1)
%20 = tail call i32 @glColor3d(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%21 = tail call i32 @kula(i32 1, i32 1, i32 1)
%22 = tail call i32 @glColor3f(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00)
%23 = load i32, i32* @GL_POLYGON
%24 = tail call i32 @glBegin(i32 %23)
%25 = tail call i32 @glVertex3d(i32 -1, i32 -1, i32 -1)
%26 = tail call i32 @glVertex3d(i32 1, i32 -1, i32 -1)
%27 = tail call i32 @glVertex3d(i32 1, i32 1, i32 -1)
%28 = tail call i32 @glVertex3d(i32 -1, i32 1, i32 -1)
%29 = tail call i32 @glVertex3d(i32 -1, i32 1, i32 1)
%30 = tail call i32 @glVertex3d(i32 1, i32 1, i32 1)
%31 = tail call i32 @glVertex3d(i32 1, i32 -1, i32 1)
%32 = tail call i32 @glVertex3d(i32 -1, i32 -1, i32 1)
%33 = tail call i32 @glVertex3d(i32 -1, i32 -1, i32 -1)
%34 = tail call i32 @glVertex3d(i32 -1, i32 1, i32 -1)
%35 = tail call i32 @glVertex3d(i32 -1, i32 -1, i32 1)
%36 = tail call i32 @glVertex3d(i32 -1, i32 1, i32 1)
%37 = tail call i32 @glVertex3d(i32 1, i32 1, i32 1)
%38 = tail call i32 @glVertex3d(i32 1, i32 1, i32 -1)
%39 = tail call i32 @glVertex3d(i32 1, i32 -1, i32 1)
%40 = tail call i32 @glVertex3d(i32 1, i32 -1, i32 -1)
%41 = tail call i32 (...) @glEnd()
%42 = tail call i32 @glColor3d(double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%43 = load i32, i32* @GL_LINE_LOOP
%44 = tail call i32 @glBegin(i32 %43)
%45 = tail call i32 @glVertex3d(i32 -1, i32 -1, i32 -1)
%46 = tail call i32 @glVertex3d(i32 1, i32 -1, i32 -1)
%47 = tail call i32 @glVertex3d(i32 1, i32 1, i32 -1)
%48 = tail call i32 @glVertex3d(i32 -1, i32 1, i32 -1)
%49 = tail call i32 @glVertex3d(i32 -1, i32 1, i32 1)
%50 = tail call i32 @glVertex3d(i32 1, i32 1, i32 1)
%51 = tail call i32 @glVertex3d(i32 1, i32 -1, i32 1)
%52 = tail call i32 @glVertex3d(i32 -1, i32 -1, i32 1)
%53 = tail call i32 @glVertex3d(i32 -1, i32 -1, i32 -1)
%54 = tail call i32 @glVertex3d(i32 -1, i32 1, i32 -1)
%55 = tail call i32 (...) @glEnd()
%56 = load i32, i32* @GL_LINES
%57 = tail call i32 @glBegin(i32 %56)
%58 = tail call i32 @glVertex3d(i32 -1, i32 -1, i32 1)
%59 = tail call i32 @glVertex3d(i32 -1, i32 1, i32 1)
%60 = tail call i32 @glVertex3d(i32 1, i32 1, i32 1)
%61 = tail call i32 @glVertex3d(i32 1, i32 1, i32 -1)
%62 = tail call i32 @glVertex3d(i32 1, i32 -1, i32 1)
%63 = tail call i32 @glVertex3d(i32 1, i32 -1, i32 -1)
%64 = tail call i32 (...) @glEnd()
%65 = tail call i32 (...) @glFlush()
ret void
}