Text this: Using Heuristic Value Prediction and Dynamic Task Granularity Resizing to Improve Software Speculation