search for: yaduveer

Displaying 4 results from an estimated 4 matches for "yaduveer".

2015 May 02
5
[LLVMdev] Modifying LoopUnrollingPass
...dify for this. I tried creating a sample pass using original LoopUnrollPass code and run "make", I received following error: loopunrollp.cpp:210:1: error: ‘void llvm::initializeLoopUnrollpPass(llvm::PassRegistry&)’ should have been declared inside ‘llvm’ /bin/rm: cannot remove `/home/yaduveer/RP/LLVM/llvm/lib/Transforms/loopunrollp/Debug+Asserts/loopunrollp.d.tmp': No such file or directory Please help Thanks, Yaduveer
2015 May 04
2
[LLVMdev] Modifying LoopUnrollingPass
...orizer should be able to combine the two statements (this should be happening in O1. Pls check) arr[i] = a + i sum += arr[i] to sum += a + i Not sure, why are you using the array there. - Suyog On 4 May 2015 23:11, "Michael Zolotukhin" <mzolotukhin at apple.com> wrote: > Hi Yaduveer, > > Vectorizer probably fails because it expects a loop in a certain form, and > to convert a loop to this form one need to run some other passes first. For > example, when you run "opt -O3", the following passes are invoked: > *-targetlibinfo -tti -no-aa -tbaa -scoped-no...
2015 May 13
3
[LLVMdev] Modifying LoopUnrollingPass
...am trying to follow the AST way. I tried seeing the AST contents by using following command: *clang -Xclang -ast-dump -fsyntax-only loop.c* This is giving me some AST output( I believe so) but I am having two issue: 1. I am not able to put this output in a file as Its showing following error: *yaduveer at yaduveer-Inspiron-3542:~/RP$ clang -Xclang -ast-dump -fsyntax-only loop1d.c | llvm-dis -o ast.txt* *llvm-dis: Invalid bitcode signature* *clang: error: unable to execute command: Broken pipe* *clang: error: clang frontend command failed due to signal (use -v to see invocation)* *clang version 3....
2015 May 08
2
[LLVMdev] Modifying LoopUnrollingPass
...I don't want to use "OpenMP" for this. I don't want the user to mention OpenMP command in the program but I want to implement OpenMP logic by writing a new pass along with loop unrolling. Could you please suggest how can I proceed with this? Is this possible to do so ? Regards, Yaduveer On Wed, May 6, 2015 at 12:02 AM, Renato Golin <renato.golin at linaro.org> wrote: > On 4 May 2015 at 18:55, suyog sarda <sardask01 at gmail.com> wrote: > > Not sure, why are you using the array there. > > Smells like a reduced-too-far example. :) > > cheers, >...