mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Added a target specific hook to check whether / how a node can be transformed
into a pair of base / offset nodes for pre-indexed load / store ops. llvm-svn: 31407
This commit is contained in:
parent
b19289a84d
commit
9ebbced355
@ -371,6 +371,16 @@ public:
|
||||
unsigned getJumpBufAlignment() const {
|
||||
return JumpBufAlignment;
|
||||
}
|
||||
|
||||
/// getLegalPreIndexedAddressBase - returns true by value, base pointer and
|
||||
/// offset pointer and addressing mode by reference if the node's address
|
||||
/// can be legally represented as pre-indexed load / store address.
|
||||
virtual bool getLegalPreIndexedAddressBase(SDNode *N, SDOperand &Base,
|
||||
SDOperand &Offset,
|
||||
ISD::MemOpAddrMode &AM,
|
||||
SelectionDAG &DAG) {
|
||||
return false;
|
||||
}
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// TargetLowering Optimization Methods
|
||||
|
Loading…
x
Reference in New Issue
Block a user