search for: path_to_polly_lib

Displaying 11 results from an estimated 11 matches for "path_to_polly_lib".

2011 Oct 22
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...ng the new feature you introduce about printing out the graphs, so I updated my version of llvm/clang/polly synchronizing them to the last version, but I get this error launching clang (also , I recently switched to MacOS X for development): $ clang not_so_simple_loop.c -O3 -Xclang -load -Xclang ${PATH_TO_POLLY_LIB}/LLVMPolly.dylib -mllvm -enable-polly-viewer -mllvm -enable-iv-rewrite error: unable to load plugin '/Users/Kariddi/Documents/Sviluppo/Tesi/git-prefix/lib//LLVMPolly.dylib': 'dlopen(/Users/Kariddi/Documents/Sviluppo/Tesi/git-prefix/lib//LLVMPolly.dylib, 9): Symbol not found: __ZN4llvm1...
2011 Oct 23
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...uce about printing out the > graphs, so I updated my version of llvm/clang/polly synchronizing them > to the last version, but I get this error launching clang (also , I > recently switched to MacOS X for development): > > $ clang not_so_simple_loop.c -O3 -Xclang -load -Xclang > ${PATH_TO_POLLY_LIB}/LLVMPolly.dylib -mllvm -enable-polly-viewer > -mllvm -enable-iv-rewrite I documented the use of Polly in clang on a new website: http://polly.grosser.es/example_load_Polly_into_clang.html > error: unable to load plugin > '/Users/Kariddi/Documents/Sviluppo/Tesi/git-prefix/lib//LLVMPo...
2011 Oct 07
1
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...       for (j = 1; j < 1024; j++) >                  A[j] = k; > >        return 0; > } > > run with: > > #!/bin/bash > source ../set_path.source > clang -S -emit-llvm $1.c -o $1.s > opt -S -mem2reg -loop-simplify -indvars $1.s > $1.preopt.ll > opt -load ${PATH_TO_POLLY_LIB}/LLVMPolly.so -polly-detect -analyze $1.preopt.ll > > Using the instructions found on the Polly website. > > > 2011/10/7 Tobias Grosser <tobias at grosser.es>: >> On 10/07/2011 03:25 PM, Marcello Maggioni wrote: >>> >>> Hi, I'd like to ask another th...
2011 Oct 08
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...A[j] = k; >> >> return 0; >> } >> >> run with: >> >> #!/bin/bash >> source ../set_path.source >> clang -S -emit-llvm $1.c -o $1.s >> opt -S -mem2reg -loop-simplify -indvars $1.s> $1.preopt.ll >> opt -load ${PATH_TO_POLLY_LIB}/LLVMPolly.so -polly-detect -analyze $1.preopt.ll >> >> Using the instructions found on the Polly website. There are two reasons why it does not work with these instructions 1. Not the right preoptimization passes The instructions on the Polly website use a very short sequence of pr...
2011 Nov 01
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...char *B; int i,j,k,h; const int x = 0, y=0; B = (char *)malloc(sizeof(char)*1024*1024); for (i = 1; i < 1024; i++) for (j = 1; j < 1024; j++) { if (i+j > 1000) B[j] = i; } printf("Random Value: %d", B[rand() % 1024*1024]); return 0; } running: opt -load ${PATH_TO_POLLY_LIB}/LLVMPolly.dylib -polly-scops -analyze code.preopt.ll I get: Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'for.body3 => for.inc.single_exit' in function 'main': Invalid Scop! 0 libLLVM-3.1svn.dylib 0x0000000103fab905 _ZL15PrintStackTra...
2011 Oct 27
2
[LLVMdev] How to make Polly ignore some non-affine memory accesses
Perfect, thank you very much :) 2011/10/26 Tobias Grosser <tobias at grosser.es>: > On 10/24/2011 11:32 PM, Marcello Maggioni wrote: >> >> Strange , with --enable-shared (I use auto tool by the way ...) it gives: >> >> MacBook-Pro-di-Marcello:examples Kariddi$ ./compile_ex.sh >> not_so_simple_loop >> clang (LLVM option parsing): Unknown command line
2012 Feb 13
2
[LLVMdev] Error compiling simple loop, Casting.h used by Polly
...24bI.i clang: note: diagnostic msg: /tmp/loop1-xX24bI.sh This code was running fine earlier today before I "up"'d the svn checkout for everything (polly, clang, llvm) and reinstalled updated cloog. I have attached a test case. I am compiling with this: clang -Xclang -load -Xclang ${PATH_TO_POLLY_LIB}LLVMPolly.so $1 -mllvm -polly -O3 -S -emit-llvm -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120213/95cce83d/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed.....
2011 Oct 03
4
[LLVMdev] How to make Polly ignore some non-affine memory accesses
Hi Tobias, thanks for the answer. I'll try to give a look to the code you pointed me to , and I'll try to make the modification myself. I'm new to LLVM and Polly, but the code of both seem clean and understandable, so I hope to be able to do it myself. In case I'll ask here for support :) Marcello 2011/10/1 Tobias Grosser <tobias at grosser.es>: > On 10/01/2011 03:26
2011 Oct 24
1
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...to load a symbol that it doesn't find ... >>>> I have synchronized all clang/llvm/polly to the latest version and I >>>> compiled them all together. Loading polly with "opt" works strangely >>>> ... : >>>> >>>> opt -S -load ${PATH_TO_POLLY_LIB}/LLVMPolly.dylib -mem2reg -no-aa >>>> -targetlibinfo -tbaa -basicaa -preverify -domtree -verify -mem2reg >>>> -instcombine -simplifycfg -tailcallelim -simplifycfg -reassociate >>>> -domtree -loops -loop-simplify -lcssa -loop-rotate -instcombine >>>> -...
2012 Apr 20
0
[LLVMdev] Error compiling simple loop, Casting.h used by Polly
...tmp/loop1-xX24bI.sh > > This code was running fine earlier today before I "up"'d the svn checkout > for everything (polly, clang, llvm) and reinstalled updated cloog. I have > attached a test case. > > I am compiling with this: > > clang -Xclang -load -Xclang ${PATH_TO_POLLY_LIB}LLVMPolly.so $1 -mllvm > -polly -O3 -S -emit-llvm > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > -- Alexander Potapenko Softwar...
2011 Nov 02
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...for (j = 1; j < 1024; j++) >                { >                        if (i+j > 1000) >                                B[j] = i; > } >        printf("Random Value: %d", B[rand() % 1024*1024]); > >        return 0; > } > > running: > > opt -load ${PATH_TO_POLLY_LIB}/LLVMPolly.dylib -polly-scops -analyze > code.preopt.ll > > I get: > > Printing analysis 'Polly - Create polyhedral description of Scops' for > region: 'for.body3 => for.inc.single_exit' in function 'main': > Invalid Scop! > 0  libLLVM-3.1svn.dylib...