Use VTTI->getNumberOfParts in BBVectorize.