summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PBQP/HeuristicSolver.h
Commit message (Collapse)AuthorAgeFilesLines
* Added a separate class (PBQPBuilder) for PBQP Problem construction. This ↵Lang Hames2010-09-181-616/+0
| | | | | | | | | | | | class can be extended to support custom constraints. For now the allocator still uses the old (internal) construction mechanism by default. This will be phased out soon assuming no issues with the builder system come up. To invoke the new construction mechanism just pass '-regalloc=pbqp -pbqp-builder' to llc. To provide custom constraints a Target just needs to extend PBQPBuilder and pass an instance of their derived builder to the RegAllocPBQP constructor. llvm-svn: 114272
* Added counters for PBQP reduction rules.Lang Hames2010-09-021-0/+9
| | | | llvm-svn: 112807
* Convert some tab stops into spaces.Duncan Sands2010-07-121-1/+1
| | | | llvm-svn: 108130
* Fix various doxygen warnings.Dan Gohman2010-02-221-2/+2
| | | | llvm-svn: 96779
* * Updated the cost matrix normalization proceedure to better handle infinite ↵Lang Hames2010-02-121-5/+20
| | | | | | | | | | costs. * Enabled R1/R2 application for nodes with infinite spill costs in the Briggs heuristic (made safe by the changes to the normalization proceedure). * Removed a redundant header. llvm-svn: 95973
* Fix "the the" and similar typos.Dan Gohman2010-02-101-1/+1
| | | | llvm-svn: 95781
* Added copy sensible construction & assignment to PBQP graphs and fixed a ↵Lang Hames2010-02-091-16/+15
| | | | | | memory access bug in the heuristic solver. llvm-svn: 95633
* New PBQP solver.Lang Hames2010-01-261-655/+459
| | | | | | | | | * Fixed a reduction bug which occasionally led to infinite-cost (invalid) register allocation solutions despite the existence finite-cost solutions. * Significantly reduced memory usage (>50% reduction). * Simplified a lot of the solver code. llvm-svn: 94514
* Fixed malformed -*- lines in PBQP headers.Lang Hames2010-01-061-1/+1
| | | | llvm-svn: 92830
* Fix a bunch of little errors that Clang complains about when its being pedanticDouglas Gregor2009-12-191-1/+1
| | | | llvm-svn: 91764
* Remove <iostream>.Bill Wendling2009-08-151-20/+17
| | | | llvm-svn: 79146
* Added legal stuff, fixed some formatting issues. Removed the graph generator ↵Lang Hames2009-08-071-39/+32
| | | | | | stuff as it was only meant for debugging the solver. llvm-svn: 78359
* New C++ PBQP solver. Currently about as fast (read _slow_) as the old C ↵Lang Hames2009-08-061-0/+799
based solver, but I'll be working to improve that. The PBQP allocator has been updated to use the new solver. llvm-svn: 78354
OpenPOWER on IntegriCloud