It's not legal to fold a load from a narrower stack slot into a wider instruction...
[llvm/avr.git] / lib / CodeGen / PBQP / Solver.h
bloba9c5f837c453e963a4d189b8c407fba30b85dc13
1 //===-- Solver.h ------- PBQP solver interface -----------------*- C++ --*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
11 #ifndef LLVM_CODEGEN_PBQP_SOLVER_H
12 #define LLVM_CODEGEN_PBQP_SOLVER_H
14 #include "SimpleGraph.h"
15 #include "Solution.h"
17 namespace PBQP {
19 /// \brief Interface for solver classes.
20 class Solver {
21 public:
23 virtual ~Solver() = 0;
24 virtual Solution solve(const SimpleGraph &orig) const = 0;
27 Solver::~Solver() {}
31 #endif // LLVM_CODEGEN_PBQP_SOLVER_H