Lines Matching refs:NonzeroLength
974 uint64_t NonzeroLength = ArrayBound; in EmitArrayConstant() local
975 if (Elements.size() < NonzeroLength && Filler->isNullValue()) in EmitArrayConstant()
976 NonzeroLength = Elements.size(); in EmitArrayConstant()
977 if (NonzeroLength == Elements.size()) { in EmitArrayConstant()
978 while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue()) in EmitArrayConstant()
979 --NonzeroLength; in EmitArrayConstant()
982 if (NonzeroLength == 0) in EmitArrayConstant()
986 uint64_t TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant()
988 assert(Elements.size() >= NonzeroLength && in EmitArrayConstant()
993 if (CommonElementType && NonzeroLength >= 8) { in EmitArrayConstant()
995 llvm::ArrayType::get(CommonElementType, NonzeroLength), in EmitArrayConstant()
996 ArrayRef(Elements).take_front(NonzeroLength)); in EmitArrayConstant()
1000 Elements.resize(NonzeroLength + 1); in EmitArrayConstant()