mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 07:24:47 +00:00
Move getRegPressureLimit() from TargetLoweringInfo to TargetRegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127175 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -190,14 +190,6 @@ public:
|
||||
return RepRegClassCostForVT[VT.getSimpleVT().SimpleTy];
|
||||
}
|
||||
|
||||
/// getRegPressureLimit - Return the register pressure "high water mark" for
|
||||
/// the specific register class. The scheduler is in high register pressure
|
||||
/// mode (for the specific register class) if it goes over the limit.
|
||||
virtual unsigned getRegPressureLimit(const TargetRegisterClass *RC,
|
||||
MachineFunction &MF) const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// isTypeLegal - Return true if the target has native support for the
|
||||
/// specified value type. This means that it has a register that directly
|
||||
/// holds it without promotions or expansions.
|
||||
|
@@ -595,6 +595,14 @@ public:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/// getRegPressureLimit - Return the register pressure "high water mark" for
|
||||
/// the specific register class. The scheduler is in high register pressure
|
||||
/// mode (for the specific register class) if it goes over the limit.
|
||||
virtual unsigned getRegPressureLimit(const TargetRegisterClass *RC,
|
||||
MachineFunction &MF) const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// getAllocationOrder - Returns the register allocation order for a specified
|
||||
/// register class in the form of a pair of TargetRegisterClass iterators.
|
||||
virtual std::pair<TargetRegisterClass::iterator,TargetRegisterClass::iterator>
|
||||
|
Reference in New Issue
Block a user