Home
last modified time | relevance | path

Searched refs:NewIndices (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp873 SmallVectorImpl<Value *> &NewIndices) { in FindElementAtOffset() argument
896 NewIndices.push_back(ConstantInt::get(IntPtrTy, FirstIdx)); in FindElementAtOffset()
910 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()), in FindElementAtOffset()
918 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize)); in FindElementAtOffset()
1774 SmallVector<Value*, 8> NewIndices; in visitGetElementPtrInst() local
1775 if (FindElementAtOffset(OpType, Offset.getSExtValue(), NewIndices)) { in visitGetElementPtrInst()
1778 ? Builder->CreateInBoundsGEP(nullptr, Operand, NewIndices) in visitGetElementPtrInst()
1779 : Builder->CreateGEP(nullptr, Operand, NewIndices); in visitGetElementPtrInst()
DInstCombineInternal.h355 SmallVectorImpl<Value *> &NewIndices);
/external/llvm/lib/IR/
DConstantFold.cpp2095 SmallVector<Value*, 16> NewIndices; in ConstantFoldGetElementPtrImpl() local
2096 NewIndices.reserve(Idxs.size() + CE->getNumOperands()); in ConstantFoldGetElementPtrImpl()
2097 NewIndices.append(CE->op_begin() + 1, CE->op_end() - 1); in ConstantFoldGetElementPtrImpl()
2122 NewIndices.push_back(Combined); in ConstantFoldGetElementPtrImpl()
2123 NewIndices.append(Idxs.begin() + 1, Idxs.end()); in ConstantFoldGetElementPtrImpl()
2126 NewIndices, inBounds && cast<GEPOperator>(CE)->isInBounds()); in ConstantFoldGetElementPtrImpl()