blob: 00c1889e8eb526104966f2b374744f6f49a72696 [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;
16}
17
18namespace 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