There quite a bit of code duplication below (three lines identical in the if-blocks, two lines very similar).

My suggestion (untested):

```python
src_dirs = {
    'clang-%s.src' % self.version: os.path.join(self.llvm_src_dir, 'tools', 'clang'),
    'compiler-rt-%s.src' % self.version: os.path.join(self.llvm_src_dir, 'projects', 'compiler-rt')
}
for tmp in self.src:
    for (pattern, new_path) in src_dirs.items():
        if tmp['name'] == pattern:
            old_path = os.path.join(tmp['finalpath'], tmp['name'])
            shutil.move(old_path, new_path)
            tmp['finalpath'] = new_path    
```