summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64Subtarget.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-10-09 18:20:51 +0000
committerLang Hames <lhames@gmail.com>2014-10-09 18:20:51 +0000
commit8f31f448c5aff821b134f36a3ee8e9f4ef50cbda (patch)
treea8095c87c55323bb54c7d5ade7ae2506b6e5721a /llvm/lib/Target/AArch64/AArch64Subtarget.h
parent8dd392e135d9908f3864f3ea4f2ade192099eea7 (diff)
downloadbcm5719-llvm-8f31f448c5aff821b134f36a3ee8e9f4ef50cbda.tar.gz
bcm5719-llvm-8f31f448c5aff821b134f36a3ee8e9f4ef50cbda.zip
[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. llvm-svn: 219421
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64Subtarget.h')
-rw-r--r--llvm/lib/Target/AArch64/AArch64Subtarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.h b/llvm/lib/Target/AArch64/AArch64Subtarget.h
index b2cd0cd5738..06bd3698c6a 100644
--- a/llvm/lib/Target/AArch64/AArch64Subtarget.h
+++ b/llvm/lib/Target/AArch64/AArch64Subtarget.h
@@ -142,6 +142,8 @@ public:
unsigned NumRegionInstrs) const override;
bool enableEarlyIfConversion() const override;
+
+ std::unique_ptr<PBQPRAConstraint> getCustomPBQPConstraints() const override;
};
} // End llvm namespace
OpenPOWER on IntegriCloud