aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-02-14 20:12:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-02-14 20:12:38 +0000
commitc4f8eee05447a1d7ead3deabbeb087e3e037f3f8 (patch)
tree66d2b17ad85e2c61f30ec311fd62df9c65ae824f
parentac940ab1bf21be40f74a83b202419a20ad2e279f (diff)
downloadexternal_llvm-c4f8eee05447a1d7ead3deabbeb087e3e037f3f8.zip
external_llvm-c4f8eee05447a1d7ead3deabbeb087e3e037f3f8.tar.gz
external_llvm-c4f8eee05447a1d7ead3deabbeb087e3e037f3f8.tar.bz2
Keep to < 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26177 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index a9d0cc0..820fb4e 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1563,12 +1563,12 @@ static SDOperand getMemBasePlusOffset(SDOperand Base, unsigned Offset,
return DAG.getNode(ISD::ADD, VT, Base, DAG.getConstant(Offset, VT));
}
-/// MeetMaxMemopRequirement - Determines if the number of memory ops required
+/// MeetsMaxMemopRequirement - Determines if the number of memory ops required
/// to replace the memset / memcpy is below the threshold. It also returns the
/// types of the sequence of memory ops to perform memset / memcpy.
-static bool MeetMaxMemopRequirement(std::vector<MVT::ValueType> &MemOps,
- unsigned Limit,
- uint64_t Size, unsigned Align, TargetLowering &TLI) {
+static bool MeetsMaxMemopRequirement(std::vector<MVT::ValueType> &MemOps,
+ unsigned Limit, uint64_t Size,
+ unsigned Align, TargetLowering &TLI) {
MVT::ValueType VT;
if (TLI.allowsUnalignedMemoryAccesses()) {
@@ -1633,8 +1633,8 @@ void SelectionDAGLowering::visitMemIntrinsic(CallInst &I, unsigned Op) {
switch (Op) {
default: break; // Do nothing for now.
case ISD::MEMSET: {
- if (MeetMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(),
- Size->getValue(), Align, TLI)) {
+ if (MeetsMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(),
+ Size->getValue(), Align, TLI)) {
unsigned NumMemOps = MemOps.size();
unsigned Offset = 0;
for (unsigned i = 0; i < NumMemOps; i++) {