Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:problem

12 // problem representing the register allocation problem under consideration,
85 /// PBQP based allocators solve the register allocation problem by mapping
146 /// \brief Given a solved PBQP problem maps this solution back to a register
148 bool mapPBQPToRegAlloc(const PBQPRAProblem &problem,
253 // Record the mapping and allowed set in the problem.
469 bool RegAllocPBQP::mapPBQPToRegAlloc(const PBQPRAProblem &problem,
477 const PBQP::Graph &g = problem.getGraph();
483 unsigned vreg = problem.getVRegForNode(node);
486 if (problem.isPRegOption(vreg, alloc)) {
487 unsigned preg = problem.getPRegForOption(vreg, alloc);
492 } else if (problem.isSpillOption(vreg, alloc)) {
562 // * Map current regalloc problem to a PBQP problem
563 // * Solve the PBQP problem
588 OwningPtr<PBQPRAProblem> problem(
600 problem->getGraph().dump(os);
606 problem->getGraph());
608 pbqpAllocComplete = mapPBQPToRegAlloc(*problem, solution);