Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantFold.cpp2239 Constant *PrevIdx = cast<Constant>(Idxs[i - 1]); in ConstantFoldGetElementPtrImpl() local
2243 std::max(PrevIdx->getType()->getIntegerBitWidth(), in ConstantFoldGetElementPtrImpl()
2249 if (!PrevIdx->getType()->isIntegerTy(CommonExtendedWidth)) in ConstantFoldGetElementPtrImpl()
2250 PrevIdx = ConstantExpr::getSExt( in ConstantFoldGetElementPtrImpl()
2251 PrevIdx, Type::getIntNTy(Div->getContext(), CommonExtendedWidth)); in ConstantFoldGetElementPtrImpl()
2256 NewIdxs[i - 1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp2284 Constant *PrevIdx = cast<Constant>(Idxs[i-1]); in ConstantFoldGetElementPtrImpl() local
2289 if (!PrevIdx->getType()->isIntegerTy(64)) in ConstantFoldGetElementPtrImpl()
2290 PrevIdx = ConstantExpr::getSExt(PrevIdx, in ConstantFoldGetElementPtrImpl()
2296 NewIdxs[i-1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtrImpl()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp835 unsigned PrevIdx = MTPI->second; in visitMemTransferInst() local
837 Slice &PrevP = AS.Slices[PrevIdx]; in visitMemTransferInst()
855 assert(AS.Slices[PrevIdx].getUse()->getUser() == &II && in visitMemTransferInst()