diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-11-25 09:13:57 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-11-25 09:13:57 +0000 |
commit | a8e2b2b68fed9883bd41335f57f1193ffcc22ed2 (patch) | |
tree | e96c004caec29e0232bf98f9e662bc6669eb68ee /lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | d7e0b7cdc59d04bec6cf5273cde3d2a16b13800e (diff) |
Rename method. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 84516eb61b..8ed4caf4ec 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -268,7 +268,7 @@ public: } /// 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 LoopVectorizationLegality::canVectorizeMemory(BasicBlock &BB) { 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 @@ bool LoopVectorizationLegality::canVectorizeMemory(BasicBlock &BB) { } 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; |