similar to: [LLVMdev] Impact of an analysis pass on program run time

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Impact of an analysis pass on program run time"

2011 Jun 19
0
[LLVMdev] Phase Interactions
On 19 June 2011 14:44, Suresh Purini <suresh.purini at gmail.com> wrote: >  I am doing few experiments to do understand optimization phase > interactions. Here is a brief description of my experiements. > > 1. I picked the list of machine independent optimizations acting on > llvm IR (those that are enabled at O3). > 2.  for each optimzation in the optimization-list >  
2011 Jun 19
2
[LLVMdev] Phase Interactions
Dear all, I am doing few experiments to do understand optimization phase interactions. Here is a brief description of my experiements. 1. I picked the list of machine independent optimizations acting on llvm IR (those that are enabled at O3). 2. for each optimzation in the optimization-list a) Compiled the program using 'clang -c O0 -flto program.c' b) opt
2011 Jun 17
1
[LLVMdev] Loop Unroll Factor
Devang, I meant as an end user. -Suresh On Thu, Jun 16, 2011 at 11:00 PM, Devang Patel <dpatel at apple.com> wrote: > Suresh, > > > On Jun 15, 2011, at 9:13 PM, Suresh Purini wrote: > >> Dear all, >> >> What is the default loop-unroll factor in llvm? How can we specify >> our own unroll-factor? > > Here "we" means end user or a
2011 Jun 25
1
[LLVMdev] Loop Unrolling
Hello, I tried to do some small experiments on the loop unroll transformation. Following is the Test Program. I compiled it as follows: $ opt -loop-rotate -debug-only=loop-unroll -loop-unroll -unroll-count=2 test1.o -S -o test1.s ------------------ int a[1024]; int main() { int i, sum=0; for(i=0; i<1024; ++i) sum += a[i]; printf("%d",sum); } ------------------- I got
2011 Jun 16
0
[LLVMdev] Loop Unroll Factor
Suresh, On Jun 15, 2011, at 9:13 PM, Suresh Purini wrote: > Dear all, > > What is the default loop-unroll factor in llvm? How can we specify > our own unroll-factor? Here "we" means end user or a compiler developer ? The threshold is 150, see LoopUnrollPass.cpp - Devang
2018 Apr 26
2
[HiPEAC 2019- publicity] CALL FOR PAPERS: HiPEAC 2019, Valencia, Spain
HiPEAC 2019 CALL FOR PAPERS The 14th International Conference on High-Performance Embedded Architectures and Compilers 21-23January, 2019 Valencia, Spain web: hipeac.net/conference<http://hipeac.net/conference> The HiPEAC conference is the premier European forum for experts in computer architecture, programming models, compilers and operating systems for embedded and general-purpose
2011 Jun 16
2
[LLVMdev] Loop Unroll Factor
Dear all, What is the default loop-unroll factor in llvm? How can we specify our own unroll-factor? -Suresh
2011 Sep 16
1
[LLVMdev] Problem with loop-unrolling
Hello, When we invoke the loop-unroll pass, the compiler is crashing. From the earlier posts in the mailing-list and from the bug reports, it is a known problem. Is there some one working on this bug? -Suresh
2011 Nov 15
1
[LLVMdev] opt -O2 optimization passes
Hi all, I would like to know which optimization passes are performed at -O2 by opt. So I used following command: llvm-as < /dev/null | opt -O2 -std-compile-opts -disable-output -debug-pass=Arguments I've got following output for LLVM opt 2.9: Pass Arguments: -no-aa -tbaa -basicaa -simplifycfg -domtree -scalarrepl -early-cse Pass Arguments: -targetlibinfo -no-aa -tbaa -basicaa
2011 Sep 21
1
[LLVMdev] Fortran to llvm IR
Hello, How can I convert Fortran Programs to llvm IR? Can I use dragonegg to generate an llvm IR and then use rest of the llvm tool set as it is? -Suresh
2013 Aug 19
1
[LLVMdev] How to disbale loop-rotate in opt -O3 ?
Hello, I am trying to simplify the CFG of a given code and eliminate the conditionals, even though I will obtain codes that are not semantically equivalent. For example, given a simple loop: for(i=0; i<N; i++){    a[i] = i;     if (i%2==0)       a[i] += 12; } I would keep only the loop, without the if statement: for(i=0; i<N; i++){    a[i] = i; } I can eliminate such conditionals on
2015 Aug 15
2
Euro LLVM videos finally online
Dear all, this week the videos from Euro LLVM 2015 in London have finally been made available at http://llvm.org/devmtg/2015-04/. Thanks again to all the presenters, the video recording team as well as the organizers around Andy Thomason for all their work and afford! On page 8 of the HiPEAC Newsletter, there was also a report about EuroLLVM 2015 Published.
2011 Jul 06
1
[LLVMdev] Optimization Order at O2/O3
Dear all, Is there a command line argument which prints the order of application of various analysis/transformation passes on a program using clang? -Suresh
2015 Sep 08
8
Euro LLVM videos finally online - proposal to use torrents for sharing
It's no magic, to get good download speed with torrents you need many seeders or few seeders with high bandwidth. I'm not sure LLVM videos will attract enough interest for many seeders to be online... The easy solution would be to have a LLVM channel with all videos on Youtube which has high qualty CDN. 2015-09-08 11:20 GMT+03:00 Adam Husár <llvm-dev at lists.llvm.org>: >
2011 Sep 10
2
[LLVMdev] readnone
Nick Lewycky wrote: > I was sure that I remember "opt -functionattrs" being taught to do this, > but I just tried it out and it doesn't. This is a missed optz'n > opportunity, testcase: > > @x = constant i32 0 > define void @foo() { > load i32* @x > ret void > } > > is only marked readonly when it should be readnone. Could
2009 Jun 29
0
[LLVMdev] Limitations of Alias Analysis?
On 2009-06-29 11:16, Wenzhi Tao wrote: > Hi, all > > According to the document "LLVM Alias Analysis Infrastructure", I > evaluated the AA performance by using the paramenters '-basicaa -ds-aa > -anders-aa'. The source code 'test.c' is listed as follow: > [...] > The whole process: > > llvm-gcc -emit-llvm -O0 -c test.c -o test.bc > > opt
2011 Sep 10
0
[LLVMdev] readnone
Thanks for the answer Nick. Now you got me on a chase through FunctionAttrs.cpp trying to find out what analysis passes "... which answers no to everything", means. :-) Garrison On Sep 10, 2011, at 13:52, Nick Lewycky wrote: > Nick Lewycky wrote: >> I was sure that I remember "opt -functionattrs" being taught to do this, >> but I just tried it out and it
2015 Jan 17
3
[LLVMdev] loop multiversioning
Does LLVM have loop multiversioning ? it seems it does not with clang++ -O3 -mllvm -debug-pass=Arguments program.c -c bash-4.1$ clang++ -O3 -mllvm -debug-pass=Arguments fast_algorithms.c -c clang-3.6: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Pass Arguments: -datalayout -notti -basictti -x86tti -targetlibinfo -no-aa -tbaa -scoped-noalias
2015 May 11
2
[LLVMdev] about MemoryDependenceAnalysis usage
add -basicaa to your command line :) On Mon, May 11, 2015 at 7:15 AM, Willy WOLFF <willy.mh.wolff at gmail.com> wrote: > I play a bit more with MemoryDependenceAnalysis by wrapping my pass, and > call explicitely BasicAliasAnalysis. Its still using No Alias Analysis. > > How can I let MemoryDependenceAnalysis use BasicAliasAnalysis? > > Please, find attached my pass. >
2011 Sep 10
0
[LLVMdev] readnone
Garrison Venn wrote: > If a function accesses a global constant array of constants--in my case > a constant array of function pointers, and does NOT reference this > array via a function argument (it instead directly references this global), > is this enough to disallow the application of the readnone attribute to the > function in question? A function is readnone if it doesn't