[llvm-commits] [llvm] r168560 - /llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Nadav Rotem
nrotem at apple.com
Sun Nov 25 01:13:57 PST 2012
Author: nadav
Date: Sun Nov 25 03:13:57 2012
New Revision: 168560
URL: http://llvm.org/viewvc/llvm-project?rev=168560&view=rev
Log:
Rename method. No functionality change.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=168560&r1=168559&r2=168560&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Sun Nov 25 03:13:57 2012
@@ -268,7 +268,7 @@
}
/// Insert a pointer and calculate the start and end SCEVs.
- void insert_pointer(ScalarEvolution *SE, Loop *Lp, Value *Ptr) {
+ void insert(ScalarEvolution *SE, Loop *Lp, Value *Ptr) {
const SCEV *Sc = SE->getSCEV(Ptr);
const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Sc);
assert(AR && "Invalid addrec expression");
@@ -1667,7 +1667,7 @@
bool RT = true;
for (I = ReadWrites.begin(), IE = ReadWrites.end(); I != IE; ++I)
if (hasComputableBounds(*I)) {
- PtrRtCheck.insert_pointer(SE, TheLoop, *I);
+ PtrRtCheck.insert(SE, TheLoop, *I);
DEBUG(dbgs() << "LV: Found a runtime check ptr:" << **I <<"\n");
} else {
RT = false;
@@ -1675,7 +1675,7 @@
}
for (I = Reads.begin(), IE = Reads.end(); I != IE; ++I)
if (hasComputableBounds(*I)) {
- PtrRtCheck.insert_pointer(SE, TheLoop, *I);
+ PtrRtCheck.insert(SE, TheLoop, *I);
DEBUG(dbgs() << "LV: Found a runtime check ptr:" << **I <<"\n");
} else {
RT = false;
More information about the llvm-commits
mailing list