- Aug 24, 2008
-
-
Chris Lattner authored
patch contributed by m-s! llvm-svn: 55270
-
Chris Lattner authored
use raw_ostream instead of std::ostream. Among other goodness, this speeds up llvm-dis of kc++ with a release build from 0.85s to 0.49s (88% faster). Other interesting changes: 1) This makes Value::print be non-virtual. 2) AP[S]Int and ConstantRange can no longer print to ostream directly, use raw_ostream instead. 3) This fixes a bug in raw_os_ostream where it didn't flush itself when destroyed. 4) This adds a new SDNode::print method, instead of only allowing "dump". A lot of APIs have both std::ostream and raw_ostream versions, it would be useful to go through and systematically anihilate the std::ostream versions. This passes dejagnu, but there may be minor fallout, plz let me know if so and I'll fix it. llvm-svn: 55263
-
- Aug 23, 2008
-
-
Chris Lattner authored
before/after effects of a pass, crazy! llvm-svn: 55230
-
Chris Lattner authored
indices that start with an array subscript. x->field[10000] is just as bad as (*X)[14][10000]. llvm-svn: 55226
-
- Aug 22, 2008
-
-
Chris Lattner authored
Patch contributed by m-s. llvm-svn: 55167
-
- Aug 21, 2008
-
-
Nick Lewycky authored
slowdown in bzip2. llvm-svn: 55113
-
Evan Cheng authored
llvm-svn: 55087
-
- Aug 20, 2008
-
-
Mon P Wang authored
llvm-svn: 55035
-
- Aug 19, 2008
-
-
Chris Lattner authored
llvm-svn: 54979
-
- Aug 17, 2008
-
-
Nick Lewycky authored
predicate, swap the order of the operands. llvm-svn: 54907
-
Nick Lewycky authored
produce an xor by 127. llvm-svn: 54906
-
Gordon Henriksen authored
In particular, Collector was confusing to implementors. Several thought that this compile-time class was the place to implement their runtime GC heap. Of course, it doesn't even exist at runtime. Specifically, the renames are: Collector -> GCStrategy CollectorMetadata -> GCFunctionInfo CollectorModuleMetadata -> GCModuleInfo CollectorRegistry -> GCRegistry Function::getCollector -> getGC (setGC, hasGC, clearGC) Several accessors and nested types have also been renamed to be consistent. These changes should be obvious. llvm-svn: 54899
-
Evan Cheng authored
llvm-svn: 54878
-
Nick Lewycky authored
llvm-svn: 54877
-
Nick Lewycky authored
the predicate. Also, make this optz'n apply in more cases where it's safe to do so. llvm-svn: 54876
-
Chris Lattner authored
returning an std::string by value, it fills in a SmallString/SmallVector passed in. This significantly reduces string thrashing in some cases. More specifically, this: - Adds an operator<< and a print method for APInt that allows you to directly send them to an ostream. - Reimplements APInt::toString to be much simpler and more efficient algorithmically in addition to not thrashing strings quite as much. This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the asmprinter. This also fixes a bug I introduced into the asmwriter in a previous patch w.r.t. alias printing. llvm-svn: 54873
-
- Aug 15, 2008
-
-
Owen Anderson authored
Remove GCSE, ValueNumbering, and LoadValueNumbering. These have been deprecated for almost a year; it's finally time for them to go away. llvm-svn: 54822
-
Devang Patel authored
llvm-svn: 54821
-
Evan Cheng authored
llvm-svn: 54813
-
Chris Lattner authored
by ~10% on some testcases. llvm-svn: 54811
-
Bill Wendling authored
llvm-svn: 54804
-
- Aug 14, 2008
-
-
Devang Patel authored
llvm-svn: 54792
-
Devang Patel authored
llvm-svn: 54786
-
Dan Gohman authored
llvm-svn: 54780
-
Matthijs Kooijman authored
invalidating the iterator by deleting the current use. This fixes a segfault on 64 bit linux reported in PR2675. Also remove an unneeded if. llvm-svn: 54778
-
Dan Gohman authored
can have a non-negative result; for example, -16%16 is 0. Also, clarify the related comments. This fixes PR2670. llvm-svn: 54767
-
- Aug 13, 2008
-
-
Dan Gohman authored
track individual leaf values in such cases, so it needs to treat struct values as normal values in this case. llvm-svn: 54760
-
Devang Patel authored
llvm-svn: 54754
-
Devang Patel authored
llvm-svn: 54710
-
Bill Wendling authored
llvm-svn: 54707
-
- Aug 12, 2008
-
-
Chris Lattner authored
do for scalars. Patch contributed by Nicolas Capens This also generalizes the previous xforms to work on long double, now that isExactlyValue works for long double. llvm-svn: 54653
-
- Aug 08, 2008
-
-
Eric Christopher authored
names. This can save a lot of allocations if you aren't going to be looking at the output. llvm-svn: 54546
-
- Aug 07, 2008
-
-
Matthijs Kooijman authored
postfixing it with a number. llvm-svn: 54468
-
Matthijs Kooijman authored
r53941 (but this was not noticed due to the lack of a basic test for SRETPromotion). llvm-svn: 54467
-
Matthijs Kooijman authored
llvm-svn: 54464
-
- Aug 06, 2008
-
-
Dan Gohman authored
when it meant to be emitting undef indices. llvm-svn: 54417
-
Evan Cheng authored
Fix PR2355: bug in ChangeCompareStride. When the loop termination compare is the only use of its iv stride, the stride can be eliminated by moving it to another stride. If the scale is negative, swap the predicate instead of using a inverse predicate. llvm-svn: 54415
-
Chris Lattner authored
llvm-svn: 54408
-
Chris Lattner authored
matters, the result is undefined anyway. llvm-svn: 54396
-
Nick Lewycky authored
tracking down that this was breaking llvm-gcc bootstrap on Linux. llvm-svn: 54394
-