Lines Matching refs:InitTy
2227 SequentialType *InitTy = cast<SequentialType>(Init->getType());
2230 if (ArrayType *ATy = dyn_cast<ArrayType>(InitTy))
2233 NumElts = cast<VectorType>(InitTy)->getNumElements();
2243 Elts.assign(NumElts, Constant::getNullValue(InitTy->getElementType()));
2247 Elts.assign(NumElts, UndefValue::get(InitTy->getElementType()));
2255 return ConstantArray::get(cast<ArrayType>(InitTy), Elts);