Text this: Run-time optimization of adaptive irregular applications