mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 23:33:57 +00:00
Add new optional getRegisterInfo to TargetMachine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1049164aa6
commit
478df7a7ae
@ -17,6 +17,7 @@ class MachineRegInfo;
|
|||||||
class MachineFrameInfo;
|
class MachineFrameInfo;
|
||||||
class MachineCacheInfo;
|
class MachineCacheInfo;
|
||||||
class MachineOptInfo;
|
class MachineOptInfo;
|
||||||
|
class MRegisterInfo;
|
||||||
class PassManager;
|
class PassManager;
|
||||||
class Pass;
|
class Pass;
|
||||||
|
|
||||||
@ -66,6 +67,12 @@ public:
|
|||||||
virtual const MachineCacheInfo& getCacheInfo() const = 0;
|
virtual const MachineCacheInfo& getCacheInfo() const = 0;
|
||||||
virtual const MachineOptInfo& getOptInfo() const = 0;
|
virtual const MachineOptInfo& getOptInfo() const = 0;
|
||||||
|
|
||||||
|
/// getRegisterInfo - If register information is available, return it. If
|
||||||
|
/// not, return null. This is kept seperate from RegInfo until RegInfo gets
|
||||||
|
/// straightened out.
|
||||||
|
///
|
||||||
|
virtual const MRegisterInfo* getRegisterInfo() const { return 0; }
|
||||||
|
|
||||||
// Data storage information
|
// Data storage information
|
||||||
//
|
//
|
||||||
virtual unsigned findOptimalStorageSize(const Type* ty) const;
|
virtual unsigned findOptimalStorageSize(const Type* ty) const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user