mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
[PBQP] Replace PBQPBuilder with composable constraints (PBQPRAConstraint).
This patch removes the PBQPBuilder class and its subclasses and replaces them with a composable constraints class: PBQPRAConstraint. This allows constraints that are only required for optimisation (e.g. coalescing, soft pairing) to be mixed and matched. This patch also introduces support for target writers to supply custom constraints for their targets by overriding a TargetSubtargetInfo method: std::unique_ptr<PBQPRAConstraints> getCustomPBQPConstraints() const; This patch should have no effect on allocations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219421 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "Math.h"
|
||||
#include <map>
|
||||
|
||||
namespace llvm {
|
||||
namespace PBQP {
|
||||
|
||||
/// \brief Represents a solution to a PBQP problem.
|
||||
@@ -87,6 +88,7 @@ namespace PBQP {
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace PBQP
|
||||
} // namespace llvm
|
||||
|
||||
#endif // LLVM_CODEGEN_PBQP_SOLUTION_H
|
||||
|
Reference in New Issue
Block a user