mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
Rename
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31413 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b8f4e0aa17
commit
1a854be352
@ -372,10 +372,10 @@ public:
|
|||||||
return JumpBufAlignment;
|
return JumpBufAlignment;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getLegalPreIndexedAddressBase - returns true by value, base pointer and
|
/// getPreIndexedAddressParts - returns true by value, base pointer and
|
||||||
/// offset pointer and addressing mode by reference if the node's address
|
/// offset pointer and addressing mode by reference if the node's address
|
||||||
/// can be legally represented as pre-indexed load / store address.
|
/// can be legally represented as pre-indexed load / store address.
|
||||||
virtual bool getLegalPreIndexedAddressBase(SDNode *N, SDOperand &Base,
|
virtual bool getPreIndexedAddressParts(SDNode *N, SDOperand &Base,
|
||||||
SDOperand &Offset,
|
SDOperand &Offset,
|
||||||
ISD::MemOpAddrMode &AM,
|
ISD::MemOpAddrMode &AM,
|
||||||
SelectionDAG &DAG) {
|
SelectionDAG &DAG) {
|
||||||
|
@ -187,7 +187,7 @@ namespace {
|
|||||||
SDOperand BasePtr;
|
SDOperand BasePtr;
|
||||||
SDOperand Offset;
|
SDOperand Offset;
|
||||||
ISD::MemOpAddrMode AM = ISD::UNINDEXED;
|
ISD::MemOpAddrMode AM = ISD::UNINDEXED;
|
||||||
if (TLI.getLegalPreIndexedAddressBase(N, BasePtr, Offset, AM, DAG)) {
|
if (TLI.getPreIndexedAddressParts(N, BasePtr, Offset, AM, DAG)) {
|
||||||
// Try turning it into a pre-indexed load / store except when
|
// Try turning it into a pre-indexed load / store except when
|
||||||
// 1) Another use of base ptr is a predecessor of N. If ptr is folded
|
// 1) Another use of base ptr is a predecessor of N. If ptr is folded
|
||||||
// that would create a cycle.
|
// that would create a cycle.
|
||||||
|
Loading…
Reference in New Issue
Block a user