Lines Matching defs:problem
12 // problem representing the register allocation problem under consideration,
85 /// PBQP based allocators solve the register allocation problem by mapping
145 /// \brief Given a solved PBQP problem maps this solution back to a register
147 bool mapPBQPToRegAlloc(const PBQPRAProblem &problem,
252 // Record the mapping and allowed set in the problem.
467 bool RegAllocPBQP::mapPBQPToRegAlloc(const PBQPRAProblem &problem,
475 const PBQP::Graph &g = problem.getGraph();
481 unsigned vreg = problem.getVRegForNode(*nodeItr);
484 if (problem.isPRegOption(vreg, alloc)) {
485 unsigned preg = problem.getPRegForOption(vreg, alloc);
490 } else if (problem.isSpillOption(vreg, alloc)) {
564 // * Map current regalloc problem to a PBQP problem
565 // * Solve the PBQP problem
590 OwningPtr<PBQPRAProblem> problem(
602 problem->getGraph().dump(os);
608 problem->getGraph());
610 pbqpAllocComplete = mapPBQPToRegAlloc(*problem, solution);