Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:problem

12 // problem representing the register allocation problem under consideration,
78 /// PBQP based allocators solve the register allocation problem by mapping
148 /// \brief Given a solved PBQP problem maps this solution back to a register
150 bool mapPBQPToRegAlloc(const PBQPRAProblem &problem,
276 // Record the mapping and allowed set in the problem.
514 bool RegAllocPBQP::mapPBQPToRegAlloc(const PBQPRAProblem &problem,
522 const PBQP::Graph &g = problem.getGraph();
528 unsigned vreg = problem.getVRegForNode(node);
531 if (problem.isPRegOption(vreg, alloc)) {
532 unsigned preg = problem.getPRegForOption(vreg, alloc);
536 } else if (problem.isSpillOption(vreg, alloc)) {
659 // * Map current regalloc problem to a PBQP problem
660 // * Solve the PBQP problem
678 std::auto_ptr<PBQPRAProblem> problem =
682 problem->getGraph());
684 pbqpAllocComplete = mapPBQPToRegAlloc(*problem, solution);