mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-04 19:07:26 +00:00

- Handle simple cases of register copies (what current RDF CP allows). - Hexagon-specific dead code elimination: handles dead address updates in post-increment instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257504 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
782 B
C++
29 lines
782 B
C++
//===--- 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
|
|
|