Lines Matching full:polly
2 How to manually use the Individual pieces of Polly
5 Execute the individual Polly passes manually
11 code with Polly. We show how to execute them individually and explain for
18 Polly works on LLVM-IR. Hence it is necessary to translate the source
27 2. **Prepare the LLVM-IR for Polly**
30 Polly is only able to work with code that matches a canonical form.
33 '-polly-canonicalize'.
37 opt -S -polly-canonicalize matmul.ll -o matmul.preopt.ll
39 3. **Show the SCoPs detected by Polly (optional)**
42 To understand if Polly was able to detect SCoPs, we print the structure
48 …$ opt -basic-aa -polly-ast -analyze matmul.preopt.ll -polly-process-unprofitable -polly-use-llvm-n…
80 Polly can use graphviz to graphically show a CFG in which the detected
87 $ opt -polly-use-llvm-names -basic-aa -view-scops -disable-output matmul.preopt.ll
88 … $ opt -polly-use-llvm-names -basic-aa -view-scops-only -disable-output matmul.preopt.ll
95 .. _main: http://polly.llvm.org/experiments/matmul/scops.main.dot.png
96 .. _init_array: http://polly.llvm.org/experiments/matmul/scops.init_array.dot.png
97 .. _print_array: http://polly.llvm.org/experiments/matmul/scops.print_array.dot.png
98 .. _main-scopsonly: http://polly.llvm.org/experiments/matmul/scopsonly.main.dot.png
99 .. _init_array-scopsonly: http://polly.llvm.org/experiments/matmul/scopsonly.init_array.dot.png
100 .. _print_array-scopsonly: http://polly.llvm.org/experiments/matmul/scopsonly.print_array.dot.png
107 …$ opt -polly-use-llvm-names -basic-aa -polly-scops -analyze matmul.preopt.ll -polly-process-unprof…
111 …[...]Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'for.cond1.pre…
144 …[...]Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'for.cond1.pre…
197 …$ opt -basic-aa -polly-use-llvm-names -polly-dependences -analyze matmul.preopt.ll -polly-process-…
201 …[...]Printing analysis 'Polly - Calculate dependences' for region: 'for.cond1.preheader => for.end…
212 …[...]Printing analysis 'Polly - Calculate dependences' for region: 'for.cond1.preheader => for.end…
229 …$ opt -basic-aa -polly-use-llvm-names -polly-export-jscop matmul.preopt.ll -polly-process-unprofit…
242 Polly can reimport jscop files, in which the schedules of the statements
251 **No Polly**
253 …As a baseline we do not call any Polly code generation, but only apply the normal -O3 optimization…
257 …$ opt -basic-aa -polly-use-llvm-names matmul.preopt.ll -polly-import-jscop -polly-ast -analyze -po…
285 …pt -basic-aa -polly-use-llvm-names matmul.preopt.ll -polly-import-jscop -polly-import-jscop-postfi…
314 …-basic-aa -polly-use-llvm-names matmul.preopt.ll -polly-import-jscop -polly-import-jscop-postfix=i…
349 …-basic-aa -polly-use-llvm-names matmul.preopt.ll -polly-import-jscop -polly-import-jscop-postfix=i…
379 This generates new code for the SCoPs detected by polly. If
380 -polly-import-jscop is present, transformations specified in the
390 …polly-use-llvm-names -polly-import-jscop -polly-import-jscop-postfix=interchanged -polly-codegen -…
400 …polly-use-llvm-names -polly-import-jscop -polly-import-jscop-postfix=interchanged+tiled -polly-cod…
410 …polly-use-llvm-names -polly-import-jscop -polly-import-jscop-postfix=interchanged+tiled+vector -po…
420 …polly-use-llvm-names -polly-import-jscop -polly-import-jscop-postfix=interchanged+tiled+vector -po…
436 $ llc matmul.polly.interchanged.ll -o matmul.polly.interchanged.s -relocation-model=pic
437 $ gcc matmul.polly.interchanged.s -o matmul.polly.interchanged.exe
438 …$ llc matmul.polly.interchanged+tiled.ll -o matmul.polly.interchanged+tiled.s -relocation-model=pic
439 $ gcc matmul.polly.interchanged+tiled.s -o matmul.polly.interchanged+tiled.exe
440 …$ llc matmul.polly.interchanged+tiled+vector.ll -o matmul.polly.interchanged+tiled+vector.s -reloc…
441 … $ gcc matmul.polly.interchanged+tiled+vector.s -o matmul.polly.interchanged+tiled+vector.exe
442 …$ llc matmul.polly.interchanged+tiled+vector+openmp.ll -o matmul.polly.interchanged+tiled+vector+o…
443 …$ gcc matmul.polly.interchanged+tiled+vector+openmp.s -lgomp -o matmul.polly.interchanged+tiled+ve…
460 $ time ./matmul.polly.interchanged.exe
465 $ time ./matmul.polly.interchanged+tiled.exe
470 $ time ./matmul.polly.interchanged+tiled+vector.exe
475 $ time ./matmul.polly.interchanged+tiled+vector+openmp.exe