| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 113108
|
|
|
|
| |
llvm-svn: 112809
|
|
|
|
| |
llvm-svn: 112807
|
|
|
|
|
|
|
|
|
|
|
| |
any command line paramater changed the register allocation produced by
PBQP.
Turns out variety is not the spice of life.
Fixed some comparators, added others. All good now.
llvm-svn: 108613
|
|
|
|
| |
llvm-svn: 108130
|
|
|
|
|
|
|
|
| |
assert()s, switching to void-casts. Removed an unneeded Compiler.h include as
a result. There are two other uses in LLVM, but they're not due to assert()s,
so I've left them alone.
llvm-svn: 108088
|
|
|
|
| |
llvm-svn: 96779
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 95781
|
|
|
|
|
|
| |
memory access bug in the heuristic solver.
llvm-svn: 95633
|
|
|
|
| |
llvm-svn: 94673
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
llvm-svn: 92830
|
|
|
|
| |
llvm-svn: 91764
|
|
|
|
| |
llvm-svn: 91636
|
|
|
|
|
|
| |
Patch by Erick Tryzelaar.
llvm-svn: 81116
|
|
|
|
| |
llvm-svn: 79146
|
|
|
|
| |
llvm-svn: 78667
|
|
|
|
| |
llvm-svn: 78447
|
|
|
|
|
|
| |
stuff as it was only meant for debugging the solver.
llvm-svn: 78359
|
|
based solver, but I'll be working to improve that. The PBQP allocator has been updated to use the new solver.
llvm-svn: 78354
|