- Aug 19, 2008
-
-
Owen Anderson authored
llvm-svn: 54968
-
Owen Anderson authored
llvm-svn: 54958
-
Owen Anderson authored
1) Assign stack slots to new temporaries. 2) Don't insert an interval into the return vector more than once. llvm-svn: 54956
-
- Aug 18, 2008
-
-
Owen Anderson authored
1) Remove an incorrect assertion. 2) Set the stack slot weight properly. 3) Resize the VirtRegMap when needed. llvm-svn: 54949
-
Owen Anderson authored
llvm-svn: 54939
-
Owen Anderson authored
llvm-svn: 54930
-
Owen Anderson authored
Resurrect some ancient code to add spill ranges without attempting folding, remat, or splitting. This code has been updated to current APIs in so far as it compiles and, in theory, works, but does not take advantage of recent advancements. For instance, it could be improved by using MachineRegisterInfo::use_iterator. llvm-svn: 54924
-
Bill Wendling authored
hoisting out some "test" and "cmp" instructions. This was obvious badness. llvm-svn: 54908
-
- Aug 17, 2008
-
-
Gordon Henriksen authored
llvm-svn: 54902
-
Gordon Henriksen authored
llvm-svn: 54901
-
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
-
Gordon Henriksen authored
llvm-svn: 54895
-
Anton Korobeynikov authored
llvm-svn: 54891
-
Anton Korobeynikov authored
llvm-svn: 54885
-
Anton Korobeynikov authored
llvm-svn: 54884
-
Gordon Henriksen authored
Factor GC metadata table assembly generation out of Collector in preparation for splitting AsmPrinter into its own library. llvm-svn: 54881
-
Gordon Henriksen authored
Factor GC metadata table assembly generation out of Collector in preparation for splitting AsmPrinter into its own library. llvm-svn: 54880
-
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 16, 2008
-
-
Anton Korobeynikov authored
Move SLEB/ULEB size calculation routines from AsmPrinter to TargetAsmInfo. This makes JIT asmprinter-free. llvm-svn: 54843
-
- Aug 15, 2008
-
-
Owen Anderson authored
Convert several std::vectors over to SmallVector, and use reserve() as appropriate for cases where std::vector is still used. llvm-svn: 54820
-
Owen Anderson authored
llvm-svn: 54810
-
Owen Anderson authored
llvm-svn: 54807
-
Owen Anderson authored
Convert uses of std::vector in TargetInstrInfo to SmallVector. This change had to be propoagated down into all the targets and up into all clients of this API. llvm-svn: 54802
-
- Aug 14, 2008
-
-
Dan Gohman authored
llvm-svn: 54793
-
Owen Anderson authored
llvm-svn: 54787
-
Dan Gohman authored
llvm-svn: 54784
-
Owen Anderson authored
subregister query, and by increasing the size of the subregister hashtable so that there are fewer collisions. llvm-svn: 54781
-
Dan Gohman authored
llvm-svn: 54780
-
Owen Anderson authored
llvm-svn: 54770
-
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
-
Owen Anderson authored
llvm-svn: 54766
-
Owen Anderson authored
llvm-svn: 54765
-
- Aug 13, 2008
-
-
Dan Gohman authored
non-constant indices. Only a few of the peephole checks require a constant index. llvm-svn: 54764
-
Owen Anderson authored
Make the allocation of LiveIntervals explicit, rather than holding them in the r2iMap_ by value. This will prevent references to them from being invalidated if the map is changed. llvm-svn: 54763
-
Dan Gohman authored
the comments in FastISelEmitter.cpp for details on what this is. This is currently experimental and unusable. llvm-svn: 54751
-
Dan Gohman authored
room for the new FastISel instruction selection code. llvm-svn: 54749
-
Owen Anderson authored
llvm-svn: 54742
-
Owen Anderson authored
2) Conditionalize temporary insertion if we don't need it. llvm-svn: 54741
-
- Aug 12, 2008
-
-
Dan Gohman authored
llvm-svn: 54688
-
- Aug 11, 2008
-
-
Dan Gohman authored
of stack objects. This fixes PR2656. llvm-svn: 54646
-