- May 03, 2005
-
-
Jeff Cohen authored
llvm-svn: 21662
-
Reid Spencer authored
strings passed to Statistic's constructor are not destructable. The stats are printed during static destruction and the SimplifyLibCalls module was getting destructed before the statistics. llvm-svn: 21661
-
Reid Spencer authored
Unfortunately, this optimization didn't trigger on any llvm-test tests. llvm-svn: 21660
-
Reid Spencer authored
llvm-svn: 21659
-
Reid Spencer authored
llvm-svn: 21658
-
Reid Spencer authored
fprintf(F,"hello") -> fwrite("hello",strlen("hello"),1,F) fprintf(F,"%s","hello") -> fwrite("hello",strlen("hello"),1,F) fprintf(F,"%c",'x') -> fputc('c',F) This optimization fires severals times in llvm-test: 313 MultiSource/Applications/Burg 302 MultiSource/Benchmarks/Prolangs-C/TimberWolfMC 189 MultiSource/Benchmarks/Prolangs-C/mybison 175 MultiSource/Benchmarks/Prolangs-C/football 130 MultiSource/Benchmarks/Prolangs-C/unix-tbl llvm-svn: 21657
-
Reid Spencer authored
llvm-svn: 21656
-
- May 02, 2005
-
-
Andrew Lenharth authored
llvm-svn: 21655
-
Andrew Lenharth authored
amusing of course, because we will have to go back to those semantics soon llvm-svn: 21654
-
John Criswell authored
llvm-svn: 21653
-
Duraid Madina authored
this constmul code is still buggy though, so beware. mul by 7427 is currently broken, for example. will fix it when I get a moment :) llvm-svn: 21652
-
Duraid Madina authored
testsuite, however 09-vor is still dead (hopefully for other reasons!) llvm-svn: 21651
-
Reid Spencer authored
llvm-svn: 21650
-
- May 01, 2005
-
-
Tanya Lattner authored
llvm-svn: 21649
-
Tanya Lattner authored
llvm-svn: 21648
-
Chris Lattner authored
llvm-svn: 21647
-
Chris Lattner authored
llvm-svn: 21646
-
Chris Lattner authored
Implement load.ll:test7 llvm-svn: 21645
-
Chris Lattner authored
llvm-svn: 21644
-
Tanya Lattner authored
llvm-svn: 21643
-
Tanya Lattner authored
llvm-svn: 21642
-
Tanya Lattner authored
Changed dependence analyzer to only use dep distances of 2 or less. This is experimental. Changed MSchedGraph to be able to represent more then one BB (first steps). llvm-svn: 21641
-
- Apr 30, 2005
-
-
Andrew Lenharth authored
But it is entirely possible I am just crazy. llvm-svn: 21640
-
Alkis Evlogimenos authored
llvm-svn: 21639
-
Reid Spencer authored
llvm-svn: 21638
-
Chris Lattner authored
llvm-svn: 21637
-
Chris Lattner authored
was contributed by Morten Ofstad, with some minor tweaks and bug fixes added by me. llvm-svn: 21636
-
Chris Lattner authored
llvm-svn: 21635
-
Chris Lattner authored
llvm-svn: 21634
-
Chris Lattner authored
llvm-svn: 21633
-
Chris Lattner authored
Morten Ofstad! llvm-svn: 21632
-
Chris Lattner authored
llvm-svn: 21631
-
Chris Lattner authored
Morten Ofstad! llvm-svn: 21630
-
Chris Lattner authored
llvm-svn: 21629
-
Chris Lattner authored
llvm-svn: 21628
-
Chris Lattner authored
llvm-svn: 21627
-
Reid Spencer authored
type be obtained from a CallInst we're optimizing. * Make it possible for getConstantStringLength to return the ConstantArray that it extracts in case the content is needed by an Optimization. * Implement the strcmp optimization * Implement the toascii optimization This pass is now firing several to many times in the following MultiSource tests: Applications/Burg - 7 (strcat,strcpy) Applications/siod - 13 (strcat,strcpy,strlen) Applications/spiff - 120 (exit,fputs,strcat,strcpy,strlen) Applications/treecc - 66 (exit,fputs,strcat,strcpy) Applications/kimwitu++ - 34 (strcmp,strcpy,strlen) Applications/SPASS - 588 (exit,fputs,strcat,strcpy,strlen) llvm-svn: 21626
-
Reid Spencer authored
* Rearrange for readability. llvm-svn: 21625
-
Reid Spencer authored
llvm-svn: 21624
-
Reid Spencer authored
llvm-svn: 21623
-