aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Hexagon/HexagonRDF.h
blob: 00c1889e8eb526104966f2b374744f6f49a72696 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//===--- HexagonRDF.h -----------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef HEXAGON_RDF_H
#define HEXAGON_RDF_H
#include "RDFGraph.h"

namespace llvm {
  class TargetRegisterInfo;
}

namespace rdf {
  struct HexagonRegisterAliasInfo : public RegisterAliasInfo {
    HexagonRegisterAliasInfo(const TargetRegisterInfo &TRI)
      : RegisterAliasInfo(TRI) {}
    bool covers(RegisterRef RA, RegisterRef RR) const override;
    bool covers(const RegisterSet &RRs, RegisterRef RR) const override;
  };
}

#endif