[AArch64] Cleanup A57PBQPConstraints
[oota-llvm.git] / lib / Target / AArch64 / AArch64PBQPRegAlloc.h
index 4bd780cd0ebcb661ef15ef069c82947d75b69990..4f656f94ea12f771427fbabe008965e748d1a78a 100644 (file)
 
 namespace llvm {
 
-class A57PBQPConstraints : public PBQPRAConstraint {
+/// Add the accumulator chaining constraint to a PBQP graph
+class A57ChainingConstraint : public PBQPRAConstraint {
 public:
-
   // Add A57 specific constraints to the PBQP graph.
   void apply(PBQPRAGraph &G) override;
 
 private:
   SmallSetVector<unsigned, 32> Chains;
+  const TargetRegisterInfo *TRI;
 
   // Add the accumulator chaining constraint, inside the chain, i.e. so that
   // parity(Rd) == parity(Ra).
@@ -32,7 +33,6 @@ private:
   // Add constraints between existing chains
   void addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
 };
-
 }
 
 #endif // LLVM_LIB_TARGET_AARCH64_AARCH64PBQPREGALOC_H