• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 namespace rdf {
18   struct HexagonRegisterAliasInfo : public RegisterAliasInfo {
HexagonRegisterAliasInfoHexagonRegisterAliasInfo19     HexagonRegisterAliasInfo(const TargetRegisterInfo &TRI)
20       : RegisterAliasInfo(TRI) {}
21     bool covers(RegisterRef RA, RegisterRef RR) const override;
22     bool covers(const RegisterSet &RRs, RegisterRef RR) const override;
23   };
24 } // namespace rdf
25 } // namespace llvm
26 
27 #endif
28 
29