1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00

[Target] Add an accessor to the register bank information.

llvm-svn: 265483
This commit is contained in:
Quentin Colombet 2016-04-05 22:50:40 +00:00
parent 6e8ec540e6
commit 7f95e0c4a3

View File

@ -27,6 +27,7 @@ class CallLowering;
class DataLayout;
class MachineFunction;
class MachineInstr;
class RegisterBankInfo;
class SDep;
class SUnit;
class TargetFrameLowering;
@ -99,6 +100,10 @@ public:
///
virtual const TargetRegisterInfo *getRegisterInfo() const { return nullptr; }
/// If the information for the register banks is available, return it.
/// Otherwise return nullptr.
virtual const RegisterBankInfo *getRegBankInfo() const { return nullptr; }
/// getInstrItineraryData - Returns instruction itinerary data for the target
/// or specific subtarget.
///