Krzysztof Parzyszek | 1279881 | 2016-01-12 19:09:01 +0000 | [diff] [blame] | 1 | //===--- HexagonRDF.h -----------------------------------------------------===// |
| 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 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef HEXAGON_RDF_H |
| 11 | #define HEXAGON_RDF_H |
| 12 | #include "RDFGraph.h" |
| 13 | |
| 14 | namespace llvm { |
| 15 | class TargetRegisterInfo; |
| 16 | } |
| 17 | |
| 18 | namespace rdf { |
| 19 | struct HexagonRegisterAliasInfo : public RegisterAliasInfo { |
| 20 | HexagonRegisterAliasInfo(const TargetRegisterInfo &TRI) |
| 21 | : RegisterAliasInfo(TRI) {} |
| 22 | bool covers(RegisterRef RA, RegisterRef RR) const override; |
| 23 | bool covers(const RegisterSet &RRs, RegisterRef RR) const override; |
| 24 | }; |
| 25 | } |
| 26 | |
| 27 | #endif |
| 28 | |