blob: 9a63150c377d0a525720aa70bd2f2ee23232af8d [file] [log] [blame]
Krzysztof Parzyszek12798812016-01-12 19:09:01 +00001//===--- 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
14namespace llvm {
15 class TargetRegisterInfo;
Krzysztof Parzyszek12798812016-01-12 19:09:01 +000016
17namespace rdf {
18 struct HexagonRegisterAliasInfo : public RegisterAliasInfo {
19 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 };
Benjamin Kramer922efd72016-05-27 10:06:40 +000024} // namespace rdf
25} // namespace llvm
Krzysztof Parzyszek12798812016-01-12 19:09:01 +000026
27#endif
28