Roll forward repository to upstream LLVM as of 25 Oct 2022.
Created by: CharKeaney
This patch contains the original corev-llvm development branch, rebased on upstream llvm. Where merge conflicts have occurred they have been resolved. Where upstream changes have broken previous functionality, this has been repaired.