diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-04 08:08:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-04 08:08:34 +0000 |
commit | 33d9cb990365f9ab0b131a65a13ed0838bd0a316 (patch) | |
tree | c5a0f416d5f6ff546bf6930546d2c50e55195a2e /llvm/lib/Transforms/LevelRaise.cpp | |
parent | f00563d39d789f4cddb1c33a1b41c3f2959c6948 (diff) | |
download | bcm5719-llvm-33d9cb990365f9ab0b131a65a13ed0838bd0a316.tar.gz bcm5719-llvm-33d9cb990365f9ab0b131a65a13ed0838bd0a316.zip |
Minor method rename
llvm-svn: 1119
Diffstat (limited to 'llvm/lib/Transforms/LevelRaise.cpp')
-rw-r--r-- | llvm/lib/Transforms/LevelRaise.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/LevelRaise.cpp b/llvm/lib/Transforms/LevelRaise.cpp index b5f70568929..ff932b69123 100644 --- a/llvm/lib/Transforms/LevelRaise.cpp +++ b/llvm/lib/Transforms/LevelRaise.cpp @@ -250,7 +250,7 @@ static bool ExpressionConvertableToType(Value *V, const Type *Ty) { // index array. If there are, check to see if removing them causes us to // get to the right type... // - vector<ConstPoolVal*> Indices = GEP->getIndexVec(); + vector<ConstPoolVal*> Indices = GEP->getIndices(); const Type *BaseType = GEP->getPtrOperand()->getType(); while (Indices.size() && @@ -333,7 +333,7 @@ static Value *ConvertExpressionToType(Value *V, const Type *Ty) { // index array. If there are, check to see if removing them causes us to // get to the right type... // - vector<ConstPoolVal*> Indices = GEP->getIndexVec(); + vector<ConstPoolVal*> Indices = GEP->getIndices(); const Type *BaseType = GEP->getPtrOperand()->getType(); const Type *PVTy = cast<PointerType>(Ty)->getValueType(); Res = 0; @@ -709,7 +709,7 @@ static bool PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) { PRINT_PEEPHOLE2("gep-store:in", GEP, SI); ReplaceInstWithInst(BB->getInstList(), BI, SI = new StoreInst(Val, GEP->getPtrOperand(), - GEP->getIndexVec())); + GEP->getIndices())); PRINT_PEEPHOLE1("gep-store:out", SI); return true; } @@ -757,7 +757,7 @@ static bool PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) { PRINT_PEEPHOLE2("gep-load:in", GEP, LI); ReplaceInstWithInst(BB->getInstList(), BI, LI = new LoadInst(GEP->getPtrOperand(), - GEP->getIndexVec())); + GEP->getIndices())); PRINT_PEEPHOLE1("gep-load:out", LI); return true; } |