Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp733 SmallVectorImpl<Value*> &NewIndices) { in FindElementAtOffset() argument
755 NewIndices.push_back(ConstantInt::get(IntPtrTy, FirstIdx)); in FindElementAtOffset()
769 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()), in FindElementAtOffset()
777 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize)); in FindElementAtOffset()
1074 SmallVector<Value*, 8> NewIndices; in visitGetElementPtrInst() local
1077 if (FindElementAtOffset(InTy, Offset, NewIndices)) { in visitGetElementPtrInst()
1079 Builder->CreateInBoundsGEP(BCI->getOperand(0), NewIndices) : in visitGetElementPtrInst()
1080 Builder->CreateGEP(BCI->getOperand(0), NewIndices); in visitGetElementPtrInst()
DInstCombineCasts.cpp1357 SmallVector<Value*, 8> NewIndices; in commonPointerCastTransforms() local
1358 if (FindElementAtOffset(GEPIdxTy, Offset, NewIndices)) { in commonPointerCastTransforms()
1363 Builder->CreateInBoundsGEP(OrigBase, NewIndices) : in commonPointerCastTransforms()
1364 Builder->CreateGEP(OrigBase, NewIndices); in commonPointerCastTransforms()
DInstCombine.h206 SmallVectorImpl<Value*> &NewIndices);
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp929 SmallVectorImpl<Value *> &NewIndices) { in FindElementAtOffset() argument
952 NewIndices.push_back(ConstantInt::get(IntPtrTy, FirstIdx)); in FindElementAtOffset()
966 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()), in FindElementAtOffset()
974 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize)); in FindElementAtOffset()
1834 SmallVector<Value*, 8> NewIndices; in visitGetElementPtrInst() local
1835 if (FindElementAtOffset(OpType, Offset.getSExtValue(), NewIndices)) { in visitGetElementPtrInst()
1838 ? Builder->CreateInBoundsGEP(nullptr, Operand, NewIndices) in visitGetElementPtrInst()
1839 : Builder->CreateGEP(nullptr, Operand, NewIndices); in visitGetElementPtrInst()
DInstCombineInternal.h355 SmallVectorImpl<Value *> &NewIndices);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1045 SmallVectorImpl<Value *> &NewIndices) { in FindElementAtOffset() argument
1068 NewIndices.push_back(ConstantInt::get(IndexTy, FirstIdx)); in FindElementAtOffset()
1082 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()), in FindElementAtOffset()
1090 NewIndices.push_back(ConstantInt::get(IndexTy,Offset/EltSize)); in FindElementAtOffset()
2004 SmallVector<Value*, 8> NewIndices; in visitGetElementPtrInst() local
2005 if (FindElementAtOffset(SrcType, Offset.getSExtValue(), NewIndices)) { in visitGetElementPtrInst()
2008 ? Builder.CreateInBoundsGEP(nullptr, SrcOp, NewIndices) in visitGetElementPtrInst()
2009 : Builder.CreateGEP(nullptr, SrcOp, NewIndices); in visitGetElementPtrInst()
DInstCombineInternal.h435 SmallVectorImpl<Value *> &NewIndices);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp2161 SmallVector<Value*, 16> NewIndices; in ConstantFoldGetElementPtr() local
2162 NewIndices.reserve(Idxs.size() + CE->getNumOperands()); in ConstantFoldGetElementPtr()
2163 NewIndices.append(CE->op_begin() + 1, CE->op_end() - 1); in ConstantFoldGetElementPtr()
2188 NewIndices.push_back(Combined); in ConstantFoldGetElementPtr()
2189 NewIndices.append(Idxs.begin() + 1, Idxs.end()); in ConstantFoldGetElementPtr()
2200 NewIndices, InBounds && cast<GEPOperator>(CE)->isInBounds(), in ConstantFoldGetElementPtr()
/external/llvm/lib/IR/
DConstantFold.cpp2124 SmallVector<Value*, 16> NewIndices; in ConstantFoldGetElementPtrImpl() local
2125 NewIndices.reserve(Idxs.size() + CE->getNumOperands()); in ConstantFoldGetElementPtrImpl()
2126 NewIndices.append(CE->op_begin() + 1, CE->op_end() - 1); in ConstantFoldGetElementPtrImpl()
2151 NewIndices.push_back(Combined); in ConstantFoldGetElementPtrImpl()
2152 NewIndices.append(Idxs.begin() + 1, Idxs.end()); in ConstantFoldGetElementPtrImpl()
2155 NewIndices, inBounds && cast<GEPOperator>(CE)->isInBounds()); in ConstantFoldGetElementPtrImpl()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp2213 SmallVector<Value*, 16> NewIndices; in ConstantFoldGetElementPtrImpl() local
2214 NewIndices.reserve(Idxs.size() + CE->getNumOperands()); in ConstantFoldGetElementPtrImpl()
2216 NewIndices.push_back(CE->getOperand(i)); in ConstantFoldGetElementPtrImpl()
2235 NewIndices.push_back(Combined); in ConstantFoldGetElementPtrImpl()
2236 NewIndices.append(Idxs.begin() + 1, Idxs.end()); in ConstantFoldGetElementPtrImpl()
2238 ConstantExpr::getGetElementPtr(CE->getOperand(0), NewIndices, in ConstantFoldGetElementPtrImpl()