Searched refs:PrevIdx (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 2307 auto *PrevIdx = in ConstantFoldGetElementPtr() local 2310 bool IsPrevIdxVector = PrevIdx->getType()->isVectorTy(); in ConstantFoldGetElementPtr() 2315 PrevIdx->getType()->getVectorNumElements(), CurrIdx); in ConstantFoldGetElementPtr() 2318 PrevIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr() 2319 CurrIdx->getType()->getVectorNumElements(), PrevIdx); in ConstantFoldGetElementPtr() 2325 IsPrevIdxVector ? PrevIdx->getType()->getVectorNumElements() in ConstantFoldGetElementPtr() 2334 std::max(PrevIdx->getType()->getScalarSizeInBits(), in ConstantFoldGetElementPtr() 2344 ? PrevIdx->getType()->getVectorNumElements() in ConstantFoldGetElementPtr() 2347 if (!PrevIdx->getType()->isIntOrIntVectorTy(CommonExtendedWidth)) in ConstantFoldGetElementPtr() 2348 PrevIdx = ConstantExpr::getSExt(PrevIdx, ExtendedTy); in ConstantFoldGetElementPtr() [all …]
|
D | Verifier.cpp | 4959 unsigned PrevIdx = Idx - NumOpsPerField; in getFieldNodeFromTBAABaseNode() local 4961 mdconst::extract<ConstantInt>(BaseNode->getOperand(PrevIdx + 1)); in getFieldNodeFromTBAABaseNode() 4963 return cast<MDNode>(BaseNode->getOperand(PrevIdx)); in getFieldNodeFromTBAABaseNode()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 2239 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/ |
D | ConstantFold.cpp | 2284 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 885 unsigned PrevIdx = MTPI->second; in visitMemTransferInst() local 887 Slice &PrevP = AS.Slices[PrevIdx]; in visitMemTransferInst() 905 assert(AS.Slices[PrevIdx].getUse()->getUser() == &II && in visitMemTransferInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 835 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()
|