summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveStackAnalysis.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allowsBenjamin Kramer2010-03-301-1/+1
| | | | | | | only a single type of object to be allocated. Use it to make VNInfo destruction typesafe. llvm-svn: 99919
* The Indexes Patch.Lang Hames2009-11-031-7/+2
| | | | | | | | | | | | | | | | This introduces a new pass, SlotIndexes, which is responsible for numbering instructions for register allocation (and other clients). SlotIndexes numbering is designed to match the existing scheme, so this patch should not cause any changes in the generated code. For consistency, and to avoid naming confusion, LiveIndex has been renamed SlotIndex. The processImplicitDefs method of the LiveIntervals analysis has been moved into its own pass so that it can be run prior to SlotIndexes. This was necessary to match the existing numbering scheme. llvm-svn: 85979
* Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner2009-08-231-2/+1
| | | | | | update all code that this affects. llvm-svn: 79830
* shoot a few more std::ostream print methods in the head.Chris Lattner2009-08-231-4/+7
| | | | llvm-svn: 79814
* Update to in-place spilling framework. Includes live interval scaling and ↵Lang Hames2009-06-021-0/+9
| | | | | | trivial rewriter. llvm-svn: 72729
* In some rare cases, the register allocator can spill registers but end up ↵Evan Cheng2009-05-031-3/+9
| | | | | | | | | | not utilizing registers at all. The fundamental problem is linearscan's backtracking can end up freeing more than one allocated registers. However, reloads and restores might be folded into uses / defs and freed registers might not be used at all. VirtRegMap keeps track of allocations so it knows what's not used. As a horrible hack, the stack coloring can color spill slots with *free* registers. That is, it replace reload and spills with copies from and to the free register. It unfold instructions that load and store the spill slot and replace them with register using variants. Not yet enabled. This is part 1. More coming. llvm-svn: 70787
* Livestacks really does preserve everything.Evan Cheng2008-09-221-2/+1
| | | | llvm-svn: 56476
* Instead of setPreservesAll, just mark them preseving machine loop info and ↵Evan Cheng2008-09-221-1/+2
| | | | | | machine dominators. llvm-svn: 56475
* Mark several codegen passes as preserving all analysis.Evan Cheng2008-09-221-0/+1
| | | | llvm-svn: 56469
* Add a stack slot coloring pass. Not yet enabled.Evan Cheng2008-06-041-0/+50
llvm-svn: 51934
OpenPOWER on IntegriCloud