Apply changes to migrate to llvm r135568.

LLVM changes several APIs, which require us to pass
non-const llvm::Type.

Change-Id: Iaf47425b1ace79d7d94ce1111846b983d386c285
3 files changed