Searched refs:NewIdxs (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 803 SmallVector<Constant*, 32> NewIdxs; local 813 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], 819 NewIdxs.push_back(Ops[i]); 826 SrcElemTy, Ops[0], NewIdxs, /*InBounds=*/false, InRangeIndex); 946 SmallVector<Constant *, 32> NewIdxs; local 952 if (!NewIdxs.empty()) 973 NewIdxs.push_back(ConstantInt::get(IntIdxTy, 0)); 982 NewIdxs.push_back(ConstantInt::get(IntIdxTy, NewIdx)); 998 NewIdxs.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()), 1016 NewIdxs [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 2438 SmallVector<Constant *, 8> NewIdxs; local 2503 NewIdxs.resize(Idxs.size()); 2511 NewIdxs[i - 1] ? NewIdxs[i - 1] : cast<Constant>(Idxs[i - 1]); 2533 NewIdxs[i] = ConstantExpr::getSRem(CurrIdx, Factor); 2558 NewIdxs[i - 1] = ConstantExpr::getAdd(PrevIdx, Div); 2562 if (!NewIdxs.empty()) { 2564 if (!NewIdxs[i]) NewIdxs[i] = cast<Constant>(Idxs[i]); 2565 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBound [all...] |
Completed in 112 milliseconds