search for: loop1d

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

Did you mean: loop1
2015 May 13
3
[LLVMdev] Modifying LoopUnrollingPass
...owing 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.6.0 (trunk 225627) (llvm/trunk 225626)* *Target: x86_64-unknown-linux-gnu* *T...
2015 May 02
5
[LLVMdev] Modifying LoopUnrollingPass
Hi Zhoulai, I am trying to modify "LoopUnrollPass" in llvm which produces multiple copies of loop equal to the loop unroll factor.Currently, using multicore architecture, say 3 for example and the execution goes like: for 3 cores if there are 9 iterations of loop core instruction 1 0,3,6 2 1,4,7 3 2,5,8 But I want to to
2015 May 04
2
[LLVMdev] Modifying LoopUnrollingPass
...gt; int sum=0; > int arr[400]; > > for(i=0;i<400;i=i+1) > { > arr[i]=a+i; > sum+=arr[i]; > } > printf("Everything is Done for 1d\n"); > return 0; > } > > following are my command: > > yaduveer at yaduveer-Inspiron-3542:~/RP$ clang -S -emit-llvm loop1d.c > yaduveer at yaduveer-Inspiron-3542:~/RP$ clang -c -emit-llvm loop1d.c > yaduveer at yaduveer-Inspiron-3542:~/RP$ opt -loop-vectorize > -force-vector-width=4 -mem2reg -loop-rotate -indvars -debug -stats > loop1d.ll | llvm-dis -o loop1dv1.ll > > we found the following message on...
2015 May 08
2
[LLVMdev] Modifying LoopUnrollingPass
Hi All, Thank you for your suggestions. @Michael: I tried your suggestion. I could run "Loop Vectorizer" successfully. But my problem is not solved. @Renato: I want to do the 1st type operation: 1) Use all cores, dividing the loop into multiple cores, one block at a time. But I don't want to use "OpenMP" for this. I don't want the user to mention OpenMP command