diff --git a/bench/LICENSE b/bench/LICENSE new file mode 100644 index 0000000..c8a785c --- /dev/null +++ b/bench/LICENSE @@ -0,0 +1,34 @@ +The following files are distributed under the following license with modifications. + +* median.c +* multiply.c +* qsort.c +* rsort.c +* spmv.c +* towers.c +* vvadd.c + +Copyright (c) 2012-2015, The Regents of the University of California (Regents). +All Rights Reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the Regents nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING +OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF REGENTS HAS +BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED +HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE +MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff --git a/bench/driver.cpp b/bench/driver.cpp index 541de6e..bfe5d38 100644 --- a/bench/driver.cpp +++ b/bench/driver.cpp @@ -12,6 +12,13 @@ namespace model { #include #include #include + #include + #include + #include + #include + #include + #include + #include } extern "C" { @@ -28,6 +35,14 @@ extern "C" { int matrix_add(int, int); int graph_dijkstra(int, int); int graph_floyd_warshall(int, int); + // From riscv-tests + int run_median(int, int); + int run_multiply(int, int); + int run_qsort(int, int); + int run_rsort(int, int); + int run_spmv(int, int); + int run_towers(int, int); + int run_vvadd(int, int); } namespace { @@ -80,6 +95,13 @@ int main() { cycles.push_back(evaluate("matrix_add", 30, matrix_add, model::matrix_add)); cycles.push_back(evaluate("graph_dijkstra", 1000, graph_dijkstra, model::graph_dijkstra)); cycles.push_back(evaluate("graph_floyd_warshall", 200, graph_floyd_warshall, model::graph_floyd_warshall)); + cycles.push_back(evaluate("median", -1, run_median, model::run_median)); + cycles.push_back(evaluate("mutiply", -1, run_multiply, model::run_multiply)); + cycles.push_back(evaluate("qsort", -1, run_qsort, model::run_qsort)); + cycles.push_back(evaluate("rsort", -1, run_rsort, model::run_rsort)); + cycles.push_back(evaluate("spmv", -1, run_spmv, model::run_spmv)); + cycles.push_back(evaluate("towers", -1, run_towers, model::run_towers)); + cycles.push_back(evaluate("vvadd", -1, run_vvadd, model::run_vvadd)); } // Calculates the geometric mean. diff --git a/bench/median.c b/bench/median.c new file mode 100644 index 0000000..173b5d5 --- /dev/null +++ b/bench/median.c @@ -0,0 +1,70 @@ +//************************************************************************** +// Median filter bencmark +//-------------------------------------------------------------------------- +// +// This benchmark performs a 1D three element median filter. + +int input_median[400]; +int results_median[400]; + +void median_data_init(int nonce) { + int i; + int x = nonce; + + for (i = 0; i < 400; i++) { + x = (x * 97 + 17) % 1000; + input_median[i] = x; + } +} + +void median(int n, int input[400], int results[400]) { + int A, B, C, i; + + // Zero the ends + results[0] = 0; + results[n - 1] = 0; + + // Do the filter + for (i = 1; i < (n - 1); i++) { + A = input[i - 1]; + B = input[i]; + C = input[i + 1]; + + if (A < B) { + if (B < C) + results[i] = B; + else if (C < A) + results[i] = A; + else + results[i] = C; + } + + else { + if (A < C) + results[i] = A; + else if (C < B) + results[i] = B; + else + results[i] = C; + } + } +} + +int verify_median(int n, int* test) { + int i; + int result = 0; + + for (i = 0; i < n; i++) { + int v = test[i]; + result += v; + } + + return result; +} + +int run_median(int dummy_0, int nonce) { + median_data_init(nonce); + median(400, input_median, results_median); + + return verify_median(400, results_median); +} diff --git a/bench/multiply.c b/bench/multiply.c new file mode 100644 index 0000000..9ef782f --- /dev/null +++ b/bench/multiply.c @@ -0,0 +1,65 @@ +// ************************************************************************* +// multiply filter bencmark +// ------------------------------------------------------------------------- +// +// This benchmark tests the software multiply implemenation. + +int input1_multiply[100]; +int input2_multiply[100]; +int results_multiply[100]; + +void multiply_data_init(int nonce) { + int i; + int x = nonce; + int y = nonce; + + for (i = 0; i < 100; i++) { + x = (x * 97 + 17) % 10009; + y = (y * 17 + 23) % 10007; + input1_multiply[i] = x; + input2_multiply[i] = y; + } +} + +int multiply(int x, int y) { + int i; + int result = 0; + + for (i = 0; i < 32; i++) { + if ((x & 0x1) == 1) + result = result + y; + + x = x >> 1; + y = y << 1; + } + + return result; +} + +int verify_multiply(int n, int* test) { + int i; + int result = 0; + + for (i = 0; i < n; i++) { + int t0 = input1_multiply[i]; + int t1 = input2_multiply[i]; + int v = results_multiply[i]; + if (t0 * t1 != v) + return 1; + + result += v; + } + + return result; +} + +int run_multiply(int dummy_0, int nonce) { + int i; + + multiply_data_init(nonce); + for (i = 0; i < 100; i++) { + results_multiply[i] = multiply(input1_multiply[i], input2_multiply[i]); + } + + return verify_multiply(100, results_multiply); +} diff --git a/bench/qsort.c b/bench/qsort.c new file mode 100644 index 0000000..956feaa --- /dev/null +++ b/bench/qsort.c @@ -0,0 +1,129 @@ +//************************************************************************** +// Quicksort benchmark +//-------------------------------------------------------------------------- +// +// This benchmark uses quicksort to sort an array of integers. The +// implementation is largely adapted from Numerical Recipes for C. + +int input_qsort_data[16384]; + +void qsort_data_init(int nonce) { + int i; + int x = nonce; + + for (i = 0; i < 16384; i++) { + x = (x * 97 + 17) % 100000009; + input_qsort_data[i] = x; + } +} + +void swap(int* a, int* b) { + int temp = *a; + *a = *b; + *b = temp; +} + +void swap_if_greater(int* a, int* b) { + if (*a > *b) + swap(a, b); +} + +void insertion_sort(int n, int* arr) { + int i, j; + int value; + for (i = 1; i < n; i++) { + value = arr[i]; + j = i; + while (value < arr[j - 1]) { + arr[j] = arr[j - 1]; + if (--j == 0) + break; + } + arr[j] = value; + } +} + +void qsort(int n, int arr[16384]) { + int ir = n; + int l = 1; + int stack[50]; + int stackp = 0; + + for (;;) { + // Insertion sort when subarray small enough. + if (ir - l < 10) { + insertion_sort(ir - l + 1, &arr[l - 1]); + + if (stackp == 0) + break; + + // Pop stack and begin a new round of partitioning. + ir = stack[stackp--]; + l = stack[stackp--]; + } else { + // Choose median of left, center, and right elements as + // partitioning element a. Also rearrange so that a[l-1] <= a[l] <= a[ir-]. + swap(&arr[(l + ir) / 2 - 1], &arr[l]); + swap_if_greater(&arr[l - 1], &arr[ir - 1]); + swap_if_greater(&arr[l], &arr[ir - 1]); + swap_if_greater(&arr[l - 1], &arr[l]); + + // Initialize pointers for partitioning. + int i = l + 1; + int j = ir; + + // Partitioning element. + int a = arr[l]; + + for (;;) { // Beginning of innermost loop. + while (arr[i++] < a) + ; // Scan up to find element > a. + while (arr[(j-- - 2)] > a) + ; // Scan down to find element < a. + if (j < i) + break; // Pointers crossed. Partitioning complete. + swap(&arr[i - 1], &arr[j - 1]); // Exchange elements. + } // End of innermost loop. + + // Insert partitioning element. + arr[l] = arr[j - 1]; + arr[j - 1] = a; + stackp += 2; + + // Push pointers to larger subarray on stack, + // process smaller subarray immediately. + + if (ir - i + 1 >= j - l) { + stack[stackp] = ir; + stack[stackp - 1] = i; + ir = j - 1; + } else { + stack[stackp] = j - 1; + stack[stackp - 1] = l; + l = i; + } + } + } +} + +int verify_qsort(int n, int* test) { + int i; + int result = 0; + + for (i = 0; i < n - 1; i++) { + int t0 = test[i], t1 = test[i + 1]; + if (t0 > t1) + return 1; + + result += t0; + } + + return result; +} + +int run_qsort(int dummy_0, int nonce) { + qsort_data_init(nonce); + qsort(16384, input_qsort_data); + + return verify_qsort(16384, input_qsort_data); +} diff --git a/bench/rsort.c b/bench/rsort.c new file mode 100644 index 0000000..737d924 --- /dev/null +++ b/bench/rsort.c @@ -0,0 +1,117 @@ +//************************************************************************** +// Radix Sort benchmark +//-------------------------------------------------------------------------- +// +// This benchmark uses radix sort to sort an array of integers. The +// implementation is largely adapted from Numerical Recipes for C. + +int input_rsort_data[2048]; + +void rsort_data_init(int nonce) { + int i; + int x = nonce; + + for (i = 0; i < 2048; i++) { + x = (x * 97 + 17) % 10000007; + input_rsort_data[i] = x; + } +} + +int fetch_add(int* ptr, int inc) { + return (*ptr += inc) - inc; +} + +void memcpy_int(int* dest, int* src, int size) { + int i; + + for (i = 0; i < size; i++) { + dest[i] = src[i]; + } +} + +int bucket[256]; + +void rsort(int n, int* arrIn, int* scratchIn) { + int log_exp = 0; + int *arr = arrIn, *scratch = scratchIn; + int p; + int b; + + while (log_exp < 8 * sizeof(int)) { + for (b = 0; b < (1 << 8); b++) + bucket[b] = 0; + + for (p = 0; p < n - 3; p += 4) { + int a0 = arr[p + 0]; + int a1 = arr[p + 1]; + int a2 = arr[p + 2]; + int a3 = arr[p + 3]; + fetch_add(&bucket[(a0 >> log_exp) % (1 << 8)], 1); + fetch_add(&bucket[(a1 >> log_exp) % (1 << 8)], 1); + fetch_add(&bucket[(a2 >> log_exp) % (1 << 8)], 1); + fetch_add(&bucket[(a3 >> log_exp) % (1 << 8)], 1); + } + for (; p < n; p++) + bucket[(arr[p] >> log_exp) % (1 << 8)]++; + + int prev = bucket[0]; + prev += fetch_add(&bucket[1], prev); + for (b = 2; b < (1 << 8); b += 2) { + prev += fetch_add(&bucket[b + 0], prev); + prev += fetch_add(&bucket[b + 1], prev); + } + + for (p = n - 1; p >= 3; p -= 4) { + int a0 = arr[p - 0]; + int a1 = arr[p - 1]; + int a2 = arr[p - 2]; + int a3 = arr[p - 3]; + int* pb0 = &bucket[(a0 >> log_exp) % (1 << 8)]; + int* pb1 = &bucket[(a1 >> log_exp) % (1 << 8)]; + int* pb2 = &bucket[(a2 >> log_exp) % (1 << 8)]; + int* pb3 = &bucket[(a3 >> log_exp) % (1 << 8)]; + int s0 = fetch_add(pb0, -1); + int s1 = fetch_add(pb1, -1); + int s2 = fetch_add(pb2, -1); + int s3 = fetch_add(pb3, -1); + scratch[s0 - 1] = a0; + scratch[s1 - 1] = a1; + scratch[s2 - 1] = a2; + scratch[s3 - 1] = a3; + } + for (; p >= 0; p--) + scratch[--bucket[(arr[p] >> log_exp) % (1 << 8)]] = arr[p]; + + int* tmp = arr; + arr = scratch; + scratch = tmp; + + log_exp += 8; + } + if (arr != arrIn) + memcpy_int(arr, scratch, n); +} + +int verify_rsort(int n, int* test) { + int i; + int result = 0; + + for (i = 0; i < n - 1; i++) { + int t0 = test[i], t1 = test[i + 1]; + if (t0 > t1) + return 1; + + result += t0; + } + + return result; +} + +int scratch[2048]; + +int run_rsort(int dummy_0, int nonce) { + rsort_data_init(nonce); + rsort(2048, input_rsort_data, scratch); + + return verify_rsort(2048, input_rsort_data); +} diff --git a/bench/spmv.c b/bench/spmv.c new file mode 100644 index 0000000..6179bf3 --- /dev/null +++ b/bench/spmv.c @@ -0,0 +1,90 @@ +//************************************************************************** +// Double-precision sparse matrix-vector multiplication benchmark +//-------------------------------------------------------------------------- + +double val[2399]; +int idx[2399]; + +double x[500]; +int ptr[501] = { + 0, 4, 8, 10, 15, 22, 29, 33, 34, 36, 39, 44, 44, 47, 55, 61, 66, 68, 75, 82, 86, 91, 98, 104, 109, 113, 126, 131, 134, + 136, 143, 153, 159, 168, 170, 174, 176, 180, 187, 192, 198, 200, 204, 211, 213, 222, 225, 228, 233, 241, 247, 253, 256, + 262, 264, 270, 274, 277, 283, 288, 294, 301, 307, 312, 315, 319, 325, 329, 332, 338, 340, 342, 348, 353, 359, 362, 366, + 368, 374, 387, 393, 400, 403, 406, 412, 420, 425, 428, 433, 441, 442, 448, 456, 462, 468, 469, 477, 479, 485, 490, 495, + 501, 508, 513, 518, 524, 532, 535, 538, 542, 546, 552, 561, 563, 567, 571, 574, 576, 581, 584, 588, 592, 593, 597, 599, + 607, 612, 615, 619, 626, 633, 640, 646, 650, 653, 659, 665, 670, 673, 678, 685, 691, 697, 703, 708, 712, 717, 719, 722, + 725, 732, 736, 738, 742, 747, 753, 757, 763, 767, 769, 769, 777, 780, 784, 790, 797, 807, 810, 813, 815, 817, 822, 829, + 830, 835, 844, 848, 851, 854, 862, 864, 873, 876, 881, 884, 888, 895, 899, 901, 904, 908, 912, 919, 927, 931, 937, 941, + 944, 948, 950, 955, 960, 963, 970, 975, 979, 983, 985, 992, 993, 998, 1001, 1008, 1012, 1014, 1018, 1023, 1030, 1036, + 1040, 1045, 1052, 1058, 1061, 1066, 1069, 1071, 1077, 1080, 1084, 1087, 1090, 1092, 1095, 1100, 1102, 1110, 1117, 1122, + 1130, 1133, 1138, 1142, 1144, 1146, 1153, 1158, 1160, 1167, 1172, 1176, 1179, 1183, 1188, 1191, 1193, 1196, 1204, 1210, + 1216, 1219, 1221, 1225, 1229, 1234, 1236, 1239, 1244, 1248, 1253, 1256, 1264, 1268, 1271, 1272, 1275, 1278, 1284, 1287, + 1291, 1296, 1300, 1304, 1306, 1313, 1317, 1322, 1326, 1332, 1336, 1344, 1349, 1356, 1363, 1368, 1369, 1378, 1381, 1385, + 1388, 1395, 1399, 1407, 1414, 1422, 1425, 1433, 1435, 1438, 1439, 1445, 1448, 1450, 1453, 1456, 1470, 1472, 1475, 1481, + 1487, 1491, 1494, 1497, 1498, 1503, 1507, 1513, 1517, 1524, 1529, 1534, 1542, 1547, 1550, 1550, 1552, 1553, 1556, 1559, + 1563, 1571, 1577, 1580, 1585, 1590, 1594, 1598, 1600, 1602, 1610, 1615, 1620, 1628, 1634, 1637, 1649, 1652, 1656, 1662, + 1664, 1670, 1674, 1678, 1687, 1697, 1704, 1709, 1715, 1720, 1725, 1728, 1736, 1740, 1747, 1750, 1754, 1760, 1763, 1765, + 1773, 1781, 1783, 1788, 1795, 1802, 1810, 1815, 1820, 1824, 1829, 1836, 1839, 1843, 1847, 1849, 1854, 1859, 1863, 1873, + 1880, 1882, 1891, 1895, 1899, 1904, 1909, 1914, 1919, 1923, 1927, 1932, 1938, 1943, 1949, 1954, 1960, 1965, 1968, 1974, + 1980, 1983, 1990, 1992, 1995, 2002, 2011, 2017, 2024, 2028, 2035, 2037, 2048, 2055, 2063, 2067, 2069, 2078, 2081, 2085, + 2086, 2090, 2097, 2101, 2107, 2110, 2112, 2116, 2119, 2122, 2129, 2136, 2143, 2146, 2156, 2162, 2171, 2175, 2179, 2186, + 2189, 2194, 2198, 2206, 2211, 2215, 2222, 2228, 2237, 2241, 2245, 2256, 2259, 2269, 2272, 2275, 2278, 2279, 2281, 2287, + 2292, 2297, 2304, 2311, 2316, 2319, 2322, 2327, 2333, 2340, 2343, 2345, 2350, 2358, 2365, 2365, 2368, 2373, 2379, 2388, + 2394, 2399}; + +void spmv_init(int nonce) { + int i; + int t1 = nonce; + int t2 = nonce; + + for (i = 0; i < 2399; i++) { + t1 = (t1 * 97 + 17) % 1000; + t2 = (t2 * 17 + 23) % 500; + val[i] = (double) t1; + idx[i] = t2; + } + + for (i = 0; i < 500; i++) { + t1 = (t1 * 17 + 23) % 1000; + x[i] = (double) t1; + } +} + +void spmv(int r, double* val, int* idx, double* x, int* ptr, double* y) { + int i; + + for (i = 0; i < r; i++) { + int k; + double yi0 = 0, yi1 = 0, yi2 = 0, yi3 = 0; + for (k = ptr[i]; k < ptr[i + 1] - 3; k += 4) { + yi0 += val[k + 0] * x[idx[k + 0]]; + yi1 += val[k + 1] * x[idx[k + 1]]; + yi2 += val[k + 2] * x[idx[k + 2]]; + yi3 += val[k + 3] * x[idx[k + 3]]; + } + for (; k < ptr[i + 1]; k++) { + yi0 += val[k] * x[idx[k]]; + } + y[i] = (yi0 + yi1) + (yi2 + yi3); + } +} + +int verifyDouble(int n, double* test) { + int i; + int result = 0; + + for (i = 0; i < n; i++) { + result += (int) (test[i]); + } + + return result; +} + +double y[500]; + +int run_spmv(int dummy_0, int nonce) { + spmv_init(nonce); + spmv(500, val, idx, x, ptr, y); + + return verifyDouble(500, y); +} diff --git a/bench/towers.c b/bench/towers.c new file mode 100644 index 0000000..9a97a19 --- /dev/null +++ b/bench/towers.c @@ -0,0 +1,193 @@ +//************************************************************************** +// Towers of Hanoi benchmark +//-------------------------------------------------------------------------- +// +// Towers of Hanoi is a classic puzzle problem. The game consists of +// three pegs and a set of discs. Each disc is a different size, and +// initially all of the discs are on the left most peg with the smallest +// disc on top and the largest disc on the bottom. The goal is to move all +// of the discs onto the right most peg. The catch is that you are only +// allowed to move one disc at a time and you can never place a larger +// disc on top of a smaller disc. +// +// This implementation starts with NUM_DISC discs and uses a recursive +// algorithm to solve the puzzle. + +struct Node { + int val; + struct Node* next; +}; + +struct List { + int size; + struct Node* head; +}; + +struct List g_nodeFreeList; +struct Node g_nodePool[7]; + +int list_getSize(struct List* list) { + return list->size; +} + +void list_init(struct List* list) { + list->size = 0; + list->head = 0; +} + +void list_push(struct List* list, int val) { + struct Node* newNode; + + // Pop the next free node off the free list + newNode = g_nodeFreeList.head; + g_nodeFreeList.head = g_nodeFreeList.head->next; + + // Push the new node onto the given list + newNode->next = list->head; + list->head = newNode; + + // Assign the value + list->head->val = val; + + // Increment size + list->size++; +} + +int list_pop(struct List* list) { + struct Node* freedNode; + int val; + + // Get the value from the->head of given list + val = list->head->val; + + // Pop the head node off the given list + freedNode = list->head; + list->head = list->head->next; + + // Push the freed node onto the free list + freedNode->next = g_nodeFreeList.head; + g_nodeFreeList.head = freedNode; + + // Decrement size + list->size--; + + return val; +} + +void list_clear(struct List* list) { + while (list_getSize(list) > 0) + list_pop(list); +} + +//-------------------------------------------------------------------------- +// Tower data structure and functions + +struct Towers { + int numDiscs; + int numMoves; + struct List pegA; + struct List pegB; + struct List pegC; +}; + +void towers_init(struct Towers* towers, int n, int nonce) { + int i; + + towers->numDiscs = n; + towers->numMoves = 0; + + list_init(&(towers->pegA)); + list_init(&(towers->pegB)); + list_init(&(towers->pegC)); + + for (i = 0; i < n; i++) + list_push(&(towers->pegA), nonce * (n - i)); +} + +void towers_clear(struct Towers* towers, int nonce) { + list_clear(&(towers->pegA)); + list_clear(&(towers->pegB)); + list_clear(&(towers->pegC)); + + towers_init(towers, towers->numDiscs, nonce); +} + +void towers_solve_h(struct Towers* towers, int n, struct List* startPeg, struct List* tempPeg, struct List* destPeg) { + int val; + + if (n == 1) { + val = list_pop(startPeg); + list_push(destPeg, val); + towers->numMoves++; + } else { + towers_solve_h(towers, n - 1, startPeg, destPeg, tempPeg); + towers_solve_h(towers, 1, startPeg, tempPeg, destPeg); + towers_solve_h(towers, n - 1, tempPeg, startPeg, destPeg); + } +} + +void towers_solve(struct Towers* towers) { + towers_solve_h(towers, towers->numDiscs, &(towers->pegA), &(towers->pegB), &(towers->pegC)); +} + +int towers_verify(struct Towers* towers, int nonce) { + struct Node* ptr; + int numDiscs = 0; + int result = 0; + + if (list_getSize(&towers->pegA) != 0) { + return 2; + } + + if (list_getSize(&towers->pegB) != 0) { + return 3; + } + + if (list_getSize(&towers->pegC) != towers->numDiscs) { + return 4; + } + + for (ptr = towers->pegC.head; ptr != 0; ptr = ptr->next) { + numDiscs++; + if (ptr->val != nonce * numDiscs) { + return 5; + } + result += ptr->val; + } + + if (towers->numMoves != ((1 << towers->numDiscs) - 1)) { + return 6; + } + + return 0; +} + +//-------------------------------------------------------------------------- +// Main + +int run_towers(int dummy_0, int nonce) { + struct Towers towers; + int i; + + // Initialize free list + + list_init(&g_nodeFreeList); + g_nodeFreeList.head = &(g_nodePool[0]); + g_nodeFreeList.size = 7; + g_nodePool[7 - 1].next = 0; + g_nodePool[7 - 1].val = 99; + for (i = 0; i < (7 - 1); i++) { + g_nodePool[i].next = &(g_nodePool[i + 1]); + g_nodePool[i].val = nonce * i; + } + + towers_init(&towers, 7, nonce); + + // Solve it + + towers_clear(&towers, nonce); + towers_solve(&towers); + + // Check the results + return towers_verify(&towers, nonce); +} diff --git a/bench/vvadd.c b/bench/vvadd.c new file mode 100644 index 0000000..adb0b3b --- /dev/null +++ b/bench/vvadd.c @@ -0,0 +1,48 @@ +//************************************************************************** +// Vector-vector add benchmark +//-------------------------------------------------------------------------- +// +// This benchmark uses adds to vectors and writes the results to a +// third vector. + +int input1_vvadd[1000]; +int input2_vvadd[1000]; +int results_vvadd[1000]; + +void vvadd_init(int nonce) { + int i; + int x = nonce; + int y = nonce; + + for (i = 0; i < 1000; i++) { + x = (x * 97 + 17) % 1009; + y = (x * 17 + 23) % 1007; + input1_vvadd[i] = x; + input2_vvadd[i] = y; + } +} + +void vvadd(int n, int a[1000], int b[1000], int c[1000]) { + int i; + + for (i = 0; i < n; i++) + c[i] = a[i] + b[i]; +} + +int verify_vvadd(int n, int* test) { + int i; + int result = 0; + + for (i = 0; i < n; i++) { + int v = test[i]; + result += v; + } + + return result; +} + +int run_vvadd(int dummy_0, int nonce) { + vvadd_init(nonce); + vvadd(1000, input1_vvadd, input2_vvadd, results_vvadd); + return verify_vvadd(1000, results_vvadd); +} diff --git a/examples/ir0/alignof.ir b/examples/ir0/alignof.ir index e769fa9..38a747b 100644 --- a/examples/ir0/alignof.ir +++ b/examples/ir0/alignof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/array.ir b/examples/ir0/array.ir index 3673852..cb4ea31 100644 --- a/examples/ir0/array.ir +++ b/examples/ir0/array.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a %l1:i32:len %l2:i32:i @@ -52,7 +52,7 @@ block b6: fun i32 @sum (i32, i32*) { init: bid: b0 - allocations: + allocations: %l0:i32:len %l1:i32*:p %l2:i32:result diff --git a/examples/ir0/array2.ir b/examples/ir0/array2.ir index 2a4b3dd..ccfa143 100644 --- a/examples/ir0/array2.ir +++ b/examples/ir0/array2.ir @@ -2,7 +2,7 @@ fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: %l0:i32:row %l1:i32:col %l2:[5 x i32]*:a @@ -80,7 +80,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[4 x [5 x i32]]:a %l1:i32:row %l2:i32:col diff --git a/examples/ir0/array3.ir b/examples/ir0/array3.ir index 1ae0155..03ea43d 100644 --- a/examples/ir0/array3.ir +++ b/examples/ir0/array3.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: %l0:i32*:a block b0: @@ -18,7 +18,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32:i diff --git a/examples/ir0/array4.ir b/examples/ir0/array4.ir index a2b466f..d171ee6 100644 --- a/examples/ir0/array4.ir +++ b/examples/ir0/array4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32*:p %l2:i32:i diff --git a/examples/ir0/array5.ir b/examples/ir0/array5.ir index addd62c..e0c6db4 100644 --- a/examples/ir0/array5.ir +++ b/examples/ir0/array5.ir @@ -3,7 +3,7 @@ var [5 x i32] @g_a = {1, 2, 3} fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:init %l1:[5 x i32]:a %l2:i32:sum diff --git a/examples/ir0/bar.ir b/examples/ir0/bar.ir index 5d87e3b..bf9dee5 100644 --- a/examples/ir0/bar.ir +++ b/examples/ir0/bar.ir @@ -2,7 +2,7 @@ fun i32 @bar (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -58,7 +58,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/bitwise.ir b/examples/ir0/bitwise.ir index 5c73e29..bd1e5c4 100644 --- a/examples/ir0/bitwise.ir +++ b/examples/ir0/bitwise.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u8:a %l1:u8:b %l2:u8:c diff --git a/examples/ir0/cmp.ir b/examples/ir0/cmp.ir index 4f70e45..21924e7 100644 --- a/examples/ir0/cmp.ir +++ b/examples/ir0/cmp.ir @@ -2,7 +2,7 @@ fun i32 @char_greater_than (i8, u8) { init: bid: b0 - allocations: + allocations: %l0:i8:i %l1:u8:j @@ -37,7 +37,7 @@ block b5: fun i32 @int_greater_than (i32, u32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:u32:j @@ -71,7 +71,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:r1 %l1:i32:r2 %l2:u1:t0 diff --git a/examples/ir0/comma.ir b/examples/ir0/comma.ir index 41d8071..5c30c27 100644 --- a/examples/ir0/comma.ir +++ b/examples/ir0/comma.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:y %l1:i32:x diff --git a/examples/ir0/complement.ir b/examples/ir0/complement.ir index 16791da..a2a8e97 100644 --- a/examples/ir0/complement.ir +++ b/examples/ir0/complement.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a block b0: diff --git a/examples/ir0/complete_cond.ir b/examples/ir0/complete_cond.ir index 1d1efe7..d3a556e 100644 --- a/examples/ir0/complete_cond.ir +++ b/examples/ir0/complete_cond.ir @@ -2,7 +2,7 @@ fun i32 @func_0 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -279,7 +279,7 @@ block b40: fun i32 @func_1 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -556,7 +556,7 @@ block b40: fun i32 @func_10 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -833,7 +833,7 @@ block b40: fun i32 @func_11 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1110,7 +1110,7 @@ block b40: fun i32 @func_12 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1387,7 +1387,7 @@ block b40: fun i32 @func_13 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1664,7 +1664,7 @@ block b40: fun i32 @func_14 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1941,7 +1941,7 @@ block b40: fun i32 @func_15 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2218,7 +2218,7 @@ block b40: fun i32 @func_16 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2495,7 +2495,7 @@ block b40: fun i32 @func_17 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2772,7 +2772,7 @@ block b40: fun i32 @func_18 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3049,7 +3049,7 @@ block b40: fun i32 @func_19 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3326,7 +3326,7 @@ block b40: fun i32 @func_2 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3603,7 +3603,7 @@ block b40: fun i32 @func_20 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3880,7 +3880,7 @@ block b40: fun i32 @func_21 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4157,7 +4157,7 @@ block b40: fun i32 @func_22 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4434,7 +4434,7 @@ block b40: fun i32 @func_23 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4711,7 +4711,7 @@ block b40: fun i32 @func_24 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4988,7 +4988,7 @@ block b40: fun i32 @func_25 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5265,7 +5265,7 @@ block b40: fun i32 @func_26 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5542,7 +5542,7 @@ block b40: fun i32 @func_27 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5819,7 +5819,7 @@ block b40: fun i32 @func_28 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6096,7 +6096,7 @@ block b40: fun i32 @func_29 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6373,7 +6373,7 @@ block b40: fun i32 @func_3 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6650,7 +6650,7 @@ block b40: fun i32 @func_30 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6927,7 +6927,7 @@ block b40: fun i32 @func_31 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7204,7 +7204,7 @@ block b40: fun i32 @func_32 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7481,7 +7481,7 @@ block b40: fun i32 @func_33 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7758,7 +7758,7 @@ block b40: fun i32 @func_34 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8035,7 +8035,7 @@ block b40: fun i32 @func_35 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8312,7 +8312,7 @@ block b40: fun i32 @func_36 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8589,7 +8589,7 @@ block b40: fun i32 @func_37 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8866,7 +8866,7 @@ block b40: fun i32 @func_38 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9143,7 +9143,7 @@ block b40: fun i32 @func_39 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9420,7 +9420,7 @@ block b40: fun i32 @func_4 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9697,7 +9697,7 @@ block b40: fun i32 @func_40 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9974,7 +9974,7 @@ block b40: fun i32 @func_41 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10251,7 +10251,7 @@ block b40: fun i32 @func_42 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10528,7 +10528,7 @@ block b40: fun i32 @func_43 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10805,7 +10805,7 @@ block b40: fun i32 @func_44 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11082,7 +11082,7 @@ block b40: fun i32 @func_45 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11359,7 +11359,7 @@ block b40: fun i32 @func_46 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11636,7 +11636,7 @@ block b40: fun i32 @func_47 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11913,7 +11913,7 @@ block b40: fun i32 @func_48 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12190,7 +12190,7 @@ block b40: fun i32 @func_49 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12467,7 +12467,7 @@ block b40: fun i32 @func_5 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12744,7 +12744,7 @@ block b40: fun i32 @func_50 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13021,7 +13021,7 @@ block b40: fun i32 @func_51 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13298,7 +13298,7 @@ block b40: fun i32 @func_52 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13575,7 +13575,7 @@ block b40: fun i32 @func_53 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13852,7 +13852,7 @@ block b40: fun i32 @func_54 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14129,7 +14129,7 @@ block b40: fun i32 @func_55 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14406,7 +14406,7 @@ block b40: fun i32 @func_56 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14683,7 +14683,7 @@ block b40: fun i32 @func_57 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14960,7 +14960,7 @@ block b40: fun i32 @func_58 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15237,7 +15237,7 @@ block b40: fun i32 @func_59 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15514,7 +15514,7 @@ block b40: fun i32 @func_6 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15791,7 +15791,7 @@ block b40: fun i32 @func_60 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16068,7 +16068,7 @@ block b40: fun i32 @func_61 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16345,7 +16345,7 @@ block b40: fun i32 @func_62 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16622,7 +16622,7 @@ block b40: fun i32 @func_63 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16899,7 +16899,7 @@ block b40: fun i32 @func_64 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17176,7 +17176,7 @@ block b40: fun i32 @func_65 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17453,7 +17453,7 @@ block b40: fun i32 @func_66 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17730,7 +17730,7 @@ block b40: fun i32 @func_67 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18007,7 +18007,7 @@ block b40: fun i32 @func_68 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18284,7 +18284,7 @@ block b40: fun i32 @func_69 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18561,7 +18561,7 @@ block b40: fun i32 @func_7 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18838,7 +18838,7 @@ block b40: fun i32 @func_70 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19115,7 +19115,7 @@ block b40: fun i32 @func_71 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19392,7 +19392,7 @@ block b40: fun i32 @func_72 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19669,7 +19669,7 @@ block b40: fun i32 @func_73 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19946,7 +19946,7 @@ block b40: fun i32 @func_74 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20223,7 +20223,7 @@ block b40: fun i32 @func_75 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20500,7 +20500,7 @@ block b40: fun i32 @func_76 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20777,7 +20777,7 @@ block b40: fun i32 @func_77 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21054,7 +21054,7 @@ block b40: fun i32 @func_78 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21331,7 +21331,7 @@ block b40: fun i32 @func_79 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21608,7 +21608,7 @@ block b40: fun i32 @func_8 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21885,7 +21885,7 @@ block b40: fun i32 @func_80 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22162,7 +22162,7 @@ block b40: fun i32 @func_81 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22439,7 +22439,7 @@ block b40: fun i32 @func_82 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22716,7 +22716,7 @@ block b40: fun i32 @func_83 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22993,7 +22993,7 @@ block b40: fun i32 @func_84 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23270,7 +23270,7 @@ block b40: fun i32 @func_85 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23547,7 +23547,7 @@ block b40: fun i32 @func_86 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23824,7 +23824,7 @@ block b40: fun i32 @func_87 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24101,7 +24101,7 @@ block b40: fun i32 @func_88 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24378,7 +24378,7 @@ block b40: fun i32 @func_89 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24655,7 +24655,7 @@ block b40: fun i32 @func_9 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24932,7 +24932,7 @@ block b40: fun i32 @func_90 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25209,7 +25209,7 @@ block b40: fun i32 @func_91 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25486,7 +25486,7 @@ block b40: fun i32 @func_92 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25763,7 +25763,7 @@ block b40: fun i32 @func_93 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26040,7 +26040,7 @@ block b40: fun i32 @func_94 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26317,7 +26317,7 @@ block b40: fun i32 @func_95 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26594,7 +26594,7 @@ block b40: fun i32 @func_96 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26871,7 +26871,7 @@ block b40: fun i32 @func_97 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27148,7 +27148,7 @@ block b40: fun i32 @func_98 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27425,7 +27425,7 @@ block b40: fun i32 @func_99 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27702,7 +27702,7 @@ block b40: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u1:t0 %l1:u1:t1 %l2:u1:t2 diff --git a/examples/ir0/cond.ir b/examples/ir0/cond.ir index e5b35fe..d495d0b 100644 --- a/examples/ir0/cond.ir +++ b/examples/ir0/cond.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:y %l1:i32:x %l2:i32:t0 diff --git a/examples/ir0/cond_and_loop.ir b/examples/ir0/cond_and_loop.ir index 5a12c22..fac7fea 100644 --- a/examples/ir0/cond_and_loop.ir +++ b/examples/ir0/cond_and_loop.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:p %l2:i32:q diff --git a/examples/ir0/fib2.ir b/examples/ir0/fib2.ir index db43f06..f3a8913 100644 --- a/examples/ir0/fib2.ir +++ b/examples/ir0/fib2.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -39,7 +39,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/fib3.ir b/examples/ir0/fib3.ir index 0863387..c37dfd9 100644 --- a/examples/ir0/fib3.ir +++ b/examples/ir0/fib3.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -71,7 +71,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/fib4.ir b/examples/ir0/fib4.ir index c8a20b2..c0ea443 100644 --- a/examples/ir0/fib4.ir +++ b/examples/ir0/fib4.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -65,7 +65,7 @@ block b8: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/fib5.ir b/examples/ir0/fib5.ir index ad88a79..f84644c 100644 --- a/examples/ir0/fib5.ir +++ b/examples/ir0/fib5.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -65,7 +65,7 @@ block b8: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/fibonacci.ir b/examples/ir0/fibonacci.ir index b1a213e..b0fafc3 100644 --- a/examples/ir0/fibonacci.ir +++ b/examples/ir0/fibonacci.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -40,7 +40,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:number block b0: diff --git a/examples/ir0/float.ir b/examples/ir0/float.ir index 611ee65..bdc7acb 100644 --- a/examples/ir0/float.ir +++ b/examples/ir0/float.ir @@ -2,7 +2,7 @@ fun f64 @average (i32, i32*) { init: bid: b0 - allocations: + allocations: %l0:i32:len %l1:i32*:a %l2:i32:sum @@ -59,7 +59,7 @@ block b6: fun f64 @custom_abs (f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:t0 @@ -93,7 +93,7 @@ block b4: fun f64 @custom_max (f64, f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:t0 @@ -129,7 +129,7 @@ block b4: fun i32 @is_close (f64, f64, f64, f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:rel_tol @@ -168,7 +168,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32:len %l2:i32:i diff --git a/examples/ir0/float2.ir b/examples/ir0/float2.ir index f70edc4..6f2dbac 100644 --- a/examples/ir0/float2.ir +++ b/examples/ir0/float2.ir @@ -2,7 +2,7 @@ fun f64 @func_0 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -165,7 +165,7 @@ block b1: fun f32 @func_1 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -329,7 +329,7 @@ block b1: fun f32 @func_10 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -489,7 +489,7 @@ block b1: fun f64 @func_11 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -645,7 +645,7 @@ block b1: fun f64 @func_12 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -802,7 +802,7 @@ block b1: fun f32 @func_13 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -954,7 +954,7 @@ block b1: fun f32 @func_14 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -1118,7 +1118,7 @@ block b1: fun f32 @func_15 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -1282,7 +1282,7 @@ block b1: fun f64 @func_16 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -1447,7 +1447,7 @@ block b1: fun f64 @func_17 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -1605,7 +1605,7 @@ block b1: fun f32 @func_18 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -1766,7 +1766,7 @@ block b1: fun f32 @func_19 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -1923,7 +1923,7 @@ block b1: fun f64 @func_2 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2089,7 +2089,7 @@ block b1: fun f32 @func_20 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2246,7 +2246,7 @@ block b1: fun f32 @func_21 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -2400,7 +2400,7 @@ block b1: fun f64 @func_22 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -2571,7 +2571,7 @@ block b1: fun f32 @func_23 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -2729,7 +2729,7 @@ block b1: fun f64 @func_24 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2886,7 +2886,7 @@ block b1: fun f32 @func_25 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -3050,7 +3050,7 @@ block b1: fun f32 @func_26 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -3213,7 +3213,7 @@ block b1: fun f64 @func_27 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -3372,7 +3372,7 @@ block b1: fun f32 @func_28 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -3534,7 +3534,7 @@ block b1: fun f32 @func_29 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -3695,7 +3695,7 @@ block b1: fun f64 @func_3 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -3853,7 +3853,7 @@ block b1: fun f64 @func_30 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -4009,7 +4009,7 @@ block b1: fun f64 @func_31 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -4179,7 +4179,7 @@ block b1: fun f64 @func_32 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -4337,7 +4337,7 @@ block b1: fun f64 @func_33 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -4496,7 +4496,7 @@ block b1: fun f64 @func_34 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -4652,7 +4652,7 @@ block b1: fun f32 @func_35 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -4813,7 +4813,7 @@ block b1: fun f32 @func_36 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -4978,7 +4978,7 @@ block b1: fun f64 @func_37 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -5136,7 +5136,7 @@ block b1: fun f32 @func_38 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -5293,7 +5293,7 @@ block b1: fun f64 @func_39 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -5449,7 +5449,7 @@ block b1: fun f64 @func_4 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -5605,7 +5605,7 @@ block b1: fun f32 @func_40 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -5763,7 +5763,7 @@ block b1: fun f64 @func_41 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -5919,7 +5919,7 @@ block b1: fun f64 @func_42 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6080,7 +6080,7 @@ block b1: fun f32 @func_43 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -6244,7 +6244,7 @@ block b1: fun f32 @func_44 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6412,7 +6412,7 @@ block b1: fun f32 @func_45 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6576,7 +6576,7 @@ block b1: fun f32 @func_46 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -6731,7 +6731,7 @@ block b1: fun f64 @func_47 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -6890,7 +6890,7 @@ block b1: fun f32 @func_48 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -7046,7 +7046,7 @@ block b1: fun f64 @func_49 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -7201,7 +7201,7 @@ block b1: fun f32 @func_5 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -7364,7 +7364,7 @@ block b1: fun f32 @func_50 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -7523,7 +7523,7 @@ block b1: fun f64 @func_51 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -7674,7 +7674,7 @@ block b1: fun f64 @func_52 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -7833,7 +7833,7 @@ block b1: fun f64 @func_53 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -8000,7 +8000,7 @@ block b1: fun f32 @func_54 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -8164,7 +8164,7 @@ block b1: fun f64 @func_55 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -8318,7 +8318,7 @@ block b1: fun f64 @func_56 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -8476,7 +8476,7 @@ block b1: fun f32 @func_57 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -8641,7 +8641,7 @@ block b1: fun f64 @func_58 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -8802,7 +8802,7 @@ block b1: fun f64 @func_59 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -8966,7 +8966,7 @@ block b1: fun f64 @func_6 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -9124,7 +9124,7 @@ block b1: fun f64 @func_60 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -9281,7 +9281,7 @@ block b1: fun f64 @func_61 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -9446,7 +9446,7 @@ block b1: fun f64 @func_62 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -9606,7 +9606,7 @@ block b1: fun f32 @func_63 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -9765,7 +9765,7 @@ block b1: fun f64 @func_64 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -9922,7 +9922,7 @@ block b1: fun f32 @func_65 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -10078,7 +10078,7 @@ block b1: fun f64 @func_66 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -10232,7 +10232,7 @@ block b1: fun f32 @func_67 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -10393,7 +10393,7 @@ block b1: fun f32 @func_68 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -10555,7 +10555,7 @@ block b1: fun f64 @func_69 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -10719,7 +10719,7 @@ block b1: fun f64 @func_7 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -10881,7 +10881,7 @@ block b1: fun f32 @func_70 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -11041,7 +11041,7 @@ block b1: fun f64 @func_71 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -11202,7 +11202,7 @@ block b1: fun f64 @func_72 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -11363,7 +11363,7 @@ block b1: fun f32 @func_73 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -11522,7 +11522,7 @@ block b1: fun f64 @func_74 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -11678,7 +11678,7 @@ block b1: fun f32 @func_75 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -11837,7 +11837,7 @@ block b1: fun f64 @func_76 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -11986,7 +11986,7 @@ block b1: fun f64 @func_77 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -12144,7 +12144,7 @@ block b1: fun f32 @func_78 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -12299,7 +12299,7 @@ block b1: fun f32 @func_79 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -12463,7 +12463,7 @@ block b1: fun f64 @func_8 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -12622,7 +12622,7 @@ block b1: fun f32 @func_80 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -12773,7 +12773,7 @@ block b1: fun f64 @func_81 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -12934,7 +12934,7 @@ block b1: fun f64 @func_82 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -13099,7 +13099,7 @@ block b1: fun f64 @func_83 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -13261,7 +13261,7 @@ block b1: fun f32 @func_84 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -13421,7 +13421,7 @@ block b1: fun f64 @func_85 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -13582,7 +13582,7 @@ block b1: fun f32 @func_86 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -13742,7 +13742,7 @@ block b1: fun f64 @func_87 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -13901,7 +13901,7 @@ block b1: fun f32 @func_88 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -14062,7 +14062,7 @@ block b1: fun f32 @func_89 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -14220,7 +14220,7 @@ block b1: fun f32 @func_9 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -14384,7 +14384,7 @@ block b1: fun f64 @func_90 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -14558,7 +14558,7 @@ block b1: fun f32 @func_91 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -14716,7 +14716,7 @@ block b1: fun f32 @func_92 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -14872,7 +14872,7 @@ block b1: fun f64 @func_93 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -15030,7 +15030,7 @@ block b1: fun f64 @func_94 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -15189,7 +15189,7 @@ block b1: fun f32 @func_95 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -15350,7 +15350,7 @@ block b1: fun f32 @func_96 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -15516,7 +15516,7 @@ block b1: fun f32 @func_97 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -15678,7 +15678,7 @@ block b1: fun f64 @func_98 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -15840,7 +15840,7 @@ block b1: fun f32 @func_99 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -15989,7 +15989,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/foo.ir b/examples/ir0/foo.ir index 8db5237..a1064df 100644 --- a/examples/ir0/foo.ir +++ b/examples/ir0/foo.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -40,7 +40,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/foo2.ir b/examples/ir0/foo2.ir index ab2679a..f10e33e 100644 --- a/examples/ir0/foo2.ir +++ b/examples/ir0/foo2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:i %l2:i32:i diff --git a/examples/ir0/foo3.ir b/examples/ir0/foo3.ir index d21b8b7..9628d7c 100644 --- a/examples/ir0/foo3.ir +++ b/examples/ir0/foo3.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun i32 @foo (i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:j @@ -27,7 +27,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i block b0: diff --git a/examples/ir0/foo4.ir b/examples/ir0/foo4.ir index 4314f2f..e128d61 100644 --- a/examples/ir0/foo4.ir +++ b/examples/ir0/foo4.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:j %l2:i32:k @@ -28,7 +28,7 @@ block b1: fun [ret:i32 params:(i32, i32, i32)]* @foo2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -41,7 +41,7 @@ block b1: fun [ret:[ret:i32 params:(i32, i32, i32)]* params:()]* @foo3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -54,7 +54,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/for_continue_break.ir b/examples/ir0/for_continue_break.ir index dda43d2..3fbd5eb 100644 --- a/examples/ir0/for_continue_break.ir +++ b/examples/ir0/for_continue_break.ir @@ -2,7 +2,7 @@ fun i32 @foo () { init: bid: b0 - allocations: + allocations: %l0:i32:sum %l1:i32:i @@ -72,7 +72,7 @@ block b14: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/gcd.ir b/examples/ir0/gcd.ir index 45a5fcf..1c8a5ce 100644 --- a/examples/ir0/gcd.ir +++ b/examples/ir0/gcd.ir @@ -2,7 +2,7 @@ fun i32 @gcd (i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:t0 @@ -91,7 +91,7 @@ block b13: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/hello_main.ir b/examples/ir0/hello_main.ir index 70851f9..862b12a 100644 --- a/examples/ir0/hello_main.ir +++ b/examples/ir0/hello_main.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/integer_literal.ir b/examples/ir0/integer_literal.ir index 54d0527..16b650f 100644 --- a/examples/ir0/integer_literal.ir +++ b/examples/ir0/integer_literal.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i16:temp %l1:u32:temp2 diff --git a/examples/ir0/integer_literal2.ir b/examples/ir0/integer_literal2.ir index 777aefd..8ba1d9f 100644 --- a/examples/ir0/integer_literal2.ir +++ b/examples/ir0/integer_literal2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:temp block b0: diff --git a/examples/ir0/logical_op.ir b/examples/ir0/logical_op.ir index 1b50e34..7a46295 100644 --- a/examples/ir0/logical_op.ir +++ b/examples/ir0/logical_op.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c diff --git a/examples/ir0/lost_copy.ir b/examples/ir0/lost_copy.ir index 50e92e4..665d8dc 100644 --- a/examples/ir0/lost_copy.ir +++ b/examples/ir0/lost_copy.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:result diff --git a/examples/ir0/minus_constant.ir b/examples/ir0/minus_constant.ir index 33b2b08..79c1710 100644 --- a/examples/ir0/minus_constant.ir +++ b/examples/ir0/minus_constant.ir @@ -6,7 +6,7 @@ var f64 @d = -(1.5) fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/negate.ir b/examples/ir0/negate.ir index 91f4281..f489ad0 100644 --- a/examples/ir0/negate.ir +++ b/examples/ir0/negate.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -41,7 +41,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/pointer.ir b/examples/ir0/pointer.ir index 73ec337..1e7aaec 100644 --- a/examples/ir0/pointer.ir +++ b/examples/ir0/pointer.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: %l0:i32*:a block b0: @@ -18,7 +18,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32*:p %l2:i32**:p2 diff --git a/examples/ir0/return_void.ir b/examples/ir0/return_void.ir index f3559cf..c3547f1 100644 --- a/examples/ir0/return_void.ir +++ b/examples/ir0/return_void.ir @@ -2,7 +2,7 @@ fun unit @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -12,7 +12,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/shift.ir b/examples/ir0/shift.ir index 4fb2f6e..9652b27 100644 --- a/examples/ir0/shift.ir +++ b/examples/ir0/shift.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i8:a %l1:i8:b %l2:u8:c diff --git a/examples/ir0/side_effect.ir b/examples/ir0/side_effect.ir index 879db51..dad504c 100644 --- a/examples/ir0/side_effect.ir +++ b/examples/ir0/side_effect.ir @@ -3,7 +3,7 @@ var i32 @g = 0 fun i32* @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -19,7 +19,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/simple.ir b/examples/ir0/simple.ir index ab82861..f84f95a 100644 --- a/examples/ir0/simple.ir +++ b/examples/ir0/simple.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x block b0: diff --git a/examples/ir0/simple_cond.ir b/examples/ir0/simple_cond.ir index d468513..f24c632 100644 --- a/examples/ir0/simple_cond.ir +++ b/examples/ir0/simple_cond.ir @@ -2,7 +2,7 @@ fun i32 @f (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x block b0: @@ -19,7 +19,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:t0 diff --git a/examples/ir0/simple_for.ir b/examples/ir0/simple_for.ir index 6172d4d..f431422 100644 --- a/examples/ir0/simple_for.ir +++ b/examples/ir0/simple_for.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:sum diff --git a/examples/ir0/simple_if.ir b/examples/ir0/simple_if.ir index a2b22b4..47fb117 100644 --- a/examples/ir0/simple_if.ir +++ b/examples/ir0/simple_if.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -38,7 +38,7 @@ block b4: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/sizeof.ir b/examples/ir0/sizeof.ir index e769fa9..38a747b 100644 --- a/examples/ir0/sizeof.ir +++ b/examples/ir0/sizeof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/sizeof2.ir b/examples/ir0/sizeof2.ir index 5518de3..4029f85 100644 --- a/examples/ir0/sizeof2.ir +++ b/examples/ir0/sizeof2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i8:a %l1:i8:b %l2:[10 x i64]:c diff --git a/examples/ir0/sizeof3.ir b/examples/ir0/sizeof3.ir index 904304b..271f2d0 100644 --- a/examples/ir0/sizeof3.ir +++ b/examples/ir0/sizeof3.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y diff --git a/examples/ir0/sizeof4.ir b/examples/ir0/sizeof4.ir index dc2a337..87a2d36 100644 --- a/examples/ir0/sizeof4.ir +++ b/examples/ir0/sizeof4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b diff --git a/examples/ir0/struct.ir b/examples/ir0/struct.ir index 0aa9a80..d042abd 100644 --- a/examples/ir0/struct.ir +++ b/examples/ir0/struct.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:f64 } fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: %l0:i32:row %l1:i32:col %l2:[5 x i32]*:arr @@ -82,7 +82,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct %t1:temp %l1:i32:row %l2:i32:col diff --git a/examples/ir0/struct2.ir b/examples/ir0/struct2.ir index a3f3ca2..f76a166 100644 --- a/examples/ir0/struct2.ir +++ b/examples/ir0/struct2.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:i64 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:const struct %t1:temp %l1:struct %t1:temp2 %l2:i32:sum diff --git a/examples/ir0/struct3.ir b/examples/ir0/struct3.ir index 45c87f8..2d5eb59 100644 --- a/examples/ir0/struct3.ir +++ b/examples/ir0/struct3.ir @@ -4,7 +4,7 @@ struct Sub : { m1:i64, m2:i64, m3:i64, m4:i64 } fun struct Big @foo (struct Big) { init: bid: b0 - allocations: + allocations: %l0:struct Big:p1 %l1:struct Big:r @@ -27,7 +27,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Big:a %l1:struct Big:r diff --git a/examples/ir0/struct4.ir b/examples/ir0/struct4.ir index 1ffb143..291d53c 100644 --- a/examples/ir0/struct4.ir +++ b/examples/ir0/struct4.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun struct Foo @f () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:x block b0: @@ -21,7 +21,7 @@ block b1: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:struct Foo:t0 diff --git a/examples/ir0/swap.ir b/examples/ir0/swap.ir index 4880fd5..538a471 100644 --- a/examples/ir0/swap.ir +++ b/examples/ir0/swap.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:t diff --git a/examples/ir0/switch-in-loop.ir b/examples/ir0/switch-in-loop.ir index 52829a0..388755e 100644 --- a/examples/ir0/switch-in-loop.ir +++ b/examples/ir0/switch-in-loop.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:c diff --git a/examples/ir0/switch.ir b/examples/ir0/switch.ir index 9d9fe2e..efd61e3 100644 --- a/examples/ir0/switch.ir +++ b/examples/ir0/switch.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b diff --git a/examples/ir0/temp.ir b/examples/ir0/temp.ir index 64d2162..c79d5b1 100644 --- a/examples/ir0/temp.ir +++ b/examples/ir0/temp.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -31,7 +31,7 @@ block b4: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/temp2.ir b/examples/ir0/temp2.ir index 3e5b02e..43b71cc 100644 --- a/examples/ir0/temp2.ir +++ b/examples/ir0/temp2.ir @@ -3,7 +3,7 @@ struct color : { number:i32, name:i8 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:temp %l1:struct color:c %l2:struct color*:cp diff --git a/examples/ir0/test.ir b/examples/ir0/test.ir index 0ab149a..af04633 100644 --- a/examples/ir0/test.ir +++ b/examples/ir0/test.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i64:l %l1:i64:l2 %l2:i64:l3 diff --git a/examples/ir0/typecast.ir b/examples/ir0/typecast.ir index b9d48d0..2ea6c28 100644 --- a/examples/ir0/typecast.ir +++ b/examples/ir0/typecast.ir @@ -3,7 +3,7 @@ var i8 @temp = 0x00l fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir0/typedef.ir b/examples/ir0/typedef.ir index 5635d6b..2184c4a 100644 --- a/examples/ir0/typedef.ir +++ b/examples/ir0/typedef.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32*const:b diff --git a/examples/ir0/unary.ir b/examples/ir0/unary.ir index 841e62e..3d5bd4f 100644 --- a/examples/ir0/unary.ir +++ b/examples/ir0/unary.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u8:temp block b0: diff --git a/examples/ir0/while_continue_break.ir b/examples/ir0/while_continue_break.ir index 28958e9..a132b35 100644 --- a/examples/ir0/while_continue_break.ir +++ b/examples/ir0/while_continue_break.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @foo () { init: bid: b0 - allocations: + allocations: %l0:i32:sum %l1:i32:i %l2:i32:continue_num @@ -76,7 +76,7 @@ block b12: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/alignof.ir b/examples/ir1/alignof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/ir1/alignof.ir +++ b/examples/ir1/alignof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/array.ir b/examples/ir1/array.ir index 9796e4f..1fbe3ad 100644 --- a/examples/ir1/array.ir +++ b/examples/ir1/array.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a %l1:i32:len %l2:i32:i @@ -43,7 +43,7 @@ block b5: fun i32 @sum (i32, i32*) { init: bid: b0 - allocations: + allocations: %l0:i32:len %l1:i32*:p %l2:i32:result diff --git a/examples/ir1/array2.ir b/examples/ir1/array2.ir index b6106be..26b4a99 100644 --- a/examples/ir1/array2.ir +++ b/examples/ir1/array2.ir @@ -2,7 +2,7 @@ fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: %l0:i32:row %l1:i32:col %l2:[5 x i32]*:a @@ -68,7 +68,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[4 x [5 x i32]]:a %l1:i32:row %l2:i32:col diff --git a/examples/ir1/array3.ir b/examples/ir1/array3.ir index c6fc4bf..514b96f 100644 --- a/examples/ir1/array3.ir +++ b/examples/ir1/array3.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: %l0:i32*:a block b0: @@ -15,7 +15,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32:i diff --git a/examples/ir1/array4.ir b/examples/ir1/array4.ir index 27966fa..279feb0 100644 --- a/examples/ir1/array4.ir +++ b/examples/ir1/array4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32*:p %l2:i32:i diff --git a/examples/ir1/array5.ir b/examples/ir1/array5.ir index 221aaf1..cbad3de 100644 --- a/examples/ir1/array5.ir +++ b/examples/ir1/array5.ir @@ -3,7 +3,7 @@ var [5 x i32] @g_a = {1, 2, 3} fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:init %l1:[5 x i32]:a %l2:i32:sum diff --git a/examples/ir1/bar.ir b/examples/ir1/bar.ir index 1a0d394..0fe4ba1 100644 --- a/examples/ir1/bar.ir +++ b/examples/ir1/bar.ir @@ -2,7 +2,7 @@ fun i32 @bar (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -49,7 +49,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/bitwise.ir b/examples/ir1/bitwise.ir index 9407737..a626747 100644 --- a/examples/ir1/bitwise.ir +++ b/examples/ir1/bitwise.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u8:a %l1:u8:b %l2:u8:c diff --git a/examples/ir1/cmp.ir b/examples/ir1/cmp.ir index a98e535..39edd20 100644 --- a/examples/ir1/cmp.ir +++ b/examples/ir1/cmp.ir @@ -2,7 +2,7 @@ fun i32 @char_greater_than (i8, u8) { init: bid: b0 - allocations: + allocations: %l0:i8:i %l1:u8:j @@ -28,7 +28,7 @@ block b2: fun i32 @int_greater_than (i32, u32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:u32:j @@ -53,7 +53,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:r1 %l1:i32:r2 %l2:u1:t0 diff --git a/examples/ir1/comma.ir b/examples/ir1/comma.ir index e7f3b80..76911c5 100644 --- a/examples/ir1/comma.ir +++ b/examples/ir1/comma.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:y %l1:i32:x diff --git a/examples/ir1/complement.ir b/examples/ir1/complement.ir index 79fb18c..c321164 100644 --- a/examples/ir1/complement.ir +++ b/examples/ir1/complement.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a block b0: diff --git a/examples/ir1/complete_cond.ir b/examples/ir1/complete_cond.ir index bf413f6..e15d15d 100644 --- a/examples/ir1/complete_cond.ir +++ b/examples/ir1/complete_cond.ir @@ -2,7 +2,7 @@ fun i32 @func_0 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -276,7 +276,7 @@ block b39: fun i32 @func_1 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -550,7 +550,7 @@ block b39: fun i32 @func_10 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -824,7 +824,7 @@ block b39: fun i32 @func_11 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1098,7 +1098,7 @@ block b39: fun i32 @func_12 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1372,7 +1372,7 @@ block b39: fun i32 @func_13 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1646,7 +1646,7 @@ block b39: fun i32 @func_14 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1920,7 +1920,7 @@ block b39: fun i32 @func_15 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2194,7 +2194,7 @@ block b39: fun i32 @func_16 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2468,7 +2468,7 @@ block b39: fun i32 @func_17 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2742,7 +2742,7 @@ block b39: fun i32 @func_18 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3016,7 +3016,7 @@ block b39: fun i32 @func_19 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3290,7 +3290,7 @@ block b39: fun i32 @func_2 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3564,7 +3564,7 @@ block b39: fun i32 @func_20 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3838,7 +3838,7 @@ block b39: fun i32 @func_21 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4112,7 +4112,7 @@ block b39: fun i32 @func_22 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4386,7 +4386,7 @@ block b39: fun i32 @func_23 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4660,7 +4660,7 @@ block b39: fun i32 @func_24 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4934,7 +4934,7 @@ block b39: fun i32 @func_25 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5208,7 +5208,7 @@ block b39: fun i32 @func_26 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5482,7 +5482,7 @@ block b39: fun i32 @func_27 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5756,7 +5756,7 @@ block b39: fun i32 @func_28 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6030,7 +6030,7 @@ block b39: fun i32 @func_29 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6304,7 +6304,7 @@ block b39: fun i32 @func_3 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6578,7 +6578,7 @@ block b39: fun i32 @func_30 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6852,7 +6852,7 @@ block b39: fun i32 @func_31 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7126,7 +7126,7 @@ block b39: fun i32 @func_32 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7400,7 +7400,7 @@ block b39: fun i32 @func_33 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7674,7 +7674,7 @@ block b39: fun i32 @func_34 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7948,7 +7948,7 @@ block b39: fun i32 @func_35 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8222,7 +8222,7 @@ block b39: fun i32 @func_36 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8496,7 +8496,7 @@ block b39: fun i32 @func_37 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8770,7 +8770,7 @@ block b39: fun i32 @func_38 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9044,7 +9044,7 @@ block b39: fun i32 @func_39 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9318,7 +9318,7 @@ block b39: fun i32 @func_4 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9592,7 +9592,7 @@ block b39: fun i32 @func_40 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9866,7 +9866,7 @@ block b39: fun i32 @func_41 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10140,7 +10140,7 @@ block b39: fun i32 @func_42 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10414,7 +10414,7 @@ block b39: fun i32 @func_43 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10688,7 +10688,7 @@ block b39: fun i32 @func_44 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10962,7 +10962,7 @@ block b39: fun i32 @func_45 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11236,7 +11236,7 @@ block b39: fun i32 @func_46 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11510,7 +11510,7 @@ block b39: fun i32 @func_47 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11784,7 +11784,7 @@ block b39: fun i32 @func_48 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12058,7 +12058,7 @@ block b39: fun i32 @func_49 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12332,7 +12332,7 @@ block b39: fun i32 @func_5 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12606,7 +12606,7 @@ block b39: fun i32 @func_50 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12880,7 +12880,7 @@ block b39: fun i32 @func_51 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13154,7 +13154,7 @@ block b39: fun i32 @func_52 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13428,7 +13428,7 @@ block b39: fun i32 @func_53 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13702,7 +13702,7 @@ block b39: fun i32 @func_54 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13976,7 +13976,7 @@ block b39: fun i32 @func_55 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14250,7 +14250,7 @@ block b39: fun i32 @func_56 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14524,7 +14524,7 @@ block b39: fun i32 @func_57 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14798,7 +14798,7 @@ block b39: fun i32 @func_58 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15072,7 +15072,7 @@ block b39: fun i32 @func_59 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15346,7 +15346,7 @@ block b39: fun i32 @func_6 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15620,7 +15620,7 @@ block b39: fun i32 @func_60 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15894,7 +15894,7 @@ block b39: fun i32 @func_61 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16168,7 +16168,7 @@ block b39: fun i32 @func_62 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16442,7 +16442,7 @@ block b39: fun i32 @func_63 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16716,7 +16716,7 @@ block b39: fun i32 @func_64 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16990,7 +16990,7 @@ block b39: fun i32 @func_65 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17264,7 +17264,7 @@ block b39: fun i32 @func_66 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17538,7 +17538,7 @@ block b39: fun i32 @func_67 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17812,7 +17812,7 @@ block b39: fun i32 @func_68 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18086,7 +18086,7 @@ block b39: fun i32 @func_69 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18360,7 +18360,7 @@ block b39: fun i32 @func_7 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18634,7 +18634,7 @@ block b39: fun i32 @func_70 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18908,7 +18908,7 @@ block b39: fun i32 @func_71 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19182,7 +19182,7 @@ block b39: fun i32 @func_72 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19456,7 +19456,7 @@ block b39: fun i32 @func_73 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19730,7 +19730,7 @@ block b39: fun i32 @func_74 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20004,7 +20004,7 @@ block b39: fun i32 @func_75 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20278,7 +20278,7 @@ block b39: fun i32 @func_76 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20552,7 +20552,7 @@ block b39: fun i32 @func_77 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20826,7 +20826,7 @@ block b39: fun i32 @func_78 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21100,7 +21100,7 @@ block b39: fun i32 @func_79 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21374,7 +21374,7 @@ block b39: fun i32 @func_8 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21648,7 +21648,7 @@ block b39: fun i32 @func_80 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21922,7 +21922,7 @@ block b39: fun i32 @func_81 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22196,7 +22196,7 @@ block b39: fun i32 @func_82 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22470,7 +22470,7 @@ block b39: fun i32 @func_83 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22744,7 +22744,7 @@ block b39: fun i32 @func_84 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23018,7 +23018,7 @@ block b39: fun i32 @func_85 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23292,7 +23292,7 @@ block b39: fun i32 @func_86 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23566,7 +23566,7 @@ block b39: fun i32 @func_87 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23840,7 +23840,7 @@ block b39: fun i32 @func_88 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24114,7 +24114,7 @@ block b39: fun i32 @func_89 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24388,7 +24388,7 @@ block b39: fun i32 @func_9 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24662,7 +24662,7 @@ block b39: fun i32 @func_90 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24936,7 +24936,7 @@ block b39: fun i32 @func_91 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25210,7 +25210,7 @@ block b39: fun i32 @func_92 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25484,7 +25484,7 @@ block b39: fun i32 @func_93 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25758,7 +25758,7 @@ block b39: fun i32 @func_94 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26032,7 +26032,7 @@ block b39: fun i32 @func_95 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26306,7 +26306,7 @@ block b39: fun i32 @func_96 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26580,7 +26580,7 @@ block b39: fun i32 @func_97 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26854,7 +26854,7 @@ block b39: fun i32 @func_98 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27128,7 +27128,7 @@ block b39: fun i32 @func_99 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27402,7 +27402,7 @@ block b39: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u1:t0 %l1:u1:t1 %l2:u1:t2 diff --git a/examples/ir1/cond.ir b/examples/ir1/cond.ir index a5f154f..c5d3af2 100644 --- a/examples/ir1/cond.ir +++ b/examples/ir1/cond.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:y %l1:i32:x %l2:i32:t0 diff --git a/examples/ir1/cond_and_loop.ir b/examples/ir1/cond_and_loop.ir index e9bfd19..77be802 100644 --- a/examples/ir1/cond_and_loop.ir +++ b/examples/ir1/cond_and_loop.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:p %l2:i32:q diff --git a/examples/ir1/fib2.ir b/examples/ir1/fib2.ir index 95f56e9..c19801c 100644 --- a/examples/ir1/fib2.ir +++ b/examples/ir1/fib2.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -30,7 +30,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/fib3.ir b/examples/ir1/fib3.ir index bde76b8..e77a2f2 100644 --- a/examples/ir1/fib3.ir +++ b/examples/ir1/fib3.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -56,7 +56,7 @@ block b9: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/fib4.ir b/examples/ir1/fib4.ir index abdcb59..72508a1 100644 --- a/examples/ir1/fib4.ir +++ b/examples/ir1/fib4.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -56,7 +56,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/fib5.ir b/examples/ir1/fib5.ir index 8522509..b1f6e00 100644 --- a/examples/ir1/fib5.ir +++ b/examples/ir1/fib5.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -53,7 +53,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/fibonacci.ir b/examples/ir1/fibonacci.ir index 8ee9ac3..adfa2bc 100644 --- a/examples/ir1/fibonacci.ir +++ b/examples/ir1/fibonacci.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -31,7 +31,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:number block b0: diff --git a/examples/ir1/float.ir b/examples/ir1/float.ir index ee68aff..74ad69b 100644 --- a/examples/ir1/float.ir +++ b/examples/ir1/float.ir @@ -2,7 +2,7 @@ fun f64 @average (i32, i32*) { init: bid: b0 - allocations: + allocations: %l0:i32:len %l1:i32*:a %l2:i32:sum @@ -50,7 +50,7 @@ block b5: fun f64 @custom_abs (f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:t0 @@ -81,7 +81,7 @@ block b3: fun f64 @custom_max (f64, f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:t0 @@ -114,7 +114,7 @@ block b3: fun i32 @is_close (f64, f64, f64, f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:rel_tol @@ -150,7 +150,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32:len %l2:i32:i diff --git a/examples/ir1/float2.ir b/examples/ir1/float2.ir index b25f15b..bf51dbd 100644 --- a/examples/ir1/float2.ir +++ b/examples/ir1/float2.ir @@ -2,7 +2,7 @@ fun f64 @func_0 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -162,7 +162,7 @@ block b0: fun f32 @func_1 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -323,7 +323,7 @@ block b0: fun f32 @func_10 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -480,7 +480,7 @@ block b0: fun f64 @func_11 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -633,7 +633,7 @@ block b0: fun f64 @func_12 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -787,7 +787,7 @@ block b0: fun f32 @func_13 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -936,7 +936,7 @@ block b0: fun f32 @func_14 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -1097,7 +1097,7 @@ block b0: fun f32 @func_15 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -1258,7 +1258,7 @@ block b0: fun f64 @func_16 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -1420,7 +1420,7 @@ block b0: fun f64 @func_17 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -1575,7 +1575,7 @@ block b0: fun f32 @func_18 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -1733,7 +1733,7 @@ block b0: fun f32 @func_19 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -1887,7 +1887,7 @@ block b0: fun f64 @func_2 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2050,7 +2050,7 @@ block b0: fun f32 @func_20 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2204,7 +2204,7 @@ block b0: fun f32 @func_21 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -2355,7 +2355,7 @@ block b0: fun f64 @func_22 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -2523,7 +2523,7 @@ block b0: fun f32 @func_23 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -2678,7 +2678,7 @@ block b0: fun f64 @func_24 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2832,7 +2832,7 @@ block b0: fun f32 @func_25 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -2993,7 +2993,7 @@ block b0: fun f32 @func_26 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -3153,7 +3153,7 @@ block b0: fun f64 @func_27 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -3309,7 +3309,7 @@ block b0: fun f32 @func_28 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -3468,7 +3468,7 @@ block b0: fun f32 @func_29 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -3626,7 +3626,7 @@ block b0: fun f64 @func_3 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -3781,7 +3781,7 @@ block b0: fun f64 @func_30 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -3934,7 +3934,7 @@ block b0: fun f64 @func_31 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -4101,7 +4101,7 @@ block b0: fun f64 @func_32 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -4256,7 +4256,7 @@ block b0: fun f64 @func_33 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -4412,7 +4412,7 @@ block b0: fun f64 @func_34 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -4565,7 +4565,7 @@ block b0: fun f32 @func_35 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -4723,7 +4723,7 @@ block b0: fun f32 @func_36 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -4885,7 +4885,7 @@ block b0: fun f64 @func_37 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -5040,7 +5040,7 @@ block b0: fun f32 @func_38 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -5194,7 +5194,7 @@ block b0: fun f64 @func_39 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -5347,7 +5347,7 @@ block b0: fun f64 @func_4 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -5500,7 +5500,7 @@ block b0: fun f32 @func_40 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -5655,7 +5655,7 @@ block b0: fun f64 @func_41 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -5808,7 +5808,7 @@ block b0: fun f64 @func_42 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -5966,7 +5966,7 @@ block b0: fun f32 @func_43 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -6127,7 +6127,7 @@ block b0: fun f32 @func_44 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6292,7 +6292,7 @@ block b0: fun f32 @func_45 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6453,7 +6453,7 @@ block b0: fun f32 @func_46 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -6605,7 +6605,7 @@ block b0: fun f64 @func_47 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -6761,7 +6761,7 @@ block b0: fun f32 @func_48 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6914,7 +6914,7 @@ block b0: fun f64 @func_49 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -7066,7 +7066,7 @@ block b0: fun f32 @func_5 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -7226,7 +7226,7 @@ block b0: fun f32 @func_50 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -7382,7 +7382,7 @@ block b0: fun f64 @func_51 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -7530,7 +7530,7 @@ block b0: fun f64 @func_52 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -7686,7 +7686,7 @@ block b0: fun f64 @func_53 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -7850,7 +7850,7 @@ block b0: fun f32 @func_54 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -8011,7 +8011,7 @@ block b0: fun f64 @func_55 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -8162,7 +8162,7 @@ block b0: fun f64 @func_56 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -8317,7 +8317,7 @@ block b0: fun f32 @func_57 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -8479,7 +8479,7 @@ block b0: fun f64 @func_58 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -8637,7 +8637,7 @@ block b0: fun f64 @func_59 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -8798,7 +8798,7 @@ block b0: fun f64 @func_6 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -8953,7 +8953,7 @@ block b0: fun f64 @func_60 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -9107,7 +9107,7 @@ block b0: fun f64 @func_61 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -9269,7 +9269,7 @@ block b0: fun f64 @func_62 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -9426,7 +9426,7 @@ block b0: fun f32 @func_63 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -9582,7 +9582,7 @@ block b0: fun f64 @func_64 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -9736,7 +9736,7 @@ block b0: fun f32 @func_65 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -9889,7 +9889,7 @@ block b0: fun f64 @func_66 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -10040,7 +10040,7 @@ block b0: fun f32 @func_67 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -10198,7 +10198,7 @@ block b0: fun f32 @func_68 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -10357,7 +10357,7 @@ block b0: fun f64 @func_69 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -10518,7 +10518,7 @@ block b0: fun f64 @func_7 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -10677,7 +10677,7 @@ block b0: fun f32 @func_70 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -10834,7 +10834,7 @@ block b0: fun f64 @func_71 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -10992,7 +10992,7 @@ block b0: fun f64 @func_72 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -11150,7 +11150,7 @@ block b0: fun f32 @func_73 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -11306,7 +11306,7 @@ block b0: fun f64 @func_74 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -11459,7 +11459,7 @@ block b0: fun f32 @func_75 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -11615,7 +11615,7 @@ block b0: fun f64 @func_76 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -11761,7 +11761,7 @@ block b0: fun f64 @func_77 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -11916,7 +11916,7 @@ block b0: fun f32 @func_78 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -12068,7 +12068,7 @@ block b0: fun f32 @func_79 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -12229,7 +12229,7 @@ block b0: fun f64 @func_8 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -12385,7 +12385,7 @@ block b0: fun f32 @func_80 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -12533,7 +12533,7 @@ block b0: fun f64 @func_81 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -12691,7 +12691,7 @@ block b0: fun f64 @func_82 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -12853,7 +12853,7 @@ block b0: fun f64 @func_83 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -13012,7 +13012,7 @@ block b0: fun f32 @func_84 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -13169,7 +13169,7 @@ block b0: fun f64 @func_85 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -13327,7 +13327,7 @@ block b0: fun f32 @func_86 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -13484,7 +13484,7 @@ block b0: fun f64 @func_87 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -13640,7 +13640,7 @@ block b0: fun f32 @func_88 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -13798,7 +13798,7 @@ block b0: fun f32 @func_89 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -13953,7 +13953,7 @@ block b0: fun f32 @func_9 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -14114,7 +14114,7 @@ block b0: fun f64 @func_90 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -14285,7 +14285,7 @@ block b0: fun f32 @func_91 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -14440,7 +14440,7 @@ block b0: fun f32 @func_92 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -14593,7 +14593,7 @@ block b0: fun f64 @func_93 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -14748,7 +14748,7 @@ block b0: fun f64 @func_94 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -14904,7 +14904,7 @@ block b0: fun f32 @func_95 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -15062,7 +15062,7 @@ block b0: fun f32 @func_96 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -15225,7 +15225,7 @@ block b0: fun f32 @func_97 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -15384,7 +15384,7 @@ block b0: fun f64 @func_98 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -15543,7 +15543,7 @@ block b0: fun f32 @func_99 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -15689,7 +15689,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/foo.ir b/examples/ir1/foo.ir index 0a0d592..0c5b8dc 100644 --- a/examples/ir1/foo.ir +++ b/examples/ir1/foo.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -31,7 +31,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/foo2.ir b/examples/ir1/foo2.ir index 36efad4..ede59c7 100644 --- a/examples/ir1/foo2.ir +++ b/examples/ir1/foo2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:i %l2:i32:i diff --git a/examples/ir1/foo3.ir b/examples/ir1/foo3.ir index 18924b6..0070647 100644 --- a/examples/ir1/foo3.ir +++ b/examples/ir1/foo3.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun i32 @foo (i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:j @@ -24,7 +24,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i block b0: diff --git a/examples/ir1/foo4.ir b/examples/ir1/foo4.ir index 6d0b894..5bbac57 100644 --- a/examples/ir1/foo4.ir +++ b/examples/ir1/foo4.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:j %l2:i32:k @@ -25,7 +25,7 @@ block b0: fun [ret:i32 params:(i32, i32, i32)]* @foo2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b0: fun [ret:[ret:i32 params:(i32, i32, i32)]* params:()]* @foo3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -45,7 +45,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/for_continue_break.ir b/examples/ir1/for_continue_break.ir index bff4c66..4335929 100644 --- a/examples/ir1/for_continue_break.ir +++ b/examples/ir1/for_continue_break.ir @@ -2,7 +2,7 @@ fun i32 @foo () { init: bid: b0 - allocations: + allocations: %l0:i32:sum %l1:i32:i @@ -45,7 +45,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/gcd.ir b/examples/ir1/gcd.ir index 86408e9..c264c46 100644 --- a/examples/ir1/gcd.ir +++ b/examples/ir1/gcd.ir @@ -2,7 +2,7 @@ fun i32 @gcd (i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:t0 @@ -85,7 +85,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/hello_main.ir b/examples/ir1/hello_main.ir index 9adaea1..2585836 100644 --- a/examples/ir1/hello_main.ir +++ b/examples/ir1/hello_main.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/integer_literal.ir b/examples/ir1/integer_literal.ir index 6447a95..b74b75d 100644 --- a/examples/ir1/integer_literal.ir +++ b/examples/ir1/integer_literal.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i16:temp %l1:u32:temp2 diff --git a/examples/ir1/integer_literal2.ir b/examples/ir1/integer_literal2.ir index 873edf6..b97512e 100644 --- a/examples/ir1/integer_literal2.ir +++ b/examples/ir1/integer_literal2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:temp block b0: diff --git a/examples/ir1/logical_op.ir b/examples/ir1/logical_op.ir index 5f86fda..e235d51 100644 --- a/examples/ir1/logical_op.ir +++ b/examples/ir1/logical_op.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c diff --git a/examples/ir1/lost_copy.ir b/examples/ir1/lost_copy.ir index ca33406..2934c20 100644 --- a/examples/ir1/lost_copy.ir +++ b/examples/ir1/lost_copy.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:result diff --git a/examples/ir1/minus_constant.ir b/examples/ir1/minus_constant.ir index 38a9055..d2e0be1 100644 --- a/examples/ir1/minus_constant.ir +++ b/examples/ir1/minus_constant.ir @@ -6,7 +6,7 @@ var f64 @d = -(1.5) fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/negate.ir b/examples/ir1/negate.ir index 663910d..fcdc350 100644 --- a/examples/ir1/negate.ir +++ b/examples/ir1/negate.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -32,7 +32,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/pointer.ir b/examples/ir1/pointer.ir index 350a8e2..e9d6928 100644 --- a/examples/ir1/pointer.ir +++ b/examples/ir1/pointer.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: %l0:i32*:a block b0: @@ -15,7 +15,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32*:p %l2:i32**:p2 diff --git a/examples/ir1/return_void.ir b/examples/ir1/return_void.ir index 70623bb..4096ceb 100644 --- a/examples/ir1/return_void.ir +++ b/examples/ir1/return_void.ir @@ -2,7 +2,7 @@ fun unit @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -12,7 +12,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/shift.ir b/examples/ir1/shift.ir index c19efb1..aa94b46 100644 --- a/examples/ir1/shift.ir +++ b/examples/ir1/shift.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i8:a %l1:i8:b %l2:u8:c diff --git a/examples/ir1/side_effect.ir b/examples/ir1/side_effect.ir index 43137cc..1462164 100644 --- a/examples/ir1/side_effect.ir +++ b/examples/ir1/side_effect.ir @@ -3,7 +3,7 @@ var i32 @g = 0 fun i32* @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -16,7 +16,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/simple.ir b/examples/ir1/simple.ir index eac5417..22583e7 100644 --- a/examples/ir1/simple.ir +++ b/examples/ir1/simple.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x block b0: diff --git a/examples/ir1/simple_cond.ir b/examples/ir1/simple_cond.ir index 6a387ad..5d75f11 100644 --- a/examples/ir1/simple_cond.ir +++ b/examples/ir1/simple_cond.ir @@ -2,7 +2,7 @@ fun i32 @f (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x block b0: @@ -16,7 +16,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:t0 diff --git a/examples/ir1/simple_for.ir b/examples/ir1/simple_for.ir index 86a853b..821e64f 100644 --- a/examples/ir1/simple_for.ir +++ b/examples/ir1/simple_for.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:sum diff --git a/examples/ir1/simple_if.ir b/examples/ir1/simple_if.ir index 6de613b..dde7401 100644 --- a/examples/ir1/simple_if.ir +++ b/examples/ir1/simple_if.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -32,7 +32,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/sizeof.ir b/examples/ir1/sizeof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/ir1/sizeof.ir +++ b/examples/ir1/sizeof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/sizeof2.ir b/examples/ir1/sizeof2.ir index 1a47f79..1b1fff6 100644 --- a/examples/ir1/sizeof2.ir +++ b/examples/ir1/sizeof2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i8:a %l1:i8:b %l2:[10 x i64]:c diff --git a/examples/ir1/sizeof3.ir b/examples/ir1/sizeof3.ir index 3fd6477..8286a96 100644 --- a/examples/ir1/sizeof3.ir +++ b/examples/ir1/sizeof3.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y diff --git a/examples/ir1/sizeof4.ir b/examples/ir1/sizeof4.ir index 1c9dd89..e5ebfe7 100644 --- a/examples/ir1/sizeof4.ir +++ b/examples/ir1/sizeof4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b diff --git a/examples/ir1/struct.ir b/examples/ir1/struct.ir index 550cf07..3d528ac 100644 --- a/examples/ir1/struct.ir +++ b/examples/ir1/struct.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:f64 } fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: %l0:i32:row %l1:i32:col %l2:[5 x i32]*:arr @@ -70,7 +70,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct %t1:temp %l1:i32:row %l2:i32:col diff --git a/examples/ir1/struct2.ir b/examples/ir1/struct2.ir index 1afa577..b9b60f8 100644 --- a/examples/ir1/struct2.ir +++ b/examples/ir1/struct2.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:i64 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:const struct %t1:temp %l1:struct %t1:temp2 %l2:i32:sum diff --git a/examples/ir1/struct3.ir b/examples/ir1/struct3.ir index 81702b5..9cd59a6 100644 --- a/examples/ir1/struct3.ir +++ b/examples/ir1/struct3.ir @@ -4,7 +4,7 @@ struct Sub : { m1:i64, m2:i64, m3:i64, m4:i64 } fun struct Big @foo (struct Big) { init: bid: b0 - allocations: + allocations: %l0:struct Big:p1 %l1:struct Big:r @@ -24,7 +24,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Big:a %l1:struct Big:r diff --git a/examples/ir1/struct4.ir b/examples/ir1/struct4.ir index 7c8fc32..b62804a 100644 --- a/examples/ir1/struct4.ir +++ b/examples/ir1/struct4.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun struct Foo @f () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:x block b0: @@ -18,7 +18,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:struct Foo:t0 diff --git a/examples/ir1/swap.ir b/examples/ir1/swap.ir index 05e0d36..b29af56 100644 --- a/examples/ir1/swap.ir +++ b/examples/ir1/swap.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:t diff --git a/examples/ir1/switch-in-loop.ir b/examples/ir1/switch-in-loop.ir index 002dea9..cda1da3 100644 --- a/examples/ir1/switch-in-loop.ir +++ b/examples/ir1/switch-in-loop.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:c diff --git a/examples/ir1/switch.ir b/examples/ir1/switch.ir index 4fbc436..35fe25c 100644 --- a/examples/ir1/switch.ir +++ b/examples/ir1/switch.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b diff --git a/examples/ir1/temp.ir b/examples/ir1/temp.ir index 2cf2385..7e01bd3 100644 --- a/examples/ir1/temp.ir +++ b/examples/ir1/temp.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -25,7 +25,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/temp2.ir b/examples/ir1/temp2.ir index ce3689f..1b9d855 100644 --- a/examples/ir1/temp2.ir +++ b/examples/ir1/temp2.ir @@ -3,7 +3,7 @@ struct color : { number:i32, name:i8 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:temp %l1:struct color:c %l2:struct color*:cp diff --git a/examples/ir1/test.ir b/examples/ir1/test.ir index 3c9a2f9..7f39cba 100644 --- a/examples/ir1/test.ir +++ b/examples/ir1/test.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i64:l %l1:i64:l2 %l2:i64:l3 diff --git a/examples/ir1/typecast.ir b/examples/ir1/typecast.ir index bb01078..d06da07 100644 --- a/examples/ir1/typecast.ir +++ b/examples/ir1/typecast.ir @@ -3,7 +3,7 @@ var i8 @temp = 0x00l fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir1/typedef.ir b/examples/ir1/typedef.ir index d9ed17c..19451f1 100644 --- a/examples/ir1/typedef.ir +++ b/examples/ir1/typedef.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32*const:b diff --git a/examples/ir1/unary.ir b/examples/ir1/unary.ir index dd9f2cf..2a92e8b 100644 --- a/examples/ir1/unary.ir +++ b/examples/ir1/unary.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u8:temp block b0: diff --git a/examples/ir1/while_continue_break.ir b/examples/ir1/while_continue_break.ir index c68bbf2..1a261c6 100644 --- a/examples/ir1/while_continue_break.ir +++ b/examples/ir1/while_continue_break.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @foo () { init: bid: b0 - allocations: + allocations: %l0:i32:sum %l1:i32:i %l2:i32:continue_num @@ -55,7 +55,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/alignof.ir b/examples/ir2/alignof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/ir2/alignof.ir +++ b/examples/ir2/alignof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/array.ir b/examples/ir2/array.ir index 9803593..f6c703f 100644 --- a/examples/ir2/array.ir +++ b/examples/ir2/array.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a %l1:i32:len %l2:i32:i @@ -44,7 +44,7 @@ block b5: fun i32 @sum (i32, i32*) { init: bid: b0 - allocations: + allocations: %l0:i32:len %l1:i32*:p %l2:i32:result diff --git a/examples/ir2/array2.ir b/examples/ir2/array2.ir index 862400c..028a551 100644 --- a/examples/ir2/array2.ir +++ b/examples/ir2/array2.ir @@ -2,7 +2,7 @@ fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: %l0:i32:row %l1:i32:col %l2:[5 x i32]*:a @@ -71,7 +71,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[4 x [5 x i32]]:a %l1:i32:row %l2:i32:col diff --git a/examples/ir2/array3.ir b/examples/ir2/array3.ir index b742391..3d0ff42 100644 --- a/examples/ir2/array3.ir +++ b/examples/ir2/array3.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: %l0:i32*:a block b0: @@ -15,7 +15,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32:i diff --git a/examples/ir2/array4.ir b/examples/ir2/array4.ir index 349977a..a7ba18c 100644 --- a/examples/ir2/array4.ir +++ b/examples/ir2/array4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32*:p %l2:i32:i diff --git a/examples/ir2/array5.ir b/examples/ir2/array5.ir index 3cf9dd5..f2f8508 100644 --- a/examples/ir2/array5.ir +++ b/examples/ir2/array5.ir @@ -3,7 +3,7 @@ var [5 x i32] @g_a = {1, 2, 3} fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:init %l1:[5 x i32]:a %l2:i32:sum diff --git a/examples/ir2/bar.ir b/examples/ir2/bar.ir index fa7abc7..34bcbec 100644 --- a/examples/ir2/bar.ir +++ b/examples/ir2/bar.ir @@ -2,7 +2,7 @@ fun i32 @bar (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -49,7 +49,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/bitwise.ir b/examples/ir2/bitwise.ir index 941bb17..8de7623 100644 --- a/examples/ir2/bitwise.ir +++ b/examples/ir2/bitwise.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u8:a %l1:u8:b %l2:u8:c diff --git a/examples/ir2/cmp.ir b/examples/ir2/cmp.ir index ebf34b1..ed52967 100644 --- a/examples/ir2/cmp.ir +++ b/examples/ir2/cmp.ir @@ -2,7 +2,7 @@ fun i32 @char_greater_than (i8, u8) { init: bid: b0 - allocations: + allocations: %l0:i8:i %l1:u8:j @@ -28,7 +28,7 @@ block b2: fun i32 @int_greater_than (i32, u32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:u32:j @@ -53,7 +53,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:r1 %l1:i32:r2 %l2:u1:t0 diff --git a/examples/ir2/comma.ir b/examples/ir2/comma.ir index b2bb54d..ff9aaaa 100644 --- a/examples/ir2/comma.ir +++ b/examples/ir2/comma.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:y %l1:i32:x diff --git a/examples/ir2/complement.ir b/examples/ir2/complement.ir index b8792aa..49be28f 100644 --- a/examples/ir2/complement.ir +++ b/examples/ir2/complement.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a block b0: diff --git a/examples/ir2/complete_cond.ir b/examples/ir2/complete_cond.ir index 5fdb261..fd05a66 100644 --- a/examples/ir2/complete_cond.ir +++ b/examples/ir2/complete_cond.ir @@ -2,7 +2,7 @@ fun i32 @func_0 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -303,7 +303,7 @@ block b39: fun i32 @func_1 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -604,7 +604,7 @@ block b39: fun i32 @func_10 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -905,7 +905,7 @@ block b39: fun i32 @func_11 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1206,7 +1206,7 @@ block b39: fun i32 @func_12 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1507,7 +1507,7 @@ block b39: fun i32 @func_13 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -1808,7 +1808,7 @@ block b39: fun i32 @func_14 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2109,7 +2109,7 @@ block b39: fun i32 @func_15 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2410,7 +2410,7 @@ block b39: fun i32 @func_16 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -2711,7 +2711,7 @@ block b39: fun i32 @func_17 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3012,7 +3012,7 @@ block b39: fun i32 @func_18 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3313,7 +3313,7 @@ block b39: fun i32 @func_19 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3614,7 +3614,7 @@ block b39: fun i32 @func_2 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -3915,7 +3915,7 @@ block b39: fun i32 @func_20 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4216,7 +4216,7 @@ block b39: fun i32 @func_21 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4517,7 +4517,7 @@ block b39: fun i32 @func_22 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -4818,7 +4818,7 @@ block b39: fun i32 @func_23 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5119,7 +5119,7 @@ block b39: fun i32 @func_24 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5420,7 +5420,7 @@ block b39: fun i32 @func_25 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -5721,7 +5721,7 @@ block b39: fun i32 @func_26 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6022,7 +6022,7 @@ block b39: fun i32 @func_27 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6323,7 +6323,7 @@ block b39: fun i32 @func_28 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6624,7 +6624,7 @@ block b39: fun i32 @func_29 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -6925,7 +6925,7 @@ block b39: fun i32 @func_3 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7226,7 +7226,7 @@ block b39: fun i32 @func_30 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7527,7 +7527,7 @@ block b39: fun i32 @func_31 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -7828,7 +7828,7 @@ block b39: fun i32 @func_32 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8129,7 +8129,7 @@ block b39: fun i32 @func_33 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8430,7 +8430,7 @@ block b39: fun i32 @func_34 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -8731,7 +8731,7 @@ block b39: fun i32 @func_35 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9032,7 +9032,7 @@ block b39: fun i32 @func_36 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9333,7 +9333,7 @@ block b39: fun i32 @func_37 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9634,7 +9634,7 @@ block b39: fun i32 @func_38 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -9935,7 +9935,7 @@ block b39: fun i32 @func_39 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10236,7 +10236,7 @@ block b39: fun i32 @func_4 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10537,7 +10537,7 @@ block b39: fun i32 @func_40 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -10838,7 +10838,7 @@ block b39: fun i32 @func_41 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11139,7 +11139,7 @@ block b39: fun i32 @func_42 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11440,7 +11440,7 @@ block b39: fun i32 @func_43 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -11741,7 +11741,7 @@ block b39: fun i32 @func_44 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12042,7 +12042,7 @@ block b39: fun i32 @func_45 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12343,7 +12343,7 @@ block b39: fun i32 @func_46 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12644,7 +12644,7 @@ block b39: fun i32 @func_47 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -12945,7 +12945,7 @@ block b39: fun i32 @func_48 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13246,7 +13246,7 @@ block b39: fun i32 @func_49 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13547,7 +13547,7 @@ block b39: fun i32 @func_5 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -13848,7 +13848,7 @@ block b39: fun i32 @func_50 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14149,7 +14149,7 @@ block b39: fun i32 @func_51 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14450,7 +14450,7 @@ block b39: fun i32 @func_52 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -14751,7 +14751,7 @@ block b39: fun i32 @func_53 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15052,7 +15052,7 @@ block b39: fun i32 @func_54 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15353,7 +15353,7 @@ block b39: fun i32 @func_55 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15654,7 +15654,7 @@ block b39: fun i32 @func_56 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -15955,7 +15955,7 @@ block b39: fun i32 @func_57 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16256,7 +16256,7 @@ block b39: fun i32 @func_58 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16557,7 +16557,7 @@ block b39: fun i32 @func_59 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -16858,7 +16858,7 @@ block b39: fun i32 @func_6 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17159,7 +17159,7 @@ block b39: fun i32 @func_60 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17460,7 +17460,7 @@ block b39: fun i32 @func_61 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -17761,7 +17761,7 @@ block b39: fun i32 @func_62 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18062,7 +18062,7 @@ block b39: fun i32 @func_63 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18363,7 +18363,7 @@ block b39: fun i32 @func_64 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18664,7 +18664,7 @@ block b39: fun i32 @func_65 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -18965,7 +18965,7 @@ block b39: fun i32 @func_66 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19266,7 +19266,7 @@ block b39: fun i32 @func_67 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19567,7 +19567,7 @@ block b39: fun i32 @func_68 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -19868,7 +19868,7 @@ block b39: fun i32 @func_69 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20169,7 +20169,7 @@ block b39: fun i32 @func_7 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20470,7 +20470,7 @@ block b39: fun i32 @func_70 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -20771,7 +20771,7 @@ block b39: fun i32 @func_71 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21072,7 +21072,7 @@ block b39: fun i32 @func_72 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21373,7 +21373,7 @@ block b39: fun i32 @func_73 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21674,7 +21674,7 @@ block b39: fun i32 @func_74 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -21975,7 +21975,7 @@ block b39: fun i32 @func_75 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22276,7 +22276,7 @@ block b39: fun i32 @func_76 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22577,7 +22577,7 @@ block b39: fun i32 @func_77 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -22878,7 +22878,7 @@ block b39: fun i32 @func_78 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23179,7 +23179,7 @@ block b39: fun i32 @func_79 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23480,7 +23480,7 @@ block b39: fun i32 @func_8 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -23781,7 +23781,7 @@ block b39: fun i32 @func_80 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24082,7 +24082,7 @@ block b39: fun i32 @func_81 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24383,7 +24383,7 @@ block b39: fun i32 @func_82 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24684,7 +24684,7 @@ block b39: fun i32 @func_83 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -24985,7 +24985,7 @@ block b39: fun i32 @func_84 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25286,7 +25286,7 @@ block b39: fun i32 @func_85 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25587,7 +25587,7 @@ block b39: fun i32 @func_86 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -25888,7 +25888,7 @@ block b39: fun i32 @func_87 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26189,7 +26189,7 @@ block b39: fun i32 @func_88 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26490,7 +26490,7 @@ block b39: fun i32 @func_89 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -26791,7 +26791,7 @@ block b39: fun i32 @func_9 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27092,7 +27092,7 @@ block b39: fun i32 @func_90 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27393,7 +27393,7 @@ block b39: fun i32 @func_91 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27694,7 +27694,7 @@ block b39: fun i32 @func_92 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -27995,7 +27995,7 @@ block b39: fun i32 @func_93 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -28296,7 +28296,7 @@ block b39: fun i32 @func_94 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -28597,7 +28597,7 @@ block b39: fun i32 @func_95 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -28898,7 +28898,7 @@ block b39: fun i32 @func_96 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -29199,7 +29199,7 @@ block b39: fun i32 @func_97 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -29500,7 +29500,7 @@ block b39: fun i32 @func_98 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -29801,7 +29801,7 @@ block b39: fun i32 @func_99 () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c @@ -30102,7 +30102,7 @@ block b39: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u1:t0 %l1:u1:t1 %l2:u1:t2 diff --git a/examples/ir2/cond.ir b/examples/ir2/cond.ir index 7efc979..aad13b7 100644 --- a/examples/ir2/cond.ir +++ b/examples/ir2/cond.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:y %l1:i32:x %l2:i32:t0 diff --git a/examples/ir2/cond_and_loop.ir b/examples/ir2/cond_and_loop.ir index c85171a..7d59b5f 100644 --- a/examples/ir2/cond_and_loop.ir +++ b/examples/ir2/cond_and_loop.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:p %l2:i32:q diff --git a/examples/ir2/fib2.ir b/examples/ir2/fib2.ir index 728399d..bda7a81 100644 --- a/examples/ir2/fib2.ir +++ b/examples/ir2/fib2.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -30,7 +30,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/fib3.ir b/examples/ir2/fib3.ir index ce6679c..6bb05d8 100644 --- a/examples/ir2/fib3.ir +++ b/examples/ir2/fib3.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -60,7 +60,7 @@ block b9: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/fib4.ir b/examples/ir2/fib4.ir index aabc0c3..0f0ce76 100644 --- a/examples/ir2/fib4.ir +++ b/examples/ir2/fib4.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -60,7 +60,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/fib5.ir b/examples/ir2/fib5.ir index a409db6..c18db7c 100644 --- a/examples/ir2/fib5.ir +++ b/examples/ir2/fib5.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n %l1:i32:i %l2:i32:t1 @@ -57,7 +57,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/fibonacci.ir b/examples/ir2/fibonacci.ir index b5af402..9587284 100644 --- a/examples/ir2/fibonacci.ir +++ b/examples/ir2/fibonacci.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -31,7 +31,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:number block b0: diff --git a/examples/ir2/float.ir b/examples/ir2/float.ir index b070d44..3b85007 100644 --- a/examples/ir2/float.ir +++ b/examples/ir2/float.ir @@ -2,7 +2,7 @@ fun f64 @average (i32, i32*) { init: bid: b0 - allocations: + allocations: %l0:i32:len %l1:i32*:a %l2:i32:sum @@ -52,7 +52,7 @@ block b5: fun f64 @custom_abs (f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:t0 @@ -84,7 +84,7 @@ block b3: fun f64 @custom_max (f64, f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:t0 @@ -118,7 +118,7 @@ block b3: fun i32 @is_close (f64, f64, f64, f64) { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:rel_tol @@ -154,7 +154,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a %l1:i32:len %l2:i32:i diff --git a/examples/ir2/float2.ir b/examples/ir2/float2.ir index c3db9d3..b61fb7f 100644 --- a/examples/ir2/float2.ir +++ b/examples/ir2/float2.ir @@ -2,7 +2,7 @@ fun f64 @func_0 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -162,7 +162,7 @@ block b0: fun f32 @func_1 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -323,7 +323,7 @@ block b0: fun f32 @func_10 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -480,7 +480,7 @@ block b0: fun f64 @func_11 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -633,7 +633,7 @@ block b0: fun f64 @func_12 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -787,7 +787,7 @@ block b0: fun f32 @func_13 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -936,7 +936,7 @@ block b0: fun f32 @func_14 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -1097,7 +1097,7 @@ block b0: fun f32 @func_15 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -1258,7 +1258,7 @@ block b0: fun f64 @func_16 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -1420,7 +1420,7 @@ block b0: fun f64 @func_17 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -1575,7 +1575,7 @@ block b0: fun f32 @func_18 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -1733,7 +1733,7 @@ block b0: fun f32 @func_19 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -1887,7 +1887,7 @@ block b0: fun f64 @func_2 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2050,7 +2050,7 @@ block b0: fun f32 @func_20 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2204,7 +2204,7 @@ block b0: fun f32 @func_21 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -2355,7 +2355,7 @@ block b0: fun f64 @func_22 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -2523,7 +2523,7 @@ block b0: fun f32 @func_23 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -2678,7 +2678,7 @@ block b0: fun f64 @func_24 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -2832,7 +2832,7 @@ block b0: fun f32 @func_25 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -2993,7 +2993,7 @@ block b0: fun f32 @func_26 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -3153,7 +3153,7 @@ block b0: fun f64 @func_27 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -3309,7 +3309,7 @@ block b0: fun f32 @func_28 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -3468,7 +3468,7 @@ block b0: fun f32 @func_29 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -3626,7 +3626,7 @@ block b0: fun f64 @func_3 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -3781,7 +3781,7 @@ block b0: fun f64 @func_30 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -3934,7 +3934,7 @@ block b0: fun f64 @func_31 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -4101,7 +4101,7 @@ block b0: fun f64 @func_32 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -4256,7 +4256,7 @@ block b0: fun f64 @func_33 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -4412,7 +4412,7 @@ block b0: fun f64 @func_34 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -4565,7 +4565,7 @@ block b0: fun f32 @func_35 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -4723,7 +4723,7 @@ block b0: fun f32 @func_36 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -4885,7 +4885,7 @@ block b0: fun f64 @func_37 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -5040,7 +5040,7 @@ block b0: fun f32 @func_38 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -5194,7 +5194,7 @@ block b0: fun f64 @func_39 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -5347,7 +5347,7 @@ block b0: fun f64 @func_4 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -5500,7 +5500,7 @@ block b0: fun f32 @func_40 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -5655,7 +5655,7 @@ block b0: fun f64 @func_41 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -5808,7 +5808,7 @@ block b0: fun f64 @func_42 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -5966,7 +5966,7 @@ block b0: fun f32 @func_43 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -6127,7 +6127,7 @@ block b0: fun f32 @func_44 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6292,7 +6292,7 @@ block b0: fun f32 @func_45 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6453,7 +6453,7 @@ block b0: fun f32 @func_46 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -6605,7 +6605,7 @@ block b0: fun f64 @func_47 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -6761,7 +6761,7 @@ block b0: fun f32 @func_48 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -6914,7 +6914,7 @@ block b0: fun f64 @func_49 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -7066,7 +7066,7 @@ block b0: fun f32 @func_5 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -7226,7 +7226,7 @@ block b0: fun f32 @func_50 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -7382,7 +7382,7 @@ block b0: fun f64 @func_51 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -7530,7 +7530,7 @@ block b0: fun f64 @func_52 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -7686,7 +7686,7 @@ block b0: fun f64 @func_53 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -7850,7 +7850,7 @@ block b0: fun f32 @func_54 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -8011,7 +8011,7 @@ block b0: fun f64 @func_55 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -8162,7 +8162,7 @@ block b0: fun f64 @func_56 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -8317,7 +8317,7 @@ block b0: fun f32 @func_57 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -8479,7 +8479,7 @@ block b0: fun f64 @func_58 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -8637,7 +8637,7 @@ block b0: fun f64 @func_59 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -8798,7 +8798,7 @@ block b0: fun f64 @func_6 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -8953,7 +8953,7 @@ block b0: fun f64 @func_60 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -9107,7 +9107,7 @@ block b0: fun f64 @func_61 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -9269,7 +9269,7 @@ block b0: fun f64 @func_62 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -9426,7 +9426,7 @@ block b0: fun f32 @func_63 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -9582,7 +9582,7 @@ block b0: fun f64 @func_64 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -9736,7 +9736,7 @@ block b0: fun f32 @func_65 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -9889,7 +9889,7 @@ block b0: fun f64 @func_66 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -10040,7 +10040,7 @@ block b0: fun f32 @func_67 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -10198,7 +10198,7 @@ block b0: fun f32 @func_68 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -10357,7 +10357,7 @@ block b0: fun f64 @func_69 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -10518,7 +10518,7 @@ block b0: fun f64 @func_7 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -10677,7 +10677,7 @@ block b0: fun f32 @func_70 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -10834,7 +10834,7 @@ block b0: fun f64 @func_71 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -10992,7 +10992,7 @@ block b0: fun f64 @func_72 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -11150,7 +11150,7 @@ block b0: fun f32 @func_73 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -11306,7 +11306,7 @@ block b0: fun f64 @func_74 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -11459,7 +11459,7 @@ block b0: fun f32 @func_75 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -11615,7 +11615,7 @@ block b0: fun f64 @func_76 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -11761,7 +11761,7 @@ block b0: fun f64 @func_77 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -11916,7 +11916,7 @@ block b0: fun f32 @func_78 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -12068,7 +12068,7 @@ block b0: fun f32 @func_79 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -12229,7 +12229,7 @@ block b0: fun f64 @func_8 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -12385,7 +12385,7 @@ block b0: fun f32 @func_80 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -12533,7 +12533,7 @@ block b0: fun f64 @func_81 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -12691,7 +12691,7 @@ block b0: fun f64 @func_82 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -12853,7 +12853,7 @@ block b0: fun f64 @func_83 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -13012,7 +13012,7 @@ block b0: fun f32 @func_84 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -13169,7 +13169,7 @@ block b0: fun f64 @func_85 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -13327,7 +13327,7 @@ block b0: fun f32 @func_86 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -13484,7 +13484,7 @@ block b0: fun f64 @func_87 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f32:c @@ -13640,7 +13640,7 @@ block b0: fun f32 @func_88 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -13798,7 +13798,7 @@ block b0: fun f32 @func_89 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -13953,7 +13953,7 @@ block b0: fun f32 @func_9 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -14114,7 +14114,7 @@ block b0: fun f64 @func_90 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f32:b %l2:f64:c @@ -14285,7 +14285,7 @@ block b0: fun f32 @func_91 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -14440,7 +14440,7 @@ block b0: fun f32 @func_92 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f32:c @@ -14593,7 +14593,7 @@ block b0: fun f64 @func_93 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -14748,7 +14748,7 @@ block b0: fun f64 @func_94 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f64:c @@ -14904,7 +14904,7 @@ block b0: fun f32 @func_95 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -15062,7 +15062,7 @@ block b0: fun f32 @func_96 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f32:c @@ -15225,7 +15225,7 @@ block b0: fun f32 @func_97 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f64:b %l2:f64:c @@ -15384,7 +15384,7 @@ block b0: fun f64 @func_98 () { init: bid: b0 - allocations: + allocations: %l0:f32:a %l1:f64:b %l2:f32:c @@ -15543,7 +15543,7 @@ block b0: fun f32 @func_99 () { init: bid: b0 - allocations: + allocations: %l0:f64:a %l1:f32:b %l2:f64:c @@ -15689,7 +15689,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/foo.ir b/examples/ir2/foo.ir index fee92e4..aac930d 100644 --- a/examples/ir2/foo.ir +++ b/examples/ir2/foo.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -31,7 +31,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/foo2.ir b/examples/ir2/foo2.ir index 61f8859..e113ec2 100644 --- a/examples/ir2/foo2.ir +++ b/examples/ir2/foo2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:i %l2:i32:i diff --git a/examples/ir2/foo3.ir b/examples/ir2/foo3.ir index 858bb01..5ba6643 100644 --- a/examples/ir2/foo3.ir +++ b/examples/ir2/foo3.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun i32 @foo (i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:j @@ -24,7 +24,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i block b0: diff --git a/examples/ir2/foo4.ir b/examples/ir2/foo4.ir index 53527d7..6a15fb8 100644 --- a/examples/ir2/foo4.ir +++ b/examples/ir2/foo4.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:j %l2:i32:k @@ -25,7 +25,7 @@ block b0: fun [ret:i32 params:(i32, i32, i32)]* @foo2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b0: fun [ret:[ret:i32 params:(i32, i32, i32)]* params:()]* @foo3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -45,7 +45,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/for_continue_break.ir b/examples/ir2/for_continue_break.ir index 0937a49..c904209 100644 --- a/examples/ir2/for_continue_break.ir +++ b/examples/ir2/for_continue_break.ir @@ -2,7 +2,7 @@ fun i32 @foo () { init: bid: b0 - allocations: + allocations: %l0:i32:sum %l1:i32:i @@ -47,7 +47,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/gcd.ir b/examples/ir2/gcd.ir index c07f1b2..f908052 100644 --- a/examples/ir2/gcd.ir +++ b/examples/ir2/gcd.ir @@ -2,7 +2,7 @@ fun i32 @gcd (i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:t0 @@ -89,7 +89,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/hello_main.ir b/examples/ir2/hello_main.ir index 9adaea1..2585836 100644 --- a/examples/ir2/hello_main.ir +++ b/examples/ir2/hello_main.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/integer_literal.ir b/examples/ir2/integer_literal.ir index 481f64c..b8506d2 100644 --- a/examples/ir2/integer_literal.ir +++ b/examples/ir2/integer_literal.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i16:temp %l1:u32:temp2 diff --git a/examples/ir2/integer_literal2.ir b/examples/ir2/integer_literal2.ir index f9d6eaa..3193c22 100644 --- a/examples/ir2/integer_literal2.ir +++ b/examples/ir2/integer_literal2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:temp block b0: diff --git a/examples/ir2/logical_op.ir b/examples/ir2/logical_op.ir index 1db5ae3..fedda76 100644 --- a/examples/ir2/logical_op.ir +++ b/examples/ir2/logical_op.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:c diff --git a/examples/ir2/lost_copy.ir b/examples/ir2/lost_copy.ir index 69076fb..0dded1a 100644 --- a/examples/ir2/lost_copy.ir +++ b/examples/ir2/lost_copy.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:result diff --git a/examples/ir2/minus_constant.ir b/examples/ir2/minus_constant.ir index 38a9055..d2e0be1 100644 --- a/examples/ir2/minus_constant.ir +++ b/examples/ir2/minus_constant.ir @@ -6,7 +6,7 @@ var f64 @d = -(1.5) fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/negate.ir b/examples/ir2/negate.ir index a28101e..877780c 100644 --- a/examples/ir2/negate.ir +++ b/examples/ir2/negate.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:z @@ -32,7 +32,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/pointer.ir b/examples/ir2/pointer.ir index b332f09..3e79c8c 100644 --- a/examples/ir2/pointer.ir +++ b/examples/ir2/pointer.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: %l0:i32*:a block b0: @@ -15,7 +15,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32*:p %l2:i32**:p2 diff --git a/examples/ir2/return_void.ir b/examples/ir2/return_void.ir index 70623bb..4096ceb 100644 --- a/examples/ir2/return_void.ir +++ b/examples/ir2/return_void.ir @@ -2,7 +2,7 @@ fun unit @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -12,7 +12,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/shift.ir b/examples/ir2/shift.ir index 1621934..e19ec60 100644 --- a/examples/ir2/shift.ir +++ b/examples/ir2/shift.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i8:a %l1:i8:b %l2:u8:c diff --git a/examples/ir2/side_effect.ir b/examples/ir2/side_effect.ir index 43137cc..1462164 100644 --- a/examples/ir2/side_effect.ir +++ b/examples/ir2/side_effect.ir @@ -3,7 +3,7 @@ var i32 @g = 0 fun i32* @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -16,7 +16,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/simple.ir b/examples/ir2/simple.ir index 27bcd25..c053dc7 100644 --- a/examples/ir2/simple.ir +++ b/examples/ir2/simple.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x block b0: diff --git a/examples/ir2/simple_cond.ir b/examples/ir2/simple_cond.ir index a878231..934e06d 100644 --- a/examples/ir2/simple_cond.ir +++ b/examples/ir2/simple_cond.ir @@ -2,7 +2,7 @@ fun i32 @f (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:x block b0: @@ -16,7 +16,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y %l2:i32:t0 diff --git a/examples/ir2/simple_for.ir b/examples/ir2/simple_for.ir index f0b4f5a..18fae96 100644 --- a/examples/ir2/simple_for.ir +++ b/examples/ir2/simple_for.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:sum diff --git a/examples/ir2/simple_if.ir b/examples/ir2/simple_if.ir index 48d09ac..116debd 100644 --- a/examples/ir2/simple_if.ir +++ b/examples/ir2/simple_if.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -33,7 +33,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/sizeof.ir b/examples/ir2/sizeof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/ir2/sizeof.ir +++ b/examples/ir2/sizeof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/sizeof2.ir b/examples/ir2/sizeof2.ir index ba6cf06..2fcc745 100644 --- a/examples/ir2/sizeof2.ir +++ b/examples/ir2/sizeof2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i8:a %l1:i8:b %l2:[10 x i64]:c diff --git a/examples/ir2/sizeof3.ir b/examples/ir2/sizeof3.ir index c1a4f6a..05a2f75 100644 --- a/examples/ir2/sizeof3.ir +++ b/examples/ir2/sizeof3.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:i32:y diff --git a/examples/ir2/sizeof4.ir b/examples/ir2/sizeof4.ir index 4c07aa5..4a83f3c 100644 --- a/examples/ir2/sizeof4.ir +++ b/examples/ir2/sizeof4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b diff --git a/examples/ir2/struct.ir b/examples/ir2/struct.ir index bf355f0..5b8b243 100644 --- a/examples/ir2/struct.ir +++ b/examples/ir2/struct.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:f64 } fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: %l0:i32:row %l1:i32:col %l2:[5 x i32]*:arr @@ -73,7 +73,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct %t1:temp %l1:i32:row %l2:i32:col diff --git a/examples/ir2/struct2.ir b/examples/ir2/struct2.ir index 372195b..b34607f 100644 --- a/examples/ir2/struct2.ir +++ b/examples/ir2/struct2.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:i64 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:const struct %t1:temp %l1:struct %t1:temp2 %l2:i32:sum diff --git a/examples/ir2/struct3.ir b/examples/ir2/struct3.ir index 77f861f..27de1bb 100644 --- a/examples/ir2/struct3.ir +++ b/examples/ir2/struct3.ir @@ -4,7 +4,7 @@ struct Sub : { m1:i64, m2:i64, m3:i64, m4:i64 } fun struct Big @foo (struct Big) { init: bid: b0 - allocations: + allocations: %l0:struct Big:p1 %l1:struct Big:r @@ -24,7 +24,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Big:a %l1:struct Big:r diff --git a/examples/ir2/struct4.ir b/examples/ir2/struct4.ir index 76681a4..a6b1a6b 100644 --- a/examples/ir2/struct4.ir +++ b/examples/ir2/struct4.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun struct Foo @f () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:x block b0: @@ -18,7 +18,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:x %l1:struct Foo:t0 diff --git a/examples/ir2/swap.ir b/examples/ir2/swap.ir index 0acd5a6..25d265c 100644 --- a/examples/ir2/swap.ir +++ b/examples/ir2/swap.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b %l2:i32:t diff --git a/examples/ir2/switch-in-loop.ir b/examples/ir2/switch-in-loop.ir index 48bb8c5..6f3e8e9 100644 --- a/examples/ir2/switch-in-loop.ir +++ b/examples/ir2/switch-in-loop.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:i %l1:i32:c diff --git a/examples/ir2/switch.ir b/examples/ir2/switch.ir index 2df3c74..342ec00 100644 --- a/examples/ir2/switch.ir +++ b/examples/ir2/switch.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32:b diff --git a/examples/ir2/temp.ir b/examples/ir2/temp.ir index 1d18ee5..666ba5a 100644 --- a/examples/ir2/temp.ir +++ b/examples/ir2/temp.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: %l0:i32:n block b0: @@ -25,7 +25,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/temp2.ir b/examples/ir2/temp2.ir index e33758d..ba85d5a 100644 --- a/examples/ir2/temp2.ir +++ b/examples/ir2/temp2.ir @@ -3,7 +3,7 @@ struct color : { number:i32, name:i8 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:temp %l1:struct color:c %l2:struct color*:cp diff --git a/examples/ir2/test.ir b/examples/ir2/test.ir index 99abdd4..c1a26ec 100644 --- a/examples/ir2/test.ir +++ b/examples/ir2/test.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i64:l %l1:i64:l2 %l2:i64:l3 diff --git a/examples/ir2/typecast.ir b/examples/ir2/typecast.ir index bb01078..d06da07 100644 --- a/examples/ir2/typecast.ir +++ b/examples/ir2/typecast.ir @@ -3,7 +3,7 @@ var i8 @temp = 0x00l fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir2/typedef.ir b/examples/ir2/typedef.ir index 8db8a43..92e9829 100644 --- a/examples/ir2/typedef.ir +++ b/examples/ir2/typedef.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32*const:b diff --git a/examples/ir2/unary.ir b/examples/ir2/unary.ir index 0184edd..bfbee09 100644 --- a/examples/ir2/unary.ir +++ b/examples/ir2/unary.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:u8:temp block b0: diff --git a/examples/ir2/while_continue_break.ir b/examples/ir2/while_continue_break.ir index 0f54d12..e9383cb 100644 --- a/examples/ir2/while_continue_break.ir +++ b/examples/ir2/while_continue_break.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @foo () { init: bid: b0 - allocations: + allocations: %l0:i32:sum %l1:i32:i %l2:i32:continue_num @@ -59,7 +59,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/alignof.ir b/examples/ir3/alignof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/ir3/alignof.ir +++ b/examples/ir3/alignof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/array.ir b/examples/ir3/array.ir index 4430248..00d0c80 100644 --- a/examples/ir3/array.ir +++ b/examples/ir3/array.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a block b0: @@ -33,7 +33,7 @@ block b5: fun i32 @sum (i32, i32*) { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/array2.ir b/examples/ir3/array2.ir index 974aa52..32f52de 100644 --- a/examples/ir3/array2.ir +++ b/examples/ir3/array2.ir @@ -2,7 +2,7 @@ fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: block b0: @@ -48,7 +48,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[4 x [5 x i32]]:a block b0: diff --git a/examples/ir3/array3.ir b/examples/ir3/array3.ir index ef1c005..55a65ca 100644 --- a/examples/ir3/array3.ir +++ b/examples/ir3/array3.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -13,7 +13,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/ir3/array4.ir b/examples/ir3/array4.ir index 5a06572..59ed6c2 100644 --- a/examples/ir3/array4.ir +++ b/examples/ir3/array4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/ir3/array5.ir b/examples/ir3/array5.ir index 2e3527f..ec0b866 100644 --- a/examples/ir3/array5.ir +++ b/examples/ir3/array5.ir @@ -3,7 +3,7 @@ var [5 x i32] @g_a = {1, 2, 3} fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a block b0: diff --git a/examples/ir3/bar.ir b/examples/ir3/bar.ir index 5e2cbe0..35a7d22 100644 --- a/examples/ir3/bar.ir +++ b/examples/ir3/bar.ir @@ -2,7 +2,7 @@ fun i32 @bar (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -22,7 +22,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/bitwise.ir b/examples/ir3/bitwise.ir index 0cdcd3a..e375a31 100644 --- a/examples/ir3/bitwise.ir +++ b/examples/ir3/bitwise.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/cmp.ir b/examples/ir3/cmp.ir index 718609f..646f514 100644 --- a/examples/ir3/cmp.ir +++ b/examples/ir3/cmp.ir @@ -2,7 +2,7 @@ fun i32 @char_greater_than (i8, u8) { init: bid: b0 - allocations: + allocations: block b0: @@ -23,7 +23,7 @@ block b2: fun i32 @int_greater_than (i32, u32) { init: bid: b0 - allocations: + allocations: block b0: @@ -43,7 +43,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/comma.ir b/examples/ir3/comma.ir index 54a9d6f..759627a 100644 --- a/examples/ir3/comma.ir +++ b/examples/ir3/comma.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/complement.ir b/examples/ir3/complement.ir index 1518125..888be64 100644 --- a/examples/ir3/complement.ir +++ b/examples/ir3/complement.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/complete_cond.ir b/examples/ir3/complete_cond.ir index 6153e06..4bea2b9 100644 --- a/examples/ir3/complete_cond.ir +++ b/examples/ir3/complete_cond.ir @@ -2,7 +2,7 @@ fun i32 @func_0 () { init: bid: b0 - allocations: + allocations: block b0: @@ -157,7 +157,7 @@ block b39: fun i32 @func_1 () { init: bid: b0 - allocations: + allocations: block b0: @@ -312,7 +312,7 @@ block b39: fun i32 @func_10 () { init: bid: b0 - allocations: + allocations: block b0: @@ -467,7 +467,7 @@ block b39: fun i32 @func_11 () { init: bid: b0 - allocations: + allocations: block b0: @@ -622,7 +622,7 @@ block b39: fun i32 @func_12 () { init: bid: b0 - allocations: + allocations: block b0: @@ -777,7 +777,7 @@ block b39: fun i32 @func_13 () { init: bid: b0 - allocations: + allocations: block b0: @@ -932,7 +932,7 @@ block b39: fun i32 @func_14 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1087,7 +1087,7 @@ block b39: fun i32 @func_15 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1242,7 +1242,7 @@ block b39: fun i32 @func_16 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1397,7 +1397,7 @@ block b39: fun i32 @func_17 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1552,7 +1552,7 @@ block b39: fun i32 @func_18 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1707,7 +1707,7 @@ block b39: fun i32 @func_19 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1862,7 +1862,7 @@ block b39: fun i32 @func_2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2017,7 +2017,7 @@ block b39: fun i32 @func_20 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2172,7 +2172,7 @@ block b39: fun i32 @func_21 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2327,7 +2327,7 @@ block b39: fun i32 @func_22 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2482,7 +2482,7 @@ block b39: fun i32 @func_23 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2637,7 +2637,7 @@ block b39: fun i32 @func_24 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2792,7 +2792,7 @@ block b39: fun i32 @func_25 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2947,7 +2947,7 @@ block b39: fun i32 @func_26 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3102,7 +3102,7 @@ block b39: fun i32 @func_27 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3257,7 +3257,7 @@ block b39: fun i32 @func_28 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3412,7 +3412,7 @@ block b39: fun i32 @func_29 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3567,7 +3567,7 @@ block b39: fun i32 @func_3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3722,7 +3722,7 @@ block b39: fun i32 @func_30 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3877,7 +3877,7 @@ block b39: fun i32 @func_31 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4032,7 +4032,7 @@ block b39: fun i32 @func_32 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4187,7 +4187,7 @@ block b39: fun i32 @func_33 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4342,7 +4342,7 @@ block b39: fun i32 @func_34 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4497,7 +4497,7 @@ block b39: fun i32 @func_35 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4652,7 +4652,7 @@ block b39: fun i32 @func_36 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4807,7 +4807,7 @@ block b39: fun i32 @func_37 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4962,7 +4962,7 @@ block b39: fun i32 @func_38 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5117,7 +5117,7 @@ block b39: fun i32 @func_39 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5272,7 +5272,7 @@ block b39: fun i32 @func_4 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5427,7 +5427,7 @@ block b39: fun i32 @func_40 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5582,7 +5582,7 @@ block b39: fun i32 @func_41 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5737,7 +5737,7 @@ block b39: fun i32 @func_42 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5892,7 +5892,7 @@ block b39: fun i32 @func_43 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6047,7 +6047,7 @@ block b39: fun i32 @func_44 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6202,7 +6202,7 @@ block b39: fun i32 @func_45 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6357,7 +6357,7 @@ block b39: fun i32 @func_46 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6512,7 +6512,7 @@ block b39: fun i32 @func_47 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6667,7 +6667,7 @@ block b39: fun i32 @func_48 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6822,7 +6822,7 @@ block b39: fun i32 @func_49 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6977,7 +6977,7 @@ block b39: fun i32 @func_5 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7132,7 +7132,7 @@ block b39: fun i32 @func_50 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7287,7 +7287,7 @@ block b39: fun i32 @func_51 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7442,7 +7442,7 @@ block b39: fun i32 @func_52 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7597,7 +7597,7 @@ block b39: fun i32 @func_53 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7752,7 +7752,7 @@ block b39: fun i32 @func_54 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7907,7 +7907,7 @@ block b39: fun i32 @func_55 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8062,7 +8062,7 @@ block b39: fun i32 @func_56 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8217,7 +8217,7 @@ block b39: fun i32 @func_57 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8372,7 +8372,7 @@ block b39: fun i32 @func_58 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8527,7 +8527,7 @@ block b39: fun i32 @func_59 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8682,7 +8682,7 @@ block b39: fun i32 @func_6 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8837,7 +8837,7 @@ block b39: fun i32 @func_60 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8992,7 +8992,7 @@ block b39: fun i32 @func_61 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9147,7 +9147,7 @@ block b39: fun i32 @func_62 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9302,7 +9302,7 @@ block b39: fun i32 @func_63 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9457,7 +9457,7 @@ block b39: fun i32 @func_64 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9612,7 +9612,7 @@ block b39: fun i32 @func_65 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9767,7 +9767,7 @@ block b39: fun i32 @func_66 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9922,7 +9922,7 @@ block b39: fun i32 @func_67 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10077,7 +10077,7 @@ block b39: fun i32 @func_68 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10232,7 +10232,7 @@ block b39: fun i32 @func_69 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10387,7 +10387,7 @@ block b39: fun i32 @func_7 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10542,7 +10542,7 @@ block b39: fun i32 @func_70 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10697,7 +10697,7 @@ block b39: fun i32 @func_71 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10852,7 +10852,7 @@ block b39: fun i32 @func_72 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11007,7 +11007,7 @@ block b39: fun i32 @func_73 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11162,7 +11162,7 @@ block b39: fun i32 @func_74 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11317,7 +11317,7 @@ block b39: fun i32 @func_75 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11472,7 +11472,7 @@ block b39: fun i32 @func_76 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11627,7 +11627,7 @@ block b39: fun i32 @func_77 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11782,7 +11782,7 @@ block b39: fun i32 @func_78 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11937,7 +11937,7 @@ block b39: fun i32 @func_79 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12092,7 +12092,7 @@ block b39: fun i32 @func_8 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12247,7 +12247,7 @@ block b39: fun i32 @func_80 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12402,7 +12402,7 @@ block b39: fun i32 @func_81 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12557,7 +12557,7 @@ block b39: fun i32 @func_82 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12712,7 +12712,7 @@ block b39: fun i32 @func_83 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12867,7 +12867,7 @@ block b39: fun i32 @func_84 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13022,7 +13022,7 @@ block b39: fun i32 @func_85 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13177,7 +13177,7 @@ block b39: fun i32 @func_86 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13332,7 +13332,7 @@ block b39: fun i32 @func_87 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13487,7 +13487,7 @@ block b39: fun i32 @func_88 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13642,7 +13642,7 @@ block b39: fun i32 @func_89 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13797,7 +13797,7 @@ block b39: fun i32 @func_9 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13952,7 +13952,7 @@ block b39: fun i32 @func_90 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14107,7 +14107,7 @@ block b39: fun i32 @func_91 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14262,7 +14262,7 @@ block b39: fun i32 @func_92 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14417,7 +14417,7 @@ block b39: fun i32 @func_93 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14572,7 +14572,7 @@ block b39: fun i32 @func_94 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14727,7 +14727,7 @@ block b39: fun i32 @func_95 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14882,7 +14882,7 @@ block b39: fun i32 @func_96 () { init: bid: b0 - allocations: + allocations: block b0: @@ -15037,7 +15037,7 @@ block b39: fun i32 @func_97 () { init: bid: b0 - allocations: + allocations: block b0: @@ -15192,7 +15192,7 @@ block b39: fun i32 @func_98 () { init: bid: b0 - allocations: + allocations: block b0: @@ -15347,7 +15347,7 @@ block b39: fun i32 @func_99 () { init: bid: b0 - allocations: + allocations: block b0: @@ -15502,7 +15502,7 @@ block b39: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/cond.ir b/examples/ir3/cond.ir index f7fa895..05bf7e3 100644 --- a/examples/ir3/cond.ir +++ b/examples/ir3/cond.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/cond_and_loop.ir b/examples/ir3/cond_and_loop.ir index bfa39f6..c0f9ca2 100644 --- a/examples/ir3/cond_and_loop.ir +++ b/examples/ir3/cond_and_loop.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/fib2.ir b/examples/ir3/fib2.ir index 04ee26d..8ea221b 100644 --- a/examples/ir3/fib2.ir +++ b/examples/ir3/fib2.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -25,7 +25,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/fib3.ir b/examples/ir3/fib3.ir index e36bb46..974f701 100644 --- a/examples/ir3/fib3.ir +++ b/examples/ir3/fib3.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b9: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/fib4.ir b/examples/ir3/fib4.ir index 49cfcb2..f09492d 100644 --- a/examples/ir3/fib4.ir +++ b/examples/ir3/fib4.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/fib5.ir b/examples/ir3/fib5.ir index f61fe34..66e2566 100644 --- a/examples/ir3/fib5.ir +++ b/examples/ir3/fib5.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -32,7 +32,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/fibonacci.ir b/examples/ir3/fibonacci.ir index b570e53..9b24722 100644 --- a/examples/ir3/fibonacci.ir +++ b/examples/ir3/fibonacci.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -26,7 +26,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/float.ir b/examples/ir3/float.ir index 357b96d..3898b71 100644 --- a/examples/ir3/float.ir +++ b/examples/ir3/float.ir @@ -2,7 +2,7 @@ fun f64 @average (i32, i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b5: fun f64 @custom_abs (f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -59,7 +59,7 @@ block b3: fun f64 @custom_max (f64, f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -82,7 +82,7 @@ block b3: fun i32 @is_close (f64, f64, f64, f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -105,7 +105,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/ir3/float2.ir b/examples/ir3/float2.ir index d8765fd..8b00e25 100644 --- a/examples/ir3/float2.ir +++ b/examples/ir3/float2.ir @@ -2,7 +2,7 @@ fun f64 @func_0 () { init: bid: b0 - allocations: + allocations: block b0: @@ -82,7 +82,7 @@ block b0: fun f32 @func_1 () { init: bid: b0 - allocations: + allocations: block b0: @@ -163,7 +163,7 @@ block b0: fun f32 @func_10 () { init: bid: b0 - allocations: + allocations: block b0: @@ -240,7 +240,7 @@ block b0: fun f64 @func_11 () { init: bid: b0 - allocations: + allocations: block b0: @@ -313,7 +313,7 @@ block b0: fun f64 @func_12 () { init: bid: b0 - allocations: + allocations: block b0: @@ -387,7 +387,7 @@ block b0: fun f32 @func_13 () { init: bid: b0 - allocations: + allocations: block b0: @@ -456,7 +456,7 @@ block b0: fun f32 @func_14 () { init: bid: b0 - allocations: + allocations: block b0: @@ -537,7 +537,7 @@ block b0: fun f32 @func_15 () { init: bid: b0 - allocations: + allocations: block b0: @@ -618,7 +618,7 @@ block b0: fun f64 @func_16 () { init: bid: b0 - allocations: + allocations: block b0: @@ -700,7 +700,7 @@ block b0: fun f64 @func_17 () { init: bid: b0 - allocations: + allocations: block b0: @@ -775,7 +775,7 @@ block b0: fun f32 @func_18 () { init: bid: b0 - allocations: + allocations: block b0: @@ -853,7 +853,7 @@ block b0: fun f32 @func_19 () { init: bid: b0 - allocations: + allocations: block b0: @@ -927,7 +927,7 @@ block b0: fun f64 @func_2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1010,7 +1010,7 @@ block b0: fun f32 @func_20 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1084,7 +1084,7 @@ block b0: fun f32 @func_21 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1155,7 +1155,7 @@ block b0: fun f64 @func_22 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1243,7 +1243,7 @@ block b0: fun f32 @func_23 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1318,7 +1318,7 @@ block b0: fun f64 @func_24 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1392,7 +1392,7 @@ block b0: fun f32 @func_25 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1473,7 +1473,7 @@ block b0: fun f32 @func_26 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1553,7 +1553,7 @@ block b0: fun f64 @func_27 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1629,7 +1629,7 @@ block b0: fun f32 @func_28 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1708,7 +1708,7 @@ block b0: fun f32 @func_29 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1786,7 +1786,7 @@ block b0: fun f64 @func_3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1861,7 +1861,7 @@ block b0: fun f64 @func_30 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1934,7 +1934,7 @@ block b0: fun f64 @func_31 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2021,7 +2021,7 @@ block b0: fun f64 @func_32 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2096,7 +2096,7 @@ block b0: fun f64 @func_33 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2172,7 +2172,7 @@ block b0: fun f64 @func_34 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2245,7 +2245,7 @@ block b0: fun f32 @func_35 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2323,7 +2323,7 @@ block b0: fun f32 @func_36 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2405,7 +2405,7 @@ block b0: fun f64 @func_37 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2480,7 +2480,7 @@ block b0: fun f32 @func_38 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2554,7 +2554,7 @@ block b0: fun f64 @func_39 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2627,7 +2627,7 @@ block b0: fun f64 @func_4 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2700,7 +2700,7 @@ block b0: fun f32 @func_40 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2775,7 +2775,7 @@ block b0: fun f64 @func_41 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2848,7 +2848,7 @@ block b0: fun f64 @func_42 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2926,7 +2926,7 @@ block b0: fun f32 @func_43 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3007,7 +3007,7 @@ block b0: fun f32 @func_44 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3092,7 +3092,7 @@ block b0: fun f32 @func_45 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3173,7 +3173,7 @@ block b0: fun f32 @func_46 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3245,7 +3245,7 @@ block b0: fun f64 @func_47 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3321,7 +3321,7 @@ block b0: fun f32 @func_48 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3394,7 +3394,7 @@ block b0: fun f64 @func_49 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3466,7 +3466,7 @@ block b0: fun f32 @func_5 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3546,7 +3546,7 @@ block b0: fun f32 @func_50 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3622,7 +3622,7 @@ block b0: fun f64 @func_51 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3690,7 +3690,7 @@ block b0: fun f64 @func_52 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3766,7 +3766,7 @@ block b0: fun f64 @func_53 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3850,7 +3850,7 @@ block b0: fun f32 @func_54 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3931,7 +3931,7 @@ block b0: fun f64 @func_55 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4002,7 +4002,7 @@ block b0: fun f64 @func_56 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4077,7 +4077,7 @@ block b0: fun f32 @func_57 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4159,7 +4159,7 @@ block b0: fun f64 @func_58 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4237,7 +4237,7 @@ block b0: fun f64 @func_59 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4318,7 +4318,7 @@ block b0: fun f64 @func_6 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4393,7 +4393,7 @@ block b0: fun f64 @func_60 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4467,7 +4467,7 @@ block b0: fun f64 @func_61 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4549,7 +4549,7 @@ block b0: fun f64 @func_62 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4626,7 +4626,7 @@ block b0: fun f32 @func_63 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4702,7 +4702,7 @@ block b0: fun f64 @func_64 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4776,7 +4776,7 @@ block b0: fun f32 @func_65 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4849,7 +4849,7 @@ block b0: fun f64 @func_66 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4920,7 +4920,7 @@ block b0: fun f32 @func_67 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4998,7 +4998,7 @@ block b0: fun f32 @func_68 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5077,7 +5077,7 @@ block b0: fun f64 @func_69 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5158,7 +5158,7 @@ block b0: fun f64 @func_7 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5237,7 +5237,7 @@ block b0: fun f32 @func_70 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5314,7 +5314,7 @@ block b0: fun f64 @func_71 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5392,7 +5392,7 @@ block b0: fun f64 @func_72 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5470,7 +5470,7 @@ block b0: fun f32 @func_73 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5546,7 +5546,7 @@ block b0: fun f64 @func_74 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5619,7 +5619,7 @@ block b0: fun f32 @func_75 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5695,7 +5695,7 @@ block b0: fun f64 @func_76 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5761,7 +5761,7 @@ block b0: fun f64 @func_77 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5836,7 +5836,7 @@ block b0: fun f32 @func_78 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5908,7 +5908,7 @@ block b0: fun f32 @func_79 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5989,7 +5989,7 @@ block b0: fun f64 @func_8 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6065,7 +6065,7 @@ block b0: fun f32 @func_80 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6133,7 +6133,7 @@ block b0: fun f64 @func_81 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6211,7 +6211,7 @@ block b0: fun f64 @func_82 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6293,7 +6293,7 @@ block b0: fun f64 @func_83 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6372,7 +6372,7 @@ block b0: fun f32 @func_84 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6449,7 +6449,7 @@ block b0: fun f64 @func_85 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6527,7 +6527,7 @@ block b0: fun f32 @func_86 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6604,7 +6604,7 @@ block b0: fun f64 @func_87 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6680,7 +6680,7 @@ block b0: fun f32 @func_88 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6758,7 +6758,7 @@ block b0: fun f32 @func_89 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6833,7 +6833,7 @@ block b0: fun f32 @func_9 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6914,7 +6914,7 @@ block b0: fun f64 @func_90 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7005,7 +7005,7 @@ block b0: fun f32 @func_91 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7080,7 +7080,7 @@ block b0: fun f32 @func_92 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7153,7 +7153,7 @@ block b0: fun f64 @func_93 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7228,7 +7228,7 @@ block b0: fun f64 @func_94 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7304,7 +7304,7 @@ block b0: fun f32 @func_95 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7382,7 +7382,7 @@ block b0: fun f32 @func_96 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7465,7 +7465,7 @@ block b0: fun f32 @func_97 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7544,7 +7544,7 @@ block b0: fun f64 @func_98 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7623,7 +7623,7 @@ block b0: fun f32 @func_99 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7689,7 +7689,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/foo.ir b/examples/ir3/foo.ir index 363bff6..e11ee0a 100644 --- a/examples/ir3/foo.ir +++ b/examples/ir3/foo.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -22,7 +22,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/foo2.ir b/examples/ir3/foo2.ir index 3621b5d..52f191c 100644 --- a/examples/ir3/foo2.ir +++ b/examples/ir3/foo2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/foo3.ir b/examples/ir3/foo3.ir index 41cd8a5..c1c71fb 100644 --- a/examples/ir3/foo3.ir +++ b/examples/ir3/foo3.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun i32 @foo (i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -19,7 +19,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/foo4.ir b/examples/ir3/foo4.ir index 70745af..53111d5 100644 --- a/examples/ir3/foo4.ir +++ b/examples/ir3/foo4.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -17,7 +17,7 @@ block b0: fun [ret:i32 params:(i32, i32, i32)]* @foo2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -27,7 +27,7 @@ block b0: fun [ret:[ret:i32 params:(i32, i32, i32)]* params:()]* @foo3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -37,7 +37,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/for_continue_break.ir b/examples/ir3/for_continue_break.ir index 139cf9c..57ef1a1 100644 --- a/examples/ir3/for_continue_break.ir +++ b/examples/ir3/for_continue_break.ir @@ -2,7 +2,7 @@ fun i32 @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -34,7 +34,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/gcd.ir b/examples/ir3/gcd.ir index 6cd9bb9..e713962 100644 --- a/examples/ir3/gcd.ir +++ b/examples/ir3/gcd.ir @@ -2,7 +2,7 @@ fun i32 @gcd (i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -59,7 +59,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/hello_main.ir b/examples/ir3/hello_main.ir index 9adaea1..2585836 100644 --- a/examples/ir3/hello_main.ir +++ b/examples/ir3/hello_main.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/integer_literal.ir b/examples/ir3/integer_literal.ir index 77b639c..78b9ffc 100644 --- a/examples/ir3/integer_literal.ir +++ b/examples/ir3/integer_literal.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/integer_literal2.ir b/examples/ir3/integer_literal2.ir index c13d94f..6bfb82d 100644 --- a/examples/ir3/integer_literal2.ir +++ b/examples/ir3/integer_literal2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/logical_op.ir b/examples/ir3/logical_op.ir index c65255e..07f6f28 100644 --- a/examples/ir3/logical_op.ir +++ b/examples/ir3/logical_op.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/lost_copy.ir b/examples/ir3/lost_copy.ir index 1cffe8e..90fbef4 100644 --- a/examples/ir3/lost_copy.ir +++ b/examples/ir3/lost_copy.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/minus_constant.ir b/examples/ir3/minus_constant.ir index 38a9055..d2e0be1 100644 --- a/examples/ir3/minus_constant.ir +++ b/examples/ir3/minus_constant.ir @@ -6,7 +6,7 @@ var f64 @d = -(1.5) fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/negate.ir b/examples/ir3/negate.ir index a0848c3..1721c35 100644 --- a/examples/ir3/negate.ir +++ b/examples/ir3/negate.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -23,7 +23,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/pointer.ir b/examples/ir3/pointer.ir index b9aed3f..c53ead1 100644 --- a/examples/ir3/pointer.ir +++ b/examples/ir3/pointer.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -13,7 +13,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32*:p diff --git a/examples/ir3/return_void.ir b/examples/ir3/return_void.ir index 70623bb..4096ceb 100644 --- a/examples/ir3/return_void.ir +++ b/examples/ir3/return_void.ir @@ -2,7 +2,7 @@ fun unit @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -12,7 +12,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/shift.ir b/examples/ir3/shift.ir index a2f66a4..a05802d 100644 --- a/examples/ir3/shift.ir +++ b/examples/ir3/shift.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/side_effect.ir b/examples/ir3/side_effect.ir index 43137cc..1462164 100644 --- a/examples/ir3/side_effect.ir +++ b/examples/ir3/side_effect.ir @@ -3,7 +3,7 @@ var i32 @g = 0 fun i32* @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -16,7 +16,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/simple.ir b/examples/ir3/simple.ir index d85f2be..2a95ac0 100644 --- a/examples/ir3/simple.ir +++ b/examples/ir3/simple.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/simple_cond.ir b/examples/ir3/simple_cond.ir index 7dc642b..2c2d072 100644 --- a/examples/ir3/simple_cond.ir +++ b/examples/ir3/simple_cond.ir @@ -2,7 +2,7 @@ fun i32 @f (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -14,7 +14,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/simple_for.ir b/examples/ir3/simple_for.ir index b6c48ca..8f67148 100644 --- a/examples/ir3/simple_for.ir +++ b/examples/ir3/simple_for.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/simple_if.ir b/examples/ir3/simple_if.ir index 475a71f..3a5a60f 100644 --- a/examples/ir3/simple_if.ir +++ b/examples/ir3/simple_if.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -27,7 +27,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/sizeof.ir b/examples/ir3/sizeof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/ir3/sizeof.ir +++ b/examples/ir3/sizeof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/sizeof2.ir b/examples/ir3/sizeof2.ir index 01ac869..86190e8 100644 --- a/examples/ir3/sizeof2.ir +++ b/examples/ir3/sizeof2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/sizeof3.ir b/examples/ir3/sizeof3.ir index 6b0fb62..1f0f74c 100644 --- a/examples/ir3/sizeof3.ir +++ b/examples/ir3/sizeof3.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/sizeof4.ir b/examples/ir3/sizeof4.ir index 10560d5..6e4c6d2 100644 --- a/examples/ir3/sizeof4.ir +++ b/examples/ir3/sizeof4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/struct.ir b/examples/ir3/struct.ir index 651acd7..e6683e5 100644 --- a/examples/ir3/struct.ir +++ b/examples/ir3/struct.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:f64 } fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: block b0: @@ -50,7 +50,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct %t1:temp %l1:struct %t1:temp2 diff --git a/examples/ir3/struct2.ir b/examples/ir3/struct2.ir index d1c1273..5127b39 100644 --- a/examples/ir3/struct2.ir +++ b/examples/ir3/struct2.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:i64 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:const struct %t1:temp %l1:struct %t1:temp2 diff --git a/examples/ir3/struct3.ir b/examples/ir3/struct3.ir index 21e11f9..26c6c30 100644 --- a/examples/ir3/struct3.ir +++ b/examples/ir3/struct3.ir @@ -4,7 +4,7 @@ struct Sub : { m1:i64, m2:i64, m3:i64, m4:i64 } fun struct Big @foo (struct Big) { init: bid: b0 - allocations: + allocations: %l0:struct Big:r block b0: @@ -21,7 +21,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Big:a %l1:struct Big:r diff --git a/examples/ir3/struct4.ir b/examples/ir3/struct4.ir index 324b374..bda5b7e 100644 --- a/examples/ir3/struct4.ir +++ b/examples/ir3/struct4.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun struct Foo @f () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:x block b0: @@ -18,7 +18,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:t0 block b0: diff --git a/examples/ir3/swap.ir b/examples/ir3/swap.ir index 4648e11..dc79743 100644 --- a/examples/ir3/swap.ir +++ b/examples/ir3/swap.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/switch-in-loop.ir b/examples/ir3/switch-in-loop.ir index 99a0158..f224245 100644 --- a/examples/ir3/switch-in-loop.ir +++ b/examples/ir3/switch-in-loop.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/switch.ir b/examples/ir3/switch.ir index 4d11c9f..0a30e7d 100644 --- a/examples/ir3/switch.ir +++ b/examples/ir3/switch.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/temp.ir b/examples/ir3/temp.ir index b2487b1..08b7f1c 100644 --- a/examples/ir3/temp.ir +++ b/examples/ir3/temp.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -21,7 +21,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/temp2.ir b/examples/ir3/temp2.ir index d5fd69b..a8ebfd3 100644 --- a/examples/ir3/temp2.ir +++ b/examples/ir3/temp2.ir @@ -3,7 +3,7 @@ struct color : { number:i32, name:i8 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct color:c block b0: diff --git a/examples/ir3/test.ir b/examples/ir3/test.ir index e5ef0f2..ce14358 100644 --- a/examples/ir3/test.ir +++ b/examples/ir3/test.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/typecast.ir b/examples/ir3/typecast.ir index bb01078..d06da07 100644 --- a/examples/ir3/typecast.ir +++ b/examples/ir3/typecast.ir @@ -3,7 +3,7 @@ var i8 @temp = 0x00l fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/typedef.ir b/examples/ir3/typedef.ir index 6c1cc9b..8200cef 100644 --- a/examples/ir3/typedef.ir +++ b/examples/ir3/typedef.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a block b0: diff --git a/examples/ir3/unary.ir b/examples/ir3/unary.ir index e3cf67e..22f8129 100644 --- a/examples/ir3/unary.ir +++ b/examples/ir3/unary.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir3/while_continue_break.ir b/examples/ir3/while_continue_break.ir index 1f49e5c..ecb750c 100644 --- a/examples/ir3/while_continue_break.ir +++ b/examples/ir3/while_continue_break.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -40,7 +40,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/alignof.ir b/examples/ir4/alignof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/ir4/alignof.ir +++ b/examples/ir4/alignof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/array.ir b/examples/ir4/array.ir index 4430248..00d0c80 100644 --- a/examples/ir4/array.ir +++ b/examples/ir4/array.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a block b0: @@ -33,7 +33,7 @@ block b5: fun i32 @sum (i32, i32*) { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/array2.ir b/examples/ir4/array2.ir index a33c89c..3dbdce4 100644 --- a/examples/ir4/array2.ir +++ b/examples/ir4/array2.ir @@ -2,7 +2,7 @@ fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: block b0: @@ -48,7 +48,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[4 x [5 x i32]]:a block b0: diff --git a/examples/ir4/array3.ir b/examples/ir4/array3.ir index ef1c005..55a65ca 100644 --- a/examples/ir4/array3.ir +++ b/examples/ir4/array3.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -13,7 +13,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/ir4/array4.ir b/examples/ir4/array4.ir index c0284a6..3a76319 100644 --- a/examples/ir4/array4.ir +++ b/examples/ir4/array4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/ir4/array5.ir b/examples/ir4/array5.ir index 3953ef5..0c38688 100644 --- a/examples/ir4/array5.ir +++ b/examples/ir4/array5.ir @@ -3,7 +3,7 @@ var [5 x i32] @g_a = {1, 2, 3} fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a block b0: diff --git a/examples/ir4/bar.ir b/examples/ir4/bar.ir index 5e2cbe0..35a7d22 100644 --- a/examples/ir4/bar.ir +++ b/examples/ir4/bar.ir @@ -2,7 +2,7 @@ fun i32 @bar (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -22,7 +22,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/bitwise.ir b/examples/ir4/bitwise.ir index 839c15c..6e63c06 100644 --- a/examples/ir4/bitwise.ir +++ b/examples/ir4/bitwise.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/cmp.ir b/examples/ir4/cmp.ir index 32596f7..ea6bc52 100644 --- a/examples/ir4/cmp.ir +++ b/examples/ir4/cmp.ir @@ -2,7 +2,7 @@ fun i32 @char_greater_than (i8, u8) { init: bid: b0 - allocations: + allocations: block b0: @@ -23,7 +23,7 @@ block b2: fun i32 @int_greater_than (i32, u32) { init: bid: b0 - allocations: + allocations: block b0: @@ -43,7 +43,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/comma.ir b/examples/ir4/comma.ir index 54a9d6f..759627a 100644 --- a/examples/ir4/comma.ir +++ b/examples/ir4/comma.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/complement.ir b/examples/ir4/complement.ir index 1518125..888be64 100644 --- a/examples/ir4/complement.ir +++ b/examples/ir4/complement.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/complete_cond.ir b/examples/ir4/complete_cond.ir index 9427bb2..12abffe 100644 --- a/examples/ir4/complete_cond.ir +++ b/examples/ir4/complete_cond.ir @@ -2,7 +2,7 @@ fun i32 @func_0 () { init: bid: b0 - allocations: + allocations: block b0: @@ -157,7 +157,7 @@ block b39: fun i32 @func_1 () { init: bid: b0 - allocations: + allocations: block b0: @@ -312,7 +312,7 @@ block b39: fun i32 @func_10 () { init: bid: b0 - allocations: + allocations: block b0: @@ -467,7 +467,7 @@ block b39: fun i32 @func_11 () { init: bid: b0 - allocations: + allocations: block b0: @@ -622,7 +622,7 @@ block b39: fun i32 @func_12 () { init: bid: b0 - allocations: + allocations: block b0: @@ -777,7 +777,7 @@ block b39: fun i32 @func_13 () { init: bid: b0 - allocations: + allocations: block b0: @@ -932,7 +932,7 @@ block b39: fun i32 @func_14 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1087,7 +1087,7 @@ block b39: fun i32 @func_15 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1242,7 +1242,7 @@ block b39: fun i32 @func_16 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1397,7 +1397,7 @@ block b39: fun i32 @func_17 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1552,7 +1552,7 @@ block b39: fun i32 @func_18 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1707,7 +1707,7 @@ block b39: fun i32 @func_19 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1862,7 +1862,7 @@ block b39: fun i32 @func_2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2017,7 +2017,7 @@ block b39: fun i32 @func_20 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2172,7 +2172,7 @@ block b39: fun i32 @func_21 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2328,7 +2328,7 @@ block b39: fun i32 @func_22 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2483,7 +2483,7 @@ block b39: fun i32 @func_23 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2638,7 +2638,7 @@ block b39: fun i32 @func_24 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2793,7 +2793,7 @@ block b39: fun i32 @func_25 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2948,7 +2948,7 @@ block b39: fun i32 @func_26 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3103,7 +3103,7 @@ block b39: fun i32 @func_27 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3258,7 +3258,7 @@ block b39: fun i32 @func_28 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3413,7 +3413,7 @@ block b39: fun i32 @func_29 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3568,7 +3568,7 @@ block b39: fun i32 @func_3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3723,7 +3723,7 @@ block b39: fun i32 @func_30 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3878,7 +3878,7 @@ block b39: fun i32 @func_31 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4033,7 +4033,7 @@ block b39: fun i32 @func_32 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4188,7 +4188,7 @@ block b39: fun i32 @func_33 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4343,7 +4343,7 @@ block b39: fun i32 @func_34 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4498,7 +4498,7 @@ block b39: fun i32 @func_35 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4653,7 +4653,7 @@ block b39: fun i32 @func_36 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4808,7 +4808,7 @@ block b39: fun i32 @func_37 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4963,7 +4963,7 @@ block b39: fun i32 @func_38 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5118,7 +5118,7 @@ block b39: fun i32 @func_39 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5273,7 +5273,7 @@ block b39: fun i32 @func_4 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5428,7 +5428,7 @@ block b39: fun i32 @func_40 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5583,7 +5583,7 @@ block b39: fun i32 @func_41 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5738,7 +5738,7 @@ block b39: fun i32 @func_42 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5893,7 +5893,7 @@ block b39: fun i32 @func_43 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6048,7 +6048,7 @@ block b39: fun i32 @func_44 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6203,7 +6203,7 @@ block b39: fun i32 @func_45 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6358,7 +6358,7 @@ block b39: fun i32 @func_46 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6513,7 +6513,7 @@ block b39: fun i32 @func_47 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6668,7 +6668,7 @@ block b39: fun i32 @func_48 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6823,7 +6823,7 @@ block b39: fun i32 @func_49 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6978,7 +6978,7 @@ block b39: fun i32 @func_5 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7133,7 +7133,7 @@ block b39: fun i32 @func_50 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7288,7 +7288,7 @@ block b39: fun i32 @func_51 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7443,7 +7443,7 @@ block b39: fun i32 @func_52 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7598,7 +7598,7 @@ block b39: fun i32 @func_53 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7753,7 +7753,7 @@ block b39: fun i32 @func_54 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7908,7 +7908,7 @@ block b39: fun i32 @func_55 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8063,7 +8063,7 @@ block b39: fun i32 @func_56 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8218,7 +8218,7 @@ block b39: fun i32 @func_57 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8373,7 +8373,7 @@ block b39: fun i32 @func_58 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8528,7 +8528,7 @@ block b39: fun i32 @func_59 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8683,7 +8683,7 @@ block b39: fun i32 @func_6 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8838,7 +8838,7 @@ block b39: fun i32 @func_60 () { init: bid: b0 - allocations: + allocations: block b0: @@ -8993,7 +8993,7 @@ block b39: fun i32 @func_61 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9148,7 +9148,7 @@ block b39: fun i32 @func_62 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9303,7 +9303,7 @@ block b39: fun i32 @func_63 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9458,7 +9458,7 @@ block b39: fun i32 @func_64 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9613,7 +9613,7 @@ block b39: fun i32 @func_65 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9768,7 +9768,7 @@ block b39: fun i32 @func_66 () { init: bid: b0 - allocations: + allocations: block b0: @@ -9923,7 +9923,7 @@ block b39: fun i32 @func_67 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10078,7 +10078,7 @@ block b39: fun i32 @func_68 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10233,7 +10233,7 @@ block b39: fun i32 @func_69 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10388,7 +10388,7 @@ block b39: fun i32 @func_7 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10543,7 +10543,7 @@ block b39: fun i32 @func_70 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10698,7 +10698,7 @@ block b39: fun i32 @func_71 () { init: bid: b0 - allocations: + allocations: block b0: @@ -10853,7 +10853,7 @@ block b39: fun i32 @func_72 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11008,7 +11008,7 @@ block b39: fun i32 @func_73 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11163,7 +11163,7 @@ block b39: fun i32 @func_74 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11318,7 +11318,7 @@ block b39: fun i32 @func_75 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11473,7 +11473,7 @@ block b39: fun i32 @func_76 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11628,7 +11628,7 @@ block b39: fun i32 @func_77 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11783,7 +11783,7 @@ block b39: fun i32 @func_78 () { init: bid: b0 - allocations: + allocations: block b0: @@ -11938,7 +11938,7 @@ block b39: fun i32 @func_79 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12093,7 +12093,7 @@ block b39: fun i32 @func_8 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12248,7 +12248,7 @@ block b39: fun i32 @func_80 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12403,7 +12403,7 @@ block b39: fun i32 @func_81 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12558,7 +12558,7 @@ block b39: fun i32 @func_82 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12713,7 +12713,7 @@ block b39: fun i32 @func_83 () { init: bid: b0 - allocations: + allocations: block b0: @@ -12868,7 +12868,7 @@ block b39: fun i32 @func_84 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13023,7 +13023,7 @@ block b39: fun i32 @func_85 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13178,7 +13178,7 @@ block b39: fun i32 @func_86 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13333,7 +13333,7 @@ block b39: fun i32 @func_87 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13488,7 +13488,7 @@ block b39: fun i32 @func_88 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13643,7 +13643,7 @@ block b39: fun i32 @func_89 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13798,7 +13798,7 @@ block b39: fun i32 @func_9 () { init: bid: b0 - allocations: + allocations: block b0: @@ -13953,7 +13953,7 @@ block b39: fun i32 @func_90 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14108,7 +14108,7 @@ block b39: fun i32 @func_91 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14263,7 +14263,7 @@ block b39: fun i32 @func_92 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14418,7 +14418,7 @@ block b39: fun i32 @func_93 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14573,7 +14573,7 @@ block b39: fun i32 @func_94 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14728,7 +14728,7 @@ block b39: fun i32 @func_95 () { init: bid: b0 - allocations: + allocations: block b0: @@ -14883,7 +14883,7 @@ block b39: fun i32 @func_96 () { init: bid: b0 - allocations: + allocations: block b0: @@ -15038,7 +15038,7 @@ block b39: fun i32 @func_97 () { init: bid: b0 - allocations: + allocations: block b0: @@ -15194,7 +15194,7 @@ block b39: fun i32 @func_98 () { init: bid: b0 - allocations: + allocations: block b0: @@ -15349,7 +15349,7 @@ block b39: fun i32 @func_99 () { init: bid: b0 - allocations: + allocations: block b0: @@ -15504,7 +15504,7 @@ block b39: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/cond.ir b/examples/ir4/cond.ir index f7fa895..05bf7e3 100644 --- a/examples/ir4/cond.ir +++ b/examples/ir4/cond.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/cond_and_loop.ir b/examples/ir4/cond_and_loop.ir index 8d92829..30c9058 100644 --- a/examples/ir4/cond_and_loop.ir +++ b/examples/ir4/cond_and_loop.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/fib2.ir b/examples/ir4/fib2.ir index 04ee26d..8ea221b 100644 --- a/examples/ir4/fib2.ir +++ b/examples/ir4/fib2.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -25,7 +25,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/fib3.ir b/examples/ir4/fib3.ir index e36bb46..974f701 100644 --- a/examples/ir4/fib3.ir +++ b/examples/ir4/fib3.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b9: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/fib4.ir b/examples/ir4/fib4.ir index 49cfcb2..f09492d 100644 --- a/examples/ir4/fib4.ir +++ b/examples/ir4/fib4.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/fib5.ir b/examples/ir4/fib5.ir index f61fe34..66e2566 100644 --- a/examples/ir4/fib5.ir +++ b/examples/ir4/fib5.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -32,7 +32,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/fibonacci.ir b/examples/ir4/fibonacci.ir index b570e53..9b24722 100644 --- a/examples/ir4/fibonacci.ir +++ b/examples/ir4/fibonacci.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -26,7 +26,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/float.ir b/examples/ir4/float.ir index 357b96d..3898b71 100644 --- a/examples/ir4/float.ir +++ b/examples/ir4/float.ir @@ -2,7 +2,7 @@ fun f64 @average (i32, i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b5: fun f64 @custom_abs (f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -59,7 +59,7 @@ block b3: fun f64 @custom_max (f64, f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -82,7 +82,7 @@ block b3: fun i32 @is_close (f64, f64, f64, f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -105,7 +105,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/ir4/float2.ir b/examples/ir4/float2.ir index d8765fd..8b00e25 100644 --- a/examples/ir4/float2.ir +++ b/examples/ir4/float2.ir @@ -2,7 +2,7 @@ fun f64 @func_0 () { init: bid: b0 - allocations: + allocations: block b0: @@ -82,7 +82,7 @@ block b0: fun f32 @func_1 () { init: bid: b0 - allocations: + allocations: block b0: @@ -163,7 +163,7 @@ block b0: fun f32 @func_10 () { init: bid: b0 - allocations: + allocations: block b0: @@ -240,7 +240,7 @@ block b0: fun f64 @func_11 () { init: bid: b0 - allocations: + allocations: block b0: @@ -313,7 +313,7 @@ block b0: fun f64 @func_12 () { init: bid: b0 - allocations: + allocations: block b0: @@ -387,7 +387,7 @@ block b0: fun f32 @func_13 () { init: bid: b0 - allocations: + allocations: block b0: @@ -456,7 +456,7 @@ block b0: fun f32 @func_14 () { init: bid: b0 - allocations: + allocations: block b0: @@ -537,7 +537,7 @@ block b0: fun f32 @func_15 () { init: bid: b0 - allocations: + allocations: block b0: @@ -618,7 +618,7 @@ block b0: fun f64 @func_16 () { init: bid: b0 - allocations: + allocations: block b0: @@ -700,7 +700,7 @@ block b0: fun f64 @func_17 () { init: bid: b0 - allocations: + allocations: block b0: @@ -775,7 +775,7 @@ block b0: fun f32 @func_18 () { init: bid: b0 - allocations: + allocations: block b0: @@ -853,7 +853,7 @@ block b0: fun f32 @func_19 () { init: bid: b0 - allocations: + allocations: block b0: @@ -927,7 +927,7 @@ block b0: fun f64 @func_2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1010,7 +1010,7 @@ block b0: fun f32 @func_20 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1084,7 +1084,7 @@ block b0: fun f32 @func_21 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1155,7 +1155,7 @@ block b0: fun f64 @func_22 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1243,7 +1243,7 @@ block b0: fun f32 @func_23 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1318,7 +1318,7 @@ block b0: fun f64 @func_24 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1392,7 +1392,7 @@ block b0: fun f32 @func_25 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1473,7 +1473,7 @@ block b0: fun f32 @func_26 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1553,7 +1553,7 @@ block b0: fun f64 @func_27 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1629,7 +1629,7 @@ block b0: fun f32 @func_28 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1708,7 +1708,7 @@ block b0: fun f32 @func_29 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1786,7 +1786,7 @@ block b0: fun f64 @func_3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1861,7 +1861,7 @@ block b0: fun f64 @func_30 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1934,7 +1934,7 @@ block b0: fun f64 @func_31 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2021,7 +2021,7 @@ block b0: fun f64 @func_32 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2096,7 +2096,7 @@ block b0: fun f64 @func_33 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2172,7 +2172,7 @@ block b0: fun f64 @func_34 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2245,7 +2245,7 @@ block b0: fun f32 @func_35 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2323,7 +2323,7 @@ block b0: fun f32 @func_36 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2405,7 +2405,7 @@ block b0: fun f64 @func_37 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2480,7 +2480,7 @@ block b0: fun f32 @func_38 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2554,7 +2554,7 @@ block b0: fun f64 @func_39 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2627,7 +2627,7 @@ block b0: fun f64 @func_4 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2700,7 +2700,7 @@ block b0: fun f32 @func_40 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2775,7 +2775,7 @@ block b0: fun f64 @func_41 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2848,7 +2848,7 @@ block b0: fun f64 @func_42 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2926,7 +2926,7 @@ block b0: fun f32 @func_43 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3007,7 +3007,7 @@ block b0: fun f32 @func_44 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3092,7 +3092,7 @@ block b0: fun f32 @func_45 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3173,7 +3173,7 @@ block b0: fun f32 @func_46 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3245,7 +3245,7 @@ block b0: fun f64 @func_47 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3321,7 +3321,7 @@ block b0: fun f32 @func_48 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3394,7 +3394,7 @@ block b0: fun f64 @func_49 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3466,7 +3466,7 @@ block b0: fun f32 @func_5 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3546,7 +3546,7 @@ block b0: fun f32 @func_50 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3622,7 +3622,7 @@ block b0: fun f64 @func_51 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3690,7 +3690,7 @@ block b0: fun f64 @func_52 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3766,7 +3766,7 @@ block b0: fun f64 @func_53 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3850,7 +3850,7 @@ block b0: fun f32 @func_54 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3931,7 +3931,7 @@ block b0: fun f64 @func_55 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4002,7 +4002,7 @@ block b0: fun f64 @func_56 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4077,7 +4077,7 @@ block b0: fun f32 @func_57 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4159,7 +4159,7 @@ block b0: fun f64 @func_58 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4237,7 +4237,7 @@ block b0: fun f64 @func_59 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4318,7 +4318,7 @@ block b0: fun f64 @func_6 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4393,7 +4393,7 @@ block b0: fun f64 @func_60 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4467,7 +4467,7 @@ block b0: fun f64 @func_61 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4549,7 +4549,7 @@ block b0: fun f64 @func_62 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4626,7 +4626,7 @@ block b0: fun f32 @func_63 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4702,7 +4702,7 @@ block b0: fun f64 @func_64 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4776,7 +4776,7 @@ block b0: fun f32 @func_65 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4849,7 +4849,7 @@ block b0: fun f64 @func_66 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4920,7 +4920,7 @@ block b0: fun f32 @func_67 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4998,7 +4998,7 @@ block b0: fun f32 @func_68 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5077,7 +5077,7 @@ block b0: fun f64 @func_69 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5158,7 +5158,7 @@ block b0: fun f64 @func_7 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5237,7 +5237,7 @@ block b0: fun f32 @func_70 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5314,7 +5314,7 @@ block b0: fun f64 @func_71 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5392,7 +5392,7 @@ block b0: fun f64 @func_72 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5470,7 +5470,7 @@ block b0: fun f32 @func_73 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5546,7 +5546,7 @@ block b0: fun f64 @func_74 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5619,7 +5619,7 @@ block b0: fun f32 @func_75 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5695,7 +5695,7 @@ block b0: fun f64 @func_76 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5761,7 +5761,7 @@ block b0: fun f64 @func_77 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5836,7 +5836,7 @@ block b0: fun f32 @func_78 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5908,7 +5908,7 @@ block b0: fun f32 @func_79 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5989,7 +5989,7 @@ block b0: fun f64 @func_8 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6065,7 +6065,7 @@ block b0: fun f32 @func_80 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6133,7 +6133,7 @@ block b0: fun f64 @func_81 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6211,7 +6211,7 @@ block b0: fun f64 @func_82 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6293,7 +6293,7 @@ block b0: fun f64 @func_83 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6372,7 +6372,7 @@ block b0: fun f32 @func_84 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6449,7 +6449,7 @@ block b0: fun f64 @func_85 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6527,7 +6527,7 @@ block b0: fun f32 @func_86 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6604,7 +6604,7 @@ block b0: fun f64 @func_87 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6680,7 +6680,7 @@ block b0: fun f32 @func_88 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6758,7 +6758,7 @@ block b0: fun f32 @func_89 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6833,7 +6833,7 @@ block b0: fun f32 @func_9 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6914,7 +6914,7 @@ block b0: fun f64 @func_90 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7005,7 +7005,7 @@ block b0: fun f32 @func_91 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7080,7 +7080,7 @@ block b0: fun f32 @func_92 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7153,7 +7153,7 @@ block b0: fun f64 @func_93 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7228,7 +7228,7 @@ block b0: fun f64 @func_94 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7304,7 +7304,7 @@ block b0: fun f32 @func_95 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7382,7 +7382,7 @@ block b0: fun f32 @func_96 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7465,7 +7465,7 @@ block b0: fun f32 @func_97 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7544,7 +7544,7 @@ block b0: fun f64 @func_98 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7623,7 +7623,7 @@ block b0: fun f32 @func_99 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7689,7 +7689,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/foo.ir b/examples/ir4/foo.ir index d802871..e6c34c6 100644 --- a/examples/ir4/foo.ir +++ b/examples/ir4/foo.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -22,7 +22,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/foo2.ir b/examples/ir4/foo2.ir index 3621b5d..52f191c 100644 --- a/examples/ir4/foo2.ir +++ b/examples/ir4/foo2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/foo3.ir b/examples/ir4/foo3.ir index 41cd8a5..c1c71fb 100644 --- a/examples/ir4/foo3.ir +++ b/examples/ir4/foo3.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun i32 @foo (i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -19,7 +19,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/foo4.ir b/examples/ir4/foo4.ir index 70745af..53111d5 100644 --- a/examples/ir4/foo4.ir +++ b/examples/ir4/foo4.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -17,7 +17,7 @@ block b0: fun [ret:i32 params:(i32, i32, i32)]* @foo2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -27,7 +27,7 @@ block b0: fun [ret:[ret:i32 params:(i32, i32, i32)]* params:()]* @foo3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -37,7 +37,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/for_continue_break.ir b/examples/ir4/for_continue_break.ir index 139cf9c..57ef1a1 100644 --- a/examples/ir4/for_continue_break.ir +++ b/examples/ir4/for_continue_break.ir @@ -2,7 +2,7 @@ fun i32 @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -34,7 +34,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/gcd.ir b/examples/ir4/gcd.ir index 6cd9bb9..e713962 100644 --- a/examples/ir4/gcd.ir +++ b/examples/ir4/gcd.ir @@ -2,7 +2,7 @@ fun i32 @gcd (i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -59,7 +59,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/hello_main.ir b/examples/ir4/hello_main.ir index 9adaea1..2585836 100644 --- a/examples/ir4/hello_main.ir +++ b/examples/ir4/hello_main.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/integer_literal.ir b/examples/ir4/integer_literal.ir index 77b639c..78b9ffc 100644 --- a/examples/ir4/integer_literal.ir +++ b/examples/ir4/integer_literal.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/integer_literal2.ir b/examples/ir4/integer_literal2.ir index c13d94f..6bfb82d 100644 --- a/examples/ir4/integer_literal2.ir +++ b/examples/ir4/integer_literal2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/logical_op.ir b/examples/ir4/logical_op.ir index 1af75bb..42f2ac6 100644 --- a/examples/ir4/logical_op.ir +++ b/examples/ir4/logical_op.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/lost_copy.ir b/examples/ir4/lost_copy.ir index 1cffe8e..90fbef4 100644 --- a/examples/ir4/lost_copy.ir +++ b/examples/ir4/lost_copy.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/minus_constant.ir b/examples/ir4/minus_constant.ir index 38a9055..d2e0be1 100644 --- a/examples/ir4/minus_constant.ir +++ b/examples/ir4/minus_constant.ir @@ -6,7 +6,7 @@ var f64 @d = -(1.5) fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/negate.ir b/examples/ir4/negate.ir index a0848c3..1721c35 100644 --- a/examples/ir4/negate.ir +++ b/examples/ir4/negate.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -23,7 +23,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/pointer.ir b/examples/ir4/pointer.ir index b9aed3f..c53ead1 100644 --- a/examples/ir4/pointer.ir +++ b/examples/ir4/pointer.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -13,7 +13,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a %l1:i32*:p diff --git a/examples/ir4/return_void.ir b/examples/ir4/return_void.ir index 70623bb..4096ceb 100644 --- a/examples/ir4/return_void.ir +++ b/examples/ir4/return_void.ir @@ -2,7 +2,7 @@ fun unit @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -12,7 +12,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/shift.ir b/examples/ir4/shift.ir index a2f66a4..a05802d 100644 --- a/examples/ir4/shift.ir +++ b/examples/ir4/shift.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/side_effect.ir b/examples/ir4/side_effect.ir index 43137cc..1462164 100644 --- a/examples/ir4/side_effect.ir +++ b/examples/ir4/side_effect.ir @@ -3,7 +3,7 @@ var i32 @g = 0 fun i32* @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -16,7 +16,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/simple.ir b/examples/ir4/simple.ir index d85f2be..2a95ac0 100644 --- a/examples/ir4/simple.ir +++ b/examples/ir4/simple.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/simple_cond.ir b/examples/ir4/simple_cond.ir index 7dc642b..2c2d072 100644 --- a/examples/ir4/simple_cond.ir +++ b/examples/ir4/simple_cond.ir @@ -2,7 +2,7 @@ fun i32 @f (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -14,7 +14,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/simple_for.ir b/examples/ir4/simple_for.ir index b6c48ca..8f67148 100644 --- a/examples/ir4/simple_for.ir +++ b/examples/ir4/simple_for.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/simple_if.ir b/examples/ir4/simple_if.ir index 475a71f..3a5a60f 100644 --- a/examples/ir4/simple_if.ir +++ b/examples/ir4/simple_if.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -27,7 +27,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/sizeof.ir b/examples/ir4/sizeof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/ir4/sizeof.ir +++ b/examples/ir4/sizeof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/sizeof2.ir b/examples/ir4/sizeof2.ir index 01ac869..86190e8 100644 --- a/examples/ir4/sizeof2.ir +++ b/examples/ir4/sizeof2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/sizeof3.ir b/examples/ir4/sizeof3.ir index 6b0fb62..1f0f74c 100644 --- a/examples/ir4/sizeof3.ir +++ b/examples/ir4/sizeof3.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/sizeof4.ir b/examples/ir4/sizeof4.ir index 10560d5..6e4c6d2 100644 --- a/examples/ir4/sizeof4.ir +++ b/examples/ir4/sizeof4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/struct.ir b/examples/ir4/struct.ir index 651acd7..e6683e5 100644 --- a/examples/ir4/struct.ir +++ b/examples/ir4/struct.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:f64 } fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: block b0: @@ -50,7 +50,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct %t1:temp %l1:struct %t1:temp2 diff --git a/examples/ir4/struct2.ir b/examples/ir4/struct2.ir index d1c1273..5127b39 100644 --- a/examples/ir4/struct2.ir +++ b/examples/ir4/struct2.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:i64 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:const struct %t1:temp %l1:struct %t1:temp2 diff --git a/examples/ir4/struct3.ir b/examples/ir4/struct3.ir index a5ba47a..5c4da09 100644 --- a/examples/ir4/struct3.ir +++ b/examples/ir4/struct3.ir @@ -4,7 +4,7 @@ struct Sub : { m1:i64, m2:i64, m3:i64, m4:i64 } fun struct Big @foo (struct Big) { init: bid: b0 - allocations: + allocations: %l0:struct Big:r block b0: @@ -21,7 +21,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Big:a %l1:struct Big:r diff --git a/examples/ir4/struct4.ir b/examples/ir4/struct4.ir index 324b374..bda5b7e 100644 --- a/examples/ir4/struct4.ir +++ b/examples/ir4/struct4.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun struct Foo @f () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:x block b0: @@ -18,7 +18,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:t0 block b0: diff --git a/examples/ir4/swap.ir b/examples/ir4/swap.ir index 4648e11..dc79743 100644 --- a/examples/ir4/swap.ir +++ b/examples/ir4/swap.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/switch-in-loop.ir b/examples/ir4/switch-in-loop.ir index 99a0158..f224245 100644 --- a/examples/ir4/switch-in-loop.ir +++ b/examples/ir4/switch-in-loop.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/switch.ir b/examples/ir4/switch.ir index 4d11c9f..0a30e7d 100644 --- a/examples/ir4/switch.ir +++ b/examples/ir4/switch.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/temp.ir b/examples/ir4/temp.ir index b2487b1..08b7f1c 100644 --- a/examples/ir4/temp.ir +++ b/examples/ir4/temp.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -21,7 +21,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/temp2.ir b/examples/ir4/temp2.ir index 0a92a06..58a1732 100644 --- a/examples/ir4/temp2.ir +++ b/examples/ir4/temp2.ir @@ -3,7 +3,7 @@ struct color : { number:i32, name:i8 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct color:c block b0: diff --git a/examples/ir4/test.ir b/examples/ir4/test.ir index e5ef0f2..ce14358 100644 --- a/examples/ir4/test.ir +++ b/examples/ir4/test.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/typecast.ir b/examples/ir4/typecast.ir index bb01078..d06da07 100644 --- a/examples/ir4/typecast.ir +++ b/examples/ir4/typecast.ir @@ -3,7 +3,7 @@ var i8 @temp = 0x00l fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/typedef.ir b/examples/ir4/typedef.ir index 6c1cc9b..8200cef 100644 --- a/examples/ir4/typedef.ir +++ b/examples/ir4/typedef.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a block b0: diff --git a/examples/ir4/unary.ir b/examples/ir4/unary.ir index e3cf67e..22f8129 100644 --- a/examples/ir4/unary.ir +++ b/examples/ir4/unary.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/ir4/while_continue_break.ir b/examples/ir4/while_continue_break.ir index 1f49e5c..ecb750c 100644 --- a/examples/ir4/while_continue_break.ir +++ b/examples/ir4/while_continue_break.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -40,7 +40,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/alignof.ir b/examples/opt/alignof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/opt/alignof.ir +++ b/examples/opt/alignof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/array.ir b/examples/opt/array.ir index 4430248..00d0c80 100644 --- a/examples/opt/array.ir +++ b/examples/opt/array.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a block b0: @@ -33,7 +33,7 @@ block b5: fun i32 @sum (i32, i32*) { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/array2.ir b/examples/opt/array2.ir index 9d2c286..5fe367a 100644 --- a/examples/opt/array2.ir +++ b/examples/opt/array2.ir @@ -2,7 +2,7 @@ fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: block b0: @@ -45,7 +45,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[4 x [5 x i32]]:a block b0: diff --git a/examples/opt/array3.ir b/examples/opt/array3.ir index ef1c005..55a65ca 100644 --- a/examples/opt/array3.ir +++ b/examples/opt/array3.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -13,7 +13,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/opt/array4.ir b/examples/opt/array4.ir index 0315dd7..df21aa7 100644 --- a/examples/opt/array4.ir +++ b/examples/opt/array4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/opt/array5.ir b/examples/opt/array5.ir index e6eb04e..fe329b0 100644 --- a/examples/opt/array5.ir +++ b/examples/opt/array5.ir @@ -3,7 +3,7 @@ var [5 x i32] @g_a = {1, 2, 3} fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[5 x i32]:a block b0: diff --git a/examples/opt/bar.ir b/examples/opt/bar.ir index 5e2cbe0..35a7d22 100644 --- a/examples/opt/bar.ir +++ b/examples/opt/bar.ir @@ -2,7 +2,7 @@ fun i32 @bar (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -22,7 +22,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/bitwise.ir b/examples/opt/bitwise.ir index 0e680ea..52f88a1 100644 --- a/examples/opt/bitwise.ir +++ b/examples/opt/bitwise.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/cmp.ir b/examples/opt/cmp.ir index d45b6ce..fcc8519 100644 --- a/examples/opt/cmp.ir +++ b/examples/opt/cmp.ir @@ -2,7 +2,7 @@ fun i32 @char_greater_than (i8, u8) { init: bid: b0 - allocations: + allocations: block b0: @@ -23,7 +23,7 @@ block b2: fun i32 @int_greater_than (i32, u32) { init: bid: b0 - allocations: + allocations: block b0: @@ -43,7 +43,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/comma.ir b/examples/opt/comma.ir index 54a9d6f..759627a 100644 --- a/examples/opt/comma.ir +++ b/examples/opt/comma.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/complement.ir b/examples/opt/complement.ir index 1518125..888be64 100644 --- a/examples/opt/complement.ir +++ b/examples/opt/complement.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/complete_cond.ir b/examples/opt/complete_cond.ir index 973ccef..cd3b612 100644 --- a/examples/opt/complete_cond.ir +++ b/examples/opt/complete_cond.ir @@ -2,7 +2,7 @@ fun i32 @func_0 () { init: bid: b0 - allocations: + allocations: block b0: @@ -79,7 +79,7 @@ block b39: fun i32 @func_1 () { init: bid: b0 - allocations: + allocations: block b0: @@ -150,7 +150,7 @@ block b39: fun i32 @func_10 () { init: bid: b0 - allocations: + allocations: block b0: @@ -186,7 +186,7 @@ block b33: fun i32 @func_11 () { init: bid: b0 - allocations: + allocations: block b0: @@ -251,7 +251,7 @@ block b36: fun i32 @func_12 () { init: bid: b0 - allocations: + allocations: block b0: @@ -301,7 +301,7 @@ block b27: fun i32 @func_13 () { init: bid: b0 - allocations: + allocations: block b0: @@ -371,7 +371,7 @@ block b33: fun i32 @func_14 () { init: bid: b0 - allocations: + allocations: block b0: @@ -434,7 +434,7 @@ block b36: fun i32 @func_15 () { init: bid: b0 - allocations: + allocations: block b0: @@ -504,7 +504,7 @@ block b39: fun i32 @func_16 () { init: bid: b0 - allocations: + allocations: block b0: @@ -543,7 +543,7 @@ block b21: fun i32 @func_17 () { init: bid: b0 - allocations: + allocations: block b0: @@ -618,7 +618,7 @@ block b36: fun i32 @func_18 () { init: bid: b0 - allocations: + allocations: block b0: @@ -683,7 +683,7 @@ block b39: fun i32 @func_19 () { init: bid: b0 - allocations: + allocations: block b0: @@ -740,7 +740,7 @@ block b24: fun i32 @func_2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -803,7 +803,7 @@ block b39: fun i32 @func_20 () { init: bid: b0 - allocations: + allocations: block b0: @@ -880,7 +880,7 @@ block b39: fun i32 @func_21 () { init: bid: b0 - allocations: + allocations: block b0: @@ -940,7 +940,7 @@ block b27: fun i32 @func_22 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1001,7 +1001,7 @@ block b39: fun i32 @func_23 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1073,7 +1073,7 @@ block b39: fun i32 @func_24 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1150,7 +1150,7 @@ block b39: fun i32 @func_25 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1220,7 +1220,7 @@ block b36: fun i32 @func_26 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1271,7 +1271,7 @@ block b39: fun i32 @func_27 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1349,7 +1349,7 @@ block b39: fun i32 @func_28 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1436,7 +1436,7 @@ block b39: fun i32 @func_29 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1513,7 +1513,7 @@ block b39: fun i32 @func_3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1562,7 +1562,7 @@ block b39: fun i32 @func_30 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1631,7 +1631,7 @@ block b36: fun i32 @func_31 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1688,7 +1688,7 @@ block b39: fun i32 @func_32 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1751,7 +1751,7 @@ block b36: fun i32 @func_33 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1807,7 +1807,7 @@ block b27: fun i32 @func_34 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1861,7 +1861,7 @@ block b27: fun i32 @func_35 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1945,7 +1945,7 @@ block b36: fun i32 @func_36 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2001,7 +2001,7 @@ block b39: fun i32 @func_37 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2057,7 +2057,7 @@ block b36: fun i32 @func_38 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2122,7 +2122,7 @@ block b33: fun i32 @func_39 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2184,7 +2184,7 @@ block b36: fun i32 @func_4 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2249,7 +2249,7 @@ block b27: fun i32 @func_40 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2342,7 +2342,7 @@ block b39: fun i32 @func_41 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2415,7 +2415,7 @@ block b39: fun i32 @func_42 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2491,7 +2491,7 @@ block b39: fun i32 @func_43 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2560,7 +2560,7 @@ block b30: fun i32 @func_44 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2625,7 +2625,7 @@ block b30: fun i32 @func_45 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2660,7 +2660,7 @@ block b12: fun i32 @func_46 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2709,7 +2709,7 @@ block b27: fun i32 @func_47 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2759,7 +2759,7 @@ block b36: fun i32 @func_48 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2827,7 +2827,7 @@ block b39: fun i32 @func_49 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2899,7 +2899,7 @@ block b36: fun i32 @func_5 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2974,7 +2974,7 @@ block b39: fun i32 @func_50 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3028,7 +3028,7 @@ block b27: fun i32 @func_51 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3097,7 +3097,7 @@ block b39: fun i32 @func_52 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3159,7 +3159,7 @@ block b39: fun i32 @func_53 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3233,7 +3233,7 @@ block b39: fun i32 @func_54 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3303,7 +3303,7 @@ block b39: fun i32 @func_55 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3374,7 +3374,7 @@ block b39: fun i32 @func_56 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3444,7 +3444,7 @@ block b39: fun i32 @func_57 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3534,7 +3534,7 @@ block b39: fun i32 @func_58 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3571,7 +3571,7 @@ block b24: fun i32 @func_59 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3621,7 +3621,7 @@ block b36: fun i32 @func_6 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3691,7 +3691,7 @@ block b36: fun i32 @func_60 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3740,7 +3740,7 @@ block b24: fun i32 @func_61 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3777,7 +3777,7 @@ block b39: fun i32 @func_62 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3846,7 +3846,7 @@ block b36: fun i32 @func_63 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3911,7 +3911,7 @@ block b36: fun i32 @func_64 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3964,7 +3964,7 @@ block b36: fun i32 @func_65 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4033,7 +4033,7 @@ block b39: fun i32 @func_66 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4122,7 +4122,7 @@ block b39: fun i32 @func_67 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4171,7 +4171,7 @@ block b39: fun i32 @func_68 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4228,7 +4228,7 @@ block b27: fun i32 @func_69 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4302,7 +4302,7 @@ block b36: fun i32 @func_7 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4368,7 +4368,7 @@ block b36: fun i32 @func_70 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4411,7 +4411,7 @@ block b39: fun i32 @func_71 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4482,7 +4482,7 @@ block b36: fun i32 @func_72 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4553,7 +4553,7 @@ block b36: fun i32 @func_73 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4615,7 +4615,7 @@ block b33: fun i32 @func_74 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4680,7 +4680,7 @@ block b33: fun i32 @func_75 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4744,7 +4744,7 @@ block b39: fun i32 @func_76 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4812,7 +4812,7 @@ block b39: fun i32 @func_77 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4879,7 +4879,7 @@ block b39: fun i32 @func_78 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4943,7 +4943,7 @@ block b39: fun i32 @func_79 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5001,7 +5001,7 @@ block b39: fun i32 @func_8 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5064,7 +5064,7 @@ block b36: fun i32 @func_80 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5152,7 +5152,7 @@ block b39: fun i32 @func_81 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5212,7 +5212,7 @@ block b39: fun i32 @func_82 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5268,7 +5268,7 @@ block b39: fun i32 @func_83 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5336,7 +5336,7 @@ block b39: fun i32 @func_84 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5385,7 +5385,7 @@ block b39: fun i32 @func_85 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5464,7 +5464,7 @@ block b39: fun i32 @func_86 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5526,7 +5526,7 @@ block b27: fun i32 @func_87 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5569,7 +5569,7 @@ block b27: fun i32 @func_88 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5644,7 +5644,7 @@ block b39: fun i32 @func_89 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5726,7 +5726,7 @@ block b36: fun i32 @func_9 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5764,7 +5764,7 @@ block b39: fun i32 @func_90 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5849,7 +5849,7 @@ block b39: fun i32 @func_91 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5922,7 +5922,7 @@ block b33: fun i32 @func_92 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5984,7 +5984,7 @@ block b39: fun i32 @func_93 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6058,7 +6058,7 @@ block b39: fun i32 @func_94 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6135,7 +6135,7 @@ block b39: fun i32 @func_95 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6197,7 +6197,7 @@ block b39: fun i32 @func_96 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6279,7 +6279,7 @@ block b39: fun i32 @func_97 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6346,7 +6346,7 @@ block b39: fun i32 @func_98 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6407,7 +6407,7 @@ block b24: fun i32 @func_99 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6473,7 +6473,7 @@ block b30: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/cond.ir b/examples/opt/cond.ir index 912a94f..cfa9c0f 100644 --- a/examples/opt/cond.ir +++ b/examples/opt/cond.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/cond_and_loop.ir b/examples/opt/cond_and_loop.ir index c23dfeb..c5cf8ec 100644 --- a/examples/opt/cond_and_loop.ir +++ b/examples/opt/cond_and_loop.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/fib2.ir b/examples/opt/fib2.ir index 04ee26d..8ea221b 100644 --- a/examples/opt/fib2.ir +++ b/examples/opt/fib2.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -25,7 +25,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/fib3.ir b/examples/opt/fib3.ir index 80ce414..77ceaf5 100644 --- a/examples/opt/fib3.ir +++ b/examples/opt/fib3.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -32,7 +32,7 @@ block b9: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/fib4.ir b/examples/opt/fib4.ir index 3d4b5bd..637cc50 100644 --- a/examples/opt/fib4.ir +++ b/examples/opt/fib4.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -32,7 +32,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/fib5.ir b/examples/opt/fib5.ir index 77e8022..81f6a03 100644 --- a/examples/opt/fib5.ir +++ b/examples/opt/fib5.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -29,7 +29,7 @@ block b7: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/fibonacci.ir b/examples/opt/fibonacci.ir index b570e53..9b24722 100644 --- a/examples/opt/fibonacci.ir +++ b/examples/opt/fibonacci.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -26,7 +26,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/float.ir b/examples/opt/float.ir index 67f3f2e..fa9af6a 100644 --- a/examples/opt/float.ir +++ b/examples/opt/float.ir @@ -2,7 +2,7 @@ fun f64 @average (i32, i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -35,7 +35,7 @@ block b5: fun f64 @custom_abs (f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -56,7 +56,7 @@ block b3: fun f64 @custom_max (f64, f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -73,7 +73,7 @@ block b3: fun i32 @is_close (f64, f64, f64, f64) { init: bid: b0 - allocations: + allocations: block b0: @@ -96,7 +96,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:[10 x i32]:a block b0: diff --git a/examples/opt/float2.ir b/examples/opt/float2.ir index d8765fd..8b00e25 100644 --- a/examples/opt/float2.ir +++ b/examples/opt/float2.ir @@ -2,7 +2,7 @@ fun f64 @func_0 () { init: bid: b0 - allocations: + allocations: block b0: @@ -82,7 +82,7 @@ block b0: fun f32 @func_1 () { init: bid: b0 - allocations: + allocations: block b0: @@ -163,7 +163,7 @@ block b0: fun f32 @func_10 () { init: bid: b0 - allocations: + allocations: block b0: @@ -240,7 +240,7 @@ block b0: fun f64 @func_11 () { init: bid: b0 - allocations: + allocations: block b0: @@ -313,7 +313,7 @@ block b0: fun f64 @func_12 () { init: bid: b0 - allocations: + allocations: block b0: @@ -387,7 +387,7 @@ block b0: fun f32 @func_13 () { init: bid: b0 - allocations: + allocations: block b0: @@ -456,7 +456,7 @@ block b0: fun f32 @func_14 () { init: bid: b0 - allocations: + allocations: block b0: @@ -537,7 +537,7 @@ block b0: fun f32 @func_15 () { init: bid: b0 - allocations: + allocations: block b0: @@ -618,7 +618,7 @@ block b0: fun f64 @func_16 () { init: bid: b0 - allocations: + allocations: block b0: @@ -700,7 +700,7 @@ block b0: fun f64 @func_17 () { init: bid: b0 - allocations: + allocations: block b0: @@ -775,7 +775,7 @@ block b0: fun f32 @func_18 () { init: bid: b0 - allocations: + allocations: block b0: @@ -853,7 +853,7 @@ block b0: fun f32 @func_19 () { init: bid: b0 - allocations: + allocations: block b0: @@ -927,7 +927,7 @@ block b0: fun f64 @func_2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1010,7 +1010,7 @@ block b0: fun f32 @func_20 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1084,7 +1084,7 @@ block b0: fun f32 @func_21 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1155,7 +1155,7 @@ block b0: fun f64 @func_22 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1243,7 +1243,7 @@ block b0: fun f32 @func_23 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1318,7 +1318,7 @@ block b0: fun f64 @func_24 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1392,7 +1392,7 @@ block b0: fun f32 @func_25 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1473,7 +1473,7 @@ block b0: fun f32 @func_26 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1553,7 +1553,7 @@ block b0: fun f64 @func_27 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1629,7 +1629,7 @@ block b0: fun f32 @func_28 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1708,7 +1708,7 @@ block b0: fun f32 @func_29 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1786,7 +1786,7 @@ block b0: fun f64 @func_3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1861,7 +1861,7 @@ block b0: fun f64 @func_30 () { init: bid: b0 - allocations: + allocations: block b0: @@ -1934,7 +1934,7 @@ block b0: fun f64 @func_31 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2021,7 +2021,7 @@ block b0: fun f64 @func_32 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2096,7 +2096,7 @@ block b0: fun f64 @func_33 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2172,7 +2172,7 @@ block b0: fun f64 @func_34 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2245,7 +2245,7 @@ block b0: fun f32 @func_35 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2323,7 +2323,7 @@ block b0: fun f32 @func_36 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2405,7 +2405,7 @@ block b0: fun f64 @func_37 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2480,7 +2480,7 @@ block b0: fun f32 @func_38 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2554,7 +2554,7 @@ block b0: fun f64 @func_39 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2627,7 +2627,7 @@ block b0: fun f64 @func_4 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2700,7 +2700,7 @@ block b0: fun f32 @func_40 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2775,7 +2775,7 @@ block b0: fun f64 @func_41 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2848,7 +2848,7 @@ block b0: fun f64 @func_42 () { init: bid: b0 - allocations: + allocations: block b0: @@ -2926,7 +2926,7 @@ block b0: fun f32 @func_43 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3007,7 +3007,7 @@ block b0: fun f32 @func_44 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3092,7 +3092,7 @@ block b0: fun f32 @func_45 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3173,7 +3173,7 @@ block b0: fun f32 @func_46 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3245,7 +3245,7 @@ block b0: fun f64 @func_47 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3321,7 +3321,7 @@ block b0: fun f32 @func_48 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3394,7 +3394,7 @@ block b0: fun f64 @func_49 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3466,7 +3466,7 @@ block b0: fun f32 @func_5 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3546,7 +3546,7 @@ block b0: fun f32 @func_50 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3622,7 +3622,7 @@ block b0: fun f64 @func_51 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3690,7 +3690,7 @@ block b0: fun f64 @func_52 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3766,7 +3766,7 @@ block b0: fun f64 @func_53 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3850,7 +3850,7 @@ block b0: fun f32 @func_54 () { init: bid: b0 - allocations: + allocations: block b0: @@ -3931,7 +3931,7 @@ block b0: fun f64 @func_55 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4002,7 +4002,7 @@ block b0: fun f64 @func_56 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4077,7 +4077,7 @@ block b0: fun f32 @func_57 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4159,7 +4159,7 @@ block b0: fun f64 @func_58 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4237,7 +4237,7 @@ block b0: fun f64 @func_59 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4318,7 +4318,7 @@ block b0: fun f64 @func_6 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4393,7 +4393,7 @@ block b0: fun f64 @func_60 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4467,7 +4467,7 @@ block b0: fun f64 @func_61 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4549,7 +4549,7 @@ block b0: fun f64 @func_62 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4626,7 +4626,7 @@ block b0: fun f32 @func_63 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4702,7 +4702,7 @@ block b0: fun f64 @func_64 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4776,7 +4776,7 @@ block b0: fun f32 @func_65 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4849,7 +4849,7 @@ block b0: fun f64 @func_66 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4920,7 +4920,7 @@ block b0: fun f32 @func_67 () { init: bid: b0 - allocations: + allocations: block b0: @@ -4998,7 +4998,7 @@ block b0: fun f32 @func_68 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5077,7 +5077,7 @@ block b0: fun f64 @func_69 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5158,7 +5158,7 @@ block b0: fun f64 @func_7 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5237,7 +5237,7 @@ block b0: fun f32 @func_70 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5314,7 +5314,7 @@ block b0: fun f64 @func_71 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5392,7 +5392,7 @@ block b0: fun f64 @func_72 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5470,7 +5470,7 @@ block b0: fun f32 @func_73 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5546,7 +5546,7 @@ block b0: fun f64 @func_74 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5619,7 +5619,7 @@ block b0: fun f32 @func_75 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5695,7 +5695,7 @@ block b0: fun f64 @func_76 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5761,7 +5761,7 @@ block b0: fun f64 @func_77 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5836,7 +5836,7 @@ block b0: fun f32 @func_78 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5908,7 +5908,7 @@ block b0: fun f32 @func_79 () { init: bid: b0 - allocations: + allocations: block b0: @@ -5989,7 +5989,7 @@ block b0: fun f64 @func_8 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6065,7 +6065,7 @@ block b0: fun f32 @func_80 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6133,7 +6133,7 @@ block b0: fun f64 @func_81 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6211,7 +6211,7 @@ block b0: fun f64 @func_82 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6293,7 +6293,7 @@ block b0: fun f64 @func_83 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6372,7 +6372,7 @@ block b0: fun f32 @func_84 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6449,7 +6449,7 @@ block b0: fun f64 @func_85 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6527,7 +6527,7 @@ block b0: fun f32 @func_86 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6604,7 +6604,7 @@ block b0: fun f64 @func_87 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6680,7 +6680,7 @@ block b0: fun f32 @func_88 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6758,7 +6758,7 @@ block b0: fun f32 @func_89 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6833,7 +6833,7 @@ block b0: fun f32 @func_9 () { init: bid: b0 - allocations: + allocations: block b0: @@ -6914,7 +6914,7 @@ block b0: fun f64 @func_90 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7005,7 +7005,7 @@ block b0: fun f32 @func_91 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7080,7 +7080,7 @@ block b0: fun f32 @func_92 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7153,7 +7153,7 @@ block b0: fun f64 @func_93 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7228,7 +7228,7 @@ block b0: fun f64 @func_94 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7304,7 +7304,7 @@ block b0: fun f32 @func_95 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7382,7 +7382,7 @@ block b0: fun f32 @func_96 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7465,7 +7465,7 @@ block b0: fun f32 @func_97 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7544,7 +7544,7 @@ block b0: fun f64 @func_98 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7623,7 +7623,7 @@ block b0: fun f32 @func_99 () { init: bid: b0 - allocations: + allocations: block b0: @@ -7689,7 +7689,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/foo.ir b/examples/opt/foo.ir index 93b4b00..7fe1e82 100644 --- a/examples/opt/foo.ir +++ b/examples/opt/foo.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -22,7 +22,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/foo2.ir b/examples/opt/foo2.ir index 3621b5d..52f191c 100644 --- a/examples/opt/foo2.ir +++ b/examples/opt/foo2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/foo3.ir b/examples/opt/foo3.ir index 41cd8a5..c1c71fb 100644 --- a/examples/opt/foo3.ir +++ b/examples/opt/foo3.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun i32 @foo (i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -19,7 +19,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/foo4.ir b/examples/opt/foo4.ir index 70745af..53111d5 100644 --- a/examples/opt/foo4.ir +++ b/examples/opt/foo4.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -17,7 +17,7 @@ block b0: fun [ret:i32 params:(i32, i32, i32)]* @foo2 () { init: bid: b0 - allocations: + allocations: block b0: @@ -27,7 +27,7 @@ block b0: fun [ret:[ret:i32 params:(i32, i32, i32)]* params:()]* @foo3 () { init: bid: b0 - allocations: + allocations: block b0: @@ -37,7 +37,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/for_continue_break.ir b/examples/opt/for_continue_break.ir index 139cf9c..57ef1a1 100644 --- a/examples/opt/for_continue_break.ir +++ b/examples/opt/for_continue_break.ir @@ -2,7 +2,7 @@ fun i32 @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -34,7 +34,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/gcd.ir b/examples/opt/gcd.ir index 059f752..70112ab 100644 --- a/examples/opt/gcd.ir +++ b/examples/opt/gcd.ir @@ -2,7 +2,7 @@ fun i32 @gcd (i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -53,7 +53,7 @@ block b11: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/hello_main.ir b/examples/opt/hello_main.ir index 9adaea1..2585836 100644 --- a/examples/opt/hello_main.ir +++ b/examples/opt/hello_main.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/integer_literal.ir b/examples/opt/integer_literal.ir index 77b639c..78b9ffc 100644 --- a/examples/opt/integer_literal.ir +++ b/examples/opt/integer_literal.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/integer_literal2.ir b/examples/opt/integer_literal2.ir index c13d94f..6bfb82d 100644 --- a/examples/opt/integer_literal2.ir +++ b/examples/opt/integer_literal2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/logical_op.ir b/examples/opt/logical_op.ir index c941c13..143bfbd 100644 --- a/examples/opt/logical_op.ir +++ b/examples/opt/logical_op.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/lost_copy.ir b/examples/opt/lost_copy.ir index 1cffe8e..90fbef4 100644 --- a/examples/opt/lost_copy.ir +++ b/examples/opt/lost_copy.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/minus_constant.ir b/examples/opt/minus_constant.ir index 38a9055..d2e0be1 100644 --- a/examples/opt/minus_constant.ir +++ b/examples/opt/minus_constant.ir @@ -6,7 +6,7 @@ var f64 @d = -(1.5) fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/negate.ir b/examples/opt/negate.ir index a0848c3..1721c35 100644 --- a/examples/opt/negate.ir +++ b/examples/opt/negate.ir @@ -2,7 +2,7 @@ fun i32 @foo (i32, i32, i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -23,7 +23,7 @@ block b2: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/pointer.ir b/examples/opt/pointer.ir index 15816a9..e717211 100644 --- a/examples/opt/pointer.ir +++ b/examples/opt/pointer.ir @@ -2,7 +2,7 @@ fun i32* @foo (i32*) { init: bid: b0 - allocations: + allocations: block b0: @@ -13,7 +13,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:i32:a block b0: diff --git a/examples/opt/return_void.ir b/examples/opt/return_void.ir index 70623bb..4096ceb 100644 --- a/examples/opt/return_void.ir +++ b/examples/opt/return_void.ir @@ -2,7 +2,7 @@ fun unit @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -12,7 +12,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/shift.ir b/examples/opt/shift.ir index 66d1b4c..6368a9e 100644 --- a/examples/opt/shift.ir +++ b/examples/opt/shift.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/side_effect.ir b/examples/opt/side_effect.ir index 43137cc..1462164 100644 --- a/examples/opt/side_effect.ir +++ b/examples/opt/side_effect.ir @@ -3,7 +3,7 @@ var i32 @g = 0 fun i32* @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -16,7 +16,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/simple.ir b/examples/opt/simple.ir index d85f2be..2a95ac0 100644 --- a/examples/opt/simple.ir +++ b/examples/opt/simple.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/simple_cond.ir b/examples/opt/simple_cond.ir index 9d6cef1..49fe3f6 100644 --- a/examples/opt/simple_cond.ir +++ b/examples/opt/simple_cond.ir @@ -2,7 +2,7 @@ fun i32 @f (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -14,7 +14,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/simple_for.ir b/examples/opt/simple_for.ir index b6c48ca..8f67148 100644 --- a/examples/opt/simple_for.ir +++ b/examples/opt/simple_for.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/simple_if.ir b/examples/opt/simple_if.ir index 475a71f..3a5a60f 100644 --- a/examples/opt/simple_if.ir +++ b/examples/opt/simple_if.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -27,7 +27,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/sizeof.ir b/examples/opt/sizeof.ir index 1d15a8c..e6ca32b 100644 --- a/examples/opt/sizeof.ir +++ b/examples/opt/sizeof.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/sizeof2.ir b/examples/opt/sizeof2.ir index 838ae03..166e8ec 100644 --- a/examples/opt/sizeof2.ir +++ b/examples/opt/sizeof2.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/sizeof3.ir b/examples/opt/sizeof3.ir index 6b0fb62..1f0f74c 100644 --- a/examples/opt/sizeof3.ir +++ b/examples/opt/sizeof3.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/sizeof4.ir b/examples/opt/sizeof4.ir index 10560d5..6e4c6d2 100644 --- a/examples/opt/sizeof4.ir +++ b/examples/opt/sizeof4.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/struct.ir b/examples/opt/struct.ir index 034b36e..0fa7f15 100644 --- a/examples/opt/struct.ir +++ b/examples/opt/struct.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:f64 } fun unit @init (i32, i32, [5 x i32]*) { init: bid: b0 - allocations: + allocations: block b0: @@ -47,7 +47,7 @@ block b10: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct %t1:temp %l1:struct %t1:temp2 diff --git a/examples/opt/struct2.ir b/examples/opt/struct2.ir index d1c1273..5127b39 100644 --- a/examples/opt/struct2.ir +++ b/examples/opt/struct2.ir @@ -4,7 +4,7 @@ struct %t1 : { a:i8, %anon:struct %t0, c:i64 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:const struct %t1:temp %l1:struct %t1:temp2 diff --git a/examples/opt/struct3.ir b/examples/opt/struct3.ir index d32e8bd..dcc7921 100644 --- a/examples/opt/struct3.ir +++ b/examples/opt/struct3.ir @@ -4,7 +4,7 @@ struct Sub : { m1:i64, m2:i64, m3:i64, m4:i64 } fun struct Big @foo (struct Big) { init: bid: b0 - allocations: + allocations: %l0:struct Big:r block b0: @@ -21,7 +21,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Big:a %l1:struct Big:r diff --git a/examples/opt/struct4.ir b/examples/opt/struct4.ir index 324b374..bda5b7e 100644 --- a/examples/opt/struct4.ir +++ b/examples/opt/struct4.ir @@ -4,7 +4,7 @@ var i32 @nonce = 1 fun struct Foo @f () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:x block b0: @@ -18,7 +18,7 @@ block b0: fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct Foo:t0 block b0: diff --git a/examples/opt/swap.ir b/examples/opt/swap.ir index 4648e11..dc79743 100644 --- a/examples/opt/swap.ir +++ b/examples/opt/swap.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/switch-in-loop.ir b/examples/opt/switch-in-loop.ir index 99a0158..f224245 100644 --- a/examples/opt/switch-in-loop.ir +++ b/examples/opt/switch-in-loop.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/switch.ir b/examples/opt/switch.ir index d03e48c..7a1abf9 100644 --- a/examples/opt/switch.ir +++ b/examples/opt/switch.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/temp.ir b/examples/opt/temp.ir index b2487b1..08b7f1c 100644 --- a/examples/opt/temp.ir +++ b/examples/opt/temp.ir @@ -2,7 +2,7 @@ fun i32 @fibonacci (i32) { init: bid: b0 - allocations: + allocations: block b0: @@ -21,7 +21,7 @@ block b3: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/temp2.ir b/examples/opt/temp2.ir index 22bad4c..dd65c67 100644 --- a/examples/opt/temp2.ir +++ b/examples/opt/temp2.ir @@ -3,7 +3,7 @@ struct color : { number:i32, name:i8 } fun i32 @main () { init: bid: b0 - allocations: + allocations: %l0:struct color:c block b0: diff --git a/examples/opt/test.ir b/examples/opt/test.ir index e5ef0f2..ce14358 100644 --- a/examples/opt/test.ir +++ b/examples/opt/test.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/typecast.ir b/examples/opt/typecast.ir index bb01078..d06da07 100644 --- a/examples/opt/typecast.ir +++ b/examples/opt/typecast.ir @@ -3,7 +3,7 @@ var i8 @temp = 0x00l fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/typedef.ir b/examples/opt/typedef.ir index 9adaea1..2585836 100644 --- a/examples/opt/typedef.ir +++ b/examples/opt/typedef.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/unary.ir b/examples/opt/unary.ir index e3cf67e..22f8129 100644 --- a/examples/opt/unary.ir +++ b/examples/opt/unary.ir @@ -2,7 +2,7 @@ fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/examples/opt/while_continue_break.ir b/examples/opt/while_continue_break.ir index 1f49e5c..ecb750c 100644 --- a/examples/opt/while_continue_break.ir +++ b/examples/opt/while_continue_break.ir @@ -3,7 +3,7 @@ var i32 @nonce = 1 fun i32 @foo () { init: bid: b0 - allocations: + allocations: block b0: @@ -40,7 +40,7 @@ block b5: fun i32 @main () { init: bid: b0 - allocations: + allocations: block b0: diff --git a/src/ir/write_ir.rs b/src/ir/write_ir.rs index 482c05b..f025e5a 100644 --- a/src/ir/write_ir.rs +++ b/src/ir/write_ir.rs @@ -84,7 +84,7 @@ impl WriteLine for (&String, &Declaration) { // print meta data for function writeln!( write, - "init:\n bid: {}\n allocations: \n{}", + "init:\n bid: {}\n allocations:\n{}", definition.bid_init, definition .allocations diff --git a/tests/.gitignore b/tests/.gitignore index 6dfbd0f..a2d24f8 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -3,3 +3,4 @@ /test*.c /reduce-criteria.sh /creduce_bug_* +__pycache__ diff --git a/tests/test_examples.rs b/tests/test_examples.rs index 92cc485..6127042 100644 --- a/tests/test_examples.rs +++ b/tests/test_examples.rs @@ -61,7 +61,7 @@ const IRGEN_SMALL_TEST_IGNORE_LIST: [&str; 12] = [ ]; // TODO: Enable this test next semester. -const IRGEN_FULL_TEST_IGNORE_LIST: [&str; 1] = ["examples/c/side-effect.c"]; +const IRGEN_FULL_TEST_IGNORE_LIST: [&str; 1] = ["examples/c/side_effect.c"]; const ASMGEN_TEST_DIR_LIST: [&str; 5] = [ "examples/ir0",