1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Rename getAnyLoad to getLoad is suggested by Evan.

llvm-svn: 48914
This commit is contained in:
Duncan Sands 2008-03-28 09:45:24 +00:00
parent 3b54c5fa08
commit 80f14df923
3 changed files with 22 additions and 22 deletions

View File

@ -379,7 +379,7 @@ public:
unsigned Alignment=0);
SDOperand getIndexedLoad(SDOperand OrigLoad, SDOperand Base,
SDOperand Offset, ISD::MemIndexedMode AM);
SDOperand getAnyLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType,
SDOperand getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType,
MVT::ValueType VT, SDOperand Chain,
SDOperand Ptr, SDOperand Offset,
const Value *SV, int SVOffset, MVT::ValueType EVT,

View File

@ -116,7 +116,7 @@ SDOperand DAGTypeLegalizer::FloatToIntRes_LOAD(SDNode *N) {
MVT::ValueType NVT = TLI.getTypeToTransformTo(N->getValueType(0));
LoadSDNode *L = cast<LoadSDNode>(N);
return DAG.getAnyLoad(L->getAddressingMode(), L->getExtensionType(),
return DAG.getLoad(L->getAddressingMode(), L->getExtensionType(),
NVT, L->getChain(), L->getBasePtr(), L->getOffset(),
L->getSrcValue(), L->getSrcValueOffset(),
L->getMemoryVT(), L->isVolatile(), L->getAlignment());

View File

@ -2448,7 +2448,7 @@ SDOperand SelectionDAG::getAtomic(unsigned Opcode, SDOperand Chain,
}
SDOperand
SelectionDAG::getAnyLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType,
SelectionDAG::getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType,
MVT::ValueType VT, SDOperand Chain,
SDOperand Ptr, SDOperand Offset,
const Value *SV, int SVOffset, MVT::ValueType EVT,
@ -2512,7 +2512,7 @@ SDOperand SelectionDAG::getLoad(MVT::ValueType VT,
const Value *SV, int SVOffset,
bool isVolatile, unsigned Alignment) {
SDOperand Undef = getNode(ISD::UNDEF, Ptr.getValueType());
return getAnyLoad(ISD::UNINDEXED, ISD::NON_EXTLOAD, VT, Chain, Ptr, Undef,
return getLoad(ISD::UNINDEXED, ISD::NON_EXTLOAD, VT, Chain, Ptr, Undef,
SV, SVOffset, VT, isVolatile, Alignment);
}
@ -2522,7 +2522,7 @@ SDOperand SelectionDAG::getExtLoad(ISD::LoadExtType ExtType, MVT::ValueType VT,
int SVOffset, MVT::ValueType EVT,
bool isVolatile, unsigned Alignment) {
SDOperand Undef = getNode(ISD::UNDEF, Ptr.getValueType());
return getAnyLoad(ISD::UNINDEXED, ExtType, VT, Chain, Ptr, Undef,
return getLoad(ISD::UNINDEXED, ExtType, VT, Chain, Ptr, Undef,
SV, SVOffset, EVT, isVolatile, Alignment);
}
@ -2532,7 +2532,7 @@ SelectionDAG::getIndexedLoad(SDOperand OrigLoad, SDOperand Base,
LoadSDNode *LD = cast<LoadSDNode>(OrigLoad);
assert(LD->getOffset().getOpcode() == ISD::UNDEF &&
"Load is already a indexed load!");
return getAnyLoad(AM, LD->getExtensionType(), OrigLoad.getValueType(),
return getLoad(AM, LD->getExtensionType(), OrigLoad.getValueType(),
LD->getChain(), Base, Offset, LD->getSrcValue(),
LD->getSrcValueOffset(), LD->getMemoryVT(),
LD->isVolatile(), LD->getAlignment());