Searched defs:NewIndices (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/VMCore/
H A DConstantFold.cpp1945 SmallVector<Value*, 16> NewIndices; local
1946 NewIndices.reserve(Idxs.size() + CE->getNumOperands());
1948 NewIndices.push_back(CE->getOperand(i));
1967 NewIndices.push_back(Combined);
1968 NewIndices.append(Idxs.begin() + 1, Idxs.end());
1970 ConstantExpr::getGetElementPtr(CE->getOperand(0), NewIndices,
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1352 SmallVector<Value*, 8> NewIndices; local
1353 if (FindElementAtOffset(GEPIdxTy, Offset, NewIndices)) {
1358 Builder->CreateInBoundsGEP(OrigBase, NewIndices) :
1359 Builder->CreateGEP(OrigBase, NewIndices);
H A DInstructionCombining.cpp735 /// the specified offset. If so, fill them into NewIndices and return the
738 SmallVectorImpl<Value*> &NewIndices) {
760 NewIndices.push_back(ConstantInt::get(IntPtrTy, FirstIdx));
774 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()),
782 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize));
1085 SmallVector<Value*, 8> NewIndices; local
1088 if (FindElementAtOffset(InTy, Offset, NewIndices)) {
1090 Builder->CreateInBoundsGEP(BCI->getOperand(0), NewIndices) :
1091 Builder->CreateGEP(BCI->getOperand(0), NewIndices);
737 FindElementAtOffset(Type *Ty, int64_t Offset, SmallVectorImpl<Value*> &NewIndices) argument

Completed in 52 milliseconds