LLVM API Documentation
PBQP heuristic solver class. More...
#include <HeuristicSolver.h>
Static Public Member Functions | |
static Solution | solve (Graph &g) |
PBQP heuristic solver class.
Given a PBQP Graph g representing a PBQP problem, you can find a solution by calling Solution s = HeuristicSolver<H>::solve(g);
The choice of heuristic for the H parameter will affect both the solver speed and solution quality. The heuristic should be chosen based on the nature of the problem being solved. Currently the only solver included with LLVM is the Briggs heuristic for register allocation.
Definition at line 608 of file HeuristicSolver.h.
|
inlinestatic |
Definition at line 610 of file HeuristicSolver.h.
References PBQP::HeuristicSolverImpl< HImpl >::computeSolution().