Master's Thesis: Basic-block vectorization for graphics compilers