Lines Matching defs:Solution
2266 void SolveRecurse(SmallVectorImpl<const Formula *> &Solution,
2272 void Solve(SmallVectorImpl<const Formula *> &Solution) const;
2289 void ImplementSolution(const SmallVectorImpl<const Formula *> &Solution);
5423 void LSRInstance::SolveRecurse(SmallVectorImpl<const Formula *> &Solution,
5484 SolveRecurse(Solution, SolutionCost, Workspace, NewCost,
5496 Solution = Workspace;
5503 /// Choose one formula from each use. Return the results in the given Solution
5505 void LSRInstance::Solve(SmallVectorImpl<const Formula *> &Solution) const {
5515 SolveRecurse(Solution, SolutionCost, Workspace, CurCost,
5517 if (Solution.empty()) {
5518 LLVM_DEBUG(dbgs() << "\nNo Satisfactory Solution\n");
5531 Solution[i]->print(dbgs());
5535 assert(Solution.size() == Uses.size() && "Malformed solution!");
5557 Solution.clear();
6067 const SmallVectorImpl<const Formula *> &Solution) {
6086 Rewrite(Uses[LUIdx], Fixup, *Solution[LUIdx], DeadInsts);
6243 SmallVector<const Formula *, 8> Solution;
6244 Solve(Solution);
6251 if (Solution.empty())
6264 ImplementSolution(Solution);