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:
parent
6e8ec540e6
commit
7f95e0c4a3
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user