3 ;; [ ] Get rid out outside class & begin stuff
4 ;; [ ] Allow global const pool to be expanded continually
5 ;; [ ] Support global variable declaration & definition
6 ;; [ ] Support function definition: %fib = prototype ulong (ulong)
7 ;; [x] Support Type definition
13 setlt ulong %n, 2 ; {bool}:0
14 br bool %0, label %BaseCase, label %RecurseCase
22 %f2 = call ulong(ulong) %fib(ulong %n2)
23 %f1 = call ulong(ulong) %fib(ulong %n1)
24 %result = add ulong %f2, %f1
28 ulong "main"(int %argc, sbyte ** %argv)
31 seteq int %argc, 2 ; {bool}:0
32 br bool %0, label %HasArg, label %Continue
35 ;;; %n1 = add int 1, 1
39 ;;; %n = phi int %n1, %n2
40 %N = add ulong 1, 1 ;; TODO: CAST
41 %F = call ulong(ulong) %fib(ulong %N)