summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PBQP/Solution.h
Commit message (Collapse)AuthorAgeFilesLines
* Added a separate class (PBQPBuilder) for PBQP Problem construction. This ↵Lang Hames2010-09-181-93/+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 initialisers for reduction rule counters.Lang Hames2010-09-051-0/+4
| | | | llvm-svn: 113108
* Added counters for PBQP reduction rules.Lang Hames2010-09-021-0/+31
| | | | llvm-svn: 112807
* New PBQP solver.Lang Hames2010-01-261-66/+36
| | | | | | | | | * 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
* Added legal stuff, fixed some formatting issues. Removed the graph generator ↵Lang Hames2009-08-071-0/+14
| | | | | | 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/+74
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