search for: shahzad

Displaying 20 results from an estimated 37 matches for "shahzad".

2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi Shahzad, > I tried your method and it works fine. What would be the next step to > produce the final executable? I have tried the following but it is > producing an error > > $ gcc -fplugin=/path/to/dragonegg.so -S *.c > -fplugin-arg-dragonegg-emit-ir | opt -adce this won't work bec...
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi Shahzad, > Is it possible that we can use LLVM optimization beside O1, O2, O3 > along with dragonegg plugin? sure, try this: gcc -fplugin=path/dragonegg.so ...other_options_here... -S -o - -fplugin-arg-dragonegg-emit-ir -fplugin-arg-dragonegg-llvm-ir-optimize=0 | opt -pass1 -pass2 ... Here -...
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
Hi Yes, they both are exactly the same. Regards Shahzad On Tue, Jun 12, 2012 at 9:38 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi, is the comb.ll used here: > > >> $ time lli ./comb.ll >> >> then the runtime is >> >> real    0m2.671s >> user    0m2.640s >> sys     0m0.020s >> >>...
2012 Jun 08
0
[LLVMdev] How to use LLVM optimizations with clang
Hello Duncan I tried your method and it works fine. What would be the next step to produce the final executable? I have tried the following but it is producing an error $ gcc -fplugin=/path/to/dragonegg.so -S *.c -fplugin-arg-dragonegg-emit-ir | opt -adce $ clang *.s Regards Shahzad On Fri, Jun 8, 2012 at 9:10 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi Shahzad, > > >> Is it possible that we can use LLVM optimization beside O1, O2, O3 >> along with dragonegg plugin? > > > sure, try this: > >  gcc -fplugin=path/dragonegg.so ...o...
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
...F to gcc, you are no longer using gcc with multiple files. So if you are getting that message then you are don't what I suggested. Ciao, Duncan. >> >> Ciao, Duncan. >> >> >>> >>> $ clang *.s >>> >>> Regards >>> >>> Shahzad >>> >>> On Fri, Jun 8, 2012 at 9:10 AM, Duncan Sands<baldrick at free.fr> wrote: >>>> >>>> Hi Shahzad, >>>> >>>> >>>>> Is it possible that we can use LLVM optimization beside O1, O2, O3 >>>>> al...
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
...ut LLVM bytecode having same optimizations when executed with lli have runtime of around 2 secs. What steps are exactly taken by clang to produce the binary in order to achieve the runtime of around 2 secs. If it is a question of link time optimizations then how can we achieve that? Best Regards Shahzad On Fri, Jun 8, 2012 at 7:29 PM, Abdul Wahid Memon <engrwahidmemon at gmail.com> wrote: > Thanks Duncan > > It was really helpful. > > Regards > > Abdul > > On Fri, Jun 8, 2012 at 7:23 PM, Duncan Sands <baldrick at free.fr> wrote: >> Hi, >> >&gt...
2012 Jun 08
0
[LLVMdev] How to use LLVM optimizations with clang
Hello Duncan On Fri, Jun 8, 2012 at 2:58 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi Shahzad, > > >> I tried your method and it works fine. What would be the next step to >> produce the final executable? I have tried the following but it is >> producing an error >> >> $ gcc -fplugin=/path/to/dragonegg.so -S *.c >> -fplugin-arg-dragonegg-emit-ir | o...
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
...1s > user 0m7.760s > sys 0m0.008s > > Am I missing something here? > > Though directly compiling files i.e. > > $ clang *.c > > results in > > time ./a.out > > real 0m10.167s > user 0m10.121s > sys 0m0.016s > > Regards > > Shahzad > > On Fri, Jun 8, 2012 at 7:00 PM, Duncan Sands<baldrick at free.fr> wrote: >> Hi, >> >> >>> I tried it with -o - but its producing an error >>> >>> gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files >>> >...
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
Hi, > Yes, they both are exactly the same. then I don't know what is going on. I suggest you send a copy of comb.ll to the list so that we can see for ourselves. Ciao, Duncan. > > Regards > > Shahzad > > On Tue, Jun 12, 2012 at 9:38 AM, Duncan Sands<baldrick at free.fr> wrote: >> Hi, is the comb.ll used here: >> >> >>> $ time lli ./comb.ll >>> >>> then the runtime is >>> >>> real 0m2.671s >>> user 0m2.640...
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
...when executed with lli have runtime > of around 2 secs. > > What steps are exactly taken by clang to produce the binary in order > to achieve the runtime of around 2 secs. If it is a question of link > time optimizations then how can we achieve that? > > Best Regards > > Shahzad > > On Fri, Jun 8, 2012 at 7:29 PM, Abdul Wahid Memon > <engrwahidmemon at gmail.com> wrote: >> Thanks Duncan >> >> It was really helpful. >> >> Regards >> >> Abdul >> >> On Fri, Jun 8, 2012 at 7:23 PM, Duncan Sands<baldrick a...
2012 Jun 07
3
[LLVMdev] How to use LLVM optimizations with clang
...optimizations except O1, O2, O3, O4 and unroll-loops with clang? One more thing I would like to know that If I want to process multiple modules with opt at the same time like opt -adce *.bc then how is it possible with opt in one go, if I process all the bytecode files within Makefile. Thanks. Shahzad On Thu, Jun 7, 2012 at 9:22 PM, Chad Rosier <mcrosier at apple.com> wrote: > > On Jun 7, 2012, at 10:59 AM, Abdul Wahid Memon wrote: > >> Hello everyone >> >> I am trying to use some LLVM optimizations like -die or -adce. Is it >> possible to use them along c...
2012 Jun 08
0
[LLVMdev] How to use LLVM optimizations with clang
...preverify -domtree -verify -o $B.ll ; done $ clang *.ll then time ./a.out real 0m7.791s user 0m7.760s sys 0m0.008s Am I missing something here? Though directly compiling files i.e. $ clang *.c results in time ./a.out real 0m10.167s user 0m10.121s sys 0m0.016s Regards Shahzad On Fri, Jun 8, 2012 at 7:00 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi, > > >> I tried it with -o - but its producing an error >> >> gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files >> >> What you suggest? > > >...
2012 Jun 08
0
[LLVMdev] How to use LLVM optimizations with clang
...ssing something here? >> >> Though directly compiling files i.e. >> >> $ clang *.c >> >> results in >> >> time ./a.out >> >> real    0m10.167s >> user    0m10.121s >> sys     0m0.016s >> >> Regards >> >> Shahzad >> >> On Fri, Jun 8, 2012 at 7:00 PM, Duncan Sands<baldrick at free.fr>  wrote: >>> >>> Hi, >>> >>> >>>> I tried it with -o - but its producing an error >>>> >>>> gcc: fatal error: cannot specify -o with -c, -...
2012 Jun 07
0
[LLVMdev] How to use LLVM optimizations with clang
Hello Duncan Is it possible that we can use LLVM optimization beside O1, O2, O3 along with dragonegg plugin? Regards Shahzad On Thu, Jun 7, 2012 at 10:59 PM, Abdul Wahid Memon <engrwahidmemon at gmail.com> wrote: > Thanks alot Chad for these quick and fine responses. > > Regards > > Abdul > > On Thu, Jun 7, 2012 at 10:57 PM, Chad Rosier <mcrosier at apple.com> wrote: >> >> On...
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
Sure. The comb.ll and data files are attached and can be invoked as the following $ lli comb.ll data -c Regards Shahzad On Tue, Jun 12, 2012 at 12:28 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi, > > >> Yes, they both are exactly the same. > > > then I don't know what is going on.  I suggest you send a copy of comb.ll to > the > list so that we can see for ourselves. &g...
2010 Sep 25
4
Help required
Is it possible to read jpeg files into R? If yes please guide, Thanks.. I tried to search many time but failed to do. Thankis in advance.. with Best Regards, Malik Shahzad Visiting Researcher National Institute of Informatics (NII) Tokyo, Japan Doctoral Student Asian Institute of Technology (AIT) Bangkok, Thailand +66-8-7676-5616 [[alternative HTML version deleted]]
2015 Nov 27
2
Sieve Max Redirect
...sieve: info: started log at Nov 27 14:30:15. main script: line 42: error: total number of actions exceeds policy limit (33 > 32). Regards... Shakeel On 11/27/2015 06:09 PM, Steffen Kaiser wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 27 Nov 2015, Shakeel Shahzad wrote: > >> I have configured iRedMail ( 0.9.1) on Ubuntu (14.04 LTS). In my >> dovecot.conf file, I have set sieve_max_redirects as 500. In dovecot >> (2.2.9) configuration file, I see sieve_max_redirect as 100 but when >> I add email addresses more than 32, I see tha...
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
...ogepilog -branch-folder -tailduplication -machine-cp -postrapseudos -machinedomtree -machine-loops -post-RA-sched -gc-analysis -machine-block-freq -block-placement2 -machinedomtree -machine-loops Now, how can I specify these optimization manually along with llc like we did with opt tool? Regards Shahzad On Tue, Jun 12, 2012 at 1:23 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi, > > > On 12/06/12 13:09, Abdul Wahid Memon wrote: >> >> Thanks alot. How can we view those optimization which are enabled when we >> do >> >> llc -O3 comb.ll > > &...
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
...nedomtree -machine-loops -post-RA-sched > -gc-analysis -machine-block-freq -block-placement2 -machinedomtree > -machine-loops > > Now, how can I specify these optimization manually along with llc like > we did with opt tool? you can't. Ciao, Duncan. > > Regards > > Shahzad > > On Tue, Jun 12, 2012 at 1:23 PM, Duncan Sands<baldrick at free.fr> wrote: >> Hi, >> >> >> On 12/06/12 13:09, Abdul Wahid Memon wrote: >>> >>> Thanks alot. How can we view those optimization which are enabled when we >>> do >>...
2012 Jun 07
2
[LLVMdev] How to use LLVM optimizations with clang
Hello everyone I am trying to use some LLVM optimizations like -die or -adce. Is it possible to use them along clang? Or is there a way where these optimization can be passed on to "opt" tool through clang, if opt is being used by clang behind the scenes? Thanks alot Regards Shahzad