This shows you the differences between two versions of the page.
cpl:labs:09 [2016/12/06 23:00] bogdan.nitulescu [Exerciții de laborator] |
cpl:labs:09 [2016/12/06 23:02] (current) bogdan.nitulescu [Ex.3 - Loops (3p)] |
||
---|---|---|---|
Line 339: | Line 339: | ||
====== Exerciții de laborator ======= | ====== Exerciții de laborator ======= | ||
- | {{|Arhiva}} laboratorului. | + | {{:cpl:labs:lab09.zip|Arhiva}} laboratorului. |
==== Ex.1 - Mem2Reg. Constant Propagation. Deadcode Elimination (3p) ==== | ==== Ex.1 - Mem2Reg. Constant Propagation. Deadcode Elimination (3p) ==== | ||
Line 358: | Line 358: | ||
==== Ex.3 - Loops (3p) ==== | ==== Ex.3 - Loops (3p) ==== | ||
Intrati in folder-ul ex.2 din arhiva de laborator. Compilati in cele 2 forme LLVM IR fisierul loops.c. | Intrati in folder-ul ex.2 din arhiva de laborator. Compilati in cele 2 forme LLVM IR fisierul loops.c. | ||
- | Faceti urmatoarele optimizari: mem2reg, simplifycfg, loops, loop-simplify, loop-rotate, loop-unroll. | + | Faceti urmatoarele optimizari: mem2reg, simplifycfg, loops, loop-rotate, loop-unroll. |
Observati modificarile. | Observati modificarile. | ||
==== Ex. 4 - LLVM pass (6p) ==== | ==== Ex. 4 - LLVM pass (6p) ==== |