Searched refs:NewIndices (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 763 SmallVectorImpl<Value*> &NewIndices) { in FindElementAtOffset() argument 785 NewIndices.push_back(ConstantInt::get(IntPtrTy, FirstIdx)); in FindElementAtOffset() 799 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()), in FindElementAtOffset() 807 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize)); in FindElementAtOffset() 1356 SmallVector<Value*, 8> NewIndices; in visitGetElementPtrInst() local 1359 if (FindElementAtOffset(InTy, Offset.getSExtValue(), NewIndices)) { in visitGetElementPtrInst() 1361 Builder->CreateInBoundsGEP(BCI->getOperand(0), NewIndices) : in visitGetElementPtrInst() 1362 Builder->CreateGEP(BCI->getOperand(0), NewIndices); in visitGetElementPtrInst()
|
D | InstCombineCasts.cpp | 1374 SmallVector<Value*, 8> NewIndices; in commonPointerCastTransforms() local 1375 if (FindElementAtOffset(GEPIdxTy, Offset.getSExtValue(), NewIndices)) { in commonPointerCastTransforms() 1380 Builder->CreateInBoundsGEP(OrigBase, NewIndices) : in commonPointerCastTransforms() 1381 Builder->CreateGEP(OrigBase, NewIndices); in commonPointerCastTransforms()
|
D | InstCombine.h | 216 SmallVectorImpl<Value*> &NewIndices);
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1943 SmallVector<Value*, 16> NewIndices; in ConstantFoldGetElementPtrImpl() local 1944 NewIndices.reserve(Idxs.size() + CE->getNumOperands()); in ConstantFoldGetElementPtrImpl() 1946 NewIndices.push_back(CE->getOperand(i)); in ConstantFoldGetElementPtrImpl() 1965 NewIndices.push_back(Combined); in ConstantFoldGetElementPtrImpl() 1966 NewIndices.append(Idxs.begin() + 1, Idxs.end()); in ConstantFoldGetElementPtrImpl() 1968 ConstantExpr::getGetElementPtr(CE->getOperand(0), NewIndices, in ConstantFoldGetElementPtrImpl()
|