Lines Matching refs:NonzeroLength
933 unsigned NonzeroLength = ArrayBound; in EmitArrayConstant() local
934 if (Elements.size() < NonzeroLength && Filler->isNullValue()) in EmitArrayConstant()
935 NonzeroLength = Elements.size(); in EmitArrayConstant()
936 if (NonzeroLength == Elements.size()) { in EmitArrayConstant()
937 while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue()) in EmitArrayConstant()
938 --NonzeroLength; in EmitArrayConstant()
941 if (NonzeroLength == 0) in EmitArrayConstant()
945 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant()
947 assert(Elements.size() >= NonzeroLength && in EmitArrayConstant()
952 if (CommonElementType && NonzeroLength >= 8) { in EmitArrayConstant()
954 llvm::ArrayType::get(CommonElementType, NonzeroLength), in EmitArrayConstant()
955 makeArrayRef(Elements).take_front(NonzeroLength)); in EmitArrayConstant()
959 Elements.resize(NonzeroLength + 1); in EmitArrayConstant()