- May 06, 2005
-
-
Misha Brukman authored
llvm-svn: 21706
-
Misha Brukman authored
llvm-svn: 21704
-
Chris Lattner authored
llvm-svn: 21701
-
- May 05, 2005
-
-
Chris Lattner authored
llvm-svn: 21700
-
Chris Lattner authored
Lower debug info to noops. llvm-svn: 21698
-
Andrew Lenharth authored
llvm-svn: 21697
-
Chris Lattner authored
LowerSetJmp/2005-05-05-OldUses.ll llvm-svn: 21696
-
- May 04, 2005
-
-
Andrew Lenharth authored
llvm-svn: 21693
-
Andrew Lenharth authored
21164 is broken until expand works. llvm-svn: 21692
-
Andrew Lenharth authored
Proof? ubyte %bar(ubyte %x) { entry: %tmp.1 = call ubyte %llvm.ctlz( ubyte %x ) ret ubyte %tmp.1 } ==> zapnot $16,1,$0 CTLZ $0,$0 subq $0,56,$0 zapnot $0,1,$0 ret $31,($26),1 llvm-svn: 21691
-
Chris Lattner authored
This implements set.ll:test20. This triggers 2x on povray, 9x on mesa, 11x on gcc, 2x on crafty, 1x on eon, 6x on perlbmk and 11x on m88ksim. It allows us to compile these two functions into the same code: struct s { unsigned int bit : 1; }; unsigned foo(struct s *p) { if (p->bit) return 1; else return 0; } unsigned bar(struct s *p) { return p->bit; } llvm-svn: 21690
-
Reid Spencer authored
library function: isdigit(chr) -> 0 or 1 if chr is constant isdigit(chr) -> chr - '0' <= 9 otherwise Although there are many calls to isdigit in llvm-test, most of them are compiled away by macros leaving only this: 2 MultiSource/Applications/hexxagon llvm-svn: 21688
-
Reid Spencer authored
actual spec (int -> uint) * Add the ability to get/cache the strlen function prototype. * Make sure generated values are appropriately named for debugging purposes * Add the SPrintFOptimiation for 4 casts of sprintf optimization: sprintf(str,cstr) -> llvm.memcpy(str,cstr) (if cstr has no %) sprintf(str,"") -> store sbyte 0, str sprintf(str,"%s",src) -> llvm.memcpy(str,src) (if src is constant) sprintf(str,"%c",chr) -> store chr, str ; store sbyte 0, str+1 The sprintf optimization didn't fire as much as I had hoped: 2 MultiSource/Applications/SPASS 5 MultiSource/Benchmarks/McCat/18-imp 22 MultiSource/Benchmarks/Prolangs-C/TimberWolfMC 1 MultiSource/Benchmarks/Prolangs-C/assembler 6 MultiSource/Benchmarks/Prolangs-C/unix-smail 2 MultiSource/Benchmarks/mediabench/mpeg2/mpeg2dec llvm-svn: 21679
-
- May 03, 2005
-
-
Andrew Lenharth authored
population (ctpop). Generic lowering is implemented, however only promotion is implemented for SelectionDAG at the moment. More coming soon. llvm-svn: 21676
-
Chris Lattner authored
llvm-svn: 21670
-
Reid Spencer authored
Neither of these activated as many times as was hoped: strchr: 9 MultiSource/Applications/siod 1 MultiSource/Applications/d 2 MultiSource/Prolangs-C/archie-client 1 External/SPEC/CINT2000/176.gcc/176.gcc llvm.memset: no hits llvm-svn: 21669
-
Chris Lattner authored
llvm-svn: 21665
-
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
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
-
- 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
-
- May 01, 2005
-
-
Chris Lattner authored
llvm-svn: 21647
-
Chris Lattner authored
Implement load.ll:test7 llvm-svn: 21645
-
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: 21634
-
Chris Lattner authored
llvm-svn: 21633
-
Chris Lattner authored
Morten Ofstad! llvm-svn: 21632
-
Chris Lattner authored
llvm-svn: 21631
-